{
  "resourceType": "StructureDefinition",
  "url": "https://gesundheitsforen.net/fhir/SQB/StructureDefinition/LeitungsRolle",
  "name": "LeitungsRolle",
  "status": "draft",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "PractitionerRole",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "PractitionerRole.identifier",
        "path": "PractitionerRole.identifier",
        "max": "0"
      },
      {
        "id": "PractitionerRole.active",
        "path": "PractitionerRole.active",
        "max": "0"
      },
      {
        "id": "PractitionerRole.period",
        "path": "PractitionerRole.period",
        "max": "0"
      },
      {
        "id": "PractitionerRole.practitioner",
        "path": "PractitionerRole.practitioner",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://gesundheitsforen.net/fhir/SQB/StructureDefinition/Leitung"
            ],
            "aggregation": [
              "contained"
            ]
          }
        ]
      },
      {
        "id": "PractitionerRole.organization",
        "path": "PractitionerRole.organization",
        "min": 1
      },
      {
        "id": "PractitionerRole.organization.identifier",
        "path": "PractitionerRole.organization.identifier",
        "type": [
          {
            "code": "Identifier",
            "profile": [
              "http://fhir.de/StructureDefinition/identifier-iknr"
            ]
          }
        ]
      },
      {
        "id": "PractitionerRole.code",
        "path": "PractitionerRole.code",
        "min": 1,
        "max": "1"
      },
      {
        "id": "PractitionerRole.code.coding.code",
        "path": "PractitionerRole.code.coding.code",
        "min": 1,
        "binding": {
          "strength": "required",
          "valueSet": "https://gesundheitsforen.net/fhir/SQB/ValueSet/Leitungstyp"
        }
      },
      {
        "id": "PractitionerRole.specialty",
        "path": "PractitionerRole.specialty",
        "max": "0"
      },
      {
        "id": "PractitionerRole.location",
        "path": "PractitionerRole.location",
        "min": 1,
        "max": "1"
      },
      {
        "id": "PractitionerRole.location.identifier",
        "path": "PractitionerRole.location.identifier",
        "type": [
          {
            "code": "Identifier",
            "profile": [
              "https://gesundheitsforen.net/fhir/SQB/StructureDefinition/Standortnummer"
            ]
          }
        ]
      },
      {
        "id": "PractitionerRole.healthcareService",
        "path": "PractitionerRole.healthcareService",
        "max": "0"
      },
      {
        "id": "PractitionerRole.telecom",
        "path": "PractitionerRole.telecom",
        "max": "0"
      },
      {
        "id": "PractitionerRole.availableTime",
        "path": "PractitionerRole.availableTime",
        "max": "0"
      },
      {
        "id": "PractitionerRole.notAvailable",
        "path": "PractitionerRole.notAvailable",
        "max": "0"
      },
      {
        "id": "PractitionerRole.availabilityExceptions",
        "path": "PractitionerRole.availabilityExceptions",
        "max": "0"
      }
    ]
  }
}