{ "description": "Israel Core proposed constraints and extensions on the MedicationDispense Resource", "_filename": "StructureDefinition-il-core-medication-dispense.json", "package_name": "il.core.fhir.r4", "date": "2024-04-07", "derivation": "constraint", "publisher": "Israel Core Team", "fhirVersion": "4.0.1", "name": "ILCoreMedicationDispense", "abstract": false, "type": "MedicationDispense", "experimental": null, "resourceType": "StructureDefinition", "title": "ILCore MedicationDispense Profile", "package_version": "0.14.0", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "trial-use" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 1 } ], "status": "draft", "id": "67bb578a-6400-4233-af24-05968b438b54", "kind": "resource", "url": "http://fhir.health.gov.il/StructureDefinition/il-core-medication-dispense", "version": "0.14.0", "differential": { "element": [ { "id": "MedicationDispense", "path": "MedicationDispense", "short": "ILCore MedicationDispense Profile", "constraint": [ { "key": "il-medicationdispense-whenhandedover", "human": "whenHandedOver SHALL be present if the status is 'completed'", "source": "http://fhir.health.gov.il/StructureDefinition/il-core-medication-dispense", "severity": "error", "expression": "status='completed' implies whenHandedOver.exists()" } ], "definition": "Israel Core proposed constraints and extensions on the MedicationDispense resource profile." }, { "id": "MedicationDispense.extension", "path": "MedicationDispense.extension", "slicing": { "rules": "open", "ordered": false, "discriminator": [ { "path": "url", "type": "value" } ] } }, { "id": "MedicationDispense.extension:recorded", "max": "1", "min": 0, "path": "MedicationDispense.extension", "type": [ { "code": "Extension", "profile": [ "http://fhir.health.gov.il/StructureDefinition/ext-recorded-time" ] } ], "short": "Ext: Recorded Time", "sliceName": "recorded", "definition": "Extension: The time in whitch an event was recorded" }, { "id": "MedicationDispense.partOf", "path": "MedicationDispense.partOf", "type": [ { "code": "Reference", "targetProfile": [ "http://fhir.health.gov.il/StructureDefinition/il-core-procedure" ] } ] }, { "id": "MedicationDispense.status", "path": "MedicationDispense.status", "short": "ILCore MedicationDispense Status", "definition": "ILCore MedicationDispense Status", "mustSupport": true }, { "id": "MedicationDispense.category", "path": "MedicationDispense.category", "binding": { "strength": "extensible", "valueSet": "http://fhir.health.gov.il/ValueSet/il-core-medication-dospense-category" } }, { "id": "MedicationDispense.medication[x]", "path": "MedicationDispense.medication[x]", "binding": { "strength": "required", "valueSet": "http://fhir.health.gov.il/ValueSet/il-core-medication-code" }, "slicing": { "rules": "open", "ordered": false, "discriminator": [ { "path": "$this", "type": "type" } ] }, "mustSupport": true }, { "id": "MedicationDispense.medication[x]:medicationReference", "max": "1", "min": 0, "path": "MedicationDispense.medication[x]", "type": [ { "code": "Reference", "targetProfile": [ "http://fhir.health.gov.il/StructureDefinition/il-core-medication" ] } ], "sliceName": "medicationReference" }, { "id": "MedicationDispense.subject", "min": 1, "path": "MedicationDispense.subject", "type": [ { "code": "Reference", "targetProfile": [ "http://fhir.health.gov.il/StructureDefinition/il-core-patient", "http://fhir.health.gov.il/StructureDefinition/il-core-group" ] } ], "mustSupport": true }, { "id": "MedicationDispense.context", "path": "MedicationDispense.context", "type": [ { "code": "Reference", "targetProfile": [ "http://fhir.health.gov.il/StructureDefinition/il-core-encounter", "http://hl7.org/fhir/StructureDefinition/EpisodeOfCare" ] } ] }, { "id": "MedicationDispense.performer", "path": "MedicationDispense.performer", "mustSupport": true }, { "id": "MedicationDispense.performer.actor", "path": "MedicationDispense.performer.actor", "type": [ { "code": "Reference", "targetProfile": [ "http://fhir.health.gov.il/StructureDefinition/il-core-practitioner", "http://fhir.health.gov.il/StructureDefinition/il-core-practitioner-role", "http://fhir.health.gov.il/StructureDefinition/il-core-organization", "http://fhir.health.gov.il/StructureDefinition/il-core-patient", "http://fhir.health.gov.il/StructureDefinition/il-core-device", "http://fhir.health.gov.il/StructureDefinition/il-core-related-person" ] } ], "mustSupport": true }, { "id": "MedicationDispense.location", "path": "MedicationDispense.location", "type": [ { "code": "Reference", "targetProfile": [ "http://fhir.health.gov.il/StructureDefinition/il-core-location" ] } ] }, { "id": "MedicationDispense.authorizingPrescription", "path": "MedicationDispense.authorizingPrescription", "type": [ { "code": "Reference", "targetProfile": [ "http://fhir.health.gov.il/StructureDefinition/il-core-medication-request" ] } ], "mustSupport": true }, { "id": "MedicationDispense.type", "path": "MedicationDispense.type", "binding": { "strength": "extensible", "valueSet": "http://terminology.hl7.org/ValueSet/v3-ActPharmacySupplyType" }, "mustSupport": true }, { "id": "MedicationDispense.quantity", "path": "MedicationDispense.quantity", "binding": { "strength": "extensible", "valueSet": "http://fhir.health.gov.il/ValueSet/il-core-common-units-of-measure", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueCanonical": "http://fhir.health.gov.il/ValueSet/il-core-units-of-measure" } ] }, "mustSupport": true }, { "id": "MedicationDispense.whenHandedOver", "path": "MedicationDispense.whenHandedOver", "mustSupport": true }, { "id": "MedicationDispense.destination", "path": "MedicationDispense.destination", "type": [ { "code": "Reference", "targetProfile": [ "http://fhir.health.gov.il/StructureDefinition/il-core-location" ] } ] }, { "id": "MedicationDispense.receiver", "path": "MedicationDispense.receiver", "type": [ { "code": "Reference", "targetProfile": [ "http://fhir.health.gov.il/StructureDefinition/il-core-practitioner", "http://fhir.health.gov.il/StructureDefinition/il-core-patient" ] } ] }, { "id": "MedicationDispense.dosageInstruction", "path": "MedicationDispense.dosageInstruction", "type": [ { "code": "Dosage", "profile": [ "http://fhir.health.gov.il/StructureDefinition/il-core-dosage" ] } ], "mustSupport": true }, { "id": "MedicationDispense.substitution.responsibleParty", "path": "MedicationDispense.substitution.responsibleParty", "type": [ { "code": "Reference", "targetProfile": [ "http://fhir.health.gov.il/StructureDefinition/il-core-practitioner", "http://fhir.health.gov.il/StructureDefinition/il-core-practitioner-role" ] } ] } ] }, "contact": [ { "telecom": [ { "value": "tal.primak@moh.gov.il", "system": "email" } ] } ], "baseDefinition": "http://hl7.org/fhir/StructureDefinition/MedicationDispense" }