feature: Improve dashboard functionality
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user