{
  "resourceType": "StructureDefinition",
  "id": "StructureDefinition-ACP-AdvanceDirective",
  "url": "https://fhir.iknl.nl/fhir/PZP/StructureDefinition/StructureDefinition-ACP-AdvanceDirective",
  "name": "ACPAdvanceDirective",
  "title": "ACP Advance Directive",
  "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": "Consent",
  "baseDefinition": "http://nictiz.nl/fhir/StructureDefinition/zib-AdvanceDirective",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Consent.category:typeOfLivingWill",
        "path": "Consent.category",
        "sliceName": "typeOfLivingWill",
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "valueSetUri": "https://fhir.iknl.nl/fhir/PZP/ValueSet/ValueSet-ACP-LivingWillType"
        }
      },
      {
        "id": "Consent.category:typeOfLivingWill.coding.code",
        "path": "Consent.category.coding.code",
        "mustSupport": false
      },
      {
        "id": "Consent.patient",
        "path": "Consent.patient",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "https://fhir.iknl.nl/fhir/PZP/StructureDefinition/StructureDefinition-ACP-Patient"
          }
        ]
      }
    ]
  }
}