Table of Contents

Class DoubleObservation

Namespace
adas_core.Domain.Models.Observations
Assembly
adas-core.Domain.dll

Represents an observation that captures a double-precision floating-point measurement or value. Inherits from the base Observation type, providing a specialized observation variant for numeric data of type double.

public class DoubleObservation : Observation
Inheritance
DoubleObservation
Inherited Members
Extension Methods

Properties

LastValue

public double? LastValue { get; set; }

Property Value

double?

Value

public double? Value { get; set; }

Property Value

double?

Methods

From(List<PatientObservation>)

Creates a DoubleObservation from a list of PatientObservation instances, using the first element's value as the primary Value and the second element's value as the LastValue when available.

public static DoubleObservation? From(List<PatientObservation> obs)

Parameters

obs List<PatientObservation>

The list of patient observations to convert. At least one element is required to produce a result.

Returns

DoubleObservation

A DoubleObservation populated with the converted double values, or null if the list is empty.