description: Prescription Medications dispensed by a pharmacy to a health plan member and paid for in full, or in part, by the health plan package_name: hl7.fhir.us.davinci-pdex derivation: constraint name: PdexMedicationDispense type: MedicationDispense elements: category: short: Type of dispense action binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/medicationdispense-category'} index: 3 substitution: mustSupport: true index: 18 elements: wasSubstituted: {mustSupport: true, index: 19} medicationCodeableConcept: type: CodeableConcept short: Billing, service, product, or drug code choiceOf: medication index: 8 slicing: slices: medicationCodeableConcept: match: {} schema: {type: CodeableConcept, short: 'Billing, service, product, or drug code', choiceOf: medication, _required: true, index: 8} min: 1 max: 1 type: binding: {strength: example, valueSet: 'http://terminology.hl7.org/ValueSet/v3-ActPharmacySupplyType'} index: 15 extension: index: 0 slicing: rules: open ordered: false discriminator: - {path: url, type: value} min: null slices: refillNum: match: {url: null} schema: {type: Extension, short: Refill number of this prescription, url: 'http://hl7.org/fhir/us/davinci-pdex/StructureDefinition/DispenseRefill', index: 1} min: 0 max: 1 supportingInformation: {short: 'Information that supports the dispensing of the medication. Reference any US Core, HRex or PDex profile.', index: 10} status: short: completed binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/medicationdispense-status'} mustSupport: true index: 2 daysSupply: {short: Medication expressed as a timing amount., index: 17} quantity: {short: 'Billing, service, product, or drug code', index: 16} location: type: Reference refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-location'] index: 13 authorizingPrescription: type: Reference refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest'] index: 14 subject: type: Reference short: The patient who is prescribed the medication mustSupport: true refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient'] index: 9 performer: short: Who performed the dispense event index: 11 elements: actor: type: Reference short: Individual or device performing the dispense refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization', 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner', 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole'] index: 12 medication: choices: [] index: 5 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: null slices: medicationCodeableConcept: match: {} schema: short: Billing, service, product, or drug code choices: [medicationCodeableConcept] _required: true index: 7 min: 1 max: 1 package_version: 2.0.0 extensions: refillNum: {url: 'http://hl7.org/fhir/us/davinci-pdex/StructureDefinition/DispenseRefill', min: 0, max: 1, type: Extension, short: Refill number of this prescription, index: 1} class: profile kind: resource url: http://hl7.org/fhir/us/davinci-pdex/StructureDefinition/pdex-medicationdispense base: http://hl7.org/fhir/StructureDefinition/MedicationDispense version: 2.0.0 required: [medicationCodeableConcept, subject]