feature: Reconciliation Jobs

This commit is contained in:
voltsrage
2026-06-17 14:36:10 +08:00
parent 56d052aa4f
commit 101040f9d9
40 changed files with 2845 additions and 32 deletions
@@ -0,0 +1,18 @@
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;
}