description: This profile builds on the US Core Organization to represent a pharmacy as used in the real-time pharmacy benefit check (RTPBC) process. package_name: hl7.fhir.us.carin derivation: constraint name: RtpbcPharmacy type: Organization elements: identifier: short: Pharmacy Identifier mustSupport: true label: Pharmacy Identifier index: 0 elements: system: {mustSupport: true, index: 1} value: {mustSupport: true, index: 2} required: [value, system] slicing: rules: open discriminator: - {path: $this, type: pattern} min: 1 slices: NPI: match: {system: 'http://hl7.org/fhir/sid/us-npi'} schema: label: National Provider Identifier (NPI) mustSupport: true pattern: type: Identifier value: {system: 'http://hl7.org/fhir/sid/us-npi'} index: 3 CLIA: match: {} schema: {index: 4} max: 0 NcpdpProviderId: match: {system: 'http://ncpdp.org/provider-id'} schema: short: NCPDP Provider ID mustSupport: true pattern: type: Identifier value: {system: 'http://ncpdp.org/provider-id'} label: NCPDP Provider ID index: 5 min: 0 max: 1 type: short: Pharmacy Type mustSupport: true binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/us/carin-rtpbc/ValueSet/rtpbc-pharmacy-type'} label: Pharmacy Type index: 6 name: {label: Pharmacy Name, short: Pharmacy Name, mustSupport: true, index: 7} telecom: label: Pharmacy Telephone short: Pharmacy Telephone mustSupport: true index: 8 elements: system: pattern: {type: Code, value: phone} mustSupport: true index: 9 value: {mustSupport: true, index: 10} required: [value, system] address: label: Pharmacy Address short: Pharmacy Address mustSupport: true index: 11 elements: state: binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/us/carin-rtpbc/ValueSet/rtpbc-state-and-province-code'} mustSupport: true index: 12 postalCode: {label: Postal code, short: Postal code, mustSupport: true, index: 13} country: binding: {strength: required, valueSet: 'http://hl7.org/fhir/us/carin-rtpbc/ValueSet/rtpbc-country-code'} mustSupport: true index: 14 package_version: rtpbc-1.0.0 class: profile kind: resource url: http://hl7.org/fhir/us/carin-rtpbc/StructureDefinition/rtpbc-pharmacy-organization base: http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization version: 1.0.0 required: [identifier, type]