feature: Improve dashboard functionality

This commit is contained in:
voltsrage
2026-06-23 20:19:32 +08:00
parent dd0fd88731
commit 79b6d9d85e
60 changed files with 2857 additions and 164 deletions
@@ -274,8 +274,14 @@ public class GapAnalysisFixTests : IAsyncLifetime
var data = resp.GetProperty("data");
data.GetProperty("totalCount").GetInt32().Should().BeGreaterThanOrEqualTo(1);
data.GetProperty("items").EnumerateArray().Should().Contain(b =>
b.GetProperty("complianceStatus").GetString() == "IN_PROGRESS");
var bundle = data.GetProperty("items").EnumerateArray()
.First(b => b.GetProperty("encounterId").GetGuid() == encounter.Id);
bundle.GetProperty("complianceStatus").GetString().Should().Be("IN_PROGRESS");
bundle.GetProperty("firstName").GetString().Should().Be("List");
bundle.GetProperty("lastName").GetString().Should().Be("Test");
bundle.GetProperty("mrn").GetString().Should().Be("MRN-LIST-001");
bundle.GetProperty("department").GetString().Should().Be("Icu");
bundle.GetProperty("elements").EnumerateArray().Should().HaveCount(4);
}
// -------------------------------------------------------------------------