<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="bc-treatmentdirective-advancedirective" />
  <url value="http://nictiz.nl/fhir/StructureDefinition/bc-treatmentdirective-advancedirective" />
  <name value="bc-treatmentdirective-advancedirective" />
  <title value="bc-treatmentdirective-advancedirective" />
  <status value="active" />
  <publisher value="Nictiz" />
  <contact>
    <name value="Nictiz" />
    <telecom>
      <system value="email" />
      <value value="geboortezorg@nictiz.nl" />
      <use value="work" />
    </telecom>
  </contact>
  <description value="The AdvanceDirective concept of zib TreatmentDirective." />
  <purpose value="This extension represents the AdvanceDirective concept of the Dutch [zib ('Zorginformatiebouwsteen', i.e. Health and Care Information Model) TreatmentDirective2-v1.0(2020EN)](https://zibs.nl/wiki/TreatmentDirective2-v1.0(2020EN)). The cardinality of the `Consent.source[x]` element does not comply with the cardinality of the AdvanceDirective concept (NL-CM:2.2.8). This is solved by adding an extension that can be used to provide additional sources after the `Concent.source[x]` is populated first." />
  <copyright value="CC0" />
  <fhirVersion value="3.0.2" />
  <mapping>
    <identity value="zib-treatmentdirective2-v1.0-2020EN" />
    <uri value="https://zibs.nl/wiki/TreatmentDirective2-v1.0(2020EN)" />
    <name value="zib TreatmentDirective2-v1.0(2020EN)" />
  </mapping>
  <kind value="complex-type" />
  <abstract value="false" />
  <contextType value="resource" />
  <context value="Consent" />
  <type value="Extension" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Extension" />
  <derivation value="constraint" />
  <differential>
    <element id="Extension">
      <path value="Extension" />
      <comment value="The cardinality of the `Consent.source[x]` element does not comply with the cardinality of the AdvanceDirective concept (NL-CM:2.2.8) specified in the HCIM TreatmentDirective2. This is solved by adding an extension that can be used to provide additional sources after `Consent.source[x]` is populated." />
    </element>
    <element id="Extension.url">
      <path value="Extension.url" />
      <fixedUri value="http://nictiz.nl/fhir/StructureDefinition/bc-treatmentdirective-advancedirective" />
    </element>
    <element id="Extension.value[x]">
      <path value="Extension.value[x]" />
      <short value="AdvanceDirective" />
      <definition value="A (written) statement in which a person indicates wishes concerning future medical action, in the event that this person is at that point no longer (deemed) capable of taking decisions on the matter." />
      <alias value="Wilsverklaring" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://nictiz.nl/fhir/StructureDefinition/zib-AdvanceDirective" />
      </type>
      <mapping>
        <identity value="zib-treatmentdirective2-v1.0-2020EN" />
        <map value="NL-CM:2.2.8" />
        <comment value="AdvanceDirective" />
      </mapping>
    </element>
  </differential>
</StructureDefinition>