PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.davinci-pas@2.1.0
    http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-beneficiary
description: A patient who is the beneficiary of an insurance plan.
package_name: hl7.fhir.us.davinci-pas
derivation: constraint
name: PASBeneficiary
type: Patient
elements:
  identifier:
    index: 0
    slicing:
      rules: open
      description: Slice that provides the member identifier.
      discriminator:
      - {path: type, type: value}
      min: null
      slices:
        memberIdentifier:
          match:
            type:
              coding:
              - {code: MB, system: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
          schema:
            mustSupport: true
            index: 1
            elements:
              type:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: MB, system: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
                index: 2
            required: [type]
  name:
    elements:
      prefix: {mustSupport: true, index: 3}
      suffix: {mustSupport: true, index: 4}
  birthDate:
    constraint:
      FullDateRule: {human: Dates need to be a full date - YYYY-MM-DD, source: 'http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-beneficiary', severity: error, expression: $this.toString().length() = 10}
    index: 5
  address:
    elements:
      district: {mustSupport: true, index: 6}
      country: {mustSupport: true, index: 7}
  multipleBirth:
    choices: []
    index: 9
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: $this, type: type}
      min: null
      slices:
        multipleBirthInteger:
          match: {}
          schema:
            mustSupport: true
            choices: [multipleBirthInteger]
            index: 11
          min: 0
          max: 1
  multipleBirthInteger:
    type: integer
    mustSupport: true
    choiceOf: multipleBirth
    index: 12
    slicing:
      slices:
        multipleBirthInteger:
          match: {}
          schema: {type: integer, mustSupport: true, choiceOf: multipleBirth, index: 12}
          min: 0
          max: 1
package_version: 2.1.0
class: profile
kind: resource
url: http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-beneficiary
base: http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient
version: 2.1.0