SampledData constructor

const SampledData({
  1. @JsonKey(name: 'id') String? fhirId,
  2. @JsonKey(name: 'extension') List<FhirExtension>? extension_,
  3. required Quantity origin,
  4. FhirDecimal? period,
  5. @JsonKey(name: '_period') Element? periodElement,
  6. FhirDecimal? factor,
  7. @JsonKey(name: '_factor') Element? factorElement,
  8. FhirDecimal? lowerLimit,
  9. @JsonKey(name: '_lowerLimit') Element? lowerLimitElement,
  10. FhirDecimal? upperLimit,
  11. @JsonKey(name: '_upperLimit') Element? upperLimitElement,
  12. FhirPositiveInt? dimensions,
  13. @JsonKey(name: '_dimensions') Element? dimensionsElement,
  14. String? data,
  15. @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.

id Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

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.

origin The base quantity that a measured value of zero represents. In addition, this provides the units of the entire measurement series.

period The length of time between sampling times, measured in milliseconds.

periodElement Extensions for period

factor A correction factor that is applied to the sampled data points before they are added to the origin.

factorElement Extensions for factor

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).

lowerLimitElement Extensions for lowerLimit

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).

upperLimitElement Extensions for upperLimit

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.

dimensionsElement Extensions for dimensions

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.

dataElement Extensions for data

Implementation

const factory SampledData({
  /// [id] Unique id for the element within a resource (for internal
  ///  references). This may be any string value that does not contain spaces.
  @JsonKey(name: 'id') String? fhirId,

  /// [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.
  @JsonKey(name: 'extension') List<FhirExtension>? extension_,

  /// [origin] The base quantity that a measured value of zero represents. In
  ///  addition, this provides the units of the entire measurement series.
  required Quantity origin,

  /// [period] The length of time between sampling times, measured in
  ///  milliseconds.
  FhirDecimal? period,

  /// [periodElement] Extensions for period
  @JsonKey(name: '_period') Element? periodElement,

  /// [factor] A correction factor that is applied to the sampled data points
  ///  before they are added to the origin.
  FhirDecimal? factor,

  /// [factorElement] Extensions for factor
  @JsonKey(name: '_factor') Element? factorElement,

  /// [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).
  FhirDecimal? lowerLimit,

  /// [lowerLimitElement] Extensions for lowerLimit
  @JsonKey(name: '_lowerLimit') Element? lowerLimitElement,

  /// [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).
  FhirDecimal? upperLimit,

  /// [upperLimitElement] Extensions for upperLimit
  @JsonKey(name: '_upperLimit') Element? upperLimitElement,

  /// [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.
  FhirPositiveInt? dimensions,

  /// [dimensionsElement] Extensions for dimensions
  @JsonKey(name: '_dimensions') Element? dimensionsElement,

  /// [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.
  String? data,

  /// [dataElement] Extensions for data
  @JsonKey(name: '_data') Element? dataElement,
}) = _SampledData;