{
  "resourceType": "StructureDefinition",
  "id": "StructureDefinition-ACP-RelatedPerson",
  "url": "https://fhir.iknl.nl/fhir/PZP/StructureDefinition/StructureDefinition-ACP-RelatedPerson",
  "name": "ACPRelatedPerson",
  "title": "ACP Related Person",
  "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": "RelatedPerson",
  "baseDefinition": "http://fhir.nl/fhir/StructureDefinition/nl-core-relatedperson",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "RelatedPerson",
        "path": "RelatedPerson",
        "short": "An person that is related to a patient, but who is not a direct target of care, Wettelijk Vertegenwoordiger",
        "comment": "[TO-DO] In the context of Advance Care Planning (ACP), a RelatedPerson refers to an individual who acts as the Patient’s Legal Representative when the Patient is not legally capable of making decisions themselves. This person participates in discussions and makes agreements on behalf of the Patient. A RelatedPerson may be a legal guardian (such as a mentor or curator), an authorized representative, spouse or partner, parent, child, sibling, or another designated individual."
      },
      {
        "id": "RelatedPerson.extension:role",
        "path": "RelatedPerson.extension",
        "sliceName": "role",
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.patient",
        "path": "RelatedPerson.patient",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "https://fhir.iknl.nl/fhir/PZP/StructureDefinition/StructureDefinition-ACP-Patient"
          }
        ]
      },
      {
        "id": "RelatedPerson.relationship",
        "path": "RelatedPerson.relationship",
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.name",
        "path": "RelatedPerson.name",
        "mustSupport": false
      },
      {
        "id": "RelatedPerson.name.family.extension:humannameOwnPrefix",
        "path": "RelatedPerson.name.family.extension",
        "sliceName": "humannameOwnPrefix",
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.name.family.extension:humannameOwnName",
        "path": "RelatedPerson.name.family.extension",
        "sliceName": "humannameOwnName",
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.name.given",
        "path": "RelatedPerson.name.given",
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.telecom",
        "path": "RelatedPerson.telecom",
        "mustSupport": true
      }
    ]
  }
}