This page is part of the Consumer Real-time Pharmacy Benefit Check (v0.1.0: STU 1 Ballot 1) based on FHIR R4. The current version which supercedes this version is 1.0.0. For a full list of available versions, see the Directory of published versions
SD.7 StructureDefinition-carin-rtpbc-pharmacy-organization
This profile represents a pharmacy as used in the real-time pharmacy benefit check (RTPBC) process.
The function of the Pharmacy resource in this exchange is to identify a pharmacy as either…
- the patient’s preferred pharmacy, in the RTPBC request
- or an alternative pharmacy for which information is being returned in the RTPBC response
The set of conveyed pharmacy information consists of…
- identification of the pharmacy. The NCPDP Provider ID is the preferred identifier for this purpose because it specifies the individual pharmacy location. Alternatively, an organizational NPI may be used
- the pharmacy name
- the phone number
- the pharmacy address
Must Support elements in this profile
Client systems
- The pharmacy identifier and name MUST be populated with correct information in order for the processor to determine reliable cost and coverage information
- Pharmacy phone and address SHOULD be populated to assist in identifying a particular pharmacy location, especially when identifying the pharmacy using an NPI
Responding systems
- MUST consider pharmacy type and location when determining pricing, coverage, and alternative pharmacy options
SD.7.1 Formal Views of Profile Content
Description of Profiles, Differentials, and Snapshots.
The official URL for this profile is: http://hl7.org/fhir/us/carin/StructureDefinition/rtpbc-pharmacy
Published on Sun Dec 08 05:00:00 UTC 2019 as a active by CARIN Alliance.
This profile builds on Organization
Summary
Mandatory: 5 elements (2 nested mandatory elements)
Must-Support: 13 elements
Fixed Value: 1 element
Slices
This structure defines the following Slices:
- The element Organization.identifier is sliced based on the value of pattern:$this
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Organization | 0..* | Organization | ||
identifier | 1..* | (Slice Definition) | Pharmacy Identifier Slice: Unordered, Open by pattern:$this | |
identifier:All Slices | Content/Rules for all slices | |||
system | S | 1..1 | uri | |
value | 1..1 | string | ||
identifier:pharmacyNpi | S | 0..1 | Identifier | Pharmacy's organizational NPI Required Pattern: At least the following |
system | 1..1 | uri | The namespace for the identifier value Fixed Value: http://hl7.org/fhir/sid/us-npi | |
identifier:pharmacyNcpdpId | S | 0..1 | Identifier | Pharmacy's NCPDP ID Required Pattern: At least the following |
system | 1..1 | uri | The namespace for the identifier value Fixed Value: http://ncpdp.org/provider-id | |
system | 0..1 | uri | ||
type | 1..1 | CodeableConcept | Pharmacy Type Binding: CARIN RTPBC Pharmacy Type Value Set (extensible) | |
name | S | 1..1 | string | Pharmacy Name |
telecom | S | 0..* | ContactPoint | Pharmacy Telephone |
system | S | 1..1 | code | Fixed Value: phone |
value | S | 1..1 | string | |
address | S | 0..* | Address | Pharmacy Address |
line | S | 0..* | string | |
city | S | 0..1 | string | |
state | S | 0..1 | string | Binding: CARIN RTPBC Two Letter State and Province Code Value Set (extensible) |
postalCode | S | 0..1 | string | |
country | S | 0..1 | string | Binding: CARIN RTPBC Pharmacy Type Value Setf (required) |
Documentation for this format |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Organization | I | 0..* | Organization | A grouping of people or organizations with a common purpose |
id | Σ | 0..1 | string | Logical id of this artifact |
meta | ΣI | 0..1 | Meta | Metadata about the resource |
implicitRules | ?!ΣI | 0..1 | uri | A set of rules under which this content was created |
language | I | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred) Max Binding: AllLanguages |
text | I | 0..1 | Narrative | Text summary of the resource, for human interpretation |
contained | 0..* | Resource | Contained, inline Resources | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!I | 0..* | Extension | Extensions that cannot be ignored |
identifier | ΣI | 1..* | (Slice Definition) | Pharmacy Identifier Slice: Unordered, Open by pattern:$this |
identifier:All Slices | Content/Rules for all slices | |||
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |
use | ?!ΣI | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required) |
type | ΣI | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible) |
system | SΣI | 1..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient |
value | ΣI | 1..1 | string | The value that is unique Example General: 123456 |
period | ΣI | 0..1 | Period | Time period when id is/was valid for use |
assigner | ΣI | 0..1 | Reference(Organization) | Organization that issued id (may be just text) |
identifier:pharmacyNpi | SΣI | 0..1 | Identifier | Pharmacy's organizational NPI Required Pattern: At least the following |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
use | 0..1 | code | usual | official | temp | secondary | old (If known) | |
type | 0..1 | CodeableConcept | Description of identifier | |
system | 1..1 | uri | The namespace for the identifier value Fixed Value: http://hl7.org/fhir/sid/us-npi | |
value | 0..1 | string | The value that is unique | |
period | 0..1 | Period | Time period when id is/was valid for use | |
assigner | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | |
identifier:pharmacyNcpdpId | SΣI | 0..1 | Identifier | Pharmacy's NCPDP ID Required Pattern: At least the following |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
use | 0..1 | code | usual | official | temp | secondary | old (If known) | |
type | 0..1 | CodeableConcept | Description of identifier | |
system | 1..1 | uri | The namespace for the identifier value Fixed Value: http://ncpdp.org/provider-id | |
value | 0..1 | string | The value that is unique | |
period | 0..1 | Period | Time period when id is/was valid for use | |
assigner | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |
use | ?!ΣI | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required) |
type | ΣI | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible) |
system | ΣI | 0..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient |
value | ΣI | 0..1 | string | The value that is unique Example General: 123456 |
period | ΣI | 0..1 | Period | Time period when id is/was valid for use |
assigner | ΣI | 0..1 | Reference(Organization) | Organization that issued id (may be just text) |
active | ?!ΣI | 0..1 | boolean | Whether the organization's record is still in active use |
type | ΣI | 1..1 | CodeableConcept | Pharmacy Type Binding: CARIN RTPBC Pharmacy Type Value Set (extensible) |
name | SΣI | 1..1 | string | Pharmacy Name |
alias | I | 0..* | string | A list of alternate names that the organization is known as, or was known as in the past |
telecom | SI | 0..* | ContactPoint | Pharmacy Telephone |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |
system | SΣI | 1..1 | code | phone | fax | email | pager | url | sms | other Binding: ContactPointSystem (required) Fixed Value: phone |
value | SΣI | 1..1 | string | The actual contact point details |
use | ?!ΣI | 0..1 | code | home | work | temp | old | mobile - purpose of this contact point Binding: ContactPointUse (required) |
rank | ΣI | 0..1 | positiveInt | Specify preferred order of use (1 = highest) |
period | ΣI | 0..1 | Period | Time period when the contact point was/is in use |
address | SI | 0..* | Address | Pharmacy Address |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |
use | ?!ΣI | 0..1 | code | home | work | temp | old | billing - purpose of this address Binding: AddressUse (required) Example General: home |
type | ΣI | 0..1 | code | postal | physical | both Binding: AddressType (required) Example General: both |
text | ΣI | 0..1 | string | Text representation of the address Example General: 137 Nowhere Street, Erewhon 9132 |
line | SΣI | 0..* | string | Street name, number, direction & P.O. Box etc. This repeating element order: The order in which lines should appear in an address label Example General: 137 Nowhere Street |
city | SΣI | 0..1 | string | Name of city, town etc. Example General: Erewhon |
district | ΣI | 0..1 | string | District name (aka county) Example General: Madison |
state | SΣI | 0..1 | string | Sub-unit of country (abbreviations ok) Binding: CARIN RTPBC Two Letter State and Province Code Value Set (extensible) |
postalCode | SΣI | 0..1 | string | Postal code for area Example General: 9132 |
country | SΣI | 0..1 | string | Country (e.g. can be ISO 3166 2 or 3 letter code) Binding: CARIN RTPBC Pharmacy Type Value Setf (required) |
period | ΣI | 0..1 | Period | Time period when address was/is in use Example General: {"start":"2010-03-23T00:00:00+00:00","end":"2010-07-01T00:00:00+00:00"} |
partOf | ΣI | 0..1 | Reference(Organization) | The organization of which this organization forms a part |
contact | I | 0..* | BackboneElement | Contact for the organization for a certain purpose |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
purpose | I | 0..1 | CodeableConcept | The type of contact Binding: ContactEntityType (extensible) |
name | I | 0..1 | HumanName | A name associated with the contact |
telecom | I | 0..* | ContactPoint | Contact details (telephone, email, etc.) for a contact |
address | I | 0..1 | Address | Visiting or postal addresses for the contact |
endpoint | I | 0..* | Reference(Endpoint) | Technical endpoints providing access to services operated for the organization |
Documentation for this format |
Summary
Mandatory: 5 elements (2 nested mandatory elements)
Must-Support: 13 elements
Fixed Value: 1 element
Slices
This structure defines the following Slices:
- The element Organization.identifier is sliced based on the value of pattern:$this
Differential View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Organization | 0..* | Organization | ||
identifier | 1..* | (Slice Definition) | Pharmacy Identifier Slice: Unordered, Open by pattern:$this | |
identifier:All Slices | Content/Rules for all slices | |||
system | S | 1..1 | uri | |
value | 1..1 | string | ||
identifier:pharmacyNpi | S | 0..1 | Identifier | Pharmacy's organizational NPI Required Pattern: At least the following |
system | 1..1 | uri | The namespace for the identifier value Fixed Value: http://hl7.org/fhir/sid/us-npi | |
identifier:pharmacyNcpdpId | S | 0..1 | Identifier | Pharmacy's NCPDP ID Required Pattern: At least the following |
system | 1..1 | uri | The namespace for the identifier value Fixed Value: http://ncpdp.org/provider-id | |
system | 0..1 | uri | ||
type | 1..1 | CodeableConcept | Pharmacy Type Binding: CARIN RTPBC Pharmacy Type Value Set (extensible) | |
name | S | 1..1 | string | Pharmacy Name |
telecom | S | 0..* | ContactPoint | Pharmacy Telephone |
system | S | 1..1 | code | Fixed Value: phone |
value | S | 1..1 | string | |
address | S | 0..* | Address | Pharmacy Address |
line | S | 0..* | string | |
city | S | 0..1 | string | |
state | S | 0..1 | string | Binding: CARIN RTPBC Two Letter State and Province Code Value Set (extensible) |
postalCode | S | 0..1 | string | |
country | S | 0..1 | string | Binding: CARIN RTPBC Pharmacy Type Value Setf (required) |
Documentation for this format |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Organization | I | 0..* | Organization | A grouping of people or organizations with a common purpose |
id | Σ | 0..1 | string | Logical id of this artifact |
meta | ΣI | 0..1 | Meta | Metadata about the resource |
implicitRules | ?!ΣI | 0..1 | uri | A set of rules under which this content was created |
language | I | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred) Max Binding: AllLanguages |
text | I | 0..1 | Narrative | Text summary of the resource, for human interpretation |
contained | 0..* | Resource | Contained, inline Resources | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!I | 0..* | Extension | Extensions that cannot be ignored |
identifier | ΣI | 1..* | (Slice Definition) | Pharmacy Identifier Slice: Unordered, Open by pattern:$this |
identifier:All Slices | Content/Rules for all slices | |||
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |
use | ?!ΣI | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required) |
type | ΣI | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible) |
system | SΣI | 1..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient |
value | ΣI | 1..1 | string | The value that is unique Example General: 123456 |
period | ΣI | 0..1 | Period | Time period when id is/was valid for use |
assigner | ΣI | 0..1 | Reference(Organization) | Organization that issued id (may be just text) |
identifier:pharmacyNpi | SΣI | 0..1 | Identifier | Pharmacy's organizational NPI Required Pattern: At least the following |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
use | 0..1 | code | usual | official | temp | secondary | old (If known) | |
type | 0..1 | CodeableConcept | Description of identifier | |
system | 1..1 | uri | The namespace for the identifier value Fixed Value: http://hl7.org/fhir/sid/us-npi | |
value | 0..1 | string | The value that is unique | |
period | 0..1 | Period | Time period when id is/was valid for use | |
assigner | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | |
identifier:pharmacyNcpdpId | SΣI | 0..1 | Identifier | Pharmacy's NCPDP ID Required Pattern: At least the following |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations | |
use | 0..1 | code | usual | official | temp | secondary | old (If known) | |
type | 0..1 | CodeableConcept | Description of identifier | |
system | 1..1 | uri | The namespace for the identifier value Fixed Value: http://ncpdp.org/provider-id | |
value | 0..1 | string | The value that is unique | |
period | 0..1 | Period | Time period when id is/was valid for use | |
assigner | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |
use | ?!ΣI | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required) |
type | ΣI | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible) |
system | ΣI | 0..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient |
value | ΣI | 0..1 | string | The value that is unique Example General: 123456 |
period | ΣI | 0..1 | Period | Time period when id is/was valid for use |
assigner | ΣI | 0..1 | Reference(Organization) | Organization that issued id (may be just text) |
active | ?!ΣI | 0..1 | boolean | Whether the organization's record is still in active use |
type | ΣI | 1..1 | CodeableConcept | Pharmacy Type Binding: CARIN RTPBC Pharmacy Type Value Set (extensible) |
name | SΣI | 1..1 | string | Pharmacy Name |
alias | I | 0..* | string | A list of alternate names that the organization is known as, or was known as in the past |
telecom | SI | 0..* | ContactPoint | Pharmacy Telephone |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |
system | SΣI | 1..1 | code | phone | fax | email | pager | url | sms | other Binding: ContactPointSystem (required) Fixed Value: phone |
value | SΣI | 1..1 | string | The actual contact point details |
use | ?!ΣI | 0..1 | code | home | work | temp | old | mobile - purpose of this contact point Binding: ContactPointUse (required) |
rank | ΣI | 0..1 | positiveInt | Specify preferred order of use (1 = highest) |
period | ΣI | 0..1 | Period | Time period when the contact point was/is in use |
address | SI | 0..* | Address | Pharmacy Address |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |
use | ?!ΣI | 0..1 | code | home | work | temp | old | billing - purpose of this address Binding: AddressUse (required) Example General: home |
type | ΣI | 0..1 | code | postal | physical | both Binding: AddressType (required) Example General: both |
text | ΣI | 0..1 | string | Text representation of the address Example General: 137 Nowhere Street, Erewhon 9132 |
line | SΣI | 0..* | string | Street name, number, direction & P.O. Box etc. This repeating element order: The order in which lines should appear in an address label Example General: 137 Nowhere Street |
city | SΣI | 0..1 | string | Name of city, town etc. Example General: Erewhon |
district | ΣI | 0..1 | string | District name (aka county) Example General: Madison |
state | SΣI | 0..1 | string | Sub-unit of country (abbreviations ok) Binding: CARIN RTPBC Two Letter State and Province Code Value Set (extensible) |
postalCode | SΣI | 0..1 | string | Postal code for area Example General: 9132 |
country | SΣI | 0..1 | string | Country (e.g. can be ISO 3166 2 or 3 letter code) Binding: CARIN RTPBC Pharmacy Type Value Setf (required) |
period | ΣI | 0..1 | Period | Time period when address was/is in use Example General: {"start":"2010-03-23T00:00:00+00:00","end":"2010-07-01T00:00:00+00:00"} |
partOf | ΣI | 0..1 | Reference(Organization) | The organization of which this organization forms a part |
contact | I | 0..* | BackboneElement | Contact for the organization for a certain purpose |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
purpose | I | 0..1 | CodeableConcept | The type of contact Binding: ContactEntityType (extensible) |
name | I | 0..1 | HumanName | A name associated with the contact |
telecom | I | 0..* | ContactPoint | Contact details (telephone, email, etc.) for a contact |
address | I | 0..1 | Address | Visiting or postal addresses for the contact |
endpoint | I | 0..* | Reference(Endpoint) | Technical endpoints providing access to services operated for the organization |
Documentation for this format |
Downloads: StructureDefinition: (XML, JSON), Schema: XML Schematron