PackagesCanonicalsLogsProblems
    Packages
    smart.who.int.trust-phw@0.1.0
    http://smart.who.int/trust-phw/StructureDefinition/DVCPatient
description: DVC Patient
package_name: smart.who.int.trust-phw
derivation: constraint
name: DVCPatient
type: Patient
elements:
  extension:
    index: 0
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        nationality:
          match: {url: null}
          schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/patient-nationality', index: 1}
          min: 0
          max: 1
  identifier:
    mustSupport: true
    index: 2
    elements:
      system: {mustSupport: true, index: 3}
      value: {mustSupport: true, index: 4}
  name:
    mustSupport: true
    index: 5
    slicing:
      rules: open
      discriminator:
      - {path: use, type: value}
      - {path: text, type: exists}
      min: 1
      slices:
        dvcName:
          match: {use: official}
          schema:
            label: Name
            mustSupport: true
            array: true
            min: 1
            _required: true
            index: 6
            elements:
              use:
                mustSupport: true
                pattern: {type: Code, value: official}
                index: 7
              text: {mustSupport: true, index: 8}
            required: [text, use]
  gender: {label: Sex, index: 9}
  birthDate: {label: Date of birth, mustSupport: true, index: 10}
  contact:
    mustSupport: true
    index: 11
    elements:
      relationship:
        binding: {strength: required, valueSet: 'http://smart.who.int/trust-phw/ValueSet/DVCRelationshipStatus'}
        index: 12
package_version: 0.1.0
extensions:
  nationality: {url: 'http://hl7.org/fhir/StructureDefinition/patient-nationality', min: 0, max: 1, type: Extension, mustSupport: true, index: 1}
class: profile
kind: resource
url: http://smart.who.int/trust-phw/StructureDefinition/DVCPatient
base: http://hl7.org/fhir/StructureDefinition/Patient
version: 0.1.0
required: [name, birthDate]