{
  "resourceType": "StructureDefinition",
  "id": "FBETA-PR-DIGA-COS-CarePlan",
  "url": "https://fbeta.de/StructureDefinition/FBETA_PR_DIGA_COS_CarePlan",
  "version": "1.0.0",
  "name": "FBETA_PR_DIGA_COS_CarePlan",
  "title": "FBETA_PR_DIGA_COS_CarePlan",
  "status": "active",
  "publisher": "fbeta GmbH",
  "description": "Dieses Profil bildet einen Therapielan zur Prävention cognitiven Störungen ab.",
  "copyright": "Im folgenden Profil können Codes aus den Codesystemen Snomed, Loinc oder Ucum enthalten sein, die dem folgenden Urheberrecht unterliegen: This material includes SNOMED Clinical Terms® SNOMED CT® which is used by permission of SNOMED International. All rights reserved. SNOMED CT®, was originally created by The College of American Pathologists. SNOMED and SNOMED CT are registered trademarks of SNOMED International. Implementers of these artefacts must have the appropriate SNOMED CT Affiliate license. This material contains content from Loinc http://loinc.org. Loinc is copyright © 1995-2020, Regenstrief Institute, Inc. and the Logical Observation Identifiers Names and Codes Loinc Committee and is available at no cost under the license at http://loinc.org/license. Loinc® is a registered United States trademark of Regenstrief Institute, Inc. This product includes all or a portion of the UCUM table, UCUM codes, and UCUM definitions or is derived from it, subject to a license from Regenstrief Institute, Inc. and The UCUM Organization. Your use of the UCUM table, UCUM codes, UCUM definitions also is subject to this license, a copy of which is available at ​http://unitsofmeasure.org. The current complete UCUM table, UCUM Specification are available for download at ​http://unitsofmeasure.org. The UCUM table and UCUM codes are copyright © 1995-2009, Regenstrief Institute, Inc. and the Unified Codes for Units of Measures UCUM Organization. All rights reserved. THE UCUM TABLE IN ALL FORMATS, UCUM DEFINITIONS, AND SPECIFICATION ARE PROVIDED \"AS IS.\" ANY EXPRESS OR IMPLIED WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "CarePlan",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/CarePlan",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "CarePlan",
        "path": "CarePlan",
        "definition": "Dieses Profil bildet einen Plan ab. Pläne können z.B. Behandlungspläne oder Fitnesspläne sein."
      },
      {
        "id": "CarePlan.meta",
        "path": "CarePlan.meta",
        "min": 1
      },
      {
        "id": "CarePlan.meta.versionId",
        "path": "CarePlan.meta.versionId",
        "min": 1
      },
      {
        "id": "CarePlan.meta.lastUpdated",
        "path": "CarePlan.meta.lastUpdated",
        "min": 1
      },
      {
        "id": "CarePlan.meta.source",
        "path": "CarePlan.meta.source",
        "max": "0"
      },
      {
        "id": "CarePlan.meta.profile",
        "path": "CarePlan.meta.profile",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "$this"
            }
          ],
          "rules": "open"
        },
        "min": 1
      },
      {
        "id": "CarePlan.meta.profile:cosProfile",
        "path": "CarePlan.meta.profile",
        "sliceName": "cosProfile",
        "min": 1,
        "max": "1",
        "patternCanonical": "https://fbeta.de/StructureDefinition/FBETA_PR_DIGA_COS_CarePlan|1.0.0"
      },
      {
        "id": "CarePlan.meta.security",
        "path": "CarePlan.meta.security",
        "max": "0"
      },
      {
        "id": "CarePlan.meta.tag",
        "path": "CarePlan.meta.tag",
        "max": "0"
      },
      {
        "id": "CarePlan.implicitRules",
        "path": "CarePlan.implicitRules",
        "max": "0"
      },
      {
        "id": "CarePlan.language",
        "path": "CarePlan.language",
        "max": "0"
      },
      {
        "id": "CarePlan.text",
        "path": "CarePlan.text",
        "definition": "In diesem Element können die, in der Instanz, enthaltenen Informationen in einer menschenlesbaren Form zusammengefasst werden. Dabei ist zu beachten, dass keine Informationen aufgenommen werden dürfen, die nicht in strukturierter Form an anderer Stelle in der Instanz enthalten sind."
      },
      {
        "id": "CarePlan.text.status",
        "path": "CarePlan.text.status",
        "fixedCode": "extensions"
      },
      {
        "id": "CarePlan.contained",
        "path": "CarePlan.contained",
        "max": "0"
      },
      {
        "id": "CarePlan.identifier",
        "path": "CarePlan.identifier",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "CarePlan.identifier.use",
        "path": "CarePlan.identifier.use",
        "max": "0"
      },
      {
        "id": "CarePlan.identifier.type",
        "path": "CarePlan.identifier.type",
        "min": 1,
        "patternCodeableConcept": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
              "version": "2.9",
              "code": "RI",
              "display": "Resource identifier"
            }
          ]
        }
      },
      {
        "id": "CarePlan.identifier.type.coding",
        "path": "CarePlan.identifier.type.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "CarePlan.identifier.type.coding.system",
        "path": "CarePlan.identifier.type.coding.system",
        "min": 1
      },
      {
        "id": "CarePlan.identifier.type.coding.version",
        "path": "CarePlan.identifier.type.coding.version",
        "min": 1
      },
      {
        "id": "CarePlan.identifier.type.coding.code",
        "path": "CarePlan.identifier.type.coding.code",
        "min": 1
      },
      {
        "id": "CarePlan.identifier.type.coding.display",
        "path": "CarePlan.identifier.type.coding.display",
        "min": 1
      },
      {
        "id": "CarePlan.identifier.type.coding.userSelected",
        "path": "CarePlan.identifier.type.coding.userSelected",
        "max": "0"
      },
      {
        "id": "CarePlan.identifier.type.text",
        "path": "CarePlan.identifier.type.text",
        "max": "0"
      },
      {
        "id": "CarePlan.identifier.system",
        "path": "CarePlan.identifier.system",
        "min": 1,
        "fixedUri": "urn:ietf:rfc:3986",
        "mustSupport": true
      },
      {
        "id": "CarePlan.identifier.value",
        "path": "CarePlan.identifier.value",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "CarePlan.identifier.period",
        "path": "CarePlan.identifier.period",
        "max": "0"
      },
      {
        "id": "CarePlan.identifier.assigner",
        "path": "CarePlan.identifier.assigner",
        "max": "0"
      },
      {
        "id": "CarePlan.instantiatesCanonical",
        "path": "CarePlan.instantiatesCanonical",
        "max": "0"
      },
      {
        "id": "CarePlan.instantiatesUri",
        "path": "CarePlan.instantiatesUri",
        "max": "0"
      },
      {
        "id": "CarePlan.basedOn",
        "path": "CarePlan.basedOn",
        "max": "0"
      },
      {
        "id": "CarePlan.replaces",
        "path": "CarePlan.replaces",
        "max": "0",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_CarePlan|1.1.0"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "CarePlan.replaces.reference",
        "path": "CarePlan.replaces.reference",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "CarePlan.replaces.type",
        "path": "CarePlan.replaces.type",
        "max": "0"
      },
      {
        "id": "CarePlan.replaces.identifier",
        "path": "CarePlan.replaces.identifier",
        "max": "0"
      },
      {
        "id": "CarePlan.replaces.display",
        "path": "CarePlan.replaces.display",
        "max": "0"
      },
      {
        "id": "CarePlan.partOf",
        "path": "CarePlan.partOf",
        "max": "0"
      },
      {
        "id": "CarePlan.status",
        "path": "CarePlan.status",
        "mustSupport": true
      },
      {
        "id": "CarePlan.intent",
        "path": "CarePlan.intent",
        "patternCode": "plan",
        "mustSupport": true
      },
      {
        "id": "CarePlan.category",
        "path": "CarePlan.category",
        "max": "0"
      },
      {
        "id": "CarePlan.title",
        "path": "CarePlan.title",
        "mustSupport": true
      },
      {
        "id": "CarePlan.description",
        "path": "CarePlan.description",
        "max": "0"
      },
      {
        "id": "CarePlan.subject",
        "path": "CarePlan.subject",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Patient|1.1.0"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "CarePlan.subject.reference",
        "path": "CarePlan.subject.reference",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "CarePlan.subject.type",
        "path": "CarePlan.subject.type",
        "max": "0"
      },
      {
        "id": "CarePlan.subject.identifier",
        "path": "CarePlan.subject.identifier",
        "max": "0"
      },
      {
        "id": "CarePlan.subject.display",
        "path": "CarePlan.subject.display",
        "max": "0"
      },
      {
        "id": "CarePlan.encounter",
        "path": "CarePlan.encounter",
        "max": "0"
      },
      {
        "id": "CarePlan.period",
        "path": "CarePlan.period",
        "max": "0"
      },
      {
        "id": "CarePlan.created",
        "path": "CarePlan.created",
        "max": "0"
      },
      {
        "id": "CarePlan.author",
        "path": "CarePlan.author",
        "max": "0",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Patient|1.1.0",
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Practitioner|1.1.0",
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_RelatedPerson|1.1.0",
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_PractitionerRole|1.1.0"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "CarePlan.author.reference",
        "path": "CarePlan.author.reference",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "CarePlan.author.type",
        "path": "CarePlan.author.type",
        "max": "0"
      },
      {
        "id": "CarePlan.author.identifier",
        "path": "CarePlan.author.identifier",
        "max": "0"
      },
      {
        "id": "CarePlan.author.display",
        "path": "CarePlan.author.display",
        "max": "0"
      },
      {
        "id": "CarePlan.contributor",
        "path": "CarePlan.contributor",
        "max": "0"
      },
      {
        "id": "CarePlan.careTeam",
        "path": "CarePlan.careTeam",
        "max": "0"
      },
      {
        "id": "CarePlan.addresses",
        "path": "CarePlan.addresses",
        "max": "0"
      },
      {
        "id": "CarePlan.supportingInfo",
        "path": "CarePlan.supportingInfo",
        "max": "0"
      },
      {
        "id": "CarePlan.goal",
        "path": "CarePlan.goal",
        "max": "0",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Goal|1.1.0"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "CarePlan.goal.reference",
        "path": "CarePlan.goal.reference",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "CarePlan.goal.type",
        "path": "CarePlan.goal.type",
        "max": "0"
      },
      {
        "id": "CarePlan.goal.identifier",
        "path": "CarePlan.goal.identifier",
        "max": "0"
      },
      {
        "id": "CarePlan.goal.display",
        "path": "CarePlan.goal.display",
        "max": "0"
      },
      {
        "id": "CarePlan.activity",
        "path": "CarePlan.activity",
        "mustSupport": true
      },
      {
        "id": "CarePlan.activity.outcomeCodeableConcept",
        "path": "CarePlan.activity.outcomeCodeableConcept",
        "mustSupport": true
      },
      {
        "id": "CarePlan.activity.outcomeCodeableConcept.coding",
        "path": "CarePlan.activity.outcomeCodeableConcept.coding",
        "mustSupport": true
      },
      {
        "id": "CarePlan.activity.outcomeCodeableConcept.coding.system",
        "path": "CarePlan.activity.outcomeCodeableConcept.coding.system",
        "min": 1
      },
      {
        "id": "CarePlan.activity.outcomeCodeableConcept.coding.version",
        "path": "CarePlan.activity.outcomeCodeableConcept.coding.version",
        "min": 1
      },
      {
        "id": "CarePlan.activity.outcomeCodeableConcept.coding.code",
        "path": "CarePlan.activity.outcomeCodeableConcept.coding.code",
        "min": 1
      },
      {
        "id": "CarePlan.activity.outcomeCodeableConcept.coding.display",
        "path": "CarePlan.activity.outcomeCodeableConcept.coding.display",
        "min": 1
      },
      {
        "id": "CarePlan.activity.outcomeCodeableConcept.coding.userSelected",
        "path": "CarePlan.activity.outcomeCodeableConcept.coding.userSelected",
        "max": "0"
      },
      {
        "id": "CarePlan.activity.outcomeCodeableConcept.text",
        "path": "CarePlan.activity.outcomeCodeableConcept.text",
        "mustSupport": true
      },
      {
        "id": "CarePlan.activity.outcomeReference",
        "path": "CarePlan.activity.outcomeReference",
        "max": "0"
      },
      {
        "id": "CarePlan.activity.progress",
        "path": "CarePlan.activity.progress",
        "max": "0"
      },
      {
        "id": "CarePlan.activity.reference",
        "path": "CarePlan.activity.reference",
        "max": "0"
      },
      {
        "id": "CarePlan.activity.detail",
        "path": "CarePlan.activity.detail",
        "mustSupport": true
      },
      {
        "id": "CarePlan.activity.detail.extension",
        "path": "CarePlan.activity.detail.extension",
        "slicing": {
          "ordered": true,
          "rules": "closed"
        }
      },
      {
        "id": "CarePlan.activity.detail.extension:grund",
        "path": "CarePlan.activity.detail.extension",
        "sliceName": "grund",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://fhir.kbv.de/StructureDefinition/KBV_EX_MIO_DIGA_Reference"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "CarePlan.activity.detail.extension:grund.value[x]",
        "path": "CarePlan.activity.detail.extension.value[x]",
        "min": 1
      },
      {
        "id": "CarePlan.activity.detail.extension:grund.value[x]:valueReference",
        "path": "CarePlan.activity.detail.extension.value[x]",
        "sliceName": "valueReference",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fbeta.de/StructureDefinition/FBETA_PR_DIGA_COS_Condition_Diagnosis|1.0.0"
            ]
          }
        ]
      },
      {
        "id": "CarePlan.activity.detail.kind",
        "path": "CarePlan.activity.detail.kind",
        "max": "0"
      },
      {
        "id": "CarePlan.activity.detail.instantiatesCanonical",
        "path": "CarePlan.activity.detail.instantiatesCanonical",
        "max": "0"
      },
      {
        "id": "CarePlan.activity.detail.instantiatesUri",
        "path": "CarePlan.activity.detail.instantiatesUri",
        "max": "0"
      },
      {
        "id": "CarePlan.activity.detail.code",
        "path": "CarePlan.activity.detail.code",
        "mustSupport": true
      },
      {
        "id": "CarePlan.activity.detail.code.coding",
        "path": "CarePlan.activity.detail.code.coding",
        "mustSupport": true
      },
      {
        "id": "CarePlan.activity.detail.code.text",
        "path": "CarePlan.activity.detail.code.text",
        "mustSupport": true
      },
      {
        "id": "CarePlan.activity.detail.reasonCode",
        "path": "CarePlan.activity.detail.reasonCode",
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "CarePlan.activity.detail.reasonCode.coding",
        "path": "CarePlan.activity.detail.reasonCode.coding",
        "mustSupport": true
      },
      {
        "id": "CarePlan.activity.detail.reasonCode.coding.system",
        "path": "CarePlan.activity.detail.reasonCode.coding.system",
        "min": 1
      },
      {
        "id": "CarePlan.activity.detail.reasonCode.coding.version",
        "path": "CarePlan.activity.detail.reasonCode.coding.version",
        "min": 1
      },
      {
        "id": "CarePlan.activity.detail.reasonCode.coding.code",
        "path": "CarePlan.activity.detail.reasonCode.coding.code",
        "min": 1
      },
      {
        "id": "CarePlan.activity.detail.reasonCode.coding.display",
        "path": "CarePlan.activity.detail.reasonCode.coding.display",
        "min": 1
      },
      {
        "id": "CarePlan.activity.detail.reasonCode.coding.userSelected",
        "path": "CarePlan.activity.detail.reasonCode.coding.userSelected",
        "max": "0"
      },
      {
        "id": "CarePlan.activity.detail.reasonCode.text",
        "path": "CarePlan.activity.detail.reasonCode.text",
        "mustSupport": true
      },
      {
        "id": "CarePlan.activity.detail.reasonReference",
        "path": "CarePlan.activity.detail.reasonReference",
        "max": "0"
      },
      {
        "id": "CarePlan.activity.detail.goal",
        "path": "CarePlan.activity.detail.goal",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Goal|1.1.0"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "CarePlan.activity.detail.goal.reference",
        "path": "CarePlan.activity.detail.goal.reference",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "CarePlan.activity.detail.goal.type",
        "path": "CarePlan.activity.detail.goal.type",
        "max": "0"
      },
      {
        "id": "CarePlan.activity.detail.goal.identifier",
        "path": "CarePlan.activity.detail.goal.identifier",
        "max": "0"
      },
      {
        "id": "CarePlan.activity.detail.goal.display",
        "path": "CarePlan.activity.detail.goal.display",
        "max": "0"
      },
      {
        "id": "CarePlan.activity.detail.status",
        "path": "CarePlan.activity.detail.status",
        "mustSupport": true
      },
      {
        "id": "CarePlan.activity.detail.statusReason",
        "path": "CarePlan.activity.detail.statusReason",
        "max": "0"
      },
      {
        "id": "CarePlan.activity.detail.doNotPerform",
        "path": "CarePlan.activity.detail.doNotPerform",
        "mustSupport": true
      },
      {
        "id": "CarePlan.activity.detail.scheduled[x]",
        "path": "CarePlan.activity.detail.scheduled[x]",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "rules": "closed"
        },
        "type": [
          {
            "code": "Period"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "CarePlan.activity.detail.scheduled[x]:scheduledPeriod",
        "path": "CarePlan.activity.detail.scheduled[x]",
        "sliceName": "scheduledPeriod",
        "type": [
          {
            "code": "Period"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "CarePlan.activity.detail.scheduled[x]:scheduledPeriod.start",
        "path": "CarePlan.activity.detail.scheduled[x].start",
        "mustSupport": true
      },
      {
        "id": "CarePlan.activity.detail.scheduled[x]:scheduledPeriod.end",
        "path": "CarePlan.activity.detail.scheduled[x].end",
        "mustSupport": true
      },
      {
        "id": "CarePlan.activity.detail.location",
        "path": "CarePlan.activity.detail.location",
        "max": "0"
      },
      {
        "id": "CarePlan.activity.detail.performer",
        "path": "CarePlan.activity.detail.performer",
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Patient|1.1.0"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "CarePlan.activity.detail.performer.reference",
        "path": "CarePlan.activity.detail.performer.reference",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "CarePlan.activity.detail.performer.type",
        "path": "CarePlan.activity.detail.performer.type",
        "max": "0"
      },
      {
        "id": "CarePlan.activity.detail.performer.identifier",
        "path": "CarePlan.activity.detail.performer.identifier",
        "max": "0"
      },
      {
        "id": "CarePlan.activity.detail.performer.display",
        "path": "CarePlan.activity.detail.performer.display",
        "max": "0"
      },
      {
        "id": "CarePlan.activity.detail.product[x]",
        "path": "CarePlan.activity.detail.product[x]",
        "max": "0"
      },
      {
        "id": "CarePlan.activity.detail.dailyAmount",
        "path": "CarePlan.activity.detail.dailyAmount",
        "max": "0"
      },
      {
        "id": "CarePlan.activity.detail.quantity",
        "path": "CarePlan.activity.detail.quantity",
        "mustSupport": true
      },
      {
        "id": "CarePlan.activity.detail.quantity.value",
        "path": "CarePlan.activity.detail.quantity.value",
        "min": 1
      },
      {
        "id": "CarePlan.activity.detail.quantity.unit",
        "path": "CarePlan.activity.detail.quantity.unit",
        "min": 1
      },
      {
        "id": "CarePlan.activity.detail.quantity.system",
        "path": "CarePlan.activity.detail.quantity.system",
        "min": 1
      },
      {
        "id": "CarePlan.activity.detail.quantity.code",
        "path": "CarePlan.activity.detail.quantity.code",
        "min": 1
      },
      {
        "id": "CarePlan.activity.detail.description",
        "path": "CarePlan.activity.detail.description",
        "mustSupport": true
      },
      {
        "id": "CarePlan.note",
        "path": "CarePlan.note",
        "max": "0",
        "mustSupport": true
      },
      {
        "id": "CarePlan.note.author[x]",
        "path": "CarePlan.note.author[x]",
        "max": "0"
      },
      {
        "id": "CarePlan.note.time",
        "path": "CarePlan.note.time",
        "max": "0"
      },
      {
        "id": "CarePlan.note.text",
        "path": "CarePlan.note.text",
        "mustSupport": true
      }
    ]
  }
}