PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.carin@bb-1.0.0
    http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Patient
description: This profile builds upon the US Core Patient profile. It is used to convey information about the patient who received the services described on the claim.
package_name: hl7.fhir.us.carin
derivation: constraint
name: C4BBPatient
type: Patient
elements:
  address:
    elements:
      line: {index: 20}
      city: {index: 21}
      district: {mustSupport: true, index: 22}
      state: {index: 23}
      postalCode: {index: 24}
      country: {mustSupport: true, index: 25}
  meta:
    mustSupport: true
    index: 0
    elements:
      lastUpdated: {mustSupport: true, index: 1}
      profile: {mustSupport: true, index: 2}
    required: [lastUpdated, profile]
  deceasedDateTime: {type: dateTime, index: 18}
  deceasedBoolean: {type: boolean, index: 19}
  name: {index: 13}
  birthDate: {index: 15}
  deceased:
    mustSupport: true
    choices: []
    index: 17
  identifier:
    index: 3
    elements:
      type:
        binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/us/carin-bb/ValueSet/C4BBPatientIdentifierType'}
        index: 4
    slicing:
      rules: open
      ordered: false
      description: Slice based on $this pattern
      discriminator:
      - {path: type, type: pattern}
      min: null
      slices:
        memberid:
          match:
            type:
              coding:
              - {code: MB, system: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
          schema:
            array: true
            min: 1
            _required: true
            index: 5
            elements:
              type:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: MB, system: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
                index: 6
            required: [type]
        medrecnum:
          match:
            type:
              coding:
              - {code: MR, system: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
          schema:
            array: true
            index: 7
            elements:
              type:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: MR, system: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
                index: 8
            required: [type]
        uniquememberid:
          match:
            type:
              coding:
              - {code: um, system: 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBIdentifierType'}
          schema:
            array: true
            index: 9
            elements:
              type:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: um, system: 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBIdentifierType'}
                index: 10
            required: [type]
        patacctnum:
          match:
            type:
              coding:
              - {code: pat, system: 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBIdentifierType'}
          schema:
            array: true
            index: 11
            elements:
              type:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: pat, system: 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBIdentifierType'}
                index: 12
            required: [type]
  gender: {index: 14}
package_version: bb-1.0.0
class: profile
kind: resource
url: http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Patient
base: http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient
version: 1.0.0
required: [meta]