{
  "resourceType": "StructureDefinition",
  "id": "ISiKPersonImGesundheitsberuf",
  "url": "https://gematik.de/fhir/isik/v3/Basismodul/StructureDefinition/ISiKPersonImGesundheitsberuf",
  "version": "3.1.1",
  "name": "ISiKPersonImGesundheitsberuf",
  "status": "active",
  "experimental": false,
  "date": "2025-12-01",
  "publisher": "gematik GmbH",
  "description": "Dieses Profil ermöglicht die Nutzung von in Gesundheitsberufen tätigen Personen in ISiK Szenarien.",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Practitioner",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Practitioner",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Practitioner",
        "path": "Practitioner",
        "constraint": [
          {
            "key": "prac-de-1",
            "severity": "error",
            "human": "Die amtliche Differenzierung der Geschlechtsangabe 'other' darf nur gefüllt sein, wenn das Geschlecht 'other' angegeben ist",
            "expression": "gender='other' or gender.extension('http://fhir.de/StructureDefinition/gender-amtlich-de').empty()",
            "source": "https://gematik.de/fhir/isik/v3/Basismodul/StructureDefinition/ISiKPersonImGesundheitsberuf"
          }
        ]
      },
      {
        "id": "Practitioner.identifier",
        "path": "Practitioner.identifier",
        "slicing": {
          "discriminator": [
            {
              "type": "pattern",
              "path": "$this"
            }
          ],
          "rules": "open"
        },
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Practitioner.identifier:Arztnummer",
        "path": "Practitioner.identifier",
        "sliceName": "Arztnummer",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Identifier",
            "profile": [
              "http://fhir.de/StructureDefinition/identifier-lanr"
            ]
          }
        ],
        "patternIdentifier": {
          "type": {
            "coding": [
              {
                "code": "LANR",
                "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
              }
            ]
          }
        },
        "mustSupport": true
      },
      {
        "id": "Practitioner.identifier:Arztnummer.type",
        "path": "Practitioner.identifier.type",
        "min": 1
      },
      {
        "id": "Practitioner.identifier:EFN",
        "path": "Practitioner.identifier",
        "sliceName": "EFN",
        "comment": "In bestimmten KIS wird keine EFN geführt, da diese aus Compliance-Gründen getrennt in HR-Systemen vorgehalten wird (Hinweis kam von Stakeholder), daher soll der entsprechende Test im Test-System mit \"warningOnly\" ausgegeben werden.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Identifier",
            "profile": [
              "http://fhir.de/StructureDefinition/identifier-efn"
            ]
          }
        ],
        "patternIdentifier": {
          "type": {
            "coding": [
              {
                "code": "DN",
                "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
              }
            ]
          }
        },
        "mustSupport": true
      },
      {
        "id": "Practitioner.identifier:EFN.type",
        "path": "Practitioner.identifier.type",
        "min": 1
      },
      {
        "id": "Practitioner.identifier:TelematikId",
        "path": "Practitioner.identifier",
        "sliceName": "TelematikId",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Identifier",
            "profile": [
              "http://fhir.de/StructureDefinition/identifier-telematik-id"
            ]
          }
        ],
        "patternIdentifier": {
          "type": {
            "coding": [
              {
                "code": "PRN",
                "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
              }
            ]
          }
        },
        "mustSupport": true
      },
      {
        "id": "Practitioner.identifier:TelematikId.type",
        "path": "Practitioner.identifier.type",
        "min": 1
      },
      {
        "id": "Practitioner.name",
        "path": "Practitioner.name",
        "slicing": {
          "discriminator": [
            {
              "type": "pattern",
              "path": "$this"
            }
          ],
          "rules": "open"
        },
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Practitioner.name:Name",
        "path": "Practitioner.name",
        "sliceName": "Name",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "HumanName",
            "profile": [
              "http://fhir.de/StructureDefinition/humanname-de-basis"
            ]
          }
        ],
        "patternHumanName": {
          "use": "official"
        },
        "mustSupport": true
      },
      {
        "id": "Practitioner.name:Name.use",
        "path": "Practitioner.name.use",
        "min": 1,
        "fixedCode": "official",
        "mustSupport": true
      },
      {
        "id": "Practitioner.name:Name.family",
        "path": "Practitioner.name.family",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Practitioner.name:Name.given",
        "path": "Practitioner.name.given",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Practitioner.name:Name.prefix",
        "path": "Practitioner.name.prefix",
        "mustSupport": true
      },
      {
        "id": "Practitioner.name:Geburtsname",
        "path": "Practitioner.name",
        "sliceName": "Geburtsname",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "HumanName",
            "profile": [
              "http://fhir.de/StructureDefinition/humanname-de-basis"
            ]
          }
        ],
        "patternHumanName": {
          "use": "maiden"
        }
      },
      {
        "id": "Practitioner.name:Geburtsname.use",
        "path": "Practitioner.name.use",
        "min": 1,
        "fixedCode": "maiden",
        "mustSupport": true
      },
      {
        "id": "Practitioner.name:Geburtsname.family",
        "path": "Practitioner.name.family",
        "min": 1
      },
      {
        "id": "Practitioner.name:Geburtsname.given",
        "path": "Practitioner.name.given",
        "max": "0"
      },
      {
        "id": "Practitioner.name:Geburtsname.prefix",
        "path": "Practitioner.name.prefix",
        "max": "0"
      },
      {
        "id": "Practitioner.telecom.system",
        "path": "Practitioner.telecom.system",
        "min": 1
      },
      {
        "id": "Practitioner.telecom.value",
        "path": "Practitioner.telecom.value",
        "min": 1
      },
      {
        "id": "Practitioner.address",
        "path": "Practitioner.address",
        "slicing": {
          "discriminator": [
            {
              "type": "pattern",
              "path": "$this"
            }
          ],
          "rules": "open"
        },
        "comment": "In order to differentiate between post box addresses and physical addresses, street names and house numbers, and to add city district names, vendors can opt to support the extensions as suggested in the German Address Base Profile http://fhir.de/StructureDefinition/address-de-basis.\r\nSuch differentiations are however not required within the scope of this specification.",
        "mustSupport": true
      },
      {
        "id": "Practitioner.address:Strassenanschrift",
        "path": "Practitioner.address",
        "sliceName": "Strassenanschrift",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Address",
            "profile": [
              "http://fhir.de/StructureDefinition/address-de-basis"
            ]
          }
        ],
        "patternAddress": {
          "type": "both"
        },
        "mustSupport": true
      },
      {
        "id": "Practitioner.address:Strassenanschrift.extension:Stadtteil",
        "path": "Practitioner.address.extension",
        "sliceName": "Stadtteil",
        "mustSupport": true
      },
      {
        "id": "Practitioner.address:Strassenanschrift.type",
        "path": "Practitioner.address.type",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Practitioner.address:Strassenanschrift.line",
        "path": "Practitioner.address.line",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Practitioner.address:Strassenanschrift.line.extension:Strasse",
        "path": "Practitioner.address.line.extension",
        "sliceName": "Strasse",
        "mustSupport": true
      },
      {
        "id": "Practitioner.address:Strassenanschrift.line.extension:Hausnummer",
        "path": "Practitioner.address.line.extension",
        "sliceName": "Hausnummer",
        "mustSupport": true
      },
      {
        "id": "Practitioner.address:Strassenanschrift.line.extension:Adresszusatz",
        "path": "Practitioner.address.line.extension",
        "sliceName": "Adresszusatz",
        "mustSupport": true
      },
      {
        "id": "Practitioner.address:Strassenanschrift.line.extension:Postfach",
        "path": "Practitioner.address.line.extension",
        "sliceName": "Postfach",
        "max": "0"
      },
      {
        "id": "Practitioner.address:Strassenanschrift.city",
        "path": "Practitioner.address.city",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Practitioner.address:Strassenanschrift.postalCode",
        "path": "Practitioner.address.postalCode",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Practitioner.address:Strassenanschrift.country",
        "path": "Practitioner.address.country",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Practitioner.address:Postfach",
        "path": "Practitioner.address",
        "sliceName": "Postfach",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Address",
            "profile": [
              "http://fhir.de/StructureDefinition/address-de-basis"
            ]
          }
        ],
        "patternAddress": {
          "type": "postal"
        },
        "mustSupport": true
      },
      {
        "id": "Practitioner.address:Postfach.type",
        "path": "Practitioner.address.type",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Practitioner.address:Postfach.line",
        "path": "Practitioner.address.line",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Practitioner.address:Postfach.line.extension:Strasse",
        "path": "Practitioner.address.line.extension",
        "sliceName": "Strasse",
        "max": "0"
      },
      {
        "id": "Practitioner.address:Postfach.line.extension:Hausnummer",
        "path": "Practitioner.address.line.extension",
        "sliceName": "Hausnummer",
        "max": "0"
      },
      {
        "id": "Practitioner.address:Postfach.line.extension:Adresszusatz",
        "path": "Practitioner.address.line.extension",
        "sliceName": "Adresszusatz",
        "max": "0"
      },
      {
        "id": "Practitioner.address:Postfach.line.extension:Postfach",
        "path": "Practitioner.address.line.extension",
        "sliceName": "Postfach",
        "mustSupport": true
      },
      {
        "id": "Practitioner.address:Postfach.city",
        "path": "Practitioner.address.city",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Practitioner.address:Postfach.postalCode",
        "path": "Practitioner.address.postalCode",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Practitioner.address:Postfach.country",
        "path": "Practitioner.address.country",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Practitioner.gender",
        "path": "Practitioner.gender",
        "mustSupport": true
      },
      {
        "id": "Practitioner.gender.extension:Geschlecht-Administrativ",
        "path": "Practitioner.gender.extension",
        "sliceName": "Geschlecht-Administrativ",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://fhir.de/StructureDefinition/gender-amtlich-de"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Practitioner.gender.extension:Geschlecht-Administrativ.extension",
        "path": "Practitioner.gender.extension.extension",
        "max": "0"
      },
      {
        "id": "Practitioner.gender.extension:Geschlecht-Administrativ.value[x]",
        "path": "Practitioner.gender.extension.value[x]",
        "mustSupport": true
      },
      {
        "id": "Practitioner.birthDate.extension:Data-Absent-Reason",
        "path": "Practitioner.birthDate.extension",
        "sliceName": "Data-Absent-Reason",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/data-absent-reason"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Practitioner.qualification.code",
        "path": "Practitioner.qualification.code",
        "comment": "Zur Kodierung der Qualifikation ist das entsprechende [ValueSet der KBV](https://fhir.kbv.de/ValueSet/KBV_VS_Base_Practitioner_Speciality) zu empfehlen."
      }
    ]
  }
}