Files
vigilcare-clinical/VigilCareClinicalAPI/Domains/Entities/SimulationRun.cs
T
voltsrage 80b009fd23
CI / backend (push) Successful in 8m52s
CI / frontend (push) Failing after 1m39s
feature: Self-Service Clinical Testing Sessions
2026-08-06 04:03:04 +08:00

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; }
}