mirror of
https://github.com/pcvolkmer/mv64e-onkostar-data.git
synced 2025-09-13 16:02:52 +00:00
feat: require radio button checked to extract medication recommendations
This commit is contained in:
@@ -53,10 +53,13 @@ public class TherapieplanDataMapper implements DataMapper<MtbCarePlan> {
|
||||
.id(therapieplanData.getString("id"))
|
||||
.patient(getPatientReference(therapieplanData.getString("patient_id")))
|
||||
.issuedOn(therapieplanData.getDate("datum"))
|
||||
.medicationRecommendations(einzelempfehlungWirkstoffDataMapper.getByParentId(id))
|
||||
.procedureRecommendations(einzelempfehlungProzedurDataMapper.getByParentId(id))
|
||||
;
|
||||
|
||||
if (therapieplanData.isTrue("mit_einzelempfehlung")) {
|
||||
builder.medicationRecommendations(einzelempfehlungWirkstoffDataMapper.getByParentId(id));
|
||||
}
|
||||
|
||||
// Formularfeld "protokollauszug"
|
||||
if (therapieplanData.getString("protokollauszug") != null) {
|
||||
// TODO see https://github.com/dnpm-dip/mtb-model/issues/8
|
||||
|
Reference in New Issue
Block a user