Observation class

Measurements and simple assertions made about a patient, device or other subject.

Inheritance
Available extensions

Constructors

Observation({String? id, Meta? meta, FixedList<Identifier>? identifier, FixedList<Reference>? basedOn, FixedList<Reference>? partOf, String? status, FixedList<CodeableConcept>? category, CodeableConcept? code, Reference? subject, Reference? encounter, DateTime? effectiveDateTime, Period? effectivePeriod, Timing? effectiveTiming, DateTime? effectiveInstant, DateTime? issued, 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<Annotation>? note, CodeableConcept? bodySite, CodeableConcept? method, Reference? specimen, Reference? device, FixedList<ObservationReferenceRange>? referenceRange, FixedList<Reference>? hasMember, FixedList<Reference>? derivedFrom, FixedList<ObservationComponent>? component, FixedList<CodeableReference>? complicatedBy, FixedList<CodeableReference>? contextOfUse})
Constructs a new Observation.
Observation.fromJson(JsonObject jsonObject)
Creates an Observation instance from the provided JSON object.

Properties

basedOn → FixedList<Reference>?
A plan, proposal or order that is fulfilled in whole or in part by this event.
no setter
bodySite → CodeableConcept?
Indicates the site on the subject's body where the observation was made (i.e. the target site).
no setter
category → FixedList<CodeableConcept>?
A code that classifies the general type of observation being made.
no setter
code → CodeableConcept?
Type of observation (code / type).
no setter
complicatedBy → FixedList<CodeableReference>?
The complications or conditions that interfere with the interpretation of the observation.
no setter
component → FixedList<ObservationComponent>?
Some observations have multiple component observations. These component observations are expressed as separate code value pairs that share the same attributes. Examples include systolic and diastolic component observations for blood pressure measurement and multiple component observations for genetics observations.
no setter
contextOfUse → FixedList<CodeableReference>?
Details the use context for the Observation, if appropriate.
no setter
dataAbsentReason → CodeableConcept?
Provides a reason why the expected value in the element Observation.valuex is missing.
no setter
derivedFrom → FixedList<Reference>?
The target resource that represents a measurement from which this observation value is derived. For example, a calculated anion gap or a fetal measurement based on an ultrasound image.
no setter
device → Reference?
The device used to generate the observation data.
no setter
effectiveDateTime → DateTime?
The time or time-period the observed value is asserted as being true. For biological subjects - e.g. human patients - this is usually called the "physiologically relevant time". This is usually either the time of the procedure or of specimen collection, but very often the source of the date/time is not known, only the date/time itself.
no setter
effectiveInstant → DateTime?
The time or time-period the observed value is asserted as being true. For biological subjects - e.g. human patients - this is usually called the "physiologically relevant time". This is usually either the time of the procedure or of specimen collection, but very often the source of the date/time is not known, only the date/time itself.
no setter
effectivePeriod → Period?
The time or time-period the observed value is asserted as being true. For biological subjects - e.g. human patients - this is usually called the "physiologically relevant time". This is usually either the time of the procedure or of specimen collection, but very often the source of the date/time is not known, only the date/time itself.
no setter
effectiveTiming → Timing?
The time or time-period the observed value is asserted as being true. For biological subjects - e.g. human patients - this is usually called the "physiologically relevant time". This is usually either the time of the procedure or of specimen collection, but very often the source of the date/time is not known, only the date/time itself.
no setter
encounter → Reference?
The healthcare event (e.g. a patient and healthcare provider interaction) during which this observation is made.
no setter
hashCode → int
The hash code for this object.
no setterinherited
hasMember → FixedList<Reference>?
This observation is a group observation (e.g. a battery, a panel of tests, a set of vital sign measurements) that includes the target as a member of the group.
no setter
id → String?
The id of the resource
no setterinherited
identifier → FixedList<Identifier>?
Business identifier for this observation.
no setter
interpretation → FixedList<CodeableConcept>?
A categorical assessment of an observation value. This is often used to supply a "normal" range categorization for numeric values.
no setter
issued → DateTime?
The date and time this version of the observation was made available to providers, typically after the results have been reviewed and verified.
no setter
json → JsonObject
finalinherited
meta → Meta?
The metadata of the resource
no setterinherited
method → CodeableConcept?
Indicates the mechanism used to perform the observation.
no setter
note → FixedList<Annotation>?
Comments about the observation or the results.
no setter
partOf → FixedList<Reference>?
A larger event of which this particular observation is a component or step.
no setter
referenceRange → FixedList<ObservationReferenceRange>?
Guidance on how to interpret the value by comparison to a normal or recommended range.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
specimen → Reference?
The specimen that was used when this observation was made.
no setter
status → String?
The status of the result value.
no setter
subject → Reference?
The patient, or group of patients, location, or device this observation is about and into whose record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the focus element or the code itself specifies the actual focus of the observation.
no setter
valueBoolean → bool?
The information determined as a result of making the observation, if the information has a simple value.
no setter
valueCodeableConcept → CodeableConcept?
The information determined as a result of making the observation, if the information has a simple value.
no setter
valueDateTime → DateTime?
The information determined as a result of making the observation, if the information has a simple value.
no setter
valueInteger → int?
The information determined as a result of making the observation, if the information has a simple value.
no setter
valuePeriod → Period?
The information determined as a result of making the observation, if the information has a simple value.
no setter
valueQuantity → Quantity?
The information determined as a result of making the observation, if the information has a simple value.
no setter
valueRange → Range?
The information determined as a result of making the observation, if the information has a simple value.
no setter
valueRatio → Ratio?
The information determined as a result of making the observation, if the information has a simple value.
no setter
valueSampledData → SampledData?
The information determined as a result of making the observation, if the information has a simple value.
no setter
valueString → String?
The information determined as a result of making the observation, if the information has a simple value.
no setter
valueTime → Time?
The information determined as a result of making the observation, if the information has a simple value.
no setter

Methods

copyWith({String? id, Meta? meta, FixedList<Identifier>? identifier, FixedList<Reference>? basedOn, FixedList<Reference>? partOf, String? status, FixedList<CodeableConcept>? category, CodeableConcept? code, Reference? subject, Reference? encounter, DateTime? effectiveDateTime, Period? effectivePeriod, Timing? effectiveTiming, DateTime? effectiveInstant, DateTime? issued, 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<Annotation>? note, CodeableConcept? bodySite, CodeableConcept? method, Reference? specimen, Reference? device, FixedList<ObservationReferenceRange>? referenceRange, FixedList<Reference>? hasMember, FixedList<Reference>? derivedFrom, FixedList<ObservationComponent>? component, FixedList<CodeableReference>? complicatedBy, FixedList<CodeableReference>? contextOfUse}) → Observation
Creates a copy of the Observation instance and allows for non-destructive mutation.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
validate(List<FieldDefinition> fieldDefinitions) → ValidationResult

Available on Resource, provided by the ResourceValidationExtensions extension

Validates the resource based on the provided fieldDefinitions.
withFieldResource<T2 extends Resource>(FieldDefinition<T2> field, T2 resource, {required T constructor(JsonObject)}) → T

Available on T, provided by the ResourceExtensions extension

Creates a clone of the resource with the provided field updated with another resource
withFieldValue(FieldDefinition field, JsonValue value, {required T constructor(JsonObject)}) → T

Available on T, provided by the ResourceExtensions extension

Creates a clone of the resource with the provided field updated with another resource
withNullField<T2>(FieldDefinition<T2> field, {required T constructor(JsonObject)}) → UpdateResult<T>

Available on T, provided by the ResourceExtensions extension

withUndefinedField<T2>(FieldDefinition<T2> field, {required T constructor(JsonObject)}) → UpdateResult<T>

Available on T, provided by the ResourceExtensions extension

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

basedOnField → const FieldDefinition<FixedList<Reference>>
Field definition for basedOn
bodySiteField → const FieldDefinition<CodeableConcept>
Field definition for bodySite
categoryField → const FieldDefinition<FixedList<CodeableConcept>>
Field definition for category
codeField → const FieldDefinition<CodeableConcept>
Field definition for code
complicatedByField → const FieldDefinition<FixedList<CodeableReference>>
Field definition for complicatedBy
componentField → const FieldDefinition<FixedList<ObservationComponent>>
Field definition for component
contextOfUseField → const FieldDefinition<FixedList<CodeableReference>>
Field definition for contextOfUse
dataAbsentReasonField → const FieldDefinition<CodeableConcept>
Field definition for dataAbsentReason
derivedFromField → const FieldDefinition<FixedList<Reference>>
Field definition for derivedFrom
deviceField → const FieldDefinition<Reference>
Field definition for device
effectiveDateTimeField → const FieldDefinition<DateTime>
Field definition for effectiveDateTime
effectiveInstantField → const FieldDefinition<DateTime>
Field definition for effectiveInstant
effectivePeriodField → const FieldDefinition<Period>
Field definition for effectivePeriod
effectiveTimingField → const FieldDefinition<Timing>
Field definition for effectiveTiming
encounterField → const FieldDefinition<Reference>
Field definition for encounter
fieldDefinitions → const List<FieldDefinition<Object>>
All field definitions for Observation.
hasMemberField → const FieldDefinition<FixedList<Reference>>
Field definition for hasMember
identifierField → const FieldDefinition<FixedList<Identifier>>
Field definition for identifier
interpretationField → const FieldDefinition<FixedList<CodeableConcept>>
Field definition for interpretation
issuedField → const FieldDefinition<DateTime>
Field definition for issued
methodField → const FieldDefinition<CodeableConcept>
Field definition for method
noteField → const FieldDefinition<FixedList<Annotation>>
Field definition for note
partOfField → const FieldDefinition<FixedList<Reference>>
Field definition for partOf
referenceRangeField → const FieldDefinition<FixedList<ObservationReferenceRange>>
Field definition for referenceRange
specimenField → const FieldDefinition<Reference>
Field definition for specimen
statusField → const FieldDefinition<String>
Field definition for status
subjectField → const FieldDefinition<Reference>
Field definition for subject
valueBooleanField → const FieldDefinition<bool>
Field definition for valueBoolean
valueCodeableConceptField → const FieldDefinition<CodeableConcept>
Field definition for valueCodeableConcept
valueDateTimeField → const FieldDefinition<DateTime>
Field definition for valueDateTime
valueIntegerField → const FieldDefinition<int>
Field definition for valueInteger
valuePeriodField → const FieldDefinition<Period>
Field definition for valuePeriod
valueQuantityField → const FieldDefinition<Quantity>
Field definition for valueQuantity
valueRangeField → const FieldDefinition<Range>
Field definition for valueRange
valueRatioField → const FieldDefinition<Ratio>
Field definition for valueRatio
valueSampledDataField → const FieldDefinition<SampledData>
Field definition for valueSampledData
valueStringField → const FieldDefinition<String>
Field definition for valueString
valueTimeField → const FieldDefinition<Time>
Field definition for valueTime