SampledData class

SampledData A series of measurements taken by a device, with upper and lower limits. There may be more than one dimension in the data.

Annotations
  • @freezed

Constructors

SampledData({@JsonKey(name: 'id') String? fhirId, @JsonKey(name: 'extension') List<FhirExtension>? extension_, required Quantity origin, FhirDecimal? interval, @JsonKey(name: '_interval') Element? intervalElement, FhirCode? intervalUnit, @JsonKey(name: '_intervalUnit') Element? intervalUnitElement, FhirDecimal? factor, @JsonKey(name: '_factor') Element? factorElement, FhirDecimal? lowerLimit, @JsonKey(name: '_lowerLimit') Element? lowerLimitElement, FhirDecimal? upperLimit, @JsonKey(name: '_upperLimit') Element? upperLimitElement, FhirPositiveInt? dimensions, @JsonKey(name: '_dimensions') Element? dimensionsElement, FhirCanonical? codeMap, String? offsets, @JsonKey(name: '_offsets') Element? offsetsElement, String? data, @JsonKey(name: '_data') Element? dataElement})
SampledData A series of measurements taken by a device, with upper and lower limits. There may be more than one dimension in the data.
const
factory
SampledData.fromJson(Map<String, dynamic> json)
Factory constructor, accepts Map<String, dynamic> as an argument
factory
SampledData.fromJsonString(String source)
Acts like a constructor, returns a SampledData, accepts a String as an argument, mostly because I got tired of typing it out
factory
SampledData.fromYaml(dynamic yaml)
Factory constructor that accepts a String in YAML format as an argument
factory

Properties

codeMap FhirCanonical?
codeMap Reference to ConceptMap that defines the codes used in the data.
no setterinherited
copyWith → $SampledDataCopyWith<SampledData>
no setterinherited
data String?
data A series of data points which are decimal values or codes separated by a single space (character u20). The special codes "E" (error), "L" (below detection limit) and "U" (above detection limit) are also defined for used in place of decimal values.
no setterinherited
dataElement Element?
dataElement ("_data") Extensions for data
no setterinherited
dimensions FhirPositiveInt?
dimensions The number of sample points at each time point. If this value is greater than one, then the dimensions will be interlaced - all the sample points for a point in time will be recorded at once.
no setterinherited
dimensionsElement Element?
dimensionsElement ("_dimensions") Extensions for dimensions
no setterinherited
extension_ List<FhirExtension>?
extension_ ("extension") May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
no setterinherited
factor FhirDecimal?
factor A correction factor that is applied to the sampled data points before they are added to the origin.
no setterinherited
factorElement Element?
factorElement ("_factor") Extensions for factor
no setterinherited
fhirId String?
id Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
interval FhirDecimal?
interval Amount of intervalUnits between samples, e.g. milliseconds for time-based sampling.
no setterinherited
intervalElement Element?
intervalElement ("_interval") Extensions for interval
no setterinherited
intervalUnit FhirCode?
intervalUnit The measurement unit in which the sample interval is expressed.
no setterinherited
intervalUnitElement Element?
intervalUnitElement ("_intervalUnit") Extensions for intervalUnit
no setterinherited
lowerLimit FhirDecimal?
lowerLimit The lower limit of detection of the measured points. This is needed if any of the data points have the value "L" (lower than detection limit).
no setterinherited
lowerLimitElement Element?
lowerLimitElement ("_lowerLimit") Extensions for lowerLimit
no setterinherited
offsets String?
offsets A series of data points which are decimal values separated by a single space (character u20). The units in which the offsets are expressed are found in intervalUnit. The absolute point at which the measurements begin SHALL be conveyed outside the scope of this datatype, e.g. Observation.effectiveDateTime for a timing offset.
no setterinherited
offsetsElement Element?
offsetsElement ("_offsets") Extensions for offsets
no setterinherited
origin Quantity
origin The base quantity that a measured value of zero represents. In addition, this provides the units of the entire measurement series.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
upperLimit FhirDecimal?
upperLimit The upper limit of detection of the measured points. This is needed if any of the data points have the value "U" (higher than detection limit).
no setterinherited
upperLimitElement Element?
upperLimitElement ("_upperLimit") Extensions for upperLimit
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toJsonString() String
Another convenience method because more and more I'm transmitting FHIR data as a String and not a Map
toString() String
A string representation of this object.
inherited
toYaml() String
Produces a Yaml formatted String version of the object

Operators

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