Class FullObservation
- Namespace
- adas_core.Domain.Models.Observations
- Assembly
- adas-core.Domain.dll
Represents a complete observation as a specialized form of the Observation base class.
public class FullObservation : Observation
- Inheritance
-
FullObservation
- Inherited Members
- Extension Methods
Fields
LastObservationDate
public DateTime LastObservationDate
Field Value
ObservationDate
public DateTime ObservationDate
Field Value
Properties
LastValue
public object? LastValue { get; set; }
Property Value
Max
public double? Max { get; set; }
Property Value
MaxAlert
public double? MaxAlert { get; set; }
Property Value
MaxWarn
public double? MaxWarn { get; set; }
Property Value
Min
public double? Min { get; set; }
Property Value
MinAlert
public double? MinAlert { get; set; }
Property Value
MinWarn
public double? MinWarn { get; set; }
Property Value
Text
public string? Text { get; set; }
Property Value
Value
public required object Value { get; set; }
Property Value
Methods
From(List<PatientObservation>)
Creates a FullObservation from a list of PatientObservation records, using the first entry's data and, when available, the second entry's value and time as the last observation. Returns null when the provided list is empty.
public static FullObservation? From(List<PatientObservation> obs)
Parameters
obsList<PatientObservation>The list of patient observations to convert; only the first two entries are used when present.
Returns
- FullObservation
A FullObservation built from the first observation, or
nullifobscontains no items.