Table of Contents

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

DateTime

ObservationDate

public DateTime ObservationDate

Field Value

DateTime

Properties

LastValue

public object? LastValue { get; set; }

Property Value

object

Max

public double? Max { get; set; }

Property Value

double?

MaxAlert

public double? MaxAlert { get; set; }

Property Value

double?

MaxWarn

public double? MaxWarn { get; set; }

Property Value

double?

Min

public double? Min { get; set; }

Property Value

double?

MinAlert

public double? MinAlert { get; set; }

Property Value

double?

MinWarn

public double? MinWarn { get; set; }

Property Value

double?

Text

public string? Text { get; set; }

Property Value

string

Value

public required object Value { get; set; }

Property Value

object

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

obs List<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 null if obs contains no items.