{
  "resourceType": "StructureDefinition",
  "id": "NotificationBundleDisease",
  "url": "https://demis.rki.de/fhir/StructureDefinition/NotificationBundleDisease",
  "version": "1.2.0",
  "name": "NotificationBundleDisease",
  "title": "Erkrankungsmeldevorgang",
  "status": "active",
  "date": "2024-06-14",
  "description": "Der Erkrankungsmeldevorgang ist vom Meldevorgang abgeleitet und bildet den Container für eine meldetatbestandsspezifische Erkrankungsmeldung und die darin referenzierten Ressourcen.",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Bundle",
  "baseDefinition": "https://demis.rki.de/fhir/StructureDefinition/NotificationBundle",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Bundle",
        "path": "Bundle",
        "constraint": [
          {
            "key": "maxOneNotifiedPerson",
            "severity": "error",
            "human": "Im NotificationBundle darf maximal eine betroffene Person enthalten sein.",
            "expression": "entry.where(resource.meta.profile='https://demis.rki.de/fhir/StructureDefinition/NotifiedPerson').count()<=1"
          }
        ]
      },
      {
        "id": "Bundle.meta",
        "path": "Bundle.meta",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Bundle.meta.profile",
        "path": "Bundle.meta.profile",
        "min": 1,
        "max": "1",
        "fixedCanonical": "https://demis.rki.de/fhir/StructureDefinition/NotificationBundleDisease",
        "mustSupport": true
      },
      {
        "id": "Bundle.identifier.system",
        "path": "Bundle.identifier.system",
        "fixedUri": "https://demis.rki.de/fhir/NamingSystem/NotificationBundleId"
      },
      {
        "id": "Bundle.entry:notification",
        "path": "Bundle.entry",
        "sliceName": "notification",
        "short": "Erkrankungsmeldung",
        "definition": "In einem Erkrankungsmeldevorgang muss genau eine meldetatbestandsspezifische Erkrankungsmeldung enthalten sein.",
        "max": "1"
      },
      {
        "id": "Bundle.entry:notification.resource",
        "path": "Bundle.entry.resource",
        "short": "Enthält die meldetatbestandsspezifische Erkrankungsmeldung",
        "definition": "Enthält die meldetatbestandsspezifische Erkrankungsmeldung",
        "min": 1,
        "type": [
          {
            "code": "Composition",
            "profile": [
              "https://demis.rki.de/fhir/StructureDefinition/NotificationDisease"
            ]
          }
        ]
      }
    ]
  }
}