{
  "resourceType": "StructureDefinition",
  "id": "KBV-PR-PTV-ClaimChange",
  "url": "https://fhir.kbv.de/StructureDefinition/KBV_PR_PTV_ClaimChange",
  "version": "1.0",
  "name": "KBV_PR_PTV_ClaimChange",
  "status": "draft",
  "date": "2026-07-29",
  "publisher": "Kassenärztliche Bundesvereinigung (KBV)",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://www.kbv.de"
        }
      ]
    }
  ],
  "description": "Änderungsantrag bei bereits genehmigter Psychotherapie",
  "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": "Claim",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Claim",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Claim",
        "path": "Claim",
        "short": "Änderungsantrag Psychotherapie",
        "definition": "Daten für die Änderung einer bereits beantragten und genehmigten psychotherapeutischen Behandlung",
        "constraint": [
          {
            "key": "-ptv-Settingwechsel",
            "severity": "error",
            "human": "Nur wenn ein Settingwechsel beantragt wird (Settingwechsel gleich true ist), muss das neu beantragte Therapiesetting angegeben werden, ansonsten muss diese Angabe ausbleiben.",
            "expression": "(extension.extension.where(url='Settingwechsel').valueBoolean=true)=extension.extension.where(url='Setting').exists()"
          },
          {
            "key": "-ptv-Verfahrenswechsel",
            "severity": "error",
            "human": "Nur wenn ein Verfahrenswechsel beantragt wird (Verfahrenswechsel gleich true ist), muss das neu beantragte Therapieverfahren angegeben werden, ansonsten muss diese Angabe ausbleiben.",
            "expression": "(extension.extension.where(url='Verfahrenswechsel').valueBoolean=true)=extension.extension.where(url='Verfahren').exists()"
          },
          {
            "key": "-ptv-Kassenwechsel",
            "severity": "error",
            "human": "Nur wenn ein Krankenkassenwechsel beantragt wird (Krankenkassenwechsel gleich true ist), muss der Leistungsbescheid der Vorkasse sowie die Vorgangsnummer des Erstgutachtens angegeben werden, ansonsten müssen diese Angaben ausbleiben.",
            "expression": "(extension.extension.where(url='Krankenkassenwechsel').valueBoolean=true)=(extension.extension.where(url='Leistungsbescheid_Vorkasse').exists() and extension.extension.where(url='Vorgangsnummer_Erstgutachten').exists())"
          },
          {
            "key": "-PTV-angabeAnzahlTherapeutenBeiKombinationsbehandlungPflicht",
            "severity": "error",
            "human": "Nur wenn eine Änderung bezüglich des Settings der Kombinationsbehandlung (überwiegend Einzel oder überwiegend Gruppe) beantragt wird, muss angegeben werden, ob die Kombinationsbehandlung von einem oder zwei Therapeuten durchgeführt wird, ansonsten muss diese Angabe ausbleiben.",
            "expression": "(extension.extension.where(url = 'Setting' and valueCoding.code='Kombi_Einzel').exists() or extension.extension.where(url = 'Setting' and valueCoding.code='Kombi_Gruppe').exists())=extension.extension.where(url = 'Anzahl_Therapeuten_in_Kombinationsbehandlung').exists()"
          },
          {
            "key": "-PTV-auswahlVerfahrenKombinationsbehandlung",
            "severity": "error",
            "human": "Nur wenn eine Kombinationsbehandlung (Einzel- und Gruppentherapie) durch einen einzelnen Therapeuten beantragt wird, ist die Auswahl beider psychodynamischer Verfahren zulässig.",
            "expression": "extension.extension.where(url = 'Verfahren' and (valueCoding.code = 'AP_Einzel_TP_Gruppe' or valueCoding.code = 'AP_Gruppe_TP_Einzel')).exists() implies extension.extension.where(url = 'Anzahl_Therapeuten_in_Kombinationsbehandlung' and valuePositiveInt = 1).exists()"
          },
          {
            "key": "-PTV-angabeSettingKombinationsbehandlungPflicht",
            "severity": "error",
            "human": "Nur wenn eine Kombinationsbehandlung (Einzel- und Gruppentherapie) durch zwei Therapeuten beantragt wird, muss angegeben werden, ob in der Betriebsstätte des Antragstellers Einzel- oder Gruppentherapie durchgeführt wird.",
            "expression": "extension.extension.where(url = 'Anzahl_Therapeuten_in_Kombinationsbehandlung' and valuePositiveInt=2).exists()= extension.extension.where(url = 'Setting_Kombinationsbehandlung').exists()"
          },
          {
            "key": "-PTV-formatBeantragterStundenClaim-Pflicht",
            "severity": "error",
            "human": "Die Angaben beantragter Stunden müssen ganze Zahlen größer oder gleich 0 sein. Mindestens eine Angabe beantragter Stunden muss größer als 0 sein.",
            "expression": "Claim.item.quantity.all(where(value >= 0 and value = value.floor()).exists()) and Claim.item.quantity.where(value > 0).exists()"
          },
          {
            "key": "-PTV-Vorgangsnr-Erstgutachten-Angabe-Verbot",
            "severity": "error",
            "human": "Eine etwaige Vorgangsnummer eines Erstgutachtens darf nur beim Wechsel der Krankenkasse angegeben werden.",
            "expression": "extension.extension.where(url='Vorgangsnummer_Erstgutachten').exists() implies extension.extension.where(url='Krankenkassenwechsel').valueBoolean = true"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Claim.meta",
        "path": "Claim.meta",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Claim.meta.id",
        "path": "Claim.meta.id",
        "max": "0"
      },
      {
        "id": "Claim.meta.extension",
        "path": "Claim.meta.extension",
        "max": "0"
      },
      {
        "id": "Claim.meta.versionId",
        "path": "Claim.meta.versionId",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Claim.meta.lastUpdated",
        "path": "Claim.meta.lastUpdated",
        "max": "0"
      },
      {
        "id": "Claim.meta.source",
        "path": "Claim.meta.source",
        "max": "0"
      },
      {
        "id": "Claim.meta.profile",
        "path": "Claim.meta.profile",
        "min": 1,
        "max": "1",
        "fixedCanonical": "https://fhir.kbv.de/StructureDefinition/KBV_PR_PTV_ClaimChange|1.0",
        "mustSupport": true
      },
      {
        "id": "Claim.meta.security",
        "path": "Claim.meta.security",
        "max": "0"
      },
      {
        "id": "Claim.meta.tag",
        "path": "Claim.meta.tag",
        "max": "0"
      },
      {
        "id": "Claim.implicitRules",
        "path": "Claim.implicitRules",
        "max": "0"
      },
      {
        "id": "Claim.language",
        "path": "Claim.language",
        "max": "0"
      },
      {
        "id": "Claim.contained",
        "path": "Claim.contained",
        "max": "0"
      },
      {
        "id": "Claim.extension",
        "path": "Claim.extension",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Claim.extension:Aenderungsangaben",
        "path": "Claim.extension",
        "sliceName": "Aenderungsangaben",
        "min": 1,
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://fhir.kbv.de/StructureDefinition/KBV_EX_PTV_Change_Info"
            ]
          }
        ],
        "mustSupport": true,
        "isModifier": false
      },
      {
        "id": "Claim.modifierExtension",
        "path": "Claim.modifierExtension",
        "max": "0"
      },
      {
        "id": "Claim.identifier",
        "path": "Claim.identifier",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Claim.status",
        "path": "Claim.status",
        "fixedCode": "active",
        "mustSupport": true
      },
      {
        "id": "Claim.type",
        "path": "Claim.type",
        "fixedCodeableConcept": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/claim-type",
              "code": "professional"
            }
          ]
        },
        "mustSupport": true
      },
      {
        "id": "Claim.subType",
        "path": "Claim.subType",
        "max": "0"
      },
      {
        "id": "Claim.use",
        "path": "Claim.use",
        "fixedCode": "preauthorization",
        "mustSupport": true
      },
      {
        "id": "Claim.patient",
        "path": "Claim.patient",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Patient|1.3"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Claim.patient.reference",
        "path": "Claim.patient.reference",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Claim.patient.type",
        "path": "Claim.patient.type",
        "max": "0"
      },
      {
        "id": "Claim.patient.identifier",
        "path": "Claim.patient.identifier",
        "max": "0"
      },
      {
        "id": "Claim.patient.display",
        "path": "Claim.patient.display",
        "max": "0"
      },
      {
        "id": "Claim.billablePeriod",
        "path": "Claim.billablePeriod",
        "max": "0"
      },
      {
        "id": "Claim.created",
        "path": "Claim.created",
        "mustSupport": true
      },
      {
        "id": "Claim.enterer",
        "path": "Claim.enterer",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.3"
            ]
          }
        ]
      },
      {
        "id": "Claim.enterer.reference",
        "path": "Claim.enterer.reference",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Claim.enterer.type",
        "path": "Claim.enterer.type",
        "max": "0"
      },
      {
        "id": "Claim.enterer.identifier",
        "path": "Claim.enterer.identifier",
        "max": "0"
      },
      {
        "id": "Claim.enterer.display",
        "path": "Claim.enterer.display",
        "max": "0"
      },
      {
        "id": "Claim.insurer",
        "path": "Claim.insurer",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_PTV_Payor|1.0"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Claim.insurer.reference",
        "path": "Claim.insurer.reference",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Claim.insurer.type",
        "path": "Claim.insurer.type",
        "max": "0"
      },
      {
        "id": "Claim.insurer.identifier",
        "path": "Claim.insurer.identifier",
        "max": "0"
      },
      {
        "id": "Claim.insurer.display",
        "path": "Claim.insurer.display",
        "max": "0"
      },
      {
        "id": "Claim.provider",
        "path": "Claim.provider",
        "short": "Praxisinhaber",
        "definition": "Der Inhaber der psyhotherapeutischen Praxis, in der die Therapie durchgeführt werden soll.",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_PTV_Psychotherapy_Institution|1.0"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Claim.provider.reference",
        "path": "Claim.provider.reference",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Claim.provider.type",
        "path": "Claim.provider.type",
        "max": "0"
      },
      {
        "id": "Claim.provider.identifier",
        "path": "Claim.provider.identifier",
        "max": "0"
      },
      {
        "id": "Claim.provider.display",
        "path": "Claim.provider.display",
        "max": "0"
      },
      {
        "id": "Claim.priority",
        "path": "Claim.priority",
        "fixedCodeableConcept": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/processpriority",
              "code": "normal",
              "display": "Normal"
            }
          ],
          "text": "Normal"
        },
        "mustSupport": true
      },
      {
        "id": "Claim.fundsReserve",
        "path": "Claim.fundsReserve",
        "max": "0"
      },
      {
        "id": "Claim.related",
        "path": "Claim.related",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Claim.related.claim",
        "path": "Claim.related.claim",
        "short": "Bezug zum Ausgansantrag",
        "definition": "Bezug zum genehmigten Antrag auf Psychotherapie, der geändert werden soll.",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_PTV_Claim|1.0"
            ]
          }
        ]
      },
      {
        "id": "Claim.prescription",
        "path": "Claim.prescription",
        "max": "0"
      },
      {
        "id": "Claim.originalPrescription",
        "path": "Claim.originalPrescription",
        "max": "0"
      },
      {
        "id": "Claim.payee",
        "path": "Claim.payee",
        "max": "0"
      },
      {
        "id": "Claim.referral",
        "path": "Claim.referral",
        "max": "0"
      },
      {
        "id": "Claim.facility",
        "path": "Claim.facility",
        "max": "0",
        "mustSupport": true
      },
      {
        "id": "Claim.careTeam",
        "path": "Claim.careTeam",
        "short": "Durchführender Therapeut",
        "definition": "Der Therapeut, der die Psychotherapie tatsächlich durchführt. Kann der Praxisinhaber sein, aber auch eine in der Praxis angestellte Person oder eine Person in Ausbildung.",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Claim.careTeam.sequence",
        "path": "Claim.careTeam.sequence",
        "mustSupport": true
      },
      {
        "id": "Claim.careTeam.provider",
        "path": "Claim.careTeam.provider",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Practitioner|1.3"
            ]
          }
        ]
      },
      {
        "id": "Claim.careTeam.provider.reference",
        "path": "Claim.careTeam.provider.reference",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Claim.supportingInfo",
        "path": "Claim.supportingInfo",
        "max": "0"
      },
      {
        "id": "Claim.diagnosis",
        "path": "Claim.diagnosis",
        "min": 1,
        "max": "5"
      },
      {
        "id": "Claim.diagnosis.diagnosis[x]",
        "path": "Claim.diagnosis.diagnosis[x]",
        "short": "ICD-10-Diagnosen",
        "definition": "Antragsgebründende Diagnosen, die eine psychotherapeutische Behandlung rechtfertigen würden",
        "type": [
          {
            "code": "CodeableConcept"
          },
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_PTV_Condition_ICD|1.0"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Claim.diagnosis.type",
        "path": "Claim.diagnosis.type",
        "max": "0"
      },
      {
        "id": "Claim.diagnosis.onAdmission",
        "path": "Claim.diagnosis.onAdmission",
        "max": "0"
      },
      {
        "id": "Claim.diagnosis.packageCode",
        "path": "Claim.diagnosis.packageCode",
        "max": "0"
      },
      {
        "id": "Claim.procedure",
        "path": "Claim.procedure",
        "max": "0"
      },
      {
        "id": "Claim.insurance",
        "path": "Claim.insurance",
        "mustSupport": true
      },
      {
        "id": "Claim.insurance.coverage",
        "path": "Claim.insurance.coverage",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_FOR_Coverage|1.3"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Claim.accident",
        "path": "Claim.accident",
        "max": "0"
      },
      {
        "id": "Claim.item",
        "path": "Claim.item",
        "short": "Bereits erbrachte Therapieeinheiten",
        "definition": "Gibt an, wieviele Therapieeinheiten vor dem Änderungsantrag bereits erbracht worden sind.",
        "min": 1,
        "max": "2",
        "mustSupport": true
      },
      {
        "id": "Claim.item.careTeamSequence",
        "path": "Claim.item.careTeamSequence",
        "max": "0"
      },
      {
        "id": "Claim.item.diagnosisSequence",
        "path": "Claim.item.diagnosisSequence",
        "max": "0"
      },
      {
        "id": "Claim.item.procedureSequence",
        "path": "Claim.item.procedureSequence",
        "max": "0"
      },
      {
        "id": "Claim.item.informationSequence",
        "path": "Claim.item.informationSequence",
        "max": "0"
      },
      {
        "id": "Claim.item.revenue",
        "path": "Claim.item.revenue",
        "max": "0"
      },
      {
        "id": "Claim.item.category",
        "path": "Claim.item.category",
        "max": "0"
      },
      {
        "id": "Claim.item.productOrService",
        "path": "Claim.item.productOrService",
        "short": "Kodierung Empfänger Therapieeinheiten",
        "definition": "Kodierte Angabe der Person, für die die Angabe der verbleibenden Therapieeinheiten gilt.",
        "mustSupport": true
      },
      {
        "id": "Claim.item.productOrService.coding",
        "path": "Claim.item.productOrService.coding",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Claim.item.productOrService.coding.system",
        "path": "Claim.item.productOrService.coding.system",
        "min": 1,
        "fixedUri": "https://fhir.kbv.de/CodeSystem/KBV_CS_PTV_Therapy_Units",
        "mustSupport": true
      },
      {
        "id": "Claim.item.productOrService.coding.code",
        "path": "Claim.item.productOrService.coding.code",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Claim.item.modifier",
        "path": "Claim.item.modifier",
        "max": "0"
      },
      {
        "id": "Claim.item.programCode",
        "path": "Claim.item.programCode",
        "max": "0"
      },
      {
        "id": "Claim.item.serviced[x]",
        "path": "Claim.item.serviced[x]",
        "max": "0"
      },
      {
        "id": "Claim.item.location[x]",
        "path": "Claim.item.location[x]",
        "max": "0"
      },
      {
        "id": "Claim.item.quantity",
        "path": "Claim.item.quantity",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Claim.item.quantity.value",
        "path": "Claim.item.quantity.value",
        "short": "Verbleibende Therapieeinheiten",
        "definition": "Anzahl der verbleibenden Therapieeinheiten",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Claim.item.unitPrice",
        "path": "Claim.item.unitPrice",
        "max": "0"
      },
      {
        "id": "Claim.item.factor",
        "path": "Claim.item.factor",
        "max": "0"
      },
      {
        "id": "Claim.item.net",
        "path": "Claim.item.net",
        "max": "0"
      },
      {
        "id": "Claim.item.udi",
        "path": "Claim.item.udi",
        "max": "0"
      },
      {
        "id": "Claim.item.bodySite",
        "path": "Claim.item.bodySite",
        "max": "0"
      },
      {
        "id": "Claim.item.subSite",
        "path": "Claim.item.subSite",
        "max": "0"
      },
      {
        "id": "Claim.item.encounter",
        "path": "Claim.item.encounter",
        "max": "0"
      },
      {
        "id": "Claim.item.detail",
        "path": "Claim.item.detail",
        "max": "0"
      },
      {
        "id": "Claim.total",
        "path": "Claim.total",
        "max": "0"
      }
    ]
  }
}