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 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: 4 substitution: mustSupport: true index: 16 elements: wasSubstituted: {mustSupport: true, index: 17} medicationCodeableConcept: type: CodeableConcept short: Billing, service, product, or drug code binding: {strength: required, valueSet: 'http://hl7.org/fhir/us/davinci-pdex/ValueSet/FDANationalDrugCode'} index: 5 type: binding: {strength: example, valueSet: 'http://terminology.hl7.org/ValueSet/v3-ActPharmacySupplyType'} index: 13 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 elements: valueQuantity: {index: 2} supportingInformation: {short: 'Information that supports the dispensing of the medication. Reference any US Core, HRex or PDex profile.', index: 7} status: short: completed binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/medicationdispense-status'} mustSupport: true index: 3 daysSupply: {short: Medication expressed as a timing amount., index: 15} quantity: {short: 'Billing, service, product, or drug code', index: 14} location: type: Reference refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-location'] index: 11 authorizingPrescription: type: Reference refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest'] index: 12 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: 6 performer: short: Who performed the dispense event index: 8 elements: function: short: Trial fill, partial fill, emergency fill, etc. binding: {strength: example, valueSet: 'http://hl7.org/fhir/ValueSet/medicationdispense-performer-function'} index: 9 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: 10 package_version: pdex-2.0.0-ballot extensions: refillNum: url: http://hl7.org/fhir/us/davinci-pdex/StructureDefinition/DispenseRefill type: Extension short: Refill number of this prescription index: 1 elements: valueQuantity: {index: 2} 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-ballot required: [medicationCodeableConcept, subject]