Files
vigilcare-clinical/VigilCareClinicalAPI/Configuration/ReconciliationJobOptions.cs
T

18 lines
817 B
C#

public sealed class ReconciliationJobOptions
{
public const string Section = "ReconciliationJobs";
// How often the scheduler fires all three checks.
// Production: 30 minutes. Set lower in development to observe behavior quickly.
public int IntervalMinutes { get; init; } = 30;
// Check 1: critical alerts open longer than this are a patient safety failure.
public int UnacknowledgedAlertThresholdMinutes { get; init; } = 30;
// Check 2: orders pending longer than this may indicate a lost sample or LIS failure.
public int PendingOrderThresholdHours { get; init; } = 4;
// Check 3: active inpatients without an observation in this window may have
// a disconnected monitor or an undocumented physical move.
public int NoObservationThresholdHours { get; init; } = 2;
}