From 22e3c139a05144eec64c5023b2b76ad290f648f5 Mon Sep 17 00:00:00 2001 From: Paul-Christian Volkmer Date: Mon, 30 Mar 2026 10:24:07 +0200 Subject: feat: add broad consent date (#258) --- forms/dnpm-formulare.osc | 143 ++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 136 insertions(+), 7 deletions(-) diff --git a/forms/dnpm-formulare.osc b/forms/dnpm-formulare.osc index da3b044..2b711cb 100644 --- a/forms/dnpm-formulare.osc +++ b/forms/dnpm-formulare.osc @@ -1,7 +1,7 @@ - 2026-03-23Z + 2026-03-30Z OnkoStar 2.14.2 @@ -8433,7 +8433,7 @@ Gemäß DNPM-Datenmodell 2.1 false 20119 8ac8ca4e-e415-41be-ab7e-53208af6270b - 4 + 5 date @@ -8558,6 +8558,30 @@ Gemäß DNPM-Datenmodell 2.1 0728c440-96be-44c4-82c7-be0bcd82fd5e 1 + + e_broadconsent_date + e_broadconsent_date + Broad Consent Datum + date + + + 0 + + true + false + false + false + 0.0 + + false + false + 0 + false + + 20119 + 4a574c24-794a-4afc-8496-4ef5460aaeba + 1 + @@ -17397,8 +17421,8 @@ Gemäß DNPM-Datenmodell 2.1 AntragKostenuebernahme = '1'&#10;and&#10;GrundAblehnungKosten = 'w' true - GrundAblehnungKosten AntragKostenuebernahme + GrundAblehnungKosten false @@ -20945,7 +20969,7 @@ Gemäß DNPM-Datenmodell 2.1 false 20119 85f99b8b-2b5d-4493-b001-edf8b0e6ac4c - 7 + 10 @@ -26091,8 +26115,8 @@ Gemäß DNPM-Datenmodell 2.1 0 0 false - <div>&#10;<font style="font-weight: bold;color: orange">DNPM Consent MV §64e</font>&#10;<p>&#10; <b>Einwilligungen MV §64e</b>&#10; <if test="sequencing = 'permit'">&#10; <then><p style="color: green">Teilnahme: zugestimmt,</p></then>&#10; <else><p style="color: red">Teilnahme: abgelehnt,</p></else>&#10; </if>&#10; <if test="caseidentification = 'permit'">&#10; <then><p style="color: green">Fallidentifz: zugestimmt,</p></then>&#10; <else><p style="color: red">Fallidentifz: abgelehnt,</p></else>&#10; </if>&#10; <if test="reidentification = 'permit'">&#10; <then><p style="color: green">Re-Identifiz: zugestimmt</p></then>&#10; <else><p style="color: red">Re-Identifiz: abgelehnt</p></else>&#10; </if>&#10;</p>&#10;<p>&#10; <b>Broad Consent</b>&#10; <if test="ebroadconsentpresent = true">&#10; <then><p style="color: green">elektronisch vorhanden</p></then>&#10; <else><p style="color: red">nicht elektronisch vorhanden</p></else>&#10; </if>&#10;</p>&#10;</div> - <div>&#10;<font style="font-weight: bold;color: orange">DNPM Consent MV §64e</font>&#10;<p>&#10; <b>Einwilligungen MV §64e</b>&#10; <if test="sequencing = 'permit'">&#10; <then><p style="color: green">Teilnahme: zugestimmt,</p></then>&#10; <else><p style="color: red">Teilnahme: abgelehnt,</p></else>&#10; </if>&#10; <if test="caseidentification = 'permit'">&#10; <then><p style="color: green">Fallidentifz: zugestimmt,</p></then>&#10; <else><p style="color: red">Fallidentifz: abgelehnt,</p></else>&#10; </if>&#10; <if test="reidentification = 'permit'">&#10; <then><p style="color: green">Re-Identifiz: zugestimmt</p></then>&#10; <else><p style="color: red">Re-Identifiz: abgelehnt</p></else>&#10; </if>&#10;</p>&#10;<p>&#10; <b>Broad Consent</b>&#10; <if test="ebroadconsentpresent = true">&#10; <then><p style="color: green">elektronisch vorhanden</p></then>&#10; <else><p style="color: red">nicht elektronisch vorhanden</p></else>&#10; </if>&#10;</p>&#10;</div> + <div>&#10;<font style="font-weight: bold;color: orange">DNPM Consent MV §64e</font>&#10;<p>&#10; <b>Einwilligungen MV §64e</b>&#10; <if test="sequencing = 'permit'">&#10; <then><p style="color: green">Teilnahme: zugestimmt,</p></then>&#10; <else><p style="color: red">Teilnahme: abgelehnt,</p></else>&#10; </if>&#10; <if test="caseidentification = 'permit'">&#10; <then><p style="color: green">Fallidentifz: zugestimmt,</p></then>&#10; <else><p style="color: red">Fallidentifz: abgelehnt,</p></else>&#10; </if>&#10; <if test="reidentification = 'permit'">&#10; <then><p style="color: green">Re-Identifiz: zugestimmt</p></then>&#10; <else><p style="color: red">Re-Identifiz: abgelehnt</p></else>&#10; </if>&#10;</p>&#10;<p>&#10; <b>Broad Consent: {ebroadconsentdate}</b>&#10; <if test="ebroadconsentpresent = true">&#10; <then><p style="color: green">elektronisch vorhanden</p></then>&#10; <else><p style="color: red">nicht elektronisch vorhanden</p></else>&#10; </if>&#10;</p>&#10;</div> + <div>&#10;<font style="font-weight: bold;color: orange">DNPM Consent MV §64e</font>&#10;<p>&#10; <b>Einwilligungen MV §64e</b>&#10; <if test="sequencing = 'permit'">&#10; <then><p style="color: green">Teilnahme: zugestimmt,</p></then>&#10; <else><p style="color: red">Teilnahme: abgelehnt,</p></else>&#10; </if>&#10; <if test="caseidentification = 'permit'">&#10; <then><p style="color: green">Fallidentifz: zugestimmt,</p></then>&#10; <else><p style="color: red">Fallidentifz: abgelehnt,</p></else>&#10; </if>&#10; <if test="reidentification = 'permit'">&#10; <then><p style="color: green">Re-Identifiz: zugestimmt</p></then>&#10; <else><p style="color: red">Re-Identifiz: abgelehnt</p></else>&#10; </if>&#10;</p>&#10;<p>&#10; <b>Broad Consent: {ebroadconsentdate}</b>&#10; <if test="ebroadconsentpresent = true">&#10; <then><p style="color: green">elektronisch vorhanden</p></then>&#10; <else><p style="color: red">nicht elektronisch vorhanden</p></else>&#10; </if>&#10;</p>&#10;</div> @@ -26119,7 +26143,7 @@ Gemäß DNPM-Datenmodell 2.1 20119 85f99b8b-2b5d-4493-b001-edf8b0e6ac4c - 7 + 10 true @@ -26457,6 +26481,73 @@ Gemäß DNPM-Datenmodell 2.1 false false + + datefield + ebroadconsentdate + Broad Consent Datum + true + false + true + 2.0 + + + + false + false + + 0 + 0 + e_broadconsent_date + DNPM_ConsentMV + BroadConsent + none + 0 + 0 + false + BOTH + false + + + + 1 + true + false + 0 + 0 + false + + + true + false + false + + + 0 + 0 + 0 + 0 + 0 + false + false + false + 1 + 14070 + 0 + false + + false + false + 0 + 0 + true + false + 0 + 20119 + 9defe6a7-3baa-4e5e-924e-1ddea0bdd5f5 + 2 + false + false + checkbox ebroadconsentpresent @@ -26712,6 +26803,44 @@ Gemäß DNPM-Datenmodell 2.1 date + + 1 + Das Datum liegt nach dem Sterbedatum + Das Datum liegt nach dem Sterbedatum + DatumGrenze_BroadConsent_GueltigBis + dateAfterOrEquals(patientData.getDeathdate(), ebroadconsentdate) + true + true + true + 0 + + ebroadconsentdate + + + + 2 + __DatumGrenze_ebroadconsentdate_GueltigVon + __DatumGrenze_ebroadconsentdate_GueltigVon + true + false + true + 0 + + + + 2 + Das Datum liegt in der Zukunft + __DatumGrenze_ebroadconsentdate_GueltigZukunft + __DatumGrenze_ebroadconsentdate_GueltigZukunft + dateAfterOrEquals(getNow(), ebroadconsentdate) + true + false + true + 0 + + ebroadconsentdate + + -- cgit v1.2.3