PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.carin-bb@2.1.0-snapshot1
    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-bb
derivation: constraint
name: C4BBPatient
type: Patient
elements:
  meta:
    mustSupport: true
    index: 0
    elements:
      lastUpdated: {mustSupport: true, index: 1}
      profile: {index: 2}
    required: [lastUpdated, profile]
  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:
            short: Member ID
            mustSupport: true
            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]
        uniquememberid:
          match:
            type:
              coding:
              - {code: um, system: 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBIdentifierType'}
          schema:
            short: Unique Member ID
            mustSupport: true
            array: true
            index: 7
            elements:
              type:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: um, system: 'http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBIdentifierType'}
                index: 8
            required: [type]
  name: {index: 9}
  gender: {index: 10}
  birthDate: {index: 11}
  deceased:
    mustSupport: true
    choices: []
    index: 13
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: $this, type: type}
      min: null
      slices:
        deceasedDateTime:
          match: {}
          schema:
            choices: [deceasedDateTime]
            index: 15
          min: 0
          max: 1
  deceasedDateTime:
    type: dateTime
    choiceOf: deceased
    index: 16
    slicing:
      slices:
        deceasedDateTime:
          match: {}
          schema: {type: dateTime, choiceOf: deceased, index: 16}
          min: 0
          max: 1
  address:
    elements:
      line: {index: 17}
      city: {index: 18}
      state: {index: 19}
      postalCode: {index: 20}
      country: {mustSupport: true, index: 21}
package_version: 2.1.0-snapshot1
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: 2.1.0-snapshot1
required: [meta]