diff --git a/input/ch.fhir.ig.ch-core.xml b/input/ch.fhir.ig.ch-core.xml index a8294a6..2c21530 100644 --- a/input/ch.fhir.ig.ch-core.xml +++ b/input/ch.fhir.ig.ch-core.xml @@ -317,6 +317,23 @@ + + + + + + + + + + + + + + + + + diff --git a/input/examples/consent/EncounterExcludedForEpr.json b/input/examples/consent/EncounterExcludedForEpr.json new file mode 100644 index 0000000..b3f55e3 --- /dev/null +++ b/input/examples/consent/EncounterExcludedForEpr.json @@ -0,0 +1,58 @@ +{ + "resourceType": "Consent", + "id": "EncounterExcludedForEpr", + "status": "active", + "scope": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/consentscope", + "code": "patient-privacy" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "59284-0", + "display": "Patient Consent" + } + ] + } + ], + "patient": { + "reference": "Patient/ElisabethBroennimannByBFH", + "display": "Elisabeth Broennimann" + }, + "dateTime": "2020-12-28", + "organization": [ + { + "display": "Stammgemeinschaft XYZ" + } + ], + "policy": [ + { + "authority": "https://www.admin.ch/opc/de/classified-compilation/20111795/index.html" + } + ], + "policyRule": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "OPTIN" + } + ] + }, + "provision": { + "type": "deny", + "data": [ + { + "meaning": "instance", + "reference": { + "reference": "Encounter/EncounterAccidentBroennimann" + } + } + ] + } +} \ No newline at end of file diff --git a/input/examples/consent/PatientHasEpr.json b/input/examples/consent/PatientHasEpr.json new file mode 100644 index 0000000..c32c73b --- /dev/null +++ b/input/examples/consent/PatientHasEpr.json @@ -0,0 +1,47 @@ +{ + "resourceType": "Consent", + "id": "PatientHasEpr", + "status": "active", + "scope": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/consentscope", + "code": "patient-privacy" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "59284-0", + "display": "Patient Consent" + } + ] + } + ], + "patient": { + "reference": "Patient/FranzMuster", + "display": "Franz Muster" + }, + "dateTime": "2020-12-28", + "organization": [ + { + "display": "Stammgemeinschaft XYZ" + } + ], + "policy": [ + { + "authority": "https://www.admin.ch/opc/de/classified-compilation/20111795/index.html" + } + ], + "policyRule": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "OPTIN" + } + ] + } +} \ No newline at end of file