{
  "resourceType": "StructureDefinition",
  "id": "KBV-PR-PTV-CarePlan",
  "url": "https://fhir.kbv.de/StructureDefinition/KBV_PR_PTV_CarePlan",
  "version": "1.0.0",
  "name": "KBV_PR_PTV_CarePlan",
  "status": "draft",
  "date": "2026-05-01",
  "publisher": "Kassenärztliche Bundesvereinigung (KBV)",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://www.kbv.de"
        }
      ]
    }
  ],
  "description": "Das Profil bildet die Antragsdaten für eine psychotherapeutische Behandlung ab.",
  "copyright": "Copyright © [2025], Kassenärztliche Bundesvereinigung (KBV). All rights reserved. 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 &quot;AS IS.&quot; 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",
        "short": "Antragsdaten für den Erstantrag Psyhotherapiebehandlung",
        "definition": "Dieses Profil stellt die gesamten Daten zum Antrag auf Psychotherapie dar. Diese Daten werden vom Psychotherapeuten an die Krankenkasse gesendet. In diesem Profil können Angaben zur Art und Umfang der Psychotherapie sowie zu begründenden Diagnosen gemacht werden",
        "constraint": [
          {
            "key": "-PTV-angabeDurchfuehrungKombinationsbehandlungPflicht",
            "severity": "error",
            "human": "Wird beim Antrag einer psychotherapeutischen Behandlung das Setting der Kombinationsbehandlungen (überwiegend Einzel oder überwiegend Gruppe) ausgewählt, müssen ebenfalls Angaben zur Durchführungsart (Alleinige Durchführung oder durch Zwei Therapeuten) dieser Kombinationsbehandlung gemacht werden.",
            "expression": "Setting.valueCodeableConcept.coding    .where(    system = 'https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_PTV_Setting' and (code = 'Kombi_E' or code = 'Kombi_G')).exists() implies Durchfuehrung_Kombinationsbehandlung.value[x].exists()"
          },
          {
            "key": "-PTV-angabeSettingKombinationsbehandlungPflicht",
            "severity": "error",
            "human": "Wird beim Antrag einer psychotherapeutischen Behandlung eine Kombination aus Einzel- und Gruppentherapie durch zwei Psychotherapeuten ausgewählt, muss ebenfalls angegeben werden, ob in der beantragenden Praxis die Einzel- oder die Gruppentherapie durchgeführt wird.",
            "expression": "Durchfuehrung_Kombinationsbehandlung.valueCodeableConcept.coding    .where(    system = 'https://fhir.kbv.de/CodeSystem/KBV_CS_PTV_Combination_Therapy_Number_Of_Therapists' and (code = 'Duett' )).exists() implies Setting_Kombinationsbehandlung.value[x].exists()"
          },
          {
            "key": "-PTV-angabeErbrachteTherapieeinheitenPflicht",
            "severity": "error",
            "human": "Falls eine Kurzzeittherapie nach einer Akutbehandlung (Antragsart) beantragt wird, muss die Anzahl der erbrachten bzw. geplanten Therapieeinheiten der Akutbehandlung angegeben werden.",
            "expression": "Antragsart.valueCodeableConcept.coding    .where(    system = 'https://fhir.kbv.de/CodeSystem/KBV_CS_PTV_Application_Type' and (code = 'KZT1_nach_Akutbehandlung' or code = 'KZT2_nach_Akutbehandlung')).exists() implies Erbrachte_Therapieeinheiten.value[x].exists()"
          },
          {
            "key": "-PTV-angabeVerfahrenVerbot-1",
            "severity": "error",
            "human": "Falls eine alleinige Durchführung der Kombinationsbehandlung beantraggt wird, darf nur eine Psychotherapie beantragt werden, die zwei Richtlinienverfahren kombiniert.",
            "expression": "Durchfuehrung_Kombinationsbehandlung.valueCodeableConcept.coding.where(system = 'https://fhir.kbv.de/CodeSystem/KBV_CS_PTV_Combination_Therapy_Number_Of_Therapists' and code = 'Allein').exists() implies (entry.where(Verfahren.valueCodeableConcept.coding.code = 'AP_E+TP_G').exists() or entry.where(Verfahren.valueCodeableConcept.coding.code = 'AP_G+TP_E').exists())"
          },
          {
            "key": "-PTV-angabeVerfahrenVerbot-2",
            "severity": "error",
            "human": "Falls eine gemeinsame Durchführung der Kombinationsbehandlung beantraggt wird, darf nur eine Psychotherapie beantragt werden, die nur nach einem Richtlinienverfahren durchgeführt wird.",
            "expression": "Durchfuehrung_Kombinationsbehandlung.valueCodeableConcept.coding.where(system = 'https://fhir.kbv.de/CodeSystem/KBV_CS_PTV_Combination_Therapy_Number_Of_Therapists' and code = 'Duett').exists() implies (entry.where(Verfahren.valueCodeableConcept.coding.code != 'AP_E+TP_G').exists() and entry.where(Verfahren.valueCodeableConcept.coding.code != 'AP_G+TP_E').exists())"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "CarePlan.id",
        "path": "CarePlan.id",
        "mustSupport": true
      },
      {
        "id": "CarePlan.meta",
        "path": "CarePlan.meta",
        "short": "Metadaten zu dieser Ressource",
        "definition": "Die Metadaten zur Ressource. Hierbei handelt es sich um Inhalte, die von der Infrastruktur verwaltet werden. Änderungen an den Inhalten sind nicht immer mit Versionsänderungen der Ressource verbunden.",
        "mustSupport": true
      },
      {
        "id": "CarePlan.meta.id",
        "path": "CarePlan.meta.id",
        "mustSupport": true
      },
      {
        "id": "CarePlan.meta.extension",
        "path": "CarePlan.meta.extension",
        "max": "0"
      },
      {
        "id": "CarePlan.meta.versionId",
        "path": "CarePlan.meta.versionId",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "CarePlan.meta.lastUpdated",
        "path": "CarePlan.meta.lastUpdated",
        "max": "0"
      },
      {
        "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,
        "mustSupport": true
      },
      {
        "id": "CarePlan.meta.profile:PTVProfile",
        "path": "CarePlan.meta.profile",
        "sliceName": "PTVProfile",
        "min": 1,
        "max": "1",
        "fixedCanonical": "https://fhir.kbv.de/StructureDefinition/KBV_PR_PTV_CarePlan|1.0",
        "mustSupport": true
      },
      {
        "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",
        "max": "0"
      },
      {
        "id": "CarePlan.contained",
        "path": "CarePlan.contained",
        "max": "0"
      },
      {
        "id": "CarePlan.extension",
        "path": "CarePlan.extension",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "CarePlan.extension:Therapieangaben",
        "path": "CarePlan.extension",
        "sliceName": "Therapieangaben",
        "min": 1,
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://fhir.kbv.de/StructureDefinition/KBV_EX_PTV_Therapy_Info"
            ]
          }
        ],
        "mustSupport": true,
        "isModifier": false
      },
      {
        "id": "CarePlan.modifierExtension",
        "path": "CarePlan.modifierExtension",
        "max": "0"
      },
      {
        "id": "CarePlan.identifier",
        "path": "CarePlan.identifier",
        "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"
      },
      {
        "id": "CarePlan.partOf",
        "path": "CarePlan.partOf",
        "max": "0"
      },
      {
        "id": "CarePlan.status",
        "path": "CarePlan.status",
        "mustSupport": true
      },
      {
        "id": "CarePlan.intent",
        "path": "CarePlan.intent",
        "fixedCode": "order",
        "mustSupport": true
      },
      {
        "id": "CarePlan.category",
        "path": "CarePlan.category",
        "max": "0"
      },
      {
        "id": "CarePlan.category.coding",
        "path": "CarePlan.category.coding",
        "min": 1,
        "max": "1",
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "description": "Beschreibt die Altersspanne der Psychotherapie-Patienten."
        }
      },
      {
        "id": "CarePlan.category.coding.system",
        "path": "CarePlan.category.coding.system",
        "min": 1
      },
      {
        "id": "CarePlan.category.coding.version",
        "path": "CarePlan.category.coding.version",
        "max": "0"
      },
      {
        "id": "CarePlan.category.coding.code",
        "path": "CarePlan.category.coding.code",
        "min": 1
      },
      {
        "id": "CarePlan.category.coding.display",
        "path": "CarePlan.category.coding.display",
        "min": 1
      },
      {
        "id": "CarePlan.category.coding.userSelected",
        "path": "CarePlan.category.coding.userSelected",
        "max": "0"
      },
      {
        "id": "CarePlan.title",
        "path": "CarePlan.title",
        "max": "0"
      },
      {
        "id": "CarePlan.description",
        "path": "CarePlan.description",
        "max": "0"
      },
      {
        "id": "CarePlan.subject",
        "path": "CarePlan.subject",
        "short": "Für wen der Antrag gestellt wird.",
        "definition": "Verweis auf den Patienten, für den der Antrag gestellt wurde.",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.3"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "CarePlan.subject.id",
        "path": "CarePlan.subject.id",
        "mustSupport": true
      },
      {
        "id": "CarePlan.subject.extension",
        "path": "CarePlan.subject.extension",
        "max": "0"
      },
      {
        "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",
        "short": "Verantwortlicher Psychotherapeut",
        "definition": "Der ausgebildete Psychotherapeut, der für die Antragsstellung verantwortlich ist und die Behandlung federführend begleitet",
        "max": "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",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_PTV_CareTeam"
            ]
          }
        ]
      },
      {
        "id": "CarePlan.addresses",
        "path": "CarePlan.addresses",
        "short": "ICD-10-Diagnosen",
        "definition": "Antragsgebründende Diagnosen, die eine psychotherapeutische Behandlung rechtfertigen würden",
        "max": "0",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_PTV_Condition_ICD"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "CarePlan.addresses.reference",
        "path": "CarePlan.addresses.reference",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "CarePlan.addresses.type",
        "path": "CarePlan.addresses.type",
        "max": "0"
      },
      {
        "id": "CarePlan.addresses.identifier",
        "path": "CarePlan.addresses.identifier",
        "max": "0"
      },
      {
        "id": "CarePlan.addresses.display",
        "path": "CarePlan.addresses.display",
        "max": "0"
      },
      {
        "id": "CarePlan.supportingInfo",
        "path": "CarePlan.supportingInfo",
        "max": "0"
      },
      {
        "id": "CarePlan.goal",
        "path": "CarePlan.goal",
        "max": "0"
      },
      {
        "id": "CarePlan.activity",
        "path": "CarePlan.activity",
        "max": "0"
      },
      {
        "id": "CarePlan.activity.detail.extension",
        "path": "CarePlan.activity.detail.extension",
        "max": "0"
      },
      {
        "id": "CarePlan.activity.detail.modifierExtension",
        "path": "CarePlan.activity.detail.modifierExtension",
        "max": "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.note",
        "path": "CarePlan.note",
        "max": "0"
      }
    ]
  }
}