Deliver portable native Architecture B deployment and final verification
This commit is contained in:
1 parent
f451b55de1
commit
36740d2492
92 files changed
+10939
-926
No files matched your search
@@ -16,7 +16,7 @@ public sealed class HealthOverviewTests(ObservationApiFixture fixture) : IClassF
|
||||
private async Task<Guid> Patient()
|
||||
{
|
||||
using var response = await fixture.Client.PostAsJsonAsync("/api/patients", new
|
||||
{ name = "Overview patient", dateOfBirth = "1980-01-01", contactInfo = "Synthetic contact" });
|
||||
{ name = "Overview patient", dateOfBirth = "1980-01-01", contactInfo = "Synthetic contact" });
|
||||
Assert.Equal(HttpStatusCode.Created, response.StatusCode);
|
||||
return (await response.Content.ReadFromJsonAsync<PatientDto>())!.PatientId;
|
||||
}
|
||||
@@ -25,9 +25,23 @@ public sealed class HealthOverviewTests(ObservationApiFixture fixture) : IClassF
|
||||
{
|
||||
using var response = await fixture.Client.PostAsJsonAsync($"/api/patients/{patient}/observations", new
|
||||
{
|
||||
measuredAt = time, systolic, diastolic = 80, pulse = 65, context = "Preserved original context", note = "Preserved note",
|
||||
measurementContext = new { setting, activityCondition = activity, restDurationMinutes = 5,
|
||||
bodyPosition = "Seated", measuredArm = "Left", deviceDetails = "Device", cuffDetails = "Cuff", additionalCircumstances = "Morning" }
|
||||
measuredAt = time,
|
||||
systolic,
|
||||
diastolic = 80,
|
||||
pulse = 65,
|
||||
context = "Preserved original context",
|
||||
note = "Preserved note",
|
||||
measurementContext = new
|
||||
{
|
||||
setting,
|
||||
activityCondition = activity,
|
||||
restDurationMinutes = 5,
|
||||
bodyPosition = "Seated",
|
||||
measuredArm = "Left",
|
||||
deviceDetails = "Device",
|
||||
cuffDetails = "Cuff",
|
||||
additionalCircumstances = "Morning"
|
||||
}
|
||||
});
|
||||
Assert.Equal(HttpStatusCode.Created, response.StatusCode);
|
||||
return (await response.Content.ReadFromJsonAsync<Recorded>())!.ObservationId;
|
||||
|
||||
Reference in new issue
Block a user