<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="StructureDefinition-ACP-AdvanceDirective" />
  <url value="https://fhir.iknl.nl/fhir/PZP/StructureDefinition/StructureDefinition-ACP-AdvanceDirective" />
  <name value="ACPAdvanceDirective" />
  <title value="ACP Advance Directive" />
  <status value="draft" />
  <publisher value="IKNL" />
  <contact>
    <name value="IKNL" />
    <telecom>
      <system value="email" />
      <value value="info@iknl.nl" />
      <use value="work" />
    </telecom>
  </contact>
  <description value="[TO-DO]" />
  <fhirVersion value="3.0.2" />
  <mapping>
    <identity value="pzp-dataset-100-beta1-2025-TO-DO" />
    <uri value="[TO-DO]" />
    <name value="ART-DECOR Dataset Proactieve Zorgplanning 1.0.0-beta.1 [TO-DO]" />
  </mapping>
  <kind value="resource" />
  <abstract value="false" />
  <type value="Consent" />
  <baseDefinition value="http://nictiz.nl/fhir/StructureDefinition/zib-AdvanceDirective" />
  <derivation value="constraint" />
  <differential>
    <element id="Consent.category:typeOfLivingWill">
      <path value="Consent.category" />
      <sliceName value="typeOfLivingWill" />
      <mustSupport value="true" />
      <binding>
        <strength value="required" />
        <valueSetUri value="https://fhir.iknl.nl/fhir/PZP/ValueSet/ValueSet-ACP-LivingWillType" />
      </binding>
    </element>
    <element id="Consent.category:typeOfLivingWill.coding.code">
      <path value="Consent.category.coding.code" />
      <mustSupport value="false" />
    </element>
    <element id="Consent.patient">
      <path value="Consent.patient" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://fhir.iknl.nl/fhir/PZP/StructureDefinition/StructureDefinition-ACP-Patient" />
      </type>
    </element>
  </differential>
</StructureDefinition>