From 3686fd84a86b78cac1e28cad306c73006a0ce125 Mon Sep 17 00:00:00 2001 From: Jakub Lidke Date: Tue, 24 Jun 2025 12:03:28 +0200 Subject: [PATCH] test: added test data -> gICS responses permit and deny --- .../fake_broadConsent_gics_response_deny.json | 1631 +++++++++++++++++ ...ake_broadConsent_gics_response_permit.json | 1631 +++++++++++++++++ .../fake_mv64e-gics-response_deny.json | 333 ++++ .../fake_mv64e-gics-response_permit.json | 333 ++++ 4 files changed, 3928 insertions(+) create mode 100644 src/test/resources/fake_broadConsent_gics_response_deny.json create mode 100644 src/test/resources/fake_broadConsent_gics_response_permit.json create mode 100644 src/test/resources/fake_mv64e-gics-response_deny.json create mode 100644 src/test/resources/fake_mv64e-gics-response_permit.json diff --git a/src/test/resources/fake_broadConsent_gics_response_deny.json b/src/test/resources/fake_broadConsent_gics_response_deny.json new file mode 100644 index 0000000..d0d312e --- /dev/null +++ b/src/test/resources/fake_broadConsent_gics_response_deny.json @@ -0,0 +1,1631 @@ +{ + "resourceType": "Bundle", + "type": "collection", + "entry": [ + { + "fullUrl": "http://127.0.0.1:8090/ttp-fhir/fhir/gics/Consent/0606d937-5004-11f0-a144-661e92ac9503", + "resource": { + "resourceType": "Consent", + "id": "0606d937-5004-11f0-a144-661e92ac9503", + "meta": { + "lastUpdated": "2025-06-23T09:31:05.965+02:00", + "profile": [ + "https://www.medizininformatik-initiative.de/fhir/modul-consent/StructureDefinition/mii-pr-consent-einwilligung" + ] + }, + "extension": [ + { + "url": "http://fhir.de/ConsentManagement/StructureDefinition/DomainReference", + "extension": [ + { + "url": "domain", + "valueReference": { + "reference": "ResearchStudy/90a1fcf9-5003-11f0-a144-661e92ac9503" + } + }, + { + "url": "status", + "valueCoding": { + "system": "http://hl7.org/fhir/publication-status", + "code": "active" + } + } + ] + } + ], + "status": "active", + "scope": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/consentscope", + "code": "research" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "57016-8" + } + ] + }, + { + "coding": [ + { + "system": "http://fhir.de/ConsentManagement/CodeSystem/ResultType", + "code": "policy" + } + ] + }, + { + "coding": [ + { + "system": "https://www.medizininformatik-initiative.de/fhir/modul-consent/CodeSystem/mii-cs-consent-consent_category", + "code": "2.16.840.1.113883.3.1937.777.24.2.184" + } + ] + } + ], + "patient": { + "reference": "Patient/06052fed-5004-11f0-a144-661e92ac9503", + "display": "Patienten-ID 999999" + }, + "dateTime": "2025-06-23T00:00:00+02:00", + "organization": [ + { + "display": "MII" + } + ], + "sourceReference": { + "reference": "QuestionnaireResponse/06067759-5004-11f0-a144-661e92ac9503" + }, + "policy": [ + { + "uri": "2.16.840.1.113883.3.1937.777.24.2.184" + }, + { + "uri": "urn:oid:2.16.840.1.113883.3.1937.777.24.2.1790" + } + ], + "policyRule": { + "coding": [ + { + "system": "urn:oid:2.16.840.1.113883.3.1937.777.24.5.3", + "code": "2.16.840.1.113883.3.1937.777.24.5.3.2", + "display": "IDAT_erheben" + } + ] + }, + "provision": { + "type": "deny", + "period": { + "start": "2025-06-23T00:00:00+02:00", + "end": "2055-06-23T00:00:00+02:00" + }, + "provision": [ + { + "type": "deny", + "period": { + "start": "2025-06-23T00:00:00+02:00", + "end": "2055-06-23T00:00:00+02:00" + }, + "code": [ + { + "coding": [ + { + "system": "urn:oid:2.16.840.1.113883.3.1937.777.24.5.3", + "code": "2.16.840.1.113883.3.1937.777.24.5.3.2", + "display": "IDAT_erheben" + } + ] + } + ] + } + ] + } + } + }, + { + "fullUrl": "http://127.0.0.1:8090/ttp-fhir/fhir/gics/Consent/0607372e-5004-11f0-a144-661e92ac9503", + "resource": { + "resourceType": "Consent", + "id": "0607372e-5004-11f0-a144-661e92ac9503", + "meta": { + "lastUpdated": "2025-06-23T09:31:05.965+02:00", + "profile": [ + "https://www.medizininformatik-initiative.de/fhir/modul-consent/StructureDefinition/mii-pr-consent-einwilligung" + ] + }, + "extension": [ + { + "url": "http://fhir.de/ConsentManagement/StructureDefinition/DomainReference", + "extension": [ + { + "url": "domain", + "valueReference": { + "reference": "ResearchStudy/90a1fcf9-5003-11f0-a144-661e92ac9503" + } + }, + { + "url": "status", + "valueCoding": { + "system": "http://hl7.org/fhir/publication-status", + "code": "active" + } + } + ] + } + ], + "status": "active", + "scope": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/consentscope", + "code": "research" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "57016-8" + } + ] + }, + { + "coding": [ + { + "system": "http://fhir.de/ConsentManagement/CodeSystem/ResultType", + "code": "policy" + } + ] + }, + { + "coding": [ + { + "system": "https://www.medizininformatik-initiative.de/fhir/modul-consent/CodeSystem/mii-cs-consent-consent_category", + "code": "2.16.840.1.113883.3.1937.777.24.2.184" + } + ] + } + ], + "patient": { + "reference": "Patient/06052fed-5004-11f0-a144-661e92ac9503", + "display": "Patienten-ID 999999" + }, + "dateTime": "2025-06-23T00:00:00+02:00", + "organization": [ + { + "display": "MII" + } + ], + "sourceReference": { + "reference": "QuestionnaireResponse/06067759-5004-11f0-a144-661e92ac9503" + }, + "policy": [ + { + "uri": "2.16.840.1.113883.3.1937.777.24.2.184" + }, + { + "uri": "urn:oid:2.16.840.1.113883.3.1937.777.24.2.1790" + } + ], + "policyRule": { + "coding": [ + { + "system": "urn:oid:2.16.840.1.113883.3.1937.777.24.5.3", + "code": "2.16.840.1.113883.3.1937.777.24.5.3.31", + "display": "Rekontaktierung_Zusatzbefund" + } + ] + }, + "provision": { + "type": "deny", + "period": { + "start": "2025-06-23T00:00:00+02:00", + "end": "2055-06-23T00:00:00+02:00" + }, + "provision": [ + { + "type": "deny", + "period": { + "start": "2025-06-23T00:00:00+02:00", + "end": "2055-06-23T00:00:00+02:00" + }, + "code": [ + { + "coding": [ + { + "system": "urn:oid:2.16.840.1.113883.3.1937.777.24.5.3", + "code": "2.16.840.1.113883.3.1937.777.24.5.3.31", + "display": "Rekontaktierung_Zusatzbefund" + } + ] + } + ] + } + ] + } + } + }, + { + "fullUrl": "http://127.0.0.1:8090/ttp-fhir/fhir/gics/Consent/0606ed1c-5004-11f0-a144-661e92ac9503", + "resource": { + "resourceType": "Consent", + "id": "0606ed1c-5004-11f0-a144-661e92ac9503", + "meta": { + "lastUpdated": "2025-06-23T09:31:05.965+02:00", + "profile": [ + "https://www.medizininformatik-initiative.de/fhir/modul-consent/StructureDefinition/mii-pr-consent-einwilligung" + ] + }, + "extension": [ + { + "url": "http://fhir.de/ConsentManagement/StructureDefinition/DomainReference", + "extension": [ + { + "url": "domain", + "valueReference": { + "reference": "ResearchStudy/90a1fcf9-5003-11f0-a144-661e92ac9503" + } + }, + { + "url": "status", + "valueCoding": { + "system": "http://hl7.org/fhir/publication-status", + "code": "active" + } + } + ] + } + ], + "status": "active", + "scope": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/consentscope", + "code": "research" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "57016-8" + } + ] + }, + { + "coding": [ + { + "system": "http://fhir.de/ConsentManagement/CodeSystem/ResultType", + "code": "policy" + } + ] + }, + { + "coding": [ + { + "system": "https://www.medizininformatik-initiative.de/fhir/modul-consent/CodeSystem/mii-cs-consent-consent_category", + "code": "2.16.840.1.113883.3.1937.777.24.2.184" + } + ] + } + ], + "patient": { + "reference": "Patient/06052fed-5004-11f0-a144-661e92ac9503", + "display": "Patienten-ID 999999" + }, + "dateTime": "2025-06-23T00:00:00+02:00", + "organization": [ + { + "display": "MII" + } + ], + "sourceReference": { + "reference": "QuestionnaireResponse/06067759-5004-11f0-a144-661e92ac9503" + }, + "policy": [ + { + "uri": "2.16.840.1.113883.3.1937.777.24.2.184" + }, + { + "uri": "urn:oid:2.16.840.1.113883.3.1937.777.24.2.1790" + } + ], + "policyRule": { + "coding": [ + { + "system": "urn:oid:2.16.840.1.113883.3.1937.777.24.5.3", + "code": "2.16.840.1.113883.3.1937.777.24.5.3.6", + "display": "MDAT_erheben" + } + ] + }, + "provision": { + "type": "deny", + "period": { + "start": "2025-06-23T00:00:00+02:00", + "end": "2030-06-23T00:00:00+02:00" + }, + "provision": [ + { + "type": "deny", + "period": { + "start": "2025-06-23T00:00:00+02:00", + "end": "2030-06-23T00:00:00+02:00" + }, + "code": [ + { + "coding": [ + { + "system": "urn:oid:2.16.840.1.113883.3.1937.777.24.5.3", + "code": "2.16.840.1.113883.3.1937.777.24.5.3.6", + "display": "MDAT_erheben" + } + ] + } + ] + } + ] + } + } + }, + { + "fullUrl": "http://127.0.0.1:8090/ttp-fhir/fhir/gics/Consent/0606e44f-5004-11f0-a144-661e92ac9503", + "resource": { + "resourceType": "Consent", + "id": "0606e44f-5004-11f0-a144-661e92ac9503", + "meta": { + "lastUpdated": "2025-06-23T09:31:05.965+02:00", + "profile": [ + "https://www.medizininformatik-initiative.de/fhir/modul-consent/StructureDefinition/mii-pr-consent-einwilligung" + ] + }, + "extension": [ + { + "url": "http://fhir.de/ConsentManagement/StructureDefinition/DomainReference", + "extension": [ + { + "url": "domain", + "valueReference": { + "reference": "ResearchStudy/90a1fcf9-5003-11f0-a144-661e92ac9503" + } + }, + { + "url": "status", + "valueCoding": { + "system": "http://hl7.org/fhir/publication-status", + "code": "active" + } + } + ] + } + ], + "status": "active", + "scope": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/consentscope", + "code": "research" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "57016-8" + } + ] + }, + { + "coding": [ + { + "system": "http://fhir.de/ConsentManagement/CodeSystem/ResultType", + "code": "policy" + } + ] + }, + { + "coding": [ + { + "system": "https://www.medizininformatik-initiative.de/fhir/modul-consent/CodeSystem/mii-cs-consent-consent_category", + "code": "2.16.840.1.113883.3.1937.777.24.2.184" + } + ] + } + ], + "patient": { + "reference": "Patient/06052fed-5004-11f0-a144-661e92ac9503", + "display": "Patienten-ID 999999" + }, + "dateTime": "2025-06-23T00:00:00+02:00", + "organization": [ + { + "display": "MII" + } + ], + "sourceReference": { + "reference": "QuestionnaireResponse/06067759-5004-11f0-a144-661e92ac9503" + }, + "policy": [ + { + "uri": "2.16.840.1.113883.3.1937.777.24.2.184" + }, + { + "uri": "urn:oid:2.16.840.1.113883.3.1937.777.24.2.1790" + } + ], + "policyRule": { + "coding": [ + { + "system": "urn:oid:2.16.840.1.113883.3.1937.777.24.5.3", + "code": "2.16.840.1.113883.3.1937.777.24.5.3.8", + "display": "MDAT_wissenschaftlich_nutzen_EU_DSGVO_NIVEAU" + } + ] + }, + "provision": { + "type": "deny", + "period": { + "start": "2025-06-23T00:00:00+02:00", + "end": "2055-06-23T00:00:00+02:00" + }, + "provision": [ + { + "type": "deny", + "period": { + "start": "2025-06-23T00:00:00+02:00", + "end": "2055-06-23T00:00:00+02:00" + }, + "code": [ + { + "coding": [ + { + "system": "urn:oid:2.16.840.1.113883.3.1937.777.24.5.3", + "code": "2.16.840.1.113883.3.1937.777.24.5.3.8", + "display": "MDAT_wissenschaftlich_nutzen_EU_DSGVO_NIVEAU" + } + ] + } + ] + } + ] + } + } + }, + { + "fullUrl": "http://127.0.0.1:8090/ttp-fhir/fhir/gics/Consent/0607292a-5004-11f0-a144-661e92ac9503", + "resource": { + "resourceType": "Consent", + "id": "0607292a-5004-11f0-a144-661e92ac9503", + "meta": { + "lastUpdated": "2025-06-23T09:31:05.965+02:00", + "profile": [ + "https://www.medizininformatik-initiative.de/fhir/modul-consent/StructureDefinition/mii-pr-consent-einwilligung" + ] + }, + "extension": [ + { + "url": "http://fhir.de/ConsentManagement/StructureDefinition/DomainReference", + "extension": [ + { + "url": "domain", + "valueReference": { + "reference": "ResearchStudy/90a1fcf9-5003-11f0-a144-661e92ac9503" + } + }, + { + "url": "status", + "valueCoding": { + "system": "http://hl7.org/fhir/publication-status", + "code": "active" + } + } + ] + } + ], + "status": "active", + "scope": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/consentscope", + "code": "research" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "57016-8" + } + ] + }, + { + "coding": [ + { + "system": "http://fhir.de/ConsentManagement/CodeSystem/ResultType", + "code": "policy" + } + ] + }, + { + "coding": [ + { + "system": "https://www.medizininformatik-initiative.de/fhir/modul-consent/CodeSystem/mii-cs-consent-consent_category", + "code": "2.16.840.1.113883.3.1937.777.24.2.184" + } + ] + } + ], + "patient": { + "reference": "Patient/06052fed-5004-11f0-a144-661e92ac9503", + "display": "Patienten-ID 999999" + }, + "dateTime": "2025-06-23T00:00:00+02:00", + "organization": [ + { + "display": "MII" + } + ], + "sourceReference": { + "reference": "QuestionnaireResponse/06067759-5004-11f0-a144-661e92ac9503" + }, + "policy": [ + { + "uri": "2.16.840.1.113883.3.1937.777.24.2.184" + }, + { + "uri": "urn:oid:2.16.840.1.113883.3.1937.777.24.2.1790" + } + ], + "policyRule": { + "coding": [ + { + "system": "urn:oid:2.16.840.1.113883.3.1937.777.24.5.3", + "code": "2.16.840.1.113883.3.1937.777.24.5.3.27", + "display": "Rekontaktierung_Verknuepfung_Datenbanken" + } + ] + }, + "provision": { + "type": "deny", + "period": { + "start": "2025-06-23T00:00:00+02:00", + "end": "2055-06-23T00:00:00+02:00" + }, + "provision": [ + { + "type": "deny", + "period": { + "start": "2025-06-23T00:00:00+02:00", + "end": "2055-06-23T00:00:00+02:00" + }, + "code": [ + { + "coding": [ + { + "system": "urn:oid:2.16.840.1.113883.3.1937.777.24.5.3", + "code": "2.16.840.1.113883.3.1937.777.24.5.3.27", + "display": "Rekontaktierung_Verknuepfung_Datenbanken" + } + ] + } + ] + } + ] + } + } + }, + { + "fullUrl": "http://127.0.0.1:8090/ttp-fhir/fhir/gics/Consent/06073274-5004-11f0-a144-661e92ac9503", + "resource": { + "resourceType": "Consent", + "id": "06073274-5004-11f0-a144-661e92ac9503", + "meta": { + "lastUpdated": "2025-06-23T09:31:05.965+02:00", + "profile": [ + "https://www.medizininformatik-initiative.de/fhir/modul-consent/StructureDefinition/mii-pr-consent-einwilligung" + ] + }, + "extension": [ + { + "url": "http://fhir.de/ConsentManagement/StructureDefinition/DomainReference", + "extension": [ + { + "url": "domain", + "valueReference": { + "reference": "ResearchStudy/90a1fcf9-5003-11f0-a144-661e92ac9503" + } + }, + { + "url": "status", + "valueCoding": { + "system": "http://hl7.org/fhir/publication-status", + "code": "active" + } + } + ] + } + ], + "status": "active", + "scope": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/consentscope", + "code": "research" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "57016-8" + } + ] + }, + { + "coding": [ + { + "system": "http://fhir.de/ConsentManagement/CodeSystem/ResultType", + "code": "policy" + } + ] + }, + { + "coding": [ + { + "system": "https://www.medizininformatik-initiative.de/fhir/modul-consent/CodeSystem/mii-cs-consent-consent_category", + "code": "2.16.840.1.113883.3.1937.777.24.2.184" + } + ] + } + ], + "patient": { + "reference": "Patient/06052fed-5004-11f0-a144-661e92ac9503", + "display": "Patienten-ID 999999" + }, + "dateTime": "2025-06-23T00:00:00+02:00", + "organization": [ + { + "display": "MII" + } + ], + "sourceReference": { + "reference": "QuestionnaireResponse/06067759-5004-11f0-a144-661e92ac9503" + }, + "policy": [ + { + "uri": "2.16.840.1.113883.3.1937.777.24.2.184" + }, + { + "uri": "urn:oid:2.16.840.1.113883.3.1937.777.24.2.1790" + } + ], + "policyRule": { + "coding": [ + { + "system": "urn:oid:2.16.840.1.113883.3.1937.777.24.5.3", + "code": "2.16.840.1.113883.3.1937.777.24.5.3.29", + "display": "Rekontaktierung_weitere_Studien" + } + ] + }, + "provision": { + "type": "deny", + "period": { + "start": "2025-06-23T00:00:00+02:00", + "end": "2055-06-23T00:00:00+02:00" + }, + "provision": [ + { + "type": "deny", + "period": { + "start": "2025-06-23T00:00:00+02:00", + "end": "2055-06-23T00:00:00+02:00" + }, + "code": [ + { + "coding": [ + { + "system": "urn:oid:2.16.840.1.113883.3.1937.777.24.5.3", + "code": "2.16.840.1.113883.3.1937.777.24.5.3.29", + "display": "Rekontaktierung_weitere_Studien" + } + ] + } + ] + } + ] + } + } + }, + { + "fullUrl": "http://127.0.0.1:8090/ttp-fhir/fhir/gics/Consent/06070996-5004-11f0-a144-661e92ac9503", + "resource": { + "resourceType": "Consent", + "id": "06070996-5004-11f0-a144-661e92ac9503", + "meta": { + "lastUpdated": "2025-06-23T09:31:05.965+02:00", + "profile": [ + "https://www.medizininformatik-initiative.de/fhir/modul-consent/StructureDefinition/mii-pr-consent-einwilligung" + ] + }, + "extension": [ + { + "url": "http://fhir.de/ConsentManagement/StructureDefinition/DomainReference", + "extension": [ + { + "url": "domain", + "valueReference": { + "reference": "ResearchStudy/90a1fcf9-5003-11f0-a144-661e92ac9503" + } + }, + { + "url": "status", + "valueCoding": { + "system": "http://hl7.org/fhir/publication-status", + "code": "active" + } + } + ] + } + ], + "status": "active", + "scope": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/consentscope", + "code": "research" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "57016-8" + } + ] + }, + { + "coding": [ + { + "system": "http://fhir.de/ConsentManagement/CodeSystem/ResultType", + "code": "policy" + } + ] + }, + { + "coding": [ + { + "system": "https://www.medizininformatik-initiative.de/fhir/modul-consent/CodeSystem/mii-cs-consent-consent_category", + "code": "2.16.840.1.113883.3.1937.777.24.2.184" + } + ] + } + ], + "patient": { + "reference": "Patient/06052fed-5004-11f0-a144-661e92ac9503", + "display": "Patienten-ID 999999" + }, + "dateTime": "2025-06-23T00:00:00+02:00", + "organization": [ + { + "display": "MII" + } + ], + "sourceReference": { + "reference": "QuestionnaireResponse/06067759-5004-11f0-a144-661e92ac9503" + }, + "policy": [ + { + "uri": "2.16.840.1.113883.3.1937.777.24.2.184" + }, + { + "uri": "urn:oid:2.16.840.1.113883.3.1937.777.24.2.1790" + } + ], + "policyRule": { + "coding": [ + { + "system": "urn:oid:2.16.840.1.113883.3.1937.777.24.5.3", + "code": "2.16.840.1.113883.3.1937.777.24.5.3.5", + "display": "IDAT_bereitstellen_EU_DSGVO_NIVEAU" + } + ] + }, + "provision": { + "type": "deny", + "period": { + "start": "2025-06-23T00:00:00+02:00", + "end": "2055-06-23T00:00:00+02:00" + }, + "provision": [ + { + "type": "deny", + "period": { + "start": "2025-06-23T00:00:00+02:00", + "end": "2055-06-23T00:00:00+02:00" + }, + "code": [ + { + "coding": [ + { + "system": "urn:oid:2.16.840.1.113883.3.1937.777.24.5.3", + "code": "2.16.840.1.113883.3.1937.777.24.5.3.5", + "display": "IDAT_bereitstellen_EU_DSGVO_NIVEAU" + } + ] + } + ] + } + ] + } + } + }, + { + "fullUrl": "http://127.0.0.1:8090/ttp-fhir/fhir/gics/Consent/0606f6f0-5004-11f0-a144-661e92ac9503", + "resource": { + "resourceType": "Consent", + "id": "0606f6f0-5004-11f0-a144-661e92ac9503", + "meta": { + "lastUpdated": "2025-06-23T09:31:05.965+02:00", + "profile": [ + "https://www.medizininformatik-initiative.de/fhir/modul-consent/StructureDefinition/mii-pr-consent-einwilligung" + ] + }, + "extension": [ + { + "url": "http://fhir.de/ConsentManagement/StructureDefinition/DomainReference", + "extension": [ + { + "url": "domain", + "valueReference": { + "reference": "ResearchStudy/90a1fcf9-5003-11f0-a144-661e92ac9503" + } + }, + { + "url": "status", + "valueCoding": { + "system": "http://hl7.org/fhir/publication-status", + "code": "active" + } + } + ] + } + ], + "status": "active", + "scope": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/consentscope", + "code": "research" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "57016-8" + } + ] + }, + { + "coding": [ + { + "system": "http://fhir.de/ConsentManagement/CodeSystem/ResultType", + "code": "policy" + } + ] + }, + { + "coding": [ + { + "system": "https://www.medizininformatik-initiative.de/fhir/modul-consent/CodeSystem/mii-cs-consent-consent_category", + "code": "2.16.840.1.113883.3.1937.777.24.2.184" + } + ] + } + ], + "patient": { + "reference": "Patient/06052fed-5004-11f0-a144-661e92ac9503", + "display": "Patienten-ID 999999" + }, + "dateTime": "2025-06-23T00:00:00+02:00", + "organization": [ + { + "display": "MII" + } + ], + "sourceReference": { + "reference": "QuestionnaireResponse/06067759-5004-11f0-a144-661e92ac9503" + }, + "policy": [ + { + "uri": "2.16.840.1.113883.3.1937.777.24.2.184" + }, + { + "uri": "urn:oid:2.16.840.1.113883.3.1937.777.24.2.1790" + } + ], + "policyRule": { + "coding": [ + { + "system": "urn:oid:2.16.840.1.113883.3.1937.777.24.5.3", + "code": "2.16.840.1.113883.3.1937.777.24.5.3.7", + "display": "MDAT_speichern_verarbeiten" + } + ] + }, + "provision": { + "type": "deny", + "period": { + "start": "2025-06-23T00:00:00+02:00", + "end": "2055-06-23T00:00:00+02:00" + }, + "provision": [ + { + "type": "deny", + "period": { + "start": "2025-06-23T00:00:00+02:00", + "end": "2055-06-23T00:00:00+02:00" + }, + "code": [ + { + "coding": [ + { + "system": "urn:oid:2.16.840.1.113883.3.1937.777.24.5.3", + "code": "2.16.840.1.113883.3.1937.777.24.5.3.7", + "display": "MDAT_speichern_verarbeiten" + } + ] + } + ] + } + ] + } + } + }, + { + "fullUrl": "http://127.0.0.1:8090/ttp-fhir/fhir/gics/Consent/060718e6-5004-11f0-a144-661e92ac9503", + "resource": { + "resourceType": "Consent", + "id": "060718e6-5004-11f0-a144-661e92ac9503", + "meta": { + "lastUpdated": "2025-06-23T09:31:05.965+02:00", + "profile": [ + "https://www.medizininformatik-initiative.de/fhir/modul-consent/StructureDefinition/mii-pr-consent-einwilligung" + ] + }, + "extension": [ + { + "url": "http://fhir.de/ConsentManagement/StructureDefinition/DomainReference", + "extension": [ + { + "url": "domain", + "valueReference": { + "reference": "ResearchStudy/90a1fcf9-5003-11f0-a144-661e92ac9503" + } + }, + { + "url": "status", + "valueCoding": { + "system": "http://hl7.org/fhir/publication-status", + "code": "active" + } + } + ] + } + ], + "status": "active", + "scope": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/consentscope", + "code": "research" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "57016-8" + } + ] + }, + { + "coding": [ + { + "system": "http://fhir.de/ConsentManagement/CodeSystem/ResultType", + "code": "policy" + } + ] + }, + { + "coding": [ + { + "system": "https://www.medizininformatik-initiative.de/fhir/modul-consent/CodeSystem/mii-cs-consent-consent_category", + "code": "2.16.840.1.113883.3.1937.777.24.2.184" + } + ] + } + ], + "patient": { + "reference": "Patient/06052fed-5004-11f0-a144-661e92ac9503", + "display": "Patienten-ID 999999" + }, + "dateTime": "2025-06-23T00:00:00+02:00", + "organization": [ + { + "display": "MII" + } + ], + "sourceReference": { + "reference": "QuestionnaireResponse/06067759-5004-11f0-a144-661e92ac9503" + }, + "policy": [ + { + "uri": "2.16.840.1.113883.3.1937.777.24.2.184" + }, + { + "uri": "urn:oid:2.16.840.1.113883.3.1937.777.24.2.1790" + } + ], + "policyRule": { + "coding": [ + { + "system": "urn:oid:2.16.840.1.113883.3.1937.777.24.5.3", + "code": "2.16.840.1.113883.3.1937.777.24.5.3.3", + "display": "IDAT_speichern_verarbeiten" + } + ] + }, + "provision": { + "type": "deny", + "period": { + "start": "2025-06-23T00:00:00+02:00", + "end": "2055-06-23T00:00:00+02:00" + }, + "provision": [ + { + "type": "deny", + "period": { + "start": "2025-06-23T00:00:00+02:00", + "end": "2055-06-23T00:00:00+02:00" + }, + "code": [ + { + "coding": [ + { + "system": "urn:oid:2.16.840.1.113883.3.1937.777.24.5.3", + "code": "2.16.840.1.113883.3.1937.777.24.5.3.3", + "display": "IDAT_speichern_verarbeiten" + } + ] + } + ] + } + ] + } + } + }, + { + "fullUrl": "http://127.0.0.1:8090/ttp-fhir/fhir/gics/Consent/06072451-5004-11f0-a144-661e92ac9503", + "resource": { + "resourceType": "Consent", + "id": "06072451-5004-11f0-a144-661e92ac9503", + "meta": { + "lastUpdated": "2025-06-23T09:31:05.965+02:00", + "profile": [ + "https://www.medizininformatik-initiative.de/fhir/modul-consent/StructureDefinition/mii-pr-consent-einwilligung" + ] + }, + "extension": [ + { + "url": "http://fhir.de/ConsentManagement/StructureDefinition/DomainReference", + "extension": [ + { + "url": "domain", + "valueReference": { + "reference": "ResearchStudy/90a1fcf9-5003-11f0-a144-661e92ac9503" + } + }, + { + "url": "status", + "valueCoding": { + "system": "http://hl7.org/fhir/publication-status", + "code": "active" + } + } + ] + } + ], + "status": "active", + "scope": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/consentscope", + "code": "research" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "57016-8" + } + ] + }, + { + "coding": [ + { + "system": "http://fhir.de/ConsentManagement/CodeSystem/ResultType", + "code": "policy" + } + ] + }, + { + "coding": [ + { + "system": "https://www.medizininformatik-initiative.de/fhir/modul-consent/CodeSystem/mii-cs-consent-consent_category", + "code": "2.16.840.1.113883.3.1937.777.24.2.184" + } + ] + } + ], + "patient": { + "reference": "Patient/06052fed-5004-11f0-a144-661e92ac9503", + "display": "Patienten-ID 999999" + }, + "dateTime": "2025-06-23T00:00:00+02:00", + "organization": [ + { + "display": "MII" + } + ], + "sourceReference": { + "reference": "QuestionnaireResponse/06067759-5004-11f0-a144-661e92ac9503" + }, + "policy": [ + { + "uri": "2.16.840.1.113883.3.1937.777.24.2.184" + }, + { + "uri": "urn:oid:2.16.840.1.113883.3.1937.777.24.2.1790" + } + ], + "policyRule": { + "coding": [ + { + "system": "urn:oid:2.16.840.1.113883.3.1937.777.24.5.3", + "code": "2.16.840.1.113883.3.1937.777.24.5.3.37", + "display": "Rekontaktierung_Ergebnisse_erheblicher_Bedeutung" + } + ] + }, + "provision": { + "type": "deny", + "period": { + "start": "2025-06-23T00:00:00+02:00", + "end": "2055-06-23T00:00:00+02:00" + }, + "provision": [ + { + "type": "deny", + "period": { + "start": "2025-06-23T00:00:00+02:00", + "end": "2055-06-23T00:00:00+02:00" + }, + "code": [ + { + "coding": [ + { + "system": "urn:oid:2.16.840.1.113883.3.1937.777.24.5.3", + "code": "2.16.840.1.113883.3.1937.777.24.5.3.37", + "display": "Rekontaktierung_Ergebnisse_erheblicher_Bedeutung" + } + ] + } + ] + } + ] + } + } + }, + { + "fullUrl": "http://127.0.0.1:8090/ttp-fhir/fhir/gics/Consent/06072dc8-5004-11f0-a144-661e92ac9503", + "resource": { + "resourceType": "Consent", + "id": "06072dc8-5004-11f0-a144-661e92ac9503", + "meta": { + "lastUpdated": "2025-06-23T09:31:05.965+02:00", + "profile": [ + "https://www.medizininformatik-initiative.de/fhir/modul-consent/StructureDefinition/mii-pr-consent-einwilligung" + ] + }, + "extension": [ + { + "url": "http://fhir.de/ConsentManagement/StructureDefinition/DomainReference", + "extension": [ + { + "url": "domain", + "valueReference": { + "reference": "ResearchStudy/90a1fcf9-5003-11f0-a144-661e92ac9503" + } + }, + { + "url": "status", + "valueCoding": { + "system": "http://hl7.org/fhir/publication-status", + "code": "active" + } + } + ] + } + ], + "status": "active", + "scope": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/consentscope", + "code": "research" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "57016-8" + } + ] + }, + { + "coding": [ + { + "system": "http://fhir.de/ConsentManagement/CodeSystem/ResultType", + "code": "policy" + } + ] + }, + { + "coding": [ + { + "system": "https://www.medizininformatik-initiative.de/fhir/modul-consent/CodeSystem/mii-cs-consent-consent_category", + "code": "2.16.840.1.113883.3.1937.777.24.2.184" + } + ] + } + ], + "patient": { + "reference": "Patient/06052fed-5004-11f0-a144-661e92ac9503", + "display": "Patienten-ID 999999" + }, + "dateTime": "2025-06-23T00:00:00+02:00", + "organization": [ + { + "display": "MII" + } + ], + "sourceReference": { + "reference": "QuestionnaireResponse/06067759-5004-11f0-a144-661e92ac9503" + }, + "policy": [ + { + "uri": "2.16.840.1.113883.3.1937.777.24.2.184" + }, + { + "uri": "urn:oid:2.16.840.1.113883.3.1937.777.24.2.1790" + } + ], + "policyRule": { + "coding": [ + { + "system": "urn:oid:2.16.840.1.113883.3.1937.777.24.5.3", + "code": "2.16.840.1.113883.3.1937.777.24.5.3.28", + "display": "Rekontaktierung_weitere_Erhebung" + } + ] + }, + "provision": { + "type": "deny", + "period": { + "start": "2025-06-23T00:00:00+02:00", + "end": "2055-06-23T00:00:00+02:00" + }, + "provision": [ + { + "type": "deny", + "period": { + "start": "2025-06-23T00:00:00+02:00", + "end": "2055-06-23T00:00:00+02:00" + }, + "code": [ + { + "coding": [ + { + "system": "urn:oid:2.16.840.1.113883.3.1937.777.24.5.3", + "code": "2.16.840.1.113883.3.1937.777.24.5.3.28", + "display": "Rekontaktierung_weitere_Erhebung" + } + ] + } + ] + } + ] + } + } + }, + { + "fullUrl": "http://127.0.0.1:8090/ttp-fhir/fhir/gics/Consent/06070362-5004-11f0-a144-661e92ac9503", + "resource": { + "resourceType": "Consent", + "id": "06070362-5004-11f0-a144-661e92ac9503", + "meta": { + "lastUpdated": "2025-06-23T09:31:05.965+02:00", + "profile": [ + "https://www.medizininformatik-initiative.de/fhir/modul-consent/StructureDefinition/mii-pr-consent-einwilligung" + ] + }, + "extension": [ + { + "url": "http://fhir.de/ConsentManagement/StructureDefinition/DomainReference", + "extension": [ + { + "url": "domain", + "valueReference": { + "reference": "ResearchStudy/90a1fcf9-5003-11f0-a144-661e92ac9503" + } + }, + { + "url": "status", + "valueCoding": { + "system": "http://hl7.org/fhir/publication-status", + "code": "active" + } + } + ] + } + ], + "status": "active", + "scope": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/consentscope", + "code": "research" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "57016-8" + } + ] + }, + { + "coding": [ + { + "system": "http://fhir.de/ConsentManagement/CodeSystem/ResultType", + "code": "policy" + } + ] + }, + { + "coding": [ + { + "system": "https://www.medizininformatik-initiative.de/fhir/modul-consent/CodeSystem/mii-cs-consent-consent_category", + "code": "2.16.840.1.113883.3.1937.777.24.2.184" + } + ] + } + ], + "patient": { + "reference": "Patient/06052fed-5004-11f0-a144-661e92ac9503", + "display": "Patienten-ID 999999" + }, + "dateTime": "2025-06-23T00:00:00+02:00", + "organization": [ + { + "display": "MII" + } + ], + "sourceReference": { + "reference": "QuestionnaireResponse/06067759-5004-11f0-a144-661e92ac9503" + }, + "policy": [ + { + "uri": "2.16.840.1.113883.3.1937.777.24.2.184" + }, + { + "uri": "urn:oid:2.16.840.1.113883.3.1937.777.24.2.1790" + } + ], + "policyRule": { + "coding": [ + { + "system": "urn:oid:2.16.840.1.113883.3.1937.777.24.5.3", + "code": "2.16.840.1.113883.3.1937.777.24.5.3.9", + "display": "MDAT_zusammenfuehren_Dritte" + } + ] + }, + "provision": { + "type": "deny", + "period": { + "start": "2025-06-23T00:00:00+02:00", + "end": "2055-06-23T00:00:00+02:00" + }, + "provision": [ + { + "type": "deny", + "period": { + "start": "2025-06-23T00:00:00+02:00", + "end": "2055-06-23T00:00:00+02:00" + }, + "code": [ + { + "coding": [ + { + "system": "urn:oid:2.16.840.1.113883.3.1937.777.24.5.3", + "code": "2.16.840.1.113883.3.1937.777.24.5.3.9", + "display": "MDAT_zusammenfuehren_Dritte" + } + ] + } + ] + } + ] + } + } + }, + { + "fullUrl": "http://127.0.0.1:8090/ttp-fhir/fhir/gics/Consent/06071f66-5004-11f0-a144-661e92ac9503", + "resource": { + "resourceType": "Consent", + "id": "06071f66-5004-11f0-a144-661e92ac9503", + "meta": { + "lastUpdated": "2025-06-23T09:31:05.965+02:00", + "profile": [ + "https://www.medizininformatik-initiative.de/fhir/modul-consent/StructureDefinition/mii-pr-consent-einwilligung" + ] + }, + "extension": [ + { + "url": "http://fhir.de/ConsentManagement/StructureDefinition/DomainReference", + "extension": [ + { + "url": "domain", + "valueReference": { + "reference": "ResearchStudy/90a1fcf9-5003-11f0-a144-661e92ac9503" + } + }, + { + "url": "status", + "valueCoding": { + "system": "http://hl7.org/fhir/publication-status", + "code": "active" + } + } + ] + } + ], + "status": "active", + "scope": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/consentscope", + "code": "research" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "57016-8" + } + ] + }, + { + "coding": [ + { + "system": "http://fhir.de/ConsentManagement/CodeSystem/ResultType", + "code": "policy" + } + ] + }, + { + "coding": [ + { + "system": "https://www.medizininformatik-initiative.de/fhir/modul-consent/CodeSystem/mii-cs-consent-consent_category", + "code": "2.16.840.1.113883.3.1937.777.24.2.184" + } + ] + } + ], + "patient": { + "reference": "Patient/06052fed-5004-11f0-a144-661e92ac9503", + "display": "Patienten-ID 999999" + }, + "dateTime": "2025-06-23T00:00:00+02:00", + "organization": [ + { + "display": "MII" + } + ], + "sourceReference": { + "reference": "QuestionnaireResponse/06067759-5004-11f0-a144-661e92ac9503" + }, + "policy": [ + { + "uri": "2.16.840.1.113883.3.1937.777.24.2.184" + }, + { + "uri": "urn:oid:2.16.840.1.113883.3.1937.777.24.2.1790" + } + ], + "policyRule": { + "coding": [ + { + "system": "urn:oid:2.16.840.1.113883.3.1937.777.24.5.3", + "code": "2.16.840.1.113883.3.1937.777.24.5.3.4", + "display": "IDAT_zusammenfuehren_Dritte" + } + ] + }, + "provision": { + "type": "deny", + "period": { + "start": "2025-06-23T00:00:00+02:00", + "end": "2055-06-23T00:00:00+02:00" + }, + "provision": [ + { + "type": "deny", + "period": { + "start": "2025-06-23T00:00:00+02:00", + "end": "2055-06-23T00:00:00+02:00" + }, + "code": [ + { + "coding": [ + { + "system": "urn:oid:2.16.840.1.113883.3.1937.777.24.5.3", + "code": "2.16.840.1.113883.3.1937.777.24.5.3.4", + "display": "IDAT_zusammenfuehren_Dritte" + } + ] + } + ] + } + ] + } + } + } + ] +} \ No newline at end of file diff --git a/src/test/resources/fake_broadConsent_gics_response_permit.json b/src/test/resources/fake_broadConsent_gics_response_permit.json new file mode 100644 index 0000000..639b4ea --- /dev/null +++ b/src/test/resources/fake_broadConsent_gics_response_permit.json @@ -0,0 +1,1631 @@ +{ + "resourceType": "Bundle", + "type": "collection", + "entry": [ + { + "fullUrl": "http://127.0.0.1:8090/ttp-fhir/fhir/gics/Consent/d61782bc-5003-11f0-a144-661e92ac9503", + "resource": { + "resourceType": "Consent", + "id": "d61782bc-5003-11f0-a144-661e92ac9503", + "meta": { + "lastUpdated": "2025-06-23T09:29:45.532+02:00", + "profile": [ + "https://www.medizininformatik-initiative.de/fhir/modul-consent/StructureDefinition/mii-pr-consent-einwilligung" + ] + }, + "extension": [ + { + "url": "http://fhir.de/ConsentManagement/StructureDefinition/DomainReference", + "extension": [ + { + "url": "domain", + "valueReference": { + "reference": "ResearchStudy/90a1fcf9-5003-11f0-a144-661e92ac9503" + } + }, + { + "url": "status", + "valueCoding": { + "system": "http://hl7.org/fhir/publication-status", + "code": "active" + } + } + ] + } + ], + "status": "active", + "scope": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/consentscope", + "code": "research" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "57016-8" + } + ] + }, + { + "coding": [ + { + "system": "http://fhir.de/ConsentManagement/CodeSystem/ResultType", + "code": "policy" + } + ] + }, + { + "coding": [ + { + "system": "https://www.medizininformatik-initiative.de/fhir/modul-consent/CodeSystem/mii-cs-consent-consent_category", + "code": "2.16.840.1.113883.3.1937.777.24.2.184" + } + ] + } + ], + "patient": { + "reference": "Patient/d611d429-5003-11f0-a144-661e92ac9503", + "display": "Patienten-ID 12345678" + }, + "dateTime": "2025-06-23T00:00:00+02:00", + "organization": [ + { + "display": "MII" + } + ], + "sourceReference": { + "reference": "QuestionnaireResponse/d615e32f-5003-11f0-a144-661e92ac9503" + }, + "policy": [ + { + "uri": "2.16.840.1.113883.3.1937.777.24.2.184" + }, + { + "uri": "urn:oid:2.16.840.1.113883.3.1937.777.24.2.1790" + } + ], + "policyRule": { + "coding": [ + { + "system": "urn:oid:2.16.840.1.113883.3.1937.777.24.5.3", + "code": "2.16.840.1.113883.3.1937.777.24.5.3.2", + "display": "IDAT_erheben" + } + ] + }, + "provision": { + "type": "deny", + "period": { + "start": "2025-06-23T00:00:00+02:00", + "end": "2055-06-23T00:00:00+02:00" + }, + "provision": [ + { + "type": "permit", + "period": { + "start": "2025-06-23T00:00:00+02:00", + "end": "2055-06-23T00:00:00+02:00" + }, + "code": [ + { + "coding": [ + { + "system": "urn:oid:2.16.840.1.113883.3.1937.777.24.5.3", + "code": "2.16.840.1.113883.3.1937.777.24.5.3.2", + "display": "IDAT_erheben" + } + ] + } + ] + } + ] + } + } + }, + { + "fullUrl": "http://127.0.0.1:8090/ttp-fhir/fhir/gics/Consent/d618b6e4-5003-11f0-a144-661e92ac9503", + "resource": { + "resourceType": "Consent", + "id": "d618b6e4-5003-11f0-a144-661e92ac9503", + "meta": { + "lastUpdated": "2025-06-23T09:29:45.532+02:00", + "profile": [ + "https://www.medizininformatik-initiative.de/fhir/modul-consent/StructureDefinition/mii-pr-consent-einwilligung" + ] + }, + "extension": [ + { + "url": "http://fhir.de/ConsentManagement/StructureDefinition/DomainReference", + "extension": [ + { + "url": "domain", + "valueReference": { + "reference": "ResearchStudy/90a1fcf9-5003-11f0-a144-661e92ac9503" + } + }, + { + "url": "status", + "valueCoding": { + "system": "http://hl7.org/fhir/publication-status", + "code": "active" + } + } + ] + } + ], + "status": "active", + "scope": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/consentscope", + "code": "research" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "57016-8" + } + ] + }, + { + "coding": [ + { + "system": "http://fhir.de/ConsentManagement/CodeSystem/ResultType", + "code": "policy" + } + ] + }, + { + "coding": [ + { + "system": "https://www.medizininformatik-initiative.de/fhir/modul-consent/CodeSystem/mii-cs-consent-consent_category", + "code": "2.16.840.1.113883.3.1937.777.24.2.184" + } + ] + } + ], + "patient": { + "reference": "Patient/d611d429-5003-11f0-a144-661e92ac9503", + "display": "Patienten-ID 12345678" + }, + "dateTime": "2025-06-23T00:00:00+02:00", + "organization": [ + { + "display": "MII" + } + ], + "sourceReference": { + "reference": "QuestionnaireResponse/d615e32f-5003-11f0-a144-661e92ac9503" + }, + "policy": [ + { + "uri": "2.16.840.1.113883.3.1937.777.24.2.184" + }, + { + "uri": "urn:oid:2.16.840.1.113883.3.1937.777.24.2.1790" + } + ], + "policyRule": { + "coding": [ + { + "system": "urn:oid:2.16.840.1.113883.3.1937.777.24.5.3", + "code": "2.16.840.1.113883.3.1937.777.24.5.3.31", + "display": "Rekontaktierung_Zusatzbefund" + } + ] + }, + "provision": { + "type": "deny", + "period": { + "start": "2025-06-23T00:00:00+02:00", + "end": "2055-06-23T00:00:00+02:00" + }, + "provision": [ + { + "type": "permit", + "period": { + "start": "2025-06-23T00:00:00+02:00", + "end": "2055-06-23T00:00:00+02:00" + }, + "code": [ + { + "coding": [ + { + "system": "urn:oid:2.16.840.1.113883.3.1937.777.24.5.3", + "code": "2.16.840.1.113883.3.1937.777.24.5.3.31", + "display": "Rekontaktierung_Zusatzbefund" + } + ] + } + ] + } + ] + } + } + }, + { + "fullUrl": "http://127.0.0.1:8090/ttp-fhir/fhir/gics/Consent/d6180058-5003-11f0-a144-661e92ac9503", + "resource": { + "resourceType": "Consent", + "id": "d6180058-5003-11f0-a144-661e92ac9503", + "meta": { + "lastUpdated": "2025-06-23T09:29:45.532+02:00", + "profile": [ + "https://www.medizininformatik-initiative.de/fhir/modul-consent/StructureDefinition/mii-pr-consent-einwilligung" + ] + }, + "extension": [ + { + "url": "http://fhir.de/ConsentManagement/StructureDefinition/DomainReference", + "extension": [ + { + "url": "domain", + "valueReference": { + "reference": "ResearchStudy/90a1fcf9-5003-11f0-a144-661e92ac9503" + } + }, + { + "url": "status", + "valueCoding": { + "system": "http://hl7.org/fhir/publication-status", + "code": "active" + } + } + ] + } + ], + "status": "active", + "scope": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/consentscope", + "code": "research" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "57016-8" + } + ] + }, + { + "coding": [ + { + "system": "http://fhir.de/ConsentManagement/CodeSystem/ResultType", + "code": "policy" + } + ] + }, + { + "coding": [ + { + "system": "https://www.medizininformatik-initiative.de/fhir/modul-consent/CodeSystem/mii-cs-consent-consent_category", + "code": "2.16.840.1.113883.3.1937.777.24.2.184" + } + ] + } + ], + "patient": { + "reference": "Patient/d611d429-5003-11f0-a144-661e92ac9503", + "display": "Patienten-ID 12345678" + }, + "dateTime": "2025-06-23T00:00:00+02:00", + "organization": [ + { + "display": "MII" + } + ], + "sourceReference": { + "reference": "QuestionnaireResponse/d615e32f-5003-11f0-a144-661e92ac9503" + }, + "policy": [ + { + "uri": "2.16.840.1.113883.3.1937.777.24.2.184" + }, + { + "uri": "urn:oid:2.16.840.1.113883.3.1937.777.24.2.1790" + } + ], + "policyRule": { + "coding": [ + { + "system": "urn:oid:2.16.840.1.113883.3.1937.777.24.5.3", + "code": "2.16.840.1.113883.3.1937.777.24.5.3.6", + "display": "MDAT_erheben" + } + ] + }, + "provision": { + "type": "deny", + "period": { + "start": "2025-06-23T00:00:00+02:00", + "end": "2030-06-23T00:00:00+02:00" + }, + "provision": [ + { + "type": "permit", + "period": { + "start": "2025-06-23T00:00:00+02:00", + "end": "2030-06-23T00:00:00+02:00" + }, + "code": [ + { + "coding": [ + { + "system": "urn:oid:2.16.840.1.113883.3.1937.777.24.5.3", + "code": "2.16.840.1.113883.3.1937.777.24.5.3.6", + "display": "MDAT_erheben" + } + ] + } + ] + } + ] + } + } + }, + { + "fullUrl": "http://127.0.0.1:8090/ttp-fhir/fhir/gics/Consent/d617e5c3-5003-11f0-a144-661e92ac9503", + "resource": { + "resourceType": "Consent", + "id": "d617e5c3-5003-11f0-a144-661e92ac9503", + "meta": { + "lastUpdated": "2025-06-23T09:29:45.532+02:00", + "profile": [ + "https://www.medizininformatik-initiative.de/fhir/modul-consent/StructureDefinition/mii-pr-consent-einwilligung" + ] + }, + "extension": [ + { + "url": "http://fhir.de/ConsentManagement/StructureDefinition/DomainReference", + "extension": [ + { + "url": "domain", + "valueReference": { + "reference": "ResearchStudy/90a1fcf9-5003-11f0-a144-661e92ac9503" + } + }, + { + "url": "status", + "valueCoding": { + "system": "http://hl7.org/fhir/publication-status", + "code": "active" + } + } + ] + } + ], + "status": "active", + "scope": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/consentscope", + "code": "research" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "57016-8" + } + ] + }, + { + "coding": [ + { + "system": "http://fhir.de/ConsentManagement/CodeSystem/ResultType", + "code": "policy" + } + ] + }, + { + "coding": [ + { + "system": "https://www.medizininformatik-initiative.de/fhir/modul-consent/CodeSystem/mii-cs-consent-consent_category", + "code": "2.16.840.1.113883.3.1937.777.24.2.184" + } + ] + } + ], + "patient": { + "reference": "Patient/d611d429-5003-11f0-a144-661e92ac9503", + "display": "Patienten-ID 12345678" + }, + "dateTime": "2025-06-23T00:00:00+02:00", + "organization": [ + { + "display": "MII" + } + ], + "sourceReference": { + "reference": "QuestionnaireResponse/d615e32f-5003-11f0-a144-661e92ac9503" + }, + "policy": [ + { + "uri": "2.16.840.1.113883.3.1937.777.24.2.184" + }, + { + "uri": "urn:oid:2.16.840.1.113883.3.1937.777.24.2.1790" + } + ], + "policyRule": { + "coding": [ + { + "system": "urn:oid:2.16.840.1.113883.3.1937.777.24.5.3", + "code": "2.16.840.1.113883.3.1937.777.24.5.3.8", + "display": "MDAT_wissenschaftlich_nutzen_EU_DSGVO_NIVEAU" + } + ] + }, + "provision": { + "type": "deny", + "period": { + "start": "2025-06-23T00:00:00+02:00", + "end": "2055-06-23T00:00:00+02:00" + }, + "provision": [ + { + "type": "permit", + "period": { + "start": "2025-06-23T00:00:00+02:00", + "end": "2055-06-23T00:00:00+02:00" + }, + "code": [ + { + "coding": [ + { + "system": "urn:oid:2.16.840.1.113883.3.1937.777.24.5.3", + "code": "2.16.840.1.113883.3.1937.777.24.5.3.8", + "display": "MDAT_wissenschaftlich_nutzen_EU_DSGVO_NIVEAU" + } + ] + } + ] + } + ] + } + } + }, + { + "fullUrl": "http://127.0.0.1:8090/ttp-fhir/fhir/gics/Consent/d6186042-5003-11f0-a144-661e92ac9503", + "resource": { + "resourceType": "Consent", + "id": "d6186042-5003-11f0-a144-661e92ac9503", + "meta": { + "lastUpdated": "2025-06-23T09:29:45.532+02:00", + "profile": [ + "https://www.medizininformatik-initiative.de/fhir/modul-consent/StructureDefinition/mii-pr-consent-einwilligung" + ] + }, + "extension": [ + { + "url": "http://fhir.de/ConsentManagement/StructureDefinition/DomainReference", + "extension": [ + { + "url": "domain", + "valueReference": { + "reference": "ResearchStudy/90a1fcf9-5003-11f0-a144-661e92ac9503" + } + }, + { + "url": "status", + "valueCoding": { + "system": "http://hl7.org/fhir/publication-status", + "code": "active" + } + } + ] + } + ], + "status": "active", + "scope": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/consentscope", + "code": "research" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "57016-8" + } + ] + }, + { + "coding": [ + { + "system": "http://fhir.de/ConsentManagement/CodeSystem/ResultType", + "code": "policy" + } + ] + }, + { + "coding": [ + { + "system": "https://www.medizininformatik-initiative.de/fhir/modul-consent/CodeSystem/mii-cs-consent-consent_category", + "code": "2.16.840.1.113883.3.1937.777.24.2.184" + } + ] + } + ], + "patient": { + "reference": "Patient/d611d429-5003-11f0-a144-661e92ac9503", + "display": "Patienten-ID 12345678" + }, + "dateTime": "2025-06-23T00:00:00+02:00", + "organization": [ + { + "display": "MII" + } + ], + "sourceReference": { + "reference": "QuestionnaireResponse/d615e32f-5003-11f0-a144-661e92ac9503" + }, + "policy": [ + { + "uri": "2.16.840.1.113883.3.1937.777.24.2.184" + }, + { + "uri": "urn:oid:2.16.840.1.113883.3.1937.777.24.2.1790" + } + ], + "policyRule": { + "coding": [ + { + "system": "urn:oid:2.16.840.1.113883.3.1937.777.24.5.3", + "code": "2.16.840.1.113883.3.1937.777.24.5.3.27", + "display": "Rekontaktierung_Verknuepfung_Datenbanken" + } + ] + }, + "provision": { + "type": "deny", + "period": { + "start": "2025-06-23T00:00:00+02:00", + "end": "2055-06-23T00:00:00+02:00" + }, + "provision": [ + { + "type": "permit", + "period": { + "start": "2025-06-23T00:00:00+02:00", + "end": "2055-06-23T00:00:00+02:00" + }, + "code": [ + { + "coding": [ + { + "system": "urn:oid:2.16.840.1.113883.3.1937.777.24.5.3", + "code": "2.16.840.1.113883.3.1937.777.24.5.3.27", + "display": "Rekontaktierung_Verknuepfung_Datenbanken" + } + ] + } + ] + } + ] + } + } + }, + { + "fullUrl": "http://127.0.0.1:8090/ttp-fhir/fhir/gics/Consent/d618abf6-5003-11f0-a144-661e92ac9503", + "resource": { + "resourceType": "Consent", + "id": "d618abf6-5003-11f0-a144-661e92ac9503", + "meta": { + "lastUpdated": "2025-06-23T09:29:45.532+02:00", + "profile": [ + "https://www.medizininformatik-initiative.de/fhir/modul-consent/StructureDefinition/mii-pr-consent-einwilligung" + ] + }, + "extension": [ + { + "url": "http://fhir.de/ConsentManagement/StructureDefinition/DomainReference", + "extension": [ + { + "url": "domain", + "valueReference": { + "reference": "ResearchStudy/90a1fcf9-5003-11f0-a144-661e92ac9503" + } + }, + { + "url": "status", + "valueCoding": { + "system": "http://hl7.org/fhir/publication-status", + "code": "active" + } + } + ] + } + ], + "status": "active", + "scope": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/consentscope", + "code": "research" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "57016-8" + } + ] + }, + { + "coding": [ + { + "system": "http://fhir.de/ConsentManagement/CodeSystem/ResultType", + "code": "policy" + } + ] + }, + { + "coding": [ + { + "system": "https://www.medizininformatik-initiative.de/fhir/modul-consent/CodeSystem/mii-cs-consent-consent_category", + "code": "2.16.840.1.113883.3.1937.777.24.2.184" + } + ] + } + ], + "patient": { + "reference": "Patient/d611d429-5003-11f0-a144-661e92ac9503", + "display": "Patienten-ID 12345678" + }, + "dateTime": "2025-06-23T00:00:00+02:00", + "organization": [ + { + "display": "MII" + } + ], + "sourceReference": { + "reference": "QuestionnaireResponse/d615e32f-5003-11f0-a144-661e92ac9503" + }, + "policy": [ + { + "uri": "2.16.840.1.113883.3.1937.777.24.2.184" + }, + { + "uri": "urn:oid:2.16.840.1.113883.3.1937.777.24.2.1790" + } + ], + "policyRule": { + "coding": [ + { + "system": "urn:oid:2.16.840.1.113883.3.1937.777.24.5.3", + "code": "2.16.840.1.113883.3.1937.777.24.5.3.29", + "display": "Rekontaktierung_weitere_Studien" + } + ] + }, + "provision": { + "type": "deny", + "period": { + "start": "2025-06-23T00:00:00+02:00", + "end": "2055-06-23T00:00:00+02:00" + }, + "provision": [ + { + "type": "permit", + "period": { + "start": "2025-06-23T00:00:00+02:00", + "end": "2055-06-23T00:00:00+02:00" + }, + "code": [ + { + "coding": [ + { + "system": "urn:oid:2.16.840.1.113883.3.1937.777.24.5.3", + "code": "2.16.840.1.113883.3.1937.777.24.5.3.29", + "display": "Rekontaktierung_weitere_Studien" + } + ] + } + ] + } + ] + } + } + }, + { + "fullUrl": "http://127.0.0.1:8090/ttp-fhir/fhir/gics/Consent/d618341d-5003-11f0-a144-661e92ac9503", + "resource": { + "resourceType": "Consent", + "id": "d618341d-5003-11f0-a144-661e92ac9503", + "meta": { + "lastUpdated": "2025-06-23T09:29:45.532+02:00", + "profile": [ + "https://www.medizininformatik-initiative.de/fhir/modul-consent/StructureDefinition/mii-pr-consent-einwilligung" + ] + }, + "extension": [ + { + "url": "http://fhir.de/ConsentManagement/StructureDefinition/DomainReference", + "extension": [ + { + "url": "domain", + "valueReference": { + "reference": "ResearchStudy/90a1fcf9-5003-11f0-a144-661e92ac9503" + } + }, + { + "url": "status", + "valueCoding": { + "system": "http://hl7.org/fhir/publication-status", + "code": "active" + } + } + ] + } + ], + "status": "active", + "scope": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/consentscope", + "code": "research" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "57016-8" + } + ] + }, + { + "coding": [ + { + "system": "http://fhir.de/ConsentManagement/CodeSystem/ResultType", + "code": "policy" + } + ] + }, + { + "coding": [ + { + "system": "https://www.medizininformatik-initiative.de/fhir/modul-consent/CodeSystem/mii-cs-consent-consent_category", + "code": "2.16.840.1.113883.3.1937.777.24.2.184" + } + ] + } + ], + "patient": { + "reference": "Patient/d611d429-5003-11f0-a144-661e92ac9503", + "display": "Patienten-ID 12345678" + }, + "dateTime": "2025-06-23T00:00:00+02:00", + "organization": [ + { + "display": "MII" + } + ], + "sourceReference": { + "reference": "QuestionnaireResponse/d615e32f-5003-11f0-a144-661e92ac9503" + }, + "policy": [ + { + "uri": "2.16.840.1.113883.3.1937.777.24.2.184" + }, + { + "uri": "urn:oid:2.16.840.1.113883.3.1937.777.24.2.1790" + } + ], + "policyRule": { + "coding": [ + { + "system": "urn:oid:2.16.840.1.113883.3.1937.777.24.5.3", + "code": "2.16.840.1.113883.3.1937.777.24.5.3.5", + "display": "IDAT_bereitstellen_EU_DSGVO_NIVEAU" + } + ] + }, + "provision": { + "type": "deny", + "period": { + "start": "2025-06-23T00:00:00+02:00", + "end": "2055-06-23T00:00:00+02:00" + }, + "provision": [ + { + "type": "permit", + "period": { + "start": "2025-06-23T00:00:00+02:00", + "end": "2055-06-23T00:00:00+02:00" + }, + "code": [ + { + "coding": [ + { + "system": "urn:oid:2.16.840.1.113883.3.1937.777.24.5.3", + "code": "2.16.840.1.113883.3.1937.777.24.5.3.5", + "display": "IDAT_bereitstellen_EU_DSGVO_NIVEAU" + } + ] + } + ] + } + ] + } + } + }, + { + "fullUrl": "http://127.0.0.1:8090/ttp-fhir/fhir/gics/Consent/d61817be-5003-11f0-a144-661e92ac9503", + "resource": { + "resourceType": "Consent", + "id": "d61817be-5003-11f0-a144-661e92ac9503", + "meta": { + "lastUpdated": "2025-06-23T09:29:45.532+02:00", + "profile": [ + "https://www.medizininformatik-initiative.de/fhir/modul-consent/StructureDefinition/mii-pr-consent-einwilligung" + ] + }, + "extension": [ + { + "url": "http://fhir.de/ConsentManagement/StructureDefinition/DomainReference", + "extension": [ + { + "url": "domain", + "valueReference": { + "reference": "ResearchStudy/90a1fcf9-5003-11f0-a144-661e92ac9503" + } + }, + { + "url": "status", + "valueCoding": { + "system": "http://hl7.org/fhir/publication-status", + "code": "active" + } + } + ] + } + ], + "status": "active", + "scope": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/consentscope", + "code": "research" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "57016-8" + } + ] + }, + { + "coding": [ + { + "system": "http://fhir.de/ConsentManagement/CodeSystem/ResultType", + "code": "policy" + } + ] + }, + { + "coding": [ + { + "system": "https://www.medizininformatik-initiative.de/fhir/modul-consent/CodeSystem/mii-cs-consent-consent_category", + "code": "2.16.840.1.113883.3.1937.777.24.2.184" + } + ] + } + ], + "patient": { + "reference": "Patient/d611d429-5003-11f0-a144-661e92ac9503", + "display": "Patienten-ID 12345678" + }, + "dateTime": "2025-06-23T00:00:00+02:00", + "organization": [ + { + "display": "MII" + } + ], + "sourceReference": { + "reference": "QuestionnaireResponse/d615e32f-5003-11f0-a144-661e92ac9503" + }, + "policy": [ + { + "uri": "2.16.840.1.113883.3.1937.777.24.2.184" + }, + { + "uri": "urn:oid:2.16.840.1.113883.3.1937.777.24.2.1790" + } + ], + "policyRule": { + "coding": [ + { + "system": "urn:oid:2.16.840.1.113883.3.1937.777.24.5.3", + "code": "2.16.840.1.113883.3.1937.777.24.5.3.7", + "display": "MDAT_speichern_verarbeiten" + } + ] + }, + "provision": { + "type": "deny", + "period": { + "start": "2025-06-23T00:00:00+02:00", + "end": "2055-06-23T00:00:00+02:00" + }, + "provision": [ + { + "type": "permit", + "period": { + "start": "2025-06-23T00:00:00+02:00", + "end": "2055-06-23T00:00:00+02:00" + }, + "code": [ + { + "coding": [ + { + "system": "urn:oid:2.16.840.1.113883.3.1937.777.24.5.3", + "code": "2.16.840.1.113883.3.1937.777.24.5.3.7", + "display": "MDAT_speichern_verarbeiten" + } + ] + } + ] + } + ] + } + } + }, + { + "fullUrl": "http://127.0.0.1:8090/ttp-fhir/fhir/gics/Consent/d6183b46-5003-11f0-a144-661e92ac9503", + "resource": { + "resourceType": "Consent", + "id": "d6183b46-5003-11f0-a144-661e92ac9503", + "meta": { + "lastUpdated": "2025-06-23T09:29:45.532+02:00", + "profile": [ + "https://www.medizininformatik-initiative.de/fhir/modul-consent/StructureDefinition/mii-pr-consent-einwilligung" + ] + }, + "extension": [ + { + "url": "http://fhir.de/ConsentManagement/StructureDefinition/DomainReference", + "extension": [ + { + "url": "domain", + "valueReference": { + "reference": "ResearchStudy/90a1fcf9-5003-11f0-a144-661e92ac9503" + } + }, + { + "url": "status", + "valueCoding": { + "system": "http://hl7.org/fhir/publication-status", + "code": "active" + } + } + ] + } + ], + "status": "active", + "scope": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/consentscope", + "code": "research" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "57016-8" + } + ] + }, + { + "coding": [ + { + "system": "http://fhir.de/ConsentManagement/CodeSystem/ResultType", + "code": "policy" + } + ] + }, + { + "coding": [ + { + "system": "https://www.medizininformatik-initiative.de/fhir/modul-consent/CodeSystem/mii-cs-consent-consent_category", + "code": "2.16.840.1.113883.3.1937.777.24.2.184" + } + ] + } + ], + "patient": { + "reference": "Patient/d611d429-5003-11f0-a144-661e92ac9503", + "display": "Patienten-ID 12345678" + }, + "dateTime": "2025-06-23T00:00:00+02:00", + "organization": [ + { + "display": "MII" + } + ], + "sourceReference": { + "reference": "QuestionnaireResponse/d615e32f-5003-11f0-a144-661e92ac9503" + }, + "policy": [ + { + "uri": "2.16.840.1.113883.3.1937.777.24.2.184" + }, + { + "uri": "urn:oid:2.16.840.1.113883.3.1937.777.24.2.1790" + } + ], + "policyRule": { + "coding": [ + { + "system": "urn:oid:2.16.840.1.113883.3.1937.777.24.5.3", + "code": "2.16.840.1.113883.3.1937.777.24.5.3.3", + "display": "IDAT_speichern_verarbeiten" + } + ] + }, + "provision": { + "type": "deny", + "period": { + "start": "2025-06-23T00:00:00+02:00", + "end": "2055-06-23T00:00:00+02:00" + }, + "provision": [ + { + "type": "permit", + "period": { + "start": "2025-06-23T00:00:00+02:00", + "end": "2055-06-23T00:00:00+02:00" + }, + "code": [ + { + "coding": [ + { + "system": "urn:oid:2.16.840.1.113883.3.1937.777.24.5.3", + "code": "2.16.840.1.113883.3.1937.777.24.5.3.3", + "display": "IDAT_speichern_verarbeiten" + } + ] + } + ] + } + ] + } + } + }, + { + "fullUrl": "http://127.0.0.1:8090/ttp-fhir/fhir/gics/Consent/d61848d9-5003-11f0-a144-661e92ac9503", + "resource": { + "resourceType": "Consent", + "id": "d61848d9-5003-11f0-a144-661e92ac9503", + "meta": { + "lastUpdated": "2025-06-23T09:29:45.532+02:00", + "profile": [ + "https://www.medizininformatik-initiative.de/fhir/modul-consent/StructureDefinition/mii-pr-consent-einwilligung" + ] + }, + "extension": [ + { + "url": "http://fhir.de/ConsentManagement/StructureDefinition/DomainReference", + "extension": [ + { + "url": "domain", + "valueReference": { + "reference": "ResearchStudy/90a1fcf9-5003-11f0-a144-661e92ac9503" + } + }, + { + "url": "status", + "valueCoding": { + "system": "http://hl7.org/fhir/publication-status", + "code": "active" + } + } + ] + } + ], + "status": "active", + "scope": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/consentscope", + "code": "research" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "57016-8" + } + ] + }, + { + "coding": [ + { + "system": "http://fhir.de/ConsentManagement/CodeSystem/ResultType", + "code": "policy" + } + ] + }, + { + "coding": [ + { + "system": "https://www.medizininformatik-initiative.de/fhir/modul-consent/CodeSystem/mii-cs-consent-consent_category", + "code": "2.16.840.1.113883.3.1937.777.24.2.184" + } + ] + } + ], + "patient": { + "reference": "Patient/d611d429-5003-11f0-a144-661e92ac9503", + "display": "Patienten-ID 12345678" + }, + "dateTime": "2025-06-23T00:00:00+02:00", + "organization": [ + { + "display": "MII" + } + ], + "sourceReference": { + "reference": "QuestionnaireResponse/d615e32f-5003-11f0-a144-661e92ac9503" + }, + "policy": [ + { + "uri": "2.16.840.1.113883.3.1937.777.24.2.184" + }, + { + "uri": "urn:oid:2.16.840.1.113883.3.1937.777.24.2.1790" + } + ], + "policyRule": { + "coding": [ + { + "system": "urn:oid:2.16.840.1.113883.3.1937.777.24.5.3", + "code": "2.16.840.1.113883.3.1937.777.24.5.3.37", + "display": "Rekontaktierung_Ergebnisse_erheblicher_Bedeutung" + } + ] + }, + "provision": { + "type": "deny", + "period": { + "start": "2025-06-23T00:00:00+02:00", + "end": "2055-06-23T00:00:00+02:00" + }, + "provision": [ + { + "type": "permit", + "period": { + "start": "2025-06-23T00:00:00+02:00", + "end": "2055-06-23T00:00:00+02:00" + }, + "code": [ + { + "coding": [ + { + "system": "urn:oid:2.16.840.1.113883.3.1937.777.24.5.3", + "code": "2.16.840.1.113883.3.1937.777.24.5.3.37", + "display": "Rekontaktierung_Ergebnisse_erheblicher_Bedeutung" + } + ] + } + ] + } + ] + } + } + }, + { + "fullUrl": "http://127.0.0.1:8090/ttp-fhir/fhir/gics/Consent/d61886e7-5003-11f0-a144-661e92ac9503", + "resource": { + "resourceType": "Consent", + "id": "d61886e7-5003-11f0-a144-661e92ac9503", + "meta": { + "lastUpdated": "2025-06-23T09:29:45.532+02:00", + "profile": [ + "https://www.medizininformatik-initiative.de/fhir/modul-consent/StructureDefinition/mii-pr-consent-einwilligung" + ] + }, + "extension": [ + { + "url": "http://fhir.de/ConsentManagement/StructureDefinition/DomainReference", + "extension": [ + { + "url": "domain", + "valueReference": { + "reference": "ResearchStudy/90a1fcf9-5003-11f0-a144-661e92ac9503" + } + }, + { + "url": "status", + "valueCoding": { + "system": "http://hl7.org/fhir/publication-status", + "code": "active" + } + } + ] + } + ], + "status": "active", + "scope": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/consentscope", + "code": "research" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "57016-8" + } + ] + }, + { + "coding": [ + { + "system": "http://fhir.de/ConsentManagement/CodeSystem/ResultType", + "code": "policy" + } + ] + }, + { + "coding": [ + { + "system": "https://www.medizininformatik-initiative.de/fhir/modul-consent/CodeSystem/mii-cs-consent-consent_category", + "code": "2.16.840.1.113883.3.1937.777.24.2.184" + } + ] + } + ], + "patient": { + "reference": "Patient/d611d429-5003-11f0-a144-661e92ac9503", + "display": "Patienten-ID 12345678" + }, + "dateTime": "2025-06-23T00:00:00+02:00", + "organization": [ + { + "display": "MII" + } + ], + "sourceReference": { + "reference": "QuestionnaireResponse/d615e32f-5003-11f0-a144-661e92ac9503" + }, + "policy": [ + { + "uri": "2.16.840.1.113883.3.1937.777.24.2.184" + }, + { + "uri": "urn:oid:2.16.840.1.113883.3.1937.777.24.2.1790" + } + ], + "policyRule": { + "coding": [ + { + "system": "urn:oid:2.16.840.1.113883.3.1937.777.24.5.3", + "code": "2.16.840.1.113883.3.1937.777.24.5.3.28", + "display": "Rekontaktierung_weitere_Erhebung" + } + ] + }, + "provision": { + "type": "deny", + "period": { + "start": "2025-06-23T00:00:00+02:00", + "end": "2055-06-23T00:00:00+02:00" + }, + "provision": [ + { + "type": "permit", + "period": { + "start": "2025-06-23T00:00:00+02:00", + "end": "2055-06-23T00:00:00+02:00" + }, + "code": [ + { + "coding": [ + { + "system": "urn:oid:2.16.840.1.113883.3.1937.777.24.5.3", + "code": "2.16.840.1.113883.3.1937.777.24.5.3.28", + "display": "Rekontaktierung_weitere_Erhebung" + } + ] + } + ] + } + ] + } + } + }, + { + "fullUrl": "http://127.0.0.1:8090/ttp-fhir/fhir/gics/Consent/d6182af5-5003-11f0-a144-661e92ac9503", + "resource": { + "resourceType": "Consent", + "id": "d6182af5-5003-11f0-a144-661e92ac9503", + "meta": { + "lastUpdated": "2025-06-23T09:29:45.532+02:00", + "profile": [ + "https://www.medizininformatik-initiative.de/fhir/modul-consent/StructureDefinition/mii-pr-consent-einwilligung" + ] + }, + "extension": [ + { + "url": "http://fhir.de/ConsentManagement/StructureDefinition/DomainReference", + "extension": [ + { + "url": "domain", + "valueReference": { + "reference": "ResearchStudy/90a1fcf9-5003-11f0-a144-661e92ac9503" + } + }, + { + "url": "status", + "valueCoding": { + "system": "http://hl7.org/fhir/publication-status", + "code": "active" + } + } + ] + } + ], + "status": "active", + "scope": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/consentscope", + "code": "research" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "57016-8" + } + ] + }, + { + "coding": [ + { + "system": "http://fhir.de/ConsentManagement/CodeSystem/ResultType", + "code": "policy" + } + ] + }, + { + "coding": [ + { + "system": "https://www.medizininformatik-initiative.de/fhir/modul-consent/CodeSystem/mii-cs-consent-consent_category", + "code": "2.16.840.1.113883.3.1937.777.24.2.184" + } + ] + } + ], + "patient": { + "reference": "Patient/d611d429-5003-11f0-a144-661e92ac9503", + "display": "Patienten-ID 12345678" + }, + "dateTime": "2025-06-23T00:00:00+02:00", + "organization": [ + { + "display": "MII" + } + ], + "sourceReference": { + "reference": "QuestionnaireResponse/d615e32f-5003-11f0-a144-661e92ac9503" + }, + "policy": [ + { + "uri": "2.16.840.1.113883.3.1937.777.24.2.184" + }, + { + "uri": "urn:oid:2.16.840.1.113883.3.1937.777.24.2.1790" + } + ], + "policyRule": { + "coding": [ + { + "system": "urn:oid:2.16.840.1.113883.3.1937.777.24.5.3", + "code": "2.16.840.1.113883.3.1937.777.24.5.3.9", + "display": "MDAT_zusammenfuehren_Dritte" + } + ] + }, + "provision": { + "type": "deny", + "period": { + "start": "2025-06-23T00:00:00+02:00", + "end": "2055-06-23T00:00:00+02:00" + }, + "provision": [ + { + "type": "permit", + "period": { + "start": "2025-06-23T00:00:00+02:00", + "end": "2055-06-23T00:00:00+02:00" + }, + "code": [ + { + "coding": [ + { + "system": "urn:oid:2.16.840.1.113883.3.1937.777.24.5.3", + "code": "2.16.840.1.113883.3.1937.777.24.5.3.9", + "display": "MDAT_zusammenfuehren_Dritte" + } + ] + } + ] + } + ] + } + } + }, + { + "fullUrl": "http://127.0.0.1:8090/ttp-fhir/fhir/gics/Consent/d618422d-5003-11f0-a144-661e92ac9503", + "resource": { + "resourceType": "Consent", + "id": "d618422d-5003-11f0-a144-661e92ac9503", + "meta": { + "lastUpdated": "2025-06-23T09:29:45.532+02:00", + "profile": [ + "https://www.medizininformatik-initiative.de/fhir/modul-consent/StructureDefinition/mii-pr-consent-einwilligung" + ] + }, + "extension": [ + { + "url": "http://fhir.de/ConsentManagement/StructureDefinition/DomainReference", + "extension": [ + { + "url": "domain", + "valueReference": { + "reference": "ResearchStudy/90a1fcf9-5003-11f0-a144-661e92ac9503" + } + }, + { + "url": "status", + "valueCoding": { + "system": "http://hl7.org/fhir/publication-status", + "code": "active" + } + } + ] + } + ], + "status": "active", + "scope": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/consentscope", + "code": "research" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "57016-8" + } + ] + }, + { + "coding": [ + { + "system": "http://fhir.de/ConsentManagement/CodeSystem/ResultType", + "code": "policy" + } + ] + }, + { + "coding": [ + { + "system": "https://www.medizininformatik-initiative.de/fhir/modul-consent/CodeSystem/mii-cs-consent-consent_category", + "code": "2.16.840.1.113883.3.1937.777.24.2.184" + } + ] + } + ], + "patient": { + "reference": "Patient/d611d429-5003-11f0-a144-661e92ac9503", + "display": "Patienten-ID 12345678" + }, + "dateTime": "2025-06-23T00:00:00+02:00", + "organization": [ + { + "display": "MII" + } + ], + "sourceReference": { + "reference": "QuestionnaireResponse/d615e32f-5003-11f0-a144-661e92ac9503" + }, + "policy": [ + { + "uri": "2.16.840.1.113883.3.1937.777.24.2.184" + }, + { + "uri": "urn:oid:2.16.840.1.113883.3.1937.777.24.2.1790" + } + ], + "policyRule": { + "coding": [ + { + "system": "urn:oid:2.16.840.1.113883.3.1937.777.24.5.3", + "code": "2.16.840.1.113883.3.1937.777.24.5.3.4", + "display": "IDAT_zusammenfuehren_Dritte" + } + ] + }, + "provision": { + "type": "deny", + "period": { + "start": "2025-06-23T00:00:00+02:00", + "end": "2055-06-23T00:00:00+02:00" + }, + "provision": [ + { + "type": "permit", + "period": { + "start": "2025-06-23T00:00:00+02:00", + "end": "2055-06-23T00:00:00+02:00" + }, + "code": [ + { + "coding": [ + { + "system": "urn:oid:2.16.840.1.113883.3.1937.777.24.5.3", + "code": "2.16.840.1.113883.3.1937.777.24.5.3.4", + "display": "IDAT_zusammenfuehren_Dritte" + } + ] + } + ] + } + ] + } + } + } + ] +} \ No newline at end of file diff --git a/src/test/resources/fake_mv64e-gics-response_deny.json b/src/test/resources/fake_mv64e-gics-response_deny.json new file mode 100644 index 0000000..1d39607 --- /dev/null +++ b/src/test/resources/fake_mv64e-gics-response_deny.json @@ -0,0 +1,333 @@ +{ + "resourceType": "Bundle", + "type": "collection", + "entry": [ + { + "fullUrl": "http://127.0.0.1:8090/ttp-fhir/fhir/gics/Consent/24673204-50e1-11f0-a144-661e92ac9503", + "resource": { + "resourceType": "Consent", + "id": "24673204-50e1-11f0-a144-661e92ac9503", + "meta": { + "lastUpdated": "2025-06-24T11:58:27.178+02:00", + "profile": [ + "http://fhir.de/ConsentManagement/StructureDefinition/Consent" + ] + }, + "extension": [ + { + "url": "http://fhir.de/ConsentManagement/StructureDefinition/DomainReference", + "extension": [ + { + "url": "domain", + "valueReference": { + "reference": "ResearchStudy/ef86d80e-50e0-11f0-a144-661e92ac9503" + } + }, + { + "url": "status", + "valueCoding": { + "system": "http://hl7.org/fhir/publication-status", + "code": "active" + } + } + ] + } + ], + "status": "active", + "scope": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/consentscope", + "code": "research" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "59284-0" + } + ] + }, + { + "coding": [ + { + "system": "http://fhir.de/ConsentManagement/CodeSystem/ResultType", + "code": "policy" + } + ] + } + ], + "patient": { + "reference": "Patient/2466d49b-50e1-11f0-a144-661e92ac9503", + "display": "Patienten-ID 999999" + }, + "dateTime": "2025-06-24T00:00:00+02:00", + "organization": [ + { + "display": "GenomDE_MV" + } + ], + "sourceReference": { + "reference": "QuestionnaireResponse/24670c77-50e1-11f0-a144-661e92ac9503" + }, + "policyRule": { + "coding": [ + { + "system": "https://ths-greifswald.de/fhir/CodeSystem/gics/Policy/GenomDE_MV", + "code": "Teilnahme", + "display": "Teilnahme am Modellvorhaben und Einwilligung zur Genomsequenzierung" + } + ] + }, + "provision": { + "type": "deny", + "period": { + "start": "2025-06-24T00:00:00+02:00", + "end": "3000-01-01T00:00:00+01:00" + }, + "provision": [ + { + "type": "deny", + "period": { + "start": "2025-06-24T00:00:00+02:00", + "end": "3000-01-01T00:00:00+01:00" + }, + "code": [ + { + "coding": [ + { + "system": "https://ths-greifswald.de/fhir/CodeSystem/gics/Policy/GenomDE_MV", + "code": "Teilnahme", + "display": "Teilnahme am Modellvorhaben und Einwilligung zur Genomsequenzierung" + } + ] + } + ] + } + ] + } + } + }, + { + "fullUrl": "http://127.0.0.1:8090/ttp-fhir/fhir/gics/Consent/24673913-50e1-11f0-a144-661e92ac9503", + "resource": { + "resourceType": "Consent", + "id": "24673913-50e1-11f0-a144-661e92ac9503", + "meta": { + "lastUpdated": "2025-06-24T11:58:27.194+02:00", + "profile": [ + "http://fhir.de/ConsentManagement/StructureDefinition/Consent" + ] + }, + "extension": [ + { + "url": "http://fhir.de/ConsentManagement/StructureDefinition/DomainReference", + "extension": [ + { + "url": "domain", + "valueReference": { + "reference": "ResearchStudy/ef86d80e-50e0-11f0-a144-661e92ac9503" + } + }, + { + "url": "status", + "valueCoding": { + "system": "http://hl7.org/fhir/publication-status", + "code": "active" + } + } + ] + } + ], + "status": "active", + "scope": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/consentscope", + "code": "research" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "59284-0" + } + ] + }, + { + "coding": [ + { + "system": "http://fhir.de/ConsentManagement/CodeSystem/ResultType", + "code": "policy" + } + ] + } + ], + "patient": { + "reference": "Patient/2466d49b-50e1-11f0-a144-661e92ac9503", + "display": "Patienten-ID 999999" + }, + "dateTime": "2025-06-24T00:00:00+02:00", + "organization": [ + { + "display": "GenomDE_MV" + } + ], + "sourceReference": { + "reference": "QuestionnaireResponse/24670c77-50e1-11f0-a144-661e92ac9503" + }, + "policyRule": { + "coding": [ + { + "system": "https://ths-greifswald.de/fhir/CodeSystem/gics/Policy/GenomDE_MV", + "code": "Fallidentifizierung", + "display": "Fallidentifizierung zum fachlichen Austausch unter Behandelnden" + } + ] + }, + "provision": { + "type": "deny", + "period": { + "start": "2025-06-24T00:00:00+02:00", + "end": "3000-01-01T00:00:00+01:00" + }, + "provision": [ + { + "type": "deny", + "period": { + "start": "2025-06-24T00:00:00+02:00", + "end": "3000-01-01T00:00:00+01:00" + }, + "code": [ + { + "coding": [ + { + "system": "https://ths-greifswald.de/fhir/CodeSystem/gics/Policy/GenomDE_MV", + "code": "Fallidentifizierung", + "display": "Fallidentifizierung zum fachlichen Austausch unter Behandelnden" + } + ] + } + ] + } + ] + } + } + }, + { + "fullUrl": "http://127.0.0.1:8090/ttp-fhir/fhir/gics/Consent/24673da9-50e1-11f0-a144-661e92ac9503", + "resource": { + "resourceType": "Consent", + "id": "24673da9-50e1-11f0-a144-661e92ac9503", + "meta": { + "lastUpdated": "2025-06-24T11:58:27.211+02:00", + "profile": [ + "http://fhir.de/ConsentManagement/StructureDefinition/Consent" + ] + }, + "extension": [ + { + "url": "http://fhir.de/ConsentManagement/StructureDefinition/DomainReference", + "extension": [ + { + "url": "domain", + "valueReference": { + "reference": "ResearchStudy/ef86d80e-50e0-11f0-a144-661e92ac9503" + } + }, + { + "url": "status", + "valueCoding": { + "system": "http://hl7.org/fhir/publication-status", + "code": "active" + } + } + ] + } + ], + "status": "active", + "scope": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/consentscope", + "code": "research" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "59284-0" + } + ] + }, + { + "coding": [ + { + "system": "http://fhir.de/ConsentManagement/CodeSystem/ResultType", + "code": "policy" + } + ] + } + ], + "patient": { + "reference": "Patient/2466d49b-50e1-11f0-a144-661e92ac9503", + "display": "Patienten-ID 999999" + }, + "dateTime": "2025-06-24T00:00:00+02:00", + "organization": [ + { + "display": "GenomDE_MV" + } + ], + "sourceReference": { + "reference": "QuestionnaireResponse/24670c77-50e1-11f0-a144-661e92ac9503" + }, + "policyRule": { + "coding": [ + { + "system": "https://ths-greifswald.de/fhir/CodeSystem/gics/Policy/GenomDE_MV", + "code": "Rekontaktierung", + "display": "Re-Identifizierung meiner Daten über die Vertrauensstelle beim Robert Koch-Institut und in die erneute Kontaktaufnahme durch meine behandelnde Ärztin oder meinen behandelnden Arzt" + } + ] + }, + "provision": { + "type": "deny", + "period": { + "start": "2025-06-24T00:00:00+02:00", + "end": "3000-01-01T00:00:00+01:00" + }, + "provision": [ + { + "type": "deny", + "period": { + "start": "2025-06-24T00:00:00+02:00", + "end": "3000-01-01T00:00:00+01:00" + }, + "code": [ + { + "coding": [ + { + "system": "https://ths-greifswald.de/fhir/CodeSystem/gics/Policy/GenomDE_MV", + "code": "Rekontaktierung", + "display": "Re-Identifizierung meiner Daten über die Vertrauensstelle beim Robert Koch-Institut und in die erneute Kontaktaufnahme durch meine behandelnde Ärztin oder meinen behandelnden Arzt" + } + ] + } + ] + } + ] + } + } + } + ] +} \ No newline at end of file diff --git a/src/test/resources/fake_mv64e-gics-response_permit.json b/src/test/resources/fake_mv64e-gics-response_permit.json new file mode 100644 index 0000000..1dcaed0 --- /dev/null +++ b/src/test/resources/fake_mv64e-gics-response_permit.json @@ -0,0 +1,333 @@ +{ + "resourceType": "Bundle", + "type": "collection", + "entry": [ + { + "fullUrl": "http://127.0.0.1:8090/ttp-fhir/fhir/gics/Consent/121a8368-50e1-11f0-a144-661e92ac9503", + "resource": { + "resourceType": "Consent", + "id": "121a8368-50e1-11f0-a144-661e92ac9503", + "meta": { + "lastUpdated": "2025-06-24T11:55:42.079+02:00", + "profile": [ + "http://fhir.de/ConsentManagement/StructureDefinition/Consent" + ] + }, + "extension": [ + { + "url": "http://fhir.de/ConsentManagement/StructureDefinition/DomainReference", + "extension": [ + { + "url": "domain", + "valueReference": { + "reference": "ResearchStudy/ef86d80e-50e0-11f0-a144-661e92ac9503" + } + }, + { + "url": "status", + "valueCoding": { + "system": "http://hl7.org/fhir/publication-status", + "code": "active" + } + } + ] + } + ], + "status": "active", + "scope": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/consentscope", + "code": "research" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "59284-0" + } + ] + }, + { + "coding": [ + { + "system": "http://fhir.de/ConsentManagement/CodeSystem/ResultType", + "code": "policy" + } + ] + } + ], + "patient": { + "reference": "Patient/12194791-50e1-11f0-a144-661e92ac9503", + "display": "Patienten-ID 12345678" + }, + "dateTime": "2025-06-24T00:00:00+02:00", + "organization": [ + { + "display": "GenomDE_MV" + } + ], + "sourceReference": { + "reference": "QuestionnaireResponse/1219ca42-50e1-11f0-a144-661e92ac9503" + }, + "policyRule": { + "coding": [ + { + "system": "https://ths-greifswald.de/fhir/CodeSystem/gics/Policy/GenomDE_MV", + "code": "Teilnahme", + "display": "Teilnahme am Modellvorhaben und Einwilligung zur Genomsequenzierung" + } + ] + }, + "provision": { + "type": "deny", + "period": { + "start": "2025-06-24T00:00:00+02:00", + "end": "3000-01-01T00:00:00+01:00" + }, + "provision": [ + { + "type": "permit", + "period": { + "start": "2025-06-24T00:00:00+02:00", + "end": "3000-01-01T00:00:00+01:00" + }, + "code": [ + { + "coding": [ + { + "system": "https://ths-greifswald.de/fhir/CodeSystem/gics/Policy/GenomDE_MV", + "code": "Teilnahme", + "display": "Teilnahme am Modellvorhaben und Einwilligung zur Genomsequenzierung" + } + ] + } + ] + } + ] + } + } + }, + { + "fullUrl": "http://127.0.0.1:8090/ttp-fhir/fhir/gics/Consent/121aad40-50e1-11f0-a144-661e92ac9503", + "resource": { + "resourceType": "Consent", + "id": "121aad40-50e1-11f0-a144-661e92ac9503", + "meta": { + "lastUpdated": "2025-06-24T11:55:42.096+02:00", + "profile": [ + "http://fhir.de/ConsentManagement/StructureDefinition/Consent" + ] + }, + "extension": [ + { + "url": "http://fhir.de/ConsentManagement/StructureDefinition/DomainReference", + "extension": [ + { + "url": "domain", + "valueReference": { + "reference": "ResearchStudy/ef86d80e-50e0-11f0-a144-661e92ac9503" + } + }, + { + "url": "status", + "valueCoding": { + "system": "http://hl7.org/fhir/publication-status", + "code": "active" + } + } + ] + } + ], + "status": "active", + "scope": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/consentscope", + "code": "research" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "59284-0" + } + ] + }, + { + "coding": [ + { + "system": "http://fhir.de/ConsentManagement/CodeSystem/ResultType", + "code": "policy" + } + ] + } + ], + "patient": { + "reference": "Patient/12194791-50e1-11f0-a144-661e92ac9503", + "display": "Patienten-ID 12345678" + }, + "dateTime": "2025-06-24T00:00:00+02:00", + "organization": [ + { + "display": "GenomDE_MV" + } + ], + "sourceReference": { + "reference": "QuestionnaireResponse/1219ca42-50e1-11f0-a144-661e92ac9503" + }, + "policyRule": { + "coding": [ + { + "system": "https://ths-greifswald.de/fhir/CodeSystem/gics/Policy/GenomDE_MV", + "code": "Fallidentifizierung", + "display": "Fallidentifizierung zum fachlichen Austausch unter Behandelnden" + } + ] + }, + "provision": { + "type": "deny", + "period": { + "start": "2025-06-24T00:00:00+02:00", + "end": "3000-01-01T00:00:00+01:00" + }, + "provision": [ + { + "type": "permit", + "period": { + "start": "2025-06-24T00:00:00+02:00", + "end": "3000-01-01T00:00:00+01:00" + }, + "code": [ + { + "coding": [ + { + "system": "https://ths-greifswald.de/fhir/CodeSystem/gics/Policy/GenomDE_MV", + "code": "Fallidentifizierung", + "display": "Fallidentifizierung zum fachlichen Austausch unter Behandelnden" + } + ] + } + ] + } + ] + } + } + }, + { + "fullUrl": "http://127.0.0.1:8090/ttp-fhir/fhir/gics/Consent/121ac5f8-50e1-11f0-a144-661e92ac9503", + "resource": { + "resourceType": "Consent", + "id": "121ac5f8-50e1-11f0-a144-661e92ac9503", + "meta": { + "lastUpdated": "2025-06-24T11:55:42.110+02:00", + "profile": [ + "http://fhir.de/ConsentManagement/StructureDefinition/Consent" + ] + }, + "extension": [ + { + "url": "http://fhir.de/ConsentManagement/StructureDefinition/DomainReference", + "extension": [ + { + "url": "domain", + "valueReference": { + "reference": "ResearchStudy/ef86d80e-50e0-11f0-a144-661e92ac9503" + } + }, + { + "url": "status", + "valueCoding": { + "system": "http://hl7.org/fhir/publication-status", + "code": "active" + } + } + ] + } + ], + "status": "active", + "scope": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/consentscope", + "code": "research" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "59284-0" + } + ] + }, + { + "coding": [ + { + "system": "http://fhir.de/ConsentManagement/CodeSystem/ResultType", + "code": "policy" + } + ] + } + ], + "patient": { + "reference": "Patient/12194791-50e1-11f0-a144-661e92ac9503", + "display": "Patienten-ID 12345678" + }, + "dateTime": "2025-06-24T00:00:00+02:00", + "organization": [ + { + "display": "GenomDE_MV" + } + ], + "sourceReference": { + "reference": "QuestionnaireResponse/1219ca42-50e1-11f0-a144-661e92ac9503" + }, + "policyRule": { + "coding": [ + { + "system": "https://ths-greifswald.de/fhir/CodeSystem/gics/Policy/GenomDE_MV", + "code": "Rekontaktierung", + "display": "Re-Identifizierung meiner Daten über die Vertrauensstelle beim Robert Koch-Institut und in die erneute Kontaktaufnahme durch meine behandelnde Ärztin oder meinen behandelnden Arzt" + } + ] + }, + "provision": { + "type": "deny", + "period": { + "start": "2025-06-24T00:00:00+02:00", + "end": "3000-01-01T00:00:00+01:00" + }, + "provision": [ + { + "type": "permit", + "period": { + "start": "2025-06-24T00:00:00+02:00", + "end": "3000-01-01T00:00:00+01:00" + }, + "code": [ + { + "coding": [ + { + "system": "https://ths-greifswald.de/fhir/CodeSystem/gics/Policy/GenomDE_MV", + "code": "Rekontaktierung", + "display": "Re-Identifizierung meiner Daten über die Vertrauensstelle beim Robert Koch-Institut und in die erneute Kontaktaufnahme durch meine behandelnde Ärztin oder meinen behandelnden Arzt" + } + ] + } + ] + } + ] + } + } + } + ] +} \ No newline at end of file