@d4l/collect-lib 1.29.1 → 1.31.0
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/README.md +11 -10
- package/dist/index.d.mts +10 -2
- package/dist/index.d.ts +10 -2
- package/dist/index.js +10 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -886,6 +886,8 @@ import { Buffer as Buffer3 } from "buffer/";
|
|
|
886
886
|
var SliderMinLabelExtension = "http://fhir.data4life.care/StructureDefinition/slider-label-min";
|
|
887
887
|
var SliderMaxLabelExtension = "http://fhir.data4life.care/StructureDefinition/slider-label-max";
|
|
888
888
|
var SliderStepSizeExtension = "http://fhir.data4life.care/StructureDefinition/slider-step-size";
|
|
889
|
+
var SliderOrientationExtension = "http://fhir.data4life.care/StructureDefinition/slider-orientation";
|
|
890
|
+
var SliderInputLabel = "http://fhir.data4life.care/StructureDefinition/slider-input-label";
|
|
889
891
|
var RelativeMinValueExtension = "http://fhir.data4life.care/StructureDefinition/relative-min-value";
|
|
890
892
|
var RelativeMaxValueExtension = "http://fhir.data4life.care/StructureDefinition/relative-max-value";
|
|
891
893
|
var CustomExtensionStudyName = "http://fhir.data4life.care/StructureDefinition/study-name";
|
|
@@ -910,6 +912,8 @@ var StudyNameSystem = "http://fhir.data4life.care/r5/CodeSystem/study-name";
|
|
|
910
912
|
var SensorSettingsSystem = "http://fhir.data4life.care/r5/CodeSystem/sensor-settings";
|
|
911
913
|
var CustomQuestionSystem = "http://fhir.data4life.care/r5/CodeSystem/custom-question-class";
|
|
912
914
|
var CommunicationTypeSystem = "http://fhir.data4life.care/r5/CodeSystem/communication-types";
|
|
915
|
+
var CountryValueSet = "http://hl7.org/fhir/ValueSet/iso3166-1-2";
|
|
916
|
+
var Iso3166CodeSystem = "urn:iso:std:iso:3166";
|
|
913
917
|
var DEVICE_LABEL_CODING = {
|
|
914
918
|
system: SensorSettingsSystem,
|
|
915
919
|
code: "device_label",
|
|
@@ -1214,6 +1218,7 @@ var toQuestionnaireResponseItem = (answer) => {
|
|
|
1214
1218
|
answer: [{ valueDate: String(response.value) }]
|
|
1215
1219
|
};
|
|
1216
1220
|
case "single-select":
|
|
1221
|
+
case "country":
|
|
1217
1222
|
return {
|
|
1218
1223
|
linkId: answer.id,
|
|
1219
1224
|
text: answer.text,
|
|
@@ -5739,6 +5744,7 @@ export {
|
|
|
5739
5744
|
ConsentGuard,
|
|
5740
5745
|
ConsentNameSystem,
|
|
5741
5746
|
ConsentVersionSystem,
|
|
5747
|
+
CountryValueSet,
|
|
5742
5748
|
CustomExtensionContextValue,
|
|
5743
5749
|
CustomExtensionDate,
|
|
5744
5750
|
CustomExtensionStudyName,
|
|
@@ -5800,6 +5806,7 @@ export {
|
|
|
5800
5806
|
HEALTH_CONNECT_STEPS_ANNOTATION,
|
|
5801
5807
|
IMUAnnotation,
|
|
5802
5808
|
InternalSensorAnnotationTypes,
|
|
5809
|
+
Iso3166CodeSystem,
|
|
5803
5810
|
KeyHandler,
|
|
5804
5811
|
MaxValueExtension,
|
|
5805
5812
|
MeasurementTypeSystem,
|
|
@@ -5831,8 +5838,10 @@ export {
|
|
|
5831
5838
|
SensorSettingsSystem,
|
|
5832
5839
|
SensorTypeSystem,
|
|
5833
5840
|
SignalIDSystem,
|
|
5841
|
+
SliderInputLabel,
|
|
5834
5842
|
SliderMaxLabelExtension,
|
|
5835
5843
|
SliderMinLabelExtension,
|
|
5844
|
+
SliderOrientationExtension,
|
|
5836
5845
|
SliderStepSizeExtension,
|
|
5837
5846
|
StudyNameSystem,
|
|
5838
5847
|
SurveyGuard,
|