@d4l/collect-lib 1.30.0 → 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/dist/index.d.mts +4 -2
- package/dist/index.d.ts +4 -2
- package/dist/index.js +6 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -912,6 +912,8 @@ var StudyNameSystem = "http://fhir.data4life.care/r5/CodeSystem/study-name";
|
|
|
912
912
|
var SensorSettingsSystem = "http://fhir.data4life.care/r5/CodeSystem/sensor-settings";
|
|
913
913
|
var CustomQuestionSystem = "http://fhir.data4life.care/r5/CodeSystem/custom-question-class";
|
|
914
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";
|
|
915
917
|
var DEVICE_LABEL_CODING = {
|
|
916
918
|
system: SensorSettingsSystem,
|
|
917
919
|
code: "device_label",
|
|
@@ -1216,6 +1218,7 @@ var toQuestionnaireResponseItem = (answer) => {
|
|
|
1216
1218
|
answer: [{ valueDate: String(response.value) }]
|
|
1217
1219
|
};
|
|
1218
1220
|
case "single-select":
|
|
1221
|
+
case "country":
|
|
1219
1222
|
return {
|
|
1220
1223
|
linkId: answer.id,
|
|
1221
1224
|
text: answer.text,
|
|
@@ -5741,6 +5744,7 @@ export {
|
|
|
5741
5744
|
ConsentGuard,
|
|
5742
5745
|
ConsentNameSystem,
|
|
5743
5746
|
ConsentVersionSystem,
|
|
5747
|
+
CountryValueSet,
|
|
5744
5748
|
CustomExtensionContextValue,
|
|
5745
5749
|
CustomExtensionDate,
|
|
5746
5750
|
CustomExtensionStudyName,
|
|
@@ -5802,6 +5806,7 @@ export {
|
|
|
5802
5806
|
HEALTH_CONNECT_STEPS_ANNOTATION,
|
|
5803
5807
|
IMUAnnotation,
|
|
5804
5808
|
InternalSensorAnnotationTypes,
|
|
5809
|
+
Iso3166CodeSystem,
|
|
5805
5810
|
KeyHandler,
|
|
5806
5811
|
MaxValueExtension,
|
|
5807
5812
|
MeasurementTypeSystem,
|