FHIR Extensions Pack
5.3.0-ballot-tc1 - (September 2025 Ballot) International flag

This page is part of the FHIR Core Extensions Registry (v5.3.0-ballot-tc1: Release 5.3) based on FHIR (HL7® FHIR® Standard) v5.0.0. This version is a pre-release. The current official version is 5.2.0. For a full list of available versions, see the Directory of published versions

Extension: Patient preferred pharmacy

Official URL: http://hl7.org/fhir/StructureDefinition/patient-preferredPharmacy Version: 5.3.0-ballot-tc1
Standards status: Trial-use Maturity Level: 0 Responsible: HL7 International / Patient Administration Computable Name: PatientPreferredPharmacy

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.

Context of Use

This extension may be used on the following element(s)

Usage info

Usages:

  • This Extension is not used by any profiles in this Implementation Guide

You can also check for usages in the FHIR IG Statistics

Changes since version 5.2.0:

  • The resource metadata has changed (status)
  • Formal Views of Extension Content

    Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.

    This structure is derived from Extension

    Summary

    Complex Extension: 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.

    • pharmacy: Reference: The pharmacy that is preferred for dispensing prescribed medications.
    • type: CodeableConcept: Identifies the categories of medications for which this pharmacy is preferred.

    Maturity: 0

    This structure is derived from Extension

    NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
    .. Extension 0..* Extension Patient's preferred pharmacy
    ... Slices for extension Content/Rules for all slices
    .... extension:pharmacy 1..1 Extension Preferred pharmacy for dispensing prescribed medications
    ..... extension 0..0
    ..... url 1..1 uri "pharmacy"
    ..... value[x] 1..1 Reference(Organization) Value of extension
    .... extension:type 1..1 Extension Category of pharmacy
    ..... extension 0..0
    ..... url 1..1 uri "type"
    ..... value[x] 1..1 CodeableConcept Value of extension
    Binding Description: (example): Category of medications dispensed by the pharmacy.
    ... url 1..1 uri "http://hl7.org/fhir/StructureDefinition/patient-preferredPharmacy"
    ... value[x] 0..0

    doco Documentation for this format
    NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
    .. Extension 0..* Extension Patient's preferred pharmacy
    ... id 0..1 id Unique id for inter-element referencing
    ... Slices for extension 2..* Extension Additional content defined by implementations
    Slice: Unordered, Open by value:url
    .... extension:pharmacy 1..1 Extension Preferred pharmacy for dispensing prescribed medications
    ..... id 0..1 id Unique id for inter-element referencing
    ..... extension 0..0
    ..... url 1..1 uri "pharmacy"
    ..... value[x] 1..1 Reference(Organization) Value of extension
    .... extension:type 1..1 Extension Category of pharmacy
    ..... id 0..1 id Unique id for inter-element referencing
    ..... extension 0..0
    ..... url 1..1 uri "type"
    ..... value[x] 1..1 CodeableConcept Value of extension
    Binding Description: (example): Category of medications dispensed by the pharmacy.
    ... url 1..1 uri "http://hl7.org/fhir/StructureDefinition/patient-preferredPharmacy"

    doco Documentation for this format

    This structure is derived from Extension

    Summary

    Complex Extension: 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.

    • pharmacy: Reference: The pharmacy that is preferred for dispensing prescribed medications.
    • type: CodeableConcept: Identifies the categories of medications for which this pharmacy is preferred.

    Maturity: 0

    Differential View

    This structure is derived from Extension

    NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
    .. Extension 0..* Extension Patient's preferred pharmacy
    ... Slices for extension Content/Rules for all slices
    .... extension:pharmacy 1..1 Extension Preferred pharmacy for dispensing prescribed medications
    ..... extension 0..0
    ..... url 1..1 uri "pharmacy"
    ..... value[x] 1..1 Reference(Organization) Value of extension
    .... extension:type 1..1 Extension Category of pharmacy
    ..... extension 0..0
    ..... url 1..1 uri "type"
    ..... value[x] 1..1 CodeableConcept Value of extension
    Binding Description: (example): Category of medications dispensed by the pharmacy.
    ... url 1..1 uri "http://hl7.org/fhir/StructureDefinition/patient-preferredPharmacy"
    ... value[x] 0..0

    doco Documentation for this format

    Snapshot View

    NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
    .. Extension 0..* Extension Patient's preferred pharmacy
    ... id 0..1 id Unique id for inter-element referencing
    ... Slices for extension 2..* Extension Additional content defined by implementations
    Slice: Unordered, Open by value:url
    .... extension:pharmacy 1..1 Extension Preferred pharmacy for dispensing prescribed medications
    ..... id 0..1 id Unique id for inter-element referencing
    ..... extension 0..0
    ..... url 1..1 uri "pharmacy"
    ..... value[x] 1..1 Reference(Organization) Value of extension
    .... extension:type 1..1 Extension Category of pharmacy
    ..... id 0..1 id Unique id for inter-element referencing
    ..... extension 0..0
    ..... url 1..1 uri "type"
    ..... value[x] 1..1 CodeableConcept Value of extension
    Binding Description: (example): Category of medications dispensed by the pharmacy.
    ... url 1..1 uri "http://hl7.org/fhir/StructureDefinition/patient-preferredPharmacy"

    doco Documentation for this format

     

    Other representations of profile: CSV, Excel, Schematron

    Terminology Bindings

    PathConformanceValueSetURI
    Extension.extension:type.value[x]example

    Constraints

    IdGradePath(s)DetailsRequirements
    ele-1error**ALL** elementsAll FHIR elements must have a @value or children
    : hasValue() or (children().count() > id.count())
    ext-1error**ALL** extensionsMust have either extensions or value[x], not both
    : extension.exists() != value.exists()

    R4B

    The extension is unchanged in R4B

    R4

    The extension is unchanged in R4

    R3

    The extension is unchanged in R3

    Search Parameters for this Extension

    (none found)