@d4l/collect-lib 1.1.0 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -4392,6 +4392,11 @@ var DEVICE_LABEL_CODING = {
4392
4392
  code: "device_label",
4393
4393
  display: "Device label"
4394
4394
  };
4395
+ var DEVICE_DISPLAY_LABEL_CODING = {
4396
+ system: SensorSettingsSystem,
4397
+ code: "display_label",
4398
+ display: "Display Label"
4399
+ };
4395
4400
  var DEVICE_OUTPUT_RATE_CODING = {
4396
4401
  system: "urn:iso:std:iso:11073:10101",
4397
4402
  code: "68320",
@@ -4795,7 +4800,7 @@ function displayLabelToFHIR(signal, reference, effectivePeriod) {
4795
4800
  resourceType: "Observation",
4796
4801
  status: "final",
4797
4802
  code: {
4798
- coding: [DEVICE_LABEL_CODING]
4803
+ coding: [DEVICE_DISPLAY_LABEL_CODING]
4799
4804
  },
4800
4805
  subject: { reference },
4801
4806
  effectivePeriod,
@@ -5176,6 +5181,7 @@ export {
5176
5181
  DEVICE_ANNOTATION_TIMESTAMP_UNIT,
5177
5182
  DEVICE_D4L_COMPANION_ANNOTATION_ITEM_DATA_TYPES_FLAG,
5178
5183
  DEVICE_D4L_COMPANION_ANNOTATION_ITEM_TIMESTAMP,
5184
+ DEVICE_DISPLAY_LABEL_CODING,
5179
5185
  DEVICE_LABEL_CODING,
5180
5186
  DEVICE_OUTPUT_RATE_CODING,
5181
5187
  DEVICE_SENSOR_DELAY_CODING,