22 lines
943 B
C#
22 lines
943 B
C#
public class SimulationRun
|
|
{
|
|
public Guid Id { get; set; }
|
|
public string ScenarioId { get; set; } = null!;
|
|
public string ScenarioName { get; set; } = null!;
|
|
public double Speed { get; set; }
|
|
public SimulationRunStatus Status { get; set; }
|
|
public Guid? PatientId { get; set; }
|
|
public Guid? EncounterId { get; set; }
|
|
/// <summary>Session preset id when started via a Phase 38 session; null for single-scenario starts.</summary>
|
|
public string? SessionId { get; set; }
|
|
public string StartedByUserId { get; set; } = null!;
|
|
public DateTimeOffset StartedAt { get; set; }
|
|
public DateTimeOffset? CompletedAt { get; set; }
|
|
public int ObservationsSent { get; set; }
|
|
public int MedicationsSent { get; set; }
|
|
public int OrdersPlaced { get; set; }
|
|
public double LastOffsetMinutes { get; set; }
|
|
public double TotalOffsetMinutes { get; set; }
|
|
public string? FailureReason { get; set; }
|
|
}
|