primary_care_admin_binder 0.1.66 → 0.1.69
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 +166 -49
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -10069,6 +10069,22 @@ var practitionerMasterActions = {
|
|
|
10069
10069
|
};
|
|
10070
10070
|
var practitionerMasterSlice$1 = practitionerMasterSlice.reducer;
|
|
10071
10071
|
|
|
10072
|
+
var getAgeRangeSort = function getAgeRangeSort(sort) {
|
|
10073
|
+
switch (sort) {
|
|
10074
|
+
case 'Long Description':
|
|
10075
|
+
return "AgeRanges.longdesc";
|
|
10076
|
+
|
|
10077
|
+
case 'Short Description':
|
|
10078
|
+
return "AgeRanges.shortdesc";
|
|
10079
|
+
|
|
10080
|
+
case 'Code':
|
|
10081
|
+
return "AgeRanges.agerangecode";
|
|
10082
|
+
|
|
10083
|
+
default:
|
|
10084
|
+
return "AgeRanges.createddate";
|
|
10085
|
+
}
|
|
10086
|
+
};
|
|
10087
|
+
|
|
10072
10088
|
var query$c = {
|
|
10073
10089
|
unitUom: "{\n \"db_name\": \"".concat(dbName$1, "\",\n \"entity\": \"CodeableConceptMaster\",\n \"sort\": \"document(CodeableConceptMaster.coding[0]).display\",\n \"filter\": \"CodeableConceptMaster.Type=='VITALSUOM'\",\n \"return_fields\": \"MERGE(CodeableConceptMaster,{coding:(FOR cod IN CodeableConceptMaster.coding RETURN DOCUMENT(cod))})\"\n }"),
|
|
10074
10090
|
// getAgeRange: `{
|
|
@@ -10076,8 +10092,8 @@ var query$c = {
|
|
|
10076
10092
|
// "entity": "AgeRanges",
|
|
10077
10093
|
// "return_fields": "MERGE(AgeRanges, {AgeCategory: (FOR cat IN TO_ARRAY(AgeRanges.AgeCategory) RETURN MERGE(DOCUMENT(cat), {UOM:(FOR cod IN TO_ARRAY(DOCUMENT(DOCUMENT(cat).UOM).coding) RETURN MERGE(DOCUMENT(DOCUMENT(cat).UOM),{coding:DOCUMENT(cod)} ) ) } ) ) } )"
|
|
10078
10094
|
// }`,
|
|
10079
|
-
getAgeRange: function getAgeRange(page, perPage, search) {
|
|
10080
|
-
return "{\n \"db_name\": \"".concat(dbName$1, "\",\n \"entity\": \"AgeRanges\",\n \"filter\": \"(LIKE(AgeRanges.agerangecode,'%").concat(search, "%',true) || LIKE(AgeRanges.longdesc,'%").concat(search, "%',true) || LIKE(AgeRanges.shortdesc,'%").concat(search, "%',true)) && AgeRanges.activestatus == true\",\n \"limit\" : { \"offset\" : ").concat(page, ", \"count\": ").concat(perPage, "},\n \"return_fields\": \"MERGE(AgeRanges, {TotalCount:COUNT(").concat(search ? "FOR cnt IN AgeRanges filter UPPER(cnt.agerangecode) LIKE '%".concat(search.toUpperCase(), "%' || UPPER(cnt.longdesc) LIKE '%").concat(search.toUpperCase(), "%' || UPPER(cnt.shortdesc) LIKE '%").concat(search.toUpperCase(), "%' RETURN cnt._key") : "FOR cnt IN AgeRanges RETURN cnt._key", "), AgeCategory: (FOR cat IN TO_ARRAY(AgeRanges.AgeCategory) RETURN MERGE(DOCUMENT(cat), {UOM:(FOR cod IN TO_ARRAY(DOCUMENT(DOCUMENT(cat).UOM).coding) RETURN MERGE(DOCUMENT(DOCUMENT(cat).UOM),{coding:DOCUMENT(cod)} ) ) } ) ) } )\",\n \"sort\":\"
|
|
10095
|
+
getAgeRange: function getAgeRange(page, perPage, sort, direction, search) {
|
|
10096
|
+
return "{\n \"db_name\": \"".concat(dbName$1, "\",\n \"entity\": \"AgeRanges\",\n \"filter\": \"(LIKE(AgeRanges.agerangecode,'%").concat(search, "%',true) || LIKE(AgeRanges.longdesc,'%").concat(search, "%',true) || LIKE(AgeRanges.shortdesc,'%").concat(search, "%',true)) && AgeRanges.activestatus == true\",\n \"limit\" : { \"offset\" : ").concat(page, ", \"count\": ").concat(perPage, "},\n \"return_fields\": \"MERGE(AgeRanges, {TotalCount:COUNT(").concat(search ? "FOR cnt IN AgeRanges filter UPPER(cnt.agerangecode) LIKE '%".concat(search.toUpperCase(), "%' || UPPER(cnt.longdesc) LIKE '%").concat(search.toUpperCase(), "%' || UPPER(cnt.shortdesc) LIKE '%").concat(search.toUpperCase(), "%' RETURN cnt._key") : "FOR cnt IN AgeRanges RETURN cnt._key", "), AgeCategory: (FOR cat IN TO_ARRAY(AgeRanges.AgeCategory) RETURN MERGE(DOCUMENT(cat), {UOM:(FOR cod IN TO_ARRAY(DOCUMENT(DOCUMENT(cat).UOM).coding) RETURN MERGE(DOCUMENT(DOCUMENT(cat).UOM),{coding:DOCUMENT(cod)} ) ) } ) ) } )\",\n \"sort\":\"").concat(getAgeRangeSort(sort), " ").concat(direction, "\"\n }");
|
|
10081
10097
|
}
|
|
10082
10098
|
};
|
|
10083
10099
|
|
|
@@ -10284,32 +10300,33 @@ var GET_AGE_RANGE_MASTER = createAsyncThunk("ageRangeMasterApiSlice/age_range_li
|
|
|
10284
10300
|
case 0:
|
|
10285
10301
|
payload = _args4.length > 0 && _args4[0] !== undefined ? _args4[0] : {};
|
|
10286
10302
|
_ref8 = _args4.length > 1 ? _args4[1] : undefined, rejectWithValue = _ref8.rejectWithValue;
|
|
10287
|
-
|
|
10288
|
-
|
|
10289
|
-
_context4.
|
|
10303
|
+
console.clear();
|
|
10304
|
+
console.log(payload === null || payload === void 0 ? void 0 : payload.sort, payload === null || payload === void 0 ? void 0 : payload.search);
|
|
10305
|
+
_context4.prev = 4;
|
|
10306
|
+
_context4.next = 7;
|
|
10290
10307
|
return fetchData({
|
|
10291
|
-
body: query$c.getAgeRange(payload === null || payload === void 0 ? void 0 : payload.page, payload === null || payload === void 0 ? void 0 : payload.perPage, payload !== null && payload !== void 0 && payload.search ? payload === null || payload === void 0 ? void 0 : payload.search : '')
|
|
10308
|
+
body: query$c.getAgeRange(payload === null || payload === void 0 ? void 0 : payload.page, payload === null || payload === void 0 ? void 0 : payload.perPage, payload !== null && payload !== void 0 && payload.sort ? payload === null || payload === void 0 ? void 0 : payload.sort : '', payload !== null && payload !== void 0 && payload.direction ? '' : 'DESC', payload !== null && payload !== void 0 && payload.search ? payload === null || payload === void 0 ? void 0 : payload.search : '')
|
|
10292
10309
|
}, __readDocumentUrl__);
|
|
10293
10310
|
|
|
10294
|
-
case
|
|
10311
|
+
case 7:
|
|
10295
10312
|
data = _context4.sent;
|
|
10296
10313
|
return _context4.abrupt("return", _objectSpread2(_objectSpread2({}, defaultState.List), {}, {
|
|
10297
10314
|
data: data.result
|
|
10298
10315
|
}));
|
|
10299
10316
|
|
|
10300
|
-
case
|
|
10301
|
-
_context4.prev =
|
|
10302
|
-
_context4.t0 = _context4["catch"](
|
|
10317
|
+
case 11:
|
|
10318
|
+
_context4.prev = 11;
|
|
10319
|
+
_context4.t0 = _context4["catch"](4);
|
|
10303
10320
|
return _context4.abrupt("return", rejectWithValue(_objectSpread2(_objectSpread2({}, defaultReject), {}, {
|
|
10304
10321
|
message: _context4.t0.message
|
|
10305
10322
|
})));
|
|
10306
10323
|
|
|
10307
|
-
case
|
|
10324
|
+
case 14:
|
|
10308
10325
|
case "end":
|
|
10309
10326
|
return _context4.stop();
|
|
10310
10327
|
}
|
|
10311
10328
|
}
|
|
10312
|
-
}, _callee4, null, [[
|
|
10329
|
+
}, _callee4, null, [[4, 11]]);
|
|
10313
10330
|
})));
|
|
10314
10331
|
var ageRangeMasterSlice = createSlice({
|
|
10315
10332
|
name: "ageRangeMasterApiSlice",
|
|
@@ -12460,8 +12477,28 @@ var vitalsMasterSectionActions = {
|
|
|
12460
12477
|
};
|
|
12461
12478
|
var vitalsMasterSectionSlice$1 = vitalsMasterSectionSlice.reducer;
|
|
12462
12479
|
|
|
12480
|
+
var getLocationSort = function getLocationSort(sort) {
|
|
12481
|
+
switch (sort) {
|
|
12482
|
+
case 'Long Description':
|
|
12483
|
+
return "LocationMaster.longdesc";
|
|
12484
|
+
|
|
12485
|
+
case 'Short Description':
|
|
12486
|
+
return "LocationMaster.shortdesc";
|
|
12487
|
+
|
|
12488
|
+
case 'Location Type':
|
|
12489
|
+
//return "document(document(LocationMaster.locationType)[0].coding)[0].display"
|
|
12490
|
+
return "LocationMaster.locationType";
|
|
12491
|
+
|
|
12492
|
+
case 'Location ID':
|
|
12493
|
+
return "LocationMaster.locationID";
|
|
12494
|
+
|
|
12495
|
+
default:
|
|
12496
|
+
return "LocationMaster.createddate";
|
|
12497
|
+
}
|
|
12498
|
+
};
|
|
12499
|
+
|
|
12463
12500
|
var queries$m = {
|
|
12464
|
-
locationlist: function locationlist(type, page, perPage, search) {
|
|
12501
|
+
locationlist: function locationlist(type, page, perPage, search, sort, direction) {
|
|
12465
12502
|
debugger; // return {
|
|
12466
12503
|
// db_name: dbName,
|
|
12467
12504
|
// entity:
|
|
@@ -12481,8 +12518,9 @@ var queries$m = {
|
|
|
12481
12518
|
},
|
|
12482
12519
|
filter: "(LIKE(LocationMaster.shortdesc,'%".concat(search !== null && search !== void 0 ? search : '', "%',true) || LIKE(LocationMaster.longdesc,'%").concat(search !== null && search !== void 0 ? search : '', "%',true) || LIKE(LocationMaster.locationID,'%").concat(search !== null && search !== void 0 ? search : '', "%',true) || LIKE(document(LocationMaster.locationRoletype).display,'%").concat(search !== null && search !== void 0 ? search : '', "%',true) ) && LocationMaster.activestatus==true"),
|
|
12483
12520
|
// return_fields: "merge(LocationMaster,{TotalCount:COUNT(FOR cnt IN LocationMaster RETURN cnt._key) , operationalStatus:(for ops in CodeableConceptMaster filter ops._id==LocationMaster.operationalStatus return merge(ops,{coding:document(ops.coding)}))},{managingOrgEntityType:(for moe in CodeableConceptMaster filter moe._id==LocationMaster.managingOrgEntityType return merge(moe,{coding:document(moe.coding)}))}, {parentLocationID_desc:document(to_array(LocationMaster.parentLocationID_desc))},{address:document(LocationMaster.address)},{locationType:(for lt in CodeableConceptMaster filter lt._id==LocationMaster.locationType return (merge(lt,{coding:document(lt.coding)})))},{managingOrgID:document(to_array(LocationMaster.managingOrgID))},{locationRoletype:document(to_array(LocationMaster.locationRoletype))},{specialty:document(to_array(LocationMaster.specialty))},{photo:document(LocationMaster.photo)}, {pharmacy:(for ph in LocationMaster.pharmacy return merge(ph,{inventorySubStore:document(ph.inventorySubStore)}))}, {telecom:(for tel in document(LocationMaster.telecom) return merge(tel,{use:document(tel.use)},{rank:document(tel.rank)},{system:document(tel.system)}))})"
|
|
12484
|
-
return_fields: "merge(LocationMaster,{locationType:(for cod in document(to_array(LocationMaster.locationType)) return merge(cod,{coding:document(cod.coding)}))},{TotalCount:count(( FOR locat IN LocationMaster FILTER ( LIKE(locat.shortdesc,'%".concat(search !== null && search !== void 0 ? search : '', "%',true) || LIKE(locat.longdesc,'%").concat(search !== null && search !== void 0 ? search : '', "%',true) || LIKE(locat.locationID,'%").concat(search !== null && search !== void 0 ? search : '', "%',true) || LIKE(document(locat.locationRoletype).display,'%").concat(search !== null && search !== void 0 ? search : '', "%',true) ) && locat.activestatus==true return locat._id ))})")
|
|
12485
|
-
|
|
12521
|
+
return_fields: "merge(LocationMaster,{locationType:(for cod in document(to_array(LocationMaster.locationType)) return merge(cod,{coding:document(cod.coding)}))},{TotalCount:count(( FOR locat IN LocationMaster FILTER ( LIKE(locat.shortdesc,'%".concat(search !== null && search !== void 0 ? search : '', "%',true) || LIKE(locat.longdesc,'%").concat(search !== null && search !== void 0 ? search : '', "%',true) || LIKE(locat.locationID,'%").concat(search !== null && search !== void 0 ? search : '', "%',true) || LIKE(document(locat.locationRoletype).display,'%").concat(search !== null && search !== void 0 ? search : '', "%',true) ) && locat.activestatus==true return locat._id ))})"),
|
|
12522
|
+
// return_fields: "merge(LocationMaster,{operationalStatus:(for ops in CodeableConceptMaster filter ops._id==LocationMaster.operationalStatus return merge(ops,{coding:document(ops.coding)}))},{managingOrgEntityType:(for moe in CodeableConceptMaster filter moe._id==LocationMaster.managingOrgEntityType return merge(moe,{coding:document(moe.coding)}))}, {parentLocationID_desc:document(to_array(LocationMaster.parentLocationID_desc))},{address:document(LocationMaster.address)},{locationType:(for lt in CodeableConceptMaster filter lt._id==LocationMaster.locationType return (merge(lt,{coding:document(lt.coding)})))},{managingOrgID:document(to_array(LocationMaster.managingOrgID))},{locationRoletype:document(to_array(LocationMaster.locationRoletype))},{specialty:document(to_array(LocationMaster.specialty))},{photo:document(LocationMaster.photo)}, {pharmacy:(for ph in LocationMaster.pharmacy return merge(ph,{inventorySubStore:document(ph.inventorySubStore)}))}, {telecom:(for tel in document(LocationMaster.telecom) return merge(tel,{use:document(tel.use)},{rank:document(tel.rank)},{system:document(tel.system)}))})"
|
|
12523
|
+
sort: "".concat(getLocationSort(sort), " ").concat(direction)
|
|
12486
12524
|
};
|
|
12487
12525
|
},
|
|
12488
12526
|
locationlistupsert: function locationlistupsert(data) {
|
|
@@ -12803,6 +12841,8 @@ var LOCATION_READ = createAsyncThunk("locationSlice/locationlist", /*#__PURE__*/
|
|
|
12803
12841
|
page,
|
|
12804
12842
|
perPage,
|
|
12805
12843
|
search,
|
|
12844
|
+
sort,
|
|
12845
|
+
direction,
|
|
12806
12846
|
data,
|
|
12807
12847
|
arry,
|
|
12808
12848
|
_args = arguments;
|
|
@@ -12814,10 +12854,10 @@ var LOCATION_READ = createAsyncThunk("locationSlice/locationlist", /*#__PURE__*/
|
|
|
12814
12854
|
payload = _args.length > 0 && _args[0] !== undefined ? _args[0] : {};
|
|
12815
12855
|
_ref2 = _args.length > 1 ? _args[1] : undefined, rejectWithValue = _ref2.rejectWithValue;
|
|
12816
12856
|
_context.prev = 2;
|
|
12817
|
-
type = payload.type, page = payload.page, perPage = payload.perPage, search = payload.search;
|
|
12857
|
+
type = payload.type, page = payload.page, perPage = payload.perPage, search = payload.search, sort = payload.sort, direction = payload.direction;
|
|
12818
12858
|
_context.next = 6;
|
|
12819
12859
|
return fetchData({
|
|
12820
|
-
body: JSON.stringify(queries$m.locationlist(type, page, perPage, search))
|
|
12860
|
+
body: JSON.stringify(queries$m.locationlist(type, page, perPage, search ? search : '', sort ? sort : "", direction ? "" : 'DESC'))
|
|
12821
12861
|
}, __readDocumentUrl__);
|
|
12822
12862
|
|
|
12823
12863
|
case 6:
|
|
@@ -12828,15 +12868,15 @@ var LOCATION_READ = createAsyncThunk("locationSlice/locationlist", /*#__PURE__*/
|
|
|
12828
12868
|
_context.next = 12;
|
|
12829
12869
|
return data.result.map(function (val) {
|
|
12830
12870
|
if (val.locationID) {
|
|
12831
|
-
var _val$locationType
|
|
12871
|
+
var _val$locationType$, _val$locationType$2, _val$locationType, _val$locationType$3, _val$locationType$3$c, _val$locationType$3$c2, _val$locationType2, _val$locationType2$, _val$locationType2$$c, _val$locationType2$$c2, _val$locationType3, _val$locationType3$, _val$locationType3$$c, _val$locationType3$$c2, _val$locationType4, _val$locationType4$, _val$locationType4$$c, _val$locationType4$$c2;
|
|
12832
12872
|
|
|
12833
12873
|
arry.push({
|
|
12834
12874
|
location_id: val.locationID,
|
|
12835
|
-
location_type: val.locationType.length > 0 ? ((
|
|
12836
|
-
location_type_code: (_val$
|
|
12837
|
-
location_type_name: (_val$
|
|
12838
|
-
location_type_id: (_val$
|
|
12839
|
-
location_type_key: (_val$
|
|
12875
|
+
location_type: val.locationType.length > 0 ? ((_val$locationType$ = val.locationType[0]) === null || _val$locationType$ === void 0 ? void 0 : _val$locationType$.display) !== null ? (_val$locationType$2 = val.locationType[0]) === null || _val$locationType$2 === void 0 ? void 0 : _val$locationType$2.display : "-" : "-",
|
|
12876
|
+
location_type_code: (_val$locationType = val.locationType) === null || _val$locationType === void 0 ? void 0 : (_val$locationType$3 = _val$locationType[0]) === null || _val$locationType$3 === void 0 ? void 0 : (_val$locationType$3$c = _val$locationType$3.coding) === null || _val$locationType$3$c === void 0 ? void 0 : (_val$locationType$3$c2 = _val$locationType$3$c[0]) === null || _val$locationType$3$c2 === void 0 ? void 0 : _val$locationType$3$c2.code,
|
|
12877
|
+
location_type_name: (_val$locationType2 = val.locationType) === null || _val$locationType2 === void 0 ? void 0 : (_val$locationType2$ = _val$locationType2[0]) === null || _val$locationType2$ === void 0 ? void 0 : (_val$locationType2$$c = _val$locationType2$.coding) === null || _val$locationType2$$c === void 0 ? void 0 : (_val$locationType2$$c2 = _val$locationType2$$c[0]) === null || _val$locationType2$$c2 === void 0 ? void 0 : _val$locationType2$$c2.Type,
|
|
12878
|
+
location_type_id: (_val$locationType3 = val.locationType) === null || _val$locationType3 === void 0 ? void 0 : (_val$locationType3$ = _val$locationType3[0]) === null || _val$locationType3$ === void 0 ? void 0 : (_val$locationType3$$c = _val$locationType3$.coding) === null || _val$locationType3$$c === void 0 ? void 0 : (_val$locationType3$$c2 = _val$locationType3$$c[0]) === null || _val$locationType3$$c2 === void 0 ? void 0 : _val$locationType3$$c2._id,
|
|
12879
|
+
location_type_key: (_val$locationType4 = val.locationType) === null || _val$locationType4 === void 0 ? void 0 : (_val$locationType4$ = _val$locationType4[0]) === null || _val$locationType4$ === void 0 ? void 0 : (_val$locationType4$$c = _val$locationType4$.coding) === null || _val$locationType4$$c === void 0 ? void 0 : (_val$locationType4$$c2 = _val$locationType4$$c[0]) === null || _val$locationType4$$c2 === void 0 ? void 0 : _val$locationType4$$c2._key,
|
|
12840
12880
|
long_description: val.longdesc,
|
|
12841
12881
|
short_description: val.shortdesc,
|
|
12842
12882
|
_key: val._key,
|
|
@@ -23001,9 +23041,9 @@ var appointmentDurationArr = function appointmentDurationArr(lisy) {
|
|
|
23001
23041
|
"SlotSlabInd": (_val$duration_type = val === null || val === void 0 ? void 0 : val.duration_type) !== null && _val$duration_type !== void 0 ? _val$duration_type : "",
|
|
23002
23042
|
"DayType": val === null || val === void 0 ? void 0 : (_val$day_type = val.day_type) === null || _val$day_type === void 0 ? void 0 : _val$day_type.value,
|
|
23003
23043
|
// "starttime": moment({ hour: st[0], minute: st[1] }).unix(),
|
|
23004
|
-
"starttime": "".concat(val.start_time),
|
|
23044
|
+
"starttime": "".concat(val.start_time.replace(" ", "")),
|
|
23005
23045
|
// "endtime": moment({ hour: et[0], minute: et[1] }).unix(),
|
|
23006
|
-
"endtime": "".concat(val.end_time),
|
|
23046
|
+
"endtime": "".concat(val.end_time.replace(" ", "")),
|
|
23007
23047
|
"slotduration": val.slot_duration ? parseInt(val.slot_duration) : 0,
|
|
23008
23048
|
"maxAppointment": val !== null && val !== void 0 && val.max_appoinment ? parseInt(val.max_appoinment) : 0,
|
|
23009
23049
|
"maxAppAllowed": val !== null && val !== void 0 && val.max_appoinment ? parseInt(val.max_appoinment) : 0,
|
|
@@ -31901,8 +31941,24 @@ var drugFrequencySlice = drugMasterFREQUENCYSlice.reducer;
|
|
|
31901
31941
|
|
|
31902
31942
|
var drug_actions = _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, drugCategoryActions), drugDosageActions), drugClassActions), drugRoutesActions), drugDirectionRoutesActions), drugMasterUomActions), drugMasterActions), drugMasterFrequencyActions);
|
|
31903
31943
|
|
|
31944
|
+
var orderSetSort = function orderSetSort(val) {
|
|
31945
|
+
switch (val) {
|
|
31946
|
+
case 'Short Description':
|
|
31947
|
+
return "CA_OrderSet.shortDesc";
|
|
31948
|
+
|
|
31949
|
+
case 'Long Description':
|
|
31950
|
+
return "CA_OrderSet.longDesc";
|
|
31951
|
+
|
|
31952
|
+
case 'Order Set Code':
|
|
31953
|
+
return "CA_OrderSet.orderSetCode";
|
|
31954
|
+
|
|
31955
|
+
default:
|
|
31956
|
+
return "CA_OrderSet.createddate";
|
|
31957
|
+
}
|
|
31958
|
+
};
|
|
31959
|
+
|
|
31904
31960
|
var query$5 = {
|
|
31905
|
-
orderSetList: function orderSetList(page, perPage, search) {
|
|
31961
|
+
orderSetList: function orderSetList(page, perPage, search, sort, direction) {
|
|
31906
31962
|
return {
|
|
31907
31963
|
db_name: "".concat(dbName$1),
|
|
31908
31964
|
entity: "CA_OrderSet",
|
|
@@ -31912,7 +31968,7 @@ var query$5 = {
|
|
|
31912
31968
|
"count": perPage
|
|
31913
31969
|
},
|
|
31914
31970
|
return_fields: "MERGE(keep(CA_OrderSet,'id','_key','_id','longDesc','shortDesc','orderSetCode','status'),{TotalCount:COUNT(".concat(search ? "FOR cnt IN CA_OrderSet filter UPPER(cnt.orderSetCode) LIKE '%".concat(search.toUpperCase(), "%' || UPPER(cnt.shortDesc) LIKE '%").concat(search.toUpperCase(), "%' || UPPER(cnt.longDesc) LIKE '%").concat(search.toUpperCase(), "%' RETURN cnt._key") : "FOR cnt IN CA_OrderSet RETURN cnt._key", ")})"),
|
|
31915
|
-
sort: "
|
|
31971
|
+
sort: "".concat(orderSetSort(sort), " ").concat(direction)
|
|
31916
31972
|
};
|
|
31917
31973
|
},
|
|
31918
31974
|
orderSetListById: function orderSetListById(_key) {
|
|
@@ -32471,6 +32527,8 @@ var GET_ORDER_SET_LIST = createAsyncThunk("orderSetMasterApiSlice/order_set_mast
|
|
|
32471
32527
|
var payload,
|
|
32472
32528
|
_ref5,
|
|
32473
32529
|
rejectWithValue,
|
|
32530
|
+
sort,
|
|
32531
|
+
direction,
|
|
32474
32532
|
data,
|
|
32475
32533
|
_args4 = arguments;
|
|
32476
32534
|
|
|
@@ -32481,9 +32539,10 @@ var GET_ORDER_SET_LIST = createAsyncThunk("orderSetMasterApiSlice/order_set_mast
|
|
|
32481
32539
|
payload = _args4.length > 0 && _args4[0] !== undefined ? _args4[0] : {};
|
|
32482
32540
|
_ref5 = _args4.length > 1 ? _args4[1] : undefined, rejectWithValue = _ref5.rejectWithValue;
|
|
32483
32541
|
_context4.prev = 2;
|
|
32542
|
+
sort = payload.sort, direction = payload.direction;
|
|
32484
32543
|
_context4.next = 6;
|
|
32485
32544
|
return fetchData({
|
|
32486
|
-
body: JSON.stringify(query$5.orderSetList(payload === null || payload === void 0 ? void 0 : payload.page, payload === null || payload === void 0 ? void 0 : payload.perPage, payload !== null && payload !== void 0 && payload.search ? payload === null || payload === void 0 ? void 0 : payload.search : ''))
|
|
32545
|
+
body: JSON.stringify(query$5.orderSetList(payload === null || payload === void 0 ? void 0 : payload.page, payload === null || payload === void 0 ? void 0 : payload.perPage, payload !== null && payload !== void 0 && payload.search ? payload === null || payload === void 0 ? void 0 : payload.search : '', sort ? sort : '', direction ? '' : 'DESC'))
|
|
32487
32546
|
}, __readDocumentUrl__);
|
|
32488
32547
|
|
|
32489
32548
|
case 6:
|
|
@@ -34426,11 +34485,30 @@ var allergenMasterActions = {
|
|
|
34426
34485
|
};
|
|
34427
34486
|
var allergenMasterSlice$1 = allergenMasterSlice.reducer;
|
|
34428
34487
|
|
|
34488
|
+
var flexAttributeSort = function flexAttributeSort(val) {
|
|
34489
|
+
switch (val) {
|
|
34490
|
+
case 'Attribute Code':
|
|
34491
|
+
return "CA_OrderAttribMaster.attribcode";
|
|
34492
|
+
|
|
34493
|
+
case 'Attribute Label':
|
|
34494
|
+
return "CA_OrderAttribMaster.attriblabel";
|
|
34495
|
+
|
|
34496
|
+
case 'Attribute Type':
|
|
34497
|
+
return "CA_OrderAttribMaster.attribtype";
|
|
34498
|
+
|
|
34499
|
+
case 'Attribute Size':
|
|
34500
|
+
return "CA_OrderAttribMaster.attribsize";
|
|
34501
|
+
|
|
34502
|
+
default:
|
|
34503
|
+
return "CA_OrderAttribMaster.createddate";
|
|
34504
|
+
}
|
|
34505
|
+
};
|
|
34506
|
+
|
|
34429
34507
|
var flexQuery = {
|
|
34430
34508
|
attributeTypeDropDown: "{\n \"db_name\": \"".concat(dbName$1, "\",\n \"entity\": \"CodingMaster\",\n \"filter\": \"CodingMaster.Type=='FLEXDATATYPE' && CodingMaster.activestatus==true && CodingMaster.status==true\",\n \"return_fields\": \"KEEP(CodingMaster,'_id','id','_key','code','display','Type','status')\",\n \"sort\": \"CodingMaster.display\"\n }"),
|
|
34431
34509
|
numUomDropDown: "{\n \"db_name\":\"".concat(dbName$1, "\",\n \"entity\": \"CodingMaster\",\n \"filter\": \"CodingMaster.Type=='UOM' && CodingMaster.activestatus==true && CodingMaster.status==true\",\n \"return_fields\": \"KEEP(CodingMaster,'_id','id','_key','code','display','Type','status')\",\n \"sort\": \"CodingMaster.display\"\n }"),
|
|
34432
34510
|
flexAttributeFullRead: "{\n \"db_name\": \"".concat(dbName$1, "\",\n \"entity\": \"CA_OrderAttribMaster\",\n \"filter\": \"CA_OrderAttribMaster.activestatus==true\",\n \"limit\": {\n \"offset\": \"page\",\n \"count\": \"perpage\",\n },\n \"return_fields\": \"merge(CA_OrderAttribMaster,{attribtype:document(CA_OrderAttribMaster.attribtype).display},{attribnumUOM:to_array(document(CA_OrderAttribMaster.attribnumUOM).display)})\"\n }"),
|
|
34433
|
-
flexAttrFullRead: function flexAttrFullRead(page, perpage, search) {
|
|
34511
|
+
flexAttrFullRead: function flexAttrFullRead(page, perpage, search, sort, direction) {
|
|
34434
34512
|
return {
|
|
34435
34513
|
db_name: dbName$1,
|
|
34436
34514
|
entity: "CA_OrderAttribMaster",
|
|
@@ -34440,7 +34518,7 @@ var flexQuery = {
|
|
|
34440
34518
|
count: perpage
|
|
34441
34519
|
},
|
|
34442
34520
|
return_fields: "merge(CA_OrderAttribMaster,{TotalCount:COUNT(FOR cnt IN CA_OrderAttribMaster FILTER (LIKE(cnt.attribcode,'%".concat(search, "%',true) ) && cnt.activestatus==true return cnt._id),attribtype:document(CA_OrderAttribMaster.attribtype).display},{attribnumUOM:to_array(document(CA_OrderAttribMaster.attribnumUOM).display)})"),
|
|
34443
|
-
sort: "
|
|
34521
|
+
sort: "".concat(flexAttributeSort(sort), " ").concat(direction)
|
|
34444
34522
|
};
|
|
34445
34523
|
},
|
|
34446
34524
|
flexStatusChange: function flexStatusChange(list, key) {
|
|
@@ -34665,6 +34743,8 @@ var FLEX_ATTRIBUTE_READ = createAsyncThunk("flexAttributeApiSlice/flexFullRead",
|
|
|
34665
34743
|
page,
|
|
34666
34744
|
perpage,
|
|
34667
34745
|
search,
|
|
34746
|
+
sort,
|
|
34747
|
+
direction,
|
|
34668
34748
|
data,
|
|
34669
34749
|
_args3 = arguments;
|
|
34670
34750
|
|
|
@@ -34675,10 +34755,10 @@ var FLEX_ATTRIBUTE_READ = createAsyncThunk("flexAttributeApiSlice/flexFullRead",
|
|
|
34675
34755
|
payload = _args3.length > 0 && _args3[0] !== undefined ? _args3[0] : {};
|
|
34676
34756
|
_ref6 = _args3.length > 1 ? _args3[1] : undefined, rejectWithValue = _ref6.rejectWithValue;
|
|
34677
34757
|
_context3.prev = 2;
|
|
34678
|
-
page = payload.page, perpage = payload.perpage, search = payload.search;
|
|
34758
|
+
page = payload.page, perpage = payload.perpage, search = payload.search, sort = payload.sort, direction = payload.direction;
|
|
34679
34759
|
_context3.next = 6;
|
|
34680
34760
|
return fetchData({
|
|
34681
|
-
body: JSON.stringify(flexQuery.flexAttrFullRead(page, perpage, search ? search : ''))
|
|
34761
|
+
body: JSON.stringify(flexQuery.flexAttrFullRead(page, perpage, search ? search : '', sort ? sort : '', direction ? '' : 'DESC'))
|
|
34682
34762
|
}, __readDocumentUrl__);
|
|
34683
34763
|
|
|
34684
34764
|
case 6:
|
|
@@ -37029,9 +37109,40 @@ var additionalcolumns = function additionalcolumns(list) {
|
|
|
37029
37109
|
return datas;
|
|
37030
37110
|
};
|
|
37031
37111
|
|
|
37112
|
+
var getMasterSort = function getMasterSort(sort) {
|
|
37113
|
+
switch (sort) {
|
|
37114
|
+
case 'Long Description':
|
|
37115
|
+
return "document(CodeableConceptMaster.coding)[0].display";
|
|
37116
|
+
|
|
37117
|
+
case 'Short Description':
|
|
37118
|
+
return "document(CodeableConceptMaster.coding)[0].shortdesc";
|
|
37119
|
+
|
|
37120
|
+
case 'Code':
|
|
37121
|
+
return "document(CodeableConceptMaster.coding)[0].code";
|
|
37122
|
+
|
|
37123
|
+
case 'Visit Type Indicator':
|
|
37124
|
+
return "document(CodeableConceptMaster.coding)[0].gmconfigvalues[\"Visit Type Indicator\"].label";
|
|
37125
|
+
|
|
37126
|
+
case 'Grade':
|
|
37127
|
+
return "((document(CodeableConceptMaster.coding[0]).gmconfigvalues).Grade).display";
|
|
37128
|
+
|
|
37129
|
+
default:
|
|
37130
|
+
return "CodeableConceptMaster.createddate";
|
|
37131
|
+
}
|
|
37132
|
+
};
|
|
37133
|
+
|
|
37032
37134
|
var queries$2 = {
|
|
37033
37135
|
generalMasterlist_val: "{\n \"db_name\": \"".concat(dbName$1, "\",\n \"entity\": \"GMvalues\",\n \"filter\": \"GMvalues.activestatus==true\",\n \"return_fields\": \"merge(GMvalues,{gentype:document(GMvalues.gentype)})\"\n }"),
|
|
37034
|
-
generalMasterlist:
|
|
37136
|
+
generalMasterlist: function generalMasterlist() {
|
|
37137
|
+
var search = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
|
|
37138
|
+
return {
|
|
37139
|
+
"db_name": "".concat(dbName$1),
|
|
37140
|
+
"entity": "GMdefinition",
|
|
37141
|
+
"sort": "GMdefinition.gentype",
|
|
37142
|
+
"filter": "".concat(search != '' ? "LIKE(GMdefinition.genname, \"%".concat(search, "%\", true) && GMdefinition.activestatus==true") : "GMdefinition.activestatus==true"),
|
|
37143
|
+
"return_fields": "merge(GMdefinition,{additionalcolumns:(for ad in GMdefinition.additionalcolumns return merge(ad,{columntype:document(ad.columntype)}))})"
|
|
37144
|
+
};
|
|
37145
|
+
},
|
|
37035
37146
|
// column_type: `{
|
|
37036
37147
|
// "db_name": "${dbName}",
|
|
37037
37148
|
// "entity": "CodingMaster",
|
|
@@ -37081,17 +37192,18 @@ var queries$2 = {
|
|
|
37081
37192
|
})];
|
|
37082
37193
|
}
|
|
37083
37194
|
},
|
|
37084
|
-
get_general_master_type: function get_general_master_type(type, page, perPage, search) {
|
|
37195
|
+
get_general_master_type: function get_general_master_type(type, page, perPage, search, sort, direction) {
|
|
37085
37196
|
debugger;
|
|
37086
37197
|
return {
|
|
37087
37198
|
"db_name": dbName$1,
|
|
37088
37199
|
"entity": "CodeableConceptMaster",
|
|
37089
|
-
"filter": "CodeableConceptMaster.Type == '".concat(type, "' &&(LIKE(document(CodeableConceptMaster.coding[0]).code,'%").concat(search, "%',true) ||LIKE(document(CodeableConceptMaster.coding[0]).shortdesc,'%").concat(search, "%',true) || LIKE(document(CodeableConceptMaster.coding[0]).longdesc,'%").concat(search, "%',true))
|
|
37200
|
+
"filter": "CodeableConceptMaster.Type == '".concat(type, "' &&(LIKE(document(CodeableConceptMaster.coding[0]).code,'%").concat(search, "%',true) ||LIKE(document(CodeableConceptMaster.coding[0]).shortdesc,'%").concat(search, "%',true) || LIKE(document(CodeableConceptMaster.coding[0]).longdesc,'%").concat(search, "%',true)) && CodeableConceptMaster.activestatus == true"),
|
|
37090
37201
|
"limit": {
|
|
37091
37202
|
"offset": "".concat(page),
|
|
37092
37203
|
"count": "".concat(perPage)
|
|
37093
37204
|
},
|
|
37094
|
-
"return_fields": "MERGE(CodeableConceptMaster,{coding:document(CodeableConceptMaster.coding)},{TotalCount:COUNT(FOR cnt IN CodeableConceptMaster filter cnt.Type=='".concat(type, "' filter cnt.activestatus==true RETURN cnt._key)})")
|
|
37205
|
+
"return_fields": "MERGE(CodeableConceptMaster,{coding:document(CodeableConceptMaster.coding)},{TotalCount:COUNT(FOR cnt IN CodeableConceptMaster filter cnt.Type=='".concat(type, "' filter cnt.activestatus==true RETURN cnt._key)})"),
|
|
37206
|
+
"sort": "".concat(getMasterSort(sort), " ").concat(direction)
|
|
37095
37207
|
};
|
|
37096
37208
|
},
|
|
37097
37209
|
add_new_general_type: function add_new_general_type(data) {
|
|
@@ -37377,7 +37489,8 @@ var fetchMaster = function fetchMaster(name, query) {
|
|
|
37377
37489
|
};
|
|
37378
37490
|
|
|
37379
37491
|
var GENERAL_MASTERS_READ = createAsyncThunk("generalMasterSlice/generalMastersRead", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee4() {
|
|
37380
|
-
var
|
|
37492
|
+
var payload,
|
|
37493
|
+
_ref5,
|
|
37381
37494
|
rejectWithValue,
|
|
37382
37495
|
queriesjson,
|
|
37383
37496
|
data,
|
|
@@ -37388,12 +37501,14 @@ var GENERAL_MASTERS_READ = createAsyncThunk("generalMasterSlice/generalMastersRe
|
|
|
37388
37501
|
while (1) {
|
|
37389
37502
|
switch (_context4.prev = _context4.next) {
|
|
37390
37503
|
case 0:
|
|
37504
|
+
payload = _args4.length > 0 && _args4[0] !== undefined ? _args4[0] : {};
|
|
37391
37505
|
_ref5 = _args4.length > 1 ? _args4[1] : undefined, rejectWithValue = _ref5.rejectWithValue;
|
|
37392
37506
|
_context4.prev = 2;
|
|
37393
|
-
queriesjson = queries$2.generalMasterlist;
|
|
37507
|
+
queriesjson = queries$2.generalMasterlist(payload.search); // alert(JSON.stringify(queriesjson))
|
|
37508
|
+
|
|
37394
37509
|
_context4.next = 6;
|
|
37395
37510
|
return fetchData({
|
|
37396
|
-
body: queriesjson
|
|
37511
|
+
body: JSON.stringify(queriesjson)
|
|
37397
37512
|
}, __readDocumentUrl__);
|
|
37398
37513
|
|
|
37399
37514
|
case 6:
|
|
@@ -37528,6 +37643,8 @@ var GET_GENERAL_MASTER_TYPE = createAsyncThunk("generalMasterSlice/get_general_m
|
|
|
37528
37643
|
page,
|
|
37529
37644
|
perPage,
|
|
37530
37645
|
search,
|
|
37646
|
+
sort,
|
|
37647
|
+
direction,
|
|
37531
37648
|
data,
|
|
37532
37649
|
readData,
|
|
37533
37650
|
_args7 = arguments;
|
|
@@ -37539,10 +37656,10 @@ var GET_GENERAL_MASTER_TYPE = createAsyncThunk("generalMasterSlice/get_general_m
|
|
|
37539
37656
|
payload = _args7.length > 0 && _args7[0] !== undefined ? _args7[0] : {};
|
|
37540
37657
|
actions = _args7.length > 1 ? _args7[1] : undefined;
|
|
37541
37658
|
_context7.prev = 2;
|
|
37542
|
-
type = payload.type, page = payload.page, perPage = payload.perPage, search = payload.search;
|
|
37659
|
+
type = payload.type, page = payload.page, perPage = payload.perPage, search = payload.search, sort = payload.sort, direction = payload.direction;
|
|
37543
37660
|
_context7.next = 7;
|
|
37544
37661
|
return fetchData({
|
|
37545
|
-
body: JSON.stringify(queries$2.get_general_master_type(type, page, perPage, search ? search : ''))
|
|
37662
|
+
body: JSON.stringify(queries$2.get_general_master_type(type, page, perPage, search ? search : '', sort ? sort : '', direction ? '' : 'DESC'))
|
|
37546
37663
|
}, __readDocumentUrl__);
|
|
37547
37664
|
|
|
37548
37665
|
case 7:
|
|
@@ -37925,7 +38042,7 @@ var queries$1 = {
|
|
|
37925
38042
|
}
|
|
37926
38043
|
})];
|
|
37927
38044
|
},
|
|
37928
|
-
symptom_and_specialty_read: function symptom_and_specialty_read(search, page, perPage) {
|
|
38045
|
+
symptom_and_specialty_read: function symptom_and_specialty_read(search, page, perPage, sort, direction) {
|
|
37929
38046
|
return {
|
|
37930
38047
|
db_name: dbName$1,
|
|
37931
38048
|
entity: "SymptomsMapping",
|
|
@@ -37935,7 +38052,7 @@ var queries$1 = {
|
|
|
37935
38052
|
count: perPage
|
|
37936
38053
|
},
|
|
37937
38054
|
return_fields: "merge(SymptomsMapping,{TotalCount:COUNT(".concat(search ? "FOR cnt IN SymptomsMapping filter UPPER(cnt.SymptomsName) LIKE '%".concat(search.toUpperCase(), "%' || UPPER(cnt.symptomsCode) LIKE '%").concat(search.toUpperCase(), "%' RETURN cnt._key") : "FOR cnt IN SymptomsMapping RETURN cnt._key", " ), specialty:(FOR cod IN CodeableConceptMaster filter cod._id in SymptomsMapping.specialty RETURN merge(cod,{coding:document(cod.coding)}))})"),
|
|
37938
|
-
sort: "SymptomsMapping.
|
|
38055
|
+
sort: "".concat(sort === "Symptom Code" ? "SymptomsMapping.symptomsCode ".concat(direction) : "SymptomsMapping.SymptomsName ".concat(direction))
|
|
37939
38056
|
};
|
|
37940
38057
|
},
|
|
37941
38058
|
symptom_and_specialty_single_read: function symptom_and_specialty_single_read(_key) {
|
|
@@ -38085,7 +38202,7 @@ var SYMPTOM_AND_SPECIALTY_READ = createAsyncThunk("symptomAndSpecialtySlice/symp
|
|
|
38085
38202
|
payload = _args2.length > 0 && _args2[0] !== undefined ? _args2[0] : {};
|
|
38086
38203
|
_ref4 = _args2.length > 1 ? _args2[1] : undefined, rejectWithValue = _ref4.rejectWithValue;
|
|
38087
38204
|
_context2.prev = 2;
|
|
38088
|
-
readqueries = queries$1.symptom_and_specialty_read(payload === null || payload === void 0 ? void 0 : payload.search, payload === null || payload === void 0 ? void 0 : payload.page, payload === null || payload === void 0 ? void 0 : payload.perPage);
|
|
38205
|
+
readqueries = queries$1.symptom_and_specialty_read(payload === null || payload === void 0 ? void 0 : payload.search, payload === null || payload === void 0 ? void 0 : payload.page, payload === null || payload === void 0 ? void 0 : payload.perPage, payload !== null && payload !== void 0 && payload.sort ? payload === null || payload === void 0 ? void 0 : payload.sort : '', payload !== null && payload !== void 0 && payload.direction ? payload === null || payload === void 0 ? void 0 : payload.direction : '');
|
|
38089
38206
|
_context2.next = 6;
|
|
38090
38207
|
return fetchData({
|
|
38091
38208
|
body: JSON.stringify(readqueries)
|
|
@@ -38320,7 +38437,7 @@ var symptomAndSpecialtyActions = {
|
|
|
38320
38437
|
var symptomAndSpecialtySlice$1 = symptomAndSpecialtySlice.reducer;
|
|
38321
38438
|
|
|
38322
38439
|
var queries = {
|
|
38323
|
-
encounterType: function encounterType(page, perPage, search) {
|
|
38440
|
+
encounterType: function encounterType(page, perPage, search, sort, direction) {
|
|
38324
38441
|
return {
|
|
38325
38442
|
"db_name": dbName$1,
|
|
38326
38443
|
"entity": "AMPatientClass",
|
|
@@ -38329,9 +38446,9 @@ var queries = {
|
|
|
38329
38446
|
"offset": page,
|
|
38330
38447
|
"count": perPage
|
|
38331
38448
|
},
|
|
38332
|
-
"return_fields": "merge(AMPatientClass,{TotalCount:count(FOR cnt IN AMPatientClass FILTER (LIKE(cnt.shortDesc,'%".concat(search, "%',true)) && cnt.activestatus==true return cnt._key), encType:document(AMPatientClass.encType)
|
|
38333
|
-
// "merge(AMPatientClass,{encClsByTypes:(for encClsByTypes in (AMPatientClass.encClsByTypes) return merge(encClsByTypes,{encClsType:document(encClsByTypes.encClsType)}))},{encType:document(AMPatientClass.encType)})"
|
|
38334
|
-
"sort": "
|
|
38449
|
+
"return_fields": "merge(AMPatientClass,{TotalCount:count(FOR cnt IN AMPatientClass FILTER (LIKE(cnt.shortDesc,'%".concat(search, "%',true)) && cnt.activestatus==true return cnt._key), encClsByTypes:(for encClsByTypes in (AMPatientClass.encClsByTypes) return merge(encClsByTypes,{encClsType:document(encClsByTypes.encClsType)})) ,encType:document(AMPatientClass.encType)},{encTypeDesc:document(AMPatientClass.encTypeDesc).display},{encClsType:document(AMPatientClass.encClsType).code},{encClsDesc:document(AMPatientClass.encClsDesc).display})"),
|
|
38450
|
+
//"return" : "merge(AMPatientClass,{encClsByTypes:(for encClsByTypes in (AMPatientClass.encClsByTypes) return merge(encClsByTypes,{encClsType:document(encClsByTypes.encClsType)}))},{encType:document(AMPatientClass.encType)})",
|
|
38451
|
+
"sort": "".concat(sort === 'code' ? "AMPatientClass.encType ".concat(direction) : "AMPatientClass.shortDesc ".concat(direction))
|
|
38335
38452
|
};
|
|
38336
38453
|
},
|
|
38337
38454
|
//STATUS CHANGE
|
|
@@ -38368,7 +38485,7 @@ var ENCOUNTER_TYPE_READ = createAsyncThunk("encouterTypeSlice/encouterTypeRead",
|
|
|
38368
38485
|
payload = _args.length > 0 && _args[0] !== undefined ? _args[0] : {};
|
|
38369
38486
|
_ref2 = _args.length > 1 ? _args[1] : undefined, rejectWithValue = _ref2.rejectWithValue;
|
|
38370
38487
|
_context.prev = 2;
|
|
38371
|
-
queriesjson = queries.encounterType(payload === null || payload === void 0 ? void 0 : payload.page, payload === null || payload === void 0 ? void 0 : payload.perPage, payload !== null && payload !== void 0 && payload.search ? payload === null || payload === void 0 ? void 0 : payload.search : '');
|
|
38488
|
+
queriesjson = queries.encounterType(payload === null || payload === void 0 ? void 0 : payload.page, payload === null || payload === void 0 ? void 0 : payload.perPage, payload !== null && payload !== void 0 && payload.search ? payload === null || payload === void 0 ? void 0 : payload.search : '', payload !== null && payload !== void 0 && payload.sort ? payload === null || payload === void 0 ? void 0 : payload.sort : "", payload !== null && payload !== void 0 && payload.direction ? payload === null || payload === void 0 ? void 0 : payload.direction : '');
|
|
38372
38489
|
_context.next = 6;
|
|
38373
38490
|
return fetchData({
|
|
38374
38491
|
body: JSON.stringify(queriesjson)
|