feature: Self-Service Clinical Testing Sessions
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
public record AlertFeedbackQualityRow(
|
||||
Guid Id,
|
||||
Guid AlertId,
|
||||
string AlertType,
|
||||
string FeedbackType,
|
||||
string? Comment,
|
||||
DateTimeOffset CreatedAt,
|
||||
string? ScenarioId,
|
||||
string? SessionId);
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user