Run initial test for Climate Resilience Verification Suite
Add first part of Alert Quality Analytics
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
public class AlertFeedback
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
public Guid AlertId { get; set; }
|
||||
public ClinicalAlert Alert { get; set; } = null!;
|
||||
public Guid UserId { get; set; }
|
||||
public AlertFeedbackType FeedbackType { get; set; }
|
||||
public string? Comment { get; set; }
|
||||
public DateTimeOffset CreatedAt { get; set; }
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
public class AlertQualityMetric
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
public AlertType AlertType { get; set; }
|
||||
public DateTimeOffset WindowStart { get; set; }
|
||||
public DateTimeOffset WindowEnd { get; set; }
|
||||
public int TotalAlerts { get; set; }
|
||||
public int AcknowledgedCount { get; set; }
|
||||
public int ResolvedCount { get; set; }
|
||||
public int EscalatedCount { get; set; }
|
||||
public int FeedbackUsefulCount { get; set; }
|
||||
public int FeedbackFalsePositiveCount { get; set; }
|
||||
public int FeedbackWouldActCount { get; set; }
|
||||
public int FeedbackCount { get; set; }
|
||||
public double AcknowledgementRate { get; set; }
|
||||
public double FalsePositiveRate { get; set; }
|
||||
public double UsefulRate { get; set; }
|
||||
public double WouldActRate { get; set; }
|
||||
public double AvgSecondsToAcknowledge { get; set; }
|
||||
public double AvgSecondsToResolution { get; set; }
|
||||
public DateTimeOffset ComputedAt { get; set; }
|
||||
}
|
||||
@@ -15,6 +15,8 @@ public class ClinicalAlert
|
||||
public DateTimeOffset TriggeredAt { get; set; }
|
||||
public Guid? ClientAlertId { get; set; }
|
||||
public bool SyncedFromGateway { get; set; }
|
||||
public bool FeedbackReceived { get; set; }
|
||||
|
||||
public Encounter Encounter { get; set; } = null!;
|
||||
public List<AlertFeedback> Feedbacks { get; set; } = new();
|
||||
}
|
||||
Reference in New Issue
Block a user