feature: Sepsis Engine Refactor: Remove SIRS, Rewire qSOFA + Bundle
Frontend: GCS Entry, SOFA Display, Sepsis UI Refactor
This commit is contained in:
@@ -1,7 +0,0 @@
|
||||
public enum SirsOutcome
|
||||
{
|
||||
NotSirsCode,
|
||||
InsufficientCriteria,
|
||||
AlertCreated,
|
||||
AlertAlreadyOpen
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
// Discriminated result — allows tests and callers to assert the exact outcome
|
||||
// without inspecting PostgreSQL or Redis directly.
|
||||
public record SirsResult(SirsOutcome Outcome, int ActiveCount = 0)
|
||||
{
|
||||
public static readonly SirsResult NotSirsCode = new(SirsOutcome.NotSirsCode);
|
||||
public static readonly SirsResult AlertCreated = new(SirsOutcome.AlertCreated);
|
||||
public static readonly SirsResult AlertAlreadyOpen = new(SirsOutcome.AlertAlreadyOpen);
|
||||
|
||||
public static SirsResult InsufficientCriteria(int count) =>
|
||||
new(SirsOutcome.InsufficientCriteria, count);
|
||||
}
|
||||
Reference in New Issue
Block a user