PackagesCanonicalsLogsProblems
    Packages
    fhir.r4.wales.stu1@0.1.1-ballot
    https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-MedicationDispense
{
  "description": null,
  "_filename": "Profile-DataStandardsWales-MedicationDispense.json",
  "package_name": "fhir.r4.wales.stu1",
  "date": "2023-05-24",
  "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": "0.1.1-ballot",
  "status": "draft",
  "id": "c02c2846-8d92-4232-9378-7b70f707a22e",
  "kind": "resource",
  "url": "https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-MedicationDispense",
  "version": "0.1.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.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.hl7.org.uk/StructureDefinition/UKCore-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" ]
      } ],
      "binding": {
        "strength": "preferred",
        "valueSet": "https://fhir.hl7.org.uk/ValueSet/UKCore-MedicationCode"
      },
      "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.nhs.wales/StructureDefinition/DataStandardsWales-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",
        "valueSet": "https://fhir.hl7.org.uk/ValueSet/UKCore-MedicationSupplyType"
      },
      "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/UKCore-Organization", "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Practitioner", "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Patient", "https://fhir.hl7.org.uk/StructureDefinition/UKCore-RelatedPerson" ]
      }, {
        "code": "string"
      } ]
    }, {
      "id": "MedicationDispense.dosageInstruction",
      "path": "MedicationDispense.dosageInstruction",
      "mustSupport": true
    }, {
      "id": "MedicationDispense.dosageInstruction.asNeeded[x]",
      "path": "MedicationDispense.dosageInstruction.asNeeded[x]",
      "binding": {
        "strength": "extensible",
        "valueSet": "https://fhir.hl7.org.uk/ValueSet/UKCore-MedicationPrecondition"
      }
    }, {
      "id": "MedicationDispense.dosageInstruction.site",
      "path": "MedicationDispense.dosageInstruction.site",
      "binding": {
        "strength": "extensible",
        "valueSet": "https://fhir.hl7.org.uk/ValueSet/UKCore-BodySite"
      }
    }, {
      "id": "MedicationDispense.dosageInstruction.route",
      "path": "MedicationDispense.dosageInstruction.route",
      "binding": {
        "strength": "extensible",
        "valueSet": "https://fhir.hl7.org.uk/ValueSet/UKCore-SubstanceOrProductAdministrationRoute"
      }
    }, {
      "id": "MedicationDispense.dosageInstruction.method",
      "path": "MedicationDispense.dosageInstruction.method",
      "binding": {
        "strength": "extensible",
        "valueSet": "https://fhir.hl7.org.uk/ValueSet/UKCore-MedicationDosageMethod"
      }
    }, {
      "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.hl7.org.uk/StructureDefinition/UKCore-Provenance" ]
      } ]
    }, {
      "id": "MedicationDispense.eventHistory.identifier.assigner",
      "path": "MedicationDispense.eventHistory.identifier.assigner",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://fhir.nhs.wales/StructureDefinition/DataStandardsWales-Organization" ]
      } ]
    } ]
  },
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/MedicationDispense"
}