{
  "resourceType": "StructureDefinition",
  "id": "BehandlungsgruppeTherapieeinheit",
  "url": "https://tiplu.de/fhir/StructureDefinition/BehandlungsgruppeTherapieeinheit",
  "version": "2.0.4",
  "name": "BehandlungsgruppeTherapieeinheit",
  "title": "Rolle einer behandelnden Gruppe einer Therapieeinheit",
  "status": "active",
  "date": "2026-08-26",
  "publisher": "Tiplu GmbH",
  "contact": [
    {
      "name": "Tiplu GmbH",
      "telecom": [
        {
          "system": "email",
          "value": "fhir@tiplu.de"
        }
      ]
    }
  ],
  "description": "Profil für eine Rolle innerhalb einer Behandlungsgruppe einer behandelnden Person in Bezug zu einer Therapieeinheit .",
  "copyright": "Tiplu GmbH",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "PractitionerRole",
  "baseDefinition": "https://fhir.kbv.de/StructureDefinition/KBV_PR_Base_PractitionerRole",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "PractitionerRole.id",
        "path": "PractitionerRole.id",
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.meta",
        "path": "PractitionerRole.meta",
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.meta.profile",
        "path": "PractitionerRole.meta.profile",
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.meta.security",
        "path": "PractitionerRole.meta.security",
        "slicing": {
          "discriminator": [
            {
              "type": "pattern",
              "path": "$this"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "PractitionerRole.meta.security:versiegelt",
        "path": "PractitionerRole.meta.security",
        "sliceName": "versiegelt",
        "short": "Hier wird der Code BTG 'break the glass'als Security Label verwendet.",
        "min": 0,
        "max": "*",
        "patternCoding": {
          "code": "BTG",
          "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason",
          "display": "break the glass"
        },
        "binding": {
          "strength": "extensible",
          "valueSet": "http://hl7.org/fhir/ValueSet/security-labels"
        }
      },
      {
        "id": "PractitionerRole.code",
        "path": "PractitionerRole.code",
        "comment": "Hier wird die Rolle als SnomedCT Code hinterlegt.",
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.code.coding",
        "path": "PractitionerRole.code.coding",
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.code.coding:SNOMED-CT",
        "path": "PractitionerRole.code.coding",
        "sliceName": "SNOMED-CT",
        "short": "undefined|arzt|psychologe|spezialtherapeut|pflegefachperson",
        "min": 0,
        "max": "1"
      },
      {
        "id": "PractitionerRole.code.coding:SNOMED-CT.system",
        "path": "PractitionerRole.code.coding.system",
        "min": 1,
        "patternUri": "http://snomed.info/sct",
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.code.coding:SNOMED-CT.code",
        "path": "PractitionerRole.code.coding.code",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "PractitionerRole.code.coding:SNOMED-CT.display",
        "path": "PractitionerRole.code.coding.display",
        "mustSupport": true
      }
    ]
  }
}