{
  "resourceType": "StructureDefinition",
  "id": "TipluLocation",
  "url": "https://tiplu.de/fhir/StructureDefinition/TipluLocation",
  "version": "2.0.2",
  "name": "TipluLocation",
  "title": "TipluLocation",
  "status": "active",
  "date": "2026-04-02",
  "publisher": "Tiplu GmbH",
  "contact": [
    {
      "name": "Tiplu GmbH",
      "telecom": [
        {
          "system": "email",
          "value": "fhir@tiplu.de"
        }
      ]
    }
  ],
  "description": "Details und Positionsinformationen über einen physischen Ort (z.B. Station, Raum oder Bett)",
  "copyright": "Tiplu GmbH",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Location",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Location",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Location.identifier",
        "path": "Location.identifier",
        "slicing": {
          "discriminator": [
            {
              "type": "pattern",
              "path": "$this"
            }
          ],
          "rules": "open"
        },
        "mustSupport": true
      },
      {
        "id": "Location.identifier:Standortnummer",
        "path": "Location.identifier",
        "sliceName": "Standortnummer",
        "min": 0,
        "max": "1",
        "patternIdentifier": {
          "type": {
            "coding": [
              {
                "code": "RI",
                "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
              }
            ]
          }
        },
        "mustSupport": true
      },
      {
        "id": "Location.identifier:Standortnummer.type",
        "path": "Location.identifier.type",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Location.identifier:Standortnummer.system",
        "path": "Location.identifier.system",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Location.identifier:Standortnummer.value",
        "path": "Location.identifier.value",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Location.identifier:Kuerzel",
        "path": "Location.identifier",
        "sliceName": "Kuerzel",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Identifier",
            "profile": [
              "https://tiplu.de/fhir/StructureDefinition/identifier-kuerzel"
            ]
          }
        ],
        "patternIdentifier": {
          "type": {
            "coding": [
              {
                "code": "SHORT",
                "system": "https://tiplu.de/fhir/CodeSystem/IdentifierTypeExtended"
              }
            ]
          }
        },
        "mustSupport": true
      },
      {
        "id": "Location.name",
        "path": "Location.name",
        "mustSupport": true
      },
      {
        "id": "Location.alias",
        "path": "Location.alias",
        "mustSupport": true
      },
      {
        "id": "Location.type",
        "path": "Location.type",
        "mustSupport": true,
        "binding": {
          "strength": "extensible",
          "valueSet": "https://tiplu.de/fhir/ValueSet/LocationRoleType"
        }
      },
      {
        "id": "Location.physicalType",
        "path": "Location.physicalType",
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "valueSet": "http://hl7.org/fhir/ValueSet/location-physical-type"
        }
      }
    ]
  }
}