{ "description": null, "_filename": "StructureDefinition-palga-on-fhir-document.json", "package_name": "iknl.fhir.nl.r4.palga", "date": "2023-07-19T16:11:14.7235099+00:00", "derivation": "constraint", "publisher": null, "fhirVersion": "4.0.1", "name": "PalgaOnFHIR_Document", "mapping": [ { "uri": "http://hl7.org/v2", "name": "HL7 v2 Mapping", "identity": "v2" }, { "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" } ], "abstract": false, "type": "Bundle", "experimental": null, "resourceType": "StructureDefinition", "title": null, "package_version": "0.1.0", "status": "draft", "id": "39701930-6a26-4eb5-bc63-2fa8203a1787", "kind": "resource", "url": "https://iknl.nl/palga-iknl/StructureDefinition/palga-on-fhir-document", "version": "0.1.0", "differential": { "element": [ { "id": "Bundle", "path": "Bundle", "constraint": [ { "key": "palga-on-fhir-document-1", "human": "Composition.subject and DiagnosticReport.subject shall refer to the same patient.", "severity": "error", "expression": "entry.first().resource.subject.resolve() = entry.first().resource.section.entry.resolve().subject.resolve()" } ] }, { "id": "Bundle.identifier.system", "path": "Bundle.identifier.system", "patternUri": "urn:palga" }, { "id": "Bundle.type", "path": "Bundle.type", "patternCode": "document" }, { "id": "Bundle.timestamp", "min": 1, "path": "Bundle.timestamp" }, { "id": "Bundle.entry", "min": 1, "path": "Bundle.entry", "slicing": { "rules": "open", "discriminator": [ { "path": "resource", "type": "profile" } ] } }, { "id": "Bundle.entry:composition", "max": "1", "min": 1, "path": "Bundle.entry", "sliceName": "composition" }, { "id": "Bundle.entry:composition.resource", "path": "Bundle.entry.resource", "type": [ { "code": "Composition", "profile": [ "https://iknl.nl/palga-iknl/StructureDefinition/palga-on-fhir-composition" ] } ] } ] }, "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Bundle" }