18 lines
660 B
C#
18 lines
660 B
C#
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;
|
|
} |