{ "description": "Dies ist mein Patienten-Profil", "_filename": "MeinPatientenProfil.json", "package_name": "marburg.schulung", "date": "2020-02-07T13:38:54.9762486+00:00", "derivation": "constraint", "meta": { "lastUpdated": "2020-02-07T13:38:54.791+00:00" }, "publisher": null, "fhirVersion": "4.0.0", "name": "MeinPatientenProfil", "mapping": [ { "uri": "http://hl7.org/v3", "name": "RIM Mapping", "identity": "rim" }, { "uri": "http://hl7.org/v3/cda", "name": "CDA (R2)", "identity": "cda" }, { "uri": "http://hl7.org/fhir/fivews", "name": "FiveWs Pattern Mapping", "identity": "w5" }, { "uri": "http://hl7.org/v2", "name": "HL7 v2 Mapping", "identity": "v2" }, { "uri": "http://loinc.org", "name": "LOINC code for the element", "identity": "loinc" } ], "abstract": false, "type": "Patient", "experimental": null, "resourceType": "StructureDefinition", "title": "Mein Patienten-Profil", "package_version": "1.0.0", "status": "draft", "id": "c03a2e64-33dc-4e8d-b054-8eade2a2f7d7", "kind": "resource", "url": "http://fhir.gefyra.de/StructureDefinition/MeinPatientenProfil", "version": "0.1", "differential": { "element": [ { "id": "Patient", "path": "Patient", "constraint": [ { "key": "kvid-1", "human": "Nur wer einen Wohnort in Deutschland hat, darf auch eine Deutsche Versichertennummer haben !!!!!11!11!!!!!!111", "severity": "error", "expression": "Patient.identifier.where(system='http://fhir.de/NamingSystem/gkv/kvid-10').exists().not() or Patient.address.where(country='Deutschland').exists()" } ] }, { "id": "Patient.identifier", "path": "Patient.identifier", "slicing": { "rules": "open", "ordered": false, "discriminator": [ { "path": "system", "type": "value" } ] }, "mustSupport": true }, { "id": "Patient.identifier:BuergerID", "max": "1", "min": 1, "path": "Patient.identifier", "sliceName": "BuergerID" }, { "id": "Patient.identifier:BuergerID.system", "min": 1, "path": "Patient.identifier.system", "fixedUri": "http://fhir.ufp/NamingSystem/ufp-citizen-id" }, { "id": "Patient.identifier:BuergerID.value", "min": 1, "path": "Patient.identifier.value" }, { "id": "Patient.identifier:VersichertenID", "max": "1", "path": "Patient.identifier", "sliceName": "VersichertenID" }, { "id": "Patient.identifier:VersichertenID.system", "min": 1, "path": "Patient.identifier.system", "fixedUri": "http://fhir.de/NamingSystem/gkv/kvid-10" }, { "id": "Patient.identifier:VersichertenID.value", "min": 1, "path": "Patient.identifier.value", "constraint": [ { "key": "kvid-2", "human": "Das ist keine KVID :( !!!!1111!!!!", "severity": "warning", "expression": "matches('[A-Z][0-9]{9}')" } ] }, { "id": "Patient.name", "min": 1, "path": "Patient.name", "mustSupport": true }, { "id": "Patient.name.family", "min": 1, "path": "Patient.name.family" }, { "id": "Patient.name.given", "min": 1, "path": "Patient.name.given" }, { "id": "Patient.gender", "min": 1, "path": "Patient.gender", "mustSupport": true }, { "id": "Patient.birthDate", "path": "Patient.birthDate", "mustSupport": true }, { "id": "Patient.address", "min": 1, "path": "Patient.address", "type": [ { "code": "Address", "profile": [ "http://fhir.gefyra.de/StructureDefinition/MeinAdressProfil" ] } ], "mustSupport": true }, { "id": "Patient.contact.address", "path": "Patient.contact.address", "type": [ { "code": "Address", "profile": [ "http://fhir.gefyra.de/StructureDefinition/MeinAdressProfil" ] } ] } ] }, "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Patient" }