feature:
Full SOFA Score: Data Layer + Scoring Engine Glasgow Coma Scale: Data Layer + Scoring Engine
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
public record GcsResult(
|
||||
GcsOutcome Outcome,
|
||||
int? TotalScore = null,
|
||||
string? Classification = null,
|
||||
bool AlertCreated = false,
|
||||
int PresentComponents = 0)
|
||||
{
|
||||
public static readonly GcsResult NotGcsCode = new(GcsOutcome.NotGcsCode);
|
||||
|
||||
public static GcsResult IncompleteComponents(int presentCount) =>
|
||||
new(GcsOutcome.IncompleteComponents, PresentComponents: presentCount);
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
public record GcsScoreResponse(
|
||||
int EyeScore,
|
||||
int VerbalScore,
|
||||
int MotorScore,
|
||||
int TotalScore,
|
||||
string Classification,
|
||||
DateTimeOffset CalculatedAt);
|
||||
Reference in New Issue
Block a user