feature: In-App Simulation Runner (Backend)
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
namespace VigilCare.Simulation;
|
||||
|
||||
public class ReplayResult
|
||||
{
|
||||
public string ScenarioId { get; }
|
||||
public Guid PatientId { get; set; }
|
||||
public Guid EncounterId { get; set; }
|
||||
public int ObservationsSent { get; set; }
|
||||
public int MedicationsSent { get; set; }
|
||||
public int MedicationsSkipped { get; set; }
|
||||
public int OrdersPlaced { get; set; }
|
||||
public int OrdersResulted { get; set; }
|
||||
public TimeSpan Duration { get; set; }
|
||||
public List<string> OutcomeFailures { get; } = new();
|
||||
public bool HadExpectedOutcomes { get; set; }
|
||||
|
||||
public bool OutcomesPassed => OutcomeFailures.Count == 0;
|
||||
|
||||
public ReplayResult(string scenarioId) => ScenarioId = scenarioId;
|
||||
}
|
||||
Reference in New Issue
Block a user