{
  "resourceType": "StructureDefinition",
  "id": "KBV-PR-PTV-Review-For-Therapist-Bundle",
  "url": "https://fhir.kbv.de/StructureDefinition/KBV_PR_PTV_Review_For_Therapist_Bundle",
  "version": "1.0",
  "name": "KBV_PR_PTV_Review_For_Therapist_Bundle",
  "status": "draft",
  "date": "2026-07-08",
  "publisher": "Kassenärztliche Bundesvereinigung (KBV)",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Bundle",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Bundle",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Bundle.id",
        "path": "Bundle.id",
        "short": "Eindeutige ID der Nachricht, anzugeben als UUID",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Bundle.meta",
        "path": "Bundle.meta",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Bundle.meta.versionId",
        "path": "Bundle.meta.versionId",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Bundle.meta.lastUpdated",
        "path": "Bundle.meta.lastUpdated",
        "mustSupport": true
      },
      {
        "id": "Bundle.meta.source",
        "path": "Bundle.meta.source",
        "max": "0"
      },
      {
        "id": "Bundle.meta.profile",
        "path": "Bundle.meta.profile",
        "min": 1,
        "max": "1",
        "fixedCanonical": "https://fhir.kbv.de/StructureDefinition/KBV_PR_PTV_Review_For_Therapist_Bundle|1.0",
        "mustSupport": true
      },
      {
        "id": "Bundle.meta.security",
        "path": "Bundle.meta.security",
        "max": "0"
      },
      {
        "id": "Bundle.meta.tag",
        "path": "Bundle.meta.tag",
        "max": "0"
      },
      {
        "id": "Bundle.type",
        "path": "Bundle.type",
        "fixedCode": "message",
        "mustSupport": true
      },
      {
        "id": "Bundle.entry",
        "path": "Bundle.entry",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "resource.meta.profile"
            }
          ],
          "rules": "closed"
        },
        "min": 7,
        "max": "7",
        "mustSupport": true
      },
      {
        "id": "Bundle.entry.link",
        "path": "Bundle.entry.link",
        "max": "0"
      },
      {
        "id": "Bundle.entry.fullUrl",
        "path": "Bundle.entry.fullUrl",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Bundle.entry.resource",
        "path": "Bundle.entry.resource",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Bundle.entry.search",
        "path": "Bundle.entry.search",
        "max": "0"
      },
      {
        "id": "Bundle.entry.request",
        "path": "Bundle.entry.request",
        "max": "0"
      },
      {
        "id": "Bundle.entry.response",
        "path": "Bundle.entry.response",
        "max": "0"
      },
      {
        "id": "Bundle.entry:Header",
        "path": "Bundle.entry",
        "sliceName": "Header",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Bundle.entry:Header.resource",
        "path": "Bundle.entry.resource",
        "type": [
          {
            "code": "MessageHeader",
            "profile": [
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_PTV_Review_For_Therapist_MsgHdr"
            ]
          }
        ]
      },
      {
        "id": "Bundle.entry:Reviewer",
        "path": "Bundle.entry",
        "sliceName": "Reviewer",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Bundle.entry:Reviewer.resource",
        "path": "Bundle.entry.resource",
        "type": [
          {
            "code": "Practitioner",
            "profile": [
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_PTV_Reviewer|1.0"
            ]
          }
        ]
      },
      {
        "id": "Bundle.entry:ClaimResponse",
        "path": "Bundle.entry",
        "sliceName": "ClaimResponse",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Bundle.entry:ClaimResponse.resource",
        "path": "Bundle.entry.resource",
        "type": [
          {
            "code": "ClaimResponse",
            "profile": [
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_PTV_ClaimResponse_Advice"
            ]
          }
        ]
      },
      {
        "id": "Bundle.entry:Reasons",
        "path": "Bundle.entry",
        "sliceName": "Reasons",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Bundle.entry:Reasons.resource",
        "path": "Bundle.entry.resource",
        "type": [
          {
            "code": "Binary",
            "profile": [
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_PTV_PDF"
            ]
          }
        ]
      },
      {
        "id": "Bundle.entry:Payor",
        "path": "Bundle.entry",
        "sliceName": "Payor",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Bundle.entry:Payor.resource",
        "path": "Bundle.entry.resource",
        "type": [
          {
            "code": "Organization",
            "profile": [
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_PTV_Payor"
            ]
          }
        ]
      },
      {
        "id": "Bundle.entry:Patient",
        "path": "Bundle.entry",
        "sliceName": "Patient",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Bundle.entry:Patient.resource",
        "path": "Bundle.entry.resource",
        "type": [
          {
            "code": "Patient",
            "profile": [
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_PTV_Patient_Pseudonym"
            ]
          }
        ]
      },
      {
        "id": "Bundle.entry:PsychotherapyInstitution",
        "path": "Bundle.entry",
        "sliceName": "PsychotherapyInstitution",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Bundle.entry:PsychotherapyInstitution.resource",
        "path": "Bundle.entry.resource",
        "type": [
          {
            "code": "Organization",
            "profile": [
              "https://fhir.kbv.de/StructureDefinition/KBV_PR_PTV_Psychotherapy_Institution"
            ]
          }
        ]
      }
    ]
  }
}