=== Summary: 675 files | 7 generated | 484 fresh | 4605 untracked | 4268 adopted | 355 marked | 466 validated-ok | 2+0 stale (sig+body) | 0 skipped | 0 failed | elapsed 11:08:11.442 (40091.44s) ===

This commit is contained in:
julian
2026-06-28 02:50:05 -07:00
parent a19fb90902
commit 586f02a2ca
654 changed files with 5260 additions and 0 deletions
@@ -6,6 +6,7 @@ namespace adas_core.Domain.Models;
/// <summary>
/// Represents an observation that belongs to or has been categorized within a logical group.
/// </summary>
/// <!-- aidoc:v1 sig=84e4850 -->
public class GroupedObservation
{
public ObjectId PatientId { get; set; }
@@ -20,6 +21,7 @@ public class GroupedObservation
/// Returns a string representation of the PatientObservation, including the patient's name and observations in a formatted output.
/// </summary>
/// <returns>A formatted string in the form "PatientObservation[name: ..., observations: ...]".</returns>
/// <!-- aidoc:v1 sig=d27f326 body=4730d27 -->
public override string ToString()
{
List<string> items =
@@ -33,6 +35,7 @@ public class GroupedObservation
/// <summary>
/// Represents a grouped collection of observations.
/// </summary>
/// <!-- aidoc:v1 sig=c2fb2de -->
public class GroupedObservationObs
{
public string Name { get; set; } = string.Empty;
@@ -71,6 +74,7 @@ public class GroupedObservation
/// Returns a string representation of the GroupedObservationObs, including the name and any non-null statistical properties (first, last, min, max, average, sum, count, half-hour, min alert, max alert), along with the time, shift date, and optional shift.
/// </summary>
/// <returns>A formatted string in the form "GroupedObservationObs[name: ..., ...]" summarizing the object's relevant properties.</returns>
/// <!-- aidoc:v1 sig=d27f326 body=c3b1d70 -->
public override string ToString()
{
List<string> items = [$"name: {Name}"];
@@ -96,6 +100,7 @@ public class GroupedObservation
/// <summary>
/// Represents an observed value within a grouped observation, pairing a value with an optional timestamp and status type.
/// </summary>
/// <!-- aidoc:v1 sig=1c0a52a -->
public class GroupedObservationObsValue(object value, DateTime? time, StatusEnum.Type type = StatusEnum.Type.Ok)
{
public StatusEnum.Type Type { get; set; } = type;
@@ -109,6 +114,7 @@ public class GroupedObservation
/// Returns a formatted string representation of the object, including its value, time, and type/status fields.
/// </summary>
/// <returns>A string containing the value, time, and type of the object.</returns>
/// <!-- aidoc:v1 sig=d27f326 body=fad9e16 -->
public override string ToString()
{
return $"value: {Value}, time: {Time}, status: {Type}";