{ "description": "Constrained profile for qualification purposes. Not suited for implementation.", "_filename": "mp-MedAgr-mp9-MBH200aanvullendeinformatiewensenMA.json", "package_name": "duwel.nl.r4.sandbox.dev", "date": null, "derivation": "constraint", "publisher": null, "fhirVersion": "4.0.1", "name": "mpMedAgrmp9MBH200aanvullendeinformatiewensenMA", "abstract": false, "type": "Bundle", "experimental": "true", "resourceType": "StructureDefinition", "title": "mp MedAgr mp9 MBH200aanvullendeinformatiewensenMA", "package_version": "0.0.1-dev.4", "status": "draft", "id": "85df8fbe-c761-44ac-86f2-132f10f28a04", "kind": "resource", "url": "http://nictiz.nl/fhir/StructureDefinition/Test/mp-MedAgr-mp9-MBH200aanvullendeinformatiewensenMA", "version": null, "differential": { "element": [ { "id": "Bundle.type", "path": "Bundle.type", "fixedCode": "searchset" }, { "id": "Bundle.entry", "path": "Bundle.entry", "slicing": { "rules": "open", "discriminator": [ { "path": "resource", "type": "profile" } ] } }, { "id": "Bundle.entry:medicationrequest", "max": "1", "min": 1, "path": "Bundle.entry", "sliceName": "medicationrequest" }, { "id": "Bundle.entry:medicationrequest.resource", "min": 1, "path": "Bundle.entry.resource", "type": [ { "code": "Resource", "profile": [ "http://nictiz.nl/fhir/StructureDefinition/mp-MedicationAgreement" ] } ] }, { "id": "Bundle.entry:medicationrequest.resource.extension", "min": 4, "path": "Bundle.entry.resource.extension", "slicing": { "rules": "open", "discriminator": [ { "path": "url", "type": "value" } ] } }, { "id": "Bundle.entry:medicationrequest.resource.extension:medicationAgreementAdditionalInformation", "max": "1", "min": 1, "path": "Bundle.entry.resource.extension", "sliceName": "medicationAgreementAdditionalInformation" }, { "id": "Bundle.entry:medicationrequest.resource.extension:medicationAgreementAdditionalInformation.value[x]", "min": 1, "path": "Bundle.entry.resource.extension.value[x]" }, { "id": "Bundle.entry:medicationrequest.resource.extension:medicationAgreementAdditionalInformation.value[x].coding", "min": 1, "path": "Bundle.entry.resource.extension.value[x].coding", "slicing": { "rules": "open", "discriminator": [ { "path": "code", "type": "value" }, { "path": "system", "type": "value" } ] } }, { "id": "Bundle.entry:medicationrequest.resource.extension:medicationAgreementAdditionalInformation.value[x].coding:requiredCoding", "max": "1", "min": 1, "path": "Bundle.entry.resource.extension.value[x].coding", "sliceName": "requiredCoding" }, { "id": "Bundle.entry:medicationrequest.resource.extension:medicationAgreementAdditionalInformation.value[x].coding:requiredCoding.system", "min": 1, "path": "Bundle.entry.resource.extension.value[x].coding.system", "fixedUri": "urn:oid:2.16.840.1.113883.2.4.3.11.60.20.77.5.2.14.2050" }, { "id": "Bundle.entry:medicationrequest.resource.extension:medicationAgreementAdditionalInformation.value[x].coding:requiredCoding.code", "min": 1, "path": "Bundle.entry.resource.extension.value[x].coding.code", "fixedCode": "1" }, { "id": "Bundle.entry:medicationrequest.resource.extension:medicationAgreementAdditionalInformation.value[x].coding:requiredCoding.display", "min": 1, "path": "Bundle.entry.resource.extension.value[x].coding.display" }, { "id": "Bundle.entry:medicationrequest.resource.extension:renderedDosageInstruction", "max": "1", "min": 1, "path": "Bundle.entry.resource.extension", "sliceName": "renderedDosageInstruction" }, { "id": "Bundle.entry:medicationrequest.resource.extension:renderedDosageInstruction.value[x]", "min": 1, "path": "Bundle.entry.resource.extension.value[x]", "fixedString": "Vanaf T - 4 dagen, tot en met T + 5 dagen, 3 maal per dag 1 stuk, Oraal" }, { "id": "Bundle.entry:medicationrequest.resource.extension:periodOfUse", "max": "1", "min": 1, "path": "Bundle.entry.resource.extension", "sliceName": "periodOfUse" }, { "id": "Bundle.entry:medicationrequest.resource.extension:periodOfUse.value[x]", "min": 1, "path": "Bundle.entry.resource.extension.value[x]", "constraint": [ { "key": "ma1", "human": "Period.start and Period.end must have a difference of 9 days, 23:59:59", "severity": "error", "expression": "start + 9 days + 23 hours + 59 minutes + 59 seconds = end" }, { "key": "ma2", "human": "Check if T-date works", "severity": "error", "expression": "start = @${DATE, T, D, -4}T00:00:00+02:00" } ] }, { "id": "Bundle.entry:medicationrequest.resource.extension:pharmaceuticalTreatmentIdentifier", "max": "1", "min": 1, "path": "Bundle.entry.resource.extension", "sliceName": "pharmaceuticalTreatmentIdentifier" }, { "id": "Bundle.entry:medicationrequest.resource.extension:pharmaceuticalTreatmentIdentifier.value[x].system", "min": 1, "path": "Bundle.entry.resource.extension.value[x].system" }, { "id": "Bundle.entry:medicationrequest.resource.extension:pharmaceuticalTreatmentIdentifier.value[x].value", "min": 1, "path": "Bundle.entry.resource.extension.value[x].value" }, { "id": "Bundle.entry:medicationrequest.resource.identifier.system", "min": 1, "path": "Bundle.entry.resource.identifier.system" }, { "id": "Bundle.entry:medicationrequest.resource.identifier.value", "min": 1, "path": "Bundle.entry.resource.identifier.value" }, { "id": "Bundle.entry:medicationrequest.resource.category", "min": 1, "path": "Bundle.entry.resource.category" }, { "id": "Bundle.entry:medicationrequest.resource.category.coding", "min": 1, "path": "Bundle.entry.resource.category.coding", "slicing": { "rules": "open", "discriminator": [ { "path": "code", "type": "value" }, { "path": "system", "type": "value" } ] } }, { "id": "Bundle.entry:medicationrequest.resource.category.coding:requiredCoding", "max": "1", "min": 1, "path": "Bundle.entry.resource.category.coding", "sliceName": "requiredCoding" }, { "id": "Bundle.entry:medicationrequest.resource.category.coding:requiredCoding.system", "min": 1, "path": "Bundle.entry.resource.category.coding.system", "fixedUri": "http://snomed.info/sct" }, { "id": "Bundle.entry:medicationrequest.resource.category.coding:requiredCoding.code", "min": 1, "path": "Bundle.entry.resource.category.coding.code", "fixedCode": "33633005" }, { "id": "Bundle.entry:medicationrequest.resource.category.coding:requiredCoding.display", "min": 1, "path": "Bundle.entry.resource.category.coding.display" }, { "id": "Bundle.entry:medicationrequest.resource.medication[x]:medicationReference", "path": "Bundle.entry.resource.medication[x]", "type": [ { "code": "Reference", "targetProfile": [ "http://nictiz.nl/fhir/StructureDefinition/nl-core-PharmaceuticalProduct" ] } ], "sliceName": "medicationReference" }, { "id": "Bundle.entry:medicationrequest.resource.medication[x]:medicationReference.reference", "min": 1, "path": "Bundle.entry.resource.medication[x].reference" }, { "id": "Bundle.entry:medicationrequest.resource.medication[x]:medicationReference.type", "min": 1, "path": "Bundle.entry.resource.medication[x].type", "fixedUri": "Medication" }, { "id": "Bundle.entry:medicationrequest.resource.medication[x]:medicationReference.display", "min": 1, "path": "Bundle.entry.resource.medication[x].display" }, { "id": "Bundle.entry:medicationrequest.resource.subject", "path": "Bundle.entry.resource.subject", "type": [ { "code": "Reference", "targetProfile": [ "http://nictiz.nl/fhir/StructureDefinition/nl-core-Patient" ] } ] }, { "id": "Bundle.entry:medicationrequest.resource.subject.reference", "min": 1, "path": "Bundle.entry.resource.subject.reference" }, { "id": "Bundle.entry:medicationrequest.resource.subject.type", "min": 1, "path": "Bundle.entry.resource.subject.type", "fixedUri": "Patient" }, { "id": "Bundle.entry:medicationrequest.resource.subject.display", "min": 1, "path": "Bundle.entry.resource.subject.display" }, { "id": "Bundle.entry:medicationrequest.resource.requester", "path": "Bundle.entry.resource.requester", "type": [ { "code": "Reference", "targetProfile": [ "http://nictiz.nl/fhir/StructureDefinition/nl-core-HealthProfessional" ] } ] }, { "id": "Bundle.entry:medicationrequest.resource.requester.reference", "min": 1, "path": "Bundle.entry.resource.requester.reference" }, { "id": "Bundle.entry:medicationrequest.resource.requester.type", "min": 1, "path": "Bundle.entry.resource.requester.type", "fixedUri": "PractitionerRole" }, { "id": "Bundle.entry:medicationrequest.resource.requester.display", "min": 1, "path": "Bundle.entry.resource.requester.display" } ] }, "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Bundle" }