{
  "resourceType": "StructureDefinition",
  "id": "Ward",
  "meta": {
    "lastUpdated": "2025-05-02T11:23:07.824+00:00"
  },
  "url": "https://demis.rki.de/fhir/ars/StructureDefinition/Ward",
  "version": "1.0.0",
  "name": "Ward",
  "title": "Station",
  "status": "draft",
  "experimental": false,
  "date": "2025-04-15",
  "publisher": "ARS@rki.de",
  "description": "Station oder Funktionsstelle in einem Krankenhaus.",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Location",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Location",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Location.meta",
        "path": "Location.meta",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Location.meta.id",
        "path": "Location.meta.id",
        "max": "0"
      },
      {
        "id": "Location.meta.extension",
        "path": "Location.meta.extension",
        "max": "0"
      },
      {
        "id": "Location.meta.versionId",
        "path": "Location.meta.versionId",
        "max": "0"
      },
      {
        "id": "Location.meta.lastUpdated",
        "path": "Location.meta.lastUpdated",
        "max": "0"
      },
      {
        "id": "Location.meta.source",
        "path": "Location.meta.source",
        "max": "0"
      },
      {
        "id": "Location.meta.profile",
        "path": "Location.meta.profile",
        "slicing": {
          "discriminator": [
            {
              "type": "pattern",
              "path": "$this"
            }
          ],
          "rules": "closed"
        },
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Location.meta.profile:arsProfile",
        "path": "Location.meta.profile",
        "sliceName": "arsProfile",
        "min": 1,
        "max": "1",
        "patternCanonical": "https://demis.rki.de/fhir/ars/StructureDefinition/Ward",
        "mustSupport": true
      },
      {
        "id": "Location.meta.security",
        "path": "Location.meta.security",
        "max": "0"
      },
      {
        "id": "Location.meta.tag",
        "path": "Location.meta.tag",
        "max": "0"
      },
      {
        "id": "Location.identifier",
        "path": "Location.identifier",
        "short": "Unveränderliche Identifikation der Station oder Funktionsstelle",
        "definition": "Interner Identifier für die Station oder die Funktionsstelle. Der Identifier muss innerhalb der Daten des Datensender eindeutig und unveränderlich sein.",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Location.identifier.use",
        "path": "Location.identifier.use",
        "max": "0"
      },
      {
        "id": "Location.identifier.type",
        "path": "Location.identifier.type",
        "max": "0"
      },
      {
        "id": "Location.identifier.system",
        "path": "Location.identifier.system",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Location.identifier.value",
        "path": "Location.identifier.value",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Location.identifier.period",
        "path": "Location.identifier.period",
        "max": "0"
      },
      {
        "id": "Location.identifier.assigner",
        "path": "Location.identifier.assigner",
        "max": "0"
      },
      {
        "id": "Location.status",
        "path": "Location.status",
        "max": "0"
      },
      {
        "id": "Location.operationalStatus",
        "path": "Location.operationalStatus",
        "max": "0"
      },
      {
        "id": "Location.name",
        "path": "Location.name",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Location.alias",
        "path": "Location.alias",
        "max": "0"
      },
      {
        "id": "Location.description",
        "path": "Location.description",
        "max": "0"
      },
      {
        "id": "Location.mode",
        "path": "Location.mode",
        "max": "0"
      },
      {
        "id": "Location.type",
        "path": "Location.type",
        "short": "Stationstyp oder Art der Funktionsstelle",
        "definition": "Der Stationstyp oder die Art der Funktionsstelle gibt codiert an, ob es sich um z.B. eine Normalstation, Intensivstation, IMC oder Ambulanz handelt.",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Location.type.coding",
        "path": "Location.type.coding",
        "min": 1,
        "max": "1",
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "valueSet": "https://demis.rki.de/fhir/ars/ValueSet/stationstyp"
        }
      },
      {
        "id": "Location.type.coding.system",
        "path": "Location.type.coding.system",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Location.type.coding.version",
        "path": "Location.type.coding.version",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Location.type.coding.code",
        "path": "Location.type.coding.code",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Location.telecom",
        "path": "Location.telecom",
        "max": "0"
      },
      {
        "id": "Location.address",
        "path": "Location.address",
        "max": "0"
      },
      {
        "id": "Location.physicalType",
        "path": "Location.physicalType",
        "max": "0"
      },
      {
        "id": "Location.position",
        "path": "Location.position",
        "max": "0"
      },
      {
        "id": "Location.managingOrganization",
        "path": "Location.managingOrganization",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://demis.rki.de/fhir/ars/StructureDefinition/Hospital"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Location.managingOrganization.reference",
        "path": "Location.managingOrganization.reference",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Location.managingOrganization.type",
        "path": "Location.managingOrganization.type",
        "max": "0"
      },
      {
        "id": "Location.managingOrganization.identifier",
        "path": "Location.managingOrganization.identifier",
        "max": "0"
      },
      {
        "id": "Location.managingOrganization.display",
        "path": "Location.managingOrganization.display",
        "max": "0"
      },
      {
        "id": "Location.partOf",
        "path": "Location.partOf",
        "max": "0"
      },
      {
        "id": "Location.hoursOfOperation",
        "path": "Location.hoursOfOperation",
        "max": "0"
      },
      {
        "id": "Location.availabilityExceptions",
        "path": "Location.availabilityExceptions",
        "max": "0"
      },
      {
        "id": "Location.endpoint",
        "path": "Location.endpoint",
        "max": "0"
      }
    ]
  }
}