=== 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
@@ -11,6 +11,7 @@ namespace adas_core.Domain.Models;
/// <remarks>
/// This class serves as a concrete implementation of patient observation data, inheriting common observation value behavior from <see cref="BasePatientObservationValue"/>.
/// </remarks>
/// <!-- aidoc:v1 sig=877e2d3 -->
public class PatientObservation : BasePatientObservationValue
{
private string? _result;
@@ -69,6 +70,10 @@ public class PatientObservation : BasePatientObservationValue
/// Returns a string representation of the <see cref="PatientObservation"/>, including its value, optional min/max/warning thresholds, result, status, expiration, and persistence settings. Optional properties are only included in the output when they have non-null or, for strings, non-empty values.
/// </summary>
/// <returns>A formatted string in the form <c>PatientObservation[property1: value1, ...]</c> containing the populated properties of the observation.</returns>
/// <!-- aidoc-review:v1 severity=medium kind=stale_summary
/// "Summary omits the 'showOnExpired' and 'colorOnExpired' properties which are also conditionally added to the output." -->
/// <!-- aidoc-review:v1 severity=medium kind=wrong_summary
/// "Summary states optional properties are included 'when they have non-null or, for strings, non-empty values', but 'showOnExpired' is added only when !ShowOnExpired (i.e., when the boolean is false)." -->
public override string ToString()
{
var items = ToListString();
@@ -90,6 +95,7 @@ public class PatientObservation : BasePatientObservationValue
/// Creates a copy of the current <see cref="PatientObservation"/> instance by performing a shallow copy via MemberwiseClone and casting the cloned object back to <see cref="PatientObservation"/>.
/// </summary>
/// <returns>A <see cref="PatientObservation"/> instance that is a shallow copy of the current object.</returns>
/// <!-- aidoc:v1 sig=25ad808 body=6d4453e -->
public PatientObservation DeepCopy()
{
return (PatientObservation)MemberwiseClone();