PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.davinci-hrex@1.0.0
    http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-patient-demographics
description: Defines constraints on the patient resource for the minimal set of data to query and retrieve patient demographic information.
package_name: hl7.fhir.us.davinci-hrex
derivation: constraint
name: HRexPatientDemographics
type: Patient
elements:
  extension:
    type: Extension
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/us/core/ValueSet/birthsex'}
    mustSupport: true
    url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex
    index: 0
    slicing:
      slices:
        birthSex:
          match: {}
          schema:
            type: Extension
            binding: {strength: required, valueSet: 'http://hl7.org/fhir/us/core/ValueSet/birthsex'}
            mustSupport: true
            url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex
            index: 0
          min: 0
          max: 1
  identifier:
    index: 1
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: pattern}
      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: 2
          min: 0
          max: 1
  name:
    type: HumanName
    mustSupport: true
    array: true
    min: 1
    index: 3
    elements:
      family: {type: string, mustSupport: true, index: 4}
      given: {type: string, mustSupport: true, array: true, min: 1, index: 5}
    required: [given, family]
  gender:
    type: code
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/administrative-gender'}
    mustSupport: true
    index: 6
  birthDate: {type: date, mustSupport: true, index: 7}
  address:
    mustSupport: true
    array: true
    index: 8
    elements:
      line: {mustSupport: true, array: true, index: 9}
      city: {mustSupport: true, index: 10}
      state: {mustSupport: true, index: 11}
      postalCode: {mustSupport: true, index: 12}
      period: {mustSupport: true, index: 13}
package_version: 1.0.0
extensions:
  birthSex:
    url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex
    min: 0
    max: 1
    type: Extension
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/us/core/ValueSet/birthsex'}
    mustSupport: true
    index: 0
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.0.0
required: [name, birthDate]