PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.davinci-atr@2.1.0
    http://hl7.org/fhir/us/davinci-atr/StructureDefinition/atr-patient
description: This is the Patient Resource profile for the IG.
package_name: hl7.fhir.us.davinci-atr
derivation: constraint
name: ATRPatient
type: Patient
elements:
  identifier:
    mustSupport: true
    array: true
    min: 1
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: type.coding.system, type: value}
      - {path: type.coding.code, type: value}
      min: 1
      slices:
        MedicareIdentifier:
          match:
            type:
              coding: {system: 'http://terminology.hl7.org/CodeSystem/v2-0203', code: MC}
          schema:
            mustSupport: true
            index: 1
            elements:
              type:
                type: CodeableConcept
                mustSupport: true
                index: 2
                elements:
                  coding:
                    mustSupport: true
                    index: 3
                    elements:
                      system:
                        type: uri
                        pattern: {type: uri, value: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
                        mustSupport: true
                        index: 4
                      code:
                        type: code
                        pattern: {type: code, value: MC}
                        mustSupport: true
                        index: 5
                    required: [code, system]
                required: [coding]
            required: [type]
        MedicaidIdentifier:
          match:
            type:
              coding: {system: 'http://terminology.hl7.org/CodeSystem/v2-0203', code: MA}
          schema:
            mustSupport: true
            index: 6
            elements:
              type:
                type: CodeableConcept
                mustSupport: true
                index: 7
                elements:
                  coding:
                    mustSupport: true
                    index: 8
                    elements:
                      system:
                        type: uri
                        pattern: {type: uri, value: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
                        mustSupport: true
                        index: 9
                      code:
                        type: code
                        pattern: {type: code, value: MA}
                        mustSupport: true
                        index: 10
                    required: [code, system]
                required: [coding]
            required: [type]
        MR:
          match:
            type:
              coding: {system: 'http://terminology.hl7.org/CodeSystem/v2-0203', code: MR}
          schema:
            mustSupport: true
            array: true
            index: 11
            elements:
              type:
                type: CodeableConcept
                mustSupport: true
                index: 12
                elements:
                  coding:
                    mustSupport: true
                    index: 13
                    elements:
                      system:
                        type: uri
                        pattern: {type: uri, value: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
                        mustSupport: true
                        index: 14
                      code:
                        type: code
                        pattern: {type: code, value: MR}
                        mustSupport: true
                        index: 15
                    required: [code, system]
                required: [coding]
            required: [type]
        MemberIdentifier:
          match:
            type:
              coding: {system: 'http://terminology.hl7.org/CodeSystem/v2-0203', code: MB}
          schema:
            mustSupport: true
            array: true
            index: 16
            elements:
              type:
                type: CodeableConcept
                mustSupport: true
                index: 17
                elements:
                  coding:
                    mustSupport: true
                    index: 18
                    elements:
                      system:
                        type: uri
                        pattern: {type: uri, value: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
                        mustSupport: true
                        index: 19
                      code:
                        type: code
                        pattern: {type: code, value: MB}
                        mustSupport: true
                        index: 20
                    required: [code, system]
                required: [coding]
            required: [type]
        SSNIdentifier:
          match:
            type:
              coding: {system: 'http://terminology.hl7.org/CodeSystem/v2-0203', code: SB}
          schema:
            mustSupport: true
            index: 21
            elements:
              type:
                type: CodeableConcept
                mustSupport: true
                index: 22
                elements:
                  coding:
                    mustSupport: true
                    index: 23
                    elements:
                      system:
                        type: uri
                        pattern: {type: uri, value: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
                        mustSupport: true
                        index: 24
                      code:
                        type: code
                        pattern: {type: code, value: SB}
                        mustSupport: true
                        index: 25
                    required: [code, system]
                required: [coding]
            required: [type]
  name:
    mustSupport: true
    array: true
    min: 1
    index: 26
    elements:
      prefix: {mustSupport: true, index: 27}
      suffix: {mustSupport: true, array: true, index: 28}
  address:
    mustSupport: true
    array: true
    index: 29
    elements:
      line: {mustSupport: true, array: true, index: 30}
      city: {mustSupport: true, index: 31}
      district: {mustSupport: true, index: 32}
      state: {mustSupport: true, index: 33}
      country: {mustSupport: true, index: 34}
package_version: 2.1.0
class: profile
kind: resource
url: http://hl7.org/fhir/us/davinci-atr/StructureDefinition/atr-patient
base: http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|7.0.0
version: 2.1.0
required: [identifier, name]