{ "description": null, "_filename": "Profile-DataStandardsWales-MedicationDispense.json", "package_name": "fhir.r4.wales.stu1", "date": "2023-08-02", "derivation": "constraint", "publisher": "NHS Wales", "fhirVersion": "4.0.1", "name": "DataStandardsWalesMedicationDispense", "abstract": false, "copyright": "2023 NHS Wales.", "type": "MedicationDispense", "experimental": "false", "resourceType": "StructureDefinition", "title": "Data Standards Wales Medication Dispense", "package_version": "1.0.0", "status": "active", "id": "de051cd9-3841-4503-87f4-6e64f903de58", "kind": "resource", "url": "https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-MedicationDispense", "version": "1.0.0", "differential": { "element": [ { "id": "MedicationDispense.identifier", "max": "1", "min": 1, "path": "MedicationDispense.identifier", "mustSupport": true }, { "id": "MedicationDispense.identifier.system", "min": 1, "path": "MedicationDispense.identifier.system" }, { "id": "MedicationDispense.identifier.value", "min": 1, "path": "MedicationDispense.identifier.value" }, { "id": "MedicationDispense.identifier.assigner", "path": "MedicationDispense.identifier.assigner", "type": [ { "code": "Reference", "targetProfile": [ "https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Organization" ] } ] }, { "id": "MedicationDispense.status", "path": "MedicationDispense.status", "mustSupport": true }, { "id": "MedicationDispense.statusReason[x]", "path": "MedicationDispense.statusReason[x]", "type": [ { "code": "CodeableConcept" } ], "mustSupport": true }, { "id": "MedicationDispense.statusReason[x].coding.system", "min": 1, "path": "MedicationDispense.statusReason[x].coding.system" }, { "id": "MedicationDispense.statusReason[x].coding.code", "min": 1, "path": "MedicationDispense.statusReason[x].coding.code" }, { "id": "MedicationDispense.category.coding.system", "min": 1, "path": "MedicationDispense.category.coding.system" }, { "id": "MedicationDispense.category.coding.code", "min": 1, "path": "MedicationDispense.category.coding.code" }, { "id": "MedicationDispense.medication[x]", "path": "MedicationDispense.medication[x]", "type": [ { "code": "CodeableConcept" }, { "code": "Reference", "targetProfile": [ "https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Medication" ] } ], "mustSupport": true }, { "id": "MedicationDispense.subject", "min": 1, "path": "MedicationDispense.subject", "type": [ { "code": "Reference", "targetProfile": [ "https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Patient", "http://hl7.org/fhir/StructureDefinition/Group" ] } ], "mustSupport": true }, { "id": "MedicationDispense.subject.identifier.system", "min": 1, "path": "MedicationDispense.subject.identifier.system" }, { "id": "MedicationDispense.subject.identifier.value", "min": 1, "path": "MedicationDispense.subject.identifier.value" }, { "id": "MedicationDispense.subject.identifier.assigner", "path": "MedicationDispense.subject.identifier.assigner", "type": [ { "code": "Reference", "targetProfile": [ "https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Organization" ] } ] }, { "id": "MedicationDispense.context", "path": "MedicationDispense.context", "type": [ { "code": "Reference", "targetProfile": [ "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Encounter", "https://fhir.hl7.org.uk/StructureDefinition/UKCore-EpisodeOfCare" ] } ] }, { "id": "MedicationDispense.context.identifier.assigner", "path": "MedicationDispense.context.identifier.assigner", "type": [ { "code": "Reference", "targetProfile": [ "https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Organization" ] } ] }, { "id": "MedicationDispense.supportingInformation.identifier.assigner", "path": "MedicationDispense.supportingInformation.identifier.assigner", "type": [ { "code": "Reference", "targetProfile": [ "https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Organization" ] } ] }, { "id": "MedicationDispense.performer", "max": "1", "min": 1, "path": "MedicationDispense.performer", "mustSupport": true }, { "id": "MedicationDispense.performer.actor", "path": "MedicationDispense.performer.actor", "type": [ { "code": "Reference", "targetProfile": [ "https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Patient", "https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Organization", "https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Practitioner", "https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-PractitionerRole", "https://fhir.hl7.org.uk/StructureDefinition/UKCore-RelatedPerson", "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Device" ] } ] }, { "id": "MedicationDispense.performer.actor.reference", "min": 1, "path": "MedicationDispense.performer.actor.reference" }, { "id": "MedicationDispense.performer.actor.identifier.system", "min": 1, "path": "MedicationDispense.performer.actor.identifier.system" }, { "id": "MedicationDispense.performer.actor.identifier.value", "min": 1, "path": "MedicationDispense.performer.actor.identifier.value" }, { "id": "MedicationDispense.performer.actor.identifier.assigner", "path": "MedicationDispense.performer.actor.identifier.assigner", "type": [ { "code": "Reference", "targetProfile": [ "https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Organization" ] } ] }, { "id": "MedicationDispense.location", "path": "MedicationDispense.location", "type": [ { "code": "Reference", "targetProfile": [ "https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Location" ] } ] }, { "id": "MedicationDispense.location.identifier.system", "min": 1, "path": "MedicationDispense.location.identifier.system" }, { "id": "MedicationDispense.location.identifier.value", "min": 1, "path": "MedicationDispense.location.identifier.value" }, { "id": "MedicationDispense.location.identifier.assigner", "path": "MedicationDispense.location.identifier.assigner", "type": [ { "code": "Reference", "targetProfile": [ "https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Organization" ] } ] }, { "id": "MedicationDispense.location.display", "min": 1, "path": "MedicationDispense.location.display" }, { "id": "MedicationDispense.authorizingPrescription", "max": "1", "min": 1, "path": "MedicationDispense.authorizingPrescription", "type": [ { "code": "Reference", "aggregation": [ "contained", "referenced" ], "targetProfile": [ "https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-MedicationRequest" ] } ], "mustSupport": true }, { "id": "MedicationDispense.authorizingPrescription.reference", "min": 1, "path": "MedicationDispense.authorizingPrescription.reference" }, { "id": "MedicationDispense.authorizingPrescription.identifier.assigner", "path": "MedicationDispense.authorizingPrescription.identifier.assigner", "type": [ { "code": "Reference", "targetProfile": [ "https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Organization" ] } ] }, { "id": "MedicationDispense.type", "path": "MedicationDispense.type", "binding": { "strength": "required" }, "mustSupport": true }, { "id": "MedicationDispense.type.coding.system", "min": 1, "path": "MedicationDispense.type.coding.system" }, { "id": "MedicationDispense.type.coding.code", "min": 1, "path": "MedicationDispense.type.coding.code" }, { "id": "MedicationDispense.quantity", "min": 1, "path": "MedicationDispense.quantity", "mustSupport": true }, { "id": "MedicationDispense.quantity.value", "min": 1, "path": "MedicationDispense.quantity.value" }, { "id": "MedicationDispense.quantity.unit", "min": 1, "path": "MedicationDispense.quantity.unit" }, { "id": "MedicationDispense.quantity.system", "min": 1, "path": "MedicationDispense.quantity.system" }, { "id": "MedicationDispense.quantity.code", "min": 1, "path": "MedicationDispense.quantity.code" }, { "id": "MedicationDispense.daysSupply", "path": "MedicationDispense.daysSupply", "mustSupport": true }, { "id": "MedicationDispense.whenPrepared", "path": "MedicationDispense.whenPrepared", "mustSupport": true }, { "id": "MedicationDispense.whenHandedOver", "path": "MedicationDispense.whenHandedOver", "mustSupport": true }, { "id": "MedicationDispense.destination", "path": "MedicationDispense.destination", "type": [ { "code": "Reference", "targetProfile": [ "https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Location" ] } ] }, { "id": "MedicationDispense.destination.identifier.assigner", "path": "MedicationDispense.destination.identifier.assigner", "type": [ { "code": "Reference", "targetProfile": [ "https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Organization" ] } ] }, { "id": "MedicationDispense.receiver", "max": "1", "min": 1, "path": "MedicationDispense.receiver", "type": [ { "code": "Reference", "targetProfile": [ "https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Patient", "https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Practitioner" ] } ] }, { "id": "MedicationDispense.receiver.identifier.assigner", "path": "MedicationDispense.receiver.identifier.assigner", "type": [ { "code": "Reference", "targetProfile": [ "https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Organization" ] } ] }, { "id": "MedicationDispense.note.author[x]", "path": "MedicationDispense.note.author[x]", "type": [ { "code": "Reference", "targetProfile": [ "https://fhir.hl7.org.uk/StructureDefinition/DataStandardsWales-Organization", "https://fhir.hl7.org.uk/StructureDefinition/DataStandardsWales-Practitioner", "https://fhir.hl7.org.uk/StructureDefinition/DataStandardsWales-Patient", "https://fhir.hl7.org.uk/StructureDefinition/UKCore-RelatedPerson" ] }, { "code": "string" } ] }, { "id": "MedicationDispense.dosageInstruction", "path": "MedicationDispense.dosageInstruction", "mustSupport": true }, { "id": "MedicationDispense.substitution.responsibleParty", "path": "MedicationDispense.substitution.responsibleParty", "type": [ { "code": "Reference", "targetProfile": [ "https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Practitioner", "https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-PractitionerRole" ] } ] }, { "id": "MedicationDispense.substitution.responsibleParty.identifier.assigner", "path": "MedicationDispense.substitution.responsibleParty.identifier.assigner", "type": [ { "code": "Reference", "targetProfile": [ "https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Organization" ] } ] }, { "id": "MedicationDispense.detectedIssue.identifier.assigner", "path": "MedicationDispense.detectedIssue.identifier.assigner", "type": [ { "code": "Reference", "targetProfile": [ "https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Organization" ] } ] }, { "id": "MedicationDispense.eventHistory.identifier.assigner", "path": "MedicationDispense.eventHistory.identifier.assigner", "type": [ { "code": "Reference", "targetProfile": [ "https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Organization" ] } ] } ] }, "baseDefinition": "https://fhir.hl7.org.uk/StructureDefinition/UKCore-MedicationDispense" }