feature: Self-Service Clinical Testing Sessions
CI / backend (push) Successful in 8m52s
CI / frontend (push) Failing after 1m39s

This commit is contained in:
voltsrage
2026-08-06 04:03:04 +08:00
parent 1d28880920
commit 80b009fd23
41 changed files with 4922 additions and 123 deletions
@@ -15,6 +15,35 @@ public record ScenarioSummaryResponse(
public record StartSimulationRunRequest(string ScenarioId, double Speed = 60);
public record StartSimulationSessionRequest(double? Speed = null);
public record SessionPresetResponse(
string Id,
string Name,
string Goal,
int EstimatedMinutes,
double DefaultSpeed,
IReadOnlyList<ScenarioSummaryResponse> Scenarios);
public record SimulationSessionResponse(
string SessionId,
string Name,
DateTimeOffset StartedAt,
IReadOnlyList<Guid> RunIds);
public record SimulationDataSummaryResponse(
int SimulatedPatients,
int Encounters,
int Observations,
int Alerts,
int ActiveRuns);
public record SimulationPurgeResponse(
int PatientsDeleted,
int EncountersDeleted,
int AlertsDeleted,
int RunsCleared);
public record SimulationRunResponse(
Guid RunId,
string ScenarioId,
@@ -23,6 +52,7 @@ public record SimulationRunResponse(
double Speed,
Guid? PatientId,
Guid? EncounterId,
string? SessionId,
string PatientDisplayName,
DateTimeOffset StartedAt,
double ElapsedRealSeconds,