description: The pharmacies that are preferred for dispensing prescribed medications. A patient might prefer their local pharmacy. A provider in a given practice may prefer a pharmacy near their clinic. Or facilities may have a preference to use an in-house pharmacy. These preferences may be represented using this extension on several resource types, and are expected to be inputs into a process that determines which pharmacy is ultimately used to dispense a medication. That process may include considering drug formularies, pharmacy operating hours, pharmacy inventory, practitioner preferences, patient preferences, etc. package_name: hl7.fhir.uv.extensions.r3 derivation: constraint name: PatientPreferredPharmacy type: Extension elements: extension: short: Preferred pharmacy for dispensing prescribed medications type: Extension index: 0 slicing: slices: pharmacy: match: {} schema: short: Preferred pharmacy for dispensing prescribed medications type: Extension _required: true index: 0 extensions: {} elements: extension: {index: 1} url: type: uri pattern: {type: Uri, value: pharmacy} index: 2 value: choices: [valueReference] index: 4 valueReference: type: Reference choiceOf: value refers: ['http://hl7.org/fhir/StructureDefinition/Organization'] index: 5 required: [valueReference, value] type: match: {} schema: short: Category of pharmacy type: Extension _required: true index: 6 extensions: {} elements: extension: {index: 7} url: type: uri pattern: {type: Uri, value: type} index: 8 value: choices: [valueCodeableConcept] index: 10 valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 11} required: [value, valueCodeableConcept] url: pattern: {type: Uri, value: 'http://hl7.org/fhir/StructureDefinition/patient-preferredPharmacy'} index: 12 value: choices: [] index: 14 package_version: 5.3.0-ballot-tc1 extensions: pharmacy: url: null short: Preferred pharmacy for dispensing prescribed medications type: Extension _required: true index: 0 extensions: {} elements: extension: {index: 1} url: type: uri pattern: {type: Uri, value: pharmacy} index: 2 value: choices: [valueReference] index: 4 valueReference: type: Reference choiceOf: value refers: ['http://hl7.org/fhir/StructureDefinition/Organization'] index: 5 required: [valueReference, value] type: url: null short: Category of pharmacy type: Extension _required: true index: 6 extensions: {} elements: extension: {index: 7} url: type: uri pattern: {type: Uri, value: type} index: 8 value: choices: [valueCodeableConcept] index: 10 valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 11} required: [value, valueCodeableConcept] class: extension kind: complex-type url: http://hl7.org/fhir/StructureDefinition/patient-preferredPharmacy base: http://hl7.org/fhir/StructureDefinition/Extension version: 5.3.0-ballot-tc1 required: [extension]