<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="StructureDefinition-ACP-Consultation" />
  <url value="https://fhir.iknl.nl/fhir/PZP/StructureDefinition/StructureDefinition-ACP-Consultation" />
  <name value="ACP Consultation" />
  <title value="ACP Consultation" />
  <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="Encounter" />
  <baseDefinition value="http://nictiz.nl/fhir/StructureDefinition/zib-Encounter" />
  <derivation value="constraint" />
  <differential>
    <element id="Encounter">
      <path value="Encounter" />
      <definition value="[TO-DO] The conversation between Practitioner and a Patient and/or the Patient's Legal Representative to record agreements resulting from the process of proactive care planning." />
      <comment value="[TO-DO]" />
    </element>
    <element id="Encounter.subject">
      <path value="Encounter.subject" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://fhir.iknl.nl/fhir/PZP/StructureDefinition/StructureDefinition-ACP-Patient" />
      </type>
    </element>
    <element id="Encounter.participant">
      <path value="Encounter.participant" />
      <short value="List of participants involved in the encounter, Gesprek gevoerd in bijzijn van" />
      <comment value="[TO-DO] In the context of Advance Care Planning (ACP) this elements links to all the participants in the conversations between a Practitioner and a Patients and/or a Patient's Legal Representative." />
    </element>
    <element id="Encounter.participant.individual">
      <path value="Encounter.participant.individual" />
      <definition value="The healthcare provider, related person with whom the contact took place. The specialty and role of the healthcare provider can be entered in the HealthcareProvider information model as well. By adding the patient as a reference it can be defined whether the patient was present in the encounter (fysically or digital)." />
      <type>
        <code value="Reference" />
        <targetProfile value="https://fhir.iknl.nl/fhir/PZP/StructureDefinition/StructureDefinition-ACP-RelatedPerson" />
      </type>
      <type>
        <code value="Reference" />
        <targetProfile value="https://fhir.iknl.nl/fhir/PZP/StructureDefinition/StructureDefinition-ACP-Patient" />
      </type>
      <type>
        <code value="Reference" />
        <targetProfile value="https://fhir.iknl.nl/fhir/PZP/StructureDefinition/StructureDefinition-ACP-PractitionerRole" />
      </type>
      <mustSupport value="true" />
    </element>
    <element id="Encounter.period.start">
      <path value="Encounter.period.start" />
      <short value="Datum van invullen" />
      <definition value="[TO-DO] Date and, if applicable, time at which the event to which the information relates occurred. This is the medically relevant date and time." />
      <mustSupport value="true" />
    </element>
  </differential>
</StructureDefinition>