{
"description": null,
"_filename": "Profile-DataStandardsWales-MedicationDispense.json",
"package_name": "fhir.r4.wales",
"date": "2023-11-10",
"derivation": "constraint",
"publisher": "NHS Wales",
"fhirVersion": "4.0.1",
"name": "DataStandardsWalesMedicationDispense",
"abstract": false,
"copyright": "2024 NHS Wales.",
"type": "MedicationDispense",
"experimental": "false",
"resourceType": "StructureDefinition",
"title": "Data Standards Wales Medication Dispense",
"package_version": "2.4.0",
"status": "active",
"id": "0a5dd3e1-fd9b-400b-a781-13c067bddd90",
"kind": "resource",
"url": "https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-MedicationDispense",
"version": "1.1.1",
"differential": {
"element": [ {
"id": "MedicationDispense.identifier",
"max": "1",
"path": "MedicationDispense.identifier"
}, {
"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.partOf",
"path": "MedicationDispense.partOf",
"type": [ {
"code": "Reference",
"targetProfile": [ "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Procedure" ]
} ]
}, {
"id": "MedicationDispense.partOf.identifier.assigner",
"path": "MedicationDispense.partOf.identifier.assigner",
"type": [ {
"code": "Reference",
"targetProfile": [ "https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Organization" ]
} ]
}, {
"id": "MedicationDispense.statusReason[x]",
"path": "MedicationDispense.statusReason[x]",
"mustSupport": true
}, {
"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" ]
} ]
}, {
"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" ]
} ]
}, {
"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": [ "http://hl7.org/fhir/StructureDefinition/EpisodeOfCare", "https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Encounter" ]
} ],
"mustSupport": true
}, {
"id": "MedicationDispense.context.identifier.system",
"min": 1,
"path": "MedicationDispense.context.identifier.system"
}, {
"id": "MedicationDispense.context.identifier.value",
"min": 1,
"path": "MedicationDispense.context.identifier.value"
}, {
"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",
"path": "MedicationDispense.performer"
}, {
"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.nhs.wales/StructureDefinition/DataStandardsWales-Device", "https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-RelatedPerson" ]
} ]
}, {
"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" ]
} ],
"mustSupport": true
}, {
"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.authorizingPrescription",
"max": "1",
"path": "MedicationDispense.authorizingPrescription",
"type": [ {
"code": "Reference",
"aggregation": [ "contained", "referenced" ],
"targetProfile": [ "https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-MedicationRequest" ]
} ],
"mustSupport": true
}, {
"id": "MedicationDispense.authorizingPrescription.identifier.system",
"min": 1,
"path": "MedicationDispense.authorizingPrescription.identifier.system"
}, {
"id": "MedicationDispense.authorizingPrescription.identifier.value",
"min": 1,
"path": "MedicationDispense.authorizingPrescription.identifier.value"
}, {
"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",
"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"
}, {
"id": "MedicationDispense.daysSupply",
"path": "MedicationDispense.daysSupply",
"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",
"path": "MedicationDispense.receiver",
"type": [ {
"code": "Reference",
"targetProfile": [ "https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Patient", "https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Practitioner" ]
} ],
"mustSupport": true
}, {
"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.nhs.wales/StructureDefinition/DataStandardsWales-Organization", "https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Practitioner", "https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Patient", "https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-RelatedPerson" ]
}, {
"code": "string"
} ]
}, {
"id": "MedicationDispense.dosageInstruction",
"path": "MedicationDispense.dosageInstruction",
"type": [ {
"code": "Dosage",
"profile": [ "https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Dosage" ]
} ]
}, {
"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",
"path": "MedicationDispense.eventHistory",
"type": [ {
"code": "Reference",
"targetProfile": [ "https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Provenance" ]
} ]
}, {
"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"
}