feature: Sepsis Engine Refactor: Remove SIRS, Rewire qSOFA + Bundle
Frontend: GCS Entry, SOFA Display, Sepsis UI Refactor
This commit is contained in:
@@ -11,19 +11,12 @@ public sealed class ClinicalMetrics
|
||||
"Total observations ingested, labeled by observation code and source.",
|
||||
labelNames: new[] { "observation_code", "source" });
|
||||
|
||||
// Labeled by alert_type (THRESHOLD_BREACH, SEPSIS_WARNING, QSOFA_WARNING) and severity
|
||||
// (Critical, Warning) so the dashboard can show Critical vs Warning rates separately.
|
||||
// Labeled by alert_type and severity (e.g. QSOFA_SCREEN/WARNING, SOFA_SEPSIS/CRITICAL).
|
||||
public readonly Counter ClinicalAlertsTotal = Metrics.CreateCounter(
|
||||
"clinical_alerts_total",
|
||||
"Total clinical alerts generated, labeled by type and severity.",
|
||||
labelNames: new[] { "alert_type", "severity" });
|
||||
|
||||
// Incremented only when INSERT WHERE NOT EXISTS succeeds — duplicate-suppressed
|
||||
// SIRS detections do not count. This is the true detection rate, not the evaluation rate.
|
||||
public readonly Counter SirsDetectionsTotal = Metrics.CreateCounter(
|
||||
"sirs_detections_total",
|
||||
"Total SEPSIS_WARNING alerts generated by the sepsis detection engine.");
|
||||
|
||||
public readonly Counter News2ScoresTotal = Metrics.CreateCounter(
|
||||
"news2_scores_total",
|
||||
"Total NEWS2 scores computed, labeled by risk level.",
|
||||
@@ -48,7 +41,7 @@ public sealed class ClinicalMetrics
|
||||
|
||||
public readonly Counter QsofaDetectionsTotal = Metrics.CreateCounter(
|
||||
"qsofa_detections_total",
|
||||
"Total QSOFA_WARNING alerts generated by the qSOFA scoring engine.");
|
||||
"Total QSOFA_SCREEN alerts generated by the qSOFA screening engine.");
|
||||
|
||||
public readonly Counter SepsisBundleComplianceTotal = Metrics.CreateCounter(
|
||||
"sepsis_bundle_compliance_total",
|
||||
|
||||
Reference in New Issue
Block a user