SampledData class
SampledData A series of measurements taken by a device, with upper and
- Annotations
-
- @freezed
Constructors
-
SampledData({@JsonKey(name: 'id') String? fhirId, @JsonKey(name: 'extension') List<
FhirExtension> ? extension_, required Quantity origin, FhirDecimal? period, @JsonKey(name: '_period') Element? periodElement, 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, 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.
constfactory
-
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
-
copyWith
→ $SampledDataCopyWith<
SampledData> -
no setterinherited
- data → String?
-
data A series of data points which are decimal values separated by a
single space (character u20). The special values "E" (error), "L" (below
detection limit) and "U" (above detection limit) can also be used in place
of a decimal value.
no setterinherited
- dataElement → Element?
-
dataElement 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 Extensions for dimensions
no setterinherited
-
extension_
→ List<
FhirExtension> ? -
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 manageable, 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 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
- 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 Extensions for lowerLimit
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
- period → FhirDecimal?
-
period The length of time between sampling times, measured in
milliseconds.
no setterinherited
- periodElement → Element?
-
periodElement Extensions for period
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 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