PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.davinci@hrex-1.1.0
    http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-patient-demographics
description: Defines constraints on the patient resource for transmission of minimal demographic information needed for $member-match.
package_name: hl7.fhir.us.davinci
derivation: constraint
name: HRexPatientDemographics
type: Patient
elements:
  extension:
    index: 0
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        us-core-birthSex:
          match: {url: null}
          schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex', index: 1}
          min: 0
          max: 1
  identifier:
    index: 2
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: value}
      min: null
      slices:
        umb:
          match:
            type:
              coding:
              - {code: UMB, system: 'http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp'}
          schema:
            short: Unique Member Identifier. This is required to be present for the 'new' coverage and be absent for the 'old' coverage.
            mustSupport: true
            pattern:
              type: Identifier
              value:
                type:
                  coding:
                  - {code: UMB, system: 'http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp'}
            index: 3
          min: 0
          max: 1
  name:
    mustSupport: true
    index: 4
    elements:
      family: {mustSupport: true, index: 5}
      given: {mustSupport: true, index: 6}
    required: [given, family]
  gender:
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/administrative-gender'}
    mustSupport: true
    index: 7
  birthDate: {mustSupport: true, index: 8}
  address:
    mustSupport: true
    index: 9
    elements:
      line: {mustSupport: true, index: 10}
      city: {mustSupport: true, index: 11}
      state: {mustSupport: true, index: 12}
      postalCode: {mustSupport: true, index: 13}
      period: {mustSupport: true, index: 14}
package_version: hrex-1.1.0
extensions:
  us-core-birthSex: {url: 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex', min: 0, max: 1, type: Extension, mustSupport: true, index: 1}
class: profile
kind: resource
url: http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-patient-demographics
base: http://hl7.org/fhir/StructureDefinition/Patient
version: 1.1.0
required: [name, birthDate]