Clinical Sync Batch Engine: first commit
This commit is contained in:
@@ -2,7 +2,9 @@ public static class AlertCreationGuard
|
||||
{
|
||||
public static void EnsureAllowed(AlertType alertType)
|
||||
{
|
||||
#pragma warning disable CS0618 // Guard rejects deprecated SEPSIS_WARNING creation
|
||||
if (alertType == AlertType.SepsisWarning)
|
||||
#pragma warning restore CS0618
|
||||
throw new InvalidOperationException(
|
||||
"SEPSIS_WARNING is deprecated. Use SOFA_SEPSIS for sepsis detection.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user