{
  "resourceType": "StructureDefinition",
  "id": "MaiaPhysischerStandort",
  "url": "https://tiplu.de/fhir/maia/StructureDefinition/MaiaPhysischerStandort",
  "version": "1.0.0",
  "name": "MaiaPhysischerStandort",
  "title": "Maia physischer Standort",
  "status": "active",
  "experimental": false,
  "date": "2023-02-27",
  "publisher": "Tiplu GmbH",
  "description": "Das vorliegende Location-Profil im UseCase von Station, Raum und Bett beschreibt alle verpflichtenden und optionalen Informationen, die ein Datenlieferant für Maia liefern muss.",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Location",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Location",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Location.id",
        "path": "Location.id",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Location.identifier",
        "path": "Location.identifier",
        "slicing": {
          "discriminator": [
            {
              "type": "pattern",
              "path": "$this"
            }
          ],
          "rules": "open"
        },
        "min": 1,
        "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.name",
        "path": "Location.name",
        "mustSupport": true
      },
      {
        "id": "Location.type",
        "path": "Location.type",
        "slicing": {
          "discriminator": [
            {
              "type": "pattern",
              "path": "$this"
            }
          ],
          "rules": "open"
        },
        "mustSupport": true
      },
      {
        "id": "Location.type:RoleType",
        "path": "Location.type",
        "sliceName": "RoleType",
        "min": 0,
        "max": "1",
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "valueSet": "https://tiplu.de/fhir/maia/ValueSet/MaiaUnterstuetzteLocationRoleTypeVS"
        }
      },
      {
        "id": "Location.physicalType",
        "path": "Location.physicalType",
        "min": 1,
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "valueSet": "https://tiplu.de/fhir/maia/ValueSet/MaiaUnterstuetztePhysicalTypesVS"
        }
      }
    ]
  }
}