primary_care_admin_binder 0.1.211 → 0.1.212
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 -12
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -9046,17 +9046,18 @@ var getMasterQuery = function getMasterQuery() {
|
|
|
9046
9046
|
active: ""
|
|
9047
9047
|
}
|
|
9048
9048
|
}),
|
|
9049
|
-
|
|
9050
|
-
|
|
9051
|
-
|
|
9052
|
-
|
|
9053
|
-
|
|
9054
|
-
|
|
9055
|
-
|
|
9056
|
-
|
|
9057
|
-
|
|
9058
|
-
|
|
9059
|
-
}
|
|
9049
|
+
// not used in the practitioner screen.
|
|
9050
|
+
// location: JSON.stringify({
|
|
9051
|
+
// appcode: dbName,
|
|
9052
|
+
// requestid: "c27d71be-6c29-4024-aab3-1dd0a0a88c32",
|
|
9053
|
+
// filter: {
|
|
9054
|
+
// activestatus: true,
|
|
9055
|
+
// status: "active",
|
|
9056
|
+
// parentLocationId: "",
|
|
9057
|
+
// locationtype: null,
|
|
9058
|
+
// organizationId:""
|
|
9059
|
+
// }
|
|
9060
|
+
// }),
|
|
9060
9061
|
nationality: JSON.stringify({
|
|
9061
9062
|
appcode: dbName,
|
|
9062
9063
|
requestid: "d3659637-f0aa-4e0d-86d6-61fd445f7dd5",
|
|
@@ -9205,7 +9206,7 @@ var generateReadJSON$5 = function generateReadJSON(data) {
|
|
|
9205
9206
|
var practitionerbyrolelist = [];
|
|
9206
9207
|
if (data !== null && data !== void 0 && data.practitioner_role && (data === null || data === void 0 || (_data$practitioner_ro = data.practitioner_role) === null || _data$practitioner_ro === void 0 ? void 0 : _data$practitioner_ro.length) > 0) {
|
|
9207
9208
|
data.practitioner_role.map(function (val) {
|
|
9208
|
-
var _val$specialtyid, _val$specialtyid2, _val$entitytype, _val$entitytype2, _val$entityname, _val$entityname2, _val$locationid, _val$locationid2, _val$role, _val$role2;
|
|
9209
|
+
var _val$specialtyid, _val$specialtyid2, _val$entitytype, _val$entitytype2, _val$entityname, _val$entityname2, _val$locationid, _val$locationid2, _val$department, _val$department2, _val$department3, _val$role, _val$role2;
|
|
9209
9210
|
var practitionerData = {
|
|
9210
9211
|
speciality: {
|
|
9211
9212
|
label: val === null || val === void 0 || (_val$specialtyid = val.specialtyid) === null || _val$specialtyid === void 0 ? void 0 : _val$specialtyid.display,
|
|
@@ -9223,6 +9224,12 @@ var generateReadJSON$5 = function generateReadJSON(data) {
|
|
|
9223
9224
|
label: val === null || val === void 0 || (_val$locationid = val.locationid) === null || _val$locationid === void 0 ? void 0 : _val$locationid.longdesc,
|
|
9224
9225
|
_id: val === null || val === void 0 || (_val$locationid2 = val.locationid) === null || _val$locationid2 === void 0 ? void 0 : _val$locationid2._id
|
|
9225
9226
|
},
|
|
9227
|
+
// Label is resolved by the screen from the facility's departments
|
|
9228
|
+
department: {
|
|
9229
|
+
_id: (val === null || val === void 0 || (_val$department = val.department) === null || _val$department === void 0 ? void 0 : _val$department._id) || (val === null || val === void 0 ? void 0 : val.departmentid),
|
|
9230
|
+
value: (val === null || val === void 0 || (_val$department2 = val.department) === null || _val$department2 === void 0 ? void 0 : _val$department2._id) || (val === null || val === void 0 ? void 0 : val.departmentid),
|
|
9231
|
+
label: (val === null || val === void 0 || (_val$department3 = val.department) === null || _val$department3 === void 0 ? void 0 : _val$department3.display) || ""
|
|
9232
|
+
},
|
|
9226
9233
|
primary_specialty: val !== null && val !== void 0 && val.primaryspeciality ? val.primaryspeciality : false,
|
|
9227
9234
|
select_role: {
|
|
9228
9235
|
label: val === null || val === void 0 || (_val$role = val.role) === null || _val$role === void 0 ? void 0 : _val$role.display,
|