feature: Trend Detection & Alert Suppression Windows

This commit is contained in:
voltsrage
2026-06-18 21:18:13 +08:00
parent e6f7989298
commit 3c54feb38a
31 changed files with 2751 additions and 18 deletions
@@ -0,0 +1 @@
public record TrendHistoryEntry(decimal Value, DateTimeOffset RecordedAt);
@@ -0,0 +1,6 @@
public record TrendObservationEvent(
Guid EncounterId,
Guid PatientId,
string ObservationCode,
decimal Value,
DateTimeOffset RecordedAt);
@@ -0,0 +1,5 @@
public record TrendResult(
TrendOutcome Outcome,
string? ObservationCode = null,
decimal? RatePerMinute = null,
bool AlertCreated = false);