feature: Sepsis Engine Refactor: Remove SIRS, Rewire qSOFA + Bundle
Frontend: GCS Entry, SOFA Display, Sepsis UI Refactor
This commit is contained in:
@@ -12,6 +12,14 @@ public class SepsisAlertHandler
|
||||
public async Task OnSepsisAlertCreatedAsync(
|
||||
Guid encounterId, Guid alertId, AlertType alertType, CancellationToken ct)
|
||||
{
|
||||
if (alertType != AlertType.SofaSepsis)
|
||||
{
|
||||
_logger.LogDebug(
|
||||
"Alert type {AlertType} does not trigger sepsis bundle — skipping",
|
||||
alertType.ToDbString());
|
||||
return;
|
||||
}
|
||||
|
||||
var bundle = await _bundleService.TryCreateBundleAsync(encounterId, alertId, alertType, ct);
|
||||
|
||||
if (bundle is not null)
|
||||
@@ -19,4 +27,4 @@ public class SepsisAlertHandler
|
||||
"Sepsis bundle {BundleId} created for encounter {EncounterId} (trigger={AlertType})",
|
||||
bundle.Id, encounterId, alertType.ToDbString());
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user