primary_care_admin_binder 0.1.26 → 0.1.27
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.cjs.js +19 -16
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -22293,23 +22293,26 @@ var generateJson$8 = {
|
|
|
22293
22293
|
var contactpersondetailsArr = data === null || data === void 0 ? void 0 : (_data$ContactPersonDe = data.ContactPersonDetails) === null || _data$ContactPersonDe === void 0 ? void 0 : _data$ContactPersonDe.map(function (val, i) {
|
|
22294
22294
|
var _val$point, _val$use3, _val$prefix, _val$suffix, _val$designation;
|
|
22295
22295
|
|
|
22296
|
+
var telecomArr = [];
|
|
22297
|
+
val === null || val === void 0 ? void 0 : (_val$point = val.point) === null || _val$point === void 0 ? void 0 : _val$point.map(function (v, i) {
|
|
22298
|
+
var _v$use3, _v$mode;
|
|
22299
|
+
|
|
22300
|
+
if (v !== null && v !== void 0 && (_v$use3 = v.use) !== null && _v$use3 !== void 0 && _v$use3.value && v !== null && v !== void 0 && (_v$mode = v.mode) !== null && _v$mode !== void 0 && _v$mode.value && v !== null && v !== void 0 && v.number) {
|
|
22301
|
+
var _v$mode2, _v$use4, _v$priority, _v$code;
|
|
22302
|
+
|
|
22303
|
+
telecomArr.push({
|
|
22304
|
+
system: v === null || v === void 0 ? void 0 : (_v$mode2 = v.mode) === null || _v$mode2 === void 0 ? void 0 : _v$mode2.value,
|
|
22305
|
+
value: v === null || v === void 0 ? void 0 : v.number,
|
|
22306
|
+
use: v === null || v === void 0 ? void 0 : (_v$use4 = v.use) === null || _v$use4 === void 0 ? void 0 : _v$use4.value,
|
|
22307
|
+
rank: v === null || v === void 0 ? void 0 : (_v$priority = v.priority) === null || _v$priority === void 0 ? void 0 : _v$priority.value,
|
|
22308
|
+
id: 0,
|
|
22309
|
+
valueprefix: v === null || v === void 0 ? void 0 : (_v$code = v.code) === null || _v$code === void 0 ? void 0 : _v$code.value
|
|
22310
|
+
});
|
|
22311
|
+
}
|
|
22312
|
+
});
|
|
22313
|
+
debugger;
|
|
22296
22314
|
return {
|
|
22297
|
-
telecom:
|
|
22298
|
-
var _v$use3;
|
|
22299
|
-
|
|
22300
|
-
if (v !== null && v !== void 0 && (_v$use3 = v.use) !== null && _v$use3 !== void 0 && _v$use3.value) {
|
|
22301
|
-
var _v$mode, _v$use4, _v$priority, _v$code;
|
|
22302
|
-
|
|
22303
|
-
return {
|
|
22304
|
-
system: v === null || v === void 0 ? void 0 : (_v$mode = v.mode) === null || _v$mode === void 0 ? void 0 : _v$mode.value,
|
|
22305
|
-
value: v === null || v === void 0 ? void 0 : v.number,
|
|
22306
|
-
use: v === null || v === void 0 ? void 0 : (_v$use4 = v.use) === null || _v$use4 === void 0 ? void 0 : _v$use4.value,
|
|
22307
|
-
rank: v === null || v === void 0 ? void 0 : (_v$priority = v.priority) === null || _v$priority === void 0 ? void 0 : _v$priority.value,
|
|
22308
|
-
id: 0,
|
|
22309
|
-
valueprefix: v === null || v === void 0 ? void 0 : (_v$code = v.code) === null || _v$code === void 0 ? void 0 : _v$code.value
|
|
22310
|
-
};
|
|
22311
|
-
}
|
|
22312
|
-
}),
|
|
22315
|
+
telecom: telecomArr,
|
|
22313
22316
|
name: [{
|
|
22314
22317
|
use: val === null || val === void 0 ? void 0 : (_val$use3 = val.use) === null || _val$use3 === void 0 ? void 0 : _val$use3.value,
|
|
22315
22318
|
text: val === null || val === void 0 ? void 0 : val.firstName,
|