Class StringObservation
- Namespace
- adas_core.Domain.Models.Observations
- Assembly
- adas-core.Domain.dll
Represents an observation that is associated with string data, extending the base Observation type.
public class StringObservation : Observation
- Inheritance
-
StringObservation
- Inherited Members
- Extension Methods
Remarks
This class specializes the Observation concept for textual or string-based content, inheriting the core observation behavior from its parent class.
Properties
Value
public string Value { get; set; }
Property Value
Methods
From(List<PatientObservation>)
Creates a StringObservation from the first PatientObservation in the provided list.
Returns null when the list is empty.
public static StringObservation? From(List<PatientObservation> obs)
Parameters
obsList<PatientObservation>The list of PatientObservation instances to convert.
Returns
- StringObservation
A StringObservation populated with the string value of the first observation, or
nullif the list contains no elements.