description: Captures key FHIR Medication Dispense data for the Philippine context. package_name: fhir.ph.core derivation: constraint name: PHCoreMedicationDispense type: MedicationDispense elements: category: mustSupport: true index: 7 elements: coding: {mustSupport: true, index: 8} text: {mustSupport: true, index: 9} substitution: elements: type: mustSupport: true index: 33 elements: coding: {mustSupport: true, index: 34} text: {mustSupport: true, index: 35} reason: mustSupport: true index: 36 elements: coding: {mustSupport: true, index: 37} text: {mustSupport: true, index: 38} responsibleParty: type: Reference refers: ['https://fhir.doh.gov.ph/phcore/StructureDefinition/ph-core-practitioner', 'https://fhir.doh.gov.ph/phcore/StructureDefinition/ph-core-practitionerrole'] index: 39 medication[x]: elements: coding: {mustSupport: true, index: 18} text: {mustSupport: true, index: 19} medicationCodeableConcept: type: CodeableConcept mustSupport: true choiceOf: medication index: 17 slicing: slices: medicationCodeableConcept: match: {} schema: {type: CodeableConcept, mustSupport: true, choiceOf: medication, index: 17} min: 0 max: 1 type: mustSupport: true index: 28 elements: coding: {mustSupport: true, index: 29} text: {mustSupport: true, index: 30} statusReason: choices: [] index: 1 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: null slices: statusReasonCodeableConcept: match: {} schema: mustSupport: true choices: [statusReasonCodeableConcept] index: 3 min: 0 max: 1 statusReasonCodeableConcept: type: CodeableConcept mustSupport: true choiceOf: statusReason index: 4 slicing: slices: statusReasonCodeableConcept: match: {} schema: {type: CodeableConcept, mustSupport: true, choiceOf: statusReason, index: 4} min: 0 max: 1 statusReason[x]: elements: coding: {mustSupport: true, index: 5} text: {mustSupport: true, index: 6} context: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/EpisodeOfCare', 'https://fhir.doh.gov.ph/phcore/StructureDefinition/ph-core-encounter'] index: 21 medicationReference: type: Reference choiceOf: medication refers: ['https://fhir.doh.gov.ph/phcore/StructureDefinition/ph-core-medication'] index: 14 slicing: slices: medicationReference: match: {} schema: type: Reference choiceOf: medication refers: ['https://fhir.doh.gov.ph/phcore/StructureDefinition/ph-core-medication'] index: 14 min: 0 max: 1 location: type: Reference refers: ['https://fhir.doh.gov.ph/phcore/StructureDefinition/ph-core-location'] index: 26 authorizingPrescription: type: Reference refers: ['https://fhir.doh.gov.ph/phcore/StructureDefinition/ph-core-medicationrequest'] index: 27 receiver: type: Reference refers: ['https://fhir.doh.gov.ph/phcore/StructureDefinition/ph-core-patient', 'https://fhir.doh.gov.ph/phcore/StructureDefinition/ph-core-practitioner'] index: 32 subject: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/Group', 'https://fhir.doh.gov.ph/phcore/StructureDefinition/ph-core-patient'] index: 20 destination: type: Reference refers: ['https://fhir.doh.gov.ph/phcore/StructureDefinition/ph-core-location'] index: 31 performer: elements: function: mustSupport: true index: 22 elements: coding: {mustSupport: true, index: 23} text: {mustSupport: true, index: 24} actor: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/Device', 'https://fhir.doh.gov.ph/phcore/StructureDefinition/ph-core-organization', 'https://fhir.doh.gov.ph/phcore/StructureDefinition/ph-core-patient', 'https://fhir.doh.gov.ph/phcore/StructureDefinition/ph-core-practitioner', 'https://fhir.doh.gov.ph/phcore/StructureDefinition/ph-core-practitionerrole', 'https://fhir.doh.gov.ph/phcore/StructureDefinition/ph-core-relatedperson'] index: 25 medication: mustSupport: true choices: [medicationCodeableConcept] index: 16 slicing: slices: medicationCodeableConcept: match: {} schema: mustSupport: true choices: [medicationCodeableConcept] index: 16 min: 0 max: 1 package_version: 0.2.0 class: profile kind: resource url: https://fhir.doh.gov.ph/phcore/StructureDefinition/ph-core-medicationdispense base: http://hl7.org/fhir/StructureDefinition/MedicationDispense version: 0.2.0