This page is part of the Consumer Real-time Pharmacy Benefit Check (v2.0.0: STU 2) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions
>| Official URL: http://hl7.org/fhir/us/carin-rtpbc/StructureDefinition/rtpbc-pharmacy-organization | Version: 2.0.0 | ||||
| Standards status: Trial-use * | Maturity Level: 2 * | Computable Name: RtpbcPharmacy | |||
| Other Identifiers: OID:2.16.840.1.113883.4.642.40.90.42.9 | |||||
This profile builds on the US Core Organization to represent 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 set of conveyed pharmacy information consists of…
Client systems
Responding systems
Usages:
You can also check for usages in the FHIR IG Statistics
Description Differentials, Snapshots, and other representations.
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | USCoreOrganizationProfile | A grouping of people or organizations with a common purpose Constraints: org-1 |
![]() ![]() |
0..1 | uri | A set of rules under which this content was created | |
![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |
![]() ![]() |
0..* | Extension | Extensions that cannot be ignored | |
![]() ![]() |
C | 1..* | Identifier | Pharmacy Identifier Slice: Unordered, Open by value:$this Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them |
![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() |
0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | |
![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient | |
![]() ![]() ![]() ![]() |
1..1 | string | The value that is unique Example General: 123456 | |
![]() ![]() ![]() |
C | 0..* | Identifier | National Provider Identifier (NPI) Constraints: us-core-16, us-core-17 Required Pattern: |
![]() ![]() ![]() ![]() |
0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | |
![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient | |
![]() ![]() ![]() ![]() |
1..1 | string | The value that is unique Example General: 123456 | |
![]() ![]() ![]() |
C | 0..* | Identifier | Clinical Laboratory Improvement Amendments (CLIA) Number for laboratories Constraints: us-core-18 Required Pattern: |
![]() ![]() ![]() ![]() |
0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | |
![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient | |
![]() ![]() ![]() ![]() |
1..1 | string | The value that is unique Example General: 123456 | |
![]() ![]() ![]() |
C | 0..* | Identifier | NAIC Code Constraints: us-core-19 Required Pattern: |
![]() ![]() ![]() ![]() |
0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | |
![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient | |
![]() ![]() ![]() ![]() |
1..1 | string | The value that is unique Example General: 123456 | |
![]() ![]() ![]() |
C | 0..1 | Identifier | NCPDP Provider ID Required Pattern: |
![]() ![]() |
1..1 | boolean | Whether the organization's record is still in active use | |
![]() ![]() |
1..1 | CodeableConcept | Pharmacy Type Binding: RTPBC Pharmacy Type Value Set (extensible): RTPBC Pharmacy Type Value Set | |
![]() ![]() |
C | 1..1 | string | Pharmacy Name |
![]() ![]() |
C | 0..* | ContactPoint | Pharmacy Telephone Constraints: org-3 |
![]() ![]() ![]() |
C | 1..1 | code | phone | fax | email | pager | url | sms | other Binding: ContactPointSystem (required): Telecommunications form for contact point. Fixed Value: phone (no extensions allowed) |
![]() ![]() ![]() |
1..1 | string | The actual contact point details | |
![]() ![]() ![]() |
0..1 | code | home | work | temp | old | mobile - purpose of this contact point Binding: ContactPointUse (required): Use of contact point. | |
![]() ![]() |
C | 0..* | Address | Pharmacy Address Constraints: org-2 |
![]() ![]() ![]() |
0..1 | code | home | work | temp | old | billing - purpose of this address Binding: AddressUse (required): The use of an address. Example General: home | |
![]() ![]() ![]() |
0..4 | 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 Example US Core: 49 MEADOW ST | |
![]() ![]() ![]() |
0..1 | string | Name of city, town etc. Example General: Erewhon Example US Core: EVERYTOWN | |
![]() ![]() ![]() |
0..1 | string | Sub-unit of country (abbreviations ok) Binding: RTPBC Two Letter State and Province Code Value Set (extensible): RTPBC Two Letter State and Province Codes Example US Core: OK | |
![]() ![]() ![]() |
0..1 | string | Postal code Example General: 9132 Example US Core: 74047 | |
![]() ![]() ![]() |
0..1 | string | Country (e.g. can be ISO 3166 2 or 3 letter code) Binding: RTPBC Country Code Value Set (required): ISO 3166 2-character country codes | |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source | Documentation |
| Organization.identifier.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
Identifies the purpose for this identifier, if known . |
| Organization.identifier:NPI.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
Identifies the purpose for this identifier, if known . |
| Organization.identifier:CLIA.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
Identifies the purpose for this identifier, if known . |
| Organization.identifier:NAIC.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
Identifies the purpose for this identifier, if known . |
| Organization.type | Base | extensible | RTPBC Pharmacy Type Value Set | 📦2.0.0 | This IG |
RTPBC Pharmacy Type Value Set |
| Organization.telecom.system | Base | required | ContactPointSystem | 📍4.0.1 | FHIR Std. |
Telecommunications form for contact point. |
| Organization.telecom.use | Base | required | ContactPointUse | 📍4.0.1 | FHIR Std. |
Use of contact point. |
| Organization.address.use | Base | required | AddressUse | 📍4.0.1 | FHIR Std. |
The use of an address. |
| Organization.address.state | Base | extensible | RTPBC Two Letter State and Province Code Value Set | 📦2.0.0 | This IG |
RTPBC Two Letter State and Province Codes |
| Organization.address.country | Base | required | RTPBC Country Code Value Set | 📦2.0.0 | This IG |
ISO 3166 2-character country codes |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Organization | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Organization | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | Organization | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | Organization | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Organization | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| org-1 | error | Organization | The organization SHALL at least have a name or an identifier, and possibly more than one |
(identifier.count() + name.count()) > 0
|
| org-2 | error | Organization.address | An address of an organization can never be of use 'home' |
where(use = 'home').empty()
|
| org-3 | error | Organization.telecom | The telecom of an organization can never be of use 'home' |
where(use = 'home').empty()
|
| us-core-16 | error | Organization.identifier:NPI | NPI must be 10 digits |
value.matches('^[0-9]{10}$')
|
| us-core-17 | error | Organization.identifier:NPI | NPI check digit must be valid (Luhn algorithm check) |
(((select(value.substring(0,1).toInteger()).select(iif($this<5, $this*2, (($this*2)-9))))+(value.substring(1,1).toInteger())+(select(value.substring(2,1).toInteger()).select(iif($this<5, $this*2, (($this*2)-9))))+(value.substring(3,1).toInteger())+(select(value.substring(4,1).toInteger()).select(iif($this<5, $this*2, (($this*2)-9))))+(value.substring(5,1).toInteger())+(select(value.substring(6,1).toInteger()).select(iif($this<5, $this*2, (($this*2)-9))))+(value.substring(7,1).toInteger())+(select(value.substring(8,1).toInteger()).select(iif($this<5, $this*2, (($this*2)-9))))+(value.substring(9,1).toInteger()) + 24)mod 10=0)
|
| us-core-18 | error | Organization.identifier:CLIA | CLIA number must be 10 digits with a letter "D" in third position |
value.matches('^[0-9]{2}D[0-9]{7}$')
|
| us-core-19 | error | Organization.identifier:NAIC | NAIC must be 5 digits |
value.matches('^[0-9]{5}$')
|
This structure is derived from USCoreOrganizationProfile
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
0..* | USCoreOrganizationProfile | A grouping of people or organizations with a common purpose | |
![]() ![]() |
1..* | Identifier | Pharmacy Identifier Other Changes: documentation | |
![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value | |
![]() ![]() ![]() |
1..1 | string | The value that is unique | |
![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() |
0..* | Identifier | National Provider Identifier (NPI) Other Changes: documentation | |
![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value | |
![]() ![]() ![]() ![]() |
1..1 | string | The value that is unique | |
![]() ![]() ![]() |
0..* | Identifier | Clinical Laboratory Improvement Amendments (CLIA) Number for laboratories | |
![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value | |
![]() ![]() ![]() ![]() |
1..1 | string | The value that is unique | |
![]() ![]() ![]() |
0..* | Identifier | NAIC Code | |
![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value | |
![]() ![]() ![]() ![]() |
1..1 | string | The value that is unique | |
![]() ![]() ![]() |
0..1 | Identifier | NCPDP Provider ID Required Pattern: Other Changes: documentation | |
![]() ![]() |
1..1 | CodeableConcept | Pharmacy Type Binding: RTPBC Pharmacy Type Value Set (extensible): RTPBC Pharmacy Type Value Set Other Changes: documentation | |
![]() ![]() |
1..1 | string | Pharmacy Name Other Changes: documentation | |
![]() ![]() |
0..* | ContactPoint | Pharmacy Telephone Other Changes: documentation | |
![]() ![]() ![]() |
1..1 | code | phone | fax | email | pager | url | sms | other Fixed Value: phone (no extensions allowed) | |
![]() ![]() ![]() |
1..1 | string | The actual contact point details | |
![]() ![]() |
0..* | Address | Pharmacy Address Other Changes: documentation | |
![]() ![]() ![]() |
0..1 | string | Sub-unit of country (abbreviations ok) Binding: RTPBC Two Letter State and Province Code Value Set (extensible): RTPBC Two Letter State and Province Codes | |
![]() ![]() ![]() |
0..1 | string | Postal code Other Changes: documentation | |
![]() ![]() ![]() |
0..1 | string | Country (e.g. can be ISO 3166 2 or 3 letter code) Binding: RTPBC Country Code Value Set (required): ISO 3166 2-character country codes Other Changes: documentation | |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source | Documentation |
| Organization.type | Base | extensible | RTPBC Pharmacy Type Value Set | 📦2.0.0 | This IG |
RTPBC Pharmacy Type Value Set |
| Organization.address.state | Base | extensible | RTPBC Two Letter State and Province Code Value Set | 📦2.0.0 | This IG |
RTPBC Two Letter State and Province Codes |
| Organization.address.country | Base | required | RTPBC Country Code Value Set | 📦2.0.0 | This IG |
ISO 3166 2-character country codes |
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | USCoreOrganizationProfile | A grouping of people or organizations with a common purpose Constraints: org-1 | ||||
![]() ![]() |
0..1 | id | Logical id of this artifact | |||||
![]() ![]() |
0..1 | Meta | Metadata about the resource | |||||
![]() ![]() |
0..1 | uri | A set of rules under which this content was created | |||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() |
0..* | Extension | Extensions that cannot be ignored | |||||
![]() ![]() |
C | 1..* | Identifier | Pharmacy Identifier Slice: Unordered, Open by value:$this Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | ||||
![]() ![]() ![]() |
Content/Rules for all slices | |||||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | |||||
![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | |||||
![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient | |||||
![]() ![]() ![]() ![]() |
1..1 | string | The value that is unique Example General: 123456 | |||||
![]() ![]() ![]() ![]() |
0..1 | Period | Time period when id is/was valid for use | |||||
![]() ![]() ![]() ![]() |
0..1 | Reference(Organization) | Organization that issued id (may be just text) | |||||
![]() ![]() ![]() |
C | 0..* | Identifier | National Provider Identifier (NPI) Constraints: us-core-16, us-core-17 Required Pattern: | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | |||||
![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | |||||
![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient | |||||
![]() ![]() ![]() ![]() |
1..1 | string | The value that is unique Example General: 123456 | |||||
![]() ![]() ![]() ![]() |
0..1 | Period | Time period when id is/was valid for use | |||||
![]() ![]() ![]() ![]() |
0..1 | Reference(Organization) | Organization that issued id (may be just text) | |||||
![]() ![]() ![]() |
C | 0..* | Identifier | Clinical Laboratory Improvement Amendments (CLIA) Number for laboratories Constraints: us-core-18 Required Pattern: | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | |||||
![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | |||||
![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient | |||||
![]() ![]() ![]() ![]() |
1..1 | string | The value that is unique Example General: 123456 | |||||
![]() ![]() ![]() ![]() |
0..1 | Period | Time period when id is/was valid for use | |||||
![]() ![]() ![]() ![]() |
0..1 | Reference(Organization) | Organization that issued id (may be just text) | |||||
![]() ![]() ![]() |
C | 0..* | Identifier | NAIC Code Constraints: us-core-19 Required Pattern: | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | |||||
![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | |||||
![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient | |||||
![]() ![]() ![]() ![]() |
1..1 | string | The value that is unique Example General: 123456 | |||||
![]() ![]() ![]() ![]() |
0..1 | Period | Time period when id is/was valid for use | |||||
![]() ![]() ![]() ![]() |
0..1 | Reference(Organization) | Organization that issued id (may be just text) | |||||
![]() ![]() ![]() |
C | 0..1 | Identifier | NCPDP Provider ID Required Pattern: | ||||
![]() ![]() |
1..1 | boolean | Whether the organization's record is still in active use | |||||
![]() ![]() |
1..1 | CodeableConcept | Pharmacy Type Binding: RTPBC Pharmacy Type Value Set (extensible): RTPBC Pharmacy Type Value Set | |||||
![]() ![]() |
C | 1..1 | string | Pharmacy Name | ||||
![]() ![]() |
0..* | string | A list of alternate names that the organization is known as, or was known as in the past | |||||
![]() ![]() |
C | 0..* | ContactPoint | Pharmacy Telephone Constraints: org-3 | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
C | 1..1 | code | phone | fax | email | pager | url | sms | other Binding: ContactPointSystem (required): Telecommunications form for contact point. Fixed Value: phone (no extensions allowed) | ||||
![]() ![]() ![]() |
1..1 | string | The actual contact point details | |||||
![]() ![]() ![]() |
0..1 | code | home | work | temp | old | mobile - purpose of this contact point Binding: ContactPointUse (required): Use of contact point. | |||||
![]() ![]() ![]() |
0..1 | positiveInt | Specify preferred order of use (1 = highest) | |||||
![]() ![]() ![]() |
0..1 | Period | Time period when the contact point was/is in use | |||||
![]() ![]() |
C | 0..* | Address | Pharmacy Address Constraints: org-2 | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
0..1 | code | home | work | temp | old | billing - purpose of this address Binding: AddressUse (required): The use of an address. Example General: home | |||||
![]() ![]() ![]() |
0..1 | code | postal | physical | both Binding: AddressType (required): The type of an address (physical / postal). Example General: both | |||||
![]() ![]() ![]() |
0..1 | string | Text representation of the address Example General: 137 Nowhere Street, Erewhon 9132 | |||||
![]() ![]() ![]() |
0..4 | 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 Example US Core: 49 MEADOW ST | |||||
![]() ![]() ![]() |
0..1 | string | Name of city, town etc. Example General: Erewhon Example US Core: EVERYTOWN | |||||
![]() ![]() ![]() |
0..1 | string | District name (aka county) Example General: Madison | |||||
![]() ![]() ![]() |
0..1 | string | Sub-unit of country (abbreviations ok) Binding: RTPBC Two Letter State and Province Code Value Set (extensible): RTPBC Two Letter State and Province Codes Example US Core: OK | |||||
![]() ![]() ![]() |
0..1 | string | Postal code Example General: 9132 Example US Core: 74047 | |||||
![]() ![]() ![]() |
0..1 | string | Country (e.g. can be ISO 3166 2 or 3 letter code) Binding: RTPBC Country Code Value Set (required): ISO 3166 2-character country codes | |||||
![]() ![]() ![]() |
0..1 | Period | Time period when address was/is in use Example General: {"start":"2010-03-23","end":"2010-07-01"} | |||||
![]() ![]() |
0..1 | Reference(Organization) | The organization of which this organization forms a part | |||||
![]() ![]() |
0..* | BackboneElement | Contact for the organization for a certain purpose | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() |
0..1 | CodeableConcept | The type of contact Binding: ContactEntityType (extensible): The purpose for which you would contact a contact party. | |||||
![]() ![]() ![]() |
0..1 | HumanName | A name associated with the contact | |||||
![]() ![]() ![]() |
0..* | ContactPoint | Contact details (telephone, email, etc.) for a contact | |||||
![]() ![]() ![]() |
0..1 | Address | Visiting or postal addresses for the contact | |||||
![]() ![]() |
0..* | Reference(Endpoint) | Technical endpoints providing access to services operated for the organization | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source | Documentation |
| Organization.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
A human language. |
| Additional / all | Max Binding | All Languages | 📦4.0.1 | FHIR Std. | ||
| Organization.identifier.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
Identifies the purpose for this identifier, if known . |
| Organization.identifier.type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR Std. |
A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. |
| Organization.identifier:NPI.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
Identifies the purpose for this identifier, if known . |
| Organization.identifier:NPI.type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR Std. |
A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. |
| Organization.identifier:CLIA.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
Identifies the purpose for this identifier, if known . |
| Organization.identifier:CLIA.type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR Std. |
A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. |
| Organization.identifier:NAIC.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
Identifies the purpose for this identifier, if known . |
| Organization.identifier:NAIC.type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR Std. |
A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. |
| Organization.type | Base | extensible | RTPBC Pharmacy Type Value Set | 📦2.0.0 | This IG |
RTPBC Pharmacy Type Value Set |
| Organization.telecom.system | Base | required | ContactPointSystem | 📍4.0.1 | FHIR Std. |
Telecommunications form for contact point. |
| Organization.telecom.use | Base | required | ContactPointUse | 📍4.0.1 | FHIR Std. |
Use of contact point. |
| Organization.address.use | Base | required | AddressUse | 📍4.0.1 | FHIR Std. |
The use of an address. |
| Organization.address.type | Base | required | AddressType | 📍4.0.1 | FHIR Std. |
The type of an address (physical / postal). |
| Organization.address.state | Base | extensible | RTPBC Two Letter State and Province Code Value Set | 📦2.0.0 | This IG |
RTPBC Two Letter State and Province Codes |
| Organization.address.country | Base | required | RTPBC Country Code Value Set | 📦2.0.0 | This IG |
ISO 3166 2-character country codes |
| Organization.contact.purpose | Base | extensible | Contact entity type | 📍4.0.1 | FHIR Std. |
The purpose for which you would contact a contact party. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Organization | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Organization | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | Organization | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | Organization | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Organization | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| org-1 | error | Organization | The organization SHALL at least have a name or an identifier, and possibly more than one |
(identifier.count() + name.count()) > 0
|
| org-2 | error | Organization.address | An address of an organization can never be of use 'home' |
where(use = 'home').empty()
|
| org-3 | error | Organization.telecom | The telecom of an organization can never be of use 'home' |
where(use = 'home').empty()
|
| us-core-16 | error | Organization.identifier:NPI | NPI must be 10 digits |
value.matches('^[0-9]{10}$')
|
| us-core-17 | error | Organization.identifier:NPI | NPI check digit must be valid (Luhn algorithm check) |
(((select(value.substring(0,1).toInteger()).select(iif($this<5, $this*2, (($this*2)-9))))+(value.substring(1,1).toInteger())+(select(value.substring(2,1).toInteger()).select(iif($this<5, $this*2, (($this*2)-9))))+(value.substring(3,1).toInteger())+(select(value.substring(4,1).toInteger()).select(iif($this<5, $this*2, (($this*2)-9))))+(value.substring(5,1).toInteger())+(select(value.substring(6,1).toInteger()).select(iif($this<5, $this*2, (($this*2)-9))))+(value.substring(7,1).toInteger())+(select(value.substring(8,1).toInteger()).select(iif($this<5, $this*2, (($this*2)-9))))+(value.substring(9,1).toInteger()) + 24)mod 10=0)
|
| us-core-18 | error | Organization.identifier:CLIA | CLIA number must be 10 digits with a letter "D" in third position |
value.matches('^[0-9]{2}D[0-9]{7}$')
|
| us-core-19 | error | Organization.identifier:NAIC | NAIC must be 5 digits |
value.matches('^[0-9]{5}$')
|
This structure is derived from USCoreOrganizationProfile
Summary
Mandatory: 4 elements(8 nested mandatory elements)
Must-Support: 2 elements
Fixed: 1 element
Maturity: 2
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | USCoreOrganizationProfile | A grouping of people or organizations with a common purpose Constraints: org-1 |
![]() ![]() |
0..1 | uri | A set of rules under which this content was created | |
![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |
![]() ![]() |
0..* | Extension | Extensions that cannot be ignored | |
![]() ![]() |
C | 1..* | Identifier | Pharmacy Identifier Slice: Unordered, Open by value:$this Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them |
![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() |
0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | |
![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient | |
![]() ![]() ![]() ![]() |
1..1 | string | The value that is unique Example General: 123456 | |
![]() ![]() ![]() |
C | 0..* | Identifier | National Provider Identifier (NPI) Constraints: us-core-16, us-core-17 Required Pattern: |
![]() ![]() ![]() ![]() |
0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | |
![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient | |
![]() ![]() ![]() ![]() |
1..1 | string | The value that is unique Example General: 123456 | |
![]() ![]() ![]() |
C | 0..* | Identifier | Clinical Laboratory Improvement Amendments (CLIA) Number for laboratories Constraints: us-core-18 Required Pattern: |
![]() ![]() ![]() ![]() |
0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | |
![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient | |
![]() ![]() ![]() ![]() |
1..1 | string | The value that is unique Example General: 123456 | |
![]() ![]() ![]() |
C | 0..* | Identifier | NAIC Code Constraints: us-core-19 Required Pattern: |
![]() ![]() ![]() ![]() |
0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | |
![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient | |
![]() ![]() ![]() ![]() |
1..1 | string | The value that is unique Example General: 123456 | |
![]() ![]() ![]() |
C | 0..1 | Identifier | NCPDP Provider ID Required Pattern: |
![]() ![]() |
1..1 | boolean | Whether the organization's record is still in active use | |
![]() ![]() |
1..1 | CodeableConcept | Pharmacy Type Binding: RTPBC Pharmacy Type Value Set (extensible): RTPBC Pharmacy Type Value Set | |
![]() ![]() |
C | 1..1 | string | Pharmacy Name |
![]() ![]() |
C | 0..* | ContactPoint | Pharmacy Telephone Constraints: org-3 |
![]() ![]() ![]() |
C | 1..1 | code | phone | fax | email | pager | url | sms | other Binding: ContactPointSystem (required): Telecommunications form for contact point. Fixed Value: phone (no extensions allowed) |
![]() ![]() ![]() |
1..1 | string | The actual contact point details | |
![]() ![]() ![]() |
0..1 | code | home | work | temp | old | mobile - purpose of this contact point Binding: ContactPointUse (required): Use of contact point. | |
![]() ![]() |
C | 0..* | Address | Pharmacy Address Constraints: org-2 |
![]() ![]() ![]() |
0..1 | code | home | work | temp | old | billing - purpose of this address Binding: AddressUse (required): The use of an address. Example General: home | |
![]() ![]() ![]() |
0..4 | 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 Example US Core: 49 MEADOW ST | |
![]() ![]() ![]() |
0..1 | string | Name of city, town etc. Example General: Erewhon Example US Core: EVERYTOWN | |
![]() ![]() ![]() |
0..1 | string | Sub-unit of country (abbreviations ok) Binding: RTPBC Two Letter State and Province Code Value Set (extensible): RTPBC Two Letter State and Province Codes Example US Core: OK | |
![]() ![]() ![]() |
0..1 | string | Postal code Example General: 9132 Example US Core: 74047 | |
![]() ![]() ![]() |
0..1 | string | Country (e.g. can be ISO 3166 2 or 3 letter code) Binding: RTPBC Country Code Value Set (required): ISO 3166 2-character country codes | |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source | Documentation |
| Organization.identifier.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
Identifies the purpose for this identifier, if known . |
| Organization.identifier:NPI.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
Identifies the purpose for this identifier, if known . |
| Organization.identifier:CLIA.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
Identifies the purpose for this identifier, if known . |
| Organization.identifier:NAIC.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
Identifies the purpose for this identifier, if known . |
| Organization.type | Base | extensible | RTPBC Pharmacy Type Value Set | 📦2.0.0 | This IG |
RTPBC Pharmacy Type Value Set |
| Organization.telecom.system | Base | required | ContactPointSystem | 📍4.0.1 | FHIR Std. |
Telecommunications form for contact point. |
| Organization.telecom.use | Base | required | ContactPointUse | 📍4.0.1 | FHIR Std. |
Use of contact point. |
| Organization.address.use | Base | required | AddressUse | 📍4.0.1 | FHIR Std. |
The use of an address. |
| Organization.address.state | Base | extensible | RTPBC Two Letter State and Province Code Value Set | 📦2.0.0 | This IG |
RTPBC Two Letter State and Province Codes |
| Organization.address.country | Base | required | RTPBC Country Code Value Set | 📦2.0.0 | This IG |
ISO 3166 2-character country codes |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Organization | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Organization | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | Organization | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | Organization | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Organization | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| org-1 | error | Organization | The organization SHALL at least have a name or an identifier, and possibly more than one |
(identifier.count() + name.count()) > 0
|
| org-2 | error | Organization.address | An address of an organization can never be of use 'home' |
where(use = 'home').empty()
|
| org-3 | error | Organization.telecom | The telecom of an organization can never be of use 'home' |
where(use = 'home').empty()
|
| us-core-16 | error | Organization.identifier:NPI | NPI must be 10 digits |
value.matches('^[0-9]{10}$')
|
| us-core-17 | error | Organization.identifier:NPI | NPI check digit must be valid (Luhn algorithm check) |
(((select(value.substring(0,1).toInteger()).select(iif($this<5, $this*2, (($this*2)-9))))+(value.substring(1,1).toInteger())+(select(value.substring(2,1).toInteger()).select(iif($this<5, $this*2, (($this*2)-9))))+(value.substring(3,1).toInteger())+(select(value.substring(4,1).toInteger()).select(iif($this<5, $this*2, (($this*2)-9))))+(value.substring(5,1).toInteger())+(select(value.substring(6,1).toInteger()).select(iif($this<5, $this*2, (($this*2)-9))))+(value.substring(7,1).toInteger())+(select(value.substring(8,1).toInteger()).select(iif($this<5, $this*2, (($this*2)-9))))+(value.substring(9,1).toInteger()) + 24)mod 10=0)
|
| us-core-18 | error | Organization.identifier:CLIA | CLIA number must be 10 digits with a letter "D" in third position |
value.matches('^[0-9]{2}D[0-9]{7}$')
|
| us-core-19 | error | Organization.identifier:NAIC | NAIC must be 5 digits |
value.matches('^[0-9]{5}$')
|
Differential View
This structure is derived from USCoreOrganizationProfile
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
0..* | USCoreOrganizationProfile | A grouping of people or organizations with a common purpose | |
![]() ![]() |
1..* | Identifier | Pharmacy Identifier Other Changes: documentation | |
![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value | |
![]() ![]() ![]() |
1..1 | string | The value that is unique | |
![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() |
0..* | Identifier | National Provider Identifier (NPI) Other Changes: documentation | |
![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value | |
![]() ![]() ![]() ![]() |
1..1 | string | The value that is unique | |
![]() ![]() ![]() |
0..* | Identifier | Clinical Laboratory Improvement Amendments (CLIA) Number for laboratories | |
![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value | |
![]() ![]() ![]() ![]() |
1..1 | string | The value that is unique | |
![]() ![]() ![]() |
0..* | Identifier | NAIC Code | |
![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value | |
![]() ![]() ![]() ![]() |
1..1 | string | The value that is unique | |
![]() ![]() ![]() |
0..1 | Identifier | NCPDP Provider ID Required Pattern: Other Changes: documentation | |
![]() ![]() |
1..1 | CodeableConcept | Pharmacy Type Binding: RTPBC Pharmacy Type Value Set (extensible): RTPBC Pharmacy Type Value Set Other Changes: documentation | |
![]() ![]() |
1..1 | string | Pharmacy Name Other Changes: documentation | |
![]() ![]() |
0..* | ContactPoint | Pharmacy Telephone Other Changes: documentation | |
![]() ![]() ![]() |
1..1 | code | phone | fax | email | pager | url | sms | other Fixed Value: phone (no extensions allowed) | |
![]() ![]() ![]() |
1..1 | string | The actual contact point details | |
![]() ![]() |
0..* | Address | Pharmacy Address Other Changes: documentation | |
![]() ![]() ![]() |
0..1 | string | Sub-unit of country (abbreviations ok) Binding: RTPBC Two Letter State and Province Code Value Set (extensible): RTPBC Two Letter State and Province Codes | |
![]() ![]() ![]() |
0..1 | string | Postal code Other Changes: documentation | |
![]() ![]() ![]() |
0..1 | string | Country (e.g. can be ISO 3166 2 or 3 letter code) Binding: RTPBC Country Code Value Set (required): ISO 3166 2-character country codes Other Changes: documentation | |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source | Documentation |
| Organization.type | Base | extensible | RTPBC Pharmacy Type Value Set | 📦2.0.0 | This IG |
RTPBC Pharmacy Type Value Set |
| Organization.address.state | Base | extensible | RTPBC Two Letter State and Province Code Value Set | 📦2.0.0 | This IG |
RTPBC Two Letter State and Province Codes |
| Organization.address.country | Base | required | RTPBC Country Code Value Set | 📦2.0.0 | This IG |
ISO 3166 2-character country codes |
Snapshot ViewView
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | USCoreOrganizationProfile | A grouping of people or organizations with a common purpose Constraints: org-1 | ||||
![]() ![]() |
0..1 | id | Logical id of this artifact | |||||
![]() ![]() |
0..1 | Meta | Metadata about the resource | |||||
![]() ![]() |
0..1 | uri | A set of rules under which this content was created | |||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() |
0..* | Extension | Extensions that cannot be ignored | |||||
![]() ![]() |
C | 1..* | Identifier | Pharmacy Identifier Slice: Unordered, Open by value:$this Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | ||||
![]() ![]() ![]() |
Content/Rules for all slices | |||||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | |||||
![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | |||||
![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient | |||||
![]() ![]() ![]() ![]() |
1..1 | string | The value that is unique Example General: 123456 | |||||
![]() ![]() ![]() ![]() |
0..1 | Period | Time period when id is/was valid for use | |||||
![]() ![]() ![]() ![]() |
0..1 | Reference(Organization) | Organization that issued id (may be just text) | |||||
![]() ![]() ![]() |
C | 0..* | Identifier | National Provider Identifier (NPI) Constraints: us-core-16, us-core-17 Required Pattern: | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | |||||
![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | |||||
![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient | |||||
![]() ![]() ![]() ![]() |
1..1 | string | The value that is unique Example General: 123456 | |||||
![]() ![]() ![]() ![]() |
0..1 | Period | Time period when id is/was valid for use | |||||
![]() ![]() ![]() ![]() |
0..1 | Reference(Organization) | Organization that issued id (may be just text) | |||||
![]() ![]() ![]() |
C | 0..* | Identifier | Clinical Laboratory Improvement Amendments (CLIA) Number for laboratories Constraints: us-core-18 Required Pattern: | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | |||||
![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | |||||
![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient | |||||
![]() ![]() ![]() ![]() |
1..1 | string | The value that is unique Example General: 123456 | |||||
![]() ![]() ![]() ![]() |
0..1 | Period | Time period when id is/was valid for use | |||||
![]() ![]() ![]() ![]() |
0..1 | Reference(Organization) | Organization that issued id (may be just text) | |||||
![]() ![]() ![]() |
C | 0..* | Identifier | NAIC Code Constraints: us-core-19 Required Pattern: | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | |||||
![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | |||||
![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient | |||||
![]() ![]() ![]() ![]() |
1..1 | string | The value that is unique Example General: 123456 | |||||
![]() ![]() ![]() ![]() |
0..1 | Period | Time period when id is/was valid for use | |||||
![]() ![]() ![]() ![]() |
0..1 | Reference(Organization) | Organization that issued id (may be just text) | |||||
![]() ![]() ![]() |
C | 0..1 | Identifier | NCPDP Provider ID Required Pattern: | ||||
![]() ![]() |
1..1 | boolean | Whether the organization's record is still in active use | |||||
![]() ![]() |
1..1 | CodeableConcept | Pharmacy Type Binding: RTPBC Pharmacy Type Value Set (extensible): RTPBC Pharmacy Type Value Set | |||||
![]() ![]() |
C | 1..1 | string | Pharmacy Name | ||||
![]() ![]() |
0..* | string | A list of alternate names that the organization is known as, or was known as in the past | |||||
![]() ![]() |
C | 0..* | ContactPoint | Pharmacy Telephone Constraints: org-3 | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
C | 1..1 | code | phone | fax | email | pager | url | sms | other Binding: ContactPointSystem (required): Telecommunications form for contact point. Fixed Value: phone (no extensions allowed) | ||||
![]() ![]() ![]() |
1..1 | string | The actual contact point details | |||||
![]() ![]() ![]() |
0..1 | code | home | work | temp | old | mobile - purpose of this contact point Binding: ContactPointUse (required): Use of contact point. | |||||
![]() ![]() ![]() |
0..1 | positiveInt | Specify preferred order of use (1 = highest) | |||||
![]() ![]() ![]() |
0..1 | Period | Time period when the contact point was/is in use | |||||
![]() ![]() |
C | 0..* | Address | Pharmacy Address Constraints: org-2 | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
0..1 | code | home | work | temp | old | billing - purpose of this address Binding: AddressUse (required): The use of an address. Example General: home | |||||
![]() ![]() ![]() |
0..1 | code | postal | physical | both Binding: AddressType (required): The type of an address (physical / postal). Example General: both | |||||
![]() ![]() ![]() |
0..1 | string | Text representation of the address Example General: 137 Nowhere Street, Erewhon 9132 | |||||
![]() ![]() ![]() |
0..4 | 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 Example US Core: 49 MEADOW ST | |||||
![]() ![]() ![]() |
0..1 | string | Name of city, town etc. Example General: Erewhon Example US Core: EVERYTOWN | |||||
![]() ![]() ![]() |
0..1 | string | District name (aka county) Example General: Madison | |||||
![]() ![]() ![]() |
0..1 | string | Sub-unit of country (abbreviations ok) Binding: RTPBC Two Letter State and Province Code Value Set (extensible): RTPBC Two Letter State and Province Codes Example US Core: OK | |||||
![]() ![]() ![]() |
0..1 | string | Postal code Example General: 9132 Example US Core: 74047 | |||||
![]() ![]() ![]() |
0..1 | string | Country (e.g. can be ISO 3166 2 or 3 letter code) Binding: RTPBC Country Code Value Set (required): ISO 3166 2-character country codes | |||||
![]() ![]() ![]() |
0..1 | Period | Time period when address was/is in use Example General: {"start":"2010-03-23","end":"2010-07-01"} | |||||
![]() ![]() |
0..1 | Reference(Organization) | The organization of which this organization forms a part | |||||
![]() ![]() |
0..* | BackboneElement | Contact for the organization for a certain purpose | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() |
0..1 | CodeableConcept | The type of contact Binding: ContactEntityType (extensible): The purpose for which you would contact a contact party. | |||||
![]() ![]() ![]() |
0..1 | HumanName | A name associated with the contact | |||||
![]() ![]() ![]() |
0..* | ContactPoint | Contact details (telephone, email, etc.) for a contact | |||||
![]() ![]() ![]() |
0..1 | Address | Visiting or postal addresses for the contact | |||||
![]() ![]() |
0..* | Reference(Endpoint) | Technical endpoints providing access to services operated for the organization | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source | Documentation |
| Organization.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
A human language. |
| Additional / all | Max Binding | All Languages | 📦4.0.1 | FHIR Std. | ||
| Organization.identifier.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
Identifies the purpose for this identifier, if known . |
| Organization.identifier.type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR Std. |
A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. |
| Organization.identifier:NPI.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
Identifies the purpose for this identifier, if known . |
| Organization.identifier:NPI.type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR Std. |
A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. |
| Organization.identifier:CLIA.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
Identifies the purpose for this identifier, if known . |
| Organization.identifier:CLIA.type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR Std. |
A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. |
| Organization.identifier:NAIC.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
Identifies the purpose for this identifier, if known . |
| Organization.identifier:NAIC.type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR Std. |
A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. |
| Organization.type | Base | extensible | RTPBC Pharmacy Type Value Set | 📦2.0.0 | This IG |
RTPBC Pharmacy Type Value Set |
| Organization.telecom.system | Base | required | ContactPointSystem | 📍4.0.1 | FHIR Std. |
Telecommunications form for contact point. |
| Organization.telecom.use | Base | required | ContactPointUse | 📍4.0.1 | FHIR Std. |
Use of contact point. |
| Organization.address.use | Base | required | AddressUse | 📍4.0.1 | FHIR Std. |
The use of an address. |
| Organization.address.type | Base | required | AddressType | 📍4.0.1 | FHIR Std. |
The type of an address (physical / postal). |
| Organization.address.state | Base | extensible | RTPBC Two Letter State and Province Code Value Set | 📦2.0.0 | This IG |
RTPBC Two Letter State and Province Codes |
| Organization.address.country | Base | required | RTPBC Country Code Value Set | 📦2.0.0 | This IG |
ISO 3166 2-character country codes |
| Organization.contact.purpose | Base | extensible | Contact entity type | 📍4.0.1 | FHIR Std. |
The purpose for which you would contact a contact party. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Organization | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Organization | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | Organization | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | Organization | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Organization | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| org-1 | error | Organization | The organization SHALL at least have a name or an identifier, and possibly more than one |
(identifier.count() + name.count()) > 0
|
| org-2 | error | Organization.address | An address of an organization can never be of use 'home' |
where(use = 'home').empty()
|
| org-3 | error | Organization.telecom | The telecom of an organization can never be of use 'home' |
where(use = 'home').empty()
|
| us-core-16 | error | Organization.identifier:NPI | NPI must be 10 digits |
value.matches('^[0-9]{10}$')
|
| us-core-17 | error | Organization.identifier:NPI | NPI check digit must be valid (Luhn algorithm check) |
(((select(value.substring(0,1).toInteger()).select(iif($this<5, $this*2, (($this*2)-9))))+(value.substring(1,1).toInteger())+(select(value.substring(2,1).toInteger()).select(iif($this<5, $this*2, (($this*2)-9))))+(value.substring(3,1).toInteger())+(select(value.substring(4,1).toInteger()).select(iif($this<5, $this*2, (($this*2)-9))))+(value.substring(5,1).toInteger())+(select(value.substring(6,1).toInteger()).select(iif($this<5, $this*2, (($this*2)-9))))+(value.substring(7,1).toInteger())+(select(value.substring(8,1).toInteger()).select(iif($this<5, $this*2, (($this*2)-9))))+(value.substring(9,1).toInteger()) + 24)mod 10=0)
|
| us-core-18 | error | Organization.identifier:CLIA | CLIA number must be 10 digits with a letter "D" in third position |
value.matches('^[0-9]{2}D[0-9]{7}$')
|
| us-core-19 | error | Organization.identifier:NAIC | NAIC must be 5 digits |
value.matches('^[0-9]{5}$')
|
This structure is derived from USCoreOrganizationProfile
Summary
Mandatory: 4 elements(8 nested mandatory elements)
Must-Support: 2 elements
Fixed: 1 element
Maturity: 2
Other representations of profile: CSV, Excel, Schematron