{
  "resourceType": "StructureDefinition",
  "id": "IRD-CarePlan",
  "url": "https://health.linova.de/fhir/v1/IRD/CarePlan",
  "version": "1.0.0",
  "name": "IRD_CarePlan",
  "status": "draft",
  "fhirVersion": "4.0.1",
  "kind": "complex-type",
  "derivation": "specialization",
  "abstract": true,
  "type": "CarePlan",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/CarePlan",
  "differential": {
    "element": [
      {
        "id": "CarePlan",
        "path": "CarePlan",
        "definition": "A CarePlan represents the planned exercises for a patient which should be executed within a certain timeframe."
      },
      {
        "id": "CarePlan.period",
        "path": "CarePlan.period",
        "definition": "The time period the CarePlan is intended to be executed by the patient or was executed."
      },
      {
        "id": "CarePlan.subject",
        "path": "CarePlan.subject",
        "definition": "The patient this CarePlan is intended for.",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://health.linova.de/fhir/v1/IRD/Patient"
            ]
          }
        ]
      },
      {
        "id": "CarePlan.author",
        "path": "CarePlan.author",
        "definition": "Author of the CarePlan - either an algorithm or Practitioner",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://health.linova.de/fhir/v1/IRD/CarePlan_Algorithm",
              "https://health.linova.de/fhir/v1/IRD/PractitionerRole"
            ]
          }
        ]
      },
      {
        "id": "CarePlan.goal",
        "path": "CarePlan.goal",
        "definition": "Each CarePlan defines a goal which it aims to reach. At the end of a CarePlan the goal can be assessed and verified whether it was reached by the patient.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://health.linova.de/fhir/v1/IRD/Goal"
            ]
          }
        ]
      },
      {
        "id": "CarePlan.activity.reference",
        "path": "CarePlan.activity.reference",
        "definition": "Reference to the activity which the patient should execute.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://health.linova.de/fhir/v1/IRD/Task"
            ]
          }
        ]
      }
    ]
  }
}