{
  "resourceType": "StructureDefinition",
  "id": "StructureDefinition-ACP-AgreedMedicalPolicy",
  "url": "https://fhir.iknl.nl/fhir/PZP/StructureDefinition/StructureDefinition-ACP-AgreedMedicalPolicy",
  "name": "ACPAgreedMedicalPolicy",
  "title": "ACP Agreed Medical Policy",
  "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": "Observation",
  "baseDefinition": "http://nictiz.nl/fhir/StructureDefinition/zib-GeneralMeasurement",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Observation",
        "path": "Observation",
        "short": "GeneralMeasurement, Belangrijkste overeengekomen doel van behandeling",
        "definition": "[TO-DO] The main agreed goal of treatment."
      },
      {
        "id": "Observation.status.value",
        "path": "Observation.status.value",
        "type": [
          {}
        ]
      },
      {
        "id": "Observation.code",
        "path": "Observation.code",
        "patternCodeableConcept": {
          "coding": [
            {
              "system": "http://snomed.info/sct",
              "code": "180771000146100"
            }
          ]
        }
      },
      {
        "id": "Observation.code.coding.system",
        "path": "Observation.code.coding.system",
        "mustSupport": true
      },
      {
        "id": "Observation.code.coding.code",
        "path": "Observation.code.coding.code",
        "mustSupport": true
      },
      {
        "id": "Observation.subject",
        "path": "Observation.subject",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device"
          },
          {
            "code": "Reference",
            "targetProfile": "http://fhir.nl/fhir/StructureDefinition/nl-core-location"
          },
          {
            "code": "Reference",
            "targetProfile": "https://fhir.iknl.nl/fhir/PZP/StructureDefinition/StructureDefinition-ACP-Patient"
          }
        ]
      },
      {
        "id": "Observation.context",
        "path": "Observation.context",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://fhir.nl/fhir/StructureDefinition/nl-core-episodeofcare"
          },
          {
            "code": "Reference",
            "targetProfile": "https://fhir.iknl.nl/fhir/PZP/StructureDefinition/StructureDefinition-ACP-Encounter"
          }
        ]
      },
      {
        "id": "Observation.value[x]:valueCodeableConcept",
        "path": "Observation.valueCodeableConcept",
        "sliceName": "valueCodeableConcept",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": true,
        "binding": {
          "strength": "extensible",
          "valueSetUri": "https://fhir.iknl.nl/fhir/PZP/ValueSet/ValueSet-ACP-Goal"
        }
      }
    ]
  }
}