primary_care_admin_binder 0.1.192 → 0.1.193

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