=== 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
@@ -9,6 +9,7 @@ namespace adas_core.Domain.Models.Observations;
/// <remarks>
/// Serves as a specialized observation for capturing and modeling medication-specific data within the inheritance hierarchy.
/// </remarks>
/// <!-- aidoc:v1 sig=a00759f -->
public class Medication : Observation
{
/// <summary>
@@ -65,6 +66,7 @@ public class Medication : Observation
/// <summary>
/// Represents a value or data entry associated with a drug, such as dosage, concentration, or other pharmaceutical-related information.
/// </summary>
/// <!-- aidoc:v1 sig=a9fb501 -->
public class DrugValue
{
/// <summary>
@@ -102,6 +104,7 @@ public class DrugValue
/// Copies the values from the specified <see cref="DrugValue"/> instance into the current instance, replacing the existing Id, Text, Units, Time, CodingSystem, and Result properties.
/// </summary>
/// <param name="common">The <see cref="DrugValue"/> instance whose property values will be copied to the current instance.</param>
/// <!-- aidoc:v1 sig=04f2026 body=2cd00f7 -->
public void Copy(DrugValue common)
{
Id = common.Id;
@@ -119,6 +122,7 @@ public class DrugValue
/// <remarks>
/// As an abstract class, it must be inherited by a derived class that supplies the concrete implementation for the double-based drug value behavior.
/// </remarks>
/// <!-- aidoc:v1 sig=2c61895 -->
public abstract class DrugDoubleValue : DrugValue
{
/// <summary>
@@ -141,6 +145,7 @@ public abstract class DrugDoubleValue : DrugValue
/// <remarks>
/// Inherits from <see cref="DrugValue"/> and is intended to be derived by concrete classes that encapsulate string-typed drug data associated with a <see cref="PumpElement"/>.
/// </remarks>
/// <!-- aidoc:v1 sig=b31b430 -->
public abstract class DrugStringValue(PumpElement pumpElement) : DrugValue(pumpElement)
{
public string? Value { get; set; } = pumpElement.Value?.ToString();
@@ -149,6 +154,7 @@ public abstract class DrugStringValue(PumpElement pumpElement) : DrugValue(pumpE
/// <summary>
/// Represents a double-precision drug value that describes the flow of a fluid for the specified <see cref="PumpElement"/>.
/// </summary>
/// <!-- aidoc:v1 sig=afae0d5 -->
public class FlowFluid(PumpElement pumpElement) : DrugDoubleValue(pumpElement);
/// <summary>
@@ -157,6 +163,7 @@ public class FlowFluid(PumpElement pumpElement) : DrugDoubleValue(pumpElement);
/// <remarks>
/// Inherits from <see cref="DrugDoubleValue"/>, sharing the pump element context with its base type.
/// </remarks>
/// <!-- aidoc:v1 sig=e2e9e55 -->
public class VolumeFluidDeliveryTotal(PumpElement pumpElement) : DrugDoubleValue(pumpElement);
/// <summary>
@@ -165,11 +172,13 @@ public class VolumeFluidDeliveryTotal(PumpElement pumpElement) : DrugDoubleValue
/// <remarks>
/// Inherits from <see cref="DrugDoubleValue"/> and is constructed with a <see cref="PumpElement"/> instance that is forwarded to the base constructor.
/// </remarks>
/// <!-- aidoc:v1 sig=8d4645b -->
public class PumpDeliveryPressure(PumpElement pumpElement) : DrugDoubleValue(pumpElement);
/// <summary>
/// Represents the remaining volume of fluid to be infused (TBI) associated with a pump element, implemented as a drug-related double value.
/// </summary>
/// <!-- aidoc:v1 sig=dc8c1c6 -->
public class VolumeFluidTbiRemain(PumpElement pumpElement) : DrugDoubleValue(pumpElement);
/// <summary>
@@ -178,12 +187,14 @@ public class VolumeFluidTbiRemain(PumpElement pumpElement) : DrugDoubleValue(pum
/// <remarks>
/// Inherits from <see cref="DrugDoubleValue"/> and is constructed with a <see cref="PumpElement"/> to capture time-related fluid volume metrics.
/// </remarks>
/// <!-- aidoc:v1 sig=9b38fa5 -->
public class VolumeFluidTimePdRemain(PumpElement pumpElement) : DrugDoubleValue(pumpElement);
/// <summary>
/// Represents the active sources of a pump element as a drug string value.
/// Inherits from <see cref="DrugStringValue"/>, encapsulating source information for pump operations.
/// </summary>
/// <!-- aidoc:v1 sig=ded4b3d -->
public class PumpActiveSources(PumpElement pumpElement) : DrugStringValue(pumpElement)
{
public string? ValueId { get; set; } = pumpElement.ValueId;
@@ -193,11 +204,13 @@ public class PumpActiveSources(PumpElement pumpElement) : DrugStringValue(pumpEl
/// <summary>
/// Represents a drug value associated with a pump element, inheriting from the DrugStringValue base class.
/// </summary>
/// <!-- aidoc:v1 sig=284cad0 -->
public class Drug(PumpElement pumpElement) : DrugStringValue(pumpElement);
/// <summary>
/// Represents a pump mode as a drug-related string value, inheriting string-based value semantics from <see cref="DrugStringValue"/>.
/// </summary>
/// <!-- aidoc:v1 sig=d46f699 -->
public class PumpMode : DrugStringValue
{
/// <summary>
@@ -214,6 +227,7 @@ public class PumpMode : DrugStringValue
/// <summary>
/// Represents the operational status of a pump as a drug-related string value.
/// </summary>
/// <!-- aidoc:v1 sig=b46795e -->
public class PumpStatus : DrugStringValue
{
/// <summary>