Unify CCS case management flow

This commit is contained in:
hz
2026-07-19 21:29:24 -05:00
parent dacf2b89b2
commit f12904bf73
13 changed files with 938 additions and 47 deletions
+9
View File
@@ -107,6 +107,7 @@ public class CcsAttempt
{
[BsonId, BsonRepresentation(BsonType.ObjectId)] public string? Id { get; set; }
public string UserId { get; set; } = "";
[BsonIgnoreIfNull] public string? ActiveSlot { get; set; }
public string CaseExternalId { get; set; } = "";
[BsonRepresentation(BsonType.ObjectId)] public string CaseRevisionId { get; set; } = "";
public int CaseVersion { get; set; }
@@ -228,6 +229,8 @@ public class CcsAttemptResponse
public string Location { get; set; } = "";
public DateTime? DeadlineUtc { get; set; }
public DateTime? FinalOrdersDeadlineUtc { get; set; }
public DateTime CreatedUtc { get; set; }
public int RealTimeMinutes { get; set; }
public int ElapsedSeconds { get; set; }
public string PatientSummary { get; set; } = "";
public string ReasonForEncounter { get; set; } = "";
@@ -256,6 +259,12 @@ public class CcsHistoryItem
public DateTime CreatedUtc { get; set; }
}
public class CcsHistoryPage
{
public List<CcsHistoryItem> Items { get; set; } = [];
public string? NextCursor { get; set; }
}
public class CcsUserRating
{
[BsonId, BsonRepresentation(BsonType.ObjectId)] public string? Id { get; set; }