primary_care_admin_binder 0.1.74 → 0.1.77
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 +6 -6
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -11819,7 +11819,7 @@ var generateReference = function generateReference(ref, state, ageCategory) {
|
|
|
11819
11819
|
ageMin: element.age_minimum,
|
|
11820
11820
|
ageMax: element.age_maximum,
|
|
11821
11821
|
unit: state.reference_unit_allowed.data.find(function (sys) {
|
|
11822
|
-
return element.
|
|
11822
|
+
return element.RefValUOM.indexOf(sys.value) > -1;
|
|
11823
11823
|
}),
|
|
11824
11824
|
normalMin: element.normal_min,
|
|
11825
11825
|
normalMax: element.normal_max,
|
|
@@ -11838,7 +11838,7 @@ var generateReference = function generateReference(ref, state, ageCategory) {
|
|
|
11838
11838
|
// Unit: state.reference_unit_allowed.data.find(
|
|
11839
11839
|
// (sys) => element.UOM.indexOf(sys.value) > -1
|
|
11840
11840
|
// ),
|
|
11841
|
-
Unit: state.
|
|
11841
|
+
Unit: state.reference_unit_allowed.data.find(function (sys) {
|
|
11842
11842
|
return element.UOM.indexOf(sys.value) > -1;
|
|
11843
11843
|
}),
|
|
11844
11844
|
table: []
|
|
@@ -11851,7 +11851,7 @@ var generateReference = function generateReference(ref, state, ageCategory) {
|
|
|
11851
11851
|
ageMin: element.age_minimum,
|
|
11852
11852
|
ageMax: element.age_maximum,
|
|
11853
11853
|
unit: state.reference_unit_allowed.data.find(function (sys) {
|
|
11854
|
-
return element.
|
|
11854
|
+
return element.RefValUOM.indexOf(sys.value) > -1;
|
|
11855
11855
|
}),
|
|
11856
11856
|
normalMin: element.normal_min,
|
|
11857
11857
|
normalMax: element.normal_max,
|
|
@@ -24574,8 +24574,8 @@ var generateJson$8 = {
|
|
|
24574
24574
|
var specialtyDetailsArr = data === null || data === void 0 ? void 0 : (_data$specialtyDetail = data.specialtyDetails) === null || _data$specialtyDetail === void 0 ? void 0 : _data$specialtyDetail.map(function (val, i) {
|
|
24575
24575
|
return {
|
|
24576
24576
|
specialty: val === null || val === void 0 ? void 0 : val.dropdown.id,
|
|
24577
|
-
effFrom:
|
|
24578
|
-
effTo:
|
|
24577
|
+
effFrom: moment(val === null || val === void 0 ? void 0 : val.effFrom, "DD-MM-YYYY").unix(),
|
|
24578
|
+
effTo: moment(val === null || val === void 0 ? void 0 : val.effTo, "DD-MM-YYYY").unix(),
|
|
24579
24579
|
external: false
|
|
24580
24580
|
};
|
|
24581
24581
|
});
|
|
@@ -29227,7 +29227,7 @@ var queries$8 = {
|
|
|
29227
29227
|
return {
|
|
29228
29228
|
"db_name": dbName$1,
|
|
29229
29229
|
"entity": "Organization",
|
|
29230
|
-
"filter": "Organization.
|
|
29230
|
+
"filter": "Organization.active==true && lower(first(document(Organization.OrgType)[*].display)) == '".concat(data, "'"),
|
|
29231
29231
|
"return_fields": "{_id:Organization._id,_key:Organization._key,id:Organization.id,name:Organization.name,alias:Organization.alias}"
|
|
29232
29232
|
};
|
|
29233
29233
|
},
|