primary_care_admin_binder 0.1.192 → 0.1.194

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.
Files changed (2) hide show
  1. package/dist/index.cjs.js +562 -563
  2. package/package.json +1 -1
package/dist/index.cjs.js CHANGED
@@ -2383,7 +2383,7 @@ var getBinderEnv = function getBinderEnv(key) {
2383
2383
  }
2384
2384
  return fallback;
2385
2385
  };
2386
- var _dbName$1 = "";
2386
+ var _dbName = "";
2387
2387
  var _dbNameNg = "";
2388
2388
  var _ruleDBName = "";
2389
2389
  var _metaDatadbName = "";
@@ -2394,7 +2394,6 @@ var _tenantId = "";
2394
2394
  * Builds all Binder URLs dynamically from runtime env
2395
2395
  */
2396
2396
  function getBinderUrls() {
2397
- var arangoApi = getBinderEnv("REACT_APP_ARANGO_API");
2398
2397
  var commonApi = getBinderEnv("REACT_APP_AIQOE_COMMON_API_URL");
2399
2398
  var keyClockApi = getBinderEnv("REACT_APP_KEY_CLOCK_API");
2400
2399
  var nifiApi = getBinderEnv("REACT_APP_NIFI_API");
@@ -2423,10 +2422,10 @@ function getBinderUrls() {
2423
2422
  return "".concat(commonApi, "/api/upsert_document");
2424
2423
  },
2425
2424
  updateUrl: function updateUrl() {
2426
- return "".concat(arangoApi, "/api/updatedocument");
2425
+ return "".concat(commonApi, "/api/updatedocument");
2427
2426
  },
2428
2427
  softDeleteUrl: function softDeleteUrl() {
2429
- return "".concat(arangoApi, "/api/soft_delete");
2428
+ return "".concat(commonApi, "/api/soft_delete");
2430
2429
  },
2431
2430
  // KeyClock / Appointment APIs
2432
2431
  createSlotUrl: function createSlotUrl() {
@@ -2521,7 +2520,7 @@ var refreshOrgToken = "";
2521
2520
  var refreshUserToken = "";
2522
2521
 
2523
2522
  /** --- Named DB exports --- */
2524
- var dbName$1 = "";
2523
+ var dbName = "";
2525
2524
  var metaDatadbName$1 = "";
2526
2525
  var metaDataId$1 = "";
2527
2526
  var tenantId = "";
@@ -2559,14 +2558,14 @@ function refreshBinderUrls() {
2559
2558
  __nifiUrl__ = urls.nifiUrl();
2560
2559
  refreshOrgToken = urls.refreshOrgToken();
2561
2560
  refreshUserToken = urls.refreshUserToken();
2562
- dbName$1 = urls.dbName;
2561
+ dbName = urls.dbName;
2563
2562
  metaDatadbName$1 = urls.metaDatadbName;
2564
2563
  metaDataId$1 = urls.metaDataId;
2565
2564
  tenantId = urls.tenantId;
2566
2565
  dbNameNg = urls.dbNameNg;
2567
2566
  ruleDBName = urls.ruleDBName;
2568
2567
  dbType = urls.dbtype;
2569
- _dbName$1 = urls.dbName;
2568
+ _dbName = urls.dbName;
2570
2569
  _metaDatadbName = urls.metaDatadbName;
2571
2570
  _metaDataId = urls.metaDataId;
2572
2571
  _tenantId = urls.tenantId;
@@ -8418,7 +8417,7 @@ var fetchDataApi = /*#__PURE__*/function () {
8418
8417
  var queries$o = {
8419
8418
  rolelist: function rolelist(type, page, perPage, search) {
8420
8419
  return {
8421
- appcode: dbName$1,
8420
+ appcode: dbName,
8422
8421
  filter: {
8423
8422
  type: type,
8424
8423
  search: search || "",
@@ -8451,7 +8450,7 @@ var queries$o = {
8451
8450
  });
8452
8451
  }
8453
8452
  return [_objectSpread2(_objectSpread2({
8454
- appcode: dbName$1,
8453
+ appcode: dbName,
8455
8454
  entity: "CodeableConceptMaster",
8456
8455
  is_metadata: true,
8457
8456
  metadataId: metaDataId$1,
@@ -8478,7 +8477,7 @@ var queries$o = {
8478
8477
  },
8479
8478
  practitioner_by_id: function practitioner_by_id(id) {
8480
8479
  return {
8481
- appcode: dbName$1,
8480
+ appcode: dbName,
8482
8481
  requestid: "4daba280-4b41-40a5-94bc-75b2ae38e8db",
8483
8482
  filter: {
8484
8483
  key: "".concat(id),
@@ -8492,7 +8491,7 @@ var queries$o = {
8492
8491
  var search = arguments.length > 2 ? arguments[2] : undefined;
8493
8492
  var grcid = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : "";
8494
8493
  return {
8495
- appcode: dbName$1,
8494
+ appcode: dbName,
8496
8495
  requestid: "b1b6a289-71c1-449a-be57-c6b7cddff699",
8497
8496
  filter: _objectSpread2(_objectSpread2({
8498
8497
  search: "".concat(search)
@@ -8506,7 +8505,7 @@ var queries$o = {
8506
8505
  },
8507
8506
  status_update_practitioner: function status_update_practitioner(data) {
8508
8507
  return [{
8509
- appcode: dbName$1,
8508
+ appcode: dbName,
8510
8509
  collection: "Practitioner",
8511
8510
  filter: {
8512
8511
  _key: data._key
@@ -8521,7 +8520,7 @@ var queries$o = {
8521
8520
  },
8522
8521
  get_entity_by_id: function get_entity_by_id(id) {
8523
8522
  return {
8524
- appcode: dbName$1,
8523
+ appcode: dbName,
8525
8524
  requestid: "3265e287-5a0e-482d-a2e9-d6ee96e83c9a",
8526
8525
  filter: {
8527
8526
  activestatus: true,
@@ -8896,7 +8895,7 @@ var query_ids = {
8896
8895
  end = _ref.end,
8897
8896
  id = _ref.id;
8898
8897
  return {
8899
- "appcode": dbName$1,
8898
+ "appcode": dbName,
8900
8899
  "filter": {
8901
8900
  "start": start,
8902
8901
  "end": end,
@@ -8989,7 +8988,7 @@ var GMTYPE = {
8989
8988
 
8990
8989
  var codingMasterFilter = function codingMasterFilter(type) {
8991
8990
  return {
8992
- appcode: dbName$1,
8991
+ appcode: dbName,
8993
8992
  requestid: "95931016-caf1-413c-8bf5-96f05c5709fb",
8994
8993
  filter: {
8995
8994
  type: type,
@@ -9004,7 +9003,7 @@ var getCodingMasterQuery = function getCodingMasterQuery() {
9004
9003
  var getMasterQuery = function getMasterQuery() {
9005
9004
  return {
9006
9005
  entity_name: JSON.stringify({
9007
- appcode: dbName$1,
9006
+ appcode: dbName,
9008
9007
  requestid: "9f065c19-10c9-41e1-b925-53458964974f",
9009
9008
  filter: {
9010
9009
  activestatus: true,
@@ -9014,7 +9013,7 @@ var getMasterQuery = function getMasterQuery() {
9014
9013
  }
9015
9014
  }),
9016
9015
  location: JSON.stringify({
9017
- appcode: dbName$1,
9016
+ appcode: dbName,
9018
9017
  requestid: "c27d71be-6c29-4024-aab3-1dd0a0a88c32",
9019
9018
  filter: {
9020
9019
  activestatus: true,
@@ -9025,7 +9024,7 @@ var getMasterQuery = function getMasterQuery() {
9025
9024
  }
9026
9025
  }),
9027
9026
  nationality: JSON.stringify({
9028
- appcode: dbName$1,
9027
+ appcode: dbName,
9029
9028
  requestid: "d3659637-f0aa-4e0d-86d6-61fd445f7dd5",
9030
9029
  filter: {
9031
9030
  display: "country",
@@ -9035,7 +9034,7 @@ var getMasterQuery = function getMasterQuery() {
9035
9034
  }
9036
9035
  }),
9037
9036
  country_code: JSON.stringify({
9038
- appcode: dbName$1,
9037
+ appcode: dbName,
9039
9038
  requestid: "d3659637-f0aa-4e0d-86d6-61fd445f7dd5",
9040
9039
  filter: {
9041
9040
  display: "country",
@@ -9048,7 +9047,7 @@ var getMasterQuery = function getMasterQuery() {
9048
9047
  };
9049
9048
  var geoQuery = function geoQuery(display, geogLevelCode) {
9050
9049
  return {
9051
- appcode: dbName$1,
9050
+ appcode: dbName,
9052
9051
  requestid: query_ids.geoHierarchicalRead,
9053
9052
  filter: _objectSpread2({
9054
9053
  activestatus: true,
@@ -9061,7 +9060,7 @@ var geoQuery = function geoQuery(display, geogLevelCode) {
9061
9060
  var masterqueries = {
9062
9061
  country: function country() {
9063
9062
  return {
9064
- appcode: dbName$1,
9063
+ appcode: dbName,
9065
9064
  requestid: "2daa7e4a-bff4-4d1c-a5f9-d0fa6c82bd4a",
9066
9065
  filter: {
9067
9066
  code: "GE002",
@@ -9896,7 +9895,7 @@ var generateJson$c = function generateJson(data) {
9896
9895
  };
9897
9896
  }
9898
9897
  return [_objectSpread2(_objectSpread2({
9899
- appcode: dbName$1
9898
+ appcode: dbName
9900
9899
  }, filter), {}, {
9901
9900
  collection: "AgeRanges",
9902
9901
  is_metadata: true,
@@ -9932,7 +9931,7 @@ var generateAgeRangeStatus = function generateAgeRangeStatus(data) {
9932
9931
  var editId = data.editId,
9933
9932
  status = data.status;
9934
9933
  return [{
9935
- appcode: dbName$1,
9934
+ appcode: dbName,
9936
9935
  collection: "AgeRanges",
9937
9936
  filter: {
9938
9937
  _id: editId
@@ -9947,7 +9946,7 @@ var generateAgeRangeStatus = function generateAgeRangeStatus(data) {
9947
9946
  var query$c = {
9948
9947
  unitUom: function unitUom() {
9949
9948
  return {
9950
- appcode: dbName$1,
9949
+ appcode: dbName,
9951
9950
  requestid: query_ids.getCodingmasterByType,
9952
9951
  filter: {
9953
9952
  type: 'VITALSUOM',
@@ -9959,7 +9958,7 @@ var query$c = {
9959
9958
  },
9960
9959
  getAgeRange: function getAgeRange(page, perPage, sort, direction, search) {
9961
9960
  return {
9962
- appcode: dbName$1,
9961
+ appcode: dbName,
9963
9962
  requestid: query_ids.getAgeRange,
9964
9963
  filter: {
9965
9964
  sort: getAgeRangeSort(sort),
@@ -10155,7 +10154,7 @@ var ageRangeMasterSlice$1 = ageRangeMasterSlice.reducer;
10155
10154
  var query$b = {
10156
10155
  getList: function getList(page, perPage, search) {
10157
10156
  return {
10158
- appcode: dbName$1,
10157
+ appcode: dbName,
10159
10158
  filter: {
10160
10159
  page: page,
10161
10160
  perPage: perPage,
@@ -10176,7 +10175,7 @@ var generateJson$b = function generateJson(data) {
10176
10175
  };
10177
10176
  }
10178
10177
  return [_objectSpread2(_objectSpread2({
10179
- "appcode": dbName$1
10178
+ "appcode": dbName
10180
10179
  }, filter), {}, {
10181
10180
  "metadataId": metaDataId$1,
10182
10181
  "metadata_dbname": metaDatadbName$1,
@@ -10308,7 +10307,7 @@ var UPDATE_MEASURE_CODE_STATUS = createAsyncThunk("ageRangeMasterApiSlice/update
10308
10307
  _context3.p = 1;
10309
10308
  editId = payload.editId, status = payload.status;
10310
10309
  queriesjson = [{
10311
- "appcode": dbName$1,
10310
+ "appcode": dbName,
10312
10311
  "collection": "VitalsMeasureCodes",
10313
10312
  "entity": "VitalsMeasureCodes",
10314
10313
  "filter": "VitalsMeasureCodes._id==\"".concat(editId, "\""),
@@ -10382,7 +10381,7 @@ var query$a = {
10382
10381
  },
10383
10382
  entityType: function entityType() {
10384
10383
  return {
10385
- appcode: dbName$1,
10384
+ appcode: _dbName,
10386
10385
  filter: {
10387
10386
  type: ["ORGTYPE"],
10388
10387
  tenantid: "",
@@ -10394,7 +10393,7 @@ var query$a = {
10394
10393
  },
10395
10394
  gender: function gender() {
10396
10395
  return {
10397
- appcode: dbName$1,
10396
+ appcode: _dbName,
10398
10397
  filter: {
10399
10398
  type: ["GENDER"],
10400
10399
  tenantid: "",
@@ -10415,7 +10414,7 @@ var query$a = {
10415
10414
  },
10416
10415
  specialityCode: function specialityCode() {
10417
10416
  return {
10418
- appcode: dbName$1,
10417
+ appcode: _dbName,
10419
10418
  filter: {
10420
10419
  type: ["SPECIALTY"],
10421
10420
  tenantid: "",
@@ -10428,7 +10427,7 @@ var query$a = {
10428
10427
  diagnosis: "{\n \"appcode\": \"".concat(_dbName, "\",\n \"filter\": {\n \"activestatus\": true\n }\n }"),
10429
10428
  ageRanges: function ageRanges() {
10430
10429
  return {
10431
- appcode: dbName$1,
10430
+ appcode: _dbName,
10432
10431
  requestid: query_ids["ageRanges"]
10433
10432
  };
10434
10433
  },
@@ -10438,7 +10437,7 @@ var query$a = {
10438
10437
  var idx = str.lastIndexOf("/");
10439
10438
  var key = idx !== -1 ? str.slice(idx + 1) : str;
10440
10439
  return {
10441
- appcode: dbName$1,
10440
+ appcode: _dbName,
10442
10441
  filter: {
10443
10442
  _id: key || ageRangeId
10444
10443
  },
@@ -10447,7 +10446,7 @@ var query$a = {
10447
10446
  },
10448
10447
  VitalApplicableRead: function VitalApplicableRead(page, perPage, search) {
10449
10448
  return {
10450
- appcode: dbName$1,
10449
+ appcode: _dbName,
10451
10450
  filter: {
10452
10451
  page: page,
10453
10452
  perPage: perPage,
@@ -10461,7 +10460,7 @@ var query$a = {
10461
10460
  var idx = idStr.lastIndexOf("/");
10462
10461
  var key = idx !== -1 ? idStr.slice(idx + 1) : idStr;
10463
10462
  return {
10464
- appcode: dbName$1,
10463
+ appcode: _dbName,
10465
10464
  filter: {
10466
10465
  _id: key || id
10467
10466
  },
@@ -10503,7 +10502,7 @@ var generateSaveJSON$1 = function generateSaveJSON(data) {
10503
10502
  };
10504
10503
  }
10505
10504
  return [_objectSpread2(_objectSpread2({
10506
- appcode: dbName$1,
10505
+ appcode: dbName,
10507
10506
  collection: "VitalsApplbyPatAtrrib",
10508
10507
  entity: "VitalsApplbyPatAtrrib"
10509
10508
  }, filter), {}, {
@@ -10640,7 +10639,7 @@ var GetDiagnosis = function GetDiagnosis(diag, state, diagDetails) {
10640
10639
  //for status update
10641
10640
  var generateApplicableUpdateJSON = function generateApplicableUpdateJSON(editID, Status) {
10642
10641
  return [{
10643
- appcode: dbName$1,
10642
+ appcode: dbName,
10644
10643
  collection: "VitalsApplbyPatAtrrib",
10645
10644
  entity: "VitalsApplbyPatAtrrib",
10646
10645
  filter: {
@@ -11462,7 +11461,7 @@ var SPECIALITY_CODE_ORG_ID = createAsyncThunk("vitalApplicableApiSlice/specialit
11462
11461
  _ref29 = _args12.length > 1 ? _args12[1] : undefined, rejectWithValue = _ref29.rejectWithValue;
11463
11462
  _context12.p = 1;
11464
11463
  specialtyQuery = JSON.stringify({
11465
- appcode: ((_query$ageRanges = query$a.ageRanges()) === null || _query$ageRanges === void 0 ? void 0 : _query$ageRanges.appcode) || dbName$1,
11464
+ appcode: ((_query$ageRanges = query$a.ageRanges()) === null || _query$ageRanges === void 0 ? void 0 : _query$ageRanges.appcode) || dbName,
11466
11465
  filter: {
11467
11466
  Type: "SPECIALTY",
11468
11467
  activestatus: true
@@ -11622,7 +11621,7 @@ var vitalsApplicableSlice$1 = vitalsApplicableSlice.reducer;
11622
11621
  var query$9 = {
11623
11622
  gender: function gender() {
11624
11623
  return {
11625
- appcode: dbName$1,
11624
+ appcode: _dbName,
11626
11625
  filter: {
11627
11626
  type: ["GENDER"],
11628
11627
  tenantid: "",
@@ -11635,7 +11634,7 @@ var query$9 = {
11635
11634
  unitAllowed: "{\n \"appcode\": \"".concat(_dbName, "\",\n \"filter\": {\n \"activestatus\": true,\n \"status\": true\n }\n }"),
11636
11635
  referenceUnitAllowed: function referenceUnitAllowed() {
11637
11636
  return {
11638
- appcode: dbName$1,
11637
+ appcode: _dbName,
11639
11638
  filter: {
11640
11639
  type: ["VITALSUOM"],
11641
11640
  tenantid: "",
@@ -11647,7 +11646,7 @@ var query$9 = {
11647
11646
  },
11648
11647
  referenceCodeableConcepts: function referenceCodeableConcepts() {
11649
11648
  return {
11650
- appcode: dbName$1,
11649
+ appcode: _dbName,
11651
11650
  filter: {
11652
11651
  type: ["VITALSUOM"],
11653
11652
  tenantid: "",
@@ -11659,7 +11658,7 @@ var query$9 = {
11659
11658
  },
11660
11659
  ageRanges: function ageRanges() {
11661
11660
  return {
11662
- appcode: dbName$1,
11661
+ appcode: _dbName,
11663
11662
  requestid: query_ids["ageRanges"]
11664
11663
  };
11665
11664
  },
@@ -11668,7 +11667,7 @@ var query$9 = {
11668
11667
  var idx = str.lastIndexOf("/");
11669
11668
  var key = idx !== -1 ? str.slice(idx + 1) : str;
11670
11669
  return {
11671
- appcode: dbName$1,
11670
+ appcode: _dbName,
11672
11671
  filter: {
11673
11672
  _id: key || ageRangeId
11674
11673
  },
@@ -11687,7 +11686,7 @@ var query$9 = {
11687
11686
  },
11688
11687
  VitalReadSearch: function VitalReadSearch(page, perPage, search) {
11689
11688
  return {
11690
- appcode: dbName$1,
11689
+ appcode: _dbName,
11691
11690
  filter: {
11692
11691
  searchval: search,
11693
11692
  page: page,
@@ -11698,7 +11697,7 @@ var query$9 = {
11698
11697
  },
11699
11698
  VitalRead: function VitalRead(page, perPage) {
11700
11699
  return {
11701
- appcode: dbName$1,
11700
+ appcode: _dbName,
11702
11701
  filter: {
11703
11702
  page: page,
11704
11703
  perPage: perPage
@@ -11708,7 +11707,7 @@ var query$9 = {
11708
11707
  },
11709
11708
  editVitalmaster: function editVitalmaster(_id) {
11710
11709
  return {
11711
- appcode: dbName$1,
11710
+ appcode: _dbName,
11712
11711
  filter: {
11713
11712
  _id: _id
11714
11713
  },
@@ -11717,7 +11716,7 @@ var query$9 = {
11717
11716
  },
11718
11717
  deleteVitalMaster: function deleteVitalMaster(id) {
11719
11718
  return {
11720
- appcode: dbName$1,
11719
+ appcode: _dbName,
11721
11720
  entity: "VitalsCodes",
11722
11721
  filter: "VitalsCodes._id=='".concat(id, "'")
11723
11722
  };
@@ -11778,7 +11777,7 @@ var generateJSON$1 = function generateJSON(data) {
11778
11777
  };
11779
11778
  }
11780
11779
  return [_objectSpread2(_objectSpread2({
11781
- appcode: dbName$1,
11780
+ appcode: dbName,
11782
11781
  collection: "VitalsCodes"
11783
11782
  }, filter), {}, {
11784
11783
  is_metadata: true,
@@ -11849,7 +11848,7 @@ var generateResJson$1 = function generateResJson(data) {
11849
11848
  //for status update
11850
11849
  var generateUpdateJSON$1 = function generateUpdateJSON(editID, Status) {
11851
11850
  return [{
11852
- appcode: dbName$1,
11851
+ appcode: dbName,
11853
11852
  entity: "VitalsCodes",
11854
11853
  collection: "vitalscodes",
11855
11854
  filter: {
@@ -12427,7 +12426,7 @@ var EDIT_VITAL_MASTER = createAsyncThunk("vitalsMasterSectionApiSlice/editvitalM
12427
12426
  rejectWithValue = _ref21.rejectWithValue, getState = _ref21.getState;
12428
12427
  _context1.p = 1;
12429
12428
  body = JSON.stringify({
12430
- appcode: dbName$1,
12429
+ appcode: dbName,
12431
12430
  filter: {
12432
12431
  _id: payload === null || payload === void 0 ? void 0 : payload.id
12433
12432
  },
@@ -12509,7 +12508,7 @@ var GET_GENERAL_DATA_VITAL_TYPE = createAsyncThunk("vitalsMasterSectionApiSlice/
12509
12508
  _context10.p = 1;
12510
12509
  // const { type = [], tenantid ="", facilityid="",lang="", allData = false } = payload;
12511
12510
  body = {
12512
- "appcode": dbName$1,
12511
+ "appcode": dbName,
12513
12512
  "filter": {
12514
12513
  "type": [payload],
12515
12514
  "tenantid": "",
@@ -12562,7 +12561,7 @@ var GET_GENERAL_DATA_LOAD_TYPE = createAsyncThunk("vitalsMasterSectionApiSlice/g
12562
12561
  _context11.p = 1;
12563
12562
  // const { type = [], tenantid ="", facilityid="",lang="", allData = false } = payload;
12564
12563
  body = {
12565
- "appcode": dbName$1,
12564
+ "appcode": dbName,
12566
12565
  "filter": {
12567
12566
  "type": [payload],
12568
12567
  "tenantid": "",
@@ -12615,7 +12614,7 @@ var GET_GENERAL_DATA_CONTROL_TYPE = createAsyncThunk("vitalsMasterSectionApiSlic
12615
12614
  _context12.p = 1;
12616
12615
  // const { type = [], tenantid ="", facilityid="",lang="", allData = false } = payload;
12617
12616
  body = {
12618
- "appcode": dbName$1,
12617
+ "appcode": dbName,
12619
12618
  "filter": {
12620
12619
  "type": [payload],
12621
12620
  "tenantid": "",
@@ -12773,7 +12772,7 @@ var vitalsMasterSectionActions = {
12773
12772
  var vitalsMasterSectionSlice$1 = vitalsMasterSectionSlice.reducer;
12774
12773
 
12775
12774
  var getActiveDbName$1 = function getActiveDbName() {
12776
- return dbName$1 || _dbName$1 || getBinderEnv("REACT_APP_DATABASE_NAME");
12775
+ return dbName || _dbName || getBinderEnv("REACT_APP_DATABASE_NAME");
12777
12776
  };
12778
12777
  var getActiveMetadataDbName$1 = function getActiveMetadataDbName() {
12779
12778
  return metaDatadbName$1 || getBinderEnv("REACT_APP_METADATA_DB_NAME");
@@ -13033,7 +13032,7 @@ var generateJSON = function generateJSON(data, _key) {
13033
13032
  }
13034
13033
  });
13035
13034
  var json = [_objectSpread2(_objectSpread2({
13036
- appcode: dbName$1,
13035
+ appcode: dbName,
13037
13036
  collection: "LocationMaster",
13038
13037
  is_metadata: true,
13039
13038
  metadataId: metaDataId$1,
@@ -15877,7 +15876,7 @@ var masterQuery$7 = {
15877
15876
  // },
15878
15877
  locationMasterEntityType: function locationMasterEntityType() {
15879
15878
  return {
15880
- appcode: _dbName$1,
15879
+ appcode: _dbName,
15881
15880
  requestid: "b283129b-9841-419b-bdfc-de5105ebbad7",
15882
15881
  filter: {
15883
15882
  type: "ORGTYPE",
@@ -15900,7 +15899,7 @@ var masterQuery$7 = {
15900
15899
 
15901
15900
  locationMasterEntityName: function locationMasterEntityName(type) {
15902
15901
  return {
15903
- appcode: _dbName$1,
15902
+ appcode: _dbName,
15904
15903
  requestid: "3265e287-5a0e-482d-a2e9-d6ee96e83c9a",
15905
15904
  filter: {
15906
15905
  orgType: type,
@@ -15922,7 +15921,7 @@ var masterQuery$7 = {
15922
15921
 
15923
15922
  locationMasterLocationType: function locationMasterLocationType() {
15924
15923
  return {
15925
- appcode: _dbName$1,
15924
+ appcode: _dbName,
15926
15925
  requestid: "b283129b-9841-419b-bdfc-de5105ebbad7",
15927
15926
  filter: {
15928
15927
  type: "LOCATIONTYPE",
@@ -15946,7 +15945,7 @@ var masterQuery$7 = {
15946
15945
 
15947
15946
  locationMasterOperationalStatus: function locationMasterOperationalStatus() {
15948
15947
  return {
15949
- appcode: _dbName$1,
15948
+ appcode: _dbName,
15950
15949
  requestid: "b283129b-9841-419b-bdfc-de5105ebbad7",
15951
15950
  filter: {
15952
15951
  type: "OPERATIONSTATUS",
@@ -15969,7 +15968,7 @@ var masterQuery$7 = {
15969
15968
 
15970
15969
  locationMasterParentLocationIdDescription: function locationMasterParentLocationIdDescription() {
15971
15970
  return {
15972
- appcode: _dbName$1,
15971
+ appcode: _dbName,
15973
15972
  requestid: "ceb2a6c1-864f-4ea8-9308-6135d9355410",
15974
15973
  filter: {
15975
15974
  activestatus: true,
@@ -16001,7 +16000,7 @@ var masterQuery$7 = {
16001
16000
 
16002
16001
  locationMasterLocationRoleType: function locationMasterLocationRoleType() {
16003
16002
  return {
16004
- appcode: _dbName$1,
16003
+ appcode: _dbName,
16005
16004
  requestid: "a277b5c8-e89b-4a7e-acd7-8548991e936b",
16006
16005
  filter: {
16007
16006
  TYPE: "LOCATIONROLE",
@@ -16020,7 +16019,7 @@ var masterQuery$7 = {
16020
16019
 
16021
16020
  locationMasterSpeciality: function locationMasterSpeciality(id) {
16022
16021
  return {
16023
- appcode: _dbName$1,
16022
+ appcode: _dbName,
16024
16023
  requestid: "15115591-3cf9-4b18-95ed-1d8e8ff0ad39",
16025
16024
  filter: {
16026
16025
  id: id,
@@ -16042,7 +16041,7 @@ var masterQuery$7 = {
16042
16041
 
16043
16042
  locationMasterContactMode: function locationMasterContactMode() {
16044
16043
  return {
16045
- appcode: _dbName$1,
16044
+ appcode: _dbName,
16046
16045
  requestid: "b283129b-9841-419b-bdfc-de5105ebbad7",
16047
16046
  filter: {
16048
16047
  type: "CONTACTSYSTEM",
@@ -16066,7 +16065,7 @@ var masterQuery$7 = {
16066
16065
 
16067
16066
  locationMasterISD: function locationMasterISD() {
16068
16067
  return {
16069
- appcode: _dbName$1,
16068
+ appcode: _dbName,
16070
16069
  requestid: "d3659637-f0aa-4e0d-86d6-61fd445f7dd5",
16071
16070
  filter: {
16072
16071
  display: "country",
@@ -16090,7 +16089,7 @@ var masterQuery$7 = {
16090
16089
 
16091
16090
  locationMasterUse: function locationMasterUse() {
16092
16091
  return {
16093
- appcode: _dbName$1,
16092
+ appcode: _dbName,
16094
16093
  requestid: "b283129b-9841-419b-bdfc-de5105ebbad7",
16095
16094
  filter: {
16096
16095
  type: "ADDRESSUSE",
@@ -16114,7 +16113,7 @@ var masterQuery$7 = {
16114
16113
 
16115
16114
  locationMasterPriority: function locationMasterPriority() {
16116
16115
  return {
16117
- appcode: _dbName$1,
16116
+ appcode: _dbName,
16118
16117
  requestid: "b283129b-9841-419b-bdfc-de5105ebbad7",
16119
16118
  filter: {
16120
16119
  type: "RANK",
@@ -16126,7 +16125,7 @@ var masterQuery$7 = {
16126
16125
  },
16127
16126
  speciality_data: function speciality_data() {
16128
16127
  return {
16129
- appcode: _dbName$1,
16128
+ appcode: _dbName,
16130
16129
  requestid: "b283129b-9841-419b-bdfc-de5105ebbad7",
16131
16130
  filter: {
16132
16131
  type: "SPECIALTY",
@@ -16138,14 +16137,14 @@ var masterQuery$7 = {
16138
16137
  },
16139
16138
  locationMasterForms: function locationMasterForms() {
16140
16139
  return {
16141
- appcode: _dbName$1,
16140
+ appcode: _dbName,
16142
16141
  filter: {},
16143
16142
  requestid: query_ids.locationmasterFormId
16144
16143
  };
16145
16144
  },
16146
16145
  locationMasterTypeOfCare: function locationMasterTypeOfCare() {
16147
16146
  return {
16148
- appcode: _dbName$1,
16147
+ appcode: _dbName,
16149
16148
  requestid: "b283129b-9841-419b-bdfc-de5105ebbad7",
16150
16149
  filter: {
16151
16150
  type: "TYPEOFCARE",
@@ -17237,7 +17236,7 @@ var queries$m = {
17237
17236
  var perPage = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 10;
17238
17237
  var search = arguments.length > 2 ? arguments[2] : undefined;
17239
17238
  return {
17240
- appcode: dbName$1,
17239
+ appcode: dbName,
17241
17240
  requestid: "d61e3890-a7d5-4564-8840-05822368940f",
17242
17241
  filter: {
17243
17242
  search: "".concat(search),
@@ -17248,7 +17247,7 @@ var queries$m = {
17248
17247
  },
17249
17248
  OrderCategory: function OrderCategory() {
17250
17249
  return {
17251
- appcode: dbName$1,
17250
+ appcode: dbName,
17252
17251
  filter: {
17253
17252
  activestatus: true,
17254
17253
  status: true
@@ -17258,7 +17257,7 @@ var queries$m = {
17258
17257
  Insert: function Insert(data) {
17259
17258
  var _data$aliasMapping;
17260
17259
  return [{
17261
- appcode: dbName$1,
17260
+ appcode: dbName,
17262
17261
  collection: "OrderType",
17263
17262
  is_metadata: true,
17264
17263
  metadataId: metaDataId$1,
@@ -17287,14 +17286,14 @@ var queries$m = {
17287
17286
  },
17288
17287
  SoftDelete: function SoftDelete() {
17289
17288
  return {
17290
- appcode: dbName$1,
17289
+ appcode: dbName,
17291
17290
  entity: "OrderType",
17292
17291
  filter: "OrderType._key == '10018'"
17293
17292
  };
17294
17293
  },
17295
17294
  StatusUpdate: function StatusUpdate(key, getstatus) {
17296
17295
  return [{
17297
- appcode: dbName$1,
17296
+ appcode: dbName,
17298
17297
  collection: "OrderType",
17299
17298
  filter: {
17300
17299
  _key: key
@@ -17310,7 +17309,7 @@ var queries$m = {
17310
17309
  UpdateORModify: function UpdateORModify(data) {
17311
17310
  var _data$aliasMapping2;
17312
17311
  return [{
17313
- appcode: dbName$1,
17312
+ appcode: dbName,
17314
17313
  collection: "OrderType",
17315
17314
  is_metadata: true,
17316
17315
  filter: {
@@ -17601,7 +17600,7 @@ var queries$l = {
17601
17600
  var isSingle = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;
17602
17601
  var key = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : "";
17603
17602
  return {
17604
- appcode: dbName$1,
17603
+ appcode: dbName,
17605
17604
  requestid: "9d2753a8-4c3e-4b21-817a-5b4d1101e4a1",
17606
17605
  request: {
17607
17606
  page: page,
@@ -17614,7 +17613,7 @@ var queries$l = {
17614
17613
  },
17615
17614
  Insert: function Insert(data) {
17616
17615
  return [{
17617
- appcode: dbName$1,
17616
+ appcode: dbName,
17618
17617
  collection: "CodeableConceptMaster",
17619
17618
  is_metadata: true,
17620
17619
  // metadataId: "04ecb73d-f048-44ce-8563-c9be015812dd",
@@ -17640,7 +17639,7 @@ var queries$l = {
17640
17639
  },
17641
17640
  StatusUpdate: function StatusUpdate(key, getstatus) {
17642
17641
  return [{
17643
- appcode: dbName$1,
17642
+ appcode: dbName,
17644
17643
  collection: "CodeableConceptMaster",
17645
17644
  filter: {
17646
17645
  _key: key
@@ -17684,7 +17683,7 @@ var queries$l = {
17684
17683
  // },
17685
17684
  // ];
17686
17685
  return [{
17687
- appcode: dbName$1,
17686
+ appcode: dbName,
17688
17687
  collection: "CodingMaster",
17689
17688
  is_metadata: true,
17690
17689
  // metadataId: "04ecb73d-f048-44ce-8563-c9be015812dd",
@@ -17931,7 +17930,7 @@ var queries$k = {
17931
17930
  var perPage = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 10;
17932
17931
  var search = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : "";
17933
17932
  return {
17934
- appcode: dbName$1,
17933
+ appcode: dbName,
17935
17934
  filter: {
17936
17935
  search: search || "",
17937
17936
  activestatus: true
@@ -17945,7 +17944,7 @@ var queries$k = {
17945
17944
  orderCategoryInsert: function orderCategoryInsert(data) {
17946
17945
  var _data$status, _data$id;
17947
17946
  return [{
17948
- appcode: dbName$1,
17947
+ appcode: dbName,
17949
17948
  collection: "OrderCategory",
17950
17949
  is_metadata: true,
17951
17950
  metadataId: metaDataId$1,
@@ -17961,7 +17960,7 @@ var queries$k = {
17961
17960
  },
17962
17961
  orderCategoryStatusUpdate: function orderCategoryStatusUpdate(key, status) {
17963
17962
  return [{
17964
- appcode: dbName$1,
17963
+ appcode: dbName,
17965
17964
  collection: "OrderCategory",
17966
17965
  is_metadata: true,
17967
17966
  metadataId: metaDataId$1,
@@ -17976,7 +17975,7 @@ var queries$k = {
17976
17975
  },
17977
17976
  orderCategoryModify: function orderCategoryModify(data) {
17978
17977
  return [{
17979
- appcode: dbName$1,
17978
+ appcode: dbName,
17980
17979
  collection: "OrderCategory",
17981
17980
  is_metadata: true,
17982
17981
  metadataId: metaDataId$1,
@@ -18005,7 +18004,7 @@ var queries$k = {
18005
18004
  _ref$search = _ref.search,
18006
18005
  search = _ref$search === void 0 ? "" : _ref$search;
18007
18006
  return {
18008
- appcode: dbName$1,
18007
+ appcode: dbName,
18009
18008
  requestid: "2a5e9b7d-3f8c-4a12-8e6b-0c9d7a5b3f2e",
18010
18009
  filter: {
18011
18010
  isSingle: isSingle,
@@ -18034,7 +18033,7 @@ var queries$k = {
18034
18033
  _ref2$key = _ref2.key,
18035
18034
  key = _ref2$key === void 0 ? "" : _ref2$key;
18036
18035
  var newData = [{
18037
- appcode: dbName$1,
18036
+ appcode: dbName,
18038
18037
  collection: "CodeableConceptMaster",
18039
18038
  is_metadata: true,
18040
18039
  metadataId: metaDataId$1,
@@ -18058,7 +18057,7 @@ var queries$k = {
18058
18057
  }];
18059
18058
  if (isUpdate) {
18060
18059
  newData = [{
18061
- appcode: dbName$1,
18060
+ appcode: dbName,
18062
18061
  collection: "CodingMaster",
18063
18062
  is_metadata: true,
18064
18063
  filter: {
@@ -18082,7 +18081,7 @@ var queries$k = {
18082
18081
  },
18083
18082
  orderModeStatusUpdate: function orderModeStatusUpdate(key, status) {
18084
18083
  return [{
18085
- appcode: dbName$1,
18084
+ appcode: dbName,
18086
18085
  collection: "CodeableConceptMaster",
18087
18086
  is_metadata: true,
18088
18087
  metadataId: metaDataId$1,
@@ -18578,7 +18577,7 @@ var orderMasterSlice$1 = orderMasterSlice.reducer;
18578
18577
  var queries$j = {
18579
18578
  status_update_practitioner: function status_update_practitioner(data) {
18580
18579
  return [{
18581
- appcode: dbName$1,
18580
+ appcode: dbName,
18582
18581
  entity: "CodeableConceptMaster",
18583
18582
  filter: {
18584
18583
  _key: data._key
@@ -18593,7 +18592,7 @@ var queries$j = {
18593
18592
  },
18594
18593
  status_update_holiday: function status_update_holiday(data) {
18595
18594
  return [{
18596
- appcode: dbName$1,
18595
+ appcode: dbName,
18597
18596
  entity: "Holiday",
18598
18597
  filter: {
18599
18598
  _key: data._key
@@ -18609,7 +18608,7 @@ var queries$j = {
18609
18608
  entity_read: function entity_read(data) {
18610
18609
  if (data) {
18611
18610
  return {
18612
- appcode: dbName$1,
18611
+ appcode: dbName,
18613
18612
  requestid: "0b8a7da6-736f-4dc1-88da-672a887fd72b",
18614
18613
  filter: {
18615
18614
  holidayid: dbType == "postgresadapter" ? "10064" : "Holiday/10064",
@@ -18619,7 +18618,7 @@ var queries$j = {
18619
18618
  };
18620
18619
  } else {
18621
18620
  return {
18622
- appcode: dbName$1,
18621
+ appcode: dbName,
18623
18622
  requestid: "0b8a7da6-736f-4dc1-88da-672a887fd72b",
18624
18623
  filter: {
18625
18624
  holidayid: dbType == "postgresadapter" ? "10064" : "Holiday/10064",
@@ -18631,7 +18630,7 @@ var queries$j = {
18631
18630
  },
18632
18631
  holiday_status_reason: function holiday_status_reason(data) {
18633
18632
  return {
18634
- appcode: dbName$1,
18633
+ appcode: dbName,
18635
18634
  filter: {
18636
18635
  Type: "HOLIDAYREASON",
18637
18636
  activestatus: true,
@@ -18664,7 +18663,7 @@ var queries$j = {
18664
18663
  });
18665
18664
  }
18666
18665
  return [_objectSpread2(_objectSpread2({
18667
- appcode: dbName$1,
18666
+ appcode: dbName,
18668
18667
  entity: "Holiday",
18669
18668
  is_metadata: true
18670
18669
  }, filter), {}, {
@@ -18675,7 +18674,7 @@ var queries$j = {
18675
18674
  },
18676
18675
  holiday_single_read: function holiday_single_read(data) {
18677
18676
  return {
18678
- appcode: dbName$1,
18677
+ appcode: dbName,
18679
18678
  filter: {
18680
18679
  holidayid: "".concat(data),
18681
18680
  calyear: 2022,
@@ -18685,7 +18684,7 @@ var queries$j = {
18685
18684
  },
18686
18685
  holiday_single_read_selected: function holiday_single_read_selected(data) {
18687
18686
  return {
18688
- appcode: dbName$1,
18687
+ appcode: dbName,
18689
18688
  filter: {
18690
18689
  holidayid: "".concat(data),
18691
18690
  activestatus: true
@@ -18694,7 +18693,7 @@ var queries$j = {
18694
18693
  },
18695
18694
  holiday_read: function holiday_read(data) {
18696
18695
  return {
18697
- appcode: dbName$1,
18696
+ appcode: dbName,
18698
18697
  filter: {
18699
18698
  calyear: (data === null || data === void 0 ? void 0 : data.CalYear) || 2027,
18700
18699
  search: (data === null || data === void 0 ? void 0 : data.search) || "",
@@ -18707,12 +18706,12 @@ var queries$j = {
18707
18706
  };
18708
18707
  },
18709
18708
  holiday_master: {
18710
- holiday_type: "{\n \"appcode\": \"".concat(_dbName$1, "\",\n \"requestid\": \"49d3a86e-226d-4d76-9160-0e93e56c9dea\",\n \"filter\": {\n \"type\": \"HOLIDAYTYPE\"\n } \n }"),
18711
- entity_name: "{\n \"appcode\":\"".concat(_dbName$1, "\",\n \"requestid\": \"79a77938-7200-48db-8f69-462c46ffd447\" \n }"),
18712
- entity_type: "{\n \"appcode\":\"".concat(_dbName$1, "\",\n \"requestid\": \"09335a68-08b0-48b2-ad47-58ffbb5fef33\",\n \"filter\": {\n \"type\": \"ORGTYPE\"\n }\n }")
18709
+ holiday_type: "{\n \"appcode\": \"".concat(_dbName, "\",\n \"requestid\": \"49d3a86e-226d-4d76-9160-0e93e56c9dea\",\n \"filter\": {\n \"type\": \"HOLIDAYTYPE\"\n } \n }"),
18710
+ entity_name: "{\n \"appcode\":\"".concat(_dbName, "\",\n \"requestid\": \"79a77938-7200-48db-8f69-462c46ffd447\" \n }"),
18711
+ entity_type: "{\n \"appcode\":\"".concat(_dbName, "\",\n \"requestid\": \"09335a68-08b0-48b2-ad47-58ffbb5fef33\",\n \"filter\": {\n \"type\": \"ORGTYPE\"\n }\n }")
18713
18712
  },
18714
18713
  appointment_type_read: function appointment_type_read(page, perPage, search) {
18715
- return "{\n \"appcode\": \"".concat(dbName$1, "\",\n \"filter\": {\n \"type\": \"APPTYPE\",\n \"search\": \"").concat(search || "", "\",\n \"status\": true,\n \"activestatus\": true\n },\n \"limit\": {\n \"offset\": ").concat(page, ",\n \"count\": ").concat(perPage, "\n }\n}");
18714
+ return "{\n \"appcode\": \"".concat(dbName, "\",\n \"filter\": {\n \"type\": \"APPTYPE\",\n \"search\": \"").concat(search || "", "\",\n \"status\": true,\n \"activestatus\": true\n },\n \"limit\": {\n \"offset\": ").concat(page, ",\n \"count\": ").concat(perPage, "\n }\n}");
18716
18715
  },
18717
18716
  upsert: function upsert(data) {
18718
18717
  var filter = {};
@@ -18736,7 +18735,7 @@ var queries$j = {
18736
18735
  };
18737
18736
  }
18738
18737
  return [_objectSpread2(_objectSpread2({
18739
- appcode: dbName$1,
18738
+ appcode: dbName,
18740
18739
  entity: "CodeableConceptMaster",
18741
18740
  is_metadata: true,
18742
18741
  metadataId: metaDataId$1,
@@ -18941,7 +18940,7 @@ var GET_HOLIDAY_TYPE = createAsyncThunk("holidaySlice/holidayTypeqdm", /*#__PURE
18941
18940
  _ref2 = _args.length > 1 ? _args[1] : undefined, rejectWithValue = _ref2.rejectWithValue;
18942
18941
  _context.p = 1;
18943
18942
  body = {
18944
- "appcode": dbName$1,
18943
+ "appcode": dbName,
18945
18944
  "filter": {
18946
18945
  "type": [GMTYPE.HOLIDAY_TYPE],
18947
18946
  "tenantid": "",
@@ -18991,7 +18990,7 @@ var HOLIDAY_SINGLE_READ_QDM = createAsyncThunk("holidaySlice/holidaySinglereadqd
18991
18990
  _ref4 = _args2.length > 1 ? _args2[1] : undefined, rejectWithValue = _ref4.rejectWithValue;
18992
18991
  _context2.p = 1;
18993
18992
  body = {
18994
- "appcode": dbName$1,
18993
+ "appcode": dbName,
18995
18994
  "filter": {
18996
18995
  "holidayid": payload
18997
18996
  },
@@ -19030,7 +19029,7 @@ var HOLIDAY_ENTITY_MASTERS_QDM = createAsyncThunk("holidaySlice/entity_read_qdm"
19030
19029
  _ref6 = _args3.length > 1 ? _args3[1] : undefined, rejectWithValue = _ref6.rejectWithValue;
19031
19030
  _context3.p = 1;
19032
19031
  body = {
19033
- "appcode": dbName$1,
19032
+ "appcode": dbName,
19034
19033
  "filter": {
19035
19034
  "holidayid": payload ? payload : ""
19036
19035
  },
@@ -19071,7 +19070,7 @@ var HOLIDAY_SINGLE_READ_SELECTED_QDM = createAsyncThunk("holidaySlice/holidaySin
19071
19070
  _context4.p = 1;
19072
19071
  _id = payload; // const { holidayid ="" , allData = false } = _id;
19073
19072
  body = {
19074
- "appcode": dbName$1,
19073
+ "appcode": dbName,
19075
19074
  "filter": {
19076
19075
  "holidayid": _id
19077
19076
  },
@@ -19240,7 +19239,7 @@ var HOLIDAY_READ_QDM = createAsyncThunk("holidaySlice/holiday_qdm", /*#__PURE__*
19240
19239
  _context9.p = 1;
19241
19240
  _payload$CalYear = payload.CalYear, CalYear = _payload$CalYear === void 0 ? "" : _payload$CalYear, _payload$page = payload.page, page = _payload$page === void 0 ? "" : _payload$page, _payload$perPage = payload.perPage, perPage = _payload$perPage === void 0 ? "" : _payload$perPage, payload.allData;
19242
19241
  body = {
19243
- "appcode": dbName$1,
19242
+ "appcode": dbName,
19244
19243
  "filter": {
19245
19244
  "year": CalYear,
19246
19245
  "page": page,
@@ -19506,7 +19505,7 @@ var HOLIDAY_STATUS_REASON_QDM = createAsyncThunk("holidaySlice/holidayStatusReas
19506
19505
  _ref26 = _args13.length > 1 ? _args13[1] : undefined, rejectWithValue = _ref26.rejectWithValue;
19507
19506
  _context13.p = 1;
19508
19507
  body = {
19509
- "appcode": dbName$1,
19508
+ "appcode": dbName,
19510
19509
  "filter": {
19511
19510
  "type": [payload],
19512
19511
  "tenantid": "",
@@ -19562,7 +19561,7 @@ var HOLIDAY_STATUS_MASTER_QDM = createAsyncThunk("holidaySlice/holidayStatusMast
19562
19561
  _context14.p = 1;
19563
19562
  typeName = typeof payload === "string" && payload ? payload : GMTYPE.HOLODAY_STATUS;
19564
19563
  body = {
19565
- "appcode": dbName$1,
19564
+ "appcode": dbName,
19566
19565
  "filter": {
19567
19566
  "type": [typeName],
19568
19567
  "tenantid": "",
@@ -19617,7 +19616,7 @@ var GET_HOLIDAY_ALL_WEEKDAYS_QDM = createAsyncThunk("holidaySlice/holidayAllWeek
19617
19616
  _context15.p = 1;
19618
19617
  // const { type = [], tenantid ="", facilityid="",lang="", allData = false } = payload;
19619
19618
  body = {
19620
- "appcode": dbName$1,
19619
+ "appcode": dbName,
19621
19620
  "filter": {
19622
19621
  "type": [GMTYPE.HOLIDAY_WEEKDAYS],
19623
19622
  "tenantid": "",
@@ -19820,7 +19819,7 @@ var holidaySlice$1 = holidaySlice.reducer;
19820
19819
  var queries$i = {
19821
19820
  appointment_type_master: function appointment_type_master() {
19822
19821
  return {
19823
- appcode: dbName$1,
19822
+ appcode: dbName,
19824
19823
  filter: {
19825
19824
  type: "APPTYPE",
19826
19825
  activestatus: true
@@ -19829,7 +19828,7 @@ var queries$i = {
19829
19828
  },
19830
19829
  res_appointment_entity_name: function res_appointment_entity_name() {
19831
19830
  return {
19832
- appcode: dbName$1,
19831
+ appcode: dbName,
19833
19832
  filter: {
19834
19833
  activestatus: true
19835
19834
  }
@@ -19837,7 +19836,7 @@ var queries$i = {
19837
19836
  },
19838
19837
  res_appointment_entity_type: function res_appointment_entity_type() {
19839
19838
  return {
19840
- appcode: dbName$1,
19839
+ appcode: dbName,
19841
19840
  filter: {
19842
19841
  type: "ORGTYPE",
19843
19842
  activestatus: true
@@ -19849,7 +19848,7 @@ var queries$i = {
19849
19848
  var perpage = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 10;
19850
19849
  var search = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : "";
19851
19850
  return {
19852
- appcode: dbName$1,
19851
+ appcode: dbName,
19853
19852
  filter: {
19854
19853
  entityType: entityType,
19855
19854
  entityName: entityName,
@@ -19864,7 +19863,7 @@ var queries$i = {
19864
19863
  },
19865
19864
  resource_type_drop_down: function resource_type_drop_down() {
19866
19865
  return {
19867
- appcode: dbName$1,
19866
+ appcode: dbName,
19868
19867
  filter: {
19869
19868
  type: "RESOURCETYPE",
19870
19869
  activestatus: true
@@ -19873,7 +19872,7 @@ var queries$i = {
19873
19872
  },
19874
19873
  resource_role_drop_down_practitioner: function resource_role_drop_down_practitioner(role) {
19875
19874
  return {
19876
- appcode: dbName$1,
19875
+ appcode: dbName,
19877
19876
  filter: {
19878
19877
  type: role,
19879
19878
  activestatus: true
@@ -19882,7 +19881,7 @@ var queries$i = {
19882
19881
  },
19883
19882
  res_general_instruction: function res_general_instruction() {
19884
19883
  return {
19885
- appcode: dbName$1,
19884
+ appcode: dbName,
19886
19885
  filter: {
19887
19886
  activestatus: true
19888
19887
  }
@@ -19890,7 +19889,7 @@ var queries$i = {
19890
19889
  },
19891
19890
  res_special_instruction: function res_special_instruction() {
19892
19891
  return {
19893
- appcode: dbName$1,
19892
+ appcode: dbName,
19894
19893
  filter: {
19895
19894
  specialInstrYN: true,
19896
19895
  activestatus: true
@@ -19899,7 +19898,7 @@ var queries$i = {
19899
19898
  },
19900
19899
  res_criteria_instruction: function res_criteria_instruction() {
19901
19900
  return {
19902
- appcode: dbName$1,
19901
+ appcode: dbName,
19903
19902
  filter: {
19904
19903
  type: "HEALTHISSUES",
19905
19904
  activestatus: true
@@ -19908,7 +19907,7 @@ var queries$i = {
19908
19907
  },
19909
19908
  res_status_update: function res_status_update(id, checked) {
19910
19909
  return [{
19911
- db_name: dbName$1,
19910
+ db_name: dbName,
19912
19911
  entity: "ResourcebyApptType",
19913
19912
  is_metadata: true,
19914
19913
  metadataId: metaDataId$1,
@@ -19923,7 +19922,7 @@ var queries$i = {
19923
19922
  },
19924
19923
  res_read_line_list_doc: function res_read_line_list_doc(key) {
19925
19924
  return {
19926
- appcode: dbName$1,
19925
+ appcode: dbName,
19927
19926
  filter: {
19928
19927
  _key: "".concat(key),
19929
19928
  activestatus: true
@@ -19932,7 +19931,7 @@ var queries$i = {
19932
19931
  },
19933
19932
  res_patient_category_list: function res_patient_category_list() {
19934
19933
  return {
19935
- appcode: dbName$1,
19934
+ appcode: dbName,
19936
19935
  filter: {
19937
19936
  type: "PATIENTIMPORTANCETYPE",
19938
19937
  status: true,
@@ -19942,7 +19941,7 @@ var queries$i = {
19942
19941
  },
19943
19942
  res_resource_type_list_appointments: function res_resource_type_list_appointments() {
19944
19943
  return {
19945
- appcode: dbName$1,
19944
+ appcode: dbName,
19946
19945
  filter: {
19947
19946
  type: "RESOURCETYPE",
19948
19947
  status: true,
@@ -19952,7 +19951,7 @@ var queries$i = {
19952
19951
  },
19953
19952
  res_resource_role_list_appointments: function res_resource_role_list_appointments() {
19954
19953
  return {
19955
- appcode: dbName$1,
19954
+ appcode: dbName,
19956
19955
  filter: {
19957
19956
  type: "PRACTROLE",
19958
19957
  status: true,
@@ -19962,7 +19961,7 @@ var queries$i = {
19962
19961
  },
19963
19962
  res_resource_department_list_appointments: function res_resource_department_list_appointments() {
19964
19963
  return {
19965
- appcode: dbName$1,
19964
+ appcode: dbName,
19966
19965
  filter: {
19967
19966
  type: "DEPARTMENT",
19968
19967
  status: true,
@@ -19972,7 +19971,7 @@ var queries$i = {
19972
19971
  },
19973
19972
  res_resource_name_list_appointments: function res_resource_name_list_appointments() {
19974
19973
  return {
19975
- appcode: dbName$1,
19974
+ appcode: dbName,
19976
19975
  filter: {
19977
19976
  status: true,
19978
19977
  activestatus: true
@@ -19981,7 +19980,7 @@ var queries$i = {
19981
19980
  },
19982
19981
  res_special_instruction_list_appointment: function res_special_instruction_list_appointment() {
19983
19982
  return {
19984
- appcode: dbName$1,
19983
+ appcode: dbName,
19985
19984
  filter: {
19986
19985
  specialInstrYN: true,
19987
19986
  activestatus: true
@@ -19990,7 +19989,7 @@ var queries$i = {
19990
19989
  },
19991
19990
  res_criteria_instruction_list_appointment: function res_criteria_instruction_list_appointment() {
19992
19991
  return {
19993
- appcode: dbName$1,
19992
+ appcode: dbName,
19994
19993
  filter: {
19995
19994
  type: "HEALTHISSUES",
19996
19995
  status: true,
@@ -20000,7 +19999,7 @@ var queries$i = {
20000
19999
  },
20001
20000
  res_general_instruction_drop_down: function res_general_instruction_drop_down() {
20002
20001
  return {
20003
- appcode: dbName$1,
20002
+ appcode: dbName,
20004
20003
  filter: {
20005
20004
  activestatus: true
20006
20005
  }
@@ -20008,7 +20007,7 @@ var queries$i = {
20008
20007
  },
20009
20008
  res_service_group_type: function res_service_group_type() {
20010
20009
  return {
20011
- appcode: dbName$1,
20010
+ appcode: dbName,
20012
20011
  filter: {
20013
20012
  type: "SERVICETYPE",
20014
20013
  status: true,
@@ -20018,7 +20017,7 @@ var queries$i = {
20018
20017
  },
20019
20018
  res_service_category: function res_service_category() {
20020
20019
  return {
20021
- appcode: dbName$1,
20020
+ appcode: dbName,
20022
20021
  filter: {
20023
20022
  type: "SERVICECATEGORY",
20024
20023
  status: true,
@@ -20028,7 +20027,7 @@ var queries$i = {
20028
20027
  },
20029
20028
  res_service_code: function res_service_code() {
20030
20029
  return {
20031
- appcode: dbName$1,
20030
+ appcode: dbName,
20032
20031
  filter: {
20033
20032
  type: "SERVICE",
20034
20033
  status: true,
@@ -20038,7 +20037,7 @@ var queries$i = {
20038
20037
  },
20039
20038
  res_appointment_list: function res_appointment_list(key) {
20040
20039
  return {
20041
- appcode: dbName$1,
20040
+ appcode: dbName,
20042
20041
  filter: {
20043
20042
  activestatus: true
20044
20043
  },
@@ -20050,7 +20049,7 @@ var queries$i = {
20050
20049
  },
20051
20050
  res_upsert_appointment: function res_upsert_appointment(key) {
20052
20051
  return [{
20053
- appcode: dbName$1,
20052
+ appcode: dbName,
20054
20053
  entity: "ResourcebyApptType",
20055
20054
  is_metadata: true,
20056
20055
  metadataId: metaDataId$1,
@@ -20060,7 +20059,7 @@ var queries$i = {
20060
20059
  },
20061
20060
  res_appointment_single_read: function res_appointment_single_read(key) {
20062
20061
  return {
20063
- appcode: dbName$1,
20062
+ appcode: dbName,
20064
20063
  filter: {
20065
20064
  _id: "".concat(key),
20066
20065
  activestatus: true
@@ -20070,7 +20069,7 @@ var queries$i = {
20070
20069
  res_update_appointment: function res_update_appointment(key, val) {
20071
20070
  var _key$data;
20072
20071
  return [{
20073
- db_name: dbName$1,
20072
+ db_name: dbName,
20074
20073
  entity: "ResourcebyApptType",
20075
20074
  is_metadata: true,
20076
20075
  filter: {
@@ -20122,7 +20121,7 @@ var generateJson$a = {
20122
20121
  };
20123
20122
  }
20124
20123
  return [_objectSpread2(_objectSpread2({
20125
- appcode: dbName$1,
20124
+ appcode: dbName,
20126
20125
  entity: "ResourcebyApptType",
20127
20126
  is_metadata: true,
20128
20127
  metadataId: metaDataId$1,
@@ -20582,7 +20581,7 @@ var RES_CRITERIA_INSTRUCTION_QDM = createAsyncThunk("resourceByAppointmentTypesS
20582
20581
  _context9.p = 1;
20583
20582
  // const { type = [], tenantid ="", facilityid="",lang="", allData = false } = payload;
20584
20583
  body = {
20585
- appcode: dbName$1,
20584
+ appcode: dbName,
20586
20585
  filter: {
20587
20586
  type: ["HEALTHISSUES"],
20588
20587
  tenantid: "",
@@ -20788,7 +20787,7 @@ var RES_PATIENT_CATEGORY_LIST_DOC_QDM = createAsyncThunk("resourceByAppointmentT
20788
20787
  _context12.p = 1;
20789
20788
  // const { type = [], tenantid ="", facilityid="",lang="", allData = false } = payload;
20790
20789
  body = {
20791
- appcode: dbName$1,
20790
+ appcode: dbName,
20792
20791
  filter: {
20793
20792
  type: ["PATIENTIMPORTANCETYPE"],
20794
20793
  tenantid: "",
@@ -20879,7 +20878,7 @@ var RES_RESOURCE_TYPE_LIST_DOC_QDM = createAsyncThunk("resourceByAppointmentType
20879
20878
  _context14.p = 1;
20880
20879
  // const { type = [], tenantid ="", facilityid="",lang="", allData = false } = payload;
20881
20880
  body = {
20882
- appcode: dbName$1,
20881
+ appcode: dbName,
20883
20882
  filter: {
20884
20883
  type: ["RESOURCETYPE"],
20885
20884
  tenantid: "",
@@ -20972,7 +20971,7 @@ var RES_RESOURCE_ROLE_LIST_DOC_QDM = createAsyncThunk("resourceByAppointmentType
20972
20971
  // const { type = [], tenantid ="", facilityid="",lang="", allData = false } = payload;
20973
20972
  resourcetypeId = payload;
20974
20973
  body = {
20975
- appcode: dbName$1,
20974
+ appcode: dbName,
20976
20975
  filter: {
20977
20976
  resourcetype: resourcetypeId
20978
20977
  },
@@ -21061,7 +21060,7 @@ var RES_RESOURCE_DEPARTMENT_LIST_DOC_QDM = createAsyncThunk("resourceByAppointme
21061
21060
  _context18.p = 1;
21062
21061
  // const { type = [], tenantid ="", facilityid="",lang="", allData = false } = payload;
21063
21062
  body = {
21064
- appcode: dbName$1,
21063
+ appcode: dbName,
21065
21064
  filter: {
21066
21065
  resourcetype: payload === null || payload === void 0 ? void 0 : payload.resourcetypeId,
21067
21066
  roletype: payload === null || payload === void 0 ? void 0 : payload.resourceroleId
@@ -21151,7 +21150,7 @@ var RES_RESOURCE_NAME_LIST_DOC_QDM = createAsyncThunk("resourceByAppointmentType
21151
21150
  _context20.p = 1;
21152
21151
  // const { type = [], tenantid ="", facilityid="",lang="", allData = false } = payload;
21153
21152
  body = {
21154
- appcode: dbName$1,
21153
+ appcode: dbName,
21155
21154
  filter: {
21156
21155
  resourcetype: payload === null || payload === void 0 ? void 0 : payload.resourcetypeId,
21157
21156
  roletype: payload === null || payload === void 0 ? void 0 : payload.resourceroleId,
@@ -21239,7 +21238,7 @@ var RES_SPECIAL_INSTRUCTION_LIST_DOC_QDM = createAsyncThunk("resourceByAppointme
21239
21238
  _context22.p = 1;
21240
21239
  // const { type = [], tenantid ="", facilityid="",lang="", allData = false } = payload;
21241
21240
  body = {
21242
- appcode: dbName$1,
21241
+ appcode: dbName,
21243
21242
  requestid: "be26a8ae-2181-4a08-bcbc-d0b07632fe84"
21244
21243
  };
21245
21244
  _context22.n = 2;
@@ -21366,7 +21365,7 @@ var RES_GENERAL_INSTRUCTION_DROPDOWN_QDM = createAsyncThunk("resourceByAppointme
21366
21365
  _context25.p = 1;
21367
21366
  // const { type = [], tenantid ="", facilityid="",lang="", allData = false } = payload;
21368
21367
  body = {
21369
- appcode: dbName$1,
21368
+ appcode: dbName,
21370
21369
  requestid: "d9fef26c-9ac6-4921-9cce-b776c185f529"
21371
21370
  };
21372
21371
  _context25.n = 2;
@@ -21447,7 +21446,7 @@ var RES_SERVICE_GROUP_QDM = createAsyncThunk("resourceByAppointmentTypesSlice/re
21447
21446
  _context27.p = 1;
21448
21447
  // const { type = [], tenantid ="", facilityid="",lang="", allData = false } = payload;
21449
21448
  body = {
21450
- appcode: dbName$1,
21449
+ appcode: dbName,
21451
21450
  filter: {
21452
21451
  ordercategory: payload
21453
21452
  },
@@ -21537,7 +21536,7 @@ var RES_SERVICE_CATEGORY_QDM = createAsyncThunk("resourceByAppointmentTypesSlice
21537
21536
  _context29.p = 1;
21538
21537
  // const { type = [], tenantid ="", facilityid="",lang="", allData = false } = payload;
21539
21538
  body = {
21540
- appcode: dbName$1,
21539
+ appcode: dbName,
21541
21540
  requestid: "60bf981d-06b9-4412-a4c1-46f5edaa3681"
21542
21541
  };
21543
21542
  _context29.n = 2;
@@ -21621,7 +21620,7 @@ var RES_SERVICE_CODE_QDM = createAsyncThunk("resourceByAppointmentTypesSlice/res
21621
21620
  _context31.p = 1;
21622
21621
  // const { type = [], tenantid ="", facilityid="",lang="", allData = false } = payload;
21623
21622
  body = {
21624
- appcode: dbName$1,
21623
+ appcode: dbName,
21625
21624
  filter: {
21626
21625
  type: ["SERVICE"],
21627
21626
  tenantid: "",
@@ -21712,7 +21711,7 @@ var RES_APPOINTMENT_LIST_QDM = createAsyncThunk("resourceByAppointmentTypesSlice
21712
21711
  _context33.p = 1;
21713
21712
  // const { type = [], tenantid ="", facilityid="",lang="", allData = false } = payload;
21714
21713
  body = {
21715
- appcode: dbName$1,
21714
+ appcode: dbName,
21716
21715
  filter: {
21717
21716
  searchname: payload === null || payload === void 0 ? void 0 : payload.search,
21718
21717
  page: payload === null || payload === void 0 ? void 0 : payload.page,
@@ -21885,7 +21884,7 @@ var RES_APPOINTMENT_SINGLE_READ_QDM = createAsyncThunk("resourceByAppointmentTyp
21885
21884
  _context37.p = 1;
21886
21885
  // const { type = [], tenantid ="", facilityid="",lang="", allData = false } = payload;
21887
21886
  body = {
21888
- appcode: dbName$1,
21887
+ appcode: dbName,
21889
21888
  filter: {
21890
21889
  _id: payload
21891
21890
  },
@@ -21959,7 +21958,7 @@ var RES_APPOINTMENT_VITAL_CODE = createAsyncThunk("resourceByAppointmentTypesSli
21959
21958
  _context39.p = 1;
21960
21959
  // const { type = [], tenantid ="", facilityid="",lang="", allData = false } = payload;
21961
21960
  body = {
21962
- appcode: dbName$1,
21961
+ appcode: dbName,
21963
21962
  requestid: "79d8750b-851d-488f-846a-5253722c4588"
21964
21963
  };
21965
21964
  _context39.n = 2;
@@ -22011,7 +22010,7 @@ var RES_APPOINTMENT_BOOKING_TYPE = createAsyncThunk("resourceByAppointmentTypesS
22011
22010
  _context40.p = 1;
22012
22011
  // const { type = [], tenantid ="", facilityid="",lang="", allData = false } = payload;
22013
22012
  body = {
22014
- appcode: dbName$1,
22013
+ appcode: dbName,
22015
22014
  "filter": {
22016
22015
  "type": ["BOOKTYPE"],
22017
22016
  "tenantid": "",
@@ -22062,7 +22061,7 @@ var RES_APPOINTMENT_DYNAMIC_DATA_LOAD = createAsyncThunk("resourceByAppointmentT
22062
22061
  _context41.p = 1;
22063
22062
  // const { type = [], tenantid ="", facilityid="",lang="", allData = false } = payload;
22064
22063
  body = {
22065
- appcode: dbName$1,
22064
+ appcode: dbName,
22066
22065
  "filter": {
22067
22066
  "type": [payload],
22068
22067
  "tenantid": "",
@@ -22105,7 +22104,7 @@ var RES_APPOINTMENT_DYNAMIC_QUERYDATA_LOAD = createAsyncThunk("resourceByAppoint
22105
22104
  _context42.p = 1;
22106
22105
  // const { type = [], tenantid ="", facilityid="",lang="", allData = false } = payload;
22107
22106
  body = {
22108
- appcode: dbName$1,
22107
+ appcode: dbName,
22109
22108
  "requestid": payload
22110
22109
  };
22111
22110
  _context42.n = 2;
@@ -22144,7 +22143,7 @@ var RES_APPOINTMENT_GENERALPRIORITY_LOAD = createAsyncThunk("resourceByAppointme
22144
22143
  _context43.p = 1;
22145
22144
  // const { type = [], tenantid ="", facilityid="",lang="", allData = false } = payload;
22146
22145
  body = {
22147
- appcode: dbName$1,
22146
+ appcode: dbName,
22148
22147
  "filter": {
22149
22148
  "type": [payload],
22150
22149
  "tenantid": "",
@@ -22195,7 +22194,7 @@ var RES_APPOINTMENT_APPROUTEURL_LOAD = createAsyncThunk("resourceByAppointmentTy
22195
22194
  _context44.p = 1;
22196
22195
  // const { type = [], tenantid ="", facilityid="",lang="", allData = false } = payload;
22197
22196
  body = {
22198
- appcode: dbName$1,
22197
+ appcode: dbName,
22199
22198
  "filter": {
22200
22199
  "type": ["APPTYPEROUTEURL"],
22201
22200
  "tenantid": "",
@@ -22611,7 +22610,7 @@ var resourceByAppointmentTypesSlice$1 = resourceByAppointmentTypesSlice.reducer;
22611
22610
  var queries$h = {
22612
22611
  drug_category_read: function drug_category_read(page, perPage, search) {
22613
22612
  return {
22614
- appcode: dbName$1,
22613
+ appcode: dbName,
22615
22614
  requestid: "9aa27f3c-f346-4ac3-ad20-b434824d219d",
22616
22615
  filter: {
22617
22616
  search: "%".concat(search, "%"),
@@ -22622,7 +22621,7 @@ var queries$h = {
22622
22621
  },
22623
22622
  drug_type_read: function drug_type_read(page, perPage, search) {
22624
22623
  return {
22625
- appcode: dbName$1,
22624
+ appcode: dbName,
22626
22625
  requestid: "7bececc5-5fd3-45b6-936b-361104171b2d",
22627
22626
  filter: {
22628
22627
  search: "%".concat(search, "%"),
@@ -22633,7 +22632,7 @@ var queries$h = {
22633
22632
  },
22634
22633
  drug_dosage: function drug_dosage(page, perPage, search) {
22635
22634
  return {
22636
- appcode: dbName$1,
22635
+ appcode: dbName,
22637
22636
  requestid: "6b3f4821-1622-4090-8a8d-2cc769113955",
22638
22637
  filter: {
22639
22638
  search: "%".concat(search, "%"),
@@ -22652,7 +22651,7 @@ var queries$h = {
22652
22651
  };
22653
22652
  }
22654
22653
  return [_objectSpread2(_objectSpread2({
22655
- appcode: dbName$1,
22654
+ appcode: dbName,
22656
22655
  collection: "DosageForm",
22657
22656
  is_metadata: true
22658
22657
  }, filter), {}, {
@@ -22669,7 +22668,7 @@ var queries$h = {
22669
22668
  },
22670
22669
  status_update_drug_dosage: function status_update_drug_dosage(data) {
22671
22670
  return [{
22672
- appcode: dbName$1,
22671
+ appcode: dbName,
22673
22672
  collection: "DosageForm",
22674
22673
  filter: {
22675
22674
  _key: data._key
@@ -22684,7 +22683,7 @@ var queries$h = {
22684
22683
  },
22685
22684
  drug_class: function drug_class(page, perPage, search) {
22686
22685
  return {
22687
- appcode: dbName$1,
22686
+ appcode: dbName,
22688
22687
  requestid: "59a97bea-507d-4f96-82dc-6d5f1e04bde8",
22689
22688
  filter: {
22690
22689
  search: "%".concat(search, "%"),
@@ -22703,7 +22702,7 @@ var queries$h = {
22703
22702
  };
22704
22703
  }
22705
22704
  return [_objectSpread2(_objectSpread2({
22706
- appcode: dbName$1,
22705
+ appcode: dbName,
22707
22706
  collection: "DrugClass",
22708
22707
  is_metadata: true
22709
22708
  }, filter), {}, {
@@ -22719,7 +22718,7 @@ var queries$h = {
22719
22718
  },
22720
22719
  status_update_drug_class: function status_update_drug_class(data) {
22721
22720
  return [{
22722
- appcode: dbName$1,
22721
+ appcode: dbName,
22723
22722
  collection: "DrugClass",
22724
22723
  filter: {
22725
22724
  _key: data._key
@@ -22734,7 +22733,7 @@ var queries$h = {
22734
22733
  },
22735
22734
  drug_routes: function drug_routes(page, perPage, search) {
22736
22735
  return {
22737
- appcode: dbName$1,
22736
+ appcode: dbName,
22738
22737
  requestid: "f86ecb46-8fbf-4f52-a35b-778568220b35",
22739
22738
  filter: {
22740
22739
  search: "%".concat(search, "%"),
@@ -22745,7 +22744,7 @@ var queries$h = {
22745
22744
  },
22746
22745
  status_update_drug_routes: function status_update_drug_routes(data) {
22747
22746
  return [{
22748
- appcode: dbName$1,
22747
+ appcode: dbName,
22749
22748
  collection: "DrugRoutes",
22750
22749
  filter: {
22751
22750
  _key: data._key
@@ -22768,7 +22767,7 @@ var queries$h = {
22768
22767
  };
22769
22768
  }
22770
22769
  return [_objectSpread2(_objectSpread2({
22771
- appcode: dbName$1,
22770
+ appcode: dbName,
22772
22771
  collection: "DrugRoutes",
22773
22772
  is_metadata: true
22774
22773
  }, filter), {}, {
@@ -23386,7 +23385,7 @@ var drugRoutesSlice$1 = drugRoutesSlice.reducer;
23386
23385
  var queries$g = {
23387
23386
  drug_master: function drug_master(page, perpage, searchQuery) {
23388
23387
  return {
23389
- appcode: dbName$1,
23388
+ appcode: dbName,
23390
23389
  filter: {
23391
23390
  search: searchQuery || "",
23392
23391
  activestatus: true
@@ -23400,7 +23399,7 @@ var queries$g = {
23400
23399
  drug_master_upsert: function drug_master_upsert() {
23401
23400
  var _doc;
23402
23401
  return [{
23403
- appcode: _dbName$1,
23402
+ appcode: _dbName,
23404
23403
  entity: "DrugMaster",
23405
23404
  is_metadata: true,
23406
23405
  metadataId: metaDataId$1,
@@ -23491,7 +23490,7 @@ var queries$g = {
23491
23490
  },
23492
23491
  status_update_drug_master: function status_update_drug_master(key, status) {
23493
23492
  return [{
23494
- appcode: dbName$1,
23493
+ appcode: dbName,
23495
23494
  entity: "DrugMaster",
23496
23495
  filter: {
23497
23496
  _key: key
@@ -23504,10 +23503,10 @@ var queries$g = {
23504
23503
  }
23505
23504
  }];
23506
23505
  },
23507
- drug_form_type: "{\n \"appcode\": \"".concat(_dbName$1, "\",\n \"filter\": {\n \"paraCode\": \"SOURCEOFDRUGORDERCATALOG\"\n }\n }"),
23506
+ drug_form_type: "{\n \"appcode\": \"".concat(_dbName, "\",\n \"filter\": {\n \"paraCode\": \"SOURCEOFDRUGORDERCATALOG\"\n }\n }"),
23508
23507
  drug_form_read: function drug_form_read(_id) {
23509
23508
  return {
23510
- appcode: dbName$1,
23509
+ appcode: dbName,
23511
23510
  filter: {
23512
23511
  _id: _id,
23513
23512
  activestatus: true
@@ -23516,7 +23515,7 @@ var queries$g = {
23516
23515
  },
23517
23516
  age_category_by_id: function age_category_by_id(ids) {
23518
23517
  return {
23519
- appcode: dbName$1,
23518
+ appcode: dbName,
23520
23519
  filter: {
23521
23520
  ids: ids,
23522
23521
  activestatus: true
@@ -23525,7 +23524,7 @@ var queries$g = {
23525
23524
  },
23526
23525
  ageCategory: function ageCategory(ageRangeId) {
23527
23526
  return {
23528
- appcode: dbName$1,
23527
+ appcode: dbName,
23529
23528
  filter: {
23530
23529
  ageRangeId: ageRangeId,
23531
23530
  activestatus: true
@@ -23535,7 +23534,7 @@ var queries$g = {
23535
23534
  entityNameOptionsQuery: function entityNameOptionsQuery() {
23536
23535
  var entityTypeCode = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : "OT003";
23537
23536
  return {
23538
- appcode: dbName$1,
23537
+ appcode: dbName,
23539
23538
  filter: {
23540
23539
  OrgType: entityTypeCode,
23541
23540
  active: true,
@@ -23545,27 +23544,27 @@ var queries$g = {
23545
23544
  }
23546
23545
  };
23547
23546
  var masterNewQuery = {
23548
- drug_class: "{ \n \"appcode\": \"".concat(_dbName$1, "\",\n \"filter\": {\n \"activestatus\": true,\n \"status\": true\n }\n }"),
23549
- drug_category: "{\n \"appcode\": \"".concat(_dbName$1, "\",\n \"filter\": {\n \"activestatus\": true,\n \"status\": true\n }\n }"),
23550
- drug_type: "{\n \"appcode\": \"".concat(_dbName$1, "\",\n \"filter\": {\n \"activestatus\": true,\n \"status\": true\n }\n }"),
23551
- form: "{\n \"appcode\": \"".concat(_dbName$1, "\",\n \"filter\": {\n \"activestatus\": true,\n \"status\": true\n }\n }"),
23552
- routes_allowed: "{\n \"appcode\": \"".concat(_dbName$1, "\",\n \"filter\": {\n \"activestatus\": true,\n \"status\": true\n }\n }"),
23553
- default_route: "{\n \"appcode\": \"".concat(_dbName$1, "\",\n \"filter\": {\n \"activestatus\": true,\n \"status\": true\n }\n }"),
23554
- drug_UOM: "{\n \"appcode\": \"".concat(_dbName$1, "\",\n \"filter\": {\n \"activestatus\": true,\n \"status\": true\n }\n }"),
23555
- alternate_drug_code: "{\n \"appcode\": \"".concat(_dbName$1, "\",\n \"filter\": {\n \"activestatus\": true\n }\n }"),
23556
- encounter_type: "{\n \"appcode\": \"".concat(_dbName$1, "\",\n \"filter\": {\n \"type\": \"ENCOUNTERTYPE\",\n \"activestatus\": true\n }\n }"),
23557
- gender: "{\n \"appcode\": \"".concat(_dbName$1, "\",\n \"filter\": {\n \"type\": \"GENDER\",\n \"activestatus\": true\n }\n }"),
23558
- age_range_group: "{\n \"appcode\": \"".concat(_dbName$1, "\",\n \"filter\": {\n \"activestatus\": true,\n \"status\": true\n }\n }"),
23559
- age_category: "{\n \"appcode\": \"".concat(_dbName$1, "\",\n \"filter\": {\n \"activestatus\": true\n }\n }"),
23560
- default_frequency: "{\n \"appcode\": \"".concat(_dbName$1, "\",\n \"filter\": {\n \"activestatus\": true,\n \"status\": true\n }\n }"),
23561
- actions: "{\n \"appcode\": \"".concat(_dbName$1, "\",\n \"filter\": {\n \"Type\": \"DRUGACTION\",\n \"activestatus\": true\n }\n }"),
23562
- status: "{\n \"appcode\": \"".concat(_dbName$1, "\",\n \"filter\": {\n \"Type\": \"DRUGSTATUS\",\n \"activestatus\": true\n }\n }"),
23563
- drug_item_master: "{\n \"appcode\": \"".concat(_dbName$1, "\",\n \"filter\": {\n \"activestatus\": true\n }\n }")
23547
+ drug_class: "{ \n \"appcode\": \"".concat(_dbName, "\",\n \"filter\": {\n \"activestatus\": true,\n \"status\": true\n }\n }"),
23548
+ drug_category: "{\n \"appcode\": \"".concat(_dbName, "\",\n \"filter\": {\n \"activestatus\": true,\n \"status\": true\n }\n }"),
23549
+ drug_type: "{\n \"appcode\": \"".concat(_dbName, "\",\n \"filter\": {\n \"activestatus\": true,\n \"status\": true\n }\n }"),
23550
+ form: "{\n \"appcode\": \"".concat(_dbName, "\",\n \"filter\": {\n \"activestatus\": true,\n \"status\": true\n }\n }"),
23551
+ routes_allowed: "{\n \"appcode\": \"".concat(_dbName, "\",\n \"filter\": {\n \"activestatus\": true,\n \"status\": true\n }\n }"),
23552
+ default_route: "{\n \"appcode\": \"".concat(_dbName, "\",\n \"filter\": {\n \"activestatus\": true,\n \"status\": true\n }\n }"),
23553
+ drug_UOM: "{\n \"appcode\": \"".concat(_dbName, "\",\n \"filter\": {\n \"activestatus\": true,\n \"status\": true\n }\n }"),
23554
+ alternate_drug_code: "{\n \"appcode\": \"".concat(_dbName, "\",\n \"filter\": {\n \"activestatus\": true\n }\n }"),
23555
+ encounter_type: "{\n \"appcode\": \"".concat(_dbName, "\",\n \"filter\": {\n \"type\": \"ENCOUNTERTYPE\",\n \"activestatus\": true\n }\n }"),
23556
+ gender: "{\n \"appcode\": \"".concat(_dbName, "\",\n \"filter\": {\n \"type\": \"GENDER\",\n \"activestatus\": true\n }\n }"),
23557
+ age_range_group: "{\n \"appcode\": \"".concat(_dbName, "\",\n \"filter\": {\n \"activestatus\": true,\n \"status\": true\n }\n }"),
23558
+ age_category: "{\n \"appcode\": \"".concat(_dbName, "\",\n \"filter\": {\n \"activestatus\": true\n }\n }"),
23559
+ default_frequency: "{\n \"appcode\": \"".concat(_dbName, "\",\n \"filter\": {\n \"activestatus\": true,\n \"status\": true\n }\n }"),
23560
+ actions: "{\n \"appcode\": \"".concat(_dbName, "\",\n \"filter\": {\n \"Type\": \"DRUGACTION\",\n \"activestatus\": true\n }\n }"),
23561
+ status: "{\n \"appcode\": \"".concat(_dbName, "\",\n \"filter\": {\n \"Type\": \"DRUGSTATUS\",\n \"activestatus\": true\n }\n }"),
23562
+ drug_item_master: "{\n \"appcode\": \"".concat(_dbName, "\",\n \"filter\": {\n \"activestatus\": true\n }\n }")
23564
23563
  };
23565
23564
  var drugCatalogMasterQuery$1 = {
23566
23565
  drugRuleType: function drugRuleType() {
23567
23566
  return {
23568
- appcode: dbName$1,
23567
+ appcode: dbName,
23569
23568
  filter: {
23570
23569
  Type: "RULETYPE",
23571
23570
  activestatus: true
@@ -23574,7 +23573,7 @@ var drugCatalogMasterQuery$1 = {
23574
23573
  },
23575
23574
  drugPrivilegeType: function drugPrivilegeType() {
23576
23575
  return {
23577
- appcode: dbName$1,
23576
+ appcode: dbName,
23578
23577
  filter: {
23579
23578
  Type: "PRIVILEGETYPE",
23580
23579
  activestatus: true
@@ -23583,7 +23582,7 @@ var drugCatalogMasterQuery$1 = {
23583
23582
  },
23584
23583
  drugServiceApplicabilityType: function drugServiceApplicabilityType() {
23585
23584
  return {
23586
- appcode: dbName$1,
23585
+ appcode: dbName,
23587
23586
  filter: {
23588
23587
  Type: "SERVICEAPPLICABILITY",
23589
23588
  activestatus: true
@@ -23592,7 +23591,7 @@ var drugCatalogMasterQuery$1 = {
23592
23591
  },
23593
23592
  drugFacilityOptions: function drugFacilityOptions() {
23594
23593
  return {
23595
- appcode: dbName$1,
23594
+ appcode: dbName,
23596
23595
  filter: {
23597
23596
  active: true,
23598
23597
  activestatus: true
@@ -23601,7 +23600,7 @@ var drugCatalogMasterQuery$1 = {
23601
23600
  },
23602
23601
  drugApprovalWorkflowOptions: function drugApprovalWorkflowOptions() {
23603
23602
  return {
23604
- appcode: dbName$1,
23603
+ appcode: dbName,
23605
23604
  filter: {
23606
23605
  Type: "APPROVALLEVEL",
23607
23606
  activestatus: true
@@ -23610,7 +23609,7 @@ var drugCatalogMasterQuery$1 = {
23610
23609
  },
23611
23610
  drugCatalogMasterSingleRead: function drugCatalogMasterSingleRead(id) {
23612
23611
  return {
23613
- appcode: dbName$1,
23612
+ appcode: dbName,
23614
23613
  filter: {
23615
23614
  id: id,
23616
23615
  activestatus: true
@@ -23619,7 +23618,7 @@ var drugCatalogMasterQuery$1 = {
23619
23618
  },
23620
23619
  drugalertRestrictionSingleRead: function drugalertRestrictionSingleRead(id) {
23621
23620
  return {
23622
- appcode: dbName$1,
23621
+ appcode: dbName,
23623
23622
  filter: {
23624
23623
  id: id,
23625
23624
  activestatus: true
@@ -23628,7 +23627,7 @@ var drugCatalogMasterQuery$1 = {
23628
23627
  },
23629
23628
  drugMappedDispensableRead: function drugMappedDispensableRead(_id) {
23630
23629
  return {
23631
- appcode: dbName$1,
23630
+ appcode: dbName,
23632
23631
  filter: {
23633
23632
  _id: _id,
23634
23633
  activestatus: true
@@ -23637,7 +23636,7 @@ var drugCatalogMasterQuery$1 = {
23637
23636
  },
23638
23637
  status_update: function status_update(key, status) {
23639
23638
  return [{
23640
- appcode: dbName$1,
23639
+ appcode: dbName,
23641
23640
  entity: "CA_DrugCatalogMaster",
23642
23641
  filter: {
23643
23642
  _key: key
@@ -23841,7 +23840,7 @@ var generateDrugMasterJSON = function generateDrugMasterJSON(data, _key, draft)
23841
23840
  });
23842
23841
  }
23843
23842
  var json = [_objectSpread2(_objectSpread2({
23844
- "appcode": dbName$1,
23843
+ "appcode": dbName,
23845
23844
  "entity": "DrugMaster",
23846
23845
  "is_metadata": true
23847
23846
  }, filter), {}, {
@@ -24259,7 +24258,7 @@ var GenerateUpsert$1 = function GenerateUpsert(data) {
24259
24258
  };
24260
24259
  }
24261
24260
  return [_objectSpread2(_objectSpread2({
24262
- appcode: dbName$1,
24261
+ appcode: dbName,
24263
24262
  collection: "DrugMaster",
24264
24263
  is_metadata: true,
24265
24264
  metadataId: metaDataId$1,
@@ -24316,7 +24315,7 @@ var GenerateAlertRestrictionUpsert$1 = function GenerateAlertRestrictionUpsert(d
24316
24315
  };
24317
24316
  }
24318
24317
  return [_objectSpread2(_objectSpread2({
24319
- appcode: dbName$1,
24318
+ appcode: dbName,
24320
24319
  collection: "CA_OrderCatalogPrivilegeLevel",
24321
24320
  is_metadata: true,
24322
24321
  metadataId: metaDataId$1,
@@ -24503,7 +24502,7 @@ var DRUG_MASTER_READ = createAsyncThunk("drugMasterSlice/drug_master_list", /*#_
24503
24502
  }
24504
24503
  };
24505
24504
  fullReadQDMQuery = _objectSpread2({
24506
- appcode: dbName$1,
24505
+ appcode: dbName,
24507
24506
  requestid: queryId
24508
24507
  }, withLimitFilter);
24509
24508
  _context4.n = 2;
@@ -25496,7 +25495,7 @@ var drugMasterSlice$1 = drugMasterSlice.reducer;
25496
25495
  var queries$f = {
25497
25496
  fullread: function fullread(page, perPage, search) {
25498
25497
  return {
25499
- appcode: dbName$1,
25498
+ appcode: dbName,
25500
25499
  requestid: "2b2da59b-f224-4fed-8c14-1c910babb031",
25501
25500
  filter: {
25502
25501
  search: search !== null && search !== void 0 ? search : "%%",
@@ -25507,7 +25506,7 @@ var queries$f = {
25507
25506
  },
25508
25507
  DosageFormDropDown: function DosageFormDropDown() {
25509
25508
  return {
25510
- appcode: dbName$1,
25509
+ appcode: dbName,
25511
25510
  requestid: "6a035ef7-a2d7-4f0f-acb9-246aa1df9f3d",
25512
25511
  filter: {
25513
25512
  activestatus: true,
@@ -25517,7 +25516,7 @@ var queries$f = {
25517
25516
  },
25518
25517
  RoutesDirectionActionDropDown: function RoutesDirectionActionDropDown() {
25519
25518
  return {
25520
- appcode: dbName$1,
25519
+ appcode: dbName,
25521
25520
  requestid: "95931016-caf1-413c-8bf5-96f05c5709fb",
25522
25521
  filter: {
25523
25522
  type: "ROUTEDIRECTIONACTION",
@@ -25528,7 +25527,7 @@ var queries$f = {
25528
25527
  },
25529
25528
  Insert: function Insert(data) {
25530
25529
  return [{
25531
- appcode: dbName$1,
25530
+ appcode: dbName,
25532
25531
  collection: "DrugRouteDirection",
25533
25532
  is_metadata: true,
25534
25533
  metadataId: metaDataId$1,
@@ -25546,7 +25545,7 @@ var queries$f = {
25546
25545
  },
25547
25546
  StatusUpdate: function StatusUpdate(key, getstatus) {
25548
25547
  return [{
25549
- appcode: dbName$1,
25548
+ appcode: dbName,
25550
25549
  collection: "DrugRouteDirection",
25551
25550
  filter: {
25552
25551
  _key: key
@@ -25561,7 +25560,7 @@ var queries$f = {
25561
25560
  },
25562
25561
  UpdateORModify: function UpdateORModify(data) {
25563
25562
  return [{
25564
- appcode: dbName$1,
25563
+ appcode: dbName,
25565
25564
  collection: "DrugRouteDirection",
25566
25565
  filter: {
25567
25566
  _key: data.key
@@ -25878,26 +25877,26 @@ var drugDirectionRoutesActions = {
25878
25877
  var drugRoutesDirectionSlice$1 = drugRoutesDirectionSlice.reducer;
25879
25878
 
25880
25879
  var masterQuery$6 = {
25881
- orderCategory: "{\n \"appcode\": \"".concat(_dbName$1, "\",\n \"filter\": {\n \"activestatus\": true,\n \"status\": true\n }\n }"),
25882
- orderType: "{\n \"appcode\": \"".concat(_dbName$1, "\",\n \"filter\": {\n \"activestatus\": true,\n \"status\": true\n }\n }"),
25883
- healthService: "{\n \"appcode\": \"".concat(_dbName$1, "\",\n \"filter\": {\n \"activestatus\": true\n }\n }"),
25884
- quantity: "{\n \"appcode\": \"".concat(_dbName$1, "\",\n \"filter\": {\n \"Type\": \"UOM\",\n \"activestatus\": true\n }\n }"),
25885
- entityType: "{\n \"appcode\": \"".concat(_dbName$1, "\",\n \"filter\": {\n \"Type\": \"ORGTYPE\",\n \"activestatus\": true\n }\n }"),
25886
- entitytName: "{\n \"appcode\": \"".concat(_dbName$1, "\",\n \"filter\": {\n \"OrgType\": \"Hospital\"\n }\n }"),
25887
- specimenType: "{\n \"appcode\": \"".concat(_dbName$1, "\",\n \"filter\": {\n \"Type\": \"SPECIMENTYPE\",\n \"activestatus\": true\n }\n }"),
25888
- bodySite: "{\n \"appcode\": \"".concat(_dbName$1, "\",\n \"filter\": {\n \"Type\": \"BODYSITE\",\n \"activestatus\": true\n }\n }"),
25889
- specimenContainer: "{\n \"appcode\": \"".concat(_dbName$1, "\",\n \"filter\": {\n \"Type\": \"SPECCONTAINER\",\n \"activestatus\": true\n }\n }"),
25890
- collectionMethod: "{\n \"appcode\": \"".concat(_dbName$1, "\",\n \"filter\": {\n \"Type\": \"SPECCOLLMETHOD\",\n \"activestatus\": true\n }\n }"),
25891
- encounterType: "{\n \"appcode\": \"".concat(_dbName$1, "\",\n \"filter\": {\n \"Type\": \"ENCOUNTERTYPE\",\n \"activestatus\": true\n }\n }"),
25892
- gender: "{\n \"appcode\": \"".concat(_dbName$1, "\",\n \"filter\": {\n \"Type\": \"GENDER\",\n \"activestatus\": true\n }\n }"),
25893
- ageGroup: "{\n \"appcode\": \"".concat(_dbName$1, "\",\n \"filter\": {\n \"activestatus\": true\n }\n }"),
25894
- checkaction: "{\n \"appcode\": \"".concat(_dbName$1, "\",\n \"filter\": {\n \"Type\": \"CHECKACTION\",\n \"status\": true,\n \"activestatus\": true\n }\n }"),
25895
- attrcode: "{\n \"appcode\": \"".concat(_dbName$1, "\",\n \"filter\": {\n \"activestatus\": true\n }\n }")
25880
+ orderCategory: "{\n \"appcode\": \"".concat(_dbName, "\",\n \"filter\": {\n \"activestatus\": true,\n \"status\": true\n }\n }"),
25881
+ orderType: "{\n \"appcode\": \"".concat(_dbName, "\",\n \"filter\": {\n \"activestatus\": true,\n \"status\": true\n }\n }"),
25882
+ healthService: "{\n \"appcode\": \"".concat(_dbName, "\",\n \"filter\": {\n \"activestatus\": true\n }\n }"),
25883
+ quantity: "{\n \"appcode\": \"".concat(_dbName, "\",\n \"filter\": {\n \"Type\": \"UOM\",\n \"activestatus\": true\n }\n }"),
25884
+ entityType: "{\n \"appcode\": \"".concat(_dbName, "\",\n \"filter\": {\n \"Type\": \"ORGTYPE\",\n \"activestatus\": true\n }\n }"),
25885
+ entitytName: "{\n \"appcode\": \"".concat(_dbName, "\",\n \"filter\": {\n \"OrgType\": \"Hospital\"\n }\n }"),
25886
+ specimenType: "{\n \"appcode\": \"".concat(_dbName, "\",\n \"filter\": {\n \"Type\": \"SPECIMENTYPE\",\n \"activestatus\": true\n }\n }"),
25887
+ bodySite: "{\n \"appcode\": \"".concat(_dbName, "\",\n \"filter\": {\n \"Type\": \"BODYSITE\",\n \"activestatus\": true\n }\n }"),
25888
+ specimenContainer: "{\n \"appcode\": \"".concat(_dbName, "\",\n \"filter\": {\n \"Type\": \"SPECCONTAINER\",\n \"activestatus\": true\n }\n }"),
25889
+ collectionMethod: "{\n \"appcode\": \"".concat(_dbName, "\",\n \"filter\": {\n \"Type\": \"SPECCOLLMETHOD\",\n \"activestatus\": true\n }\n }"),
25890
+ encounterType: "{\n \"appcode\": \"".concat(_dbName, "\",\n \"filter\": {\n \"Type\": \"ENCOUNTERTYPE\",\n \"activestatus\": true\n }\n }"),
25891
+ gender: "{\n \"appcode\": \"".concat(_dbName, "\",\n \"filter\": {\n \"Type\": \"GENDER\",\n \"activestatus\": true\n }\n }"),
25892
+ ageGroup: "{\n \"appcode\": \"".concat(_dbName, "\",\n \"filter\": {\n \"activestatus\": true\n }\n }"),
25893
+ checkaction: "{\n \"appcode\": \"".concat(_dbName, "\",\n \"filter\": {\n \"Type\": \"CHECKACTION\",\n \"status\": true,\n \"activestatus\": true\n }\n }"),
25894
+ attrcode: "{\n \"appcode\": \"".concat(_dbName, "\",\n \"filter\": {\n \"activestatus\": true\n }\n }")
25896
25895
  };
25897
25896
  var orderTypedata = {
25898
25897
  ordertype: function ordertype(type) {
25899
25898
  return {
25900
- "appcode": _dbName$1,
25899
+ "appcode": _dbName,
25901
25900
  "filter": {
25902
25901
  "ordercategoryId": type
25903
25902
  },
@@ -25909,7 +25908,7 @@ var orderTypedata = {
25909
25908
  var Query = {
25910
25909
  ageCategory: function ageCategory(ageRangeId) {
25911
25910
  return {
25912
- appcode: dbName$1,
25911
+ appcode: dbName,
25913
25912
  filter: {
25914
25913
  ageRangeId: ageRangeId,
25915
25914
  activestatus: true
@@ -25920,7 +25919,7 @@ var Query = {
25920
25919
  var page = _ref.page,
25921
25920
  perPage = _ref.perPage;
25922
25921
  return {
25923
- "appcode": dbName$1,
25922
+ "appcode": dbName,
25924
25923
  "filter": {
25925
25924
  "page": page,
25926
25925
  "perPage": perPage
@@ -25933,7 +25932,7 @@ var Query = {
25933
25932
  perPage = _ref2.perPage,
25934
25933
  search = _ref2.search;
25935
25934
  return {
25936
- "appcode": dbName$1,
25935
+ "appcode": dbName,
25937
25936
  "filter": {
25938
25937
  "searchval": search,
25939
25938
  "page": page,
@@ -25944,7 +25943,7 @@ var Query = {
25944
25943
  },
25945
25944
  editOrderCatalog: function editOrderCatalog(id) {
25946
25945
  return {
25947
- "appcode": dbName$1,
25946
+ "appcode": dbName,
25948
25947
  "filter": {
25949
25948
  "id": id
25950
25949
  },
@@ -25953,14 +25952,14 @@ var Query = {
25953
25952
  },
25954
25953
  attributeDelete: function attributeDelete(id) {
25955
25954
  return {
25956
- appcode: dbName$1,
25955
+ appcode: dbName,
25957
25956
  entity: "CA_OrderAttribApplicability",
25958
25957
  filter: "CA_OrderAttribApplicability._key=='".concat(id, "'")
25959
25958
  };
25960
25959
  },
25961
25960
  entityTypeName: function entityTypeName(name) {
25962
25961
  return {
25963
- "appcode": dbName$1,
25962
+ "appcode": dbName,
25964
25963
  "filter": {
25965
25964
  "Orgname": name
25966
25965
  },
@@ -25986,7 +25985,7 @@ var generateSaveChargeCode = function generateSaveChargeCode(data) {
25986
25985
  };
25987
25986
  }
25988
25987
  return [_objectSpread2(_objectSpread2({
25989
- appcode: dbName$1,
25988
+ appcode: dbName,
25990
25989
  collection: "RC_ChargeCode",
25991
25990
  is_metadata: true,
25992
25991
  metadataId: metaDataId$1,
@@ -26018,7 +26017,7 @@ var generateSaveChargeRate = function generateSaveChargeRate(data, rcchargeData,
26018
26017
  };
26019
26018
  }
26020
26019
  return [_objectSpread2(_objectSpread2({
26021
- appcode: dbName$1,
26020
+ appcode: dbName,
26022
26021
  collection: "RC_ChargeRates",
26023
26022
  is_metadata: true,
26024
26023
  metadataId: metaDataId$1,
@@ -26071,7 +26070,7 @@ var generateSaveJSON = function generateSaveJSON(data, rcchargeCode) {
26071
26070
  };
26072
26071
  }
26073
26072
  return [_objectSpread2(_objectSpread2({
26074
- appcode: dbName$1,
26073
+ appcode: dbName,
26075
26074
  collection: "OrderCatalog",
26076
26075
  is_metadata: true,
26077
26076
  metadataId: metaDataId$1,
@@ -26382,7 +26381,7 @@ var generateResJson = function generateResJson(data) {
26382
26381
  //for status update
26383
26382
  var generateUpdateJSON = function generateUpdateJSON(editID, Status) {
26384
26383
  return [{
26385
- appcode: dbName$1,
26384
+ appcode: dbName,
26386
26385
  collection: "OrderCatalog",
26387
26386
  filter: {
26388
26387
  _key: editID
@@ -27085,7 +27084,7 @@ var ORDER_CATALOG_CODING_MASTERS = createAsyncThunk("orderCatalogApiSlice/order_
27085
27084
  _context5.p = 1;
27086
27085
  payload.type;
27087
27086
  body = {
27088
- appcode: dbName$1,
27087
+ appcode: dbName,
27089
27088
  filter: {
27090
27089
  type: payload,
27091
27090
  tenantid: "",
@@ -27129,7 +27128,7 @@ var ORDER_CATALOG_ATTRCODE = createAsyncThunk("orderCatalogApiSlice/order_catalo
27129
27128
  _context6.p = 1;
27130
27129
  payload.type;
27131
27130
  body = {
27132
- appcode: dbName$1,
27131
+ appcode: dbName,
27133
27132
  requestid: "def95574-656e-40c7-928e-b544f2b2f801"
27134
27133
  };
27135
27134
  _context6.n = 2;
@@ -27183,7 +27182,7 @@ var ORDER_CATALOG_AGEGROUP = createAsyncThunk("orderCatalogApiSlice/order_catalo
27183
27182
  _context7.p = 1;
27184
27183
  payload.type;
27185
27184
  body = {
27186
- appcode: dbName$1,
27185
+ appcode: dbName,
27187
27186
  requestid: "869e5895-b0e0-4657-ad31-6ed02294f691"
27188
27187
  };
27189
27188
  _context7.n = 2;
@@ -27228,7 +27227,7 @@ var ORDER_CATALOG_ORDERCATEGORY = createAsyncThunk("orderCatalogApiSlice/order_c
27228
27227
  _context8.p = 1;
27229
27228
  payload.type;
27230
27229
  body = {
27231
- appcode: dbName$1,
27230
+ appcode: dbName,
27232
27231
  requestid: "df53fb0d-dd4c-4e65-9067-f5917563625b"
27233
27232
  };
27234
27233
  _context8.n = 2;
@@ -27265,7 +27264,7 @@ var ORDER_CATALOG_GRPORIND = createAsyncThunk("orderCatalogApiSlice/order_catalo
27265
27264
  rejectWithValue = _ref12.rejectWithValue;
27266
27265
  _context9.p = 1;
27267
27266
  body = {
27268
- appcode: dbName$1,
27267
+ appcode: dbName,
27269
27268
  filter: {
27270
27269
  type: ["GRPORIND"],
27271
27270
  tenantid: "",
@@ -27313,7 +27312,7 @@ var ORDER_CATALOG_SERVICEITEM = createAsyncThunk("orderCatalogApiSlice/order_cat
27313
27312
  rejectWithValue = _ref14.rejectWithValue;
27314
27313
  _context0.p = 1;
27315
27314
  body = {
27316
- appcode: dbName$1,
27315
+ appcode: dbName,
27317
27316
  filter: {
27318
27317
  type: ["ORDERITEMSERVICE"],
27319
27318
  tenantid: "",
@@ -27571,7 +27570,7 @@ var RC_CHARGERATE_SEARCH = createAsyncThunk("orderCatalogApiSlice/rcchargeRateSe
27571
27570
  _context14.p = 1;
27572
27571
  search = payload.search;
27573
27572
  body = {
27574
- appcode: dbName$1,
27573
+ appcode: dbName,
27575
27574
  filter: {
27576
27575
  rcChargecode: search
27577
27576
  },
@@ -27803,7 +27802,7 @@ var RES_ORDERCATALOG_VITAL_CODE = createAsyncThunk("orderCatalogApiSlice/res_ord
27803
27802
  _ref39 = _args20.length > 1 ? _args20[1] : undefined, rejectWithValue = _ref39.rejectWithValue;
27804
27803
  _context20.p = 1;
27805
27804
  body = {
27806
- appcode: dbName$1,
27805
+ appcode: dbName,
27807
27806
  filter: {
27808
27807
  OrderType: (_payload$label = payload === null || payload === void 0 ? void 0 : payload.label) !== null && _payload$label !== void 0 ? _payload$label : ""
27809
27808
  },
@@ -28005,7 +28004,7 @@ var orderCatalogSlice$1 = orderCatalogSlice.reducer;
28005
28004
  var queries$e = {
28006
28005
  sourceLocationType: function sourceLocationType() {
28007
28006
  return {
28008
- appcode: dbName$1,
28007
+ appcode: dbName,
28009
28008
  filter: {
28010
28009
  Type: "LOCATIONTYPE",
28011
28010
  activestatus: true
@@ -28014,7 +28013,7 @@ var queries$e = {
28014
28013
  },
28015
28014
  orderingFacility: function orderingFacility() {
28016
28015
  return {
28017
- appcode: dbName$1,
28016
+ appcode: dbName,
28018
28017
  filter: {
28019
28018
  active: true,
28020
28019
  activestatus: true
@@ -28023,7 +28022,7 @@ var queries$e = {
28023
28022
  },
28024
28023
  performingDetails: function performingDetails() {
28025
28024
  return {
28026
- appcode: dbName$1,
28025
+ appcode: dbName,
28027
28026
  filter: {
28028
28027
  status: true,
28029
28028
  activestatus: true
@@ -28032,7 +28031,7 @@ var queries$e = {
28032
28031
  },
28033
28032
  sourceLocation: function sourceLocation(list) {
28034
28033
  return {
28035
- appcode: dbName$1,
28034
+ appcode: dbName,
28036
28035
  filter: {
28037
28036
  locationType: list,
28038
28037
  activestatus: true
@@ -28041,7 +28040,7 @@ var queries$e = {
28041
28040
  },
28042
28041
  serviceApplicable: function serviceApplicable() {
28043
28042
  return {
28044
- appcode: dbName$1,
28043
+ appcode: dbName,
28045
28044
  filter: {
28046
28045
  Type: "SERVICEAPPLICABILITY",
28047
28046
  activestatus: true
@@ -28078,7 +28077,7 @@ var generateJson$9 = function generateJson(data, _key) {
28078
28077
  });
28079
28078
  }
28080
28079
  return [_objectSpread2(_objectSpread2({
28081
- "appcode": dbName$1
28080
+ "appcode": dbName
28082
28081
  }, filter), {}, {
28083
28082
  "entity": "CA_PerformingLocationforOrdLocn",
28084
28083
  "is_metadata": true,
@@ -28318,7 +28317,7 @@ var READ_PERFORMINGLOCATION = createAsyncThunk("performLocationSlice/performingL
28318
28317
  _ref10 = _args6.length > 1 ? _args6[1] : undefined, rejectWithValue = _ref10.rejectWithValue, _ref10.getState;
28319
28318
  _context6.p = 1;
28320
28319
  read = {
28321
- appcode: dbName$1,
28320
+ appcode: dbName,
28322
28321
  filter: {
28323
28322
  search: (payload === null || payload === void 0 ? void 0 : payload.search) || "",
28324
28323
  activestatus: true
@@ -28364,7 +28363,7 @@ var STATUS_PERFORMINGLOCATION = createAsyncThunk("performLocationSlice/changeSta
28364
28363
  _context7.p = 1;
28365
28364
  list = payload.list, _key = payload._key;
28366
28365
  queriesjson = [{
28367
- "appcode": dbName$1,
28366
+ "appcode": dbName,
28368
28367
  "entity": "CA_PerformingLocationforOrdLocn",
28369
28368
  "is_metadata": true,
28370
28369
  "metadataId": metaDataId$1,
@@ -28494,7 +28493,7 @@ var upsertData = function upsertData(payload) {
28494
28493
  });
28495
28494
  }
28496
28495
  return [_objectSpread2(_objectSpread2({
28497
- appcode: dbName$1,
28496
+ appcode: dbName,
28498
28497
  entity: "ResourceTimeTable",
28499
28498
  is_metadata: true
28500
28499
  }, filter), {}, {
@@ -28797,7 +28796,7 @@ var actionsList = [{
28797
28796
  var editId = _ref.editId,
28798
28797
  status = _ref.status;
28799
28798
  var body = [{
28800
- appcode: dbName$1,
28799
+ appcode: dbName,
28801
28800
  entity: "ResourceTimeTable",
28802
28801
  filter: "ResourceTimeTable._id==\"".concat(editId, "\""),
28803
28802
  metadataId: metaDataId$1,
@@ -29361,11 +29360,11 @@ var timetableMasterSlice$1 = timetableMasterSlice.reducer;
29361
29360
  var timeTableActions = _objectSpread2({}, timeTableMasterActions);
29362
29361
 
29363
29362
  var query$8 = {
29364
- role_type: "{\n \"appcode\": \"".concat(_dbName$1, "\",\n \"filter\": {\n \"type\": \"RESOURCETYPE\",\n \"activestatus\": true\n }\n}"),
29365
- all_practitioner: "{\n \"appcode\": \"".concat(_dbName$1, "\",\n \"filter\": {\n \"status\": true\n }\n}"),
29363
+ role_type: "{\n \"appcode\": \"".concat(_dbName, "\",\n \"filter\": {\n \"type\": \"RESOURCETYPE\",\n \"activestatus\": true\n }\n}"),
29364
+ all_practitioner: "{\n \"appcode\": \"".concat(_dbName, "\",\n \"filter\": {\n \"status\": true\n }\n}"),
29366
29365
  practitoner_slot: function practitoner_slot(startDate, endDate, practitonerId) {
29367
29366
  return {
29368
- appcode: _dbName$1,
29367
+ appcode: _dbName,
29369
29368
  filter: {
29370
29369
  start: parseInt("".concat(startDate)),
29371
29370
  end: parseInt("".concat(endDate)),
@@ -29376,7 +29375,7 @@ var query$8 = {
29376
29375
  },
29377
29376
  release_schedule: function release_schedule(startDate, endDate, practitonerId, reason) {
29378
29377
  return {
29379
- appcode: _dbName$1,
29378
+ appcode: _dbName,
29380
29379
  practitionerId: parseInt("".concat(practitonerId)),
29381
29380
  start: parseInt("".concat(startDate)),
29382
29381
  end: parseInt("".concat(endDate)),
@@ -29385,7 +29384,7 @@ var query$8 = {
29385
29384
  },
29386
29385
  block_schedule: function block_schedule(startDate, endDate, practitonerId, reason) {
29387
29386
  return {
29388
- appcode: _dbName$1,
29387
+ appcode: _dbName,
29389
29388
  practitionerId: parseInt("".concat(practitonerId)),
29390
29389
  start: parseInt("".concat(startDate)),
29391
29390
  end: parseInt("".concat(endDate)),
@@ -29394,7 +29393,7 @@ var query$8 = {
29394
29393
  },
29395
29394
  block_partial: function block_partial(startDate, endDate, starttime, endtime, practitonerId, days, reason) {
29396
29395
  return {
29397
- appcode: _dbName$1,
29396
+ appcode: _dbName,
29398
29397
  practitionerId: parseInt("".concat(practitonerId)),
29399
29398
  startDate: "".concat(startDate),
29400
29399
  endDate: "".concat(endDate),
@@ -29404,10 +29403,10 @@ var query$8 = {
29404
29403
  blockreason: "".concat(reason)
29405
29404
  };
29406
29405
  },
29407
- release_block_reason: "{\n \"appcode\": \"".concat(_dbName$1, "\",\n \"filter\": {\n \"activestatus\": true\n }\n}"),
29406
+ release_block_reason: "{\n \"appcode\": \"".concat(_dbName, "\",\n \"filter\": {\n \"activestatus\": true\n }\n}"),
29408
29407
  specific_slots: function specific_slots(dayStart, practitonerID, slotStart, slotEnd) {
29409
29408
  return {
29410
- appcode: _dbName$1,
29409
+ appcode: _dbName,
29411
29410
  filter: {
29412
29411
  dayStart: dayStart,
29413
29412
  practitionerID: parseInt(practitonerID),
@@ -29857,7 +29856,7 @@ var availability_management_actions = _objectSpread2(_objectSpread2(_objectSprea
29857
29856
  var queries$d = {
29858
29857
  getTreeStuct: function getTreeStuct(type) {
29859
29858
  return {
29860
- appcode: dbName$1,
29859
+ appcode: dbName,
29861
29860
  requestid: "1016e960-4f36-45f1-8e3e-c24e94de4e5b",
29862
29861
  filter: {
29863
29862
  ParentOrgID: [],
@@ -29868,7 +29867,7 @@ var queries$d = {
29868
29867
  },
29869
29868
  entityType: function entityType() {
29870
29869
  return {
29871
- appcode: dbName$1,
29870
+ appcode: dbName,
29872
29871
  requestid: "506a5dd7-e07d-4218-af28-10bd2e4c0016",
29873
29872
  filter: {
29874
29873
  type: "ORGTYPE",
@@ -29878,7 +29877,7 @@ var queries$d = {
29878
29877
  },
29879
29878
  getParentEntityFull: function getParentEntityFull() {
29880
29879
  return {
29881
- appcode: dbName$1,
29880
+ appcode: dbName,
29882
29881
  requestid: "9f065c19-10c9-41e1-b925-53458964974f",
29883
29882
  filter: {
29884
29883
  id: '',
@@ -29890,7 +29889,7 @@ var queries$d = {
29890
29889
  },
29891
29890
  getParentEntity: function getParentEntity(type) {
29892
29891
  return {
29893
- appcode: dbName$1,
29892
+ appcode: dbName,
29894
29893
  filter: {
29895
29894
  active: true,
29896
29895
  activestatus: true,
@@ -29901,7 +29900,7 @@ var queries$d = {
29901
29900
  },
29902
29901
  getLevelOfCare: function getLevelOfCare() {
29903
29902
  return {
29904
- appcode: dbName$1,
29903
+ appcode: dbName,
29905
29904
  filter: {
29906
29905
  active: true,
29907
29906
  activestatus: true
@@ -29910,7 +29909,7 @@ var queries$d = {
29910
29909
  },
29911
29910
  orgUseIdenifi: function orgUseIdenifi() {
29912
29911
  return {
29913
- appcode: dbName$1,
29912
+ appcode: dbName,
29914
29913
  requestid: "506a5dd7-e07d-4218-af28-10bd2e4c0016",
29915
29914
  filter: {
29916
29915
  type: "USE",
@@ -29920,7 +29919,7 @@ var queries$d = {
29920
29919
  },
29921
29920
  orgIdTypeIdenifi: function orgIdTypeIdenifi() {
29922
29921
  return {
29923
- appcode: dbName$1,
29922
+ appcode: dbName,
29924
29923
  requestid: "506a5dd7-e07d-4218-af28-10bd2e4c0016",
29925
29924
  filter: {
29926
29925
  type: "ORGIDENTIFICATIONTYPE",
@@ -29930,7 +29929,7 @@ var queries$d = {
29930
29929
  },
29931
29930
  aliastype: function aliastype() {
29932
29931
  return {
29933
- appcode: dbName$1,
29932
+ appcode: dbName,
29934
29933
  requestid: "506a5dd7-e07d-4218-af28-10bd2e4c0016",
29935
29934
  filter: {
29936
29935
  type: "ACCOUNTENTITYTYPE",
@@ -29940,7 +29939,7 @@ var queries$d = {
29940
29939
  },
29941
29940
  getTreeDetails: function getTreeDetails(_key) {
29942
29941
  return {
29943
- appcode: dbName$1,
29942
+ appcode: dbName,
29944
29943
  requestid: "05588edb-1b7b-48a1-ab85-d2f8281c4c96",
29945
29944
  filter: {
29946
29945
  key: "".concat(_key)
@@ -29949,7 +29948,7 @@ var queries$d = {
29949
29948
  },
29950
29949
  getParentOrgNameById: function getParentOrgNameById(_key) {
29951
29950
  return {
29952
- appcode: dbName$1,
29951
+ appcode: dbName,
29953
29952
  requestid: "9f065c19-10c9-41e1-b925-53458964974f",
29954
29953
  filter: {
29955
29954
  id: _key,
@@ -29962,7 +29961,7 @@ var queries$d = {
29962
29961
  //UPSERT STATUS
29963
29962
  upsertSatus: function upsertSatus(key, status) {
29964
29963
  return [{
29965
- appcode: dbName$1,
29964
+ appcode: dbName,
29966
29965
  collection: "Organization",
29967
29966
  is_metadata: true,
29968
29967
  metadata_dbname: metaDatadbName$1,
@@ -29977,7 +29976,7 @@ var queries$d = {
29977
29976
  },
29978
29977
  orgAddType: function orgAddType() {
29979
29978
  return {
29980
- appcode: dbName$1,
29979
+ appcode: dbName,
29981
29980
  filter: {
29982
29981
  Type: "ADDRESSTYPE",
29983
29982
  activestatus: true
@@ -29986,7 +29985,7 @@ var queries$d = {
29986
29985
  },
29987
29986
  orgAddUSE: function orgAddUSE() {
29988
29987
  return {
29989
- appcode: dbName$1,
29988
+ appcode: dbName,
29990
29989
  filter: {
29991
29990
  Type: "ADDRESSUSE",
29992
29991
  activestatus: true
@@ -29995,7 +29994,7 @@ var queries$d = {
29995
29994
  },
29996
29995
  orgAddCity: function orgAddCity() {
29997
29996
  return {
29998
- appcode: dbName$1,
29997
+ appcode: dbName,
29999
29998
  filter: {
30000
29999
  geogLevelType: "city",
30001
30000
  activestatus: true,
@@ -30005,7 +30004,7 @@ var queries$d = {
30005
30004
  },
30006
30005
  orgAddDISTRICT: function orgAddDISTRICT(val) {
30007
30006
  return {
30008
- appcode: dbName$1,
30007
+ appcode: dbName,
30009
30008
  filter: {
30010
30009
  geogLevelType: "district",
30011
30010
  _id: val,
@@ -30016,7 +30015,7 @@ var queries$d = {
30016
30015
  },
30017
30016
  orgAddSTATE: function orgAddSTATE(val) {
30018
30017
  return {
30019
- appcode: dbName$1,
30018
+ appcode: dbName,
30020
30019
  filter: {
30021
30020
  geogLevelType: "state",
30022
30021
  _id: val,
@@ -30027,7 +30026,7 @@ var queries$d = {
30027
30026
  },
30028
30027
  orgAddCOUNTRY: function orgAddCOUNTRY(val) {
30029
30028
  return {
30030
- appcode: dbName$1,
30029
+ appcode: dbName,
30031
30030
  filter: {
30032
30031
  geogLevelType: "country",
30033
30032
  _id: val,
@@ -30038,7 +30037,7 @@ var queries$d = {
30038
30037
  },
30039
30038
  orgAddPINCODE: function orgAddPINCODE(val) {
30040
30039
  return {
30041
- appcode: dbName$1,
30040
+ appcode: dbName,
30042
30041
  filter: {
30043
30042
  geogLevelType: "pincode",
30044
30043
  parentGeogLevelCode: val,
@@ -30049,7 +30048,7 @@ var queries$d = {
30049
30048
  },
30050
30049
  orgContactDetailMode: function orgContactDetailMode() {
30051
30050
  return {
30052
- appcode: dbName$1,
30051
+ appcode: dbName,
30053
30052
  filter: {
30054
30053
  Type: "CONTACTSYSTEM",
30055
30054
  activestatus: true
@@ -30058,7 +30057,7 @@ var queries$d = {
30058
30057
  },
30059
30058
  orgContactDetailCode: function orgContactDetailCode() {
30060
30059
  return {
30061
- appcode: dbName$1,
30060
+ appcode: dbName,
30062
30061
  filter: {
30063
30062
  geogLevelType: "country",
30064
30063
  activestatus: true,
@@ -30068,7 +30067,7 @@ var queries$d = {
30068
30067
  },
30069
30068
  orgContactDetailUse: function orgContactDetailUse() {
30070
30069
  return {
30071
- appcode: dbName$1,
30070
+ appcode: dbName,
30072
30071
  filter: {
30073
30072
  Type: "USE",
30074
30073
  activestatus: true
@@ -30077,7 +30076,7 @@ var queries$d = {
30077
30076
  },
30078
30077
  orgContactDetailPriority: function orgContactDetailPriority() {
30079
30078
  return {
30080
- appcode: dbName$1,
30079
+ appcode: dbName,
30081
30080
  filter: {
30082
30081
  Type: "PRIORITY",
30083
30082
  activestatus: true
@@ -30086,7 +30085,7 @@ var queries$d = {
30086
30085
  },
30087
30086
  orgNamePrefix: function orgNamePrefix() {
30088
30087
  return {
30089
- appcode: dbName$1,
30088
+ appcode: dbName,
30090
30089
  filter: {
30091
30090
  Type: "NAMEPREFIX",
30092
30091
  activestatus: true
@@ -30095,7 +30094,7 @@ var queries$d = {
30095
30094
  },
30096
30095
  orgNameSuffix: function orgNameSuffix() {
30097
30096
  return {
30098
- appcode: dbName$1,
30097
+ appcode: dbName,
30099
30098
  filter: {
30100
30099
  Type: "NAMESUFFIX",
30101
30100
  activestatus: true
@@ -30104,7 +30103,7 @@ var queries$d = {
30104
30103
  },
30105
30104
  positionDesi: function positionDesi() {
30106
30105
  return {
30107
- appcode: dbName$1,
30106
+ appcode: dbName,
30108
30107
  filter: {
30109
30108
  Type: "DESIGNATION",
30110
30109
  activestatus: true
@@ -30113,7 +30112,7 @@ var queries$d = {
30113
30112
  },
30114
30113
  SpecialtyDrop: function SpecialtyDrop() {
30115
30114
  return {
30116
- appcode: dbName$1,
30115
+ appcode: dbName,
30117
30116
  filter: {
30118
30117
  Type: "SPECIALTY",
30119
30118
  activestatus: true
@@ -30460,7 +30459,7 @@ var generateJson$8 = {
30460
30459
  id = {};
30461
30460
  }
30462
30461
  return [_objectSpread2(_objectSpread2({
30463
- appcode: dbName$1,
30462
+ appcode: dbName,
30464
30463
  collection: tables.ORGANIZATION_MASTER,
30465
30464
  is_metadata: true,
30466
30465
  metadata_dbname: metaDatadbName$1,
@@ -30863,7 +30862,7 @@ var ORGANIZATION_ENTITY_TYPE = createAsyncThunk("organizationSlice/organizationE
30863
30862
  _ref4 = _args2.length > 1 ? _args2[1] : undefined, rejectWithValue = _ref4.rejectWithValue;
30864
30863
  _context2.p = 1;
30865
30864
  body = {
30866
- "appcode": dbName$1,
30865
+ "appcode": dbName,
30867
30866
  "filter": {
30868
30867
  "type": ["ORGTYPE"],
30869
30868
  "tenantid": "",
@@ -30915,7 +30914,7 @@ var ORGANIZATION_GET_PARENT_ENTITY = createAsyncThunk("organizationSlice/orgParE
30915
30914
  _ref6 = _args3.length > 1 ? _args3[1] : undefined, rejectWithValue = _ref6.rejectWithValue;
30916
30915
  _context3.p = 1;
30917
30916
  body = {
30918
- "appcode": dbName$1,
30917
+ "appcode": dbName,
30919
30918
  "filter": {
30920
30919
  "entityparentcode": payload.entityType,
30921
30920
  "isexternal": payload.isexternal
@@ -30961,7 +30960,7 @@ var ORGANIZATION_GET_LEVEL_CARE = createAsyncThunk("organizationSlice/orgLevelCa
30961
30960
  _ref8 = _args4.length > 1 ? _args4[1] : undefined, rejectWithValue = _ref8.rejectWithValue;
30962
30961
  _context4.p = 1;
30963
30962
  body = {
30964
- "appcode": dbName$1,
30963
+ "appcode": dbName,
30965
30964
  "filter": {
30966
30965
  "tenantid": ""
30967
30966
  },
@@ -31007,7 +31006,7 @@ var ORGANIZATION_GET_USE_IDENTIFICATION = createAsyncThunk("organizationSlice/or
31007
31006
  _ref0 = _args5.length > 1 ? _args5[1] : undefined, rejectWithValue = _ref0.rejectWithValue;
31008
31007
  _context5.p = 1;
31009
31008
  body = {
31010
- "appcode": dbName$1,
31009
+ "appcode": dbName,
31011
31010
  "filter": {
31012
31011
  "type": ["USE"],
31013
31012
  "tenantid": "",
@@ -31058,7 +31057,7 @@ var ORGANIZATION_GET_IDTYPE_IDENTIF = createAsyncThunk("organizationSlice/orgIdT
31058
31057
  _ref10 = _args6.length > 1 ? _args6[1] : undefined, rejectWithValue = _ref10.rejectWithValue;
31059
31058
  _context6.p = 1;
31060
31059
  body = {
31061
- "appcode": dbName$1,
31060
+ "appcode": dbName,
31062
31061
  "filter": {
31063
31062
  "type": ["ORGIDENTIFICATIONTYPE"],
31064
31063
  "tenantid": "",
@@ -31109,7 +31108,7 @@ var ORGANIZATION_GET_ALIAS_TYPE = createAsyncThunk("organizationSlice/aliastype"
31109
31108
  _ref12 = _args7.length > 1 ? _args7[1] : undefined, rejectWithValue = _ref12.rejectWithValue;
31110
31109
  _context7.p = 1;
31111
31110
  body = {
31112
- "appcode": dbName$1,
31111
+ "appcode": dbName,
31113
31112
  "filter": {
31114
31113
  "type": ["ACCOUNTENTITYTYPE"],
31115
31114
  "tenantid": "",
@@ -31247,7 +31246,7 @@ var ORGANIZATION_GET_ADD_TYPE = createAsyncThunk("organizationSlice/orgAddType",
31247
31246
  _ref18 = _args0.length > 1 ? _args0[1] : undefined, rejectWithValue = _ref18.rejectWithValue;
31248
31247
  _context0.p = 1;
31249
31248
  body = {
31250
- "appcode": dbName$1,
31249
+ "appcode": dbName,
31251
31250
  "filter": {
31252
31251
  "type": ["ADDRESSTYPE"],
31253
31252
  "tenantid": "",
@@ -31298,7 +31297,7 @@ var ORGANIZATION_GET_ADD_USE = createAsyncThunk("organizationSlice/orgAddUSE", /
31298
31297
  _ref20 = _args1.length > 1 ? _args1[1] : undefined, rejectWithValue = _ref20.rejectWithValue;
31299
31298
  _context1.p = 1;
31300
31299
  body = {
31301
- "appcode": dbName$1,
31300
+ "appcode": dbName,
31302
31301
  "filter": {
31303
31302
  "type": ["ADDRESSUSE"],
31304
31303
  "tenantid": "",
@@ -31348,7 +31347,7 @@ var ORGANIZATION_GET_ADD_City = createAsyncThunk("organizationSlice/orgAddCity",
31348
31347
  _ref22 = _args10.length > 1 ? _args10[1] : undefined, rejectWithValue = _ref22.rejectWithValue;
31349
31348
  _context10.p = 1;
31350
31349
  body = {
31351
- "appcode": dbName$1,
31350
+ "appcode": dbName,
31352
31351
  "filter": {
31353
31352
  "tenantid": "",
31354
31353
  "facilityid": "",
@@ -31399,7 +31398,7 @@ var ORGANIZATION_GET_ADD_DISTRICT = createAsyncThunk("organizationSlice/orgAddDI
31399
31398
  _ref24 = _args11.length > 1 ? _args11[1] : undefined, rejectWithValue = _ref24.rejectWithValue;
31400
31399
  _context11.p = 1;
31401
31400
  body = {
31402
- "appcode": dbName$1,
31401
+ "appcode": dbName,
31403
31402
  "filter": {
31404
31403
  "_id": payload.val,
31405
31404
  "tenantid": "",
@@ -31450,7 +31449,7 @@ var ORGANIZATION_GET_AddSTATE = createAsyncThunk("organizationSlice/orgAddSTATE"
31450
31449
  _ref26 = _args12.length > 1 ? _args12[1] : undefined, rejectWithValue = _ref26.rejectWithValue;
31451
31450
  _context12.p = 1;
31452
31451
  body = {
31453
- "appcode": dbName$1,
31452
+ "appcode": dbName,
31454
31453
  "filter": {
31455
31454
  "_id": payload.val,
31456
31455
  "tenantid": "",
@@ -31501,7 +31500,7 @@ var ORGANIZATION_GET_COUNTRY = createAsyncThunk("organizationSlice/orgAddCOUNTRY
31501
31500
  _ref28 = _args13.length > 1 ? _args13[1] : undefined, rejectWithValue = _ref28.rejectWithValue;
31502
31501
  _context13.p = 1;
31503
31502
  body = {
31504
- "appcode": dbName$1,
31503
+ "appcode": dbName,
31505
31504
  "filter": {
31506
31505
  "_id": payload.val,
31507
31506
  "tenantid": "",
@@ -31552,7 +31551,7 @@ var ORGANIZATION_GET_PINCODE = createAsyncThunk("organizationSlice/orgAddPINCODE
31552
31551
  _ref30 = _args14.length > 1 ? _args14[1] : undefined, rejectWithValue = _ref30.rejectWithValue;
31553
31552
  _context14.p = 1;
31554
31553
  body = {
31555
- "appcode": dbName$1,
31554
+ "appcode": dbName,
31556
31555
  "filter": {
31557
31556
  "_id": payload.val,
31558
31557
  "tenantid": "",
@@ -31602,7 +31601,7 @@ var ORGANIZATION_GET_CONTACTDETAILMODE = createAsyncThunk("organizationSlice/org
31602
31601
  _ref32 = _args15.length > 1 ? _args15[1] : undefined, rejectWithValue = _ref32.rejectWithValue;
31603
31602
  _context15.p = 1;
31604
31603
  body = {
31605
- "appcode": dbName$1,
31604
+ "appcode": dbName,
31606
31605
  "filter": {
31607
31606
  "type": ["CONTACTSYSTEM"],
31608
31607
  "tenantid": "",
@@ -31652,7 +31651,7 @@ var ORGANIZATION_GET_CONNTACTDETAILCODE = createAsyncThunk("organizationSlice/or
31652
31651
  _ref34 = _args16.length > 1 ? _args16[1] : undefined, rejectWithValue = _ref34.rejectWithValue;
31653
31652
  _context16.p = 1;
31654
31653
  body = {
31655
- "appcode": dbName$1,
31654
+ "appcode": dbName,
31656
31655
  "filter": {
31657
31656
  "tenantid": "",
31658
31657
  "facilityid": ""
@@ -31699,7 +31698,7 @@ var ORGANIZATION_GET_CONTACTDETAILUSE = createAsyncThunk("organizationSlice/orgC
31699
31698
  _ref36 = _args17.length > 1 ? _args17[1] : undefined, rejectWithValue = _ref36.rejectWithValue;
31700
31699
  _context17.p = 1;
31701
31700
  body = {
31702
- "appcode": dbName$1,
31701
+ "appcode": dbName,
31703
31702
  "filter": {
31704
31703
  "type": ["USE"],
31705
31704
  "tenantid": "",
@@ -31749,7 +31748,7 @@ var ORGANIZATION_GET_CONTACTTENANT = createAsyncThunk("organizationSlice/orgSett
31749
31748
  _ref38 = _args18.length > 1 ? _args18[1] : undefined, rejectWithValue = _ref38.rejectWithValue;
31750
31749
  _context18.p = 1;
31751
31750
  body = {
31752
- "appcode": dbName$1,
31751
+ "appcode": dbName,
31753
31752
  "requestid": "cb346b53-7018-4007-9a28-50c9c59e2741"
31754
31753
  };
31755
31754
  _context18.n = 2;
@@ -31794,7 +31793,7 @@ var ORGANIZATION_GET_CURRENCY = createAsyncThunk("organizationSlice/orgSettingsC
31794
31793
  _ref40 = _args19.length > 1 ? _args19[1] : undefined, rejectWithValue = _ref40.rejectWithValue;
31795
31794
  _context19.p = 1;
31796
31795
  body = {
31797
- "appcode": dbName$1,
31796
+ "appcode": dbName,
31798
31797
  "requestid": "0b3567ce-f714-40da-bdcf-5ae626ab6a41"
31799
31798
  };
31800
31799
  _context19.n = 2;
@@ -31839,7 +31838,7 @@ var ORGANIZATION_GET_TIMEZONE = createAsyncThunk("organizationSlice/orgSettingsT
31839
31838
  _ref42 = _args20.length > 1 ? _args20[1] : undefined, rejectWithValue = _ref42.rejectWithValue;
31840
31839
  _context20.p = 1;
31841
31840
  body = {
31842
- "appcode": dbName$1,
31841
+ "appcode": dbName,
31843
31842
  "requestid": "f8af620d-1ceb-49c0-a418-32166421d2ca"
31844
31843
  };
31845
31844
  _context20.n = 2;
@@ -31885,7 +31884,7 @@ var ORGANIZATION_GET_CONTACTDETAILPRIORITY = createAsyncThunk("organizationSlice
31885
31884
  _ref44 = _args21.length > 1 ? _args21[1] : undefined, rejectWithValue = _ref44.rejectWithValue;
31886
31885
  _context21.p = 1;
31887
31886
  body = {
31888
- "appcode": dbName$1,
31887
+ "appcode": dbName,
31889
31888
  "filter": {
31890
31889
  "type": ["PRIORITY"],
31891
31890
  "tenantid": "",
@@ -31936,7 +31935,7 @@ var ORGANIZATION_GET_CONTACT_PREFIX = createAsyncThunk("organizationSlice/orgNam
31936
31935
  _ref46 = _args22.length > 1 ? _args22[1] : undefined, rejectWithValue = _ref46.rejectWithValue;
31937
31936
  _context22.p = 1;
31938
31937
  body = {
31939
- "appcode": dbName$1,
31938
+ "appcode": dbName,
31940
31939
  "filter": {
31941
31940
  "type": ["NAMEPREFIX"],
31942
31941
  "tenantid": "",
@@ -31987,7 +31986,7 @@ var ORGANIZATION_GET_CONTACT_SUFFIX = createAsyncThunk("organizationSlice/orgNam
31987
31986
  _ref48 = _args23.length > 1 ? _args23[1] : undefined, rejectWithValue = _ref48.rejectWithValue;
31988
31987
  _context23.p = 1;
31989
31988
  body = {
31990
- "appcode": dbName$1,
31989
+ "appcode": dbName,
31991
31990
  "filter": {
31992
31991
  "type": ["NAMESUFFIX"],
31993
31992
  "tenantid": "",
@@ -32038,7 +32037,7 @@ var ORGANIZATION_GET_CONTACT_DESI = createAsyncThunk("organizationSlice/position
32038
32037
  _ref50 = _args24.length > 1 ? _args24[1] : undefined, rejectWithValue = _ref50.rejectWithValue;
32039
32038
  _context24.p = 1;
32040
32039
  body = {
32041
- "appcode": dbName$1,
32040
+ "appcode": dbName,
32042
32041
  "filter": {
32043
32042
  "type": ["DESIGNATION"],
32044
32043
  "tenantid": "",
@@ -32176,7 +32175,7 @@ var ORGANIZATION_GET_SPECIALTY_DROP = createAsyncThunk("organizationSlice/specia
32176
32175
  _ref56 = _args27.length > 1 ? _args27[1] : undefined, rejectWithValue = _ref56.rejectWithValue;
32177
32176
  _context27.p = 1;
32178
32177
  body = {
32179
- "appcode": dbName$1,
32178
+ "appcode": dbName,
32180
32179
  "requestid": "1d4c8251-2f08-4ee1-846e-3c3319b3a061"
32181
32180
  };
32182
32181
  _context27.n = 2;
@@ -32221,7 +32220,7 @@ var ORGANIZATION_GET_CONTACTDETAILROUNDOFFMODE = createAsyncThunk("organizationS
32221
32220
  _ref58 = _args28.length > 1 ? _args28[1] : undefined, rejectWithValue = _ref58.rejectWithValue;
32222
32221
  _context28.p = 1;
32223
32222
  body = {
32224
- appcode: dbName$1,
32223
+ appcode: dbName,
32225
32224
  filter: {
32226
32225
  type: ["ROUNDOFFMODE"],
32227
32226
  tenantid: "",
@@ -32274,7 +32273,7 @@ var ORG_NURSE_STATUS = createAsyncThunk("organizationSlice/orgNurseStatus", /*#_
32274
32273
  _ref60 = _args29.length > 1 ? _args29[1] : undefined, rejectWithValue = _ref60.rejectWithValue;
32275
32274
  _context29.p = 1;
32276
32275
  body = {
32277
- appcode: dbName$1,
32276
+ appcode: dbName,
32278
32277
  filter: {
32279
32278
  type: "NURSEAVAILABILITY",
32280
32279
  status: true,
@@ -32571,7 +32570,7 @@ var organization_role_actions = _objectSpread2({}, organizationActions);
32571
32570
  var queries$c = {
32572
32571
  careTypeRead: function careTypeRead(page, perPage, search) {
32573
32572
  return {
32574
- appcode: dbName$1,
32573
+ appcode: dbName,
32575
32574
  filter: {
32576
32575
  search: search || "",
32577
32576
  activestatus: true
@@ -32584,7 +32583,7 @@ var queries$c = {
32584
32583
  },
32585
32584
  levelOfCareRead: function levelOfCareRead(page, perPage, search) {
32586
32585
  return {
32587
- appcode: dbName$1,
32586
+ appcode: dbName,
32588
32587
  filter: {
32589
32588
  search: search || "",
32590
32589
  activestatus: true
@@ -32597,7 +32596,7 @@ var queries$c = {
32597
32596
  },
32598
32597
  levelOfCareSinleRead: function levelOfCareSinleRead(key) {
32599
32598
  return {
32600
- appcode: dbName$1,
32599
+ appcode: dbName,
32601
32600
  filter: {
32602
32601
  key: key,
32603
32602
  activestatus: true
@@ -32606,7 +32605,7 @@ var queries$c = {
32606
32605
  },
32607
32606
  status_update_level_of_care: function status_update_level_of_care(data) {
32608
32607
  return [{
32609
- appcode: dbName$1,
32608
+ appcode: dbName,
32610
32609
  entity: "LevelOfCare",
32611
32610
  filter: {
32612
32611
  _key: data._key
@@ -32629,7 +32628,7 @@ var queries$c = {
32629
32628
  };
32630
32629
  }
32631
32630
  return [_objectSpread2(_objectSpread2({
32632
- appcode: dbName$1,
32631
+ appcode: dbName,
32633
32632
  entity: "LevelOfCare"
32634
32633
  }, filter), {}, {
32635
32634
  is_metadata: true,
@@ -32647,7 +32646,7 @@ var queries$c = {
32647
32646
  //HEALTH CARE SERVICE READ
32648
32647
  healthCareServiceRead: function healthCareServiceRead(page, perPage, search) {
32649
32648
  return {
32650
- appcode: dbName$1,
32649
+ appcode: dbName,
32651
32650
  filter: {
32652
32651
  search: search || "",
32653
32652
  activestatus: true
@@ -32661,7 +32660,7 @@ var queries$c = {
32661
32660
  //HEALTH CARE SERVICE STATUS CHANGE
32662
32661
  healthCareServiceStatusChange: function healthCareServiceStatusChange(data) {
32663
32662
  return [{
32664
- appcode: dbName$1,
32663
+ appcode: dbName,
32665
32664
  entity: "HealthcareService",
32666
32665
  filter: {
32667
32666
  _key: data._key
@@ -32676,7 +32675,7 @@ var queries$c = {
32676
32675
  },
32677
32676
  editHealthCareService: function editHealthCareService(_key) {
32678
32677
  return {
32679
- appcode: dbName$1,
32678
+ appcode: dbName,
32680
32679
  filter: {
32681
32680
  key: _key,
32682
32681
  activestatus: true
@@ -32686,7 +32685,7 @@ var queries$c = {
32686
32685
  //SPECIALITY READ
32687
32686
  specialityRead: function specialityRead() {
32688
32687
  return {
32689
- appcode: dbName$1,
32688
+ appcode: dbName,
32690
32689
  filter: {
32691
32690
  parentspecialtyCode: "",
32692
32691
  activestatus: true
@@ -32696,7 +32695,7 @@ var queries$c = {
32696
32695
  //SPECIALITY CHILD READ
32697
32696
  specialityChildRead: function specialityChildRead(id) {
32698
32697
  return {
32699
- appcode: dbName$1,
32698
+ appcode: dbName,
32700
32699
  filter: {
32701
32700
  parentspecialtyCode: id,
32702
32701
  activestatus: true
@@ -32706,7 +32705,7 @@ var queries$c = {
32706
32705
  //SPECIALITY EDIT
32707
32706
  editSpeciality: function editSpeciality(_key) {
32708
32707
  return {
32709
- appcode: dbName$1,
32708
+ appcode: dbName,
32710
32709
  filter: {
32711
32710
  key: _key,
32712
32711
  activestatus: true
@@ -32726,7 +32725,7 @@ var generateJson$7 = function generateJson(data) {
32726
32725
  };
32727
32726
  }
32728
32727
  var arr = [_objectSpread2(_objectSpread2({
32729
- "appcode": dbName$1,
32728
+ "appcode": dbName,
32730
32729
  "entity": "HealthcareService"
32731
32730
  }, filter), {}, {
32732
32731
  "is_metadata": true,
@@ -32770,7 +32769,7 @@ var generateJsonSpeciality = function generateJsonSpeciality(data) {
32770
32769
  };
32771
32770
  }
32772
32771
  var arr = [_objectSpread2(_objectSpread2({
32773
- "appcode": dbName$1,
32772
+ "appcode": dbName,
32774
32773
  "entity": "Specialty"
32775
32774
  }, filter), {}, {
32776
32775
  "is_metadata": true,
@@ -32905,7 +32904,7 @@ var generateapplicableFacility = function generateapplicableFacility(data, state
32905
32904
  var masterQuery$5 = {
32906
32905
  careTypeMasterQuery: function careTypeMasterQuery() {
32907
32906
  return {
32908
- appcode: _dbName$1,
32907
+ appcode: _dbName,
32909
32908
  filter: {
32910
32909
  activestatus: true
32911
32910
  }
@@ -32913,7 +32912,7 @@ var masterQuery$5 = {
32913
32912
  },
32914
32913
  healthcareservice_LocationDescription_MasterQuery: function healthcareservice_LocationDescription_MasterQuery(id) {
32915
32914
  return {
32916
- appcode: _dbName$1,
32915
+ appcode: _dbName,
32917
32916
  filter: {
32918
32917
  locationType: id,
32919
32918
  activestatus: true
@@ -32922,7 +32921,7 @@ var masterQuery$5 = {
32922
32921
  },
32923
32922
  specialityMasterParentSpeciality: function specialityMasterParentSpeciality() {
32924
32923
  return {
32925
- appcode: _dbName$1,
32924
+ appcode: _dbName,
32926
32925
  filter: {
32927
32926
  activestatus: true
32928
32927
  }
@@ -32930,7 +32929,7 @@ var masterQuery$5 = {
32930
32929
  },
32931
32930
  specialityMasterFacility: function specialityMasterFacility() {
32932
32931
  return {
32933
- appcode: _dbName$1,
32932
+ appcode: _dbName,
32934
32933
  filter: {
32935
32934
  activestatus: true,
32936
32935
  OrgType: "facility"
@@ -32939,11 +32938,11 @@ var masterQuery$5 = {
32939
32938
  }
32940
32939
  };
32941
32940
  var masterQueryHealthCareService = {
32942
- serviceCategory: "{\n \"appcode\": \"".concat(_dbName$1, "\",\n \"filter\": {\n \"Type\": \"SERVICECATEGORY\",\n \"activestatus\": true\n }\n }"),
32943
- serviceType: "{\n \"appcode\": \"".concat(_dbName$1, "\",\n \"filter\": {\n \"Type\": \"SERVICETYPE\",\n \"activestatus\": true\n }\n }"),
32944
- speciality: "{\n \"appcode\": \"".concat(_dbName$1, "\",\n \"filter\": {\n \"Type\": \"SPECIALTY\",\n \"activestatus\": true\n }\n }"),
32945
- facilityName: "{\n \"appcode\": \"".concat(_dbName$1, "\",\n \"filter\": {\n \"OrgType\": \"facility\",\n \"activestatus\": true\n }\n }"),
32946
- locationType: "{\n \"appcode\": \"".concat(_dbName$1, "\",\n \"filter\": {\n \"Type\": \"LOCATIONTYPE\",\n \"activestatus\": true\n }\n }")
32941
+ serviceCategory: "{\n \"appcode\": \"".concat(_dbName, "\",\n \"filter\": {\n \"Type\": \"SERVICECATEGORY\",\n \"activestatus\": true\n }\n }"),
32942
+ serviceType: "{\n \"appcode\": \"".concat(_dbName, "\",\n \"filter\": {\n \"Type\": \"SERVICETYPE\",\n \"activestatus\": true\n }\n }"),
32943
+ speciality: "{\n \"appcode\": \"".concat(_dbName, "\",\n \"filter\": {\n \"Type\": \"SPECIALTY\",\n \"activestatus\": true\n }\n }"),
32944
+ facilityName: "{\n \"appcode\": \"".concat(_dbName, "\",\n \"filter\": {\n \"OrgType\": \"facility\",\n \"activestatus\": true\n }\n }"),
32945
+ locationType: "{\n \"appcode\": \"".concat(_dbName, "\",\n \"filter\": {\n \"Type\": \"LOCATIONTYPE\",\n \"activestatus\": true\n }\n }")
32947
32946
  };
32948
32947
 
32949
32948
  var _extraReducers$l;
@@ -33963,7 +33962,7 @@ var organization_config_master_action = _objectSpread2({}, organizationConfigMas
33963
33962
  var query$7 = {
33964
33963
  signInRead: function signInRead(list) {
33965
33964
  return {
33966
- appcode: dbName$1,
33965
+ appcode: dbName,
33967
33966
  filter: {
33968
33967
  email: "".concat(list),
33969
33968
  activestatus: true
@@ -33972,7 +33971,7 @@ var query$7 = {
33972
33971
  },
33973
33972
  IdmGetPermission: function IdmGetPermission(id) {
33974
33973
  return {
33975
- appcode: "".concat(dbName$1),
33974
+ appcode: "".concat(dbName),
33976
33975
  filter: {
33977
33976
  roleId: id,
33978
33977
  activestatus: true
@@ -34042,7 +34041,7 @@ var SEARCH_PRACTIONER = createAsyncThunk("signInApiSlice/SearchPractioner", /*#_
34042
34041
  _context2.p = 1;
34043
34042
  _payload$email = payload.email, email = _payload$email === void 0 ? "" : _payload$email;
34044
34043
  body = {
34045
- appcode: dbName$1,
34044
+ appcode: dbName,
34046
34045
  requestid: query_ids["signInApiSlice/SearchPractioner"],
34047
34046
  filter: {
34048
34047
  emailId: email
@@ -34083,7 +34082,7 @@ var GET_PERMISSION_ROLE_DATA = createAsyncThunk("signInApiSlice/getpermissiondat
34083
34082
  _context3.p = 1;
34084
34083
  id = payload.id;
34085
34084
  body = {
34086
- appcode: dbName$1,
34085
+ appcode: dbName,
34087
34086
  requestid: query_ids["signInApiSlice/getpermissiondata"],
34088
34087
  filter: {
34089
34088
  roleId: id
@@ -34305,7 +34304,7 @@ var sign_in_actions = _objectSpread2({}, signinActions);
34305
34304
  var queries$b = {
34306
34305
  role_read: function role_read(data) {
34307
34306
  return {
34308
- "appcode": dbName$1,
34307
+ "appcode": dbName,
34309
34308
  "filter": {
34310
34309
  "Type": "PRACTROLE",
34311
34310
  "status": true
@@ -34320,13 +34319,13 @@ var queries$b = {
34320
34319
  };
34321
34320
  }
34322
34321
  return {
34323
- "appcode": dbName$1,
34322
+ "appcode": dbName,
34324
34323
  "filter": _objectSpread2({}, filter)
34325
34324
  };
34326
34325
  },
34327
34326
  permission_management_read: function permission_management_read(data) {
34328
34327
  return {
34329
- "appcode": dbName$1,
34328
+ "appcode": dbName,
34330
34329
  "filter": {}
34331
34330
  };
34332
34331
  },
@@ -34340,7 +34339,7 @@ var queries$b = {
34340
34339
  };
34341
34340
  }
34342
34341
  return [_objectSpread2(_objectSpread2({
34343
- "appcode": dbName$1,
34342
+ "appcode": dbName,
34344
34343
  "entity": "PermissionRoleMapping",
34345
34344
  "is_metadata": true,
34346
34345
  "metadataId": metaDataId$1,
@@ -34359,7 +34358,7 @@ var queries$b = {
34359
34358
  };
34360
34359
  }
34361
34360
  return [_objectSpread2(_objectSpread2({
34362
- "appcode": dbName$1,
34361
+ "appcode": dbName,
34363
34362
  "entity": "CodeableConceptMaster",
34364
34363
  "is_metadata": true,
34365
34364
  "metadataId": metaDataId$1,
@@ -34378,7 +34377,7 @@ var queries$b = {
34378
34377
  };
34379
34378
  }
34380
34379
  return [_objectSpread2({
34381
- "db_name": dbName$1,
34380
+ "db_name": dbName,
34382
34381
  "entity": "CodeableConceptMaster",
34383
34382
  // "is_metadata": true,
34384
34383
  "metadataId": metaDataId$1,
@@ -34387,7 +34386,7 @@ var queries$b = {
34387
34386
  },
34388
34387
  coding_update: function coding_update(data) {
34389
34388
  return [{
34390
- "db_name": dbName$1,
34389
+ "db_name": dbName,
34391
34390
  "entity": "CodingMaster",
34392
34391
  "is_metadata": true,
34393
34392
  "metadataId": metaDataId$1,
@@ -34735,7 +34734,7 @@ var roles_actions = _objectSpread2({}, roleActions);
34735
34734
  var queries$a = {
34736
34735
  role_read: function role_read(data) {
34737
34736
  return {
34738
- "appcode": dbName$1,
34737
+ "appcode": dbName,
34739
34738
  "filter": {
34740
34739
  "Type": "PRACTROLE",
34741
34740
  "status": true
@@ -34750,13 +34749,13 @@ var queries$a = {
34750
34749
  };
34751
34750
  }
34752
34751
  return {
34753
- "appcode": dbName$1,
34752
+ "appcode": dbName,
34754
34753
  "filter": _objectSpread2({}, filter)
34755
34754
  };
34756
34755
  },
34757
34756
  repository_read: function repository_read(data) {
34758
34757
  return {
34759
- "appcode": dbName$1,
34758
+ "appcode": dbName,
34760
34759
  "filter": {
34761
34760
  "rep_id": "cb98c91e-6643-4309-b15c-fd65990f57d6"
34762
34761
  }
@@ -34827,7 +34826,7 @@ var repository_actions = _objectSpread2({}, repositoryActions);
34827
34826
  var queries$9 = {
34828
34827
  permission_read: function permission_read(data) {
34829
34828
  return {
34830
- "appcode": dbName$1,
34829
+ "appcode": dbName,
34831
34830
  "filter": {
34832
34831
  "activestatus": true
34833
34832
  }
@@ -34841,7 +34840,7 @@ var queries$9 = {
34841
34840
  };
34842
34841
  }
34843
34842
  return _objectSpread2({
34844
- "db_name": dbName$1,
34843
+ "db_name": dbName,
34845
34844
  "entity": "PermissionManagement",
34846
34845
  // "is_metadata": true,
34847
34846
  "metadataId": metaDataId$1,
@@ -34858,7 +34857,7 @@ var queries$9 = {
34858
34857
  };
34859
34858
  }
34860
34859
  return [_objectSpread2(_objectSpread2({
34861
- "appcode": dbName$1,
34860
+ "appcode": dbName,
34862
34861
  "entity": "PermissionManagement",
34863
34862
  "is_metadata": true,
34864
34863
  "metadataId": metaDataId$1,
@@ -35027,14 +35026,14 @@ var queries$8 = {
35027
35026
  var queryPayload = null;
35028
35027
  if (withoutLimit) {
35029
35028
  queryPayload = {
35030
- "appcode": dbName$1,
35029
+ "appcode": dbName,
35031
35030
  "filter": {
35032
35031
  "activestatus": true
35033
35032
  }
35034
35033
  };
35035
35034
  } else {
35036
35035
  queryPayload = {
35037
- "appcode": dbName$1,
35036
+ "appcode": dbName,
35038
35037
  "filter": {
35039
35038
  "search": search !== null && search !== void 0 ? search : "",
35040
35039
  "activestatus": true
@@ -35057,7 +35056,7 @@ var queries$8 = {
35057
35056
  };
35058
35057
  }
35059
35058
  return [_objectSpread2({
35060
- "appcode": dbName$1,
35059
+ "appcode": dbName,
35061
35060
  "entity": "Person",
35062
35061
  "metadataId": metaDataId$1,
35063
35062
  "metadata_dbname": metaDatadbName$1
@@ -35074,7 +35073,7 @@ var queries$8 = {
35074
35073
  }
35075
35074
  delete data._key;
35076
35075
  return [_objectSpread2(_objectSpread2({
35077
- "appcode": dbName$1,
35076
+ "appcode": dbName,
35078
35077
  "entity": "Person",
35079
35078
  "is_metadata": true,
35080
35079
  "metadataId": metaDataId$1,
@@ -35085,7 +35084,7 @@ var queries$8 = {
35085
35084
  },
35086
35085
  contact_system_master: function contact_system_master(data) {
35087
35086
  return {
35088
- "appcode": dbName$1,
35087
+ "appcode": dbName,
35089
35088
  "filter": {
35090
35089
  "Type": "CONTACTSYSTEM",
35091
35090
  "activestatus": true
@@ -35094,7 +35093,7 @@ var queries$8 = {
35094
35093
  },
35095
35094
  entity_name_master: function entity_name_master(data) {
35096
35095
  return {
35097
- "appcode": dbName$1,
35096
+ "appcode": dbName,
35098
35097
  "filter": {
35099
35098
  "OrgType": data,
35100
35099
  "active": true
@@ -35103,7 +35102,7 @@ var queries$8 = {
35103
35102
  },
35104
35103
  speciality_by_entity_name: function speciality_by_entity_name(id) {
35105
35104
  return {
35106
- "appcode": dbName$1,
35105
+ "appcode": dbName,
35107
35106
  "filter": {
35108
35107
  "id": id,
35109
35108
  "activestatus": true,
@@ -35113,7 +35112,7 @@ var queries$8 = {
35113
35112
  },
35114
35113
  entity_type_master: function entity_type_master(data) {
35115
35114
  return {
35116
- "appcode": dbName$1,
35115
+ "appcode": dbName,
35117
35116
  "filter": {
35118
35117
  "Type": "ORGTYPE",
35119
35118
  "activestatus": true
@@ -35122,7 +35121,7 @@ var queries$8 = {
35122
35121
  },
35123
35122
  gender_master: function gender_master(data) {
35124
35123
  return {
35125
- "appcode": dbName$1,
35124
+ "appcode": dbName,
35126
35125
  "filter": {
35127
35126
  "Type": "GENDER",
35128
35127
  "activestatus": true
@@ -35131,7 +35130,7 @@ var queries$8 = {
35131
35130
  },
35132
35131
  id_type_master: function id_type_master(data) {
35133
35132
  return {
35134
- "appcode": dbName$1,
35133
+ "appcode": dbName,
35135
35134
  "filter": {
35136
35135
  "Type": "ALTERNATEIDTYPE",
35137
35136
  "activestatus": true
@@ -35140,7 +35139,7 @@ var queries$8 = {
35140
35139
  },
35141
35140
  prefix_master: function prefix_master(data) {
35142
35141
  return {
35143
- "appcode": dbName$1,
35142
+ "appcode": dbName,
35144
35143
  "filter": {
35145
35144
  "Type": "NAMEPREFIX",
35146
35145
  "activestatus": true
@@ -35149,7 +35148,7 @@ var queries$8 = {
35149
35148
  },
35150
35149
  priority_master: function priority_master(data) {
35151
35150
  return {
35152
- "appcode": dbName$1,
35151
+ "appcode": dbName,
35153
35152
  "filter": {
35154
35153
  "Type": "PRIORITY",
35155
35154
  "activestatus": true
@@ -35158,7 +35157,7 @@ var queries$8 = {
35158
35157
  },
35159
35158
  surffix_master: function surffix_master(data) {
35160
35159
  return {
35161
- "appcode": dbName$1,
35160
+ "appcode": dbName,
35162
35161
  "filter": {
35163
35162
  "Type": "NAMESUFFIX",
35164
35163
  "activestatus": true
@@ -35167,7 +35166,7 @@ var queries$8 = {
35167
35166
  },
35168
35167
  use_master: function use_master(data) {
35169
35168
  return {
35170
- "appcode": dbName$1,
35169
+ "appcode": dbName,
35171
35170
  "filter": {
35172
35171
  "Type": "USE",
35173
35172
  "activestatus": true
@@ -35176,7 +35175,7 @@ var queries$8 = {
35176
35175
  },
35177
35176
  single_read_person: function single_read_person(data) {
35178
35177
  return {
35179
- "appcode": dbName$1,
35178
+ "appcode": dbName,
35180
35179
  "filter": {
35181
35180
  "_key": data._key,
35182
35181
  "activestatus": true
@@ -35901,7 +35900,7 @@ var person_actions = _objectSpread2({}, personActions);
35901
35900
  var queries$7 = {
35902
35901
  user_read: function user_read(data) {
35903
35902
  return {
35904
- "appcode": dbName$1,
35903
+ "appcode": dbName,
35905
35904
  "filter": {
35906
35905
  "activestatus": true
35907
35906
  }
@@ -35917,7 +35916,7 @@ var queries$7 = {
35917
35916
  };
35918
35917
  }
35919
35918
  return [_objectSpread2({
35920
- "db_name": dbName$1,
35919
+ "db_name": dbName,
35921
35920
  "entity": "Practitioner",
35922
35921
  // "is_metadata": true,
35923
35922
  "metadataId": metaDataId$1,
@@ -35934,7 +35933,7 @@ var queries$7 = {
35934
35933
  };
35935
35934
  }
35936
35935
  return [_objectSpread2(_objectSpread2({
35937
- "appcode": dbName$1,
35936
+ "appcode": dbName,
35938
35937
  "entity": "Practitioner",
35939
35938
  "is_metadata": true,
35940
35939
  "metadataId": metaDataId$1,
@@ -35945,7 +35944,7 @@ var queries$7 = {
35945
35944
  },
35946
35945
  practitioner_by_id: function practitioner_by_id(data) {
35947
35946
  return {
35948
- "appcode": dbName$1,
35947
+ "appcode": dbName,
35949
35948
  "filter": {
35950
35949
  "_id": "".concat(data === null || data === void 0 ? void 0 : data.id),
35951
35950
  "personID": data === null || data === void 0 ? void 0 : data.PersonID,
@@ -35955,7 +35954,7 @@ var queries$7 = {
35955
35954
  },
35956
35955
  check_practioner: function check_practioner(data) {
35957
35956
  return {
35958
- "appcode": dbName$1,
35957
+ "appcode": dbName,
35959
35958
  "filter": {
35960
35959
  "personID": data,
35961
35960
  "activestatus": true
@@ -36136,7 +36135,7 @@ var queries$6 = {
36136
36135
  parameterSetupAdminRead: function parameterSetupAdminRead(page, perPage) {
36137
36136
  var search = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : "";
36138
36137
  return {
36139
- appcode: dbName$1,
36138
+ appcode: dbName,
36140
36139
  requestid: "f7e3ce80-3b34-457e-af4d-ef7781dc0f6a",
36141
36140
  filter: {
36142
36141
  search: search || "",
@@ -36155,7 +36154,7 @@ var queries$6 = {
36155
36154
  };
36156
36155
  }
36157
36156
  return [_objectSpread2(_objectSpread2({
36158
- appcode: dbName$1,
36157
+ appcode: dbName,
36159
36158
  entity: "EntityParametersSetup",
36160
36159
  is_metadata: true
36161
36160
  }, filter), {}, {
@@ -36172,7 +36171,7 @@ var queries$6 = {
36172
36171
  },
36173
36172
  parameterSetupAdminSingleRead: function parameterSetupAdminSingleRead(key) {
36174
36173
  return {
36175
- appcode: dbName$1,
36174
+ appcode: dbName,
36176
36175
  filter: {
36177
36176
  _id: "".concat(key),
36178
36177
  activestatus: true
@@ -36361,13 +36360,13 @@ var parameterSetupSlice$1 = parameterSetupSlice.reducer;
36361
36360
  var masterQuery$4 = {
36362
36361
  entityTypeMater: function entityTypeMater() {
36363
36362
  return {
36364
- appcode: dbName$1,
36363
+ appcode: _dbName,
36365
36364
  requestid: "3cd9377b-28a6-4a7e-bfc6-e75e063a4d58"
36366
36365
  };
36367
36366
  },
36368
36367
  facilityByEntityType: function facilityByEntityType() {
36369
36368
  return {
36370
- appcode: _dbName$1,
36369
+ appcode: _dbName,
36371
36370
  filter: {
36372
36371
  orgType: "CodingMaster/10010",
36373
36372
  active: true,
@@ -36378,7 +36377,7 @@ var masterQuery$4 = {
36378
36377
  },
36379
36378
  applicationParameter: function applicationParameter() {
36380
36379
  return {
36381
- appcode: _dbName$1,
36380
+ appcode: _dbName,
36382
36381
  filter: {
36383
36382
  type: "APPPARAMS",
36384
36383
  status: true,
@@ -36388,7 +36387,7 @@ var masterQuery$4 = {
36388
36387
  },
36389
36388
  applicationParameterSourceMaster: function applicationParameterSourceMaster(type) {
36390
36389
  return {
36391
- appcode: _dbName$1,
36390
+ appcode: _dbName,
36392
36391
  filter: {
36393
36392
  type: type,
36394
36393
  status: true,
@@ -36637,7 +36636,7 @@ var generateJson$6 = function generateJson(data, _key) {
36637
36636
  };
36638
36637
  });
36639
36638
  return [_objectSpread2(_objectSpread2({
36640
- "appcode": dbName$1
36639
+ "appcode": dbName
36641
36640
  }, filter), {}, {
36642
36641
  "entity": "CA_OrderCatalogPrivilegeLevel",
36643
36642
  "is_metadata": true,
@@ -36714,7 +36713,7 @@ var UPSERT_ALERT_STATUS = createAsyncThunk("alertRestictionsMasterSlice/save_ale
36714
36713
  _context2.p = 1;
36715
36714
  list = payload.list, _key = payload._key;
36716
36715
  queriesjson = [{
36717
- "appcode": dbName$1,
36716
+ "appcode": dbName,
36718
36717
  "entity": "CA_OrderCatalogPrivilegeLevel",
36719
36718
  "is_metadata": true,
36720
36719
  "metadataId": metaDataId$1,
@@ -36775,35 +36774,35 @@ var GET_ALL_MASTER = createAsyncThunk("alertRestictionsMasterSlice/get_all_maste
36775
36774
  _ref6 = _args3.length > 1 ? _args3[1] : undefined, rejectWithValue = _ref6.rejectWithValue;
36776
36775
  _context3.p = 1;
36777
36776
  get_facility = {
36778
- appcode: dbName$1,
36777
+ appcode: dbName,
36779
36778
  filter: {
36780
36779
  active: true,
36781
36780
  activestatus: true
36782
36781
  }
36783
36782
  };
36784
36783
  get_app_level = {
36785
- appcode: dbName$1,
36784
+ appcode: dbName,
36786
36785
  filter: {
36787
36786
  Type: "APPROVALLEVEL",
36788
36787
  activestatus: true
36789
36788
  }
36790
36789
  };
36791
36790
  service_applicable = {
36792
- appcode: dbName$1,
36791
+ appcode: dbName,
36793
36792
  filter: {
36794
36793
  Type: "SERVICEAPPLICABILITY",
36795
36794
  activestatus: true
36796
36795
  }
36797
36796
  };
36798
36797
  rule_type = {
36799
- appcode: dbName$1,
36798
+ appcode: dbName,
36800
36799
  filter: {
36801
36800
  Type: "RULETYPE",
36802
36801
  activestatus: true
36803
36802
  }
36804
36803
  };
36805
36804
  privillage_type = {
36806
- appcode: dbName$1,
36805
+ appcode: dbName,
36807
36806
  filter: {
36808
36807
  Type: "PRIVILEGETYPE",
36809
36808
  activestatus: true
@@ -36914,7 +36913,7 @@ var READ_ALERT = createAsyncThunk("orderCatalogApiSlice/orderCatalogRead", /*#__
36914
36913
  _ref8 = _args4.length > 1 ? _args4[1] : undefined, rejectWithValue = _ref8.rejectWithValue, _ref8.getState;
36915
36914
  _context4.p = 1;
36916
36915
  read = {
36917
- appcode: dbName$1,
36916
+ appcode: dbName,
36918
36917
  filter: {
36919
36918
  search: (payload === null || payload === void 0 ? void 0 : payload.search) || "",
36920
36919
  activestatus: true
@@ -36991,7 +36990,7 @@ var vitalsMasters = _objectSpread2(_objectSpread2(_objectSpread2({}, vitalsMeasu
36991
36990
  var queries$5 = {
36992
36991
  fullread: function fullread(page, perPage, search) {
36993
36992
  return {
36994
- appcode: dbName$1,
36993
+ appcode: dbName,
36995
36994
  requestid: "f2a4a870-23f0-47af-8743-f0ed607d5129",
36996
36995
  filter: {
36997
36996
  search: search !== null && search !== void 0 ? search : "%%",
@@ -37002,7 +37001,7 @@ var queries$5 = {
37002
37001
  },
37003
37002
  DRUG_UOM_TYPE: function DRUG_UOM_TYPE() {
37004
37003
  return {
37005
- appcode: dbName$1,
37004
+ appcode: dbName,
37006
37005
  requestid: "09335a68-08b0-48b2-ad47-58ffbb5fef33",
37007
37006
  filter: {
37008
37007
  activestatus: true,
@@ -37013,7 +37012,7 @@ var queries$5 = {
37013
37012
  },
37014
37013
  To_UOM_code: function To_UOM_code(id, type) {
37015
37014
  return {
37016
- appcode: dbName$1,
37015
+ appcode: dbName,
37017
37016
  requestid: "aa5f41bc-41de-425a-b076-0c10765dc23e",
37018
37017
  filter: {
37019
37018
  UOMId: id,
@@ -37023,7 +37022,7 @@ var queries$5 = {
37023
37022
  },
37024
37023
  To_UOM_Read_line: function To_UOM_Read_line(key) {
37025
37024
  return {
37026
- appcode: dbName$1,
37025
+ appcode: dbName,
37027
37026
  requestid: "3faa8e6f-9bff-4696-b03f-c35c490590ec",
37028
37027
  filter: {
37029
37028
  drugKey: key
@@ -37032,7 +37031,7 @@ var queries$5 = {
37032
37031
  },
37033
37032
  To_UOM_UPDATE_STATUS: function To_UOM_UPDATE_STATUS(status, key) {
37034
37033
  return [{
37035
- appcode: dbName$1,
37034
+ appcode: dbName,
37036
37035
  collection: "DrugUOM",
37037
37036
  filter: {
37038
37037
  _key: "".concat(key)
@@ -37066,7 +37065,7 @@ var generateJson$5 = {
37066
37065
  };
37067
37066
  });
37068
37067
  return [_objectSpread2(_objectSpread2({
37069
- appcode: dbName$1,
37068
+ appcode: dbName,
37070
37069
  collection: "DrugUOM",
37071
37070
  is_metadata: true
37072
37071
  }, filter), {}, {
@@ -37445,7 +37444,7 @@ var drugMasterUOMSlice$1 = drugMasterUOMSlice.reducer;
37445
37444
  var queries$4 = {
37446
37445
  fullread: function fullread(page, perPage, search) {
37447
37446
  return {
37448
- appcode: dbName$1,
37447
+ appcode: dbName,
37449
37448
  filter: {
37450
37449
  search: search || "",
37451
37450
  activestatus: true
@@ -37458,7 +37457,7 @@ var queries$4 = {
37458
37457
  },
37459
37458
  SCHEDULEBY: function SCHEDULEBY() {
37460
37459
  return {
37461
- appcode: dbName$1,
37460
+ appcode: dbName,
37462
37461
  filter: {
37463
37462
  type: "SCHEDULEBY",
37464
37463
  activestatus: true
@@ -37467,7 +37466,7 @@ var queries$4 = {
37467
37466
  },
37468
37467
  UOM: function UOM() {
37469
37468
  return {
37470
- appcode: dbName$1,
37469
+ appcode: dbName,
37471
37470
  filter: {
37472
37471
  type: "UOM",
37473
37472
  status: true,
@@ -37477,7 +37476,7 @@ var queries$4 = {
37477
37476
  },
37478
37477
  WEEKDAYS: function WEEKDAYS() {
37479
37478
  return {
37480
- appcode: dbName$1,
37479
+ appcode: dbName,
37481
37480
  filter: {
37482
37481
  type: "WEEKDAYS",
37483
37482
  status: true,
@@ -37487,7 +37486,7 @@ var queries$4 = {
37487
37486
  },
37488
37487
  FIXEDDURATIONTYPE: function FIXEDDURATIONTYPE() {
37489
37488
  return {
37490
- appcode: dbName$1,
37489
+ appcode: dbName,
37491
37490
  filter: {
37492
37491
  type: "FIXEDDURATIONTYPE",
37493
37492
  activestatus: true
@@ -37496,7 +37495,7 @@ var queries$4 = {
37496
37495
  },
37497
37496
  FREQUENCYTYPE: function FREQUENCYTYPE() {
37498
37497
  return {
37499
- appcode: dbName$1,
37498
+ appcode: dbName,
37500
37499
  filter: {
37501
37500
  type: "FREQUENCYTYPE",
37502
37501
  activestatus: true
@@ -37505,7 +37504,7 @@ var queries$4 = {
37505
37504
  },
37506
37505
  FREQUENCYTYPESTATUS: function FREQUENCYTYPESTATUS(data, key) {
37507
37506
  return [{
37508
- db_name: dbName$1,
37507
+ db_name: dbName,
37509
37508
  entity: "FrequencyMaster",
37510
37509
  is_metadata: true,
37511
37510
  metadataId: metaDataId$1,
@@ -37520,7 +37519,7 @@ var queries$4 = {
37520
37519
  },
37521
37520
  SINGLEREADDOC: function SINGLEREADDOC(key) {
37522
37521
  return {
37523
- appcode: dbName$1,
37522
+ appcode: dbName,
37524
37523
  filter: {
37525
37524
  _key: "".concat(key),
37526
37525
  activestatus: true
@@ -37541,7 +37540,7 @@ var generateJson$4 = {
37541
37540
  };
37542
37541
  }
37543
37542
  return [_objectSpread2(_objectSpread2({
37544
- appcode: dbName$1,
37543
+ appcode: dbName,
37545
37544
  entity: "FrequencyMaster",
37546
37545
  is_metadata: true
37547
37546
  }, filter), {}, {
@@ -38077,7 +38076,7 @@ var drug_actions = _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2(_
38077
38076
  var query$6 = {
38078
38077
  orderSetList: function orderSetList(page, perPage, search, sort, direction) {
38079
38078
  return {
38080
- appcode: "".concat(dbName$1),
38079
+ appcode: "".concat(dbName),
38081
38080
  filter: {
38082
38081
  search: search || "",
38083
38082
  activestatus: true
@@ -38090,7 +38089,7 @@ var query$6 = {
38090
38089
  },
38091
38090
  orderSetListById: function orderSetListById(_key) {
38092
38091
  return {
38093
- appcode: "".concat(dbName$1),
38092
+ appcode: "".concat(dbName),
38094
38093
  filter: {
38095
38094
  key: _key,
38096
38095
  activestatus: true
@@ -38099,7 +38098,7 @@ var query$6 = {
38099
38098
  },
38100
38099
  status_update_order_set_master: function status_update_order_set_master(data) {
38101
38100
  return [{
38102
- appcode: "".concat(dbName$1),
38101
+ appcode: "".concat(dbName),
38103
38102
  entity: "CA_OrderSet",
38104
38103
  is_metadata: true,
38105
38104
  metadataId: metaDataId$1,
@@ -38114,7 +38113,7 @@ var query$6 = {
38114
38113
  },
38115
38114
  orderSetComponentDelete: function orderSetComponentDelete(_key) {
38116
38115
  return {
38117
- appcode: "".concat(dbName$1),
38116
+ appcode: "".concat(dbName),
38118
38117
  entity: "CA_OrderSet_Components",
38119
38118
  filter: "CA_OrderSet_Components._key== '".concat(_key, "'")
38120
38119
  };
@@ -38122,16 +38121,16 @@ var query$6 = {
38122
38121
  };
38123
38122
 
38124
38123
  var masterQuery$3 = {
38125
- orderCategory: "{\n \"appcode\": \"".concat(_dbName$1, "\",\n \"filter\": {\n \"activestatus\": true,\n \"status\": true\n }\n }"),
38126
- commonUOM: "{\n \"appcode\": \"".concat(_dbName$1, "\",\n \"filter\": {\n \"status\": true,\n \"activestatus\": true\n }\n }"),
38127
- route: "{\n \"appcode\": \"".concat(_dbName$1, "\",\n \"filter\": {\n \"activestatus\": true,\n \"status\": true\n }\n }"),
38128
- drugFreqCode: "{\n \"appcode\": \"".concat(_dbName$1, "\",\n \"filter\": {\n \"activestatus\": true,\n \"status\": true\n }\n }"),
38129
- durationDropDown: "{\n \"appcode\": \"".concat(_dbName$1, "\",\n \"filter\": {\n \"uomType\": \"time\",\n \"activestatus\": true,\n \"status\": true\n }\n }")
38124
+ orderCategory: "{\n \"appcode\": \"".concat(_dbName, "\",\n \"filter\": {\n \"activestatus\": true,\n \"status\": true\n }\n }"),
38125
+ commonUOM: "{\n \"appcode\": \"".concat(_dbName, "\",\n \"filter\": {\n \"status\": true,\n \"activestatus\": true\n }\n }"),
38126
+ route: "{\n \"appcode\": \"".concat(_dbName, "\",\n \"filter\": {\n \"activestatus\": true,\n \"status\": true\n }\n }"),
38127
+ drugFreqCode: "{\n \"appcode\": \"".concat(_dbName, "\",\n \"filter\": {\n \"activestatus\": true,\n \"status\": true\n }\n }"),
38128
+ durationDropDown: "{\n \"appcode\": \"".concat(_dbName, "\",\n \"filter\": {\n \"uomType\": \"time\",\n \"activestatus\": true,\n \"status\": true\n }\n }")
38130
38129
  };
38131
38130
  var orderCategoty = {
38132
38131
  orderCategory: function orderCategory() {
38133
38132
  return {
38134
- appcode: "".concat(_dbName$1),
38133
+ appcode: "".concat(_dbName),
38135
38134
  filter: {
38136
38135
  activestatus: true,
38137
38136
  status: true
@@ -38142,7 +38141,7 @@ var orderCategoty = {
38142
38141
  var dynamicMaster$1 = {
38143
38142
  orderDrugType: function orderDrugType(order_category) {
38144
38143
  return {
38145
- appcode: "".concat(_dbName$1),
38144
+ appcode: "".concat(_dbName),
38146
38145
  filter: {
38147
38146
  ordercategory: order_category,
38148
38147
  activestatus: true,
@@ -38152,7 +38151,7 @@ var dynamicMaster$1 = {
38152
38151
  },
38153
38152
  drugType: function drugType() {
38154
38153
  return {
38155
- appcode: "".concat(_dbName$1),
38154
+ appcode: "".concat(_dbName),
38156
38155
  filter: {
38157
38156
  activestatus: true,
38158
38157
  status: true
@@ -38161,7 +38160,7 @@ var dynamicMaster$1 = {
38161
38160
  },
38162
38161
  orderCatalog: function orderCatalog(order_category, order_drug_type) {
38163
38162
  return {
38164
- appcode: "".concat(_dbName$1),
38163
+ appcode: "".concat(_dbName),
38165
38164
  filter: {
38166
38165
  ordercategory: order_category,
38167
38166
  ordertype: order_drug_type,
@@ -38172,7 +38171,7 @@ var dynamicMaster$1 = {
38172
38171
  },
38173
38172
  drugCatalog: function drugCatalog(drug_type) {
38174
38173
  return {
38175
- appcode: "".concat(_dbName$1),
38174
+ appcode: "".concat(_dbName),
38176
38175
  filter: {
38177
38176
  DrugType: drug_type,
38178
38177
  activestatus: true,
@@ -38193,7 +38192,7 @@ var generateJson$3 = function generateJson(data) {
38193
38192
  };
38194
38193
  }
38195
38194
  return [_objectSpread2(_objectSpread2({
38196
- appcode: dbName$1,
38195
+ appcode: dbName,
38197
38196
  entity: "CA_OrderSet",
38198
38197
  is_metadata: true,
38199
38198
  metadataId: metaDataId,
@@ -39163,7 +39162,7 @@ var orderSetMasterSlice$1 = orderSetMasterSlice.reducer;
39163
39162
  var query$5 = {
39164
39163
  orderSetApplicabilityList: function orderSetApplicabilityList(_id) {
39165
39164
  return {
39166
- appcode: "".concat(dbName$1),
39165
+ appcode: "".concat(dbName),
39167
39166
  filter: {
39168
39167
  Ordersetcode: _id,
39169
39168
  activestatus: true
@@ -39172,7 +39171,7 @@ var query$5 = {
39172
39171
  },
39173
39172
  orderSetApplicabilityById: function orderSetApplicabilityById(_key) {
39174
39173
  return {
39175
- appcode: "".concat(dbName$1),
39174
+ appcode: "".concat(dbName),
39176
39175
  filter: {
39177
39176
  key: _key,
39178
39177
  activestatus: true
@@ -39181,7 +39180,7 @@ var query$5 = {
39181
39180
  },
39182
39181
  status_update_order_set_master: function status_update_order_set_master(data) {
39183
39182
  return [{
39184
- appcode: "".concat(dbName$1),
39183
+ appcode: "".concat(dbName),
39185
39184
  entity: "CA_OrderSet",
39186
39185
  is_metadata: true,
39187
39186
  metadataId: metaDataId$1,
@@ -39196,7 +39195,7 @@ var query$5 = {
39196
39195
  },
39197
39196
  orderSetApplicabilityDelete: function orderSetApplicabilityDelete(_key) {
39198
39197
  return {
39199
- appcode: "".concat(dbName$1),
39198
+ appcode: "".concat(dbName),
39200
39199
  entity: "CA_OrderSet_Applicability",
39201
39200
  filter: "CA_OrderSet_Applicability._key== '".concat(_key, "'")
39202
39201
  };
@@ -39205,11 +39204,11 @@ var query$5 = {
39205
39204
 
39206
39205
  var masterQuery$2 = {
39207
39206
  //name
39208
- facilityName: "{\n \"appcode\": \"".concat(_dbName$1, "\",\n \"filter\": {\n \"orgType\": \"facility\",\n \"active\": true,\n \"activestatus\": true\n }\n }"),
39207
+ facilityName: "{\n \"appcode\": \"".concat(_dbName, "\",\n \"filter\": {\n \"orgType\": \"facility\",\n \"active\": true,\n \"activestatus\": true\n }\n }"),
39209
39208
  // coding[0]?.display
39210
39209
  speciality: function speciality() {
39211
39210
  return {
39212
- appcode: dbName$1,
39211
+ appcode: _dbName,
39213
39212
  filter: {
39214
39213
  type: ["SPECIALTY"],
39215
39214
  tenantid: "",
@@ -39220,16 +39219,16 @@ var masterQuery$2 = {
39220
39219
  };
39221
39220
  },
39222
39221
  // coding[0]?.display
39223
- practitionerType: "{\n \"appcode\": \"".concat(_dbName$1, "\",\n \"filter\": {\n \"type\": \"PRACTTYPE\",\n \"activestatus\": true\n }\n }"),
39222
+ practitionerType: "{\n \"appcode\": \"".concat(_dbName, "\",\n \"filter\": {\n \"type\": \"PRACTTYPE\",\n \"activestatus\": true\n }\n }"),
39224
39223
  //array of string
39225
- codeSet: "{\n \"appcode\": \"".concat(_dbName$1, "\",\n \"filter\": {\n \"activestatus\": true\n }\n }"),
39224
+ codeSet: "{\n \"appcode\": \"".concat(_dbName, "\",\n \"filter\": {\n \"activestatus\": true\n }\n }"),
39226
39225
  //coding[0]?.display
39227
- locationType: "{\n \"appcode\": \"".concat(_dbName$1, "\",\n \"filter\": {\n \"type\": \"LOCATIONTYPE\",\n \"status\": true,\n \"activestatus\": true\n }\n }")
39226
+ locationType: "{\n \"appcode\": \"".concat(_dbName, "\",\n \"filter\": {\n \"type\": \"LOCATIONTYPE\",\n \"status\": true,\n \"activestatus\": true\n }\n }")
39228
39227
  };
39229
39228
  var dynamicMaster = {
39230
39229
  orderSetAppPractitioner: function orderSetAppPractitioner(facility, speciality, practitionerType) {
39231
39230
  return {
39232
- appcode: "".concat(_dbName$1),
39231
+ appcode: "".concat(_dbName),
39233
39232
  filter: {
39234
39233
  ReportingEntityName: facility,
39235
39234
  speciality: speciality,
@@ -39241,7 +39240,7 @@ var dynamicMaster = {
39241
39240
  },
39242
39241
  orderSetAppDiagnosisGroup: function orderSetAppDiagnosisGroup(_id) {
39243
39242
  return {
39244
- appcode: "".concat(_dbName$1),
39243
+ appcode: "".concat(_dbName),
39245
39244
  filter: {
39246
39245
  termcode: _id,
39247
39246
  activestatus: true
@@ -39250,7 +39249,7 @@ var dynamicMaster = {
39250
39249
  },
39251
39250
  orderSetAppDiagnosisCode: function orderSetAppDiagnosisCode(_id, search) {
39252
39251
  return {
39253
- appcode: "".concat(_dbName$1),
39252
+ appcode: "".concat(_dbName),
39254
39253
  filter: {
39255
39254
  id: _id,
39256
39255
  search: search || "",
@@ -39260,7 +39259,7 @@ var dynamicMaster = {
39260
39259
  },
39261
39260
  orderSetAppLocation: function orderSetAppLocation(_id) {
39262
39261
  return {
39263
- appcode: "".concat(_dbName$1),
39262
+ appcode: "".concat(_dbName),
39264
39263
  filter: {
39265
39264
  locationType: _id,
39266
39265
  activestatus: true,
@@ -39270,7 +39269,7 @@ var dynamicMaster = {
39270
39269
  },
39271
39270
  orderSetAppSpecialty: function orderSetAppSpecialty(_id) {
39272
39271
  return {
39273
- appcode: "".concat(_dbName$1),
39272
+ appcode: "".concat(_dbName),
39274
39273
  filter: {
39275
39274
  _id: _id,
39276
39275
  activestatus: true
@@ -39290,7 +39289,7 @@ var generateJson$2 = function generateJson(data, orderSetKey) {
39290
39289
  };
39291
39290
  }
39292
39291
  var arr = [_objectSpread2(_objectSpread2({
39293
- appcode: dbName$1,
39292
+ appcode: dbName,
39294
39293
  entity: "CA_OrderSet_Applicability",
39295
39294
  is_metadata: true,
39296
39295
  metadataId: metaDataId$1,
@@ -39511,7 +39510,7 @@ var fetchMaster$3 = function fetchMaster(name, queryFn) {
39511
39510
  isQdm = _typeof(queryObj) === "object" && (queryObj === null || queryObj === void 0 ? void 0 : queryObj.requestid);
39512
39511
  url = isQdm ? __baseUrl__$1 : __readDocumentUrl__;
39513
39512
  bodyPayload = typeof queryObj === "string" ? queryObj : JSON.stringify(_objectSpread2(_objectSpread2({}, queryObj), {}, {
39514
- appcode: (queryObj === null || queryObj === void 0 ? void 0 : queryObj.appcode) || dbName$1
39513
+ appcode: (queryObj === null || queryObj === void 0 ? void 0 : queryObj.appcode) || dbName
39515
39514
  }));
39516
39515
  _context3.n = 1;
39517
39516
  return fetchData({
@@ -40058,7 +40057,7 @@ var orderSetApplicabilitySlice$1 = orderSetApplicabilitySlice.reducer;
40058
40057
  var query$4 = {
40059
40058
  getList: function getList(page, perpage, search) {
40060
40059
  return {
40061
- appcode: dbName$1,
40060
+ appcode: dbName,
40062
40061
  requestid: query_ids.getAllergyList,
40063
40062
  filter: {
40064
40063
  search: "%".concat(search, "%"),
@@ -40080,7 +40079,7 @@ var generateJson$1 = function generateJson(data) {
40080
40079
  };
40081
40080
  }
40082
40081
  return [_objectSpread2(_objectSpread2({
40083
- appcode: "".concat(dbName$1),
40082
+ appcode: "".concat(dbName),
40084
40083
  collection: "AllergyMaster",
40085
40084
  is_metadata: true,
40086
40085
  metadataId: metaDataId$1,
@@ -40136,7 +40135,7 @@ var generateReadJSON$1 = function generateReadJSON(data) {
40136
40135
  var masterQuery$1 = {
40137
40136
  allergyTypeIndicator: function allergyTypeIndicator() {
40138
40137
  return {
40139
- appcode: dbName,
40138
+ appcode: _dbName,
40140
40139
  filter: {
40141
40140
  type: ["ALTYPE"],
40142
40141
  tenantid: "",
@@ -40148,7 +40147,7 @@ var masterQuery$1 = {
40148
40147
  },
40149
40148
  conceptIdType: function conceptIdType() {
40150
40149
  return {
40151
- appcode: dbName,
40150
+ appcode: _dbName,
40152
40151
  filter: {
40153
40152
  type: ["CONCEPTIDTTYPE"],
40154
40153
  tenantid: "",
@@ -40160,7 +40159,7 @@ var masterQuery$1 = {
40160
40159
  },
40161
40160
  extSystemSourceId: function extSystemSourceId() {
40162
40161
  return {
40163
- appcode: dbName,
40162
+ appcode: _dbName,
40164
40163
  filter: {
40165
40164
  type: ["DBSOURCE"],
40166
40165
  tenantid: "",
@@ -40236,7 +40235,7 @@ var fetchMaster$2 = function fetchMaster(name, queryFn) {
40236
40235
  _context3.p = 0;
40237
40236
  queryObj = typeof queryFn === "function" ? queryFn() : queryFn;
40238
40237
  bodyPayload = typeof queryObj === "string" ? queryObj : JSON.stringify(_objectSpread2(_objectSpread2({}, queryObj), {}, {
40239
- appcode: (queryObj === null || queryObj === void 0 ? void 0 : queryObj.appcode) || dbName$1
40238
+ appcode: (queryObj === null || queryObj === void 0 ? void 0 : queryObj.appcode) || dbName
40240
40239
  }));
40241
40240
  _context3.n = 1;
40242
40241
  return fetchData({
@@ -40376,7 +40375,7 @@ var UPDATE_ALLERGEN_MASTER_STATUS = createAsyncThunk("allergenMasterApiSlice/upd
40376
40375
  _context6.p = 1;
40377
40376
  _key = payload._key, status = payload.status;
40378
40377
  queriesjson = [{
40379
- appcode: dbName$1,
40378
+ appcode: dbName,
40380
40379
  collection: "AllergyMaster",
40381
40380
  is_metadata: true,
40382
40381
  metadataId: metaDataId$1,
@@ -40479,12 +40478,12 @@ var allergenMasterActions = {
40479
40478
  var allergenMasterSlice$1 = allergenMasterSlice.reducer;
40480
40479
 
40481
40480
  var flexQuery = {
40482
- attributeTypeDropDown: "{\n \"appcode\": \"".concat(_dbName$1, "\",\n \"filter\": {\n \"Type\": \"FLEXDATATYPE\",\n \"activestatus\": true,\n \"status\": true\n }\n }"),
40483
- numUomDropDown: "{\n \"appcode\": \"".concat(_dbName$1, "\",\n \"filter\": {\n \"Type\": \"UOM\",\n \"activestatus\": true,\n \"status\": true\n }\n }"),
40484
- flexAttributeFullRead: "{\n \"appcode\": \"".concat(_dbName$1, "\",\n \"filter\": {\n \"activestatus\": true\n }\n }"),
40481
+ attributeTypeDropDown: "{\n \"appcode\": \"".concat(_dbName, "\",\n \"filter\": {\n \"Type\": \"FLEXDATATYPE\",\n \"activestatus\": true,\n \"status\": true\n }\n }"),
40482
+ numUomDropDown: "{\n \"appcode\": \"".concat(_dbName, "\",\n \"filter\": {\n \"Type\": \"UOM\",\n \"activestatus\": true,\n \"status\": true\n }\n }"),
40483
+ flexAttributeFullRead: "{\n \"appcode\": \"".concat(_dbName, "\",\n \"filter\": {\n \"activestatus\": true\n }\n }"),
40485
40484
  flexAttrFullRead: function flexAttrFullRead(page, perpage, search, sort, direction) {
40486
40485
  return {
40487
- appcode: dbName$1,
40486
+ appcode: dbName,
40488
40487
  filter: {
40489
40488
  search: search || "",
40490
40489
  activestatus: true
@@ -40497,7 +40496,7 @@ var flexQuery = {
40497
40496
  },
40498
40497
  flexStatusChange: function flexStatusChange(list, key) {
40499
40498
  return [{
40500
- appcode: dbName$1,
40499
+ appcode: dbName,
40501
40500
  entity: "CA_OrderAttribMaster",
40502
40501
  is_metadata: true,
40503
40502
  filter: {
@@ -40512,7 +40511,7 @@ var flexQuery = {
40512
40511
  },
40513
40512
  flexAttrSingleRead: function flexAttrSingleRead(key) {
40514
40513
  return {
40515
- appcode: dbName$1,
40514
+ appcode: dbName,
40516
40515
  filter: {
40517
40516
  key: key,
40518
40517
  activestatus: true
@@ -40521,7 +40520,7 @@ var flexQuery = {
40521
40520
  },
40522
40521
  flexAttrSearch: function flexAttrSearch(search) {
40523
40522
  return {
40524
- appcode: dbName$1,
40523
+ appcode: dbName,
40525
40524
  filter: {
40526
40525
  search: search || "",
40527
40526
  activestatus: true
@@ -40601,7 +40600,7 @@ var flexQuery = {
40601
40600
  };
40602
40601
  }
40603
40602
  return [_objectSpread2(_objectSpread2({
40604
- appcode: dbName$1,
40603
+ appcode: dbName,
40605
40604
  entity: "CA_OrderAttribMaster",
40606
40605
  is_metadata: true,
40607
40606
  metadataId: metaDataId$1,
@@ -40928,7 +40927,7 @@ var flexMaster = _objectSpread2({}, flexAttributeActions);
40928
40927
  var flexCriteriaQuery = {
40929
40928
  flexCriteriaDropDown: function flexCriteriaDropDown(list, id) {
40930
40929
  return {
40931
- appcode: dbName$1,
40930
+ appcode: dbName,
40932
40931
  filter: {
40933
40932
  attribcode: list,
40934
40933
  attribtype: id,
@@ -40939,7 +40938,7 @@ var flexCriteriaQuery = {
40939
40938
  },
40940
40939
  flexCriteriaCodeDropDown: function flexCriteriaCodeDropDown() {
40941
40940
  return {
40942
- appcode: dbName$1,
40941
+ appcode: dbName,
40943
40942
  filter: {
40944
40943
  status: true,
40945
40944
  activestatus: true
@@ -40948,7 +40947,7 @@ var flexCriteriaQuery = {
40948
40947
  },
40949
40948
  flexCriteriaFullRead: function flexCriteriaFullRead(page, perpage, search) {
40950
40949
  return {
40951
- appcode: dbName$1,
40950
+ appcode: dbName,
40952
40951
  filter: {
40953
40952
  search: search || "",
40954
40953
  activestatus: true
@@ -40961,7 +40960,7 @@ var flexCriteriaQuery = {
40961
40960
  },
40962
40961
  flexCriteriaSingleRead: function flexCriteriaSingleRead(key) {
40963
40962
  return {
40964
- appcode: dbName$1,
40963
+ appcode: dbName,
40965
40964
  filter: {
40966
40965
  key: key,
40967
40966
  activestatus: true
@@ -40971,7 +40970,7 @@ var flexCriteriaQuery = {
40971
40970
  flexCriteriaInsert: function flexCriteriaInsert(list) {
40972
40971
  var _list$attributeLableN, _list$attributeCompon;
40973
40972
  return [{
40974
- appcode: dbName$1,
40973
+ appcode: dbName,
40975
40974
  entity: "CA_FlexAttribApplicability",
40976
40975
  is_metadata: true,
40977
40976
  metadataId: metaDataId$1,
@@ -40994,7 +40993,7 @@ var flexCriteriaQuery = {
40994
40993
  },
40995
40994
  flexCriteriaStatus: function flexCriteriaStatus(status, key) {
40996
40995
  return [{
40997
- appcode: dbName$1,
40996
+ appcode: dbName,
40998
40997
  entity: "CA_FlexAttribApplicability",
40999
40998
  filter: {
41000
40999
  _key: key
@@ -41010,7 +41009,7 @@ var flexCriteriaQuery = {
41010
41009
  flexCriteriaEdit: function flexCriteriaEdit(list) {
41011
41010
  var _list$attributeLableN2, _list$status;
41012
41011
  return [{
41013
- appcode: dbName$1,
41012
+ appcode: dbName,
41014
41013
  entity: "CA_FlexAttribApplicability",
41015
41014
  filter: {
41016
41015
  _key: list === null || list === void 0 ? void 0 : list.key
@@ -41033,7 +41032,7 @@ var flexCriteriaQuery = {
41033
41032
  },
41034
41033
  flexCriteriaSearch: function flexCriteriaSearch(search) {
41035
41034
  return {
41036
- appcode: dbName$1,
41035
+ appcode: dbName,
41037
41036
  filter: {
41038
41037
  search: search || "",
41039
41038
  activestatus: true
@@ -41396,7 +41395,7 @@ var flexCriteriaApp = _objectSpread2({}, flexCriteriaActions);
41396
41395
  var query$3 = {
41397
41396
  diagnosisList: function diagnosisList(level, code) {
41398
41397
  return {
41399
- appcode: "".concat(dbName$1),
41398
+ appcode: "".concat(dbName),
41400
41399
  requestid: query_ids.diagnosisList,
41401
41400
  filter: {
41402
41401
  levelnumber: level,
@@ -41407,7 +41406,7 @@ var query$3 = {
41407
41406
  diagnosisListChild: function diagnosisListChild(level, code) {
41408
41407
  var childvl = level + 1;
41409
41408
  return {
41410
- appcode: "".concat(dbName$1),
41409
+ appcode: "".concat(dbName),
41411
41410
  requestid: query_ids.getdiagnosisListChild,
41412
41411
  filter: {
41413
41412
  parenticdcode: code,
@@ -41419,7 +41418,7 @@ var query$3 = {
41419
41418
  updateListeffTo: function updateListeffTo(data) {
41420
41419
  var _data$effTo, _data$islastlevel;
41421
41420
  return [{
41422
- appcode: "".concat(dbName$1),
41421
+ appcode: "".concat(dbName),
41423
41422
  collection: "Diagnosis",
41424
41423
  is_metadata: true,
41425
41424
  filter: {
@@ -41439,7 +41438,7 @@ var query$3 = {
41439
41438
  updateDiagnosisStatus: function updateDiagnosisStatus(data) {
41440
41439
  var _data$status;
41441
41440
  return [{
41442
- appcode: "".concat(dbName$1),
41441
+ appcode: "".concat(dbName),
41443
41442
  collection: "Diagnosis",
41444
41443
  is_metadata: true,
41445
41444
  filter: {
@@ -41463,7 +41462,7 @@ var query$3 = {
41463
41462
  searchList: function searchList(text) {
41464
41463
  var search = text ? text.replace(/\./g, "_") : "";
41465
41464
  return {
41466
- appcode: "".concat(dbName$1),
41465
+ appcode: "".concat(dbName),
41467
41466
  requestid: query_ids.getsearchDiagonsis,
41468
41467
  filter: {
41469
41468
  searchText: search
@@ -41702,16 +41701,16 @@ var consultActions = _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2
41702
41701
 
41703
41702
  var query$2 = {
41704
41703
  // pending list
41705
- getList: "{\n \"appcode\": \"".concat(_dbName$1, "\",\n \"requestid\": \"2b8b8013-75da-43c0-b2f8-c6f411e7e630\"\n }"),
41704
+ getList: "{\n \"appcode\": \"".concat(_dbName, "\",\n \"requestid\": \"2b8b8013-75da-43c0-b2f8-c6f411e7e630\"\n }"),
41706
41705
  // view pending detials
41707
41706
  getPendingPatientList: function getPendingPatientList(data) {
41708
- return "{\n \"appcode\": \"".concat(_dbName$1, "\",\n \"filter\": {\n \"resourceCodeId\": \"").concat(data === null || data === void 0 ? void 0 : data.id, "\",\n \"appstatus\": \"pending\",\n \"activestatus\": true\n }\n }");
41707
+ return "{\n \"appcode\": \"".concat(_dbName, "\",\n \"filter\": {\n \"resourceCodeId\": \"").concat(data === null || data === void 0 ? void 0 : data.id, "\",\n \"appstatus\": \"pending\",\n \"activestatus\": true\n }\n }");
41709
41708
  },
41710
41709
  getPractitionerAgainstSpeciality: function getPractitionerAgainstSpeciality(data) {
41711
- return "{\n \"appcode\": \"".concat(_dbName$1, "\",\n \"filter\": {\n \"appointmentId\": \"").concat(data === null || data === void 0 ? void 0 : data.appId, "\",\n \"activestatus\": true,\n \"status\": true\n }\n }");
41710
+ return "{\n \"appcode\": \"".concat(_dbName, "\",\n \"filter\": {\n \"appointmentId\": \"").concat(data === null || data === void 0 ? void 0 : data.appId, "\",\n \"activestatus\": true,\n \"status\": true\n }\n }");
41712
41711
  },
41713
41712
  getCancellationReason: function getCancellationReason(data) {
41714
- return "{\n \"appcode\": \"".concat(_dbName$1, "\",\n \"filter\": {\n \"reasonCode\": \"").concat(data === null || data === void 0 ? void 0 : data.code, "\"\n }\n }");
41713
+ return "{\n \"appcode\": \"".concat(_dbName, "\",\n \"filter\": {\n \"reasonCode\": \"").concat(data === null || data === void 0 ? void 0 : data.code, "\"\n }\n }");
41715
41714
  }
41716
41715
  };
41717
41716
 
@@ -41939,7 +41938,7 @@ var queries$3 = {
41939
41938
  geoMasterTypeRead: function geoMasterTypeRead() {
41940
41939
  var filterType = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : "GEOCODE";
41941
41940
  return {
41942
- appcode: dbName$1,
41941
+ appcode: dbName,
41943
41942
  requestid: query_ids.geoMasterTypeRead,
41944
41943
  filter: {
41945
41944
  type: filterType,
@@ -41952,7 +41951,7 @@ var queries$3 = {
41952
41951
  geoHierarchicalRead: function geoHierarchicalRead(displayLevel) {
41953
41952
  var parentCode = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : "";
41954
41953
  return {
41955
- appcode: dbName$1,
41954
+ appcode: dbName,
41956
41955
  requestid: query_ids.geoHierarchicalRead,
41957
41956
  filter: {
41958
41957
  activestatus: true,
@@ -41963,7 +41962,7 @@ var queries$3 = {
41963
41962
  },
41964
41963
  geoCountryRead: function geoCountryRead() {
41965
41964
  return {
41966
- appcode: dbName$1,
41965
+ appcode: dbName,
41967
41966
  requestid: query_ids.geoCountryRead,
41968
41967
  filter: {
41969
41968
  Leveltype: "country",
@@ -41973,7 +41972,7 @@ var queries$3 = {
41973
41972
  },
41974
41973
  geoStatusChange: function geoStatusChange(data) {
41975
41974
  return [{
41976
- appcode: dbName$1,
41975
+ appcode: dbName,
41977
41976
  collection: tables.GEOGRAPHIC_MASTER,
41978
41977
  filter: {
41979
41978
  _key: data._key
@@ -41988,7 +41987,7 @@ var queries$3 = {
41988
41987
  },
41989
41988
  editGeoGraphicSingleRead: function editGeoGraphicSingleRead(id) {
41990
41989
  return {
41991
- appcode: dbName$1,
41990
+ appcode: dbName,
41992
41991
  requestid: query_ids.editGeoGraphicSingleRead,
41993
41992
  filter: {
41994
41993
  activestatus: true,
@@ -42002,7 +42001,7 @@ var queries$3 = {
42002
42001
  rawId = rawId.substring(rawId.lastIndexOf("/") + 1);
42003
42002
  }
42004
42003
  return {
42005
- appcode: dbName$1,
42004
+ appcode: dbName,
42006
42005
  requestid: query_ids.geoMasterParentCode,
42007
42006
  filter: {
42008
42007
  activestatus: true,
@@ -42015,7 +42014,7 @@ var queries$3 = {
42015
42014
  var levelType = _ref.levelType,
42016
42015
  geoLevelCode = _ref.geoLevelCode;
42017
42016
  return {
42018
- appcode: dbName$1,
42017
+ appcode: dbName,
42019
42018
  requestid: query_ids.geoMasterParentCode,
42020
42019
  filter: {
42021
42020
  Leveltype: levelType,
@@ -42054,7 +42053,7 @@ var generateJson = function generateJson(data) {
42054
42053
  }
42055
42054
  });
42056
42055
  var payloadItem = {
42057
- appcode: dbName$1,
42056
+ appcode: dbName,
42058
42057
  collection: tables.GEOGRAPHIC_MASTER,
42059
42058
  is_metadata: true,
42060
42059
  metadataId: metaDataId$1,
@@ -42786,7 +42785,7 @@ var geoGraphicActions = {
42786
42785
  var geoGraphicSlice$1 = geoGraphicSlice.reducer;
42787
42786
 
42788
42787
  var getActiveDbName = function getActiveDbName() {
42789
- return dbName$1 || _dbName$1 || getBinderEnv("REACT_APP_DATABASE_NAME");
42788
+ return dbName || _dbName || getBinderEnv("REACT_APP_DATABASE_NAME");
42790
42789
  };
42791
42790
  var getActiveMetadataDbName = function getActiveMetadataDbName() {
42792
42791
  return metaDatadbName$1 || getBinderEnv("REACT_APP_METADATA_DB_NAME");
@@ -43118,7 +43117,7 @@ var GENERAL_MASTERS_READ = createAsyncThunk("generalMasterSlice/generalMastersRe
43118
43117
  _context4.p = 1;
43119
43118
  // let queriesjson = queries.generalMasterlist(payload.search);
43120
43119
  body = {
43121
- "appcode": dbName$1,
43120
+ "appcode": dbName,
43122
43121
  "filter": {
43123
43122
  "searchVal": (_payload$search = payload.search) !== null && _payload$search !== void 0 ? _payload$search : ""
43124
43123
  },
@@ -43165,7 +43164,7 @@ var COLUMN_TYPE_MASTERS = createAsyncThunk("generalMasterSlice/column_type", /*#
43165
43164
  _ref7 = _args5.length > 1 ? _args5[1] : undefined, rejectWithValue = _ref7.rejectWithValue;
43166
43165
  _context5.p = 1;
43167
43166
  body = {
43168
- "appcode": dbName$1,
43167
+ "appcode": dbName,
43169
43168
  "requestid": query_ids["getQDMDataType"]
43170
43169
  };
43171
43170
  _context5.n = 2;
@@ -43536,7 +43535,7 @@ var generalMasterSlice$1 = generalMasterSlice.reducer;
43536
43535
  var queries$1 = {
43537
43536
  status_update_practitioner: function status_update_practitioner(data) {
43538
43537
  return [{
43539
- appcode: dbName$1,
43538
+ appcode: dbName,
43540
43539
  collection: "CodeableConceptMaster",
43541
43540
  filter: {
43542
43541
  _key: data._key
@@ -43551,7 +43550,7 @@ var queries$1 = {
43551
43550
  },
43552
43551
  status_update_symptom_and_specialty: function status_update_symptom_and_specialty(data) {
43553
43552
  return [{
43554
- appcode: dbName$1,
43553
+ appcode: dbName,
43555
43554
  collection: "SymptomsMapping",
43556
43555
  filter: {
43557
43556
  _key: data._key
@@ -43585,7 +43584,7 @@ var queries$1 = {
43585
43584
  }
43586
43585
  };
43587
43586
  return [_objectSpread2(_objectSpread2({
43588
- appcode: dbName$1,
43587
+ appcode: dbName,
43589
43588
  collection: "SymptomsMapping"
43590
43589
  }, filter), {}, {
43591
43590
  is_metadata: true,
@@ -43609,7 +43608,7 @@ var queries$1 = {
43609
43608
  },
43610
43609
  symptom_and_specialty_read: function symptom_and_specialty_read(search, page, perPage) {
43611
43610
  return {
43612
- appcode: dbName$1,
43611
+ appcode: dbName,
43613
43612
  requestid: query_ids.symptom_and_specialty_read,
43614
43613
  filter: {
43615
43614
  search: "".concat(search),
@@ -43620,7 +43619,7 @@ var queries$1 = {
43620
43619
  },
43621
43620
  symptom_and_specialty_single_read: function symptom_and_specialty_single_read(_key) {
43622
43621
  return {
43623
- appcode: dbName$1,
43622
+ appcode: dbName,
43624
43623
  requestid: query_ids.symptom_and_specialty_single_read,
43625
43624
  filter: {
43626
43625
  _key: _key
@@ -43629,7 +43628,7 @@ var queries$1 = {
43629
43628
  },
43630
43629
  specialtyMaster: function specialtyMaster() {
43631
43630
  return {
43632
- appcode: dbName$1,
43631
+ appcode: dbName,
43633
43632
  requestid: query_ids.getCodingmasterByType,
43634
43633
  filter: {
43635
43634
  type: "SPECIALTY",
@@ -43641,7 +43640,7 @@ var queries$1 = {
43641
43640
  },
43642
43641
  formTypeMaster: function formTypeMaster() {
43643
43642
  return {
43644
- appcode: dbName$1,
43643
+ appcode: dbName,
43645
43644
  requestid: query_ids.getCodingmasterByType,
43646
43645
  filter: {
43647
43646
  type: "FORMTYPE",
@@ -43667,7 +43666,7 @@ var queries$1 = {
43667
43666
  };
43668
43667
  }
43669
43668
  return [_objectSpread2(_objectSpread2({
43670
- appcode: dbName$1,
43669
+ appcode: dbName,
43671
43670
  collection: "CodeableConceptMaster",
43672
43671
  is_metadata: true,
43673
43672
  mmetadataId: metaDataId$1,
@@ -43700,7 +43699,7 @@ var queries$1 = {
43700
43699
  };
43701
43700
  }
43702
43701
  return [_objectSpread2(_objectSpread2({
43703
- appcode: dbName$1,
43702
+ appcode: dbName,
43704
43703
  collection: "forms"
43705
43704
  }, filter), {}, {
43706
43705
  is_metadata: false,
@@ -43717,7 +43716,7 @@ var queries$1 = {
43717
43716
  },
43718
43717
  form_list: function form_list(offset, count, search) {
43719
43718
  return {
43720
- appcode: dbName$1,
43719
+ appcode: dbName,
43721
43720
  // TODO: Update requestid after creating the FORM_LIST query in QDM Query Tool
43722
43721
  requestid: query_ids.form_list,
43723
43722
  filter: {
@@ -43729,7 +43728,7 @@ var queries$1 = {
43729
43728
  },
43730
43729
  form_read: function form_read(form_id) {
43731
43730
  return {
43732
- appcode: dbName$1,
43731
+ appcode: dbName,
43733
43732
  requestid: query_ids.getformsDetails,
43734
43733
  filter: {
43735
43734
  _id: form_id
@@ -44401,7 +44400,7 @@ var symptomAndSpecialtySlice$1 = symptomAndSpecialtySlice.reducer;
44401
44400
  var queries = {
44402
44401
  encounterType: function encounterType(page, perPage, search, sort, direction) {
44403
44402
  return {
44404
- "appcode": dbName$1,
44403
+ "appcode": dbName,
44405
44404
  "filter": {
44406
44405
  "search": search || "",
44407
44406
  "activestatus": true
@@ -44415,7 +44414,7 @@ var queries = {
44415
44414
  //STATUS CHANGE
44416
44415
  encouterStatusChange: function encouterStatusChange(data) {
44417
44416
  return [{
44418
- "appcode": dbName$1,
44417
+ "appcode": dbName,
44419
44418
  "collection": "AMPatientClass",
44420
44419
  "filter": {
44421
44420
  _key: data._key
@@ -44581,7 +44580,7 @@ var TARGET_REVENUE_READ = createAsyncThunk("targetRevenueSlice/targetRevenueRead
44581
44580
  _context.p = 1;
44582
44581
  payload.searchname, payload.page, payload.perPage;
44583
44582
  body = {
44584
- "appcode": dbName$1,
44583
+ "appcode": dbName,
44585
44584
  "filter": {
44586
44585
  "searchname": payload.searchname,
44587
44586
  "page": payload.page,
@@ -44653,7 +44652,7 @@ var TARGET_REVENUE_EDIT = createAsyncThunk("targetRevenueSlice/targetRevenueEdit
44653
44652
  _ref7 = _args3.length > 1 ? _args3[1] : undefined, rejectWithValue = _ref7.rejectWithValue;
44654
44653
  _context3.p = 1;
44655
44654
  body = {
44656
- "appcode": dbName$1,
44655
+ "appcode": dbName,
44657
44656
  "filter": {
44658
44657
  "_id": payload
44659
44658
  },
@@ -44692,7 +44691,7 @@ var TARGET_REVENUE_DELETE = createAsyncThunk("targetRevenueSlice/targetRevenueDe
44692
44691
  _ref9 = _args4.length > 1 ? _args4[1] : undefined, rejectWithValue = _ref9.rejectWithValue;
44693
44692
  _context4.p = 1;
44694
44693
  body = {
44695
- appcode: dbName$1,
44694
+ appcode: dbName,
44696
44695
  collection: "targetrevenue",
44697
44696
  filter: "targetrevenue._id == '".concat(payload._id, "'"),
44698
44697
  metadataId: metaDataId$1,
@@ -44737,7 +44736,7 @@ var TARGET_NAME_VALIDATION = createAsyncThunk("targetRevenueSlice/targetNameVali
44737
44736
  _ref1 = _args5.length > 1 ? _args5[1] : undefined, rejectWithValue = _ref1.rejectWithValue;
44738
44737
  _context5.p = 1;
44739
44738
  body = {
44740
- "appcode": dbName$1,
44739
+ "appcode": dbName,
44741
44740
  "filter": {
44742
44741
  "targetname": payload
44743
44742
  },
@@ -44905,7 +44904,7 @@ var SLOT_AVAILABILITY = createAsyncThunk("slotAvailabilityApiSlice/slotAvailabil
44905
44904
  _context2.p = 1;
44906
44905
  _payload$slotId = payload.slotId, slotId = _payload$slotId === void 0 ? "" : _payload$slotId;
44907
44906
  body = {
44908
- "appcode": dbName$1,
44907
+ "appcode": dbName,
44909
44908
  "requestid": query_ids["slotAvailabilityApiSlice/slotAvailability"],
44910
44909
  "filter": {
44911
44910
  slotid: slotId
@@ -44958,7 +44957,7 @@ var slotAvailabilityApiSlice$1 = slotAvailabilityApiSlice.reducer;
44958
44957
  var query$1 = {
44959
44958
  modifyStatusAppointment: function modifyStatusAppointment(data) {
44960
44959
  return [{
44961
- "appcode": dbName$1,
44960
+ "appcode": dbName,
44962
44961
  "entity": "Appointment",
44963
44962
  "filter": {
44964
44963
  "id": data === null || data === void 0 ? void 0 : data.id
@@ -44988,7 +44987,7 @@ var APPOINTMENT_READ = createAsyncThunk("appointmentApiSlice/readAppointment", /
44988
44987
  _context.p = 1;
44989
44988
  _payload$appointmentI = payload.appointmentId, appointmentId = _payload$appointmentI === void 0 ? "" : _payload$appointmentI;
44990
44989
  body = {
44991
- appcode: dbName$1,
44990
+ appcode: dbName,
44992
44991
  requestid: query_ids["appointmentApiSlice/readAppointment"],
44993
44992
  filter: {
44994
44993
  appointment_id: appointmentId
@@ -45029,7 +45028,7 @@ var APPOINTMENT_DELETE = createAsyncThunk("appointmentApiSlice/deleteAppointment
45029
45028
  _ref4 = _args2.length > 1 ? _args2[1] : undefined, rejectWithValue = _ref4.rejectWithValue;
45030
45029
  _context2.p = 1;
45031
45030
  body = [{
45032
- appcode: dbName$1,
45031
+ appcode: dbName,
45033
45032
  collection: "Appointment",
45034
45033
  is_metadata: true,
45035
45034
  metadataId: metaDataId$1,
@@ -45080,7 +45079,7 @@ var APPOINTMENT_UPDATE = createAsyncThunk("appointmentApiSlice/updateAppointment
45080
45079
  _context3.p = 1;
45081
45080
  // start end slotId
45082
45081
  body = [{
45083
- appcode: dbName$1,
45082
+ appcode: dbName,
45084
45083
  collection: "Appointment",
45085
45084
  is_metadata: true,
45086
45085
  metadataId: metaDataId$1,
@@ -45166,7 +45165,7 @@ var REASON_FOR_APPT_CANCEL_MODIFY = createAsyncThunk("appointmentReducer/getReas
45166
45165
  _ref0 = _args5.length > 1 ? _args5[1] : undefined, rejectWithValue = _ref0.rejectWithValue;
45167
45166
  _context5.p = 1;
45168
45167
  body = {
45169
- appcode: dbName$1,
45168
+ appcode: dbName,
45170
45169
  filter: {
45171
45170
  type: payload.type,
45172
45171
  activestatus: true
@@ -45268,7 +45267,7 @@ var parameterSetupMasterActions = _objectSpread2({}, parameter_setup_master_acti
45268
45267
  var drugCatalogMasterQuery = {
45269
45268
  drugCatalogMasterSingleRead: function drugCatalogMasterSingleRead(id) {
45270
45269
  return {
45271
- appcode: dbName$1,
45270
+ appcode: dbName,
45272
45271
  requestid: "6a5b38b4-239d-4480-9aa3-1a8b45154c91",
45273
45272
  filter: {
45274
45273
  _id: "".concat(id),
@@ -45278,7 +45277,7 @@ var drugCatalogMasterQuery = {
45278
45277
  },
45279
45278
  status_update: function status_update(key, status) {
45280
45279
  return [{
45281
- appcode: dbName$1,
45280
+ appcode: dbName,
45282
45281
  entity: "DrugMaster",
45283
45282
  filter: {
45284
45283
  _key: key
@@ -45292,7 +45291,7 @@ var drugCatalogMasterQuery = {
45292
45291
  },
45293
45292
  drugRuleType: function drugRuleType() {
45294
45293
  return {
45295
- appcode: dbName$1,
45294
+ appcode: dbName,
45296
45295
  requestid: "b283129b-9841-419b-bdfc-de5105ebbad7",
45297
45296
  filter: {
45298
45297
  status: true,
@@ -45304,7 +45303,7 @@ var drugCatalogMasterQuery = {
45304
45303
  },
45305
45304
  drugPrivilegeType: function drugPrivilegeType() {
45306
45305
  return {
45307
- appcode: dbName$1,
45306
+ appcode: dbName,
45308
45307
  requestid: "b283129b-9841-419b-bdfc-de5105ebbad7",
45309
45308
  filter: {
45310
45309
  status: true,
@@ -45316,7 +45315,7 @@ var drugCatalogMasterQuery = {
45316
45315
  },
45317
45316
  drugServiceApplicabilityType: function drugServiceApplicabilityType() {
45318
45317
  return {
45319
- appcode: dbName$1,
45318
+ appcode: dbName,
45320
45319
  requestid: "b283129b-9841-419b-bdfc-de5105ebbad7",
45321
45320
  filter: {
45322
45321
  status: true,
@@ -45328,7 +45327,7 @@ var drugCatalogMasterQuery = {
45328
45327
  },
45329
45328
  drugFacilityOptions: function drugFacilityOptions() {
45330
45329
  return {
45331
- appcode: dbName$1,
45330
+ appcode: dbName,
45332
45331
  requestid: "d87f5ab9-e6e1-4d0f-b2e6-adccf9bb0ef9",
45333
45332
  filter: {
45334
45333
  orgTypeCode: "OT003"
@@ -45337,7 +45336,7 @@ var drugCatalogMasterQuery = {
45337
45336
  },
45338
45337
  drugApprovalWorkflowOptions: function drugApprovalWorkflowOptions() {
45339
45338
  return {
45340
- appcode: dbName$1,
45339
+ appcode: dbName,
45341
45340
  requestid: "0b3bf966-1180-427f-95d4-7ae5318be2b6",
45342
45341
  filter: {
45343
45342
  status: true
@@ -45346,7 +45345,7 @@ var drugCatalogMasterQuery = {
45346
45345
  },
45347
45346
  drugalertRestrictionSingleRead: function drugalertRestrictionSingleRead(id) {
45348
45347
  return {
45349
- appcode: dbName$1,
45348
+ appcode: dbName,
45350
45349
  requestid: "d34abdb2-8f38-4d33-99bf-2b28b6b4209a",
45351
45350
  filter: {
45352
45351
  relationId: id,
@@ -45357,7 +45356,7 @@ var drugCatalogMasterQuery = {
45357
45356
  },
45358
45357
  drugMappedDispensableRead: function drugMappedDispensableRead(_id) {
45359
45358
  return {
45360
- appcode: dbName$1,
45359
+ appcode: dbName,
45361
45360
  requestid: "6a5b38b4-239d-4480-9aa3-1a8b45154c91",
45362
45361
  filter: {
45363
45362
  _id: "".concat(_id),
@@ -45369,7 +45368,7 @@ var drugCatalogMasterQuery = {
45369
45368
  var masterQuery = {
45370
45369
  code_standara: function code_standara() {
45371
45370
  return {
45372
- appcode: dbName$1,
45371
+ appcode: dbName,
45373
45372
  filter: {
45374
45373
  type: "DBSOURCE",
45375
45374
  code: "",
@@ -45381,7 +45380,7 @@ var masterQuery = {
45381
45380
  },
45382
45381
  drug_category: function drug_category() {
45383
45382
  return {
45384
- appcode: dbName$1,
45383
+ appcode: dbName,
45385
45384
  filter: {
45386
45385
  status: true,
45387
45386
  sortField: "longdesc"
@@ -45391,7 +45390,7 @@ var masterQuery = {
45391
45390
  },
45392
45391
  drug_class: function drug_class() {
45393
45392
  return {
45394
- appcode: dbName$1,
45393
+ appcode: dbName,
45395
45394
  filter: {
45396
45395
  status: true,
45397
45396
  sortField: "longdesc"
@@ -45401,7 +45400,7 @@ var masterQuery = {
45401
45400
  },
45402
45401
  drug_generic: function drug_generic() {
45403
45402
  return {
45404
- appcode: dbName$1,
45403
+ appcode: dbName,
45405
45404
  filter: {
45406
45405
  count: 20,
45407
45406
  offset: 0,
@@ -45412,7 +45411,7 @@ var masterQuery = {
45412
45411
  },
45413
45412
  drug_type: function drug_type() {
45414
45413
  return {
45415
- appcode: dbName$1,
45414
+ appcode: dbName,
45416
45415
  filter: {
45417
45416
  status: true,
45418
45417
  sortField: "longdesc"
@@ -45422,7 +45421,7 @@ var masterQuery = {
45422
45421
  },
45423
45422
  form: function form() {
45424
45423
  return {
45425
- appcode: dbName$1,
45424
+ appcode: dbName,
45426
45425
  filter: {
45427
45426
  activestatus: true,
45428
45427
  status: true
@@ -45432,7 +45431,7 @@ var masterQuery = {
45432
45431
  },
45433
45432
  synonym_type: function synonym_type() {
45434
45433
  return {
45435
- appcode: dbName$1,
45434
+ appcode: dbName,
45436
45435
  filter: {
45437
45436
  activestatus: true,
45438
45437
  status: true,
@@ -45443,7 +45442,7 @@ var masterQuery = {
45443
45442
  },
45444
45443
  source: function source() {
45445
45444
  return {
45446
- appcode: dbName$1,
45445
+ appcode: dbName,
45447
45446
  filter: {
45448
45447
  activestatus: true,
45449
45448
  status: true,
@@ -45454,7 +45453,7 @@ var masterQuery = {
45454
45453
  },
45455
45454
  drug_uom: function drug_uom() {
45456
45455
  return {
45457
- appcode: dbName$1,
45456
+ appcode: dbName,
45458
45457
  filter: {
45459
45458
  status: true,
45460
45459
  code: "",
@@ -45466,7 +45465,7 @@ var masterQuery = {
45466
45465
  },
45467
45466
  default_route: function default_route() {
45468
45467
  return {
45469
- appcode: dbName$1,
45468
+ appcode: dbName,
45470
45469
  filter: {
45471
45470
  status: true,
45472
45471
  sortField: "shortdesc"
@@ -45476,7 +45475,7 @@ var masterQuery = {
45476
45475
  },
45477
45476
  frequency: function frequency() {
45478
45477
  return {
45479
- appcode: dbName$1,
45478
+ appcode: dbName,
45480
45479
  filter: {
45481
45480
  status: true,
45482
45481
  sortField: "shortdesc",
@@ -45487,7 +45486,7 @@ var masterQuery = {
45487
45486
  },
45488
45487
  routes_allowed: function routes_allowed() {
45489
45488
  return {
45490
- appcode: dbName$1,
45489
+ appcode: dbName,
45491
45490
  filter: {
45492
45491
  status: true,
45493
45492
  sortField: "shortdesc"
@@ -45497,7 +45496,7 @@ var masterQuery = {
45497
45496
  },
45498
45497
  drug_followUom: function drug_followUom() {
45499
45498
  return {
45500
- appcode: dbName$1,
45499
+ appcode: dbName,
45501
45500
  filter: {
45502
45501
  status: true,
45503
45502
  type: "FOLLOWUOM",
@@ -45509,7 +45508,7 @@ var masterQuery = {
45509
45508
  },
45510
45509
  action: function action() {
45511
45510
  return {
45512
- appcode: dbName$1,
45511
+ appcode: dbName,
45513
45512
  filter: {
45514
45513
  status: true,
45515
45514
  type: "DRUGACTION",
@@ -45521,7 +45520,7 @@ var masterQuery = {
45521
45520
  },
45522
45521
  instruction_type: function instruction_type() {
45523
45522
  return {
45524
- appcode: dbName$1,
45523
+ appcode: dbName,
45525
45524
  filter: {
45526
45525
  activestatus: true,
45527
45526
  status: true,
@@ -45532,7 +45531,7 @@ var masterQuery = {
45532
45531
  },
45533
45532
  drug_status: function drug_status() {
45534
45533
  return {
45535
- appcode: dbName$1,
45534
+ appcode: dbName,
45536
45535
  filter: {
45537
45536
  activestatus: true,
45538
45537
  status: true,
@@ -45543,7 +45542,7 @@ var masterQuery = {
45543
45542
  },
45544
45543
  entity_type: function entity_type() {
45545
45544
  return {
45546
- appcode: dbName$1,
45545
+ appcode: dbName,
45547
45546
  filter: {
45548
45547
  activestatus: true,
45549
45548
  status: true,
@@ -45554,7 +45553,7 @@ var masterQuery = {
45554
45553
  },
45555
45554
  applicability: function applicability() {
45556
45555
  return {
45557
- appcode: dbName$1,
45556
+ appcode: dbName,
45558
45557
  filter: {
45559
45558
  activestatus: true,
45560
45559
  status: true,
@@ -45565,7 +45564,7 @@ var masterQuery = {
45565
45564
  },
45566
45565
  privilege_type: function privilege_type() {
45567
45566
  return {
45568
- appcode: dbName$1,
45567
+ appcode: dbName,
45569
45568
  filter: {
45570
45569
  status: true,
45571
45570
  type: "PRIVILEGETYPE",
@@ -45577,7 +45576,7 @@ var masterQuery = {
45577
45576
  },
45578
45577
  rule_type: function rule_type() {
45579
45578
  return {
45580
- appcode: dbName$1,
45579
+ appcode: dbName,
45581
45580
  filter: {
45582
45581
  status: true,
45583
45582
  type: "RULETYPE",
@@ -45589,7 +45588,7 @@ var masterQuery = {
45589
45588
  },
45590
45589
  round_off_type: function round_off_type() {
45591
45590
  return {
45592
- appcode: dbName$1,
45591
+ appcode: dbName,
45593
45592
  filter: {
45594
45593
  status: true,
45595
45594
  type: "ROUNDOFFTYPE",
@@ -45601,7 +45600,7 @@ var masterQuery = {
45601
45600
  },
45602
45601
  drug_code: function drug_code() {
45603
45602
  return {
45604
- appcode: dbName$1,
45603
+ appcode: dbName,
45605
45604
  filter: {
45606
45605
  ApplicableForCompounding: true,
45607
45606
  count: 20,
@@ -45614,7 +45613,7 @@ var masterQuery = {
45614
45613
  item_code: function item_code(_ref) {
45615
45614
  var id = _ref.id;
45616
45615
  return {
45617
- appcode: dbName$1,
45616
+ appcode: dbName,
45618
45617
  filter: {
45619
45618
  _id: id,
45620
45619
  IsDispensible: true
@@ -45624,7 +45623,7 @@ var masterQuery = {
45624
45623
  },
45625
45624
  return_reason: function return_reason() {
45626
45625
  return {
45627
- appcode: dbName$1,
45626
+ appcode: dbName,
45628
45627
  filter: {
45629
45628
  status: true,
45630
45629
  type: "MEDRETURNREASON",
@@ -45636,7 +45635,7 @@ var masterQuery = {
45636
45635
  },
45637
45636
  duration_uom: function duration_uom() {
45638
45637
  return {
45639
- appcode: dbName$1,
45638
+ appcode: dbName,
45640
45639
  filter: {
45641
45640
  status: true,
45642
45641
  type: "DURATIONUOM",
@@ -45648,7 +45647,7 @@ var masterQuery = {
45648
45647
  },
45649
45648
  pack_drug_uom: function pack_drug_uom() {
45650
45649
  return {
45651
- appcode: dbName$1,
45650
+ appcode: dbName,
45652
45651
  filter: {
45653
45652
  status: true,
45654
45653
  UOM: "",
@@ -45661,7 +45660,7 @@ var masterQuery = {
45661
45660
  },
45662
45661
  strength_uom: function strength_uom() {
45663
45662
  return {
45664
- appcode: dbName$1,
45663
+ appcode: dbName,
45665
45664
  filter: {
45666
45665
  status: true,
45667
45666
  uomTypeCodes: ["DU013", "DU012", "DU010", "DU008"],
@@ -45674,7 +45673,7 @@ var masterQuery = {
45674
45673
  },
45675
45674
  order_default_duration_uom: function order_default_duration_uom() {
45676
45675
  return {
45677
- appcode: dbName$1,
45676
+ appcode: dbName,
45678
45677
  filter: {
45679
45678
  status: true,
45680
45679
  uomTypeCodes: ["DU010"],
@@ -45687,7 +45686,7 @@ var masterQuery = {
45687
45686
  },
45688
45687
  duration_day_only: function duration_day_only() {
45689
45688
  return {
45690
- appcode: dbName$1,
45689
+ appcode: dbName,
45691
45690
  filter: {
45692
45691
  status: true,
45693
45692
  uomTypeCodes: ["DU010"],
@@ -45700,7 +45699,7 @@ var masterQuery = {
45700
45699
  },
45701
45700
  compound_quantity_uom: function compound_quantity_uom() {
45702
45701
  return {
45703
- appcode: dbName$1,
45702
+ appcode: dbName,
45704
45703
  filter: {
45705
45704
  status: true,
45706
45705
  uomTypeCodes: ["DU008"],
@@ -45713,7 +45712,7 @@ var masterQuery = {
45713
45712
  },
45714
45713
  dispense_type: function dispense_type() {
45715
45714
  return {
45716
- appcode: dbName$1,
45715
+ appcode: dbName,
45717
45716
  filter: {
45718
45717
  status: true,
45719
45718
  type: "DISPENSETYPE",
@@ -45725,7 +45724,7 @@ var masterQuery = {
45725
45724
  },
45726
45725
  uom_time_type: function uom_time_type() {
45727
45726
  return {
45728
- appcode: dbName$1,
45727
+ appcode: dbName,
45729
45728
  filter: {
45730
45729
  status: true,
45731
45730
  uomTypeCodes: ["DU010"],
@@ -45738,7 +45737,7 @@ var masterQuery = {
45738
45737
  },
45739
45738
  tags: function tags() {
45740
45739
  return {
45741
- appcode: dbName$1,
45740
+ appcode: dbName,
45742
45741
  filter: {
45743
45742
  status: true,
45744
45743
  type: "TAGTYPE",
@@ -45752,7 +45751,7 @@ var masterQuery = {
45752
45751
  var entityNameOptionsQuery = function entityNameOptionsQuery() {
45753
45752
  var entityTypeCode = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : "OT003";
45754
45753
  return {
45755
- appcode: dbName$1,
45754
+ appcode: dbName,
45756
45755
  filter: {
45757
45756
  code: "".concat(entityTypeCode),
45758
45757
  active: true
@@ -45885,7 +45884,7 @@ var GenerateUpsert = function GenerateUpsert(data) {
45885
45884
  };
45886
45885
  }
45887
45886
  return [_objectSpread2(_objectSpread2({
45888
- appcode: dbName$1,
45887
+ appcode: dbName,
45889
45888
  collection: "DrugMaster",
45890
45889
  is_metadata: true,
45891
45890
  metadataId: "88b23ef1-7199-4503-b631-2de82ace6e03"
@@ -45946,7 +45945,7 @@ var GenerateAlertRestrictionUpsert = function GenerateAlertRestrictionUpsert(dat
45946
45945
  };
45947
45946
  }
45948
45947
  return [_objectSpread2(_objectSpread2({
45949
- appcode: dbName$1,
45948
+ appcode: dbName,
45950
45949
  collection: "CA_OrderCatalogPrivilegeLevel",
45951
45950
  is_metadata: true,
45952
45951
  metadataId: "88b23ef1-7199-4503-b631-2de82ace6e03"
@@ -45977,7 +45976,7 @@ var GenerateMappedItemUpsert = function GenerateMappedItemUpsert(data) {
45977
45976
  };
45978
45977
  }
45979
45978
  return [_objectSpread2(_objectSpread2({
45980
- appcode: dbName$1,
45979
+ appcode: dbName,
45981
45980
  collection: "DrugMaster"
45982
45981
  }, filter), {}, {
45983
45982
  is_metadata: true,
@@ -46020,7 +46019,7 @@ var DRUG_CATALOG_MASTER_FULL_READ = createAsyncThunk("drugCatalogMasterApiSlice/
46020
46019
  }
46021
46020
  };
46022
46021
  fullReadQDMQuery = _objectSpread2({
46023
- appcode: dbName$1,
46022
+ appcode: dbName,
46024
46023
  requestid: queryId
46025
46024
  }, withLimitFilter);
46026
46025
  _context.n = 2;
@@ -47006,7 +47005,7 @@ var schedule_line_day_dropdown$1 = createAsyncThunk("schedule_line_day_dropdownR
47006
47005
  rejectWithValue = _ref.rejectWithValue;
47007
47006
  _context.p = 1;
47008
47007
  body = JSON.stringify({
47009
- appcode: dbName$1,
47008
+ appcode: dbName,
47010
47009
  filter: {
47011
47010
  activestatus: true,
47012
47011
  status: true,
@@ -47068,7 +47067,7 @@ var drugUpsert = createAsyncThunk("drugReducer/upsert", /*#__PURE__*/function ()
47068
47067
  body = data.map(function (v) {
47069
47068
  var _v$facility, _v$locationType;
47070
47069
  return {
47071
- appcode: dbName$1,
47070
+ appcode: dbName,
47072
47071
  collection: "CA_PerformingLocationforOrdLocn",
47073
47072
  is_metadata: true,
47074
47073
  metadataId: "88b23ef1-7199-4503-b631-2de82ace6e03",
@@ -47142,7 +47141,7 @@ var drugUpdate = createAsyncThunk("drugReducer/update", /*#__PURE__*/function ()
47142
47141
  body = data.map(function (v) {
47143
47142
  var _v$facility2, _v$locationType2;
47144
47143
  var Json = {
47145
- appcode: dbName$1,
47144
+ appcode: dbName,
47146
47145
  collection: "CA_PerformingLocationforOrdLocn",
47147
47146
  is_metadata: true,
47148
47147
  metadataId: "88b23ef1-7199-4503-b631-2de82ace6e03",
@@ -47219,7 +47218,7 @@ var sigleRead = createAsyncThunk("drugReducer/singleread", /*#__PURE__*/function
47219
47218
  _context3.p = 1;
47220
47219
  body = {};
47221
47220
  body = JSON.stringify({
47222
- appcode: dbName$1,
47221
+ appcode: dbName,
47223
47222
  requestid: "6a5b38b4-239d-4480-9aa3-1a8b45154c91",
47224
47223
  filter: {
47225
47224
  performing_location_code: LocationMasterId,
@@ -47310,7 +47309,7 @@ var drugReducer$1 = drugReducer.reducer;
47310
47309
  var frequencyMasterQuery = {
47311
47310
  singleRead: function singleRead(_key) {
47312
47311
  return {
47313
- appcode: dbName$1,
47312
+ appcode: dbName,
47314
47313
  filter: {
47315
47314
  activestatus: true,
47316
47315
  _key: _key
@@ -47320,7 +47319,7 @@ var frequencyMasterQuery = {
47320
47319
  },
47321
47320
  addnewfrequency_orgfrequencymaster_days_dropdown: function addnewfrequency_orgfrequencymaster_days_dropdown() {
47322
47321
  return {
47323
- appcode: dbName$1,
47322
+ appcode: dbName,
47324
47323
  filter: {
47325
47324
  activestatus: true,
47326
47325
  status: true,
@@ -47331,7 +47330,7 @@ var frequencyMasterQuery = {
47331
47330
  },
47332
47331
  addnewfrequency_orgfrequencymaster_frequencytype_dropdown: function addnewfrequency_orgfrequencymaster_frequencytype_dropdown() {
47333
47332
  return {
47334
- appcode: dbName$1,
47333
+ appcode: dbName,
47335
47334
  filter: {
47336
47335
  activestatus: true,
47337
47336
  status: true,
@@ -47342,7 +47341,7 @@ var frequencyMasterQuery = {
47342
47341
  },
47343
47342
  addnewfrequency_orgfrequencymaster_uom_dropdown: function addnewfrequency_orgfrequencymaster_uom_dropdown() {
47344
47343
  return {
47345
- appcode: dbName$1,
47344
+ appcode: dbName,
47346
47345
  filter: {
47347
47346
  activestatus: true,
47348
47347
  status: true,
@@ -47353,7 +47352,7 @@ var frequencyMasterQuery = {
47353
47352
  },
47354
47353
  base_frequency_dropdown: function base_frequency_dropdown() {
47355
47354
  return {
47356
- appcode: dbName$1,
47355
+ appcode: dbName,
47357
47356
  requestid: "bc340eaa-a2e8-4b94-ae33-9e00b4884fd9",
47358
47357
  filter: {
47359
47358
  status: true,
@@ -47372,14 +47371,14 @@ var frequencyMasterQuery = {
47372
47371
  }
47373
47372
  };
47374
47373
  return _objectSpread2({
47375
- appcode: dbName$1,
47374
+ appcode: dbName,
47376
47375
  requestid: queryId
47377
47376
  }, withLimitFilter);
47378
47377
  }
47379
47378
  };
47380
47379
  var uom_time_type = function uom_time_type() {
47381
47380
  return {
47382
- "appcode": dbName$1,
47381
+ "appcode": dbName,
47383
47382
  filter: {
47384
47383
  status: true,
47385
47384
  uomTypeCodes: ["DU010"],
@@ -47667,7 +47666,7 @@ var addnewfrequency_orgfrequencymaster_insert = createAsyncThunk("frequencyMaste
47667
47666
  rejectWithValue = _ref15.rejectWithValue;
47668
47667
  _context9.p = 1;
47669
47668
  body = JSON.stringify([{
47670
- appcode: dbName$1,
47669
+ appcode: dbName,
47671
47670
  collection: tables.FREQUENCY_MASTER,
47672
47671
  is_metadata: true,
47673
47672
  metadataId: metaDataId$1,
@@ -47719,7 +47718,7 @@ var EditNewFrequency_orgfrequencymaster_update = createAsyncThunk("frequencyMast
47719
47718
  rejectWithValue = _ref17.rejectWithValue;
47720
47719
  _context0.p = 1;
47721
47720
  body = JSON.stringify([{
47722
- appcode: dbName$1,
47721
+ appcode: dbName,
47723
47722
  collection: tables.FREQUENCY_MASTER,
47724
47723
  is_metadata: true,
47725
47724
  filter: {
@@ -47774,7 +47773,7 @@ var schedule_line_day_dropdown = createAsyncThunk("schedule_line_day_dropdownRed
47774
47773
  rejectWithValue = _ref19.rejectWithValue;
47775
47774
  _context1.p = 1;
47776
47775
  body = JSON.stringify({
47777
- appcode: dbName$1,
47776
+ appcode: dbName,
47778
47777
  filter: {
47779
47778
  activestatus: true,
47780
47779
  status: true,
@@ -47948,13 +47947,13 @@ var pharmacy = {
47948
47947
 
47949
47948
  Pharmacy_Rule_Group: function Pharmacy_Rule_Group() {
47950
47949
  return {
47951
- appcode: "".concat(dbName$1),
47950
+ appcode: "".concat(dbName),
47952
47951
  requestid: "99a7f010-b6ec-458a-aec7-b40064f892fc"
47953
47952
  };
47954
47953
  },
47955
47954
  Pharmacy_Rule: function Pharmacy_Rule() {
47956
47955
  return {
47957
- appcode: "".concat(dbName$1),
47956
+ appcode: "".concat(dbName),
47958
47957
  requestid: "d42ebd6b-c62a-4a4c-89a9-d01ae103f5ab"
47959
47958
  };
47960
47959
  }