ObservationComponent class
Represents a single observation component within a larger observation.
Constructors
-
ObservationComponent({CodeableConcept? code, Quantity? valueQuantity, CodeableConcept? valueCodeableConcept, String? valueString, bool? valueBoolean, int? valueInteger, Range? valueRange, Ratio? valueRatio, SampledData? valueSampledData, Time? valueTime, DateTime? valueDateTime, Period? valuePeriod, CodeableConcept? dataAbsentReason, FixedList<
CodeableConcept> ? interpretation, FixedList<ObservationReferenceRange> ? referenceRange}) - Constructs a new ObservationComponent with various optional measurement values and attributes.
- ObservationComponent.fromJson(JsonObject _json)
- Constructs a new ObservationComponent instance from the provided JSON object.
Properties
- code → CodeableConcept?
-
Returns the code that identifies what was observed.
no setter
- dataAbsentReason → CodeableConcept?
-
Returns the codeable concept if there's a reason data is absent.
no setter
- hashCode → int
-
The hash code for this object.
no setteroverride
-
interpretation
→ FixedList<
CodeableConcept> ? -
Returns the interpretation of the observation as a list of codeable concepts.
no setter
- json → JsonObject
-
Converts this ObservationComponent instance to a JSON object.
no setter
-
referenceRange
→ FixedList<
ObservationReferenceRange> ? -
Returns the reference ranges applicable to this component.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- valueBoolean → bool?
-
Returns the value of the observation if it's a boolean.
no setter
- valueCodeableConcept → CodeableConcept?
-
Returns the value of the observation if it's a codeable concept.
no setter
- valueDateTime → DateTime?
-
Returns the value of the observation if it's a date-time.
no setter
- valueInteger → int?
-
Returns the value of the observation if it's an integer.
no setter
- valuePeriod → Period?
-
Returns the value of the observation if it's a period.
no setter
- valueQuantity → Quantity?
-
Returns the value of the observation if it's a quantity.
no setter
- valueRange → Range?
-
Returns the value of the observation if it's a range.
no setter
- valueRatio → Ratio?
-
Returns the value of the observation if it's a ratio.
no setter
- valueSampledData → SampledData?
-
Returns the value of the observation if it's sampled data.
no setter
- valueString → String?
-
Returns the value of the observation if it's a string.
no setter
- valueTime → Time?
-
Returns the value of the observation if it's a time.
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override