@d4l/collect-lib 1.22.1 → 1.24.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 +5 -2
- package/dist/index.d.ts +5 -2
- package/dist/index.js +8 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1186,6 +1186,7 @@ var toQuestionnaireResponseItem = (answer) => {
|
|
|
1186
1186
|
};
|
|
1187
1187
|
case "string":
|
|
1188
1188
|
case "text":
|
|
1189
|
+
case "geo-location":
|
|
1189
1190
|
return {
|
|
1190
1191
|
linkId: answer.id,
|
|
1191
1192
|
text: answer.text,
|
|
@@ -5587,6 +5588,10 @@ function ULIDtoUUID(ulid, opts) {
|
|
|
5587
5588
|
return uuid2;
|
|
5588
5589
|
}
|
|
5589
5590
|
|
|
5591
|
+
// src/helper/question.ts
|
|
5592
|
+
var OTHER_ANSWER_CODE = "#other";
|
|
5593
|
+
var getFollowUpQuestionLinkId = (linkId) => `${linkId}${OTHER_ANSWER_CODE}`;
|
|
5594
|
+
|
|
5590
5595
|
// src/configuration/apis.ts
|
|
5591
5596
|
var API_TARGET_MAP = {
|
|
5592
5597
|
DEXCOM: {
|
|
@@ -5746,6 +5751,7 @@ export {
|
|
|
5746
5751
|
MeasurementTypeSystem,
|
|
5747
5752
|
MinLengthExtension,
|
|
5748
5753
|
MinValueExtension,
|
|
5754
|
+
OTHER_ANSWER_CODE,
|
|
5749
5755
|
ObservationTypeSystem,
|
|
5750
5756
|
Offset,
|
|
5751
5757
|
PAMSCardioVascularActivityAnnotation,
|
|
@@ -5803,6 +5809,7 @@ export {
|
|
|
5803
5809
|
generateStepGuard,
|
|
5804
5810
|
generateUrn,
|
|
5805
5811
|
get,
|
|
5812
|
+
getFollowUpQuestionLinkId,
|
|
5806
5813
|
getLanguageOfPassPhrase,
|
|
5807
5814
|
getMovellaAnnotation,
|
|
5808
5815
|
getText,
|