## Profile Comparison between http://hl7.org/fhir/us/carin-rtpbc/StructureDefinition/rtpbc-pharmacy-organization vs http://hl7.org/fhir/us/carin-rtpbc/StructureDefinition/rtpbc-pharmacy-organization

Left: | RTPBC Pharmacy Organization (http://hl7.org/fhir/us/carin-rtpbc/StructureDefinition/rtpbc-pharmacy-organization)
Right: | RTPBC Pharmacy Organization (http://hl7.org/fhir/us/carin-rtpbc/StructureDefinition/rtpbc-pharmacy-organization)

### Messages

Error | StructureDefinition.version | Values for version differ: '1.0.0' vs '2.0.0'
Information | StructureDefinition.publisher | Values for publisher differ: 'HL7 International - Pharmacy' vs 'HL7 International / Pharmacy'
Information | Organization.language | Example/preferred bindings differ at Organization.language using binding from RtpbcPharmacy

### Metadata

Name | Value | Comments
--- | --- | ---
abstract | false |
baseDefinition | http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization |
copyright |  |
date | 2020-05-23T00:00:00-05:00 |
description | This profile builds on the US Core Organization to represent a pharmacy as used in the real-time pharmacy benefit check (RTPBC) process. |
experimental | false |
fhirVersion | 4.0.1 |
jurisdiction |  |
jurisdiction[0] | urn:iso:std:iso:3166#US |
kind | resource |
name | RtpbcPharmacy |
publisher | HL7 International - Pharmacy | HL7 International / Pharmacy | Values Differ
purpose |  |
status | active |
title | RTPBC Pharmacy Organization |
type | Organization |
url | http://hl7.org/fhir/us/carin-rtpbc/StructureDefinition/rtpbc-pharmacy-organization |
version | 1.0.0 | 2.0.0 | Values Differ

### Structure

Name | L Flags | L Card. | L Type | L Description & Constraints | R Flags | R Card. | R Type | R Description & Constraints | Comments
--- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Organization | C | 0..* | USCoreOrganizationProfile | A grouping of people or organizations with a common purpose | C | 0..* | USCoreOrganizationProfile | A grouping of people or organizations with a common purpose |
id | Σ | 0..1 | string | Logical id of this artifact | Σ | 0..1 | id | Logical id of this artifact |
meta | Σ | 0..1 | Meta | Metadata about the resource | Σ | 0..1 | Meta | Metadata about the resource |
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
language |  | 0..1 | code | Language of the resource content Binding: ?? (preferred): A human language.
Additional Bindings | Purpose
?? | Max Binding
|  | 0..1 | code | Language of the resource content Binding: ?? (preferred): A human language.
Additional Bindings | Purpose
?? | Max Binding
| Example/preferred bindings differ at Organization.language using binding from RtpbcPharmacy
text |  | 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..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 |
contained |  | 0..* | Resource | Contained, inline Resources |  | 0..* | Resource | Contained, inline Resources |
extension |  | 0..* | Extension | Additional content defined by implementations |  | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored | ?! | 0..* | Extension | Extensions that cannot be ignored |
Slices for identifier | S Σ C | 1..* | Identifier | Pharmacy Identifier Slice: Unordered, Open by pattern:$this | S Σ C | 1..* | Identifier | Pharmacy Identifier Slice: Unordered, Open by value:$this |
id |  | 0..1 | string | Unique id for inter-element referencing |  | 0..1 | string | Unique id for inter-element referencing |
Slices for extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: ?? (required): Identifies the purpose for this identifier, if known . | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: ?? (required): Identifies the purpose for this identifier, if known . |
type | Σ | 0..1 | CodeableConcept | Description of identifier Binding: ?? (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | Σ | 0..1 | CodeableConcept | Description of identifier Binding: ?? (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. |
system | S Σ | 1..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient | S Σ | 1..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient |
value | S Σ | 1..1 | string | The value that is unique Example General: 123456 | S Σ | 1..1 | string | The value that is unique Example General: 123456 |
period | Σ | 0..1 | Period | Time period when id is/was valid for use | Σ | 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) | Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) |
active | ?!S Σ | 1..1 | boolean | Whether the organization's record is still in active use | ?!S Σ | 1..1 | boolean | Whether the organization's record is still in active use |
type | S Σ | 1..1 | CodeableConcept | Pharmacy Type Binding: ?? (extensible): RTPBC Pharmacy Type Value Set | S Σ | 1..1 | CodeableConcept | Pharmacy Type Binding: ?? (extensible): RTPBC Pharmacy Type Value Set |
name | S Σ C | 1..1 | string | Pharmacy Name | S Σ C | 1..1 | string | Pharmacy Name |
alias |  | 0..* | string | A list of alternate names that the organization is known as, or was known as in the past |  | 0..* | string | A list of alternate names that the organization is known as, or was known as in the past |
telecom | S C | 0..* | ContactPoint | Pharmacy Telephone | S C | 0..* | ContactPoint | Pharmacy Telephone |
id |  | 0..1 | string | Unique id for inter-element referencing |  | 0..1 | string | Unique id for inter-element referencing |
Slices for extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |
system | S Σ C | 1..1 | code | phone | fax | email | pager | url | sms | other Binding: ?? (required): Telecommunications form for contact point. Fixed Value: phone | S Σ C | 1..1 | code | phone | fax | email | pager | url | sms | other Binding: ?? (required): Telecommunications form for contact point. Fixed Value: phone |
value | S Σ | 1..1 | string | The actual contact point details | S Σ | 1..1 | string | The actual contact point details |
use | ?!Σ | 0..1 | code | home | work | temp | old | mobile - purpose of this contact point Binding: ?? (required): Use of contact point. | ?!Σ | 0..1 | code | home | work | temp | old | mobile - purpose of this contact point Binding: ?? (required): Use of contact point. |
rank | Σ | 0..1 | positiveInt | Specify preferred order of use (1 = highest) | Σ | 0..1 | positiveInt | Specify preferred order of use (1 = highest) |
period | Σ | 0..1 | Period | Time period when the contact point was/is in use | Σ | 0..1 | Period | Time period when the contact point was/is in use |
address | S C | 0..* | Address | Pharmacy Address | S C | 0..* | Address | Pharmacy Address |
id |  | 0..1 | string | Unique id for inter-element referencing |  | 0..1 | string | Unique id for inter-element referencing |
Slices for extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |
use | ?!Σ | 0..1 | code | home | work | temp | old | billing - purpose of this address Binding: ?? (required): The use of an address. Example General: home | ?!Σ | 0..1 | code | home | work | temp | old | billing - purpose of this address Binding: ?? (required): The use of an address. Example General: home |
type | Σ | 0..1 | code | postal | physical | both Binding: ?? (required): The type of an address (physical / postal). Example General: both | Σ | 0..1 | code | postal | physical | both Binding: ?? (required): The type of an address (physical / postal). Example General: both |
text | Σ | 0..1 | string | Text representation of the address Example General: 137 Nowhere Street, Erewhon 9132 | Σ | 0..1 | string | Text representation of the address Example General: 137 Nowhere Street, Erewhon 9132 |
line | S Σ | 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 | S Σ | 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 |
city | S Σ | 0..1 | string | Name of city, town etc. Example General: Erewhon | S Σ | 0..1 | string | Name of city, town etc. Example General: Erewhon Example US Core: EVERYTOWN |
district | Σ | 0..1 | string | District name (aka county) Example General: Madison | Σ | 0..1 | string | District name (aka county) Example General: Madison |
state | S Σ | 0..1 | string | Sub-unit of country (abbreviations ok) Binding: ?? (extensible): RTPBC Two Letter State and Province Codes | S Σ | 0..1 | string | Sub-unit of country (abbreviations ok) Binding: ?? (extensible): RTPBC Two Letter State and Province Codes Example US Core: OK |
postalCode | S Σ | 0..1 | string | Postal code Example General: 9132 | S Σ | 0..1 | string | Postal code Example General: 9132 Example US Core: 74047 |
country | S Σ | 0..1 | string | Country (e.g. can be ISO 3166 2 or 3 letter code) Binding: ?? (required): ISO 3166 2-character country codes | S Σ | 0..1 | string | Country (e.g. can be ISO 3166 2 or 3 letter code) Binding: ?? (required): ISO 3166 2-character country codes |
period | Σ | 0..1 | Period | Time period when address was/is in use Example General: {"start":"2010-03-23T00:00:00+11:00","end":"2010-07-01T00:00:00+10:00"} | Σ | 0..1 | Period | Time period when address was/is in use Example General: {"start":"2010-03-23","end":"2010-07-01"} |
partOf | Σ | 0..1 | Reference(Organization) | The organization of which this organization forms a part | Σ | 0..1 | Reference(Organization) | The organization of which this organization forms a part |
contact |  | 0..* | BackboneElement | Contact for the organization for a certain purpose |  | 0..* | BackboneElement | Contact for the organization for a certain purpose |
id |  | 0..1 | string | Unique id for inter-element referencing |  | 0..1 | string | Unique id for inter-element referencing |
extension |  | 0..* | Extension | Additional content defined by implementations |  | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
purpose |  | 0..1 | CodeableConcept | The type of contact Binding: ?? (extensible): The purpose for which you would contact a contact party. |  | 0..1 | CodeableConcept | The type of contact Binding: ?? (extensible): The purpose for which you would contact a contact party. |
name |  | 0..1 | HumanName | A name associated with the contact |  | 0..1 | HumanName | A name associated with the contact |
telecom |  | 0..* | ContactPoint | Contact details (telephone, email, etc.) for a contact |  | 0..* | ContactPoint | Contact details (telephone, email, etc.) for a contact |
address |  | 0..1 | Address | Visiting or postal addresses for the contact |  | 0..1 | Address | Visiting or postal addresses for the contact |
endpoint |  | 0..* | Reference(Endpoint) | Technical endpoints providing access to services operated for the organization |  | 0..* | Reference(Endpoint) | Technical endpoints providing access to services operated for the organization |
Documentation for this format