http://hl7.org/fhir/StructureDefinition/patient-preferredPharmacy|5.2.0

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.
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.
derivation: constraint
name: PatientPreferredPharmacy
type: Extension
elements:
  extension:
    short: Preferred pharmacy for dispensing prescribed medications
    index: 0
    slicing:
      slices:
        pharmacy:
          match: {}
          schema:
            short: Preferred pharmacy for dispensing prescribed medications
            _required: true
            index: 0
            extensions: {}
            elements:
              extension: {index: 1}
              url:
                pattern: {type: Uri, value: pharmacy}
                index: 2
              value:
                choices: []
                index: 4
            required: [value]
        type:
          match: {}
          schema:
            short: Category of pharmacy
            _required: true
            index: 5
            extensions: {}
            elements:
              extension: {index: 6}
              url:
                pattern: {type: Uri, value: type}
                index: 7
              value:
                choices: []
                index: 9
            required: [value]
  url:
    pattern: {type: Uri, value: 'http://hl7.org/fhir/StructureDefinition/patient-preferredPharmacy'}
    index: 10
  value:
    choices: []
    index: 12
extensions:
  pharmacy:
    url: null
    short: Preferred pharmacy for dispensing prescribed medications
    _required: true
    index: 0
    extensions: {}
    elements:
      extension: {index: 1}
      url:
        pattern: {type: Uri, value: pharmacy}
        index: 2
      value:
        choices: []
        index: 4
    required: [value]
  type:
    url: null
    short: Category of pharmacy
    _required: true
    index: 5
    extensions: {}
    elements:
      extension: {index: 6}
      url:
        pattern: {type: Uri, value: type}
        index: 7
      value:
        choices: []
        index: 9
    required: [value]
class: extension
kind: complex-type
url: http://hl7.org/fhir/StructureDefinition/patient-preferredPharmacy
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 5.2.0
required: [extension]