{
  "resourceType": "StructureDefinition",
  "id": "StructureDefinition-ACP-Communication",
  "url": "https://fhir.iknl.nl/fhir/PZP/StructureDefinition/StructureDefinition-ACP-Communication",
  "name": "ACPCommunication",
  "title": "ACP Communication",
  "status": "draft",
  "publisher": "IKNL",
  "contact": [
    {
      "name": "IKNL",
      "telecom": [
        {
          "system": "email",
          "value": "info@iknl.nl",
          "use": "work"
        }
      ]
    }
  ],
  "description": "[TO-DO]",
  "fhirVersion": "3.0.2",
  "mapping": [
    {
      "identity": "pzp-dataset-100-beta1-2025-TO-DO",
      "uri": "[TO-DO]",
      "name": "ART-DECOR Dataset Proactieve Zorgplanning 1.0.0-beta.1 [TO-DO]"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Communication",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Communication",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Communication",
        "path": "Communication",
        "definition": "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": "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 \"Heeft u patient geinformeerd over eigen verantwoordelijkheid om dee behandelafspraken met naasten te bespreken?\" in the ACP Form is \"Yes\"."
      },
      {
        "id": "Communication.status",
        "path": "Communication.status",
        "comment": "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 \"completed\".",
        "patternCode": "completed"
      },
      {
        "id": "Communication.category.coding.system",
        "path": "Communication.category.coding.system",
        "patternUri": "http://snomed.info/sct"
      },
      {
        "id": "Communication.category.coding.code",
        "path": "Communication.category.coding.code",
        "patternCode": "223449006"
      },
      {
        "id": "Communication.subject",
        "path": "Communication.subject",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "https://fhir.iknl.nl/fhir/PZP/StructureDefinition/StructureDefinition-ACP-Patient"
          }
        ]
      },
      {
        "id": "Communication.recipient",
        "path": "Communication.recipient",
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "https://fhir.iknl.nl/fhir/PZP/StructureDefinition/StructureDefinition-ACP-Patient"
          }
        ]
      },
      {
        "id": "Communication.context",
        "path": "Communication.context",
        "definition": "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": "Reference",
            "targetProfile": "https://fhir.iknl.nl/fhir/PZP/StructureDefinition/StructureDefinition-ACP-Consultation",
            "aggregation": [
              "referenced"
            ]
          }
        ]
      },
      {
        "id": "Communication.sender",
        "path": "Communication.sender",
        "definition": "The Practitioner that informed the Patient about their personal responsibility to communicate the agreed treatment decisions with their relatives or close contacts.",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "https://fhir.iknl.nl/fhir/PZP/StructureDefinition/StructureDefinition-ACP-Practitioner"
          }
        ]
      },
      {
        "id": "Communication.payload.content[x]:contentString",
        "path": "Communication.payload.contentString",
        "sliceName": "contentString",
        "type": [
          {
            "code": "string"
          }
        ]
      }
    ]
  }
}