{
  "resourceType": "StructureDefinition",
  "id": "NotificationBundleLaboratoryNegative",
  "url": "https://demis.rki.de/fhir/StructureDefinition/NotificationBundleLaboratoryNegative",
  "version": "2.1.0",
  "name": "NotificationBundleLaboratoryNegative",
  "title": "Erregernachweismeldevorgang (negativ)",
  "status": "active",
  "experimental": true,
  "date": "2025-02-17",
  "description": "Der Erregernachweismeldevorgang für negative Ergebnisse ist vom Meldevorgang abgeleitet und bildet den Container für eine Erregernachweismeldung (negativ) 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": "noNotifiedPersonByName",
            "severity": "error",
            "human": "Im NotificationBundle darf keine NAMENTLICHE betroffene Person enthalten sein.",
            "expression": "entry.where(resource.meta.profile='https://demis.rki.de/fhir/StructureDefinition/NotifiedPerson').count()=0"
          },
          {
            "key": "exactlyOneNotifiedPersonAnonymous",
            "severity": "error",
            "human": "Im NotificationBundle muss genau eine anonyme betroffene Person enthalten sein.",
            "expression": "entry.where(resource.meta.profile='https://demis.rki.de/fhir/StructureDefinition/NotifiedPersonAnonymous').count()=1"
          },
          {
            "key": "maxOneSubmittingRole",
            "severity": "error",
            "human": "Im NotificationBundle darf maximal eine Einsender-Rolle enthalten sein. In diesem Zusammenhang ist jedoch zu berücksichtigen, dass bestimmte Meldetatbestände die Angabe des Einsenders der Probe ausschließen.",
            "expression": "entry.where(resource.meta.profile='https://demis.rki.de/fhir/StructureDefinition/SubmittingRole').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/NotificationBundleLaboratoryNegative",
        "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",
        "definition": "Enthaltene Meldungen. In einem Erregernachweismeldevorgang (negativ) muss genau eine Erregernachweismeldung (negativ) enthalten sein.",
        "max": "1"
      },
      {
        "id": "Bundle.entry:notification.resource",
        "path": "Bundle.entry.resource",
        "min": 1,
        "type": [
          {
            "code": "Composition",
            "profile": [
              "https://demis.rki.de/fhir/StructureDefinition/NotificationLaboratoryNegative"
            ]
          }
        ]
      }
    ]
  }
}