PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.davinci@pas-2.1.0-preview
    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
derivation: constraint
name: PASBeneficiary
type: Patient
elements:
  name:
    elements:
      prefix: {mustSupport: true, index: 0}
      suffix: {mustSupport: true, index: 1}
  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: 2
  address:
    elements:
      district: {mustSupport: true, index: 3}
      country: {mustSupport: true, index: 4}
  multipleBirth:
    choices: []
    index: 6
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: $this, type: type}
      min: null
      slices:
        multipleBirthInteger:
          match: {}
          schema:
            mustSupport: true
            choices: [multipleBirthInteger]
            index: 8
          min: 0
          max: 1
  multipleBirthInteger:
    type: integer
    mustSupport: true
    choiceOf: multipleBirth
    index: 9
    slicing:
      slices:
        multipleBirthInteger:
          match: {}
          schema: {type: integer, mustSupport: true, choiceOf: multipleBirth, index: 9}
          min: 0
          max: 1
package_version: pas-2.1.0-preview
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-preview