{
  "resourceType": "StructureDefinition",
  "id": "Hospital",
  "meta": {
    "lastUpdated": "2025-05-02T11:22:36.516+00:00"
  },
  "url": "https://demis.rki.de/fhir/ars/StructureDefinition/Hospital",
  "version": "1.0.0",
  "name": "Hospital",
  "title": "Krankenhausstandort",
  "status": "draft",
  "experimental": false,
  "date": "2025-04-15",
  "publisher": "ARS@rki.de",
  "description": "Dieses Profil ermöglicht die Abbildung eines Krankenhausstandortes. Für ARS sollen die Krankenhäuser nach Möglichkeit als ihre Standorte gemäß Definition des InEK-Standortverzeichnis mit entsprechendem Identifier übermittelt werden. Siehe auch Kapitel 'Identifier für Organisationen' im Implementierungsleitfaden.",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Organization",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Organization",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Organization.id",
        "path": "Organization.id",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Organization.meta",
        "path": "Organization.meta",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Organization.meta.id",
        "path": "Organization.meta.id",
        "max": "0"
      },
      {
        "id": "Organization.meta.extension",
        "path": "Organization.meta.extension",
        "max": "0"
      },
      {
        "id": "Organization.meta.versionId",
        "path": "Organization.meta.versionId",
        "max": "0"
      },
      {
        "id": "Organization.meta.lastUpdated",
        "path": "Organization.meta.lastUpdated",
        "max": "0"
      },
      {
        "id": "Organization.meta.source",
        "path": "Organization.meta.source",
        "max": "0"
      },
      {
        "id": "Organization.meta.profile",
        "path": "Organization.meta.profile",
        "slicing": {
          "discriminator": [
            {
              "type": "pattern",
              "path": "$this"
            }
          ],
          "rules": "closed"
        },
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Organization.meta.profile:arsProfile",
        "path": "Organization.meta.profile",
        "sliceName": "arsProfile",
        "min": 1,
        "max": "1",
        "patternCanonical": "https://demis.rki.de/fhir/ars/StructureDefinition/Hospital",
        "mustSupport": true
      },
      {
        "id": "Organization.meta.security",
        "path": "Organization.meta.security",
        "max": "0"
      },
      {
        "id": "Organization.meta.tag",
        "path": "Organization.meta.tag",
        "max": "0"
      },
      {
        "id": "Organization.identifier",
        "path": "Organization.identifier",
        "slicing": {
          "discriminator": [
            {
              "type": "pattern",
              "path": "system"
            }
          ],
          "rules": "closed"
        },
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Organization.identifier:StandortID",
        "path": "Organization.identifier",
        "sliceName": "StandortID",
        "short": "Standort-Id",
        "definition": "6-Stellige Standort-Id aus InEK-Standortverzeichnis",
        "comment": "Priorität 1. Für ARS sollen die Krankenhausstandorte getrennt übermittelt werden. Anhand der 6-stelligen Standort-Id aus dem InEK-Standortverzeichnis können die Standorte dem Krankenhaus zugeordnet werden und weitere Informationen angereichert werden. Für Einrichtungen, für die keine InEK-Standort-Id vergeben ist ist das Feld 'HauptIK' oder 'ArsID' zu benutzten.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Identifier",
            "profile": [
              "https://demis.rki.de/fhir/ars/StructureDefinition/IdentifierInekStandortId"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Organization.identifier:StandortID.value",
        "path": "Organization.identifier.value",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Organization.identifier:HauptIK",
        "path": "Organization.identifier",
        "sliceName": "HauptIK",
        "short": "Institutskennzeichen (IK)",
        "definition": "Haupt-Institutskennzeichen welches im InEK-Standortverzeichnis ausgewiesen wird",
        "comment": "Priorität 2. Für ARS sollen die Krankenhausstandorte getrennt übermittelt werden. Können die Daten beim Datensender für die Standorte nicht getrennt ausgewiesen werden, kann das IK des Gesamtkrankenhauses angeben werden.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Identifier",
            "profile": [
              "http://fhir.de/StructureDefinition/identifier-iknr"
            ]
          }
        ]
      },
      {
        "id": "Organization.identifier:HauptIK.system",
        "path": "Organization.identifier.system",
        "mustSupport": true
      },
      {
        "id": "Organization.identifier:HauptIK.value",
        "path": "Organization.identifier.value",
        "mustSupport": true
      },
      {
        "id": "Organization.identifier:InterneOrganisationsID",
        "path": "Organization.identifier",
        "sliceName": "InterneOrganisationsID",
        "short": "Interner Identifier",
        "definition": "Identifier für die Einrichtung, vom Datensender gebildet. Besteht aus der DEMIS-ID des Datensenders und einer fortlaufenden Sequenznummer für das abzubildende Krankenhaus.",
        "comment": "Priorität 3. Ist insbesondere zu nutzen für Einrichtungen die nicht im InEK-Standortverzeichnis geführt werden (z.B. Privatkliniken).",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Identifier",
            "profile": [
              "https://demis.rki.de/fhir/ars/StructureDefinition/IdentifierInternalOrganizationId"
            ]
          }
        ]
      },
      {
        "id": "Organization.identifier:InterneOrganisationsID.value",
        "path": "Organization.identifier.value",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Organization.active",
        "path": "Organization.active",
        "max": "0"
      },
      {
        "id": "Organization.type",
        "path": "Organization.type",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Organization.type.coding",
        "path": "Organization.type.coding",
        "min": 1,
        "max": "1",
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "valueSet": "https://demis.rki.de/fhir/ValueSet/organizationType"
        }
      },
      {
        "id": "Organization.type.coding.system",
        "path": "Organization.type.coding.system",
        "min": 1,
        "patternUri": "https://demis.rki.de/fhir/CodeSystem/organizationType",
        "mustSupport": true
      },
      {
        "id": "Organization.type.coding.version",
        "path": "Organization.type.coding.version",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Organization.type.coding.code",
        "path": "Organization.type.coding.code",
        "min": 1,
        "patternCode": "hospital",
        "mustSupport": true
      },
      {
        "id": "Organization.type.text",
        "path": "Organization.type.text",
        "max": "0"
      },
      {
        "id": "Organization.name",
        "path": "Organization.name",
        "mustSupport": true
      },
      {
        "id": "Organization.alias",
        "path": "Organization.alias",
        "max": "0"
      },
      {
        "id": "Organization.telecom",
        "path": "Organization.telecom",
        "max": "0"
      },
      {
        "id": "Organization.address",
        "path": "Organization.address",
        "min": 1,
        "type": [
          {
            "code": "Address",
            "profile": [
              "http://fhir.de/StructureDefinition/address-de-basis"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Organization.address.postalCode",
        "path": "Organization.address.postalCode",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Organization.contact",
        "path": "Organization.contact",
        "max": "0"
      },
      {
        "id": "Organization.endpoint",
        "path": "Organization.endpoint",
        "max": "0"
      }
    ]
  }
}