<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="StructureDefinition-ACP-Communication" />
  <url value="https://fhir.iknl.nl/fhir/PZP/StructureDefinition/StructureDefinition-ACP-Communication" />
  <name value="ACPCommunication" />
  <title value="ACP Communication" />
  <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="Communication" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Communication" />
  <derivation value="constraint" />
  <differential>
    <element id="Communication">
      <path value="Communication" />
      <definition value="A profile that indicates that the Practitioner informed the Patient about their personal responsibility to communicate the agreed treatment decisions with their relatives or close contacts." />
      <comment value="An instance of this profile is created only when the Practitioner has informed the Patient of their personal responsibility to communicate the agreed treatment decisions to their relatives or close contacts. Meaning, the answer to the question &quot;Heeft u patient geinformeerd over eigen verantwoordelijkheid om dee behandelafspraken met naasten te bespreken?&quot; in the ACP Form is &quot;Yes&quot;." />
    </element>
    <element id="Communication.status">
      <path value="Communication.status" />
      <comment value="An instance of this profile is only created when the Practitioner has informed the Patient about their personal responsibility to communicate the agreed treatment decisions with their relatives or close contacts.  Therefore the `.status` has been set to &quot;completed&quot;." />
      <patternCode value="completed" />
    </element>
    <element id="Communication.category.coding.system">
      <path value="Communication.category.coding.system" />
      <patternUri value="http://snomed.info/sct" />
    </element>
    <element id="Communication.category.coding.code">
      <path value="Communication.category.coding.code" />
      <patternCode value="223449006" />
    </element>
    <element id="Communication.subject">
      <path value="Communication.subject" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://fhir.iknl.nl/fhir/PZP/StructureDefinition/StructureDefinition-ACP-Patient" />
      </type>
    </element>
    <element id="Communication.recipient">
      <path value="Communication.recipient" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://fhir.iknl.nl/fhir/PZP/StructureDefinition/StructureDefinition-ACP-Patient" />
      </type>
    </element>
    <element id="Communication.context">
      <path value="Communication.context" />
      <definition value="The link to the conversation between the Practitioner and the Patient in which the Practitioner informs the Patient of their personal responsibility to share the agreed treatment decisions with their relatives or close contacts." />
      <type>
        <code value="Reference" />
        <targetProfile value="https://fhir.iknl.nl/fhir/PZP/StructureDefinition/StructureDefinition-ACP-Consultation" />
        <aggregation value="referenced" />
      </type>
    </element>
    <element id="Communication.sender">
      <path value="Communication.sender" />
      <definition value="The Practitioner that informed the Patient about their personal responsibility to communicate the agreed treatment decisions with their relatives or close contacts." />
      <type>
        <code value="Reference" />
        <targetProfile value="https://fhir.iknl.nl/fhir/PZP/StructureDefinition/StructureDefinition-ACP-Practitioner" />
      </type>
    </element>
    <element id="Communication.payload.content[x]:contentString">
      <path value="Communication.payload.contentString" />
      <sliceName value="contentString" />
      <type>
        <code value="string" />
      </type>
    </element>
  </differential>
</StructureDefinition>