{
  "resourceType": "StructureDefinition",
  "id": "employeeorganizationrelationship-profile",
  "url": "http://fhir.xt.dev/StructureDefinition/EmployeeOrganizationRelationship",
  "version": "1.0.0",
  "name": "EmployeeOrganizationRelationship",
  "status": "draft",
  "date": "2025-03-31T21:56:11.5388155+00:00",
  "publisher": "x-tention Informationstechnologie GmbH",
  "contact": [
    {
      "telecom": [
        {
          "system": "email",
          "value": "fhir.profiling@x-tention.com",
          "use": "work"
        }
      ]
    }
  ],
  "description": "This practitioner role models a relationships between an employee and an organization (usually a department or other lower-level organization in the organization hierarchy). There are normally multiple relationships for each employee, representing all departments the employee is active in.",
  "copyright": "x-tention Informationstechnologie GmbH",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "PractitionerRole",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "PractitionerRole.practitioner",
        "path": "PractitionerRole.practitioner",
        "min": 1
      },
      {
        "id": "PractitionerRole.organization",
        "path": "PractitionerRole.organization",
        "min": 1
      },
      {
        "id": "PractitionerRole.specialty",
        "path": "PractitionerRole.specialty",
        "slicing": {
          "discriminator": [
            {
              "type": "pattern",
              "path": "coding.system"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "PractitionerRole.specialty:DE_aerztlicheFachrichtung",
        "path": "PractitionerRole.specialty",
        "sliceName": "DE_aerztlicheFachrichtung"
      },
      {
        "id": "PractitionerRole.specialty:DE_aerztlicheFachrichtung.coding",
        "path": "PractitionerRole.specialty.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "PractitionerRole.specialty:DE_aerztlicheFachrichtung.coding.system",
        "path": "PractitionerRole.specialty.coding.system",
        "min": 1,
        "fixedUri": "http://ihe-d.de/CodeSystems/AerztlicheFachrichtungen"
      },
      {
        "id": "PractitionerRole.specialty:DE_nichtAerztlicheFachrichtung",
        "path": "PractitionerRole.specialty",
        "sliceName": "DE_nichtAerztlicheFachrichtung"
      },
      {
        "id": "PractitionerRole.specialty:DE_nichtAerztlicheFachrichtung.coding",
        "path": "PractitionerRole.specialty.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "PractitionerRole.specialty:DE_nichtAerztlicheFachrichtung.coding.system",
        "path": "PractitionerRole.specialty.coding.system",
        "min": 1,
        "fixedUri": "http://ihe-d.de/CodeSystems/NichtaerztlicheFachrichtungen"
      }
    ]
  }
}