PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.carin-rtpbc@2.0.0-ballot
    http://hl7.org/fhir/us/carin-rtpbc/StructureDefinition/rtpbc-pharmacy-organization
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-rtpbc
derivation: constraint
name: RtpbcPharmacy
type: Organization
elements:
  identifier:
    label: Pharmacy Identifier
    short: Pharmacy Identifier
    index: 0
    elements:
      system: {index: 1}
      value: {index: 2}
    required: [value, system]
    slicing:
      slices:
        NPI:
          match: {}
          schema:
            label: National Provider Identifier (NPI)
            index: 3
            elements:
              system: {index: 4}
              value: {index: 5}
            required: [value, system]
        CLIA:
          match: {}
          schema:
            index: 6
            elements:
              system: {index: 7}
              value: {index: 8}
            required: [value, system]
        NAIC:
          match: {}
          schema:
            index: 9
            elements:
              system: {index: 10}
              value: {index: 11}
            required: [value, system]
        NcpdpProviderId:
          match: {}
          schema:
            short: NCPDP Provider ID
            mustSupport: true
            pattern:
              type: Identifier
              value: {system: 'http://terminology.hl7.org/CodeSystem/NCPDPProviderIdentificationNumber'}
            label: NCPDP Provider ID
            index: 12
          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: 13
  name: {label: Pharmacy Name, short: Pharmacy Name, index: 14}
  telecom:
    label: Pharmacy Telephone
    short: Pharmacy Telephone
    index: 15
    elements:
      system:
        pattern: {type: Code, value: phone}
        index: 16
      value: {index: 17}
    required: [value, system]
  address:
    label: Pharmacy Address
    short: Pharmacy Address
    index: 18
    elements:
      state:
        binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/us/carin-rtpbc/ValueSet/rtpbc-state-and-province-code'}
        index: 19
      postalCode: {label: Postal code, short: Postal code, index: 20}
      country:
        binding: {strength: required, valueSet: 'http://hl7.org/fhir/us/carin-rtpbc/ValueSet/rtpbc-country-code'}
        index: 21
package_version: 2.0.0-ballot
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: 2.0.0-ballot
required: [identifier, type]