PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.pacio-adi@2.0.0-ballot
    http://hl7.org/fhir/us/pacio-adi/StructureDefinition/ADI-Witness
description: This profile represents a person participating as a witness for a person's advance directives.
package_name: hl7.fhir.us.pacio-adi
derivation: constraint
name: ADIWitness
type: RelatedPerson
elements:
  text: {index: 0}
  active: {mustSupport: true, index: 1}
  patient:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient']
    index: 2
  relationship:
    binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/relatedperson-relationshiptype'}
    mustSupport: true
    index: 3
    slicing:
      rules: open
      ordered: false
      description: Slice based on $this pattern
      discriminator:
      - {path: $this, type: pattern}
      min: 1
      slices:
        witness:
          match:
            coding:
            - {code: WIT, system: 'http://terminology.hl7.org/CodeSystem/v3-ParticipationType'}
          schema:
            mustSupport: true
            pattern:
              type: CodeableConcept
              value:
                coding:
                - {code: WIT, system: 'http://terminology.hl7.org/CodeSystem/v3-ParticipationType'}
            _required: true
            type: CodeableConcept
            index: 4
          min: 1
          max: 1
  name: {mustSupport: true, index: 5}
  telecom: {mustSupport: true, index: 6}
  address: {mustSupport: true, index: 7}
package_version: 2.0.0-ballot
class: profile
kind: resource
url: http://hl7.org/fhir/us/pacio-adi/StructureDefinition/ADI-Witness
base: http://hl7.org/fhir/StructureDefinition/RelatedPerson
version: 2.0.0-ballot
required: [name, relationship, telecom, text]