primary_care_admin_binder 0.1.147 → 0.1.150
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 +134 -200
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -8259,7 +8259,6 @@ var fetchData = /*#__PURE__*/function () {
|
|
|
8259
8259
|
case 0:
|
|
8260
8260
|
url = _args.length > 1 && _args[1] !== undefined ? _args[1] : __baseUrl__;
|
|
8261
8261
|
jwtToken = _args.length > 2 ? _args[2] : undefined;
|
|
8262
|
-
console.log(url, "dftty");
|
|
8263
8262
|
__options = {
|
|
8264
8263
|
method: "POST",
|
|
8265
8264
|
headers: jwtToken ? {
|
|
@@ -8860,7 +8859,7 @@ var masterQuery$8 = {
|
|
|
8860
8859
|
employee_type: JSON.stringify(codingMasterFilter("EMPSTATUS")),
|
|
8861
8860
|
marital_status: JSON.stringify(codingMasterFilter("MARITALSTATUS")),
|
|
8862
8861
|
entity_name: "{\n \"db_name\": \"".concat(_dbName, "\",\n \"queryid\": \"9f065c19-10c9-41e1-b925-53458964974f\", \n \"filter\": {\n \"activestatus\": true,\n \"id\": \"\",\n \"sortByName\": false,\n \"active\": \"\"\n }\n }"),
|
|
8863
|
-
location: "{\n \"db_name\": \"".concat(_dbName, "\",\n \"queryid\": \"c27d71be-6c29-4024-aab3-1dd0a0a88c32\", \n \"filter\": {\n \"activestatus\": true, \n \"status\": \"active\", \n \"parentLocationId\": \"\",\n \"locationtype\": null \n }\n }"),
|
|
8862
|
+
location: "{\n \"db_name\": \"".concat(_dbName, "\",\n \"queryid\": \"c27d71be-6c29-4024-aab3-1dd0a0a88c32\", \n \"filter\": {\n \"activestatus\": true, \n \"status\": \"active\", \n \"parentLocationId\": \"\",\n \"locationtype\": null,\n \"organizationId\":\"\" \n }\n }"),
|
|
8864
8863
|
nationality: "{\n \"db_name\": \"".concat(_dbName, "\",\n \"queryid\": \"d3659637-f0aa-4e0d-86d6-61fd445f7dd5\",\n \"filter\":{\n \"display\": \"country\",\n \"activestatus\": true,\n \"active\": true,\n \"sort\":\"geogLevelName\"\n }\n }"),
|
|
8865
8864
|
country_code: "{\n \"db_name\": \"".concat(_dbName, "\",\n \"queryid\": \"d3659637-f0aa-4e0d-86d6-61fd445f7dd5\",\n \"filter\":{\n \"display\": \"country\",\n \"activestatus\": true,\n \"active\": true,\n \"sort\":\"GeoLocationISDCode\"\n }\n }")
|
|
8866
8865
|
};
|
|
@@ -8901,16 +8900,16 @@ var masterqueries = {
|
|
|
8901
8900
|
},
|
|
8902
8901
|
// without parent code
|
|
8903
8902
|
state_by_country_: function state_by_country_() {
|
|
8904
|
-
return geoQuery("state");
|
|
8903
|
+
return geoQuery("state", '');
|
|
8905
8904
|
},
|
|
8906
8905
|
district_by_state_: function district_by_state_() {
|
|
8907
|
-
return geoQuery("district");
|
|
8906
|
+
return geoQuery("district", '');
|
|
8908
8907
|
},
|
|
8909
8908
|
city_by_district_: function city_by_district_() {
|
|
8910
|
-
return geoQuery("city");
|
|
8909
|
+
return geoQuery("city", '');
|
|
8911
8910
|
},
|
|
8912
8911
|
pincode_by_city_: function pincode_by_city_() {
|
|
8913
|
-
return geoQuery("pincode");
|
|
8912
|
+
return geoQuery("pincode", '');
|
|
8914
8913
|
}
|
|
8915
8914
|
};
|
|
8916
8915
|
|
|
@@ -15303,9 +15302,32 @@ var masterQuery$7 = {
|
|
|
15303
15302
|
activestatus: true
|
|
15304
15303
|
}
|
|
15305
15304
|
};
|
|
15305
|
+
},
|
|
15306
|
+
speciality_data: function speciality_data() {
|
|
15307
|
+
return {
|
|
15308
|
+
db_name: _dbName,
|
|
15309
|
+
queryid: "b283129b-9841-419b-bdfc-de5105ebbad7",
|
|
15310
|
+
filter: {
|
|
15311
|
+
type: "SPECIALTY",
|
|
15312
|
+
code: "",
|
|
15313
|
+
status: "true",
|
|
15314
|
+
sortField: "display"
|
|
15315
|
+
}
|
|
15316
|
+
};
|
|
15306
15317
|
}
|
|
15307
15318
|
};
|
|
15308
15319
|
|
|
15320
|
+
var safeFind = function safeFind(stateObj, predicate) {
|
|
15321
|
+
if (stateObj && Array.isArray(stateObj.data)) {
|
|
15322
|
+
var result = stateObj.data.find(predicate);
|
|
15323
|
+
if (result) return result;
|
|
15324
|
+
}
|
|
15325
|
+
return {
|
|
15326
|
+
label: "",
|
|
15327
|
+
value: ""
|
|
15328
|
+
};
|
|
15329
|
+
};
|
|
15330
|
+
|
|
15309
15331
|
//CONTACT DETAILS JSON
|
|
15310
15332
|
var contactDetailList = function contactDetailList(data, state) {
|
|
15311
15333
|
var contact_Lists = [];
|
|
@@ -15340,71 +15362,39 @@ var contactDetailList = function contactDetailList(data, state) {
|
|
|
15340
15362
|
};
|
|
15341
15363
|
//CONTACT MODE OBJ
|
|
15342
15364
|
var contactModeList = function contactModeList(data, state) {
|
|
15343
|
-
|
|
15344
|
-
|
|
15345
|
-
|
|
15346
|
-
|
|
15347
|
-
|
|
15348
|
-
|
|
15349
|
-
? state.location_masters_contactmode.data.find(function (sys) {
|
|
15350
|
-
return data.indexOf(sys.value) > -1;
|
|
15351
|
-
}) : {
|
|
15352
|
-
label: "",
|
|
15353
|
-
value: ""
|
|
15354
|
-
};
|
|
15355
|
-
}
|
|
15356
|
-
return contact_mode_obj;
|
|
15365
|
+
return data && data.length > 0 ? safeFind(state.location_masters_contactmode, function (sys) {
|
|
15366
|
+
return data.indexOf(sys.value) > -1;
|
|
15367
|
+
}) : {
|
|
15368
|
+
label: "",
|
|
15369
|
+
value: ""
|
|
15370
|
+
};
|
|
15357
15371
|
};
|
|
15358
15372
|
//COUNTRY CODE OBJ
|
|
15359
15373
|
var countryCodeList = function countryCodeList(data, state) {
|
|
15360
|
-
|
|
15361
|
-
|
|
15362
|
-
|
|
15363
|
-
|
|
15364
|
-
|
|
15365
|
-
|
|
15366
|
-
? country_code_obj = state.location_masters_isd.data.find(function (sys) {
|
|
15367
|
-
return data.indexOf(sys.value) > -1;
|
|
15368
|
-
}) : {
|
|
15369
|
-
label: "",
|
|
15370
|
-
value: ""
|
|
15371
|
-
};
|
|
15372
|
-
}
|
|
15373
|
-
return country_code_obj;
|
|
15374
|
+
return data && data.length > 0 ? safeFind(state.location_masters_isd, function (sys) {
|
|
15375
|
+
return data.indexOf(sys.value) > -1;
|
|
15376
|
+
}) : {
|
|
15377
|
+
label: "",
|
|
15378
|
+
value: ""
|
|
15379
|
+
};
|
|
15374
15380
|
};
|
|
15375
15381
|
//USE OBJ
|
|
15376
15382
|
var useList = function useList(data, state) {
|
|
15377
|
-
|
|
15378
|
-
|
|
15379
|
-
|
|
15380
|
-
|
|
15381
|
-
|
|
15382
|
-
|
|
15383
|
-
? use_obj = state.location_masters_use.data.find(function (sys) {
|
|
15384
|
-
return data.indexOf(sys.value) > -1;
|
|
15385
|
-
}) : {
|
|
15386
|
-
label: "",
|
|
15387
|
-
value: ""
|
|
15388
|
-
};
|
|
15389
|
-
}
|
|
15390
|
-
return use_obj;
|
|
15383
|
+
return data && data.length > 0 ? safeFind(state.location_masters_use, function (sys) {
|
|
15384
|
+
return data.indexOf(sys.value) > -1;
|
|
15385
|
+
}) : {
|
|
15386
|
+
label: "",
|
|
15387
|
+
value: ""
|
|
15388
|
+
};
|
|
15391
15389
|
};
|
|
15392
15390
|
//RANK OBJ
|
|
15393
15391
|
var priorityList = function priorityList(data, state) {
|
|
15394
|
-
|
|
15395
|
-
|
|
15396
|
-
|
|
15397
|
-
|
|
15398
|
-
|
|
15399
|
-
|
|
15400
|
-
? priority_obj = state.location_masters_priority.data.find(function (sys) {
|
|
15401
|
-
return data.indexOf(sys.value) > -1;
|
|
15402
|
-
}) : {
|
|
15403
|
-
label: "",
|
|
15404
|
-
value: ""
|
|
15405
|
-
};
|
|
15406
|
-
}
|
|
15407
|
-
return priority_obj;
|
|
15392
|
+
return data && data.length > 0 ? safeFind(state.location_masters_priority, function (sys) {
|
|
15393
|
+
return data.indexOf(sys.value) > -1;
|
|
15394
|
+
}) : {
|
|
15395
|
+
label: "",
|
|
15396
|
+
value: ""
|
|
15397
|
+
};
|
|
15408
15398
|
};
|
|
15409
15399
|
var workingDayList = function workingDayList(data) {
|
|
15410
15400
|
var WorkingDayArr = [];
|
|
@@ -15429,18 +15419,6 @@ var workDayofWeekList = function workDayofWeekList(data) {
|
|
|
15429
15419
|
if (data && data.length > 0) {
|
|
15430
15420
|
data.map(function (val) {
|
|
15431
15421
|
var WorkingDay_of_week_obj = {
|
|
15432
|
-
// fromTime: val.openingtime
|
|
15433
|
-
// ? moment.unix(val.openingtime).format("HH:MM")
|
|
15434
|
-
// : "",
|
|
15435
|
-
// toTime: val.closingtime
|
|
15436
|
-
// ? moment.unix(val.closingtime).format("HH:MM")
|
|
15437
|
-
// : "",
|
|
15438
|
-
// fromTime: val.openingtime
|
|
15439
|
-
// ? val.openingtime.toString().replace(".", ":")
|
|
15440
|
-
// : "",
|
|
15441
|
-
// toTime: val.closingtime
|
|
15442
|
-
// ? val.closingtime.toString().replace(".", ":")
|
|
15443
|
-
// : "",
|
|
15444
15422
|
fromTime: val.openingtime ? moment.unix(val.openingtime) : "",
|
|
15445
15423
|
toTime: val.closingtime ? moment.unix(val.closingtime) : ""
|
|
15446
15424
|
};
|
|
@@ -15457,9 +15435,6 @@ var overRideList = function overRideList(data) {
|
|
|
15457
15435
|
if (val.overridetype === "Single") {
|
|
15458
15436
|
over_ride_obj = {
|
|
15459
15437
|
type: "singleDate",
|
|
15460
|
-
// selectDate: val.ovrfromdate
|
|
15461
|
-
// ? moment.unix(val.ovrfromdate).format("DD-MM-YYYY")
|
|
15462
|
-
// : "",
|
|
15463
15438
|
selectDate: val.ovrfromdate ? moment.unix(val.ovrfromdate) : "",
|
|
15464
15439
|
timeSlots: overRideTimeslot(val.daysOfWeek[0].operate_time)
|
|
15465
15440
|
};
|
|
@@ -15467,12 +15442,6 @@ var overRideList = function overRideList(data) {
|
|
|
15467
15442
|
} else if (val.overridetype === "Multiple") {
|
|
15468
15443
|
over_ride_obj = {
|
|
15469
15444
|
type: "dateRange",
|
|
15470
|
-
// fromDate: val.ovrfromdate
|
|
15471
|
-
// ? moment.unix(val.ovrfromdate).format("DD-MM-YYYY")
|
|
15472
|
-
// : "",
|
|
15473
|
-
// toDate: val.ovrtodate
|
|
15474
|
-
// ? moment.unix(val.ovrtodate).format("DD-MM-YYYY")
|
|
15475
|
-
// : "",
|
|
15476
15445
|
fromDate: val.ovrfromdate ? moment.unix(val.ovrfromdate) : "",
|
|
15477
15446
|
toDate: val.ovrtodate ? moment.unix(val.ovrtodate) : "",
|
|
15478
15447
|
daySlots: overRideDayslot(val.daysOfWeek)
|
|
@@ -15501,14 +15470,6 @@ var overRideTimeslot = function overRideTimeslot(data) {
|
|
|
15501
15470
|
if (data && data.length > 0) {
|
|
15502
15471
|
data.map(function (val) {
|
|
15503
15472
|
var over_ride_timeslot_obj = {
|
|
15504
|
-
// fromTime: val.ovrOpeningtime
|
|
15505
|
-
// ? moment.unix(val.ovrOpeningtime).format("HH:MM")
|
|
15506
|
-
// : "",
|
|
15507
|
-
// toTime: val.ovrClosingtime ? moment.unix(val.ovrClosingtime).format("HH:MM") : "",
|
|
15508
|
-
// fromTime: val.ovrOpeningtime
|
|
15509
|
-
// ? val.ovrOpeningtime.toString().replace(".", ":")
|
|
15510
|
-
// : "",
|
|
15511
|
-
// toTime: val.ovrClosingtime ? val.ovrClosingtime.toString().replace(".", ":") : "",
|
|
15512
15473
|
fromTime: val.ovrOpeningtime ? moment.unix(val.ovrOpeningtime) : "",
|
|
15513
15474
|
toTime: val.ovrClosingtime ? moment.unix(val.ovrClosingtime) : ""
|
|
15514
15475
|
};
|
|
@@ -15537,7 +15498,7 @@ var photoData$1 = function photoData(data) {
|
|
|
15537
15498
|
return photo_Data;
|
|
15538
15499
|
};
|
|
15539
15500
|
var generateReadJSON$4 = function generateReadJSON(data, state) {
|
|
15540
|
-
var
|
|
15501
|
+
var _data$managingOrgEnti, _data$managingOrgEnti2, _data$managingOrgID, _data$locationType$, _data$locationType$2, _data$address, _data$address2, _data$position, _data$position2, _data$position3, _data$workingdayyear, _data$workingdayyear2, _data$workingdayyear$, _data$workingdayyear$2, _data$workingdayyear$3;
|
|
15541
15502
|
var inital_workingday_slot_arr = [{
|
|
15542
15503
|
day: "Mon",
|
|
15543
15504
|
checked: true,
|
|
@@ -15589,79 +15550,46 @@ var generateReadJSON$4 = function generateReadJSON(data, state) {
|
|
|
15589
15550
|
}]
|
|
15590
15551
|
}];
|
|
15591
15552
|
var json = {
|
|
15592
|
-
entityType: data.managingOrgEntityType && data.managingOrgEntityType.length > 0
|
|
15593
|
-
|
|
15594
|
-
|
|
15595
|
-
|
|
15596
|
-
? state === null || state === void 0 || (_state$location_maste = state.location_masters_entitytype) === null || _state$location_maste === void 0 || (_state$location_maste = _state$location_maste.data) === null || _state$location_maste === void 0 ? void 0 : _state$location_maste.find(function (sys) {
|
|
15597
|
-
var _data$managingOrgEnti;
|
|
15598
|
-
return ((_data$managingOrgEnti = data.managingOrgEntityType[0]) === null || _data$managingOrgEnti === void 0 || (_data$managingOrgEnti = _data$managingOrgEnti._id) === null || _data$managingOrgEnti === void 0 ? void 0 : _data$managingOrgEnti.indexOf(sys.label)) > -1;
|
|
15599
|
-
}) : {
|
|
15553
|
+
entityType: data.managingOrgEntityType && Array.isArray(data.managingOrgEntityType) && data.managingOrgEntityType.length > 0 ? _objectSpread2({
|
|
15554
|
+
label: (_data$managingOrgEnti = data.managingOrgEntityType[0]) === null || _data$managingOrgEnti === void 0 ? void 0 : _data$managingOrgEnti._id,
|
|
15555
|
+
value: (_data$managingOrgEnti2 = data.managingOrgEntityType[0]) === null || _data$managingOrgEnti2 === void 0 || (_data$managingOrgEnti2 = _data$managingOrgEnti2.coding) === null || _data$managingOrgEnti2 === void 0 || (_data$managingOrgEnti2 = _data$managingOrgEnti2[0]) === null || _data$managingOrgEnti2 === void 0 ? void 0 : _data$managingOrgEnti2.display
|
|
15556
|
+
}, data.managingOrgEntityType[0]) : {
|
|
15600
15557
|
label: "",
|
|
15601
15558
|
value: ""
|
|
15602
15559
|
},
|
|
15603
15560
|
entityNameId: data === null || data === void 0 || (_data$managingOrgID = data.managingOrgID) === null || _data$managingOrgID === void 0 || (_data$managingOrgID = _data$managingOrgID[0]) === null || _data$managingOrgID === void 0 ? void 0 : _data$managingOrgID._id,
|
|
15604
|
-
|
|
15605
|
-
|
|
15606
|
-
|
|
15607
|
-
|
|
15608
|
-
// : { label: "", value: "" },
|
|
15609
|
-
locationType: data.locationType && Array.isArray(data.locationType) && data.locationType.length > 0
|
|
15610
|
-
// state.location_masters_locationtype.data.find(
|
|
15611
|
-
// (sys) => data.locationType[0]._id.indexOf(sys.label) > -1
|
|
15612
|
-
// )
|
|
15613
|
-
? state.location_masters_locationtype.data.find(function (sys) {
|
|
15614
|
-
var _data$locationType$;
|
|
15615
|
-
return ((_data$locationType$ = data.locationType[0]) === null || _data$locationType$ === void 0 || (_data$locationType$ = _data$locationType$._id) === null || _data$locationType$ === void 0 ? void 0 : _data$locationType$.indexOf(sys.label)) > -1;
|
|
15616
|
-
}) : {
|
|
15561
|
+
locationType: data.locationType && Array.isArray(data.locationType) && data.locationType.length > 0 ? _objectSpread2({
|
|
15562
|
+
label: (_data$locationType$ = data.locationType[0]) === null || _data$locationType$ === void 0 ? void 0 : _data$locationType$._id,
|
|
15563
|
+
value: (_data$locationType$2 = data.locationType[0]) === null || _data$locationType$2 === void 0 || (_data$locationType$2 = _data$locationType$2.coding) === null || _data$locationType$2 === void 0 || (_data$locationType$2 = _data$locationType$2[0]) === null || _data$locationType$2 === void 0 ? void 0 : _data$locationType$2.display
|
|
15564
|
+
}, data.locationType[0]) : {
|
|
15617
15565
|
label: "",
|
|
15618
15566
|
value: ""
|
|
15619
15567
|
},
|
|
15620
15568
|
locationId: data.locationID ? data.locationID : "",
|
|
15621
15569
|
shortDescription: data.shortdesc ? data.shortdesc : "",
|
|
15622
15570
|
longDescription: data.longdesc ? data.longdesc : "",
|
|
15623
|
-
operationalStatus: data.operationalStatus && Array.isArray(data.operationalStatus) && data.operationalStatus.length > 0
|
|
15624
|
-
|
|
15625
|
-
|
|
15626
|
-
// )
|
|
15627
|
-
? state.location_masters_operationalstatus.data.find(function (sys) {
|
|
15628
|
-
return data.operationalStatus[0]._id.indexOf(sys.label) > -1;
|
|
15571
|
+
operationalStatus: data.operationalStatus && Array.isArray(data.operationalStatus) && data.operationalStatus.length > 0 ? safeFind(state.location_masters_operationalstatus, function (sys) {
|
|
15572
|
+
var _data$operationalStat;
|
|
15573
|
+
return String((_data$operationalStat = data.operationalStatus[0]) === null || _data$operationalStat === void 0 ? void 0 : _data$operationalStat._id) === String(sys.label);
|
|
15629
15574
|
}) : {
|
|
15630
15575
|
label: "",
|
|
15631
15576
|
value: ""
|
|
15632
15577
|
},
|
|
15633
|
-
parentLocationIdandDescription: data.parentLocationID_desc && data.parentLocationID_desc.length > 0
|
|
15634
|
-
// state.location_masters_parent_location_id.data.find(
|
|
15635
|
-
// (sys) => data.parentLocationID_desc[0]._id.indexOf(sys.label) > -1
|
|
15636
|
-
// )
|
|
15637
|
-
? state.location_masters_parent_location_id.data.find(function (sys) {
|
|
15578
|
+
parentLocationIdandDescription: data.parentLocationID_desc && data.parentLocationID_desc.length > 0 ? safeFind(state.location_masters_parent_location_id, function (sys) {
|
|
15638
15579
|
var _data$parentLocationI;
|
|
15639
|
-
return ((_data$parentLocationI = data.parentLocationID_desc) === null || _data$parentLocationI === void 0 || (_data$parentLocationI = _data$parentLocationI[0]) === null || _data$parentLocationI === void 0
|
|
15580
|
+
return String((_data$parentLocationI = data.parentLocationID_desc) === null || _data$parentLocationI === void 0 || (_data$parentLocationI = _data$parentLocationI[0]) === null || _data$parentLocationI === void 0 ? void 0 : _data$parentLocationI._id) === String(sys.label);
|
|
15640
15581
|
}) : {
|
|
15641
15582
|
label: "",
|
|
15642
15583
|
value: ""
|
|
15643
15584
|
},
|
|
15644
|
-
|
|
15645
|
-
// // state.location_masters_locationroletype.data.find(
|
|
15646
|
-
// // (sys) => data.locationRoletype[0]._id.indexOf(sys.label) > -1
|
|
15647
|
-
// // )
|
|
15648
|
-
// ? state.location_masters_locationroletype.data.find(
|
|
15649
|
-
// (sys) => data.locationRoletype[0]._id.indexOf(sys.label) > -1
|
|
15650
|
-
// )
|
|
15651
|
-
// : { label: "", value: "" },
|
|
15652
|
-
locationRoleType: data.locationRoletype && data.locationRoletype.length > 0 ? state.location_masters_locationroletype.data.find(function (sys) {
|
|
15585
|
+
locationRoleType: data.locationRoletype && data.locationRoletype.length > 0 ? safeFind(state.location_masters_locationroletype, function (sys) {
|
|
15653
15586
|
var _data$locationRoletyp;
|
|
15654
|
-
return ((_data$locationRoletyp = data.locationRoletype) === null || _data$locationRoletyp === void 0 || (_data$locationRoletyp = _data$locationRoletyp[0]) === null || _data$locationRoletyp === void 0
|
|
15587
|
+
return String((_data$locationRoletyp = data.locationRoletype) === null || _data$locationRoletyp === void 0 || (_data$locationRoletyp = _data$locationRoletyp[0]) === null || _data$locationRoletyp === void 0 ? void 0 : _data$locationRoletyp._id) === String(sys.label);
|
|
15655
15588
|
}) : {
|
|
15656
15589
|
label: "",
|
|
15657
15590
|
value: ""
|
|
15658
15591
|
},
|
|
15659
15592
|
speciality: data.specialty,
|
|
15660
|
-
// (data.specialty && data.specialty.length > 0)
|
|
15661
|
-
// ? state.location_masters_speciality.data.find(
|
|
15662
|
-
// (sys) => data.specialty.indexOf(sys.label) > -1
|
|
15663
|
-
// )
|
|
15664
|
-
// : { label: "", value: "" },
|
|
15665
15593
|
clinicDetails: data.clinicdetails ? data.clinicdetails : "",
|
|
15666
15594
|
locationAddress: (_data$address = data.address) !== null && _data$address !== void 0 && (_data$address = _data$address[0]) !== null && _data$address !== void 0 && _data$address.text ? (_data$address2 = data.address) === null || _data$address2 === void 0 || (_data$address2 = _data$address2[0]) === null || _data$address2 === void 0 ? void 0 : _data$address2.text : "",
|
|
15667
15595
|
longitude: (_data$position = data.position) !== null && _data$position !== void 0 && (_data$position = _data$position[0]) !== null && _data$position !== void 0 && _data$position.longitude ? data.position[0].longitude : "",
|
|
@@ -15699,9 +15627,7 @@ var LOCATION_MASTERS_ENTITYTYPE = createAsyncThunk("locationMasterSlice/location
|
|
|
15699
15627
|
_context.n = 2;
|
|
15700
15628
|
return fetchData({
|
|
15701
15629
|
body: JSON.stringify(masterQuery$7.locationMasterEntityType())
|
|
15702
|
-
},
|
|
15703
|
-
// __readDocumentUrl__
|
|
15704
|
-
__baseUrl__$1);
|
|
15630
|
+
}, __baseUrl__$1);
|
|
15705
15631
|
case 2:
|
|
15706
15632
|
data_arr = _context.v;
|
|
15707
15633
|
arry = [];
|
|
@@ -15745,9 +15671,7 @@ var LOCATION_MASTERS_ENTITYNAME = createAsyncThunk("locationMasterSlice/location
|
|
|
15745
15671
|
_context2.n = 2;
|
|
15746
15672
|
return fetchData({
|
|
15747
15673
|
body: JSON.stringify(masterQuery$7.locationMasterEntityName(type))
|
|
15748
|
-
},
|
|
15749
|
-
// __readDocumentUrl__
|
|
15750
|
-
__baseUrl__$1);
|
|
15674
|
+
}, __baseUrl__$1);
|
|
15751
15675
|
case 2:
|
|
15752
15676
|
data_arr = _context2.v;
|
|
15753
15677
|
arry = [];
|
|
@@ -15787,16 +15711,15 @@ var LOCATION_MASTERS_LOCATIONTYPE = createAsyncThunk("locationMasterSlice/locati
|
|
|
15787
15711
|
_context3.n = 2;
|
|
15788
15712
|
return fetchData({
|
|
15789
15713
|
body: JSON.stringify(masterQuery$7.locationMasterLocationType())
|
|
15790
|
-
},
|
|
15791
|
-
// __readDocumentUrl__
|
|
15792
|
-
__baseUrl__$1);
|
|
15714
|
+
}, __baseUrl__$1);
|
|
15793
15715
|
case 2:
|
|
15794
15716
|
data_arr = _context3.v;
|
|
15795
15717
|
arry = [];
|
|
15796
15718
|
_context3.n = 3;
|
|
15797
15719
|
return data_arr.map(function (val) {
|
|
15720
|
+
var _val$coding;
|
|
15798
15721
|
arry.push({
|
|
15799
|
-
value: val.coding[0].display,
|
|
15722
|
+
value: (_val$coding = val.coding) === null || _val$coding === void 0 || (_val$coding = _val$coding[0]) === null || _val$coding === void 0 ? void 0 : _val$coding.display,
|
|
15800
15723
|
label: val._id
|
|
15801
15724
|
});
|
|
15802
15725
|
});
|
|
@@ -15828,9 +15751,7 @@ var LOCATION_MASTERS_OPERATIONALSTATUS = createAsyncThunk("locationMasterSlice/l
|
|
|
15828
15751
|
_context4.n = 2;
|
|
15829
15752
|
return fetchData({
|
|
15830
15753
|
body: JSON.stringify(masterQuery$7.locationMasterOperationalStatus())
|
|
15831
|
-
},
|
|
15832
|
-
// __readDocumentUrl__
|
|
15833
|
-
__baseUrl__$1);
|
|
15754
|
+
}, __baseUrl__$1);
|
|
15834
15755
|
case 2:
|
|
15835
15756
|
data_arr = _context4.v;
|
|
15836
15757
|
arry = [];
|
|
@@ -15869,9 +15790,7 @@ var LOCATION_MASTERS_PARENT_LOCATION_ID_DESCRIPTION = createAsyncThunk("location
|
|
|
15869
15790
|
_context5.n = 2;
|
|
15870
15791
|
return fetchData({
|
|
15871
15792
|
body: JSON.stringify(masterQuery$7.locationMasterParentLocationIdDescription())
|
|
15872
|
-
},
|
|
15873
|
-
// __readDocumentUrl__
|
|
15874
|
-
__baseUrl__$1);
|
|
15793
|
+
}, __baseUrl__$1);
|
|
15875
15794
|
case 2:
|
|
15876
15795
|
data_arr = _context5.v;
|
|
15877
15796
|
arry = [];
|
|
@@ -15910,9 +15829,7 @@ var LOCATION_MASTERS_LOCATIONROLETYPE = createAsyncThunk("locationMasterSlice/lo
|
|
|
15910
15829
|
_context6.n = 2;
|
|
15911
15830
|
return fetchData({
|
|
15912
15831
|
body: JSON.stringify(masterQuery$7.locationMasterLocationRoleType())
|
|
15913
|
-
},
|
|
15914
|
-
// __readDocumentUrl__
|
|
15915
|
-
__baseUrl__$1);
|
|
15832
|
+
}, __baseUrl__$1);
|
|
15916
15833
|
case 2:
|
|
15917
15834
|
data_arr = _context6.v;
|
|
15918
15835
|
arry = [];
|
|
@@ -15956,9 +15873,7 @@ var LOCATION_MASTER_SPECIALITY = createAsyncThunk("locationMasterSlice/location_
|
|
|
15956
15873
|
_context7.n = 2;
|
|
15957
15874
|
return fetchData({
|
|
15958
15875
|
body: JSON.stringify(masterQuery$7.locationMasterSpeciality(id))
|
|
15959
|
-
},
|
|
15960
|
-
// __readDocumentUrl__
|
|
15961
|
-
__baseUrl__$1);
|
|
15876
|
+
}, __baseUrl__$1);
|
|
15962
15877
|
case 2:
|
|
15963
15878
|
data_arr = _context7.v;
|
|
15964
15879
|
arry = [];
|
|
@@ -15998,9 +15913,7 @@ var LOCATION_MASTER_CONTACTMODE = createAsyncThunk("locationMasterSlice/location
|
|
|
15998
15913
|
_context8.n = 2;
|
|
15999
15914
|
return fetchData({
|
|
16000
15915
|
body: JSON.stringify(masterQuery$7.locationMasterContactMode())
|
|
16001
|
-
},
|
|
16002
|
-
// __readDocumentUrl__
|
|
16003
|
-
__baseUrl__$1);
|
|
15916
|
+
}, __baseUrl__$1);
|
|
16004
15917
|
case 2:
|
|
16005
15918
|
data_arr = _context8.v;
|
|
16006
15919
|
arry = [];
|
|
@@ -16039,9 +15952,7 @@ var LOCATION_MASTER_ISD = createAsyncThunk("locationMasterSlice/location_masters
|
|
|
16039
15952
|
_context9.n = 2;
|
|
16040
15953
|
return fetchData({
|
|
16041
15954
|
body: JSON.stringify(masterQuery$7.locationMasterISD())
|
|
16042
|
-
},
|
|
16043
|
-
// __readDocumentUrl__
|
|
16044
|
-
__baseUrl__$1);
|
|
15955
|
+
}, __baseUrl__$1);
|
|
16045
15956
|
case 2:
|
|
16046
15957
|
data_arr = _context9.v;
|
|
16047
15958
|
arry = [];
|
|
@@ -16080,9 +15991,7 @@ var LOCATION_MASTER_USE = createAsyncThunk("locationMasterSlice/location_masters
|
|
|
16080
15991
|
_context0.n = 2;
|
|
16081
15992
|
return fetchData({
|
|
16082
15993
|
body: JSON.stringify(masterQuery$7.locationMasterUse())
|
|
16083
|
-
},
|
|
16084
|
-
// __readDocumentUrl__
|
|
16085
|
-
__baseUrl__$1);
|
|
15994
|
+
}, __baseUrl__$1);
|
|
16086
15995
|
case 2:
|
|
16087
15996
|
data_arr = _context0.v;
|
|
16088
15997
|
arry = [];
|
|
@@ -16121,9 +16030,7 @@ var LOCATION_MASTER_PRIORITY = createAsyncThunk("locationMasterSlice/location_ma
|
|
|
16121
16030
|
_context1.n = 2;
|
|
16122
16031
|
return fetchData({
|
|
16123
16032
|
body: JSON.stringify(masterQuery$7.locationMasterPriority())
|
|
16124
|
-
},
|
|
16125
|
-
// __readDocumentUrl__
|
|
16126
|
-
__baseUrl__$1);
|
|
16033
|
+
}, __baseUrl__$1);
|
|
16127
16034
|
case 2:
|
|
16128
16035
|
data_arr = _context1.v;
|
|
16129
16036
|
arry = [];
|
|
@@ -16172,9 +16079,7 @@ var LOCATION_MASTER_GET_BY_ID = createAsyncThunk("locationMasterSlice/location_m
|
|
|
16172
16079
|
_context10.n = 2;
|
|
16173
16080
|
return fetchData({
|
|
16174
16081
|
body: JSON.stringify(queries$n.location_by_id(id))
|
|
16175
|
-
},
|
|
16176
|
-
// __readDocumentUrl__
|
|
16177
|
-
__baseUrl__$1);
|
|
16082
|
+
}, __baseUrl__$1);
|
|
16178
16083
|
case 2:
|
|
16179
16084
|
data = _context10.v;
|
|
16180
16085
|
//
|
|
@@ -16188,13 +16093,52 @@ var LOCATION_MASTER_GET_BY_ID = createAsyncThunk("locationMasterSlice/location_m
|
|
|
16188
16093
|
_context10.p = 3;
|
|
16189
16094
|
_t10 = _context10.v;
|
|
16190
16095
|
console.clear();
|
|
16191
|
-
console.log(_t10);
|
|
16192
16096
|
return _context10.a(2, rejectWithValue(_objectSpread2(_objectSpread2({}, defaultReject), {}, {
|
|
16193
16097
|
message: _t10.message
|
|
16194
16098
|
})));
|
|
16195
16099
|
}
|
|
16196
16100
|
}, _callee10, null, [[1, 3]]);
|
|
16197
16101
|
})));
|
|
16102
|
+
var SPECIALITY_DATA = createAsyncThunk("locationMasterSlice/speciality_data", /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee11() {
|
|
16103
|
+
var _ref24,
|
|
16104
|
+
rejectWithValue,
|
|
16105
|
+
data_arr,
|
|
16106
|
+
arry,
|
|
16107
|
+
_args11 = arguments,
|
|
16108
|
+
_t11;
|
|
16109
|
+
return _regenerator().w(function (_context11) {
|
|
16110
|
+
while (1) switch (_context11.p = _context11.n) {
|
|
16111
|
+
case 0:
|
|
16112
|
+
_ref24 = _args11.length > 1 ? _args11[1] : undefined, rejectWithValue = _ref24.rejectWithValue;
|
|
16113
|
+
_context11.p = 1;
|
|
16114
|
+
_context11.n = 2;
|
|
16115
|
+
return fetchData({
|
|
16116
|
+
body: JSON.stringify(masterQuery$7.speciality_data())
|
|
16117
|
+
}, __baseUrl__$1);
|
|
16118
|
+
case 2:
|
|
16119
|
+
data_arr = _context11.v;
|
|
16120
|
+
arry = [];
|
|
16121
|
+
_context11.n = 3;
|
|
16122
|
+
return data_arr === null || data_arr === void 0 ? void 0 : data_arr.map(function (val) {
|
|
16123
|
+
var _val$display2;
|
|
16124
|
+
arry.push(_objectSpread2({
|
|
16125
|
+
value: (_val$display2 = val === null || val === void 0 ? void 0 : val.display) !== null && _val$display2 !== void 0 ? _val$display2 : "",
|
|
16126
|
+
label: val._id
|
|
16127
|
+
}, val));
|
|
16128
|
+
});
|
|
16129
|
+
case 3:
|
|
16130
|
+
return _context11.a(2, _objectSpread2(_objectSpread2({}, defaultState.List), {}, {
|
|
16131
|
+
data: arry
|
|
16132
|
+
}));
|
|
16133
|
+
case 4:
|
|
16134
|
+
_context11.p = 4;
|
|
16135
|
+
_t11 = _context11.v;
|
|
16136
|
+
return _context11.a(2, rejectWithValue(_objectSpread2(_objectSpread2({}, defaultReject), {}, {
|
|
16137
|
+
message: _t11.message
|
|
16138
|
+
})));
|
|
16139
|
+
}
|
|
16140
|
+
}, _callee11, null, [[1, 4]]);
|
|
16141
|
+
})));
|
|
16198
16142
|
var locationMasterSlice = createSlice({
|
|
16199
16143
|
name: "locationMasterAPISlice",
|
|
16200
16144
|
initialState: {
|
|
@@ -16209,7 +16153,8 @@ var locationMasterSlice = createSlice({
|
|
|
16209
16153
|
location_masters_isd: _objectSpread2({}, defaultState.List),
|
|
16210
16154
|
location_masters_use: _objectSpread2({}, defaultState.List),
|
|
16211
16155
|
location_masters_priority: _objectSpread2({}, defaultState.List),
|
|
16212
|
-
locationmasterbyid: _objectSpread2({}, defaultState.List)
|
|
16156
|
+
locationmasterbyid: _objectSpread2({}, defaultState.List),
|
|
16157
|
+
speciality_data: _objectSpread2({}, defaultState.List)
|
|
16213
16158
|
},
|
|
16214
16159
|
extraReducers: (_extraReducers$x = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_extraReducers$x, LOCATION_MASTERS_ENTITYTYPE.fulfilled, function (state, action) {
|
|
16215
16160
|
state.location_masters_entitytype.loading = false, state.location_masters_entitytype.error = false, state.location_masters_entitytype = action.payload;
|
|
@@ -16271,7 +16216,7 @@ var locationMasterSlice = createSlice({
|
|
|
16271
16216
|
state.location_masters_use.loading = true, state.location_masters_use.error = false, state.location_masters_use.loading = true;
|
|
16272
16217
|
}), LOCATION_MASTER_USE.rejected, function (state, action) {
|
|
16273
16218
|
state.location_masters_use.loading = false, state.location_masters_use.error = true, state.location_masters_use = action.payload;
|
|
16274
|
-
}), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_extraReducers$x, LOCATION_MASTER_PRIORITY.fulfilled, function (state, action) {
|
|
16219
|
+
}), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_extraReducers$x, LOCATION_MASTER_PRIORITY.fulfilled, function (state, action) {
|
|
16275
16220
|
state.location_masters_priority.loading = false, state.location_masters_priority.error = false, state.location_masters_priority = action.payload;
|
|
16276
16221
|
}), LOCATION_MASTER_PRIORITY.pending, function (state, action) {
|
|
16277
16222
|
state.location_masters_priority.loading = true, state.location_masters_priority.error = false, state.location_masters_priority.loading = true;
|
|
@@ -16283,6 +16228,12 @@ var locationMasterSlice = createSlice({
|
|
|
16283
16228
|
state.locationmasterbyid.loading = true, state.locationmasterbyid.error = false, state.locationmasterbyid.loading = true;
|
|
16284
16229
|
}), LOCATION_MASTER_GET_BY_ID.rejected, function (state, action) {
|
|
16285
16230
|
state.locationmasterbyid.loading = false, state.locationmasterbyid.error = true, state.locationmasterbyid = action.payload;
|
|
16231
|
+
}), SPECIALITY_DATA.fulfilled, function (state, action) {
|
|
16232
|
+
state.speciality_data.loading = false, state.speciality_data.error = false, state.speciality_data = action.payload;
|
|
16233
|
+
}), SPECIALITY_DATA.pending, function (state, action) {
|
|
16234
|
+
state.speciality_data.loading = true, state.speciality_data.error = false, state.speciality_data.loading = true;
|
|
16235
|
+
}), SPECIALITY_DATA.rejected, function (state, action) {
|
|
16236
|
+
state.speciality_data.loading = false, state.speciality_data.error = true, state.speciality_data = action.payload;
|
|
16286
16237
|
}))
|
|
16287
16238
|
});
|
|
16288
16239
|
var locationMasterActions = {
|
|
@@ -16297,7 +16248,8 @@ var locationMasterActions = {
|
|
|
16297
16248
|
LOCATION_MASTER_ISD: LOCATION_MASTER_ISD,
|
|
16298
16249
|
LOCATION_MASTER_USE: LOCATION_MASTER_USE,
|
|
16299
16250
|
LOCATION_MASTER_PRIORITY: LOCATION_MASTER_PRIORITY,
|
|
16300
|
-
LOCATION_MASTER_GET_BY_ID: LOCATION_MASTER_GET_BY_ID
|
|
16251
|
+
LOCATION_MASTER_GET_BY_ID: LOCATION_MASTER_GET_BY_ID,
|
|
16252
|
+
SPECIALITY_DATA: SPECIALITY_DATA
|
|
16301
16253
|
};
|
|
16302
16254
|
var locationMasterSlice$1 = locationMasterSlice.reducer;
|
|
16303
16255
|
|
|
@@ -18076,7 +18028,7 @@ var HOLIDAY_SINGLE_READ_SELECTED_QDM = createAsyncThunk("holidaySlice/holidaySin
|
|
|
18076
18028
|
payload = _args4.length > 0 && _args4[0] !== undefined ? _args4[0] : {};
|
|
18077
18029
|
_ref8 = _args4.length > 1 ? _args4[1] : undefined, rejectWithValue = _ref8.rejectWithValue;
|
|
18078
18030
|
_context4.p = 1;
|
|
18079
|
-
_id =
|
|
18031
|
+
_id = payload; // const { holidayid ="" , allData = false } = _id;
|
|
18080
18032
|
body = {
|
|
18081
18033
|
"db_name": dbName,
|
|
18082
18034
|
"filter": {
|
|
@@ -20091,9 +20043,6 @@ var RES_RESOURCE_ROLE_LIST_DOC = createAsyncThunk("resourceByAppointmentTypesSli
|
|
|
20091
20043
|
case 2:
|
|
20092
20044
|
data_arr = _context17.v;
|
|
20093
20045
|
arry = [];
|
|
20094
|
-
console.log({
|
|
20095
|
-
data_arr: data_arr
|
|
20096
|
-
});
|
|
20097
20046
|
_context17.n = 3;
|
|
20098
20047
|
return data_arr.result.map(function (val) {
|
|
20099
20048
|
arry.push({
|
|
@@ -20103,7 +20052,6 @@ var RES_RESOURCE_ROLE_LIST_DOC = createAsyncThunk("resourceByAppointmentTypesSli
|
|
|
20103
20052
|
});
|
|
20104
20053
|
});
|
|
20105
20054
|
case 3:
|
|
20106
|
-
console.log(arry, "cf");
|
|
20107
20055
|
return _context17.a(2, _objectSpread2(_objectSpread2({}, defaultState.List), {}, {
|
|
20108
20056
|
data: arry
|
|
20109
20057
|
}));
|
|
@@ -20185,12 +20133,8 @@ var RES_RESOURCE_DEPARTMENT_LIST_DOC = createAsyncThunk("resourceByAppointmentTy
|
|
|
20185
20133
|
case 2:
|
|
20186
20134
|
data_arr = _context19.v;
|
|
20187
20135
|
arry = [];
|
|
20188
|
-
console.log({
|
|
20189
|
-
data_arr: data_arr
|
|
20190
|
-
});
|
|
20191
20136
|
_context19.n = 3;
|
|
20192
20137
|
return data_arr.result.map(function (val) {
|
|
20193
|
-
console.log(val, "Type");
|
|
20194
20138
|
arry.push({
|
|
20195
20139
|
value: val === null || val === void 0 ? void 0 : val._id,
|
|
20196
20140
|
title: val === null || val === void 0 ? void 0 : val.Type,
|
|
@@ -20198,7 +20142,6 @@ var RES_RESOURCE_DEPARTMENT_LIST_DOC = createAsyncThunk("resourceByAppointmentTy
|
|
|
20198
20142
|
});
|
|
20199
20143
|
});
|
|
20200
20144
|
case 3:
|
|
20201
|
-
console.log(arry);
|
|
20202
20145
|
return _context19.a(2, _objectSpread2(_objectSpread2({}, defaultState.List), {}, {
|
|
20203
20146
|
data: arry
|
|
20204
20147
|
}));
|
|
@@ -20281,9 +20224,6 @@ var RES_RESOURCE_NAME_LIST_DOC = createAsyncThunk("resourceByAppointmentTypesSli
|
|
|
20281
20224
|
case 2:
|
|
20282
20225
|
data_arr = _context21.v;
|
|
20283
20226
|
arry = [];
|
|
20284
|
-
console.log({
|
|
20285
|
-
data_arr: data_arr
|
|
20286
|
-
});
|
|
20287
20227
|
_context21.n = 3;
|
|
20288
20228
|
return data_arr.result.map(function (val) {
|
|
20289
20229
|
arry.push({
|
|
@@ -20292,7 +20232,6 @@ var RES_RESOURCE_NAME_LIST_DOC = createAsyncThunk("resourceByAppointmentTypesSli
|
|
|
20292
20232
|
});
|
|
20293
20233
|
});
|
|
20294
20234
|
case 3:
|
|
20295
|
-
console.log(arry);
|
|
20296
20235
|
return _context21.a(2, _objectSpread2(_objectSpread2({}, defaultState.List), {}, {
|
|
20297
20236
|
data: arry
|
|
20298
20237
|
}));
|
|
@@ -20411,7 +20350,6 @@ var RES_CRITERIA_LIST_DOC = createAsyncThunk("resourceByAppointmentTypesSlice/re
|
|
|
20411
20350
|
}, __readDocumentUrl__);
|
|
20412
20351
|
case 2:
|
|
20413
20352
|
data = _context24.v;
|
|
20414
|
-
console.log(data, "taeetee");
|
|
20415
20353
|
result = [];
|
|
20416
20354
|
data.result.map(function (val, i) {
|
|
20417
20355
|
if (val !== null && val !== void 0 && val.display && val !== null && val !== void 0 && val._id) {
|
|
@@ -20828,7 +20766,6 @@ var RES_APPOINTMENT_LIST_QDM = createAsyncThunk("resourceByAppointmentTypesSlice
|
|
|
20828
20766
|
case 3:
|
|
20829
20767
|
_context33.p = 3;
|
|
20830
20768
|
_t33 = _context33.v;
|
|
20831
|
-
console.log(_t33, "datadata");
|
|
20832
20769
|
return _context33.a(2, rejectWithValue(_objectSpread2(_objectSpread2({}, defaultReject), {}, {
|
|
20833
20770
|
message: _t33.message
|
|
20834
20771
|
})));
|
|
@@ -20849,7 +20786,6 @@ var RES_APPOINTMENT_LIST = createAsyncThunk("resourceByAppointmentTypesSlice/res
|
|
|
20849
20786
|
case 0:
|
|
20850
20787
|
payload = _args34.length > 0 && _args34[0] !== undefined ? _args34[0] : {};
|
|
20851
20788
|
_ref70 = _args34.length > 1 ? _args34[1] : undefined, rejectWithValue = _ref70.rejectWithValue;
|
|
20852
|
-
console.log(payload, "sdkesloert");
|
|
20853
20789
|
_context34.p = 1;
|
|
20854
20790
|
queriesjson = queries$i.res_appointment_list(payload);
|
|
20855
20791
|
_context34.n = 2;
|
|
@@ -20858,7 +20794,6 @@ var RES_APPOINTMENT_LIST = createAsyncThunk("resourceByAppointmentTypesSlice/res
|
|
|
20858
20794
|
}, __readDocumentUrl__);
|
|
20859
20795
|
case 2:
|
|
20860
20796
|
data = _context34.v;
|
|
20861
|
-
console.log(data, "datasse");
|
|
20862
20797
|
result = [];
|
|
20863
20798
|
data === null || data === void 0 || data.result.map(function (val, i) {
|
|
20864
20799
|
result.push(_objectSpread2({
|
|
@@ -20932,7 +20867,6 @@ var RES_UPDATE_APPOINTMENT = createAsyncThunk("resourceByAppointmentTypesSlice/r
|
|
|
20932
20867
|
case 0:
|
|
20933
20868
|
payload = _args36.length > 0 && _args36[0] !== undefined ? _args36[0] : {};
|
|
20934
20869
|
_ref74 = _args36.length > 1 ? _args36[1] : undefined, rejectWithValue = _ref74.rejectWithValue;
|
|
20935
|
-
console.log(payload, "updateeditvalue");
|
|
20936
20870
|
_context36.p = 1;
|
|
20937
20871
|
key = payload;
|
|
20938
20872
|
queriesjson = queries$i.res_update_appointment(key); // let queriesjson = generateJson.insert_appointment_add(state, key);
|