primary_care_admin_binder 0.1.8 → 0.1.9

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 +1377 -959
  2. package/package.json +1 -1
package/dist/index.cjs.js CHANGED
@@ -8506,7 +8506,7 @@ var generateJSON$2 = function generateJSON(data, _key, person_id) {
8506
8506
  return json;
8507
8507
  };
8508
8508
 
8509
- var _extraReducers$G;
8509
+ var _extraReducers$H;
8510
8510
  var PRACTITIONER_ROLE_READ = createAsyncThunk("practitionerSlice/practitionerlist", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
8511
8511
  var payload,
8512
8512
  _ref2,
@@ -8817,43 +8817,43 @@ var practitionerSlice = createSlice({
8817
8817
  practitioner_status_update: _objectSpread2({}, defaultState.List),
8818
8818
  get_entity_by_id: _objectSpread2({}, defaultState.List)
8819
8819
  },
8820
- extraReducers: (_extraReducers$G = {}, _defineProperty(_extraReducers$G, PRACTITIONER_ROLE_READ.fulfilled, function (state, action) {
8820
+ extraReducers: (_extraReducers$H = {}, _defineProperty(_extraReducers$H, PRACTITIONER_ROLE_READ.fulfilled, function (state, action) {
8821
8821
  state.practitioner_role_list.loading = false, state.practitioner_role_list.error = false, state.practitioner_role_list = action.payload;
8822
- }), _defineProperty(_extraReducers$G, PRACTITIONER_ROLE_READ.pending, function (state, action) {
8822
+ }), _defineProperty(_extraReducers$H, PRACTITIONER_ROLE_READ.pending, function (state, action) {
8823
8823
  state.practitioner_role_list.loading = true, state.practitioner_role_list.error = false, state.practitioner_role_list.loading = true;
8824
- }), _defineProperty(_extraReducers$G, PRACTITIONER_ROLE_READ.rejected, function (state, action) {
8824
+ }), _defineProperty(_extraReducers$H, PRACTITIONER_ROLE_READ.rejected, function (state, action) {
8825
8825
  state.practitioner_role_list.loading = false, state.practitioner_role_list.error = true, state.practitioner_role_list = action.payload;
8826
- }), _defineProperty(_extraReducers$G, PRACTITIONER_ROLE_UPSERT.fulfilled, function (state, action) {
8826
+ }), _defineProperty(_extraReducers$H, PRACTITIONER_ROLE_UPSERT.fulfilled, function (state, action) {
8827
8827
  state.practitioner_role_upsert.loading = false, state.practitioner_role_upsert.error = false, state.practitioner_role_upsert = action.payload;
8828
- }), _defineProperty(_extraReducers$G, PRACTITIONER_ROLE_UPSERT.pending, function (state, action) {
8828
+ }), _defineProperty(_extraReducers$H, PRACTITIONER_ROLE_UPSERT.pending, function (state, action) {
8829
8829
  state.practitioner_role_upsert.loading = true, state.practitioner_role_upsert.error = false, state.practitioner_role_upsert.loading = true;
8830
- }), _defineProperty(_extraReducers$G, PRACTITIONER_ROLE_UPSERT.rejected, function (state, action) {
8830
+ }), _defineProperty(_extraReducers$H, PRACTITIONER_ROLE_UPSERT.rejected, function (state, action) {
8831
8831
  state.practitioner_role_upsert.loading = false, state.practitioner_role_upsert.error = true, state.practitioner_role_upsert = action.payload;
8832
- }), _defineProperty(_extraReducers$G, PRACTITIONER_LIST_READ.fulfilled, function (state, action) {
8832
+ }), _defineProperty(_extraReducers$H, PRACTITIONER_LIST_READ.fulfilled, function (state, action) {
8833
8833
  state.practitioner_list.loading = false, state.practitioner_list.error = false, state.practitioner_list = action.payload;
8834
- }), _defineProperty(_extraReducers$G, PRACTITIONER_LIST_READ.pending, function (state, action) {
8834
+ }), _defineProperty(_extraReducers$H, PRACTITIONER_LIST_READ.pending, function (state, action) {
8835
8835
  state.practitioner_list.loading = true, state.practitioner_list.error = false, state.practitioner_list.loading = true;
8836
- }), _defineProperty(_extraReducers$G, PRACTITIONER_LIST_READ.rejected, function (state, action) {
8836
+ }), _defineProperty(_extraReducers$H, PRACTITIONER_LIST_READ.rejected, function (state, action) {
8837
8837
  state.practitioner_list.loading = false, state.practitioner_list.error = true, state.practitioner_list = action.payload;
8838
- }), _defineProperty(_extraReducers$G, PRACTITIONER_UPSERT.fulfilled, function (state, action) {
8838
+ }), _defineProperty(_extraReducers$H, PRACTITIONER_UPSERT.fulfilled, function (state, action) {
8839
8839
  state.practitioner_upsert.loading = false, state.practitioner_upsert.error = false, state.practitioner_upsert = action.payload;
8840
- }), _defineProperty(_extraReducers$G, PRACTITIONER_UPSERT.pending, function (state, action) {
8840
+ }), _defineProperty(_extraReducers$H, PRACTITIONER_UPSERT.pending, function (state, action) {
8841
8841
  state.practitioner_upsert.loading = true, state.practitioner_upsert.error = false, state.practitioner_upsert.loading = true;
8842
- }), _defineProperty(_extraReducers$G, PRACTITIONER_UPSERT.rejected, function (state, action) {
8842
+ }), _defineProperty(_extraReducers$H, PRACTITIONER_UPSERT.rejected, function (state, action) {
8843
8843
  state.practitioner_upsert.loading = false, state.practitioner_upsert.error = true, state.practitioner_upsert = action.payload;
8844
- }), _defineProperty(_extraReducers$G, PRACTITIONER_STATUS_CHANGE.fulfilled, function (state, action) {
8844
+ }), _defineProperty(_extraReducers$H, PRACTITIONER_STATUS_CHANGE.fulfilled, function (state, action) {
8845
8845
  state.practitioner_status_update.loading = false, state.practitioner_status_update.error = false, state.practitioner_status_update = action.payload;
8846
- }), _defineProperty(_extraReducers$G, PRACTITIONER_STATUS_CHANGE.pending, function (state, action) {
8846
+ }), _defineProperty(_extraReducers$H, PRACTITIONER_STATUS_CHANGE.pending, function (state, action) {
8847
8847
  state.practitioner_status_update.loading = true, state.practitioner_status_update.error = false, state.practitioner_status_update.loading = true;
8848
- }), _defineProperty(_extraReducers$G, PRACTITIONER_STATUS_CHANGE.rejected, function (state, action) {
8848
+ }), _defineProperty(_extraReducers$H, PRACTITIONER_STATUS_CHANGE.rejected, function (state, action) {
8849
8849
  state.practitioner_status_update.loading = false, state.practitioner_status_update.error = true, state.practitioner_status_update = action.payload;
8850
- }), _defineProperty(_extraReducers$G, GET_ENTITY_BY_ID.fulfilled, function (state, action) {
8850
+ }), _defineProperty(_extraReducers$H, GET_ENTITY_BY_ID.fulfilled, function (state, action) {
8851
8851
  state.get_entity_by_id.loading = false, state.get_entity_by_id.error = false, state.get_entity_by_id = action.payload;
8852
- }), _defineProperty(_extraReducers$G, GET_ENTITY_BY_ID.pending, function (state, action) {
8852
+ }), _defineProperty(_extraReducers$H, GET_ENTITY_BY_ID.pending, function (state, action) {
8853
8853
  state.get_entity_by_id.loading = true, state.get_entity_by_id.error = false, state.get_entity_by_id.loading = true;
8854
- }), _defineProperty(_extraReducers$G, GET_ENTITY_BY_ID.rejected, function (state, action) {
8854
+ }), _defineProperty(_extraReducers$H, GET_ENTITY_BY_ID.rejected, function (state, action) {
8855
8855
  state.get_entity_by_id.loading = false, state.get_entity_by_id.error = true, state.get_entity_by_id = action.payload;
8856
- }), _extraReducers$G)
8856
+ }), _extraReducers$H)
8857
8857
  });
8858
8858
  var practitionerActions$1 = {
8859
8859
  PRACTITIONER_ROLE_READ: PRACTITIONER_ROLE_READ,
@@ -8865,7 +8865,7 @@ var practitionerActions$1 = {
8865
8865
  };
8866
8866
  var practitionerSlice$1 = practitionerSlice.reducer;
8867
8867
 
8868
- var masterQuery$6 = {
8868
+ var masterQuery$7 = {
8869
8869
  "id_type": "{\n \"db_name\": \"".concat(dbName, "\",\n \"entity\": \"CodeableConceptMaster\",\n \"sort\":\"document(CodeableConceptMaster.coding[0]).display\",\n \"filter\": \"CodeableConceptMaster.Type=='ALTERNATEIDTYPE'\",\n \"return_fields\": \"MERGE(CodeableConceptMaster,{coding:(FOR cod IN CodeableConceptMaster.coding RETURN DOCUMENT(cod))})\"\n }"),
8870
8870
  "id_number": "{\n \"db_name\": \"".concat(dbName, "\",\n \"entity\": \"CodeableConceptMaster\",\n \"sort\":\"document(CodeableConceptMaster.coding[0]).display\",\n \"filter\": \"CodeableConceptMaster.Type=='RELATIONSHIP'\",\n \"return_fields\": \"MERGE(CodeableConceptMaster,{coding:(FOR cod IN CodeableConceptMaster.coding RETURN DOCUMENT(cod))})\"\n }"),
8871
8871
  "prefix": "{\n \"db_name\": \"".concat(dbName, "\",\n \"entity\": \"CodeableConceptMaster\",\n \"sort\":\"document(CodeableConceptMaster.coding[0]).display\",\n \"filter\": \"CodeableConceptMaster.Type=='NAMEPREFIX'\",\n \"return_fields\": \"MERGE(CodeableConceptMaster,{coding:(FOR cod IN CodeableConceptMaster.coding RETURN DOCUMENT(cod))})\"\n }"),
@@ -8979,7 +8979,7 @@ var addressListData = function addressListData(data, masters) {
8979
8979
  return list;
8980
8980
  };
8981
8981
 
8982
- var generateReadJSON$4 = function generateReadJSON(data, masters) {
8982
+ var generateReadJSON$5 = function generateReadJSON(data, masters) {
8983
8983
  var _data$identifier, _data$name, _data$communication, _data$telecom, _data$practitioner_ro, _data$address, _data$qualification, _data$publication_det, _data$training_detail, _data$job_experience, _data$achievements_aw, _data$gender, _data$marital_status, _data$nationality, _data$practitioner_ty, _data$position, _data$employee_status;
8984
8984
 
8985
8985
  var identifier = [];
@@ -9239,10 +9239,10 @@ var generateReadJSON$4 = function generateReadJSON(data, masters) {
9239
9239
  return json;
9240
9240
  };
9241
9241
 
9242
- var _extraReducers$F;
9242
+ var _extraReducers$G;
9243
9243
  var location = ["nationality", "city", "district", "state", "country"];
9244
9244
 
9245
- var loopMasters$7 = function loopMasters() {
9245
+ var loopMasters$8 = function loopMasters() {
9246
9246
  return new es6Promise.Promise( /*#__PURE__*/function () {
9247
9247
  var _ref = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2(resolve, reject) {
9248
9248
  var calls;
@@ -9250,14 +9250,14 @@ var loopMasters$7 = function loopMasters() {
9250
9250
  while (1) {
9251
9251
  switch (_context2.prev = _context2.next) {
9252
9252
  case 0:
9253
- calls = Object.keys(masterQuery$6).map( /*#__PURE__*/function () {
9253
+ calls = Object.keys(masterQuery$7).map( /*#__PURE__*/function () {
9254
9254
  var _ref2 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(val) {
9255
9255
  return regeneratorRuntime.wrap(function _callee$(_context) {
9256
9256
  while (1) {
9257
9257
  switch (_context.prev = _context.next) {
9258
9258
  case 0:
9259
9259
  _context.next = 2;
9260
- return fetchMaster$7(val, masterQuery$6[val]);
9260
+ return fetchMaster$8(val, masterQuery$7[val]);
9261
9261
 
9262
9262
  case 2:
9263
9263
  return _context.abrupt("return", _context.sent);
@@ -9344,7 +9344,7 @@ var loopMasters$7 = function loopMasters() {
9344
9344
  }());
9345
9345
  };
9346
9346
 
9347
- var fetchMaster$7 = function fetchMaster(name, query) {
9347
+ var fetchMaster$8 = function fetchMaster(name, query) {
9348
9348
  return new es6Promise.Promise( /*#__PURE__*/function () {
9349
9349
  var _ref3 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee3(resolve, reject) {
9350
9350
  var data;
@@ -9391,7 +9391,7 @@ var PRACTITIONER_MASTERS = createAsyncThunk("practitionerMasterSlice/practitione
9391
9391
  _ref5 = _args4.length > 1 ? _args4[1] : undefined, rejectWithValue = _ref5.rejectWithValue;
9392
9392
  _context4.prev = 2;
9393
9393
  _context4.next = 6;
9394
- return loopMasters$7();
9394
+ return loopMasters$8();
9395
9395
 
9396
9396
  case 6:
9397
9397
  data = _context4.sent;
@@ -9432,7 +9432,7 @@ var PRACTITIONER_GET_BY_ID = createAsyncThunk("practitionerMasterSlice/practitio
9432
9432
  _context5.prev = 2;
9433
9433
  id = payload.id;
9434
9434
  _context5.next = 6;
9435
- return loopMasters$7();
9435
+ return loopMasters$8();
9436
9436
 
9437
9437
  case 6:
9438
9438
  masterlist = _context5.sent;
@@ -9443,7 +9443,7 @@ var PRACTITIONER_GET_BY_ID = createAsyncThunk("practitionerMasterSlice/practitio
9443
9443
 
9444
9444
  case 9:
9445
9445
  data = _context5.sent;
9446
- readJSON = generateReadJSON$4(data.result[0] ? data.result[0] : null, masterlist);
9446
+ readJSON = generateReadJSON$5(data.result[0] ? data.result[0] : null, masterlist);
9447
9447
  return _context5.abrupt("return", _objectSpread2(_objectSpread2({}, defaultState.List), {}, {
9448
9448
  data: readJSON
9449
9449
  }));
@@ -9468,19 +9468,19 @@ var practitionerMasterSlice = createSlice({
9468
9468
  practitioner_masters: _objectSpread2({}, defaultState.Info),
9469
9469
  practitionerbyid: _objectSpread2({}, defaultState.Info)
9470
9470
  },
9471
- extraReducers: (_extraReducers$F = {}, _defineProperty(_extraReducers$F, PRACTITIONER_MASTERS.fulfilled, function (state, action) {
9471
+ extraReducers: (_extraReducers$G = {}, _defineProperty(_extraReducers$G, PRACTITIONER_MASTERS.fulfilled, function (state, action) {
9472
9472
  state.practitioner_masters.loading = false, state.practitioner_masters.error = false, state.practitioner_masters = action.payload;
9473
- }), _defineProperty(_extraReducers$F, PRACTITIONER_MASTERS.pending, function (state, action) {
9473
+ }), _defineProperty(_extraReducers$G, PRACTITIONER_MASTERS.pending, function (state, action) {
9474
9474
  state.practitioner_masters.loading = true, state.practitioner_masters.error = false, state.practitioner_masters.loading = true;
9475
- }), _defineProperty(_extraReducers$F, PRACTITIONER_MASTERS.rejected, function (state, action) {
9475
+ }), _defineProperty(_extraReducers$G, PRACTITIONER_MASTERS.rejected, function (state, action) {
9476
9476
  state.practitioner_masters.loading = false, state.practitioner_masters.error = true, state.practitioner_masters = action.payload;
9477
- }), _defineProperty(_extraReducers$F, PRACTITIONER_GET_BY_ID.fulfilled, function (state, action) {
9477
+ }), _defineProperty(_extraReducers$G, PRACTITIONER_GET_BY_ID.fulfilled, function (state, action) {
9478
9478
  state.practitionerbyid.loading = false, state.practitionerbyid.error = false, state.practitionerbyid = action.payload;
9479
- }), _defineProperty(_extraReducers$F, PRACTITIONER_GET_BY_ID.pending, function (state, action) {
9479
+ }), _defineProperty(_extraReducers$G, PRACTITIONER_GET_BY_ID.pending, function (state, action) {
9480
9480
  state.practitionerbyid.loading = true, state.practitionerbyid.error = false, state.practitionerbyid.loading = true;
9481
- }), _defineProperty(_extraReducers$F, PRACTITIONER_GET_BY_ID.rejected, function (state, action) {
9481
+ }), _defineProperty(_extraReducers$G, PRACTITIONER_GET_BY_ID.rejected, function (state, action) {
9482
9482
  state.practitionerbyid.loading = false, state.practitionerbyid.error = true, state.practitionerbyid = action.payload;
9483
- }), _extraReducers$F)
9483
+ }), _extraReducers$G)
9484
9484
  });
9485
9485
  var practitionerMasterActions = {
9486
9486
  PRACTITIONER_MASTERS: PRACTITIONER_MASTERS,
@@ -9488,7 +9488,7 @@ var practitionerMasterActions = {
9488
9488
  };
9489
9489
  var practitionerMasterSlice$1 = practitionerMasterSlice.reducer;
9490
9490
 
9491
- var query$a = {
9491
+ var query$b = {
9492
9492
  unitUom: "{\n \"db_name\": \"".concat(dbName, "\",\n \"entity\": \"CodeableConceptMaster\",\n \"sort\": \"document(CodeableConceptMaster.coding[0]).display\",\n \"filter\": \"CodeableConceptMaster.Type=='VITALSUOM'\",\n \"return_fields\": \"MERGE(CodeableConceptMaster,{coding:(FOR cod IN CodeableConceptMaster.coding RETURN DOCUMENT(cod))})\"\n }"),
9493
9493
  // getAgeRange: `{
9494
9494
  // "db_name": "${dbName}",
@@ -9498,7 +9498,7 @@ var query$a = {
9498
9498
  getAgeRange: "{\n \"db_name\": \"".concat(dbName, "\",\n \"entity\": \"AgeRanges\",\n \"return_fields\": \"MERGE(AgeRanges, {AgeCategory: (FOR cat IN TO_ARRAY(AgeRanges.AgeCategory) RETURN MERGE(DOCUMENT(cat), {UOM:(FOR cod IN TO_ARRAY(DOCUMENT(DOCUMENT(cat).UOM).coding) RETURN MERGE(DOCUMENT(DOCUMENT(cat).UOM),{coding:DOCUMENT(cod)} ) ) } ) ) } )\",\n \"sort\":\"AgeRanges.createddate\"\n }")
9499
9499
  };
9500
9500
 
9501
- var generateJson$b = function generateJson(data) {
9501
+ var generateJson$c = function generateJson(data) {
9502
9502
  var filter = {};
9503
9503
 
9504
9504
  if (data.editData) {
@@ -9545,7 +9545,7 @@ var generateCategory = function generateCategory(data) {
9545
9545
  return arr;
9546
9546
  };
9547
9547
 
9548
- var _extraReducers$E;
9548
+ var _extraReducers$F;
9549
9549
  var UPSERT_AGE_RANGE = createAsyncThunk("ageRangeMasterApiSlice/save_age_range", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
9550
9550
  var payload,
9551
9551
  _ref2,
@@ -9563,7 +9563,7 @@ var UPSERT_AGE_RANGE = createAsyncThunk("ageRangeMasterApiSlice/save_age_range",
9563
9563
  _ref2 = _args.length > 1 ? _args[1] : undefined, rejectWithValue = _ref2.rejectWithValue;
9564
9564
  _context.prev = 2;
9565
9565
  dataList = payload.dataList;
9566
- queriesjson = generateJson$b(dataList);
9566
+ queriesjson = generateJson$c(dataList);
9567
9567
  _context.next = 7;
9568
9568
  return fetchData({
9569
9569
  body: JSON.stringify(queriesjson)
@@ -9657,7 +9657,7 @@ var UNIT_UOM = createAsyncThunk("ageRangeMasterApiSlice/unit_uom_list", /*#__PUR
9657
9657
  _context3.prev = 2;
9658
9658
  _context3.next = 5;
9659
9659
  return fetchData({
9660
- body: query$a.unitUom
9660
+ body: query$b.unitUom
9661
9661
  }, __readDocumentUrl__);
9662
9662
 
9663
9663
  case 5:
@@ -9702,7 +9702,7 @@ var GET_AGE_RANGE_MASTER = createAsyncThunk("ageRangeMasterApiSlice/age_range_li
9702
9702
  _context4.prev = 2;
9703
9703
  _context4.next = 5;
9704
9704
  return fetchData({
9705
- body: query$a.getAgeRange
9705
+ body: query$b.getAgeRange
9706
9706
  }, __readDocumentUrl__);
9707
9707
 
9708
9708
  case 5:
@@ -9733,31 +9733,31 @@ var ageRangeMasterSlice = createSlice({
9733
9733
  save_age_range: _objectSpread2({}, defaultState.Info),
9734
9734
  update_age_range: _objectSpread2({}, defaultState.Info)
9735
9735
  },
9736
- extraReducers: (_extraReducers$E = {}, _defineProperty(_extraReducers$E, UNIT_UOM.fulfilled, function (state, action) {
9736
+ extraReducers: (_extraReducers$F = {}, _defineProperty(_extraReducers$F, UNIT_UOM.fulfilled, function (state, action) {
9737
9737
  state.unit_uom_list.loading = false, state.unit_uom_list.error = false, state.unit_uom_list = action.payload;
9738
- }), _defineProperty(_extraReducers$E, UNIT_UOM.pending, function (state, action) {
9738
+ }), _defineProperty(_extraReducers$F, UNIT_UOM.pending, function (state, action) {
9739
9739
  state.unit_uom_list.loading = true, state.unit_uom_list.error = false, state.unit_uom_list.loading = true;
9740
- }), _defineProperty(_extraReducers$E, UNIT_UOM.rejected, function (state, action) {
9740
+ }), _defineProperty(_extraReducers$F, UNIT_UOM.rejected, function (state, action) {
9741
9741
  state.unit_uom_list.loading = false, state.unit_uom_list.error = true, state.unit_uom_list = action.payload;
9742
- }), _defineProperty(_extraReducers$E, GET_AGE_RANGE_MASTER.fulfilled, function (state, action) {
9742
+ }), _defineProperty(_extraReducers$F, GET_AGE_RANGE_MASTER.fulfilled, function (state, action) {
9743
9743
  state.age_range_list.loading = false, state.age_range_list.error = false, state.age_range_list = action.payload;
9744
- }), _defineProperty(_extraReducers$E, GET_AGE_RANGE_MASTER.pending, function (state, action) {
9744
+ }), _defineProperty(_extraReducers$F, GET_AGE_RANGE_MASTER.pending, function (state, action) {
9745
9745
  state.age_range_list.loading = true, state.age_range_list.error = false, state.age_range_list.loading = true;
9746
- }), _defineProperty(_extraReducers$E, GET_AGE_RANGE_MASTER.rejected, function (state, action) {
9746
+ }), _defineProperty(_extraReducers$F, GET_AGE_RANGE_MASTER.rejected, function (state, action) {
9747
9747
  state.age_range_list.loading = false, state.age_range_list.error = true, state.age_range_list = action.payload;
9748
- }), _defineProperty(_extraReducers$E, UPSERT_AGE_RANGE.fulfilled, function (state, action) {
9748
+ }), _defineProperty(_extraReducers$F, UPSERT_AGE_RANGE.fulfilled, function (state, action) {
9749
9749
  state.save_age_range.loading = false, state.save_age_range.error = false, state.save_age_range = action.payload;
9750
- }), _defineProperty(_extraReducers$E, UPSERT_AGE_RANGE.pending, function (state, action) {
9750
+ }), _defineProperty(_extraReducers$F, UPSERT_AGE_RANGE.pending, function (state, action) {
9751
9751
  state.save_age_range.loading = true, state.save_age_range.error = false, state.save_age_range.loading = true;
9752
- }), _defineProperty(_extraReducers$E, UPSERT_AGE_RANGE.rejected, function (state, action) {
9752
+ }), _defineProperty(_extraReducers$F, UPSERT_AGE_RANGE.rejected, function (state, action) {
9753
9753
  state.save_age_range.loading = false, state.save_age_range.error = true, state.save_age_range = action.payload;
9754
- }), _defineProperty(_extraReducers$E, UPDATE_AGE_RANGE.fulfilled, function (state, action) {
9754
+ }), _defineProperty(_extraReducers$F, UPDATE_AGE_RANGE.fulfilled, function (state, action) {
9755
9755
  state.update_age_range.loading = false, state.update_age_range.error = false, state.update_age_range = action.payload;
9756
- }), _defineProperty(_extraReducers$E, UPDATE_AGE_RANGE.pending, function (state, action) {
9756
+ }), _defineProperty(_extraReducers$F, UPDATE_AGE_RANGE.pending, function (state, action) {
9757
9757
  state.update_age_range.loading = true, state.update_age_range.error = false, state.update_age_range.loading = true;
9758
- }), _defineProperty(_extraReducers$E, UPDATE_AGE_RANGE.rejected, function (state, action) {
9758
+ }), _defineProperty(_extraReducers$F, UPDATE_AGE_RANGE.rejected, function (state, action) {
9759
9759
  state.update_age_range.loading = false, state.update_age_range.error = true, state.update_age_range = action.payload;
9760
- }), _extraReducers$E)
9760
+ }), _extraReducers$F)
9761
9761
  });
9762
9762
  var ageRangeMasterActions = {
9763
9763
  UNIT_UOM: UNIT_UOM,
@@ -9767,11 +9767,11 @@ var ageRangeMasterActions = {
9767
9767
  };
9768
9768
  var ageRangeMasterSlice$1 = ageRangeMasterSlice.reducer;
9769
9769
 
9770
- var query$9 = {
9770
+ var query$a = {
9771
9771
  getList: "{\n \"db_name\": \"".concat(dbName, "\",\n \"entity\": \"VitalsMeasureCodes\",\n \"sort\": \"VitalsMeasureCodes.createddate\",\n \"filter\": {\n \"VitalsMeasureCodes\":\"VitalsMeasureCodes.activestatus==true\"\n },\n \"return_fields\": \"VitalsMeasureCodes\"\n }")
9772
9772
  };
9773
9773
 
9774
- var generateJson$a = function generateJson(data) {
9774
+ var generateJson$b = function generateJson(data) {
9775
9775
  var filter = {};
9776
9776
 
9777
9777
  if (data.edit_data) {
@@ -9797,7 +9797,7 @@ var generateJson$a = function generateJson(data) {
9797
9797
  })];
9798
9798
  };
9799
9799
 
9800
- var _extraReducers$D;
9800
+ var _extraReducers$E;
9801
9801
  var GET_VITALS_MEASURE_CODE = createAsyncThunk("measureCodeApiSlice/age_range_list", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
9802
9802
  var _ref2,
9803
9803
  rejectWithValue,
@@ -9813,7 +9813,7 @@ var GET_VITALS_MEASURE_CODE = createAsyncThunk("measureCodeApiSlice/age_range_li
9813
9813
  _context.prev = 2;
9814
9814
  _context.next = 5;
9815
9815
  return fetchData({
9816
- body: query$9.getList
9816
+ body: query$a.getList
9817
9817
  }, __readDocumentUrl__);
9818
9818
 
9819
9819
  case 5:
@@ -9856,7 +9856,7 @@ var UPSERT_MEASURE_CODE = createAsyncThunk("measureCodeApiSlice/save_measure_cod
9856
9856
  _ref4 = _args2.length > 1 ? _args2[1] : undefined, rejectWithValue = _ref4.rejectWithValue;
9857
9857
  _context2.prev = 2;
9858
9858
  dataList = payload.dataList;
9859
- queriesjson = generateJson$a(dataList);
9859
+ queriesjson = generateJson$b(dataList);
9860
9860
  _context2.next = 7;
9861
9861
  return fetchData({
9862
9862
  body: JSON.stringify(queriesjson)
@@ -9943,25 +9943,25 @@ var vitalsMeasureCodeSlice = createSlice({
9943
9943
  save_measure_code: _objectSpread2({}, defaultState.Info),
9944
9944
  update_measure_status: _objectSpread2({}, defaultState.Info)
9945
9945
  },
9946
- extraReducers: (_extraReducers$D = {}, _defineProperty(_extraReducers$D, GET_VITALS_MEASURE_CODE.fulfilled, function (state, action) {
9946
+ extraReducers: (_extraReducers$E = {}, _defineProperty(_extraReducers$E, GET_VITALS_MEASURE_CODE.fulfilled, function (state, action) {
9947
9947
  state.meadure_code_list.loading = false, state.meadure_code_list.error = false, state.meadure_code_list = action.payload;
9948
- }), _defineProperty(_extraReducers$D, GET_VITALS_MEASURE_CODE.pending, function (state, action) {
9948
+ }), _defineProperty(_extraReducers$E, GET_VITALS_MEASURE_CODE.pending, function (state, action) {
9949
9949
  state.meadure_code_list.loading = true, state.meadure_code_list.error = false, state.meadure_code_list.loading = true;
9950
- }), _defineProperty(_extraReducers$D, GET_VITALS_MEASURE_CODE.rejected, function (state, action) {
9950
+ }), _defineProperty(_extraReducers$E, GET_VITALS_MEASURE_CODE.rejected, function (state, action) {
9951
9951
  state.meadure_code_list.loading = false, state.meadure_code_list.error = true, state.meadure_code_list = action.payload;
9952
- }), _defineProperty(_extraReducers$D, UPSERT_MEASURE_CODE.fulfilled, function (state, action) {
9952
+ }), _defineProperty(_extraReducers$E, UPSERT_MEASURE_CODE.fulfilled, function (state, action) {
9953
9953
  state.save_measure_code.loading = false, state.save_measure_code.error = false, state.save_measure_code = action.payload;
9954
- }), _defineProperty(_extraReducers$D, UPSERT_MEASURE_CODE.pending, function (state, action) {
9954
+ }), _defineProperty(_extraReducers$E, UPSERT_MEASURE_CODE.pending, function (state, action) {
9955
9955
  state.save_measure_code.loading = true, state.save_measure_code.error = false, state.save_measure_code.loading = true;
9956
- }), _defineProperty(_extraReducers$D, UPSERT_MEASURE_CODE.rejected, function (state, action) {
9956
+ }), _defineProperty(_extraReducers$E, UPSERT_MEASURE_CODE.rejected, function (state, action) {
9957
9957
  state.save_measure_code.loading = false, state.save_measure_code.error = true, state.save_measure_code = action.payload;
9958
- }), _defineProperty(_extraReducers$D, UPDATE_MEASURE_CODE_STATUS.fulfilled, function (state, action) {
9958
+ }), _defineProperty(_extraReducers$E, UPDATE_MEASURE_CODE_STATUS.fulfilled, function (state, action) {
9959
9959
  state.update_measure_status.loading = false, state.update_measure_status.error = false, state.update_measure_status = action.payload;
9960
- }), _defineProperty(_extraReducers$D, UPDATE_MEASURE_CODE_STATUS.pending, function (state, action) {
9960
+ }), _defineProperty(_extraReducers$E, UPDATE_MEASURE_CODE_STATUS.pending, function (state, action) {
9961
9961
  state.update_measure_status.loading = true, state.update_measure_status.error = false, state.update_measure_status.loading = true;
9962
- }), _defineProperty(_extraReducers$D, UPDATE_MEASURE_CODE_STATUS.rejected, function (state, action) {
9962
+ }), _defineProperty(_extraReducers$E, UPDATE_MEASURE_CODE_STATUS.rejected, function (state, action) {
9963
9963
  state.update_measure_status.loading = false, state.update_measure_status.error = true, state.update_measure_status = action.payload;
9964
- }), _extraReducers$D)
9964
+ }), _extraReducers$E)
9965
9965
  });
9966
9966
  var vitalsMeasureCodeActions = {
9967
9967
  GET_VITALS_MEASURE_CODE: GET_VITALS_MEASURE_CODE,
@@ -9970,7 +9970,7 @@ var vitalsMeasureCodeActions = {
9970
9970
  };
9971
9971
  var vitalsMeasureCodeSlice$1 = vitalsMeasureCodeSlice.reducer;
9972
9972
 
9973
- var query$8 = {
9973
+ var query$9 = {
9974
9974
  entityName: function entityName(data) {
9975
9975
  return {
9976
9976
  db_name: dbName,
@@ -10198,7 +10198,7 @@ var generateApplicableTable = function generateApplicableTable(table, state) {
10198
10198
  return arr;
10199
10199
  };
10200
10200
 
10201
- var _extraReducers$C;
10201
+ var _extraReducers$D;
10202
10202
  var GET_ENTITY_NAME = createAsyncThunk("vitalApplicableApiSlice/entityName", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
10203
10203
  var payload,
10204
10204
  _ref2,
@@ -10218,7 +10218,7 @@ var GET_ENTITY_NAME = createAsyncThunk("vitalApplicableApiSlice/entityName", /*#
10218
10218
  list = payload.list;
10219
10219
  _context.next = 6;
10220
10220
  return fetchData({
10221
- body: JSON.stringify(query$8.entityName(list))
10221
+ body: JSON.stringify(query$9.entityName(list))
10222
10222
  }, __readDocumentUrl__);
10223
10223
 
10224
10224
  case 6:
@@ -10263,7 +10263,7 @@ var GET_ENTITY_TYPE_VITALAPP = createAsyncThunk("vitalApplicableApiSlice/entityT
10263
10263
  _context2.prev = 2;
10264
10264
  _context2.next = 5;
10265
10265
  return fetchData({
10266
- body: query$8.entityType
10266
+ body: query$9.entityType
10267
10267
  }, __readDocumentUrl__);
10268
10268
 
10269
10269
  case 5:
@@ -10308,7 +10308,7 @@ var VITAL_CODE = createAsyncThunk("vitalApplicableApiSlice/vitalCode", /*#__PURE
10308
10308
  _context3.prev = 2;
10309
10309
  _context3.next = 5;
10310
10310
  return fetchData({
10311
- body: query$8.vitalcode
10311
+ body: query$9.vitalcode
10312
10312
  }, __readDocumentUrl__);
10313
10313
 
10314
10314
  case 5:
@@ -10353,7 +10353,7 @@ var GENDER = createAsyncThunk("vitalApplicableApiSlice/gender", /*#__PURE__*/_as
10353
10353
  _context4.prev = 2;
10354
10354
  _context4.next = 5;
10355
10355
  return fetchData({
10356
- body: query$8.gender
10356
+ body: query$9.gender
10357
10357
  }, __readDocumentUrl__);
10358
10358
 
10359
10359
  case 5:
@@ -10398,7 +10398,7 @@ var SPECIALITY_CODE = createAsyncThunk("vitalApplicableApiSlice/specialityCode",
10398
10398
  _context5.prev = 2;
10399
10399
  _context5.next = 5;
10400
10400
  return fetchData({
10401
- body: query$8.specialityCode
10401
+ body: query$9.specialityCode
10402
10402
  }, __readDocumentUrl__);
10403
10403
 
10404
10404
  case 5:
@@ -10443,7 +10443,7 @@ var DIAGNOSIS = createAsyncThunk("vitalApplicableApiSlice/diagnosis", /*#__PURE_
10443
10443
  _context6.prev = 2;
10444
10444
  _context6.next = 5;
10445
10445
  return fetchData({
10446
- body: query$8.diagnosis
10446
+ body: query$9.diagnosis
10447
10447
  }, __readDocumentUrl__);
10448
10448
 
10449
10449
  case 5:
@@ -10492,7 +10492,7 @@ var DIAGNOSIS_MASTERS = createAsyncThunk("vitalApplicableApiSlice/diagnosisMaste
10492
10492
  input_text = payload.input_text;
10493
10493
  _context7.next = 6;
10494
10494
  return fetchData({
10495
- body: JSON.stringify(query$8.Diagnosis(input_text))
10495
+ body: JSON.stringify(query$9.Diagnosis(input_text))
10496
10496
  }, __readDocumentUrl__);
10497
10497
 
10498
10498
  case 6:
@@ -10537,7 +10537,7 @@ var AGE_RANGES_CODE = createAsyncThunk("vitalApplicableApiSlice/agerangesCode",
10537
10537
  _context8.prev = 2;
10538
10538
  _context8.next = 5;
10539
10539
  return fetchData({
10540
- body: query$8.ageRanges
10540
+ body: query$9.ageRanges
10541
10541
  }, __readDocumentUrl__);
10542
10542
 
10543
10543
  case 5:
@@ -10586,7 +10586,7 @@ var AGE_RANGES_CATEGORY = createAsyncThunk("vitalApplicableApiSlice/agerangesCat
10586
10586
  ageRangeId = payload.ageRangeId;
10587
10587
  _context9.next = 6;
10588
10588
  return fetchData({
10589
- body: JSON.stringify(query$8.ageCategory(ageRangeId))
10589
+ body: JSON.stringify(query$9.ageCategory(ageRangeId))
10590
10590
  }, __readDocumentUrl__);
10591
10591
 
10592
10592
  case 6:
@@ -10682,7 +10682,7 @@ var READ_VITAL_APPLICABLE = createAsyncThunk("vitalApplicableApiSlice/vitalsappl
10682
10682
 
10683
10683
  _context11.next = 7;
10684
10684
  return fetchData({
10685
- body: query$8.VitalApplicableRead
10685
+ body: query$9.VitalApplicableRead
10686
10686
  }, __readDocumentUrl__);
10687
10687
 
10688
10688
  case 7:
@@ -10774,7 +10774,7 @@ var EDIT_VITAL_APPLICABLE = createAsyncThunk("vitalsApplicableSlice/editvitalApp
10774
10774
  ccState = state.vitalsApplicableSlice;
10775
10775
  _context13.next = 8;
10776
10776
  return fetchData({
10777
- body: JSON.stringify(query$8.editVitalApplicable(id))
10777
+ body: JSON.stringify(query$9.editVitalApplicable(id))
10778
10778
  }, __readDocumentUrl__);
10779
10779
 
10780
10780
  case 8:
@@ -10819,7 +10819,7 @@ var SPECIALITY_CODE_ORG_ID = createAsyncThunk("vitalApplicableApiSlice/specialit
10819
10819
  };
10820
10820
  _context14.next = 6;
10821
10821
  return fetchData({
10822
- body: JSON.stringify(query$8.specialityCodeOrgId(orgId))
10822
+ body: JSON.stringify(query$9.specialityCodeOrgId(orgId))
10823
10823
  }, __readDocumentUrl__);
10824
10824
 
10825
10825
  case 6:
@@ -10867,91 +10867,91 @@ var vitalsApplicableSlice = createSlice({
10867
10867
  edit_vital_applicable: _objectSpread2({}, defaultState.List),
10868
10868
  speciality_code_org: _objectSpread2({}, defaultState.List)
10869
10869
  },
10870
- extraReducers: (_extraReducers$C = {}, _defineProperty(_extraReducers$C, GET_ENTITY_NAME.fulfilled, function (state, action) {
10870
+ extraReducers: (_extraReducers$D = {}, _defineProperty(_extraReducers$D, GET_ENTITY_NAME.fulfilled, function (state, action) {
10871
10871
  state.entity_name.loading = false, state.entity_name.error = false, state.entity_name = action.payload;
10872
- }), _defineProperty(_extraReducers$C, GET_ENTITY_NAME.pending, function (state, action) {
10872
+ }), _defineProperty(_extraReducers$D, GET_ENTITY_NAME.pending, function (state, action) {
10873
10873
  state.entity_name.loading = true, state.entity_name.error = false, state.entity_name.loading = true;
10874
- }), _defineProperty(_extraReducers$C, GET_ENTITY_NAME.rejected, function (state, action) {
10874
+ }), _defineProperty(_extraReducers$D, GET_ENTITY_NAME.rejected, function (state, action) {
10875
10875
  state.entity_name.loading = false, state.entity_name.error = true, state.entity_name = action.payload;
10876
- }), _defineProperty(_extraReducers$C, GET_ENTITY_TYPE_VITALAPP.fulfilled, function (state, action) {
10876
+ }), _defineProperty(_extraReducers$D, GET_ENTITY_TYPE_VITALAPP.fulfilled, function (state, action) {
10877
10877
  state.entity_type.loading = false, state.entity_type.error = false, state.entity_type = action.payload;
10878
- }), _defineProperty(_extraReducers$C, GET_ENTITY_TYPE_VITALAPP.pending, function (state, action) {
10878
+ }), _defineProperty(_extraReducers$D, GET_ENTITY_TYPE_VITALAPP.pending, function (state, action) {
10879
10879
  state.entity_type.loading = true, state.entity_type.error = false, state.entity_type.loading = true;
10880
- }), _defineProperty(_extraReducers$C, GET_ENTITY_TYPE_VITALAPP.rejected, function (state, action) {
10880
+ }), _defineProperty(_extraReducers$D, GET_ENTITY_TYPE_VITALAPP.rejected, function (state, action) {
10881
10881
  state.entity_type.loading = false, state.entity_type.error = true, state.entity_type = action.payload;
10882
- }), _defineProperty(_extraReducers$C, GENDER.fulfilled, function (state, action) {
10882
+ }), _defineProperty(_extraReducers$D, GENDER.fulfilled, function (state, action) {
10883
10883
  state.gender.loading = false, state.gender.error = false, state.gender = action.payload;
10884
- }), _defineProperty(_extraReducers$C, GENDER.pending, function (state, action) {
10884
+ }), _defineProperty(_extraReducers$D, GENDER.pending, function (state, action) {
10885
10885
  state.gender.loading = true, state.gender.error = false, state.gender.loading = true;
10886
- }), _defineProperty(_extraReducers$C, GENDER.rejected, function (state, action) {
10886
+ }), _defineProperty(_extraReducers$D, GENDER.rejected, function (state, action) {
10887
10887
  state.gender.loading = false, state.gender.error = true, state.gender = action.payload;
10888
- }), _defineProperty(_extraReducers$C, SPECIALITY_CODE.fulfilled, function (state, action) {
10888
+ }), _defineProperty(_extraReducers$D, SPECIALITY_CODE.fulfilled, function (state, action) {
10889
10889
  state.speciality_code.loading = false, state.speciality_code.error = false, state.speciality_code = action.payload;
10890
- }), _defineProperty(_extraReducers$C, SPECIALITY_CODE.pending, function (state, action) {
10890
+ }), _defineProperty(_extraReducers$D, SPECIALITY_CODE.pending, function (state, action) {
10891
10891
  state.speciality_code.loading = true, state.speciality_code.error = false, state.speciality_code.loading = true;
10892
- }), _defineProperty(_extraReducers$C, SPECIALITY_CODE.rejected, function (state, action) {
10892
+ }), _defineProperty(_extraReducers$D, SPECIALITY_CODE.rejected, function (state, action) {
10893
10893
  state.speciality_code.loading = false, state.speciality_code.error = true, state.speciality_code = action.payload;
10894
- }), _defineProperty(_extraReducers$C, DIAGNOSIS.fulfilled, function (state, action) {
10894
+ }), _defineProperty(_extraReducers$D, DIAGNOSIS.fulfilled, function (state, action) {
10895
10895
  state.dignosis.loading = false, state.dignosis.error = false, state.dignosis = action.payload;
10896
- }), _defineProperty(_extraReducers$C, DIAGNOSIS.pending, function (state, action) {
10896
+ }), _defineProperty(_extraReducers$D, DIAGNOSIS.pending, function (state, action) {
10897
10897
  state.dignosis.loading = true, state.dignosis.error = false, state.dignosis.loading = true;
10898
- }), _defineProperty(_extraReducers$C, DIAGNOSIS.rejected, function (state, action) {
10898
+ }), _defineProperty(_extraReducers$D, DIAGNOSIS.rejected, function (state, action) {
10899
10899
  state.dignosis.loading = false, state.dignosis.error = true, state.dignosis = action.payload;
10900
- }), _defineProperty(_extraReducers$C, DIAGNOSIS_MASTERS.fulfilled, function (state, action) {
10900
+ }), _defineProperty(_extraReducers$D, DIAGNOSIS_MASTERS.fulfilled, function (state, action) {
10901
10901
  state.dignosis_master.loading = false, state.dignosis_master.error = false, state.dignosis_master = action.payload;
10902
- }), _defineProperty(_extraReducers$C, DIAGNOSIS_MASTERS.pending, function (state, action) {
10902
+ }), _defineProperty(_extraReducers$D, DIAGNOSIS_MASTERS.pending, function (state, action) {
10903
10903
  state.dignosis_master.loading = true, state.dignosis_master.error = false, state.dignosis_master.loading = true;
10904
- }), _defineProperty(_extraReducers$C, DIAGNOSIS_MASTERS.rejected, function (state, action) {
10904
+ }), _defineProperty(_extraReducers$D, DIAGNOSIS_MASTERS.rejected, function (state, action) {
10905
10905
  state.dignosis_master.loading = false, state.dignosis_master.error = true, state.dignosis_master = action.payload;
10906
- }), _defineProperty(_extraReducers$C, AGE_RANGES_CODE.fulfilled, function (state, action) {
10906
+ }), _defineProperty(_extraReducers$D, AGE_RANGES_CODE.fulfilled, function (state, action) {
10907
10907
  state.ageranges_code.loading = false, state.ageranges_code.error = false, state.ageranges_code = action.payload;
10908
- }), _defineProperty(_extraReducers$C, AGE_RANGES_CODE.pending, function (state, action) {
10908
+ }), _defineProperty(_extraReducers$D, AGE_RANGES_CODE.pending, function (state, action) {
10909
10909
  state.ageranges_code.loading = true, state.ageranges_code.error = false, state.ageranges_code.loading = true;
10910
- }), _defineProperty(_extraReducers$C, AGE_RANGES_CODE.rejected, function (state, action) {
10910
+ }), _defineProperty(_extraReducers$D, AGE_RANGES_CODE.rejected, function (state, action) {
10911
10911
  state.ageranges_code.loading = false, state.ageranges_code.error = true, state.ageranges_code = action.payload;
10912
- }), _defineProperty(_extraReducers$C, AGE_RANGES_CATEGORY.fulfilled, function (state, action) {
10912
+ }), _defineProperty(_extraReducers$D, AGE_RANGES_CATEGORY.fulfilled, function (state, action) {
10913
10913
  state.ageranges_category.loading = false, state.ageranges_category.error = false, state.ageranges_category = action.payload;
10914
- }), _defineProperty(_extraReducers$C, AGE_RANGES_CATEGORY.pending, function (state, action) {
10914
+ }), _defineProperty(_extraReducers$D, AGE_RANGES_CATEGORY.pending, function (state, action) {
10915
10915
  state.ageranges_category.loading = true, state.ageranges_category.error = false, state.ageranges_category.loading = true;
10916
- }), _defineProperty(_extraReducers$C, AGE_RANGES_CATEGORY.rejected, function (state, action) {
10916
+ }), _defineProperty(_extraReducers$D, AGE_RANGES_CATEGORY.rejected, function (state, action) {
10917
10917
  state.ageranges_category.loading = false, state.ageranges_category.error = true, state.ageranges_category = action.payload;
10918
- }), _defineProperty(_extraReducers$C, VITAL_CODE.fulfilled, function (state, action) {
10918
+ }), _defineProperty(_extraReducers$D, VITAL_CODE.fulfilled, function (state, action) {
10919
10919
  state.vital_code.loading = false, state.vital_code.error = false, state.vital_code = action.payload;
10920
- }), _defineProperty(_extraReducers$C, VITAL_CODE.pending, function (state, action) {
10920
+ }), _defineProperty(_extraReducers$D, VITAL_CODE.pending, function (state, action) {
10921
10921
  state.vital_code.loading = true, state.vital_code.error = false, state.vital_code.loading = true;
10922
- }), _defineProperty(_extraReducers$C, VITAL_CODE.rejected, function (state, action) {
10922
+ }), _defineProperty(_extraReducers$D, VITAL_CODE.rejected, function (state, action) {
10923
10923
  state.vital_code.loading = false, state.vital_code.error = true, state.vital_code = action.payload;
10924
- }), _defineProperty(_extraReducers$C, SAVE_VITAL_APPLICABLE.fulfilled, function (state, action) {
10924
+ }), _defineProperty(_extraReducers$D, SAVE_VITAL_APPLICABLE.fulfilled, function (state, action) {
10925
10925
  state.save_vital_applicable.loading = false, state.save_vital_applicable.error = false, state.save_vital_applicable = action.payload;
10926
- }), _defineProperty(_extraReducers$C, SAVE_VITAL_APPLICABLE.pending, function (state, action) {
10926
+ }), _defineProperty(_extraReducers$D, SAVE_VITAL_APPLICABLE.pending, function (state, action) {
10927
10927
  state.save_vital_applicable.loading = true, state.save_vital_applicable.error = false, state.save_vital_applicable.loading = true;
10928
- }), _defineProperty(_extraReducers$C, SAVE_VITAL_APPLICABLE.rejected, function (state, action) {
10928
+ }), _defineProperty(_extraReducers$D, SAVE_VITAL_APPLICABLE.rejected, function (state, action) {
10929
10929
  state.save_vital_applicable.loading = false, state.save_vital_applicable.error = true, state.save_vital_applicable = action.payload;
10930
- }), _defineProperty(_extraReducers$C, READ_VITAL_APPLICABLE.fulfilled, function (state, action) {
10930
+ }), _defineProperty(_extraReducers$D, READ_VITAL_APPLICABLE.fulfilled, function (state, action) {
10931
10931
  state.read_vital_applicable.loading = false, state.read_vital_applicable.error = false, state.read_vital_applicable = action.payload;
10932
- }), _defineProperty(_extraReducers$C, READ_VITAL_APPLICABLE.pending, function (state, action) {
10932
+ }), _defineProperty(_extraReducers$D, READ_VITAL_APPLICABLE.pending, function (state, action) {
10933
10933
  state.read_vital_applicable.loading = true, state.read_vital_applicable.error = false, state.read_vital_applicable.loading = true;
10934
- }), _defineProperty(_extraReducers$C, READ_VITAL_APPLICABLE.rejected, function (state, action) {
10934
+ }), _defineProperty(_extraReducers$D, READ_VITAL_APPLICABLE.rejected, function (state, action) {
10935
10935
  state.read_vital_applicable.loading = false, state.read_vital_applicable.error = true, state.read_vital_applicable = action.payload;
10936
- }), _defineProperty(_extraReducers$C, UPDATE_VITAL_APPLICABLE_STATUS.fulfilled, function (state, action) {
10936
+ }), _defineProperty(_extraReducers$D, UPDATE_VITAL_APPLICABLE_STATUS.fulfilled, function (state, action) {
10937
10937
  state.update_applicable_status.loading = false, state.update_applicable_status.error = false, state.update_applicable_status = action.payload;
10938
- }), _defineProperty(_extraReducers$C, UPDATE_VITAL_APPLICABLE_STATUS.pending, function (state, action) {
10938
+ }), _defineProperty(_extraReducers$D, UPDATE_VITAL_APPLICABLE_STATUS.pending, function (state, action) {
10939
10939
  state.update_applicable_status.loading = true, state.update_applicable_status.error = false, state.update_applicable_status.loading = true;
10940
- }), _defineProperty(_extraReducers$C, UPDATE_VITAL_APPLICABLE_STATUS.rejected, function (state, action) {
10940
+ }), _defineProperty(_extraReducers$D, UPDATE_VITAL_APPLICABLE_STATUS.rejected, function (state, action) {
10941
10941
  state.update_applicable_status.loading = false, state.update_applicable_status.error = true, state.update_applicable_status = action.payload;
10942
- }), _defineProperty(_extraReducers$C, EDIT_VITAL_APPLICABLE.fulfilled, function (state, action) {
10942
+ }), _defineProperty(_extraReducers$D, EDIT_VITAL_APPLICABLE.fulfilled, function (state, action) {
10943
10943
  state.edit_vital_applicable.loading = false, state.edit_vital_applicable.error = false, state.edit_vital_applicable = action.payload;
10944
- }), _defineProperty(_extraReducers$C, EDIT_VITAL_APPLICABLE.pending, function (state, action) {
10944
+ }), _defineProperty(_extraReducers$D, EDIT_VITAL_APPLICABLE.pending, function (state, action) {
10945
10945
  state.edit_vital_applicable.loading = true, state.edit_vital_applicable.error = false, state.edit_vital_applicable.loading = true;
10946
- }), _defineProperty(_extraReducers$C, EDIT_VITAL_APPLICABLE.rejected, function (state, action) {
10946
+ }), _defineProperty(_extraReducers$D, EDIT_VITAL_APPLICABLE.rejected, function (state, action) {
10947
10947
  state.edit_vital_applicable.loading = false, state.edit_vital_applicable.error = true, state.edit_vital_applicable = action.payload;
10948
- }), _defineProperty(_extraReducers$C, SPECIALITY_CODE_ORG_ID.fulfilled, function (state, action) {
10948
+ }), _defineProperty(_extraReducers$D, SPECIALITY_CODE_ORG_ID.fulfilled, function (state, action) {
10949
10949
  state.speciality_code_org.loading = false, state.speciality_code_org.error = false, state.speciality_code_org = action.payload;
10950
- }), _defineProperty(_extraReducers$C, SPECIALITY_CODE_ORG_ID.pending, function (state, action) {
10950
+ }), _defineProperty(_extraReducers$D, SPECIALITY_CODE_ORG_ID.pending, function (state, action) {
10951
10951
  state.speciality_code_org.loading = true, state.speciality_code_org.error = false, state.speciality_code_org.loading = true;
10952
- }), _defineProperty(_extraReducers$C, SPECIALITY_CODE_ORG_ID.rejected, function (state, action) {
10952
+ }), _defineProperty(_extraReducers$D, SPECIALITY_CODE_ORG_ID.rejected, function (state, action) {
10953
10953
  state.speciality_code_org.loading = false, state.speciality_code_org.error = true, state.speciality_code_org = action.payload;
10954
- }), _extraReducers$C)
10954
+ }), _extraReducers$D)
10955
10955
  });
10956
10956
  var vitalsApplicableActions = {
10957
10957
  GET_ENTITY_NAME: GET_ENTITY_NAME,
@@ -10971,7 +10971,7 @@ var vitalsApplicableActions = {
10971
10971
  };
10972
10972
  var vitalsApplicableSlice$1 = vitalsApplicableSlice.reducer;
10973
10973
 
10974
- var query$7 = {
10974
+ var query$8 = {
10975
10975
  gender: "{\n \"db_name\": \"".concat(dbName, "\",\n \"entity\": \"CodeableConceptMaster\",\n \"sort\": \"document(CodeableConceptMaster.coding[0]).display\",\n \"filter\": \"CodeableConceptMaster.Type=='GENDER'\",\n \"return_fields\": \"MERGE(CodeableConceptMaster,{coding:(FOR cod IN CodeableConceptMaster.coding RETURN DOCUMENT(cod))})\"\n }"),
10976
10976
  unitAllowed: "{\n \"db_name\": \"".concat(dbName, "\",\n \"entity\": \"VitalsMeasureCodes\",\n \"sort\":\"VitalsMeasureCodes.ObsValMeasCode\",\n \"filter\": \"VitalsMeasureCodes.activestatus==true && VitalsMeasureCodes.status==true\",\n \"return_fields\": \"VitalsMeasureCodes\"\n }"),
10977
10977
  referenceUnitAllowed: "{\n \"db_name\": \"".concat(dbName, "\",\n \"entity\": \"CodeableConceptMaster\",\n \"sort\": \"document(CodeableConceptMaster.coding[0]).display\",\n \"filter\": \"CodeableConceptMaster.Type=='VITALSUOM'\",\n \"return_fields\": \"MERGE(CodeableConceptMaster,{coding:(FOR cod IN CodeableConceptMaster.coding RETURN DOCUMENT(cod))})\"\n }"),
@@ -11206,7 +11206,7 @@ var generateReference = function generateReference(ref, state, ageCategory) {
11206
11206
  return Object.values(obj);
11207
11207
  };
11208
11208
 
11209
- var _extraReducers$B;
11209
+ var _extraReducers$C;
11210
11210
  var MASTER_GENDER = createAsyncThunk("vitalsMasterSectionApiSlice/gender", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
11211
11211
  var _ref2,
11212
11212
  rejectWithValue,
@@ -11222,7 +11222,7 @@ var MASTER_GENDER = createAsyncThunk("vitalsMasterSectionApiSlice/gender", /*#__
11222
11222
  _context.prev = 2;
11223
11223
  _context.next = 5;
11224
11224
  return fetchData({
11225
- body: query$7.gender
11225
+ body: query$8.gender
11226
11226
  }, __readDocumentUrl__);
11227
11227
 
11228
11228
  case 5:
@@ -11267,7 +11267,7 @@ var REFERENCE_UNIT_ALLOWED = createAsyncThunk("vitalsMasterSectionApiSlice/refer
11267
11267
  _context2.prev = 2;
11268
11268
  _context2.next = 5;
11269
11269
  return fetchData({
11270
- body: query$7.referenceUnitAllowed
11270
+ body: query$8.referenceUnitAllowed
11271
11271
  }, __readDocumentUrl__);
11272
11272
 
11273
11273
  case 5:
@@ -11312,7 +11312,7 @@ var UNIT_ALLOWED = createAsyncThunk("vitalsMasterSectionApiSlice/unitAllowed", /
11312
11312
  _context3.prev = 2;
11313
11313
  _context3.next = 5;
11314
11314
  return fetchData({
11315
- body: query$7.unitAllowed
11315
+ body: query$8.unitAllowed
11316
11316
  }, __readDocumentUrl__);
11317
11317
 
11318
11318
  case 5:
@@ -11357,7 +11357,7 @@ var REFERENCE_AGERANGES = createAsyncThunk("vitalsMasterSectionApiSlice/agerange
11357
11357
  _context4.prev = 2;
11358
11358
  _context4.next = 5;
11359
11359
  return fetchData({
11360
- body: query$7.ageRanges
11360
+ body: query$8.ageRanges
11361
11361
  }, __readDocumentUrl__);
11362
11362
 
11363
11363
  case 5:
@@ -11412,14 +11412,14 @@ var REFERENCE_AGERANGES_CATEGORY = createAsyncThunk("vitalsMasterSectionApiSlice
11412
11412
  ccState = state.vitalsMasterSectionSlice;
11413
11413
  _context5.next = 8;
11414
11414
  return fetchData({
11415
- body: query$7.category
11415
+ body: query$8.category
11416
11416
  }, __readDocumentUrl__);
11417
11417
 
11418
11418
  case 8:
11419
11419
  category = _context5.sent;
11420
11420
  _context5.next = 11;
11421
11421
  return fetchData({
11422
- body: JSON.stringify(query$7.ageCategory(ageRangeId))
11422
+ body: JSON.stringify(query$8.ageCategory(ageRangeId))
11423
11423
  }, __readDocumentUrl__);
11424
11424
 
11425
11425
  case 11:
@@ -11462,7 +11462,7 @@ var DEFAULT_UNIT = createAsyncThunk("vitalsMasterSectionApiSlice/defaultunit", /
11462
11462
  AllowedUnit = payload.AllowedUnit;
11463
11463
  _context6.next = 6;
11464
11464
  return fetchData({
11465
- body: JSON.stringify(query$7.defaultUnit(AllowedUnit))
11465
+ body: JSON.stringify(query$8.defaultUnit(AllowedUnit))
11466
11466
  }, __readDocumentUrl__);
11467
11467
 
11468
11468
  case 6:
@@ -11550,7 +11550,7 @@ var READ_VITAL_MASTER = createAsyncThunk("vitalsMasterSectionApiSlice/vitalsMast
11550
11550
  _context8.prev = 2;
11551
11551
  _context8.next = 5;
11552
11552
  return fetchData({
11553
- body: query$7.VitalRead
11553
+ body: query$8.VitalRead
11554
11554
  }, __readDocumentUrl__);
11555
11555
 
11556
11556
  case 5:
@@ -11636,7 +11636,7 @@ var DELETE_VITAL_MASTER = createAsyncThunk("vitalsMasterSectionApiSlice/vitalMas
11636
11636
  id = payload.id;
11637
11637
  _context10.next = 6;
11638
11638
  return fetchData({
11639
- body: query$7.deleteVitalMaster(id)
11639
+ body: query$8.deleteVitalMaster(id)
11640
11640
  }, __softDelete__);
11641
11641
 
11642
11642
  case 6:
@@ -11684,14 +11684,14 @@ var EDIT_VITAL_MASTER = createAsyncThunk("vitalsMasterSectionApiSlice/editvitalM
11684
11684
  ccState = state.vitalsMasterSectionSlice;
11685
11685
  _context11.next = 8;
11686
11686
  return fetchData({
11687
- body: query$7.category
11687
+ body: query$8.category
11688
11688
  }, __readDocumentUrl__);
11689
11689
 
11690
11690
  case 8:
11691
11691
  category = _context11.sent;
11692
11692
  _context11.next = 11;
11693
11693
  return fetchData({
11694
- body: JSON.stringify(query$7.editVitalmaster(id))
11694
+ body: JSON.stringify(query$8.editVitalmaster(id))
11695
11695
  }, __readDocumentUrl__);
11696
11696
 
11697
11697
  case 11:
@@ -11730,73 +11730,73 @@ var vitalsMasterSectionSlice = createSlice({
11730
11730
  delete_vital_master: _objectSpread2({}, defaultState.List),
11731
11731
  edit_vital_master: _objectSpread2({}, defaultState.List)
11732
11732
  },
11733
- extraReducers: (_extraReducers$B = {}, _defineProperty(_extraReducers$B, MASTER_GENDER.fulfilled, function (state, action) {
11733
+ extraReducers: (_extraReducers$C = {}, _defineProperty(_extraReducers$C, MASTER_GENDER.fulfilled, function (state, action) {
11734
11734
  state.master_gender.loading = false, state.master_gender.error = false, state.master_gender = action.payload;
11735
- }), _defineProperty(_extraReducers$B, MASTER_GENDER.pending, function (state, action) {
11735
+ }), _defineProperty(_extraReducers$C, MASTER_GENDER.pending, function (state, action) {
11736
11736
  state.master_gender.loading = true, state.master_gender.error = false, state.master_gender.loading = true;
11737
- }), _defineProperty(_extraReducers$B, MASTER_GENDER.rejected, function (state, action) {
11737
+ }), _defineProperty(_extraReducers$C, MASTER_GENDER.rejected, function (state, action) {
11738
11738
  state.master_gender.loading = false, state.master_gender.error = true, state.master_gender = action.payload;
11739
- }), _defineProperty(_extraReducers$B, REFERENCE_UNIT_ALLOWED.fulfilled, function (state, action) {
11739
+ }), _defineProperty(_extraReducers$C, REFERENCE_UNIT_ALLOWED.fulfilled, function (state, action) {
11740
11740
  state.reference_unit_allowed.loading = false, state.reference_unit_allowed.error = false, state.reference_unit_allowed = action.payload;
11741
- }), _defineProperty(_extraReducers$B, REFERENCE_UNIT_ALLOWED.pending, function (state, action) {
11741
+ }), _defineProperty(_extraReducers$C, REFERENCE_UNIT_ALLOWED.pending, function (state, action) {
11742
11742
  state.reference_unit_allowed.loading = true, state.reference_unit_allowed.error = false, state.reference_unit_allowed.loading = true;
11743
- }), _defineProperty(_extraReducers$B, REFERENCE_UNIT_ALLOWED.rejected, function (state, action) {
11743
+ }), _defineProperty(_extraReducers$C, REFERENCE_UNIT_ALLOWED.rejected, function (state, action) {
11744
11744
  state.reference_unit_allowed.loading = false, state.reference_unit_allowed.error = true, state.reference_unit_allowed = action.payload;
11745
- }), _defineProperty(_extraReducers$B, UNIT_ALLOWED.fulfilled, function (state, action) {
11745
+ }), _defineProperty(_extraReducers$C, UNIT_ALLOWED.fulfilled, function (state, action) {
11746
11746
  state.unit_allowed.loading = false, state.unit_allowed.error = false, state.unit_allowed = action.payload;
11747
- }), _defineProperty(_extraReducers$B, UNIT_ALLOWED.pending, function (state, action) {
11747
+ }), _defineProperty(_extraReducers$C, UNIT_ALLOWED.pending, function (state, action) {
11748
11748
  state.unit_allowed.loading = true, state.unit_allowed.error = false, state.unit_allowed.loading = true;
11749
- }), _defineProperty(_extraReducers$B, UNIT_ALLOWED.rejected, function (state, action) {
11749
+ }), _defineProperty(_extraReducers$C, UNIT_ALLOWED.rejected, function (state, action) {
11750
11750
  state.unit_allowed.loading = false, state.unit_allowed.error = true, state.unit_allowed = action.payload;
11751
- }), _defineProperty(_extraReducers$B, REFERENCE_AGERANGES.fulfilled, function (state, action) {
11751
+ }), _defineProperty(_extraReducers$C, REFERENCE_AGERANGES.fulfilled, function (state, action) {
11752
11752
  state.reference_ageranges.loading = false, state.reference_ageranges.error = false, state.reference_ageranges = action.payload;
11753
- }), _defineProperty(_extraReducers$B, REFERENCE_AGERANGES.pending, function (state, action) {
11753
+ }), _defineProperty(_extraReducers$C, REFERENCE_AGERANGES.pending, function (state, action) {
11754
11754
  state.reference_ageranges.loading = true, state.reference_ageranges.error = false, state.reference_ageranges.loading = true;
11755
- }), _defineProperty(_extraReducers$B, REFERENCE_AGERANGES.rejected, function (state, action) {
11755
+ }), _defineProperty(_extraReducers$C, REFERENCE_AGERANGES.rejected, function (state, action) {
11756
11756
  state.reference_ageranges.loading = false, state.reference_ageranges.error = true, state.reference_ageranges = action.payload;
11757
- }), _defineProperty(_extraReducers$B, REFERENCE_AGERANGES_CATEGORY.fulfilled, function (state, action) {
11757
+ }), _defineProperty(_extraReducers$C, REFERENCE_AGERANGES_CATEGORY.fulfilled, function (state, action) {
11758
11758
  state.reference_agerange_category.loading = false, state.reference_agerange_category.error = false, state.reference_agerange_category = action.payload;
11759
- }), _defineProperty(_extraReducers$B, REFERENCE_AGERANGES_CATEGORY.pending, function (state, action) {
11759
+ }), _defineProperty(_extraReducers$C, REFERENCE_AGERANGES_CATEGORY.pending, function (state, action) {
11760
11760
  state.reference_agerange_category.loading = true, state.reference_agerange_category.error = false, state.reference_agerange_category.loading = true;
11761
- }), _defineProperty(_extraReducers$B, REFERENCE_AGERANGES_CATEGORY.rejected, function (state, action) {
11761
+ }), _defineProperty(_extraReducers$C, REFERENCE_AGERANGES_CATEGORY.rejected, function (state, action) {
11762
11762
  state.reference_agerange_category.loading = false, state.reference_agerange_category.error = true, state.reference_agerange_category = action.payload;
11763
- }), _defineProperty(_extraReducers$B, DEFAULT_UNIT.fulfilled, function (state, action) {
11763
+ }), _defineProperty(_extraReducers$C, DEFAULT_UNIT.fulfilled, function (state, action) {
11764
11764
  state.default_unit.loading = false, state.default_unit.error = false, state.default_unit = action.payload;
11765
- }), _defineProperty(_extraReducers$B, DEFAULT_UNIT.pending, function (state, action) {
11765
+ }), _defineProperty(_extraReducers$C, DEFAULT_UNIT.pending, function (state, action) {
11766
11766
  state.default_unit.loading = true, state.default_unit.error = false, state.default_unit.loading = true;
11767
- }), _defineProperty(_extraReducers$B, DEFAULT_UNIT.rejected, function (state, action) {
11767
+ }), _defineProperty(_extraReducers$C, DEFAULT_UNIT.rejected, function (state, action) {
11768
11768
  state.default_unit.loading = false, state.default_unit.error = true, state.default_unit = action.payload;
11769
- }), _defineProperty(_extraReducers$B, SAVE_VITAL_MASTER.fulfilled, function (state, action) {
11769
+ }), _defineProperty(_extraReducers$C, SAVE_VITAL_MASTER.fulfilled, function (state, action) {
11770
11770
  state.save_vital_master.loading = false, state.save_vital_master.error = false, state.save_vital_master = action.payload;
11771
- }), _defineProperty(_extraReducers$B, SAVE_VITAL_MASTER.pending, function (state, action) {
11771
+ }), _defineProperty(_extraReducers$C, SAVE_VITAL_MASTER.pending, function (state, action) {
11772
11772
  state.save_vital_master.loading = true, state.save_vital_master.error = false, state.save_vital_master.loading = true;
11773
- }), _defineProperty(_extraReducers$B, SAVE_VITAL_MASTER.rejected, function (state, action) {
11773
+ }), _defineProperty(_extraReducers$C, SAVE_VITAL_MASTER.rejected, function (state, action) {
11774
11774
  state.save_vital_master.loading = false, state.save_vital_master.error = true, state.save_vital_master = action.payload;
11775
- }), _defineProperty(_extraReducers$B, READ_VITAL_MASTER.fulfilled, function (state, action) {
11775
+ }), _defineProperty(_extraReducers$C, READ_VITAL_MASTER.fulfilled, function (state, action) {
11776
11776
  state.vital_master_read.loading = false, state.vital_master_read.error = false, state.vital_master_read = action.payload;
11777
- }), _defineProperty(_extraReducers$B, READ_VITAL_MASTER.pending, function (state, action) {
11777
+ }), _defineProperty(_extraReducers$C, READ_VITAL_MASTER.pending, function (state, action) {
11778
11778
  state.vital_master_read.loading = true, state.vital_master_read.error = false, state.vital_master_read.loading = true;
11779
- }), _defineProperty(_extraReducers$B, READ_VITAL_MASTER.rejected, function (state, action) {
11779
+ }), _defineProperty(_extraReducers$C, READ_VITAL_MASTER.rejected, function (state, action) {
11780
11780
  state.vital_master_read.loading = false, state.vital_master_read.error = true, state.vital_master_read = action.payload;
11781
- }), _defineProperty(_extraReducers$B, UPDATE_VITAL_MASTER_STATUS.fulfilled, function (state, action) {
11781
+ }), _defineProperty(_extraReducers$C, UPDATE_VITAL_MASTER_STATUS.fulfilled, function (state, action) {
11782
11782
  state.update_master_status.loading = false, state.update_master_status.error = false, state.update_master_status = action.payload;
11783
- }), _defineProperty(_extraReducers$B, UPDATE_VITAL_MASTER_STATUS.pending, function (state, action) {
11783
+ }), _defineProperty(_extraReducers$C, UPDATE_VITAL_MASTER_STATUS.pending, function (state, action) {
11784
11784
  state.update_master_status.loading = true, state.update_master_status.error = false, state.update_master_status.loading = true;
11785
- }), _defineProperty(_extraReducers$B, UPDATE_VITAL_MASTER_STATUS.rejected, function (state, action) {
11785
+ }), _defineProperty(_extraReducers$C, UPDATE_VITAL_MASTER_STATUS.rejected, function (state, action) {
11786
11786
  state.update_master_status.loading = false, state.update_master_status.error = true, state.update_master_status = action.payload;
11787
- }), _defineProperty(_extraReducers$B, DELETE_VITAL_MASTER.fulfilled, function (state, action) {
11787
+ }), _defineProperty(_extraReducers$C, DELETE_VITAL_MASTER.fulfilled, function (state, action) {
11788
11788
  state.delete_vital_master.loading = false, state.delete_vital_master.error = false, state.delete_vital_master = action.payload;
11789
- }), _defineProperty(_extraReducers$B, DELETE_VITAL_MASTER.pending, function (state, action) {
11789
+ }), _defineProperty(_extraReducers$C, DELETE_VITAL_MASTER.pending, function (state, action) {
11790
11790
  state.delete_vital_master.loading = true, state.delete_vital_master.error = false, state.delete_vital_master.loading = true;
11791
- }), _defineProperty(_extraReducers$B, DELETE_VITAL_MASTER.rejected, function (state, action) {
11791
+ }), _defineProperty(_extraReducers$C, DELETE_VITAL_MASTER.rejected, function (state, action) {
11792
11792
  state.delete_vital_master.loading = false, state.delete_vital_master.error = true, state.delete_vital_master = action.payload;
11793
- }), _defineProperty(_extraReducers$B, EDIT_VITAL_MASTER.fulfilled, function (state, action) {
11793
+ }), _defineProperty(_extraReducers$C, EDIT_VITAL_MASTER.fulfilled, function (state, action) {
11794
11794
  state.edit_vital_master.loading = false, state.edit_vital_master.error = false, state.edit_vital_master = action.payload;
11795
- }), _defineProperty(_extraReducers$B, EDIT_VITAL_MASTER.pending, function (state, action) {
11795
+ }), _defineProperty(_extraReducers$C, EDIT_VITAL_MASTER.pending, function (state, action) {
11796
11796
  state.edit_vital_master.loading = true, state.edit_vital_master.error = false, state.edit_vital_master.loading = true;
11797
- }), _defineProperty(_extraReducers$B, EDIT_VITAL_MASTER.rejected, function (state, action) {
11797
+ }), _defineProperty(_extraReducers$C, EDIT_VITAL_MASTER.rejected, function (state, action) {
11798
11798
  state.edit_vital_master.loading = false, state.edit_vital_master.error = true, state.edit_vital_master = action.payload;
11799
- }), _extraReducers$B)
11799
+ }), _extraReducers$C)
11800
11800
  });
11801
11801
  var vitalsMasterSectionActions = {
11802
11802
  MASTER_GENDER: MASTER_GENDER,
@@ -12128,7 +12128,7 @@ var generateJSON = function generateJSON(data, _key) {
12128
12128
  return json;
12129
12129
  };
12130
12130
 
12131
- var _extraReducers$A;
12131
+ var _extraReducers$B;
12132
12132
  var LOCATION_READ = createAsyncThunk("locationSlice/locationlist", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
12133
12133
  var payload,
12134
12134
  _ref2,
@@ -12295,25 +12295,25 @@ var locationSlice = createSlice({
12295
12295
  location_list_upsert: _objectSpread2({}, defaultState.List),
12296
12296
  location_insert: _objectSpread2({}, defaultState.List)
12297
12297
  },
12298
- extraReducers: (_extraReducers$A = {}, _defineProperty(_extraReducers$A, LOCATION_READ.fulfilled, function (state, action) {
12298
+ extraReducers: (_extraReducers$B = {}, _defineProperty(_extraReducers$B, LOCATION_READ.fulfilled, function (state, action) {
12299
12299
  state.location_list.loading = false, state.location_list.error = false, state.location_list = action.payload;
12300
- }), _defineProperty(_extraReducers$A, LOCATION_READ.pending, function (state, action) {
12300
+ }), _defineProperty(_extraReducers$B, LOCATION_READ.pending, function (state, action) {
12301
12301
  state.location_list.loading = true, state.location_list.error = false, state.location_list.loading = true;
12302
- }), _defineProperty(_extraReducers$A, LOCATION_READ.rejected, function (state, action) {
12302
+ }), _defineProperty(_extraReducers$B, LOCATION_READ.rejected, function (state, action) {
12303
12303
  state.location_list.loading = false, state.location_list.error = true, state.location_list = action.payload;
12304
- }), _defineProperty(_extraReducers$A, LOCATION_LIST_UPSERT.fulfilled, function (state, action) {
12304
+ }), _defineProperty(_extraReducers$B, LOCATION_LIST_UPSERT.fulfilled, function (state, action) {
12305
12305
  state.location_list_upsert.loading = false, state.location_list_upsert.error = false, state.location_list_upsert = action.payload;
12306
- }), _defineProperty(_extraReducers$A, LOCATION_LIST_UPSERT.pending, function (state, action) {
12306
+ }), _defineProperty(_extraReducers$B, LOCATION_LIST_UPSERT.pending, function (state, action) {
12307
12307
  state.location_list_upsert.loading = true, state.location_list_upsert.error = false, state.location_list_upsert.loading = true;
12308
- }), _defineProperty(_extraReducers$A, LOCATION_LIST_UPSERT.rejected, function (state, action) {
12308
+ }), _defineProperty(_extraReducers$B, LOCATION_LIST_UPSERT.rejected, function (state, action) {
12309
12309
  state.location_list_upsert.loading = false, state.location_list_upsert.error = true, state.location_list_upsert = action.payload;
12310
- }), _defineProperty(_extraReducers$A, LOCATION_MASTER_INSERT.fulfilled, function (state, action) {
12310
+ }), _defineProperty(_extraReducers$B, LOCATION_MASTER_INSERT.fulfilled, function (state, action) {
12311
12311
  state.location_insert.loading = false, state.location_insert.error = false, state.location_insert = action.payload;
12312
- }), _defineProperty(_extraReducers$A, LOCATION_MASTER_INSERT.pending, function (state, action) {
12312
+ }), _defineProperty(_extraReducers$B, LOCATION_MASTER_INSERT.pending, function (state, action) {
12313
12313
  state.location_insert.loading = true, state.location_insert.error = false, state.location_insert.loading = true;
12314
- }), _defineProperty(_extraReducers$A, LOCATION_MASTER_INSERT.rejected, function (state, action) {
12314
+ }), _defineProperty(_extraReducers$B, LOCATION_MASTER_INSERT.rejected, function (state, action) {
12315
12315
  state.location_insert.loading = false, state.location_insert.error = true, state.location_insert = action.payload;
12316
- }), _extraReducers$A)
12316
+ }), _extraReducers$B)
12317
12317
  });
12318
12318
  var locationActions$1 = {
12319
12319
  LOCATION_READ: LOCATION_READ,
@@ -12322,7 +12322,7 @@ var locationActions$1 = {
12322
12322
  };
12323
12323
  var locationSlice$1 = locationSlice.reducer;
12324
12324
 
12325
- var masterQuery$5 = {
12325
+ var masterQuery$6 = {
12326
12326
  locationMasterEntityType: function locationMasterEntityType() {
12327
12327
  return {
12328
12328
  db_name: dbName,
@@ -12694,7 +12694,7 @@ var photoData = function photoData(data) {
12694
12694
  return photo_Data;
12695
12695
  };
12696
12696
 
12697
- var generateReadJSON$3 = function generateReadJSON(data, state) {
12697
+ var generateReadJSON$4 = function generateReadJSON(data, state) {
12698
12698
  var _data$managingOrgID$;
12699
12699
 
12700
12700
  var inital_workingday_slot_arr = [{
@@ -12822,7 +12822,7 @@ var generateReadJSON$3 = function generateReadJSON(data, state) {
12822
12822
  return json;
12823
12823
  };
12824
12824
 
12825
- var _extraReducers$z;
12825
+ var _extraReducers$A;
12826
12826
  var LOCATION_MASTERS_ENTITYTYPE = createAsyncThunk("locationMasterSlice/location_masters_entitytype", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
12827
12827
  var _ref2,
12828
12828
  rejectWithValue,
@@ -12838,7 +12838,7 @@ var LOCATION_MASTERS_ENTITYTYPE = createAsyncThunk("locationMasterSlice/location
12838
12838
  _context.prev = 2;
12839
12839
  _context.next = 5;
12840
12840
  return fetchData({
12841
- body: JSON.stringify(masterQuery$5.locationMasterEntityType())
12841
+ body: JSON.stringify(masterQuery$6.locationMasterEntityType())
12842
12842
  }, __readDocumentUrl__);
12843
12843
 
12844
12844
  case 5:
@@ -12891,7 +12891,7 @@ var LOCATION_MASTERS_ENTITYNAME = createAsyncThunk("locationMasterSlice/location
12891
12891
  type = payload.type;
12892
12892
  _context2.next = 6;
12893
12893
  return fetchData({
12894
- body: JSON.stringify(masterQuery$5.locationMasterEntityName(type))
12894
+ body: JSON.stringify(masterQuery$6.locationMasterEntityName(type))
12895
12895
  }, __readDocumentUrl__);
12896
12896
 
12897
12897
  case 6:
@@ -12940,7 +12940,7 @@ var LOCATION_MASTERS_LOCATIONTYPE = createAsyncThunk("locationMasterSlice/locati
12940
12940
  _context3.prev = 2;
12941
12941
  _context3.next = 5;
12942
12942
  return fetchData({
12943
- body: JSON.stringify(masterQuery$5.locationMasterLocationType())
12943
+ body: JSON.stringify(masterQuery$6.locationMasterLocationType())
12944
12944
  }, __readDocumentUrl__);
12945
12945
 
12946
12946
  case 5:
@@ -12988,7 +12988,7 @@ var LOCATION_MASTERS_OPERATIONALSTATUS = createAsyncThunk("locationMasterSlice/l
12988
12988
  _context4.prev = 2;
12989
12989
  _context4.next = 5;
12990
12990
  return fetchData({
12991
- body: JSON.stringify(masterQuery$5.locationMasterOperationalStatus())
12991
+ body: JSON.stringify(masterQuery$6.locationMasterOperationalStatus())
12992
12992
  }, __readDocumentUrl__);
12993
12993
 
12994
12994
  case 5:
@@ -13036,7 +13036,7 @@ var LOCATION_MASTERS_PARENT_LOCATION_ID_DESCRIPTION = createAsyncThunk("location
13036
13036
  _context5.prev = 2;
13037
13037
  _context5.next = 5;
13038
13038
  return fetchData({
13039
- body: JSON.stringify(masterQuery$5.locationMasterParentLocationIdDescription())
13039
+ body: JSON.stringify(masterQuery$6.locationMasterParentLocationIdDescription())
13040
13040
  }, __readDocumentUrl__);
13041
13041
 
13042
13042
  case 5:
@@ -13084,7 +13084,7 @@ var LOCATION_MASTERS_LOCATIONROLETYPE = createAsyncThunk("locationMasterSlice/lo
13084
13084
  _context6.prev = 2;
13085
13085
  _context6.next = 5;
13086
13086
  return fetchData({
13087
- body: JSON.stringify(masterQuery$5.locationMasterLocationRoleType())
13087
+ body: JSON.stringify(masterQuery$6.locationMasterLocationRoleType())
13088
13088
  }, __readDocumentUrl__);
13089
13089
 
13090
13090
  case 5:
@@ -13138,7 +13138,7 @@ var LOCATION_MASTER_SPECIALITY = createAsyncThunk("locationMasterSlice/location_
13138
13138
  id = payload.id;
13139
13139
  _context7.next = 6;
13140
13140
  return fetchData({
13141
- body: JSON.stringify(masterQuery$5.locationMasterSpeciality(id))
13141
+ body: JSON.stringify(masterQuery$6.locationMasterSpeciality(id))
13142
13142
  }, __readDocumentUrl__);
13143
13143
 
13144
13144
  case 6:
@@ -13188,7 +13188,7 @@ var LOCATION_MASTER_CONTACTMODE = createAsyncThunk("locationMasterSlice/location
13188
13188
  _context8.prev = 2;
13189
13189
  _context8.next = 5;
13190
13190
  return fetchData({
13191
- body: JSON.stringify(masterQuery$5.locationMasterContactMode())
13191
+ body: JSON.stringify(masterQuery$6.locationMasterContactMode())
13192
13192
  }, __readDocumentUrl__);
13193
13193
 
13194
13194
  case 5:
@@ -13236,7 +13236,7 @@ var LOCATION_MASTER_ISD = createAsyncThunk("locationMasterSlice/location_masters
13236
13236
  _context9.prev = 2;
13237
13237
  _context9.next = 5;
13238
13238
  return fetchData({
13239
- body: JSON.stringify(masterQuery$5.locationMasterISD())
13239
+ body: JSON.stringify(masterQuery$6.locationMasterISD())
13240
13240
  }, __readDocumentUrl__);
13241
13241
 
13242
13242
  case 5:
@@ -13284,7 +13284,7 @@ var LOCATION_MASTER_USE = createAsyncThunk("locationMasterSlice/location_masters
13284
13284
  _context10.prev = 2;
13285
13285
  _context10.next = 5;
13286
13286
  return fetchData({
13287
- body: JSON.stringify(masterQuery$5.locationMasterUse())
13287
+ body: JSON.stringify(masterQuery$6.locationMasterUse())
13288
13288
  }, __readDocumentUrl__);
13289
13289
 
13290
13290
  case 5:
@@ -13332,7 +13332,7 @@ var LOCATION_MASTER_PRIORITY = createAsyncThunk("locationMasterSlice/location_ma
13332
13332
  _context11.prev = 2;
13333
13333
  _context11.next = 5;
13334
13334
  return fetchData({
13335
- body: JSON.stringify(masterQuery$5.locationMasterPriority())
13335
+ body: JSON.stringify(masterQuery$6.locationMasterPriority())
13336
13336
  }, __readDocumentUrl__);
13337
13337
 
13338
13338
  case 5:
@@ -13397,7 +13397,7 @@ var LOCATION_MASTER_GET_BY_ID = createAsyncThunk("locationMasterSlice/location_m
13397
13397
  case 8:
13398
13398
  data = _context12.sent;
13399
13399
  //
13400
- readJSON = generateReadJSON$3(data.result[0] ? data.result[0] : null, //masterlist
13400
+ readJSON = generateReadJSON$4(data.result[0] ? data.result[0] : null, //masterlist
13401
13401
  ccState);
13402
13402
  return _context12.abrupt("return", _objectSpread2(_objectSpread2({}, defaultState.List), {}, {
13403
13403
  data: readJSON
@@ -13434,79 +13434,79 @@ var locationMasterSlice = createSlice({
13434
13434
  location_masters_priority: _objectSpread2({}, defaultState.List),
13435
13435
  locationmasterbyid: _objectSpread2({}, defaultState.List)
13436
13436
  },
13437
- extraReducers: (_extraReducers$z = {}, _defineProperty(_extraReducers$z, LOCATION_MASTERS_ENTITYTYPE.fulfilled, function (state, action) {
13437
+ extraReducers: (_extraReducers$A = {}, _defineProperty(_extraReducers$A, LOCATION_MASTERS_ENTITYTYPE.fulfilled, function (state, action) {
13438
13438
  state.location_masters_entitytype.loading = false, state.location_masters_entitytype.error = false, state.location_masters_entitytype = action.payload;
13439
- }), _defineProperty(_extraReducers$z, LOCATION_MASTERS_ENTITYTYPE.pending, function (state, action) {
13439
+ }), _defineProperty(_extraReducers$A, LOCATION_MASTERS_ENTITYTYPE.pending, function (state, action) {
13440
13440
  state.location_masters_entitytype.loading = true, state.location_masters_entitytype.error = false, state.location_masters_entitytype.loading = true;
13441
- }), _defineProperty(_extraReducers$z, LOCATION_MASTERS_ENTITYTYPE.rejected, function (state, action) {
13441
+ }), _defineProperty(_extraReducers$A, LOCATION_MASTERS_ENTITYTYPE.rejected, function (state, action) {
13442
13442
  state.location_masters_entitytype.loading = false, state.location_masters_entitytype.error = true, state.location_masters_entitytype = action.payload;
13443
- }), _defineProperty(_extraReducers$z, LOCATION_MASTERS_ENTITYNAME.fulfilled, function (state, action) {
13443
+ }), _defineProperty(_extraReducers$A, LOCATION_MASTERS_ENTITYNAME.fulfilled, function (state, action) {
13444
13444
  state.location_masters_entityname.loading = false, state.location_masters_entityname.error = false, state.location_masters_entityname = action.payload;
13445
- }), _defineProperty(_extraReducers$z, LOCATION_MASTERS_ENTITYNAME.pending, function (state, action) {
13445
+ }), _defineProperty(_extraReducers$A, LOCATION_MASTERS_ENTITYNAME.pending, function (state, action) {
13446
13446
  state.location_masters_entityname.loading = true, state.location_masters_entityname.error = false, state.location_masters_entityname.loading = true;
13447
- }), _defineProperty(_extraReducers$z, LOCATION_MASTERS_ENTITYNAME.rejected, function (state, action) {
13447
+ }), _defineProperty(_extraReducers$A, LOCATION_MASTERS_ENTITYNAME.rejected, function (state, action) {
13448
13448
  state.location_masters_entityname.loading = false, state.location_masters_entityname.error = true, state.location_masters_entityname = action.payload;
13449
- }), _defineProperty(_extraReducers$z, LOCATION_MASTERS_LOCATIONTYPE.fulfilled, function (state, action) {
13449
+ }), _defineProperty(_extraReducers$A, LOCATION_MASTERS_LOCATIONTYPE.fulfilled, function (state, action) {
13450
13450
  state.location_masters_locationtype.loading = false, state.location_masters_locationtype.error = false, state.location_masters_locationtype = action.payload;
13451
- }), _defineProperty(_extraReducers$z, LOCATION_MASTERS_LOCATIONTYPE.pending, function (state, action) {
13451
+ }), _defineProperty(_extraReducers$A, LOCATION_MASTERS_LOCATIONTYPE.pending, function (state, action) {
13452
13452
  state.location_masters_locationtype.loading = true, state.location_masters_locationtype.error = false, state.location_masters_locationtype.loading = true;
13453
- }), _defineProperty(_extraReducers$z, LOCATION_MASTERS_LOCATIONTYPE.rejected, function (state, action) {
13453
+ }), _defineProperty(_extraReducers$A, LOCATION_MASTERS_LOCATIONTYPE.rejected, function (state, action) {
13454
13454
  state.location_masters_locationtype.loading = false, state.location_masters_locationtype.error = true, state.location_masters_locationtype = action.payload;
13455
- }), _defineProperty(_extraReducers$z, LOCATION_MASTERS_OPERATIONALSTATUS.fulfilled, function (state, action) {
13455
+ }), _defineProperty(_extraReducers$A, LOCATION_MASTERS_OPERATIONALSTATUS.fulfilled, function (state, action) {
13456
13456
  state.location_masters_operationalstatus.loading = false, state.location_masters_operationalstatus.error = false, state.location_masters_operationalstatus = action.payload;
13457
- }), _defineProperty(_extraReducers$z, LOCATION_MASTERS_OPERATIONALSTATUS.pending, function (state, action) {
13457
+ }), _defineProperty(_extraReducers$A, LOCATION_MASTERS_OPERATIONALSTATUS.pending, function (state, action) {
13458
13458
  state.location_masters_operationalstatus.loading = true, state.location_masters_operationalstatus.error = false, state.location_masters_operationalstatus.loading = true;
13459
- }), _defineProperty(_extraReducers$z, LOCATION_MASTERS_OPERATIONALSTATUS.rejected, function (state, action) {
13459
+ }), _defineProperty(_extraReducers$A, LOCATION_MASTERS_OPERATIONALSTATUS.rejected, function (state, action) {
13460
13460
  state.location_masters_operationalstatus.loading = false, state.location_masters_operationalstatus.error = true, state.location_masters_operationalstatus = action.payload;
13461
- }), _defineProperty(_extraReducers$z, LOCATION_MASTERS_PARENT_LOCATION_ID_DESCRIPTION.fulfilled, function (state, action) {
13461
+ }), _defineProperty(_extraReducers$A, LOCATION_MASTERS_PARENT_LOCATION_ID_DESCRIPTION.fulfilled, function (state, action) {
13462
13462
  state.location_masters_parent_location_id.loading = false, state.location_masters_parent_location_id.error = false, state.location_masters_parent_location_id = action.payload;
13463
- }), _defineProperty(_extraReducers$z, LOCATION_MASTERS_PARENT_LOCATION_ID_DESCRIPTION.pending, function (state, action) {
13463
+ }), _defineProperty(_extraReducers$A, LOCATION_MASTERS_PARENT_LOCATION_ID_DESCRIPTION.pending, function (state, action) {
13464
13464
  state.location_masters_parent_location_id.loading = true, state.location_masters_parent_location_id.error = false, state.location_masters_parent_location_id.loading = true;
13465
- }), _defineProperty(_extraReducers$z, LOCATION_MASTERS_PARENT_LOCATION_ID_DESCRIPTION.rejected, function (state, action) {
13465
+ }), _defineProperty(_extraReducers$A, LOCATION_MASTERS_PARENT_LOCATION_ID_DESCRIPTION.rejected, function (state, action) {
13466
13466
  state.location_masters_parent_location_id.loading = false, state.location_masters_parent_location_id.error = true, state.location_masters_parent_location_id = action.payload;
13467
- }), _defineProperty(_extraReducers$z, LOCATION_MASTERS_LOCATIONROLETYPE.fulfilled, function (state, action) {
13467
+ }), _defineProperty(_extraReducers$A, LOCATION_MASTERS_LOCATIONROLETYPE.fulfilled, function (state, action) {
13468
13468
  state.location_masters_locationroletype.loading = false, state.location_masters_locationroletype.error = false, state.location_masters_locationroletype = action.payload;
13469
- }), _defineProperty(_extraReducers$z, LOCATION_MASTERS_LOCATIONROLETYPE.pending, function (state, action) {
13469
+ }), _defineProperty(_extraReducers$A, LOCATION_MASTERS_LOCATIONROLETYPE.pending, function (state, action) {
13470
13470
  state.location_masters_locationroletype.loading = true, state.location_masters_locationroletype.error = false, state.location_masters_locationroletype.loading = true;
13471
- }), _defineProperty(_extraReducers$z, LOCATION_MASTERS_LOCATIONROLETYPE.rejected, function (state, action) {
13471
+ }), _defineProperty(_extraReducers$A, LOCATION_MASTERS_LOCATIONROLETYPE.rejected, function (state, action) {
13472
13472
  state.location_masters_locationroletype.loading = false, state.location_masters_locationroletype.error = true, state.location_masters_locationroletype = action.payload;
13473
- }), _defineProperty(_extraReducers$z, LOCATION_MASTER_SPECIALITY.fulfilled, function (state, action) {
13473
+ }), _defineProperty(_extraReducers$A, LOCATION_MASTER_SPECIALITY.fulfilled, function (state, action) {
13474
13474
  state.location_masters_speciality.loading = false, state.location_masters_speciality.error = false, state.location_masters_speciality = action.payload;
13475
- }), _defineProperty(_extraReducers$z, LOCATION_MASTER_SPECIALITY.pending, function (state, action) {
13475
+ }), _defineProperty(_extraReducers$A, LOCATION_MASTER_SPECIALITY.pending, function (state, action) {
13476
13476
  state.location_masters_speciality.loading = true, state.location_masters_speciality.error = false, state.location_masters_speciality.loading = true;
13477
- }), _defineProperty(_extraReducers$z, LOCATION_MASTER_SPECIALITY.rejected, function (state, action) {
13477
+ }), _defineProperty(_extraReducers$A, LOCATION_MASTER_SPECIALITY.rejected, function (state, action) {
13478
13478
  state.location_masters_speciality.loading = false, state.location_masters_speciality.error = true, state.location_masters_speciality = action.payload;
13479
- }), _defineProperty(_extraReducers$z, LOCATION_MASTER_CONTACTMODE.fulfilled, function (state, action) {
13479
+ }), _defineProperty(_extraReducers$A, LOCATION_MASTER_CONTACTMODE.fulfilled, function (state, action) {
13480
13480
  state.location_masters_contactmode.loading = false, state.location_masters_contactmode.error = false, state.location_masters_contactmode = action.payload;
13481
- }), _defineProperty(_extraReducers$z, LOCATION_MASTER_CONTACTMODE.pending, function (state, action) {
13481
+ }), _defineProperty(_extraReducers$A, LOCATION_MASTER_CONTACTMODE.pending, function (state, action) {
13482
13482
  state.location_masters_contactmode.loading = true, state.location_masters_contactmode.error = false, state.location_masters_contactmode.loading = true;
13483
- }), _defineProperty(_extraReducers$z, LOCATION_MASTER_CONTACTMODE.rejected, function (state, action) {
13483
+ }), _defineProperty(_extraReducers$A, LOCATION_MASTER_CONTACTMODE.rejected, function (state, action) {
13484
13484
  state.location_masters_contactmode.loading = false, state.location_masters_contactmode.error = true, state.location_masters_contactmode = action.payload;
13485
- }), _defineProperty(_extraReducers$z, LOCATION_MASTER_ISD.fulfilled, function (state, action) {
13485
+ }), _defineProperty(_extraReducers$A, LOCATION_MASTER_ISD.fulfilled, function (state, action) {
13486
13486
  state.location_masters_isd.loading = false, state.location_masters_isd.error = false, state.location_masters_isd = action.payload;
13487
- }), _defineProperty(_extraReducers$z, LOCATION_MASTER_ISD.pending, function (state, action) {
13487
+ }), _defineProperty(_extraReducers$A, LOCATION_MASTER_ISD.pending, function (state, action) {
13488
13488
  state.location_masters_isd.loading = true, state.location_masters_isd.error = false, state.location_masters_isd.loading = true;
13489
- }), _defineProperty(_extraReducers$z, LOCATION_MASTER_ISD.rejected, function (state, action) {
13489
+ }), _defineProperty(_extraReducers$A, LOCATION_MASTER_ISD.rejected, function (state, action) {
13490
13490
  state.location_masters_isd.loading = false, state.location_masters_isd.error = true, state.location_masters_isd = action.payload;
13491
- }), _defineProperty(_extraReducers$z, LOCATION_MASTER_USE.fulfilled, function (state, action) {
13491
+ }), _defineProperty(_extraReducers$A, LOCATION_MASTER_USE.fulfilled, function (state, action) {
13492
13492
  state.location_masters_use.loading = false, state.location_masters_use.error = false, state.location_masters_use = action.payload;
13493
- }), _defineProperty(_extraReducers$z, LOCATION_MASTER_USE.pending, function (state, action) {
13493
+ }), _defineProperty(_extraReducers$A, LOCATION_MASTER_USE.pending, function (state, action) {
13494
13494
  state.location_masters_use.loading = true, state.location_masters_use.error = false, state.location_masters_use.loading = true;
13495
- }), _defineProperty(_extraReducers$z, LOCATION_MASTER_USE.rejected, function (state, action) {
13495
+ }), _defineProperty(_extraReducers$A, LOCATION_MASTER_USE.rejected, function (state, action) {
13496
13496
  state.location_masters_use.loading = false, state.location_masters_use.error = true, state.location_masters_use = action.payload;
13497
- }), _defineProperty(_extraReducers$z, LOCATION_MASTER_PRIORITY.fulfilled, function (state, action) {
13497
+ }), _defineProperty(_extraReducers$A, LOCATION_MASTER_PRIORITY.fulfilled, function (state, action) {
13498
13498
  state.location_masters_priority.loading = false, state.location_masters_priority.error = false, state.location_masters_priority = action.payload;
13499
- }), _defineProperty(_extraReducers$z, LOCATION_MASTER_PRIORITY.pending, function (state, action) {
13499
+ }), _defineProperty(_extraReducers$A, LOCATION_MASTER_PRIORITY.pending, function (state, action) {
13500
13500
  state.location_masters_priority.loading = true, state.location_masters_priority.error = false, state.location_masters_priority.loading = true;
13501
- }), _defineProperty(_extraReducers$z, LOCATION_MASTER_PRIORITY.rejected, function (state, action) {
13501
+ }), _defineProperty(_extraReducers$A, LOCATION_MASTER_PRIORITY.rejected, function (state, action) {
13502
13502
  state.location_masters_priority.loading = false, state.location_masters_priority.error = true, state.location_masters_priority = action.payload;
13503
- }), _defineProperty(_extraReducers$z, LOCATION_MASTER_GET_BY_ID.fulfilled, function (state, action) {
13503
+ }), _defineProperty(_extraReducers$A, LOCATION_MASTER_GET_BY_ID.fulfilled, function (state, action) {
13504
13504
  state.locationmasterbyid.loading = false, state.locationmasterbyid.error = false, state.locationmasterbyid = action.payload;
13505
- }), _defineProperty(_extraReducers$z, LOCATION_MASTER_GET_BY_ID.pending, function (state, action) {
13505
+ }), _defineProperty(_extraReducers$A, LOCATION_MASTER_GET_BY_ID.pending, function (state, action) {
13506
13506
  state.locationmasterbyid.loading = true, state.locationmasterbyid.error = false, state.locationmasterbyid.loading = true;
13507
- }), _defineProperty(_extraReducers$z, LOCATION_MASTER_GET_BY_ID.rejected, function (state, action) {
13507
+ }), _defineProperty(_extraReducers$A, LOCATION_MASTER_GET_BY_ID.rejected, function (state, action) {
13508
13508
  state.locationmasterbyid.loading = false, state.locationmasterbyid.error = true, state.locationmasterbyid = action.payload;
13509
- }), _extraReducers$z)
13509
+ }), _extraReducers$A)
13510
13510
  });
13511
13511
  var locationMasterActions = {
13512
13512
  LOCATION_MASTERS_ENTITYTYPE: LOCATION_MASTERS_ENTITYTYPE,
@@ -13605,7 +13605,7 @@ var queries$l = {
13605
13605
  }
13606
13606
  };
13607
13607
 
13608
- var _extraReducers$y;
13608
+ var _extraReducers$z;
13609
13609
  var ORDERTYPEREAD = createAsyncThunk("ordertypeSlice/ordertypeRead", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
13610
13610
  var _ref2,
13611
13611
  rejectWithValue,
@@ -13855,37 +13855,37 @@ var ordertypeSlice = createSlice({
13855
13855
  updateset_orrder_table: _objectSpread2({}, defaultState.List),
13856
13856
  insert_order_type: _objectSpread2({}, defaultState.List)
13857
13857
  },
13858
- extraReducers: (_extraReducers$y = {}, _defineProperty(_extraReducers$y, ORDERTYPEREAD.fulfilled, function (state, action) {
13858
+ extraReducers: (_extraReducers$z = {}, _defineProperty(_extraReducers$z, ORDERTYPEREAD.fulfilled, function (state, action) {
13859
13859
  state.order_type_read.loading = false, state.order_type_read.error = false, state.order_type_read = action.payload;
13860
- }), _defineProperty(_extraReducers$y, ORDERTYPEREAD.pending, function (state, action) {
13860
+ }), _defineProperty(_extraReducers$z, ORDERTYPEREAD.pending, function (state, action) {
13861
13861
  state.order_type_read.loading = true, state.order_type_read.error = false, state.order_type_read.loading = true;
13862
- }), _defineProperty(_extraReducers$y, ORDERTYPEREAD.rejected, function (state, action) {
13862
+ }), _defineProperty(_extraReducers$z, ORDERTYPEREAD.rejected, function (state, action) {
13863
13863
  state.order_type_read.loading = false, state.order_type_read.error = true, state.order_type_read = action.payload;
13864
- }), _defineProperty(_extraReducers$y, ORDERCATEGORYMASTER.fulfilled, function (state, action) {
13864
+ }), _defineProperty(_extraReducers$z, ORDERCATEGORYMASTER.fulfilled, function (state, action) {
13865
13865
  state.order_category_master.loading = false, state.order_category_master.error = false, state.order_category_master = action.payload;
13866
- }), _defineProperty(_extraReducers$y, ORDERCATEGORYMASTER.pending, function (state, action) {
13866
+ }), _defineProperty(_extraReducers$z, ORDERCATEGORYMASTER.pending, function (state, action) {
13867
13867
  state.order_category_master.loading = true, state.order_category_master.error = false, state.order_category_master.loading = true;
13868
- }), _defineProperty(_extraReducers$y, ORDERCATEGORYMASTER.rejected, function (state, action) {
13868
+ }), _defineProperty(_extraReducers$z, ORDERCATEGORYMASTER.rejected, function (state, action) {
13869
13869
  state.order_category_master.loading = false, state.order_category_master.error = true, state.order_category_master = action.payload;
13870
- }), _defineProperty(_extraReducers$y, UPDATEORDERTABLESTATE.fulfilled, function (state, action) {
13870
+ }), _defineProperty(_extraReducers$z, UPDATEORDERTABLESTATE.fulfilled, function (state, action) {
13871
13871
  state.update_orrder_table_state.loading = false, state.update_orrder_table_state.error = false, state.update_orrder_table_state = action.payload;
13872
- }), _defineProperty(_extraReducers$y, UPDATEORDERTABLESTATE.pending, function (state, action) {
13872
+ }), _defineProperty(_extraReducers$z, UPDATEORDERTABLESTATE.pending, function (state, action) {
13873
13873
  state.update_orrder_table_state.loading = true, state.update_orrder_table_state.error = false, state.update_orrder_table_state.loading = true;
13874
- }), _defineProperty(_extraReducers$y, UPDATEORDERTABLESTATE.rejected, function (state, action) {
13874
+ }), _defineProperty(_extraReducers$z, UPDATEORDERTABLESTATE.rejected, function (state, action) {
13875
13875
  state.update_orrder_table_state.loading = false, state.update_orrder_table_state.error = true, state.update_orrder_table_state = action.payload;
13876
- }), _defineProperty(_extraReducers$y, UPDATESETORDERTABLE.fulfilled, function (state, action) {
13876
+ }), _defineProperty(_extraReducers$z, UPDATESETORDERTABLE.fulfilled, function (state, action) {
13877
13877
  state.updateset_orrder_table.loading = false, state.updateset_orrder_table.error = false, state.updateset_orrder_table = action.payload;
13878
- }), _defineProperty(_extraReducers$y, UPDATESETORDERTABLE.pending, function (state, action) {
13878
+ }), _defineProperty(_extraReducers$z, UPDATESETORDERTABLE.pending, function (state, action) {
13879
13879
  state.updateset_orrder_table.loading = true, state.updateset_orrder_table.error = false, state.updateset_orrder_table.loading = true;
13880
- }), _defineProperty(_extraReducers$y, UPDATESETORDERTABLE.rejected, function (state, action) {
13880
+ }), _defineProperty(_extraReducers$z, UPDATESETORDERTABLE.rejected, function (state, action) {
13881
13881
  state.updateset_orrder_table.loading = false, state.updateset_orrder_table.error = true, state.updateset_orrder_table = action.payload;
13882
- }), _defineProperty(_extraReducers$y, INSERTORDERTABLE.fulfilled, function (state, action) {
13882
+ }), _defineProperty(_extraReducers$z, INSERTORDERTABLE.fulfilled, function (state, action) {
13883
13883
  state.insert_order_type.loading = false, state.insert_order_type.error = false, state.insert_order_type = action.payload;
13884
- }), _defineProperty(_extraReducers$y, INSERTORDERTABLE.pending, function (state, action) {
13884
+ }), _defineProperty(_extraReducers$z, INSERTORDERTABLE.pending, function (state, action) {
13885
13885
  state.insert_order_type.loading = true, state.insert_order_type.error = false, state.insert_order_type.loading = true;
13886
- }), _defineProperty(_extraReducers$y, INSERTORDERTABLE.rejected, function (state, action) {
13886
+ }), _defineProperty(_extraReducers$z, INSERTORDERTABLE.rejected, function (state, action) {
13887
13887
  state.insert_order_type.loading = false, state.insert_order_type.error = true, state.insert_order_type = action.payload;
13888
- }), _extraReducers$y)
13888
+ }), _extraReducers$z)
13889
13889
  });
13890
13890
  var ordertypeActions$1 = {
13891
13891
  ORDERTYPEREAD: ORDERTYPEREAD,
@@ -13997,7 +13997,7 @@ var queries$k = {
13997
13997
  }
13998
13998
  };
13999
13999
 
14000
- var _extraReducers$x;
14000
+ var _extraReducers$y;
14001
14001
  var ORDERNATUREREAD = createAsyncThunk("ordertypeSlice/ordernatureread", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
14002
14002
  var _ref2,
14003
14003
  rejectWithValue,
@@ -14192,31 +14192,31 @@ var ordernatureSlice = createSlice({
14192
14192
  updateset_orrder_nature_table: _objectSpread2({}, defaultState.List),
14193
14193
  insert_order_nature_type: _objectSpread2({}, defaultState.List)
14194
14194
  },
14195
- extraReducers: (_extraReducers$x = {}, _defineProperty(_extraReducers$x, ORDERNATUREREAD.fulfilled, function (state, action) {
14195
+ extraReducers: (_extraReducers$y = {}, _defineProperty(_extraReducers$y, ORDERNATUREREAD.fulfilled, function (state, action) {
14196
14196
  state.order_nature_read.loading = false, state.order_nature_read.error = false, state.order_nature_read = action.payload;
14197
- }), _defineProperty(_extraReducers$x, ORDERNATUREREAD.pending, function (state, action) {
14197
+ }), _defineProperty(_extraReducers$y, ORDERNATUREREAD.pending, function (state, action) {
14198
14198
  state.order_nature_read.loading = true, state.order_nature_read.error = false, state.order_nature_read.loading = true;
14199
- }), _defineProperty(_extraReducers$x, ORDERNATUREREAD.rejected, function (state, action) {
14199
+ }), _defineProperty(_extraReducers$y, ORDERNATUREREAD.rejected, function (state, action) {
14200
14200
  state.order_nature_read.loading = false, state.order_nature_read.error = true, state.order_nature_read = action.payload;
14201
- }), _defineProperty(_extraReducers$x, UPDATEORDERNATURETABLESTATE.fulfilled, function (state, action) {
14201
+ }), _defineProperty(_extraReducers$y, UPDATEORDERNATURETABLESTATE.fulfilled, function (state, action) {
14202
14202
  state.update_orrder_nature_table_state.loading = false, state.update_orrder_nature_table_state.error = false, state.update_orrder_nature_table_state = action.payload;
14203
- }), _defineProperty(_extraReducers$x, UPDATEORDERNATURETABLESTATE.pending, function (state, action) {
14203
+ }), _defineProperty(_extraReducers$y, UPDATEORDERNATURETABLESTATE.pending, function (state, action) {
14204
14204
  state.update_orrder_nature_table_state.loading = true, state.update_orrder_nature_table_state.error = false, state.update_orrder_nature_table_state.loading = true;
14205
- }), _defineProperty(_extraReducers$x, UPDATEORDERNATURETABLESTATE.rejected, function (state, action) {
14205
+ }), _defineProperty(_extraReducers$y, UPDATEORDERNATURETABLESTATE.rejected, function (state, action) {
14206
14206
  state.update_orrder_nature_table_state.loading = false, state.update_orrder_nature_table_state.error = true, state.update_orrder_nature_table_state = action.payload;
14207
- }), _defineProperty(_extraReducers$x, UPDATESETORDERNATURETABLE.fulfilled, function (state, action) {
14207
+ }), _defineProperty(_extraReducers$y, UPDATESETORDERNATURETABLE.fulfilled, function (state, action) {
14208
14208
  state.updateset_orrder_nature_table.loading = false, state.updateset_orrder_nature_table.error = false, state.updateset_orrder_nature_table = action.payload;
14209
- }), _defineProperty(_extraReducers$x, UPDATESETORDERNATURETABLE.pending, function (state, action) {
14209
+ }), _defineProperty(_extraReducers$y, UPDATESETORDERNATURETABLE.pending, function (state, action) {
14210
14210
  state.updateset_orrder_nature_table.loading = true, state.updateset_orrder_nature_table.error = false, state.updateset_orrder_nature_table.loading = true;
14211
- }), _defineProperty(_extraReducers$x, UPDATESETORDERNATURETABLE.rejected, function (state, action) {
14211
+ }), _defineProperty(_extraReducers$y, UPDATESETORDERNATURETABLE.rejected, function (state, action) {
14212
14212
  state.updateset_orrder_nature_table.loading = false, state.updateset_orrder_nature_table.error = true, state.updateset_orrder_nature_table = action.payload;
14213
- }), _defineProperty(_extraReducers$x, INSERTORDERNATURETABLE.fulfilled, function (state, action) {
14213
+ }), _defineProperty(_extraReducers$y, INSERTORDERNATURETABLE.fulfilled, function (state, action) {
14214
14214
  state.insert_order_nature_type.loading = false, state.insert_order_nature_type.error = false, state.insert_order_nature_type = action.payload;
14215
- }), _defineProperty(_extraReducers$x, INSERTORDERNATURETABLE.pending, function (state, action) {
14215
+ }), _defineProperty(_extraReducers$y, INSERTORDERNATURETABLE.pending, function (state, action) {
14216
14216
  state.insert_order_nature_type.loading = true, state.insert_order_nature_type.error = false, state.insert_order_nature_type.loading = true;
14217
- }), _defineProperty(_extraReducers$x, INSERTORDERNATURETABLE.rejected, function (state, action) {
14217
+ }), _defineProperty(_extraReducers$y, INSERTORDERNATURETABLE.rejected, function (state, action) {
14218
14218
  state.insert_order_nature_type.loading = false, state.insert_order_nature_type.error = true, state.insert_order_nature_type = action.payload;
14219
- }), _extraReducers$x)
14219
+ }), _extraReducers$y)
14220
14220
  });
14221
14221
  var ordernatureActions$1 = {
14222
14222
  ORDERNATUREREAD: ORDERNATUREREAD,
@@ -14822,7 +14822,7 @@ var queries$i = {
14822
14822
  }
14823
14823
  };
14824
14824
 
14825
- var _extraReducers$w;
14825
+ var _extraReducers$x;
14826
14826
  var CODEABLE_CONCEPT_MASTER_STATUS_CHANGE = createAsyncThunk("availabilityManagementSlice/appointmentTypeStatus", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
14827
14827
  var payload,
14828
14828
  _ref2,
@@ -14982,25 +14982,25 @@ var availabilityManagementSlice = createSlice({
14982
14982
  appointment_type_list: _objectSpread2({}, defaultState.List),
14983
14983
  codeable_concept_master_upsert: _objectSpread2({}, defaultState.List)
14984
14984
  },
14985
- extraReducers: (_extraReducers$w = {}, _defineProperty(_extraReducers$w, CODEABLE_CONCEPT_MASTER_STATUS_CHANGE.fulfilled, function (state, action) {
14985
+ extraReducers: (_extraReducers$x = {}, _defineProperty(_extraReducers$x, CODEABLE_CONCEPT_MASTER_STATUS_CHANGE.fulfilled, function (state, action) {
14986
14986
  state.status_update.loading = false, state.status_update.error = false, state.status_update = action.payload;
14987
- }), _defineProperty(_extraReducers$w, CODEABLE_CONCEPT_MASTER_STATUS_CHANGE.pending, function (state, action) {
14987
+ }), _defineProperty(_extraReducers$x, CODEABLE_CONCEPT_MASTER_STATUS_CHANGE.pending, function (state, action) {
14988
14988
  state.status_update.loading = true, state.status_update.error = false, state.status_update.loading = true;
14989
- }), _defineProperty(_extraReducers$w, CODEABLE_CONCEPT_MASTER_STATUS_CHANGE.rejected, function (state, action) {
14989
+ }), _defineProperty(_extraReducers$x, CODEABLE_CONCEPT_MASTER_STATUS_CHANGE.rejected, function (state, action) {
14990
14990
  state.status_update.loading = false, state.status_update.error = true, state.status_update = action.payload;
14991
- }), _defineProperty(_extraReducers$w, APPOINTMENT_TYPE_READ.fulfilled, function (state, action) {
14991
+ }), _defineProperty(_extraReducers$x, APPOINTMENT_TYPE_READ.fulfilled, function (state, action) {
14992
14992
  state.appointment_type_list.loading = false, state.appointment_type_list.error = false, state.appointment_type_list = action.payload;
14993
- }), _defineProperty(_extraReducers$w, APPOINTMENT_TYPE_READ.pending, function (state, action) {
14993
+ }), _defineProperty(_extraReducers$x, APPOINTMENT_TYPE_READ.pending, function (state, action) {
14994
14994
  state.appointment_type_list.loading = true, state.appointment_type_list.error = false, state.appointment_type_list.loading = true;
14995
- }), _defineProperty(_extraReducers$w, APPOINTMENT_TYPE_READ.rejected, function (state, action) {
14995
+ }), _defineProperty(_extraReducers$x, APPOINTMENT_TYPE_READ.rejected, function (state, action) {
14996
14996
  state.appointment_type_list.loading = false, state.appointment_type_list.error = true, state.appointment_type_list = action.payload;
14997
- }), _defineProperty(_extraReducers$w, CODEABLE_CONCEPT_MASTER_UPSERT.fulfilled, function (state, action) {
14997
+ }), _defineProperty(_extraReducers$x, CODEABLE_CONCEPT_MASTER_UPSERT.fulfilled, function (state, action) {
14998
14998
  state.codeable_concept_master_upsert.loading = false, state.codeable_concept_master_upsert.error = false, state.codeable_concept_master_upsert = action.payload;
14999
- }), _defineProperty(_extraReducers$w, CODEABLE_CONCEPT_MASTER_UPSERT.pending, function (state, action) {
14999
+ }), _defineProperty(_extraReducers$x, CODEABLE_CONCEPT_MASTER_UPSERT.pending, function (state, action) {
15000
15000
  state.codeable_concept_master_upsert.loading = true, state.codeable_concept_master_upsert.error = false, state.codeable_concept_master_upsert.loading = true;
15001
- }), _defineProperty(_extraReducers$w, CODEABLE_CONCEPT_MASTER_UPSERT.rejected, function (state, action) {
15001
+ }), _defineProperty(_extraReducers$x, CODEABLE_CONCEPT_MASTER_UPSERT.rejected, function (state, action) {
15002
15002
  state.codeable_concept_master_upsert.loading = false, state.codeable_concept_master_upsert.error = true, state.codeable_concept_master_upsert = action.payload;
15003
- }), _extraReducers$w)
15003
+ }), _extraReducers$x)
15004
15004
  });
15005
15005
  var availabilityManagementActions$1 = {
15006
15006
  CODEABLE_CONCEPT_MASTER_STATUS_CHANGE: CODEABLE_CONCEPT_MASTER_STATUS_CHANGE,
@@ -15009,9 +15009,9 @@ var availabilityManagementActions$1 = {
15009
15009
  };
15010
15010
  var availabilityManagementSlice$1 = availabilityManagementSlice.reducer;
15011
15011
 
15012
- var _extraReducers$v;
15012
+ var _extraReducers$w;
15013
15013
 
15014
- var loopMasters$6 = function loopMasters() {
15014
+ var loopMasters$7 = function loopMasters() {
15015
15015
  return new es6Promise.Promise( /*#__PURE__*/function () {
15016
15016
  var _ref = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2(resolve, reject) {
15017
15017
  var calls;
@@ -15026,7 +15026,7 @@ var loopMasters$6 = function loopMasters() {
15026
15026
  switch (_context.prev = _context.next) {
15027
15027
  case 0:
15028
15028
  _context.next = 2;
15029
- return fetchMaster$6(val, queries$i.holiday_master[val]);
15029
+ return fetchMaster$7(val, queries$i.holiday_master[val]);
15030
15030
 
15031
15031
  case 2:
15032
15032
  return _context.abrupt("return", _context.sent);
@@ -15082,7 +15082,7 @@ var loopMasters$6 = function loopMasters() {
15082
15082
  }());
15083
15083
  };
15084
15084
 
15085
- var fetchMaster$6 = function fetchMaster(name, query) {
15085
+ var fetchMaster$7 = function fetchMaster(name, query) {
15086
15086
  return new es6Promise.Promise( /*#__PURE__*/function () {
15087
15087
  var _ref3 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee3(resolve, reject) {
15088
15088
  var data;
@@ -15288,7 +15288,7 @@ var HOLIDAY_MASTERS = createAsyncThunk("holidaySlice/holiday_master", /*#__PURE_
15288
15288
  _ref11 = _args7.length > 1 ? _args7[1] : undefined, rejectWithValue = _ref11.rejectWithValue;
15289
15289
  _context7.prev = 2;
15290
15290
  _context7.next = 6;
15291
- return loopMasters$6();
15291
+ return loopMasters$7();
15292
15292
 
15293
15293
  case 6:
15294
15294
  data = _context7.sent;
@@ -15318,31 +15318,31 @@ var holidaySlice = createSlice({
15318
15318
  holiday_upsert: _objectSpread2({}, defaultState.List),
15319
15319
  holiday_master: _objectSpread2({}, defaultState.List)
15320
15320
  },
15321
- extraReducers: (_extraReducers$v = {}, _defineProperty(_extraReducers$v, HOLIDAY_STATUS_CHANGE.fulfilled, function (state, action) {
15321
+ extraReducers: (_extraReducers$w = {}, _defineProperty(_extraReducers$w, HOLIDAY_STATUS_CHANGE.fulfilled, function (state, action) {
15322
15322
  state.status_update.loading = false, state.status_update.error = false, state.status_update = action.payload;
15323
- }), _defineProperty(_extraReducers$v, HOLIDAY_STATUS_CHANGE.pending, function (state, action) {
15323
+ }), _defineProperty(_extraReducers$w, HOLIDAY_STATUS_CHANGE.pending, function (state, action) {
15324
15324
  state.status_update.loading = true, state.status_update.error = false, state.status_update.loading = true;
15325
- }), _defineProperty(_extraReducers$v, HOLIDAY_STATUS_CHANGE.rejected, function (state, action) {
15325
+ }), _defineProperty(_extraReducers$w, HOLIDAY_STATUS_CHANGE.rejected, function (state, action) {
15326
15326
  state.status_update.loading = false, state.status_update.error = true, state.status_update = action.payload;
15327
- }), _defineProperty(_extraReducers$v, HOLIDAY_READ.fulfilled, function (state, action) {
15327
+ }), _defineProperty(_extraReducers$w, HOLIDAY_READ.fulfilled, function (state, action) {
15328
15328
  state.holidy_list.loading = false, state.holidy_list.error = false, state.holidy_list = action.payload;
15329
- }), _defineProperty(_extraReducers$v, HOLIDAY_READ.pending, function (state, action) {
15329
+ }), _defineProperty(_extraReducers$w, HOLIDAY_READ.pending, function (state, action) {
15330
15330
  state.holidy_list.loading = true, state.holidy_list.error = false, state.holidy_list.loading = true;
15331
- }), _defineProperty(_extraReducers$v, HOLIDAY_READ.rejected, function (state, action) {
15331
+ }), _defineProperty(_extraReducers$w, HOLIDAY_READ.rejected, function (state, action) {
15332
15332
  state.holidy_list.loading = false, state.holidy_list.error = true, state.holidy_list = action.payload;
15333
- }), _defineProperty(_extraReducers$v, HOLIDAY_UPSERT.fulfilled, function (state, action) {
15333
+ }), _defineProperty(_extraReducers$w, HOLIDAY_UPSERT.fulfilled, function (state, action) {
15334
15334
  state.holiday_upsert.loading = false, state.holiday_upsert.error = false, state.holiday_upsert = action.payload;
15335
- }), _defineProperty(_extraReducers$v, HOLIDAY_UPSERT.pending, function (state, action) {
15335
+ }), _defineProperty(_extraReducers$w, HOLIDAY_UPSERT.pending, function (state, action) {
15336
15336
  state.holiday_upsert.loading = true, state.holiday_upsert.error = false, state.holiday_upsert.loading = true;
15337
- }), _defineProperty(_extraReducers$v, HOLIDAY_UPSERT.rejected, function (state, action) {
15337
+ }), _defineProperty(_extraReducers$w, HOLIDAY_UPSERT.rejected, function (state, action) {
15338
15338
  state.holiday_upsert.loading = false, state.holiday_upsert.error = true, state.holiday_upsert = action.payload;
15339
- }), _defineProperty(_extraReducers$v, HOLIDAY_MASTERS.fulfilled, function (state, action) {
15339
+ }), _defineProperty(_extraReducers$w, HOLIDAY_MASTERS.fulfilled, function (state, action) {
15340
15340
  state.holiday_master.loading = false, state.holiday_master.error = false, state.holiday_master = action.payload;
15341
- }), _defineProperty(_extraReducers$v, HOLIDAY_MASTERS.pending, function (state, action) {
15341
+ }), _defineProperty(_extraReducers$w, HOLIDAY_MASTERS.pending, function (state, action) {
15342
15342
  state.holiday_master.loading = true, state.holiday_master.error = false, state.holiday_master.loading = true;
15343
- }), _defineProperty(_extraReducers$v, HOLIDAY_MASTERS.rejected, function (state, action) {
15343
+ }), _defineProperty(_extraReducers$w, HOLIDAY_MASTERS.rejected, function (state, action) {
15344
15344
  state.holiday_master.loading = false, state.holiday_master.error = true, state.holiday_master = action.payload;
15345
- }), _extraReducers$v)
15345
+ }), _extraReducers$w)
15346
15346
  });
15347
15347
  var holidayActions = {
15348
15348
  HOLIDAY_STATUS_CHANGE: HOLIDAY_STATUS_CHANGE,
@@ -15458,7 +15458,7 @@ var queries$h = {
15458
15458
  }
15459
15459
  };
15460
15460
 
15461
- var generateJson$9 = {
15461
+ var generateJson$a = {
15462
15462
  insert_json: function insert_json(data, key) {
15463
15463
  var _data$TotNoOfResource, _data$generalInstruct, _data$ApptInstruction;
15464
15464
 
@@ -15597,7 +15597,7 @@ var generateReadJson$3 = {
15597
15597
  }
15598
15598
  };
15599
15599
 
15600
- var _extraReducers$u;
15600
+ var _extraReducers$v;
15601
15601
  var RESOURCE_BY_APPOINTMRNT_TYPES = createAsyncThunk("resourceByAppointmentTypesSlice/resource_appointment_type", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
15602
15602
  var _ref2,
15603
15603
  rejectWithValue,
@@ -16135,7 +16135,7 @@ var RES_UPSERT_INSER_NEW = createAsyncThunk("resourceByAppointmentTypesSlice/res
16135
16135
  _ref22 = _args11.length > 1 ? _args11[1] : undefined, rejectWithValue = _ref22.rejectWithValue;
16136
16136
  _context11.prev = 2;
16137
16137
  state = payload.state, key = payload.key;
16138
- queriesjson = generateJson$9.insert_json(state, key);
16138
+ queriesjson = generateJson$a.insert_json(state, key);
16139
16139
  _context11.next = 7;
16140
16140
  return fetchData({
16141
16141
  body: JSON.stringify(queriesjson)
@@ -16222,79 +16222,79 @@ var resourceByAppointmentTypesSlice = createSlice({
16222
16222
  res_upsert_new: _objectSpread2({}, defaultState.List),
16223
16223
  res_line_list_read_doc: _objectSpread2({}, defaultState.List)
16224
16224
  },
16225
- extraReducers: (_extraReducers$u = {}, _defineProperty(_extraReducers$u, RESOURCE_BY_APPOINTMRNT_TYPES.fulfilled, function (state, action) {
16225
+ extraReducers: (_extraReducers$v = {}, _defineProperty(_extraReducers$v, RESOURCE_BY_APPOINTMRNT_TYPES.fulfilled, function (state, action) {
16226
16226
  state.resource_appointment_type.loading = false, state.resource_appointment_type.error = false, state.resource_appointment_type = action.payload;
16227
- }), _defineProperty(_extraReducers$u, RESOURCE_BY_APPOINTMRNT_TYPES.pending, function (state, action) {
16227
+ }), _defineProperty(_extraReducers$v, RESOURCE_BY_APPOINTMRNT_TYPES.pending, function (state, action) {
16228
16228
  state.resource_appointment_type.loading = true, state.resource_appointment_type.error = false, state.resource_appointment_type.loading = true;
16229
- }), _defineProperty(_extraReducers$u, RESOURCE_BY_APPOINTMRNT_TYPES.rejected, function (state, action) {
16229
+ }), _defineProperty(_extraReducers$v, RESOURCE_BY_APPOINTMRNT_TYPES.rejected, function (state, action) {
16230
16230
  state.resource_appointment_type.loading = false, state.resource_appointment_type.error = true, state.resource_appointment_type = action.payload;
16231
- }), _defineProperty(_extraReducers$u, RESOURCE_BY_ENTITY_NAME_TYPES.fulfilled, function (state, action) {
16231
+ }), _defineProperty(_extraReducers$v, RESOURCE_BY_ENTITY_NAME_TYPES.fulfilled, function (state, action) {
16232
16232
  state.resource_enitity_name.loading = false, state.resource_enitity_name.error = false, state.resource_enitity_name = action.payload;
16233
- }), _defineProperty(_extraReducers$u, RESOURCE_BY_ENTITY_NAME_TYPES.pending, function (state, action) {
16233
+ }), _defineProperty(_extraReducers$v, RESOURCE_BY_ENTITY_NAME_TYPES.pending, function (state, action) {
16234
16234
  state.resource_enitity_name.loading = true, state.resource_enitity_name.error = false, state.resource_enitity_name.loading = true;
16235
- }), _defineProperty(_extraReducers$u, RESOURCE_BY_ENTITY_NAME_TYPES.rejected, function (state, action) {
16235
+ }), _defineProperty(_extraReducers$v, RESOURCE_BY_ENTITY_NAME_TYPES.rejected, function (state, action) {
16236
16236
  state.resource_enitity_name.loading = false, state.resource_enitity_name.error = true, state.resource_enitity_name = action.payload;
16237
- }), _defineProperty(_extraReducers$u, RESOURCE_BY_ENTITY_TYPE.fulfilled, function (state, action) {
16237
+ }), _defineProperty(_extraReducers$v, RESOURCE_BY_ENTITY_TYPE.fulfilled, function (state, action) {
16238
16238
  state.resource_enitity_type.loading = false, state.resource_enitity_type.error = false, state.resource_enitity_type = action.payload;
16239
- }), _defineProperty(_extraReducers$u, RESOURCE_BY_ENTITY_TYPE.pending, function (state, action) {
16239
+ }), _defineProperty(_extraReducers$v, RESOURCE_BY_ENTITY_TYPE.pending, function (state, action) {
16240
16240
  state.resource_enitity_type.loading = true, state.resource_enitity_type.error = false, state.resource_enitity_type.loading = true;
16241
- }), _defineProperty(_extraReducers$u, RESOURCE_BY_ENTITY_TYPE.rejected, function (state, action) {
16241
+ }), _defineProperty(_extraReducers$v, RESOURCE_BY_ENTITY_TYPE.rejected, function (state, action) {
16242
16242
  state.resource_enitity_type.loading = false, state.resource_enitity_type.error = true, state.resource_enitity_type = action.payload;
16243
- }), _defineProperty(_extraReducers$u, RESOURCE_BY_TABLE_DATA.fulfilled, function (state, action) {
16243
+ }), _defineProperty(_extraReducers$v, RESOURCE_BY_TABLE_DATA.fulfilled, function (state, action) {
16244
16244
  state.resource_enitity_table_data.loading = false, state.resource_enitity_table_data.error = false, state.resource_enitity_table_data = action.payload;
16245
- }), _defineProperty(_extraReducers$u, RESOURCE_BY_TABLE_DATA.pending, function (state, action) {
16245
+ }), _defineProperty(_extraReducers$v, RESOURCE_BY_TABLE_DATA.pending, function (state, action) {
16246
16246
  state.resource_enitity_table_data.loading = true, state.resource_enitity_table_data.error = false, state.resource_enitity_table_data.loading = true;
16247
- }), _defineProperty(_extraReducers$u, RESOURCE_BY_TABLE_DATA.rejected, function (state, action) {
16247
+ }), _defineProperty(_extraReducers$v, RESOURCE_BY_TABLE_DATA.rejected, function (state, action) {
16248
16248
  state.resource_enitity_table_data.loading = false, state.resource_enitity_table_data.error = true, state.resource_enitity_table_data = action.payload;
16249
- }), _defineProperty(_extraReducers$u, RESOURCE_TYPE_DROP_DOWN.fulfilled, function (state, action) {
16249
+ }), _defineProperty(_extraReducers$v, RESOURCE_TYPE_DROP_DOWN.fulfilled, function (state, action) {
16250
16250
  state.resource_type_drop_down.loading = false, state.resource_type_drop_down.error = false, state.resource_type_drop_down = action.payload;
16251
- }), _defineProperty(_extraReducers$u, RESOURCE_TYPE_DROP_DOWN.pending, function (state, action) {
16251
+ }), _defineProperty(_extraReducers$v, RESOURCE_TYPE_DROP_DOWN.pending, function (state, action) {
16252
16252
  state.resource_type_drop_down.loading = true, state.resource_type_drop_down.error = false, state.resource_type_drop_down.loading = true;
16253
- }), _defineProperty(_extraReducers$u, RESOURCE_TYPE_DROP_DOWN.rejected, function (state, action) {
16253
+ }), _defineProperty(_extraReducers$v, RESOURCE_TYPE_DROP_DOWN.rejected, function (state, action) {
16254
16254
  state.resource_type_drop_down.loading = false, state.resource_type_drop_down.error = true, state.resource_type_drop_down = action.payload;
16255
- }), _defineProperty(_extraReducers$u, RESOURCE_ROLE_DROP_DOWN.fulfilled, function (state, action) {
16255
+ }), _defineProperty(_extraReducers$v, RESOURCE_ROLE_DROP_DOWN.fulfilled, function (state, action) {
16256
16256
  state.resource_role_drop_down.loading = false, state.resource_role_drop_down.error = false, state.resource_role_drop_down = action.payload;
16257
- }), _defineProperty(_extraReducers$u, RESOURCE_ROLE_DROP_DOWN.pending, function (state, action) {
16257
+ }), _defineProperty(_extraReducers$v, RESOURCE_ROLE_DROP_DOWN.pending, function (state, action) {
16258
16258
  state.resource_role_drop_down.loading = true, state.resource_role_drop_down.error = false, state.resource_role_drop_down.loading = true;
16259
- }), _defineProperty(_extraReducers$u, RESOURCE_ROLE_DROP_DOWN.rejected, function (state, action) {
16259
+ }), _defineProperty(_extraReducers$v, RESOURCE_ROLE_DROP_DOWN.rejected, function (state, action) {
16260
16260
  state.resource_role_drop_down.loading = false, state.resource_role_drop_down.error = true, state.resource_role_drop_down = action.payload;
16261
- }), _defineProperty(_extraReducers$u, RES_GENERAL_INSTRUCTION.fulfilled, function (state, action) {
16261
+ }), _defineProperty(_extraReducers$v, RES_GENERAL_INSTRUCTION.fulfilled, function (state, action) {
16262
16262
  state.res_general_instruction.loading = false, state.res_general_instruction.error = false, state.res_general_instruction = action.payload;
16263
- }), _defineProperty(_extraReducers$u, RES_GENERAL_INSTRUCTION.pending, function (state, action) {
16263
+ }), _defineProperty(_extraReducers$v, RES_GENERAL_INSTRUCTION.pending, function (state, action) {
16264
16264
  state.res_general_instruction.loading = true, state.res_general_instruction.error = false, state.res_general_instruction.loading = true;
16265
- }), _defineProperty(_extraReducers$u, RES_GENERAL_INSTRUCTION.rejected, function (state, action) {
16265
+ }), _defineProperty(_extraReducers$v, RES_GENERAL_INSTRUCTION.rejected, function (state, action) {
16266
16266
  state.res_general_instruction.loading = false, state.res_general_instruction.error = true, state.res_general_instruction = action.payload;
16267
- }), _defineProperty(_extraReducers$u, RES_SPECIALINSTRUCTION.fulfilled, function (state, action) {
16267
+ }), _defineProperty(_extraReducers$v, RES_SPECIALINSTRUCTION.fulfilled, function (state, action) {
16268
16268
  state.res_special_instruction.loading = false, state.res_special_instruction.error = false, state.res_special_instruction = action.payload;
16269
- }), _defineProperty(_extraReducers$u, RES_SPECIALINSTRUCTION.pending, function (state, action) {
16269
+ }), _defineProperty(_extraReducers$v, RES_SPECIALINSTRUCTION.pending, function (state, action) {
16270
16270
  state.res_special_instruction.loading = true, state.res_special_instruction.error = false, state.res_special_instruction.loading = true;
16271
- }), _defineProperty(_extraReducers$u, RES_SPECIALINSTRUCTION.rejected, function (state, action) {
16271
+ }), _defineProperty(_extraReducers$v, RES_SPECIALINSTRUCTION.rejected, function (state, action) {
16272
16272
  state.res_special_instruction.loading = false, state.res_special_instruction.error = true, state.res_special_instruction = action.payload;
16273
- }), _defineProperty(_extraReducers$u, RES_CRITERIA_INSTRUVTION.fulfilled, function (state, action) {
16273
+ }), _defineProperty(_extraReducers$v, RES_CRITERIA_INSTRUVTION.fulfilled, function (state, action) {
16274
16274
  state.res_criteria_instruction.loading = false, state.res_criteria_instruction.error = false, state.res_criteria_instruction = action.payload;
16275
- }), _defineProperty(_extraReducers$u, RES_CRITERIA_INSTRUVTION.pending, function (state, action) {
16275
+ }), _defineProperty(_extraReducers$v, RES_CRITERIA_INSTRUVTION.pending, function (state, action) {
16276
16276
  state.res_criteria_instruction.loading = true, state.res_criteria_instruction.error = false, state.res_criteria_instruction.loading = true;
16277
- }), _defineProperty(_extraReducers$u, RES_CRITERIA_INSTRUVTION.rejected, function (state, action) {
16277
+ }), _defineProperty(_extraReducers$v, RES_CRITERIA_INSTRUVTION.rejected, function (state, action) {
16278
16278
  state.res_criteria_instruction.loading = false, state.res_criteria_instruction.error = true, state.res_criteria_instruction = action.payload;
16279
- }), _defineProperty(_extraReducers$u, UPDATE_STATUS_RES_LINE_LIST.fulfilled, function (state, action) {
16279
+ }), _defineProperty(_extraReducers$v, UPDATE_STATUS_RES_LINE_LIST.fulfilled, function (state, action) {
16280
16280
  state.res_status_update.loading = false, state.res_status_update.error = false, state.res_status_update = action.payload;
16281
- }), _defineProperty(_extraReducers$u, UPDATE_STATUS_RES_LINE_LIST.pending, function (state, action) {
16281
+ }), _defineProperty(_extraReducers$v, UPDATE_STATUS_RES_LINE_LIST.pending, function (state, action) {
16282
16282
  state.res_status_update.loading = true, state.res_status_update.error = false, state.res_status_update.loading = true;
16283
- }), _defineProperty(_extraReducers$u, UPDATE_STATUS_RES_LINE_LIST.rejected, function (state, action) {
16283
+ }), _defineProperty(_extraReducers$v, UPDATE_STATUS_RES_LINE_LIST.rejected, function (state, action) {
16284
16284
  state.res_status_update.loading = false, state.res_status_update.error = true, state.res_status_update = action.payload;
16285
- }), _defineProperty(_extraReducers$u, RES_UPSERT_INSER_NEW.fulfilled, function (state, action) {
16285
+ }), _defineProperty(_extraReducers$v, RES_UPSERT_INSER_NEW.fulfilled, function (state, action) {
16286
16286
  state.res_upsert_new.loading = false, state.res_upsert_new.error = false, state.res_upsert_new = action.payload;
16287
- }), _defineProperty(_extraReducers$u, RES_UPSERT_INSER_NEW.pending, function (state, action) {
16287
+ }), _defineProperty(_extraReducers$v, RES_UPSERT_INSER_NEW.pending, function (state, action) {
16288
16288
  state.res_upsert_new.loading = true, state.res_upsert_new.error = false, state.res_upsert_new.loading = true;
16289
- }), _defineProperty(_extraReducers$u, RES_UPSERT_INSER_NEW.rejected, function (state, action) {
16289
+ }), _defineProperty(_extraReducers$v, RES_UPSERT_INSER_NEW.rejected, function (state, action) {
16290
16290
  state.res_upsert_new.loading = false, state.res_upsert_new.error = true, state.res_upsert_new = action.payload;
16291
- }), _defineProperty(_extraReducers$u, RES_LINE_LIST_READ_DOC.fulfilled, function (state, action) {
16291
+ }), _defineProperty(_extraReducers$v, RES_LINE_LIST_READ_DOC.fulfilled, function (state, action) {
16292
16292
  state.res_line_list_read_doc.loading = false, state.res_line_list_read_doc.error = false, state.res_line_list_read_doc = action.payload;
16293
- }), _defineProperty(_extraReducers$u, RES_LINE_LIST_READ_DOC.pending, function (state, action) {
16293
+ }), _defineProperty(_extraReducers$v, RES_LINE_LIST_READ_DOC.pending, function (state, action) {
16294
16294
  state.res_line_list_read_doc.loading = true, state.res_line_list_read_doc.error = false, state.res_line_list_read_doc.loading = true;
16295
- }), _defineProperty(_extraReducers$u, RES_LINE_LIST_READ_DOC.rejected, function (state, action) {
16295
+ }), _defineProperty(_extraReducers$v, RES_LINE_LIST_READ_DOC.rejected, function (state, action) {
16296
16296
  state.res_line_list_read_doc.loading = false, state.res_line_list_read_doc.error = true, state.res_line_list_read_doc = action.payload;
16297
- }), _extraReducers$u)
16297
+ }), _extraReducers$v)
16298
16298
  });
16299
16299
  var resourceByAppointmentTypes = {
16300
16300
  RESOURCE_BY_APPOINTMRNT_TYPES: RESOURCE_BY_APPOINTMRNT_TYPES,
@@ -16441,7 +16441,7 @@ var queries$g = {
16441
16441
  }
16442
16442
  };
16443
16443
 
16444
- var _extraReducers$t;
16444
+ var _extraReducers$u;
16445
16445
  var DRUG_CATEGORY_READ = createAsyncThunk("drugCategorySlice/drug_category_list", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
16446
16446
  var _ref2,
16447
16447
  rejectWithValue,
@@ -16546,19 +16546,19 @@ var drugCategorySlice = createSlice({
16546
16546
  drug_category_list: _objectSpread2({}, defaultState.List),
16547
16547
  drug_type_list: _objectSpread2({}, defaultState.List)
16548
16548
  },
16549
- extraReducers: (_extraReducers$t = {}, _defineProperty(_extraReducers$t, DRUG_CATEGORY_READ.fulfilled, function (state, action) {
16549
+ extraReducers: (_extraReducers$u = {}, _defineProperty(_extraReducers$u, DRUG_CATEGORY_READ.fulfilled, function (state, action) {
16550
16550
  state.drug_category_list.loading = false, state.drug_category_list.error = false, state.drug_category_list = action.payload;
16551
- }), _defineProperty(_extraReducers$t, DRUG_CATEGORY_READ.pending, function (state, action) {
16551
+ }), _defineProperty(_extraReducers$u, DRUG_CATEGORY_READ.pending, function (state, action) {
16552
16552
  state.drug_category_list.loading = true, state.drug_category_list.error = false, state.drug_category_list.loading = true;
16553
- }), _defineProperty(_extraReducers$t, DRUG_CATEGORY_READ.rejected, function (state, action) {
16553
+ }), _defineProperty(_extraReducers$u, DRUG_CATEGORY_READ.rejected, function (state, action) {
16554
16554
  state.drug_category_list.loading = false, state.drug_category_list.error = true, state.drug_category_list = action.payload;
16555
- }), _defineProperty(_extraReducers$t, DRUG_TYPE_READ.fulfilled, function (state, action) {
16555
+ }), _defineProperty(_extraReducers$u, DRUG_TYPE_READ.fulfilled, function (state, action) {
16556
16556
  state.drug_type_list.loading = false, state.drug_type_list.error = false, state.drug_type_list = action.payload;
16557
- }), _defineProperty(_extraReducers$t, DRUG_TYPE_READ.pending, function (state, action) {
16557
+ }), _defineProperty(_extraReducers$u, DRUG_TYPE_READ.pending, function (state, action) {
16558
16558
  state.drug_type_list.loading = true, state.drug_type_list.error = false, state.drug_type_list.loading = true;
16559
- }), _defineProperty(_extraReducers$t, DRUG_TYPE_READ.rejected, function (state, action) {
16559
+ }), _defineProperty(_extraReducers$u, DRUG_TYPE_READ.rejected, function (state, action) {
16560
16560
  state.drug_type_list.loading = false, state.drug_type_list.error = true, state.drug_type_list = action.payload;
16561
- }), _extraReducers$t)
16561
+ }), _extraReducers$u)
16562
16562
  });
16563
16563
  var drugCategoryActions = {
16564
16564
  DRUG_CATEGORY_READ: DRUG_CATEGORY_READ,
@@ -16566,7 +16566,7 @@ var drugCategoryActions = {
16566
16566
  };
16567
16567
  var drugCategorySlice$1 = drugCategorySlice.reducer;
16568
16568
 
16569
- var _extraReducers$s;
16569
+ var _extraReducers$t;
16570
16570
  var DRUG_DOSAGE_READ = createAsyncThunk("drugDosageSlice/drug_dosage_list", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
16571
16571
  var _ref2,
16572
16572
  rejectWithValue,
@@ -16719,25 +16719,25 @@ var drugDosageSlice = createSlice({
16719
16719
  drug_dosage_upsert: _objectSpread2({}, defaultState.List),
16720
16720
  drug_dosage_status: _objectSpread2({}, defaultState.List)
16721
16721
  },
16722
- extraReducers: (_extraReducers$s = {}, _defineProperty(_extraReducers$s, DRUG_DOSAGE_READ.fulfilled, function (state, action) {
16722
+ extraReducers: (_extraReducers$t = {}, _defineProperty(_extraReducers$t, DRUG_DOSAGE_READ.fulfilled, function (state, action) {
16723
16723
  state.drug_dosage_list.loading = false, state.drug_dosage_list.error = false, state.drug_dosage_list = action.payload;
16724
- }), _defineProperty(_extraReducers$s, DRUG_DOSAGE_READ.pending, function (state, action) {
16724
+ }), _defineProperty(_extraReducers$t, DRUG_DOSAGE_READ.pending, function (state, action) {
16725
16725
  state.drug_dosage_list.loading = true, state.drug_dosage_list.error = false, state.drug_dosage_list.loading = true;
16726
- }), _defineProperty(_extraReducers$s, DRUG_DOSAGE_READ.rejected, function (state, action) {
16726
+ }), _defineProperty(_extraReducers$t, DRUG_DOSAGE_READ.rejected, function (state, action) {
16727
16727
  state.drug_dosage_list.loading = false, state.drug_dosage_list.error = true, state.drug_dosage_list = action.payload;
16728
- }), _defineProperty(_extraReducers$s, DRUG_DOSAGE_UPSERT.fulfilled, function (state, action) {
16728
+ }), _defineProperty(_extraReducers$t, DRUG_DOSAGE_UPSERT.fulfilled, function (state, action) {
16729
16729
  state.drug_dosage_upsert.loading = false, state.drug_dosage_upsert.error = false, state.drug_dosage_upsert = action.payload;
16730
- }), _defineProperty(_extraReducers$s, DRUG_DOSAGE_UPSERT.pending, function (state, action) {
16730
+ }), _defineProperty(_extraReducers$t, DRUG_DOSAGE_UPSERT.pending, function (state, action) {
16731
16731
  state.drug_dosage_upsert.loading = true, state.drug_dosage_upsert.error = false, state.drug_dosage_upsert.loading = true;
16732
- }), _defineProperty(_extraReducers$s, DRUG_DOSAGE_UPSERT.rejected, function (state, action) {
16732
+ }), _defineProperty(_extraReducers$t, DRUG_DOSAGE_UPSERT.rejected, function (state, action) {
16733
16733
  state.drug_dosage_upsert.loading = false, state.drug_dosage_upsert.error = true, state.drug_dosage_upsert = action.payload;
16734
- }), _defineProperty(_extraReducers$s, DRUG_DOSAGE_STATUS_CHANGE.fulfilled, function (state, action) {
16734
+ }), _defineProperty(_extraReducers$t, DRUG_DOSAGE_STATUS_CHANGE.fulfilled, function (state, action) {
16735
16735
  state.drug_dosage_status.loading = false, state.drug_dosage_status.error = false, state.drug_dosage_status = action.payload;
16736
- }), _defineProperty(_extraReducers$s, DRUG_DOSAGE_STATUS_CHANGE.pending, function (state, action) {
16736
+ }), _defineProperty(_extraReducers$t, DRUG_DOSAGE_STATUS_CHANGE.pending, function (state, action) {
16737
16737
  state.drug_dosage_status.loading = true, state.drug_dosage_status.error = false, state.drug_dosage_status.loading = true;
16738
- }), _defineProperty(_extraReducers$s, DRUG_DOSAGE_STATUS_CHANGE.rejected, function (state, action) {
16738
+ }), _defineProperty(_extraReducers$t, DRUG_DOSAGE_STATUS_CHANGE.rejected, function (state, action) {
16739
16739
  state.drug_dosage_status.loading = false, state.drug_dosage_status.error = true, state.drug_dosage_status = action.payload;
16740
- }), _extraReducers$s)
16740
+ }), _extraReducers$t)
16741
16741
  });
16742
16742
  var drugDosageActions = {
16743
16743
  DRUG_DOSAGE_READ: DRUG_DOSAGE_READ,
@@ -16746,7 +16746,7 @@ var drugDosageActions = {
16746
16746
  };
16747
16747
  var drugDosageSlice$1 = drugDosageSlice.reducer;
16748
16748
 
16749
- var _extraReducers$r;
16749
+ var _extraReducers$s;
16750
16750
  var DRUG_CLASS_READ = createAsyncThunk("drugClassSlice/drug_class_list", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
16751
16751
  var _ref2,
16752
16752
  rejectWithValue,
@@ -16899,25 +16899,25 @@ var drugClassSlice = createSlice({
16899
16899
  drug_class_upsert: _objectSpread2({}, defaultState.List),
16900
16900
  drug_class_status: _objectSpread2({}, defaultState.List)
16901
16901
  },
16902
- extraReducers: (_extraReducers$r = {}, _defineProperty(_extraReducers$r, DRUG_CLASS_READ.fulfilled, function (state, action) {
16902
+ extraReducers: (_extraReducers$s = {}, _defineProperty(_extraReducers$s, DRUG_CLASS_READ.fulfilled, function (state, action) {
16903
16903
  state.drug_class_list.loading = false, state.drug_class_list.error = false, state.drug_class_list = action.payload;
16904
- }), _defineProperty(_extraReducers$r, DRUG_CLASS_READ.pending, function (state, action) {
16904
+ }), _defineProperty(_extraReducers$s, DRUG_CLASS_READ.pending, function (state, action) {
16905
16905
  state.drug_class_list.loading = true, state.drug_class_list.error = false, state.drug_class_list.loading = true;
16906
- }), _defineProperty(_extraReducers$r, DRUG_CLASS_READ.rejected, function (state, action) {
16906
+ }), _defineProperty(_extraReducers$s, DRUG_CLASS_READ.rejected, function (state, action) {
16907
16907
  state.drug_class_list.loading = false, state.drug_class_list.error = true, state.drug_class_list = action.payload;
16908
- }), _defineProperty(_extraReducers$r, DRUG_CLASS_UPSERT.fulfilled, function (state, action) {
16908
+ }), _defineProperty(_extraReducers$s, DRUG_CLASS_UPSERT.fulfilled, function (state, action) {
16909
16909
  state.drug_class_upsert.loading = false, state.drug_class_upsert.error = false, state.drug_class_upsert = action.payload;
16910
- }), _defineProperty(_extraReducers$r, DRUG_CLASS_UPSERT.pending, function (state, action) {
16910
+ }), _defineProperty(_extraReducers$s, DRUG_CLASS_UPSERT.pending, function (state, action) {
16911
16911
  state.drug_class_upsert.loading = true, state.drug_class_upsert.error = false, state.drug_class_upsert.loading = true;
16912
- }), _defineProperty(_extraReducers$r, DRUG_CLASS_UPSERT.rejected, function (state, action) {
16912
+ }), _defineProperty(_extraReducers$s, DRUG_CLASS_UPSERT.rejected, function (state, action) {
16913
16913
  state.drug_class_upsert.loading = false, state.drug_class_upsert.error = true, state.drug_class_upsert = action.payload;
16914
- }), _defineProperty(_extraReducers$r, DRUG_CLASS_STATUS_CHANGE.fulfilled, function (state, action) {
16914
+ }), _defineProperty(_extraReducers$s, DRUG_CLASS_STATUS_CHANGE.fulfilled, function (state, action) {
16915
16915
  state.drug_class_status.loading = false, state.drug_class_status.error = false, state.drug_class_status = action.payload;
16916
- }), _defineProperty(_extraReducers$r, DRUG_CLASS_STATUS_CHANGE.pending, function (state, action) {
16916
+ }), _defineProperty(_extraReducers$s, DRUG_CLASS_STATUS_CHANGE.pending, function (state, action) {
16917
16917
  state.drug_class_status.loading = true, state.drug_class_status.error = false, state.drug_class_status.loading = true;
16918
- }), _defineProperty(_extraReducers$r, DRUG_CLASS_STATUS_CHANGE.rejected, function (state, action) {
16918
+ }), _defineProperty(_extraReducers$s, DRUG_CLASS_STATUS_CHANGE.rejected, function (state, action) {
16919
16919
  state.drug_class_status.loading = false, state.drug_class_status.error = true, state.drug_class_status = action.payload;
16920
- }), _extraReducers$r)
16920
+ }), _extraReducers$s)
16921
16921
  });
16922
16922
  var drugClassActions = {
16923
16923
  DRUG_CLASS_READ: DRUG_CLASS_READ,
@@ -16926,7 +16926,7 @@ var drugClassActions = {
16926
16926
  };
16927
16927
  var drugClassSlice$1 = drugClassSlice.reducer;
16928
16928
 
16929
- var _extraReducers$q;
16929
+ var _extraReducers$r;
16930
16930
  var DRUG_ROUTES_READ = createAsyncThunk("drugRoutesSlice/drug_routes_list", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
16931
16931
  var _ref2,
16932
16932
  rejectWithValue,
@@ -17081,25 +17081,25 @@ var drugRoutesSlice = createSlice({
17081
17081
  drug_routes_upsert: _objectSpread2({}, defaultState.List),
17082
17082
  drug_routes_status: _objectSpread2({}, defaultState.List)
17083
17083
  },
17084
- extraReducers: (_extraReducers$q = {}, _defineProperty(_extraReducers$q, DRUG_ROUTES_READ.fulfilled, function (state, action) {
17084
+ extraReducers: (_extraReducers$r = {}, _defineProperty(_extraReducers$r, DRUG_ROUTES_READ.fulfilled, function (state, action) {
17085
17085
  state.drug_routes_list.loading = false, state.drug_routes_list.error = false, state.drug_routes_list = action.payload;
17086
- }), _defineProperty(_extraReducers$q, DRUG_ROUTES_READ.pending, function (state, action) {
17086
+ }), _defineProperty(_extraReducers$r, DRUG_ROUTES_READ.pending, function (state, action) {
17087
17087
  state.drug_routes_list.loading = true, state.drug_routes_list.error = false, state.drug_routes_list.loading = true;
17088
- }), _defineProperty(_extraReducers$q, DRUG_ROUTES_READ.rejected, function (state, action) {
17088
+ }), _defineProperty(_extraReducers$r, DRUG_ROUTES_READ.rejected, function (state, action) {
17089
17089
  state.drug_routes_list.loading = false, state.drug_routes_list.error = true, state.drug_routes_list = action.payload;
17090
- }), _defineProperty(_extraReducers$q, DRUG_ROUTES_UPSERT.fulfilled, function (state, action) {
17090
+ }), _defineProperty(_extraReducers$r, DRUG_ROUTES_UPSERT.fulfilled, function (state, action) {
17091
17091
  state.drug_routes_upsert.loading = false, state.drug_routes_upsert.error = false, state.drug_routes_upsert = action.payload;
17092
- }), _defineProperty(_extraReducers$q, DRUG_ROUTES_UPSERT.pending, function (state, action) {
17092
+ }), _defineProperty(_extraReducers$r, DRUG_ROUTES_UPSERT.pending, function (state, action) {
17093
17093
  state.drug_routes_upsert.loading = true, state.drug_routes_upsert.error = false, state.drug_routes_upsert.loading = true;
17094
- }), _defineProperty(_extraReducers$q, DRUG_ROUTES_UPSERT.rejected, function (state, action) {
17094
+ }), _defineProperty(_extraReducers$r, DRUG_ROUTES_UPSERT.rejected, function (state, action) {
17095
17095
  state.drug_routes_upsert.loading = false, state.drug_routes_upsert.error = true, state.drug_routes_upsert = action.payload;
17096
- }), _defineProperty(_extraReducers$q, DRUG_ROUTES_STATUS_CHANGE.fulfilled, function (state, action) {
17096
+ }), _defineProperty(_extraReducers$r, DRUG_ROUTES_STATUS_CHANGE.fulfilled, function (state, action) {
17097
17097
  state.drug_routes_status.loading = false, state.drug_routes_status.error = false, state.drug_routes_status = action.payload;
17098
- }), _defineProperty(_extraReducers$q, DRUG_ROUTES_STATUS_CHANGE.pending, function (state, action) {
17098
+ }), _defineProperty(_extraReducers$r, DRUG_ROUTES_STATUS_CHANGE.pending, function (state, action) {
17099
17099
  state.drug_routes_status.loading = true, state.drug_routes_status.error = false, state.drug_routes_status.loading = true;
17100
- }), _defineProperty(_extraReducers$q, DRUG_ROUTES_STATUS_CHANGE.rejected, function (state, action) {
17100
+ }), _defineProperty(_extraReducers$r, DRUG_ROUTES_STATUS_CHANGE.rejected, function (state, action) {
17101
17101
  state.drug_routes_status.loading = false, state.drug_routes_status.error = true, state.drug_routes_status = action.payload;
17102
- }), _extraReducers$q)
17102
+ }), _extraReducers$r)
17103
17103
  });
17104
17104
  var drugRoutesActions = {
17105
17105
  DRUG_ROUTES_READ: DRUG_ROUTES_READ,
@@ -17284,7 +17284,7 @@ var queries$f = {
17284
17284
  };
17285
17285
  }
17286
17286
  };
17287
- var masterQuery$4 = {
17287
+ var masterQuery$5 = {
17288
17288
  "drug_class": "{ \n \"db_name\": \"".concat(dbName, "\",\n \"entity\": \"DrugClass\",\n \"filter\": \"DrugClass.activestatus == true && DrugClass.status == true\", \n \"return_fields\": \"{id:DrugClass.id, _id:DrugClass._id, drugclass:DrugClass.drugclass, longdesc:DrugClass.longdesc, shortdesc:DrugClass.shortdesc}\",\n \"sort\": \"DrugClass.longdesc\"\n }"),
17289
17289
  "drug_category": "{\n \"db_name\": \"".concat(dbName, "\",\n \"entity\": \"DrugCategory\",\n \"filter\":\"DrugCategory.activestatus == true && DrugCategory.status==true\",\n \"return_fields\": \"{id:DrugCategory.id, _id:DrugCategory._id, drugcategory:DrugCategory.drugcategory, longdesc:DrugCategory.longdesc, shortdesc:DrugCategory.shortdesc}\",\n \"sort\": \"DrugCategory.longdesc\"\n }"),
17290
17290
  "drug_type": "{\n \"db_name\": \"".concat(dbName, "\",\n \"entity\": \"DrugType\",\n \"filter\":\"DrugType.activestatus == true && DrugType.status==true\",\n \"return_fields\": \"{id:DrugType.id, _id:DrugType._id, drugtype:DrugType.drugtype, longdesc:DrugType.longdesc, shortdesc:DrugType.shortdesc}\",\n \"sort\": \"DrugType.longdesc\"\n }"),
@@ -17989,9 +17989,9 @@ var readDrugMasterJSON = function readDrugMasterJSON(data, state) {
17989
17989
  return json;
17990
17990
  };
17991
17991
 
17992
- var _extraReducers$p;
17992
+ var _extraReducers$q;
17993
17993
 
17994
- var loopMasters$5 = function loopMasters() {
17994
+ var loopMasters$6 = function loopMasters() {
17995
17995
  return new es6Promise.Promise( /*#__PURE__*/function () {
17996
17996
  var _ref = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2(resolve, reject) {
17997
17997
  var calls;
@@ -17999,14 +17999,14 @@ var loopMasters$5 = function loopMasters() {
17999
17999
  while (1) {
18000
18000
  switch (_context2.prev = _context2.next) {
18001
18001
  case 0:
18002
- calls = Object.keys(masterQuery$4).map( /*#__PURE__*/function () {
18002
+ calls = Object.keys(masterQuery$5).map( /*#__PURE__*/function () {
18003
18003
  var _ref2 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(val) {
18004
18004
  return regeneratorRuntime.wrap(function _callee$(_context) {
18005
18005
  while (1) {
18006
18006
  switch (_context.prev = _context.next) {
18007
18007
  case 0:
18008
18008
  _context.next = 2;
18009
- return fetchMaster$5(val, masterQuery$4[val]);
18009
+ return fetchMaster$6(val, masterQuery$5[val]);
18010
18010
 
18011
18011
  case 2:
18012
18012
  return _context.abrupt("return", _context.sent);
@@ -18115,7 +18115,7 @@ var loopMasters$5 = function loopMasters() {
18115
18115
  }());
18116
18116
  };
18117
18117
 
18118
- var fetchMaster$5 = function fetchMaster(name, query) {
18118
+ var fetchMaster$6 = function fetchMaster(name, query) {
18119
18119
  return new es6Promise.Promise( /*#__PURE__*/function () {
18120
18120
  var _ref3 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee3(resolve, reject) {
18121
18121
  var data;
@@ -18313,7 +18313,7 @@ var DRUG_MASTERS = createAsyncThunk("drugMasterSlice/masterlist", /*#__PURE__*/_
18313
18313
  _ref11 = _args7.length > 1 ? _args7[1] : undefined, rejectWithValue = _ref11.rejectWithValue;
18314
18314
  _context7.prev = 2;
18315
18315
  _context7.next = 6;
18316
- return loopMasters$5();
18316
+ return loopMasters$6();
18317
18317
 
18318
18318
  case 6:
18319
18319
  data = _context7.sent;
@@ -18538,55 +18538,55 @@ var drugMasterSlice = createSlice({
18538
18538
  drug_form_read: _objectSpread2({}, defaultState.List),
18539
18539
  age_category_by_id: _objectSpread2({}, defaultState.List)
18540
18540
  },
18541
- extraReducers: (_extraReducers$p = {}, _defineProperty(_extraReducers$p, DRUG_MASTER_READ.fulfilled, function (state, action) {
18541
+ extraReducers: (_extraReducers$q = {}, _defineProperty(_extraReducers$q, DRUG_MASTER_READ.fulfilled, function (state, action) {
18542
18542
  state.drug_master_list.loading = false, state.drug_master_list.error = false, state.drug_master_list = action.payload;
18543
- }), _defineProperty(_extraReducers$p, DRUG_MASTER_READ.pending, function (state, action) {
18543
+ }), _defineProperty(_extraReducers$q, DRUG_MASTER_READ.pending, function (state, action) {
18544
18544
  state.drug_master_list.loading = true, state.drug_master_list.error = false, state.drug_master_list.loading = true;
18545
- }), _defineProperty(_extraReducers$p, DRUG_MASTER_READ.rejected, function (state, action) {
18545
+ }), _defineProperty(_extraReducers$q, DRUG_MASTER_READ.rejected, function (state, action) {
18546
18546
  state.drug_master_list.loading = false, state.drug_master_list.error = true, state.drug_master_list = action.payload;
18547
- }), _defineProperty(_extraReducers$p, DRUG_MASTER_UPSERT.fulfilled, function (state, action) {
18547
+ }), _defineProperty(_extraReducers$q, DRUG_MASTER_UPSERT.fulfilled, function (state, action) {
18548
18548
  state.drug_master_upsert.loading = false, state.drug_master_upsert.error = false, state.drug_master_upsert = action.payload;
18549
- }), _defineProperty(_extraReducers$p, DRUG_MASTER_UPSERT.pending, function (state, action) {
18549
+ }), _defineProperty(_extraReducers$q, DRUG_MASTER_UPSERT.pending, function (state, action) {
18550
18550
  state.drug_master_upsert.loading = true, state.drug_master_upsert.error = false, state.drug_master_upsert.loading = true;
18551
- }), _defineProperty(_extraReducers$p, DRUG_MASTER_UPSERT.rejected, function (state, action) {
18551
+ }), _defineProperty(_extraReducers$q, DRUG_MASTER_UPSERT.rejected, function (state, action) {
18552
18552
  state.drug_master_upsert.loading = false, state.drug_master_upsert.error = true, state.drug_master_upsert = action.payload;
18553
- }), _defineProperty(_extraReducers$p, DRUG_MASTER_STATUS_CHANGE.fulfilled, function (state, action) {
18553
+ }), _defineProperty(_extraReducers$q, DRUG_MASTER_STATUS_CHANGE.fulfilled, function (state, action) {
18554
18554
  state.drug_master_status.loading = false, state.drug_master_status.error = false, state.drug_master_status = action.payload;
18555
- }), _defineProperty(_extraReducers$p, DRUG_MASTER_STATUS_CHANGE.pending, function (state, action) {
18555
+ }), _defineProperty(_extraReducers$q, DRUG_MASTER_STATUS_CHANGE.pending, function (state, action) {
18556
18556
  state.drug_master_status.loading = true, state.drug_master_status.error = false, state.drug_master_status.loading = true;
18557
- }), _defineProperty(_extraReducers$p, DRUG_MASTER_STATUS_CHANGE.rejected, function (state, action) {
18557
+ }), _defineProperty(_extraReducers$q, DRUG_MASTER_STATUS_CHANGE.rejected, function (state, action) {
18558
18558
  state.drug_master_status.loading = false, state.drug_master_status.error = true, state.drug_master_status = action.payload;
18559
- }), _defineProperty(_extraReducers$p, DRUG_MASTERS.fulfilled, function (state, action) {
18559
+ }), _defineProperty(_extraReducers$q, DRUG_MASTERS.fulfilled, function (state, action) {
18560
18560
  state.drug_master.loading = false, state.drug_master.error = false, state.drug_master = action.payload;
18561
- }), _defineProperty(_extraReducers$p, DRUG_MASTERS.pending, function (state, action) {
18561
+ }), _defineProperty(_extraReducers$q, DRUG_MASTERS.pending, function (state, action) {
18562
18562
  state.drug_master.loading = true, state.drug_master.error = false, state.drug_master.loading = true;
18563
- }), _defineProperty(_extraReducers$p, DRUG_MASTERS.rejected, function (state, action) {
18563
+ }), _defineProperty(_extraReducers$q, DRUG_MASTERS.rejected, function (state, action) {
18564
18564
  state.drug_master.loading = false, state.drug_master.error = true, state.drug_master = action.payload;
18565
- }), _defineProperty(_extraReducers$p, SAVE_DRUG_MASTER.fulfilled, function (state, action) {
18565
+ }), _defineProperty(_extraReducers$q, SAVE_DRUG_MASTER.fulfilled, function (state, action) {
18566
18566
  state.upsert_drug_master.loading = false, state.upsert_drug_master.error = false, state.upsert_drug_master = action.payload;
18567
- }), _defineProperty(_extraReducers$p, SAVE_DRUG_MASTER.pending, function (state, action) {
18567
+ }), _defineProperty(_extraReducers$q, SAVE_DRUG_MASTER.pending, function (state, action) {
18568
18568
  state.upsert_drug_master.loading = true, state.upsert_drug_master.error = false, state.upsert_drug_master.loading = true;
18569
- }), _defineProperty(_extraReducers$p, SAVE_DRUG_MASTER.rejected, function (state, action) {
18569
+ }), _defineProperty(_extraReducers$q, SAVE_DRUG_MASTER.rejected, function (state, action) {
18570
18570
  state.upsert_drug_master.loading = false, state.upsert_drug_master.error = true, state.upsert_drug_master = action.payload;
18571
- }), _defineProperty(_extraReducers$p, DRUG_FORM_TYPE.fulfilled, function (state, action) {
18571
+ }), _defineProperty(_extraReducers$q, DRUG_FORM_TYPE.fulfilled, function (state, action) {
18572
18572
  state.drug_form_type.loading = false, state.drug_form_type.error = false, state.drug_form_type = action.payload;
18573
- }), _defineProperty(_extraReducers$p, DRUG_FORM_TYPE.pending, function (state, action) {
18573
+ }), _defineProperty(_extraReducers$q, DRUG_FORM_TYPE.pending, function (state, action) {
18574
18574
  state.drug_form_type.loading = true, state.drug_form_type.error = false, state.drug_form_type.loading = true;
18575
- }), _defineProperty(_extraReducers$p, DRUG_FORM_TYPE.rejected, function (state, action) {
18575
+ }), _defineProperty(_extraReducers$q, DRUG_FORM_TYPE.rejected, function (state, action) {
18576
18576
  state.drug_form_type.loading = false, state.drug_form_type.error = true, state.drug_form_type = action.payload;
18577
- }), _defineProperty(_extraReducers$p, DRUG_READ_FORM.fulfilled, function (state, action) {
18577
+ }), _defineProperty(_extraReducers$q, DRUG_READ_FORM.fulfilled, function (state, action) {
18578
18578
  state.drug_form_read.loading = false, state.drug_form_read.error = false, state.drug_form_read = action.payload;
18579
- }), _defineProperty(_extraReducers$p, DRUG_READ_FORM.pending, function (state, action) {
18579
+ }), _defineProperty(_extraReducers$q, DRUG_READ_FORM.pending, function (state, action) {
18580
18580
  state.drug_form_read.loading = true, state.drug_form_read.error = false, state.drug_form_read.loading = true;
18581
- }), _defineProperty(_extraReducers$p, DRUG_READ_FORM.rejected, function (state, action) {
18581
+ }), _defineProperty(_extraReducers$q, DRUG_READ_FORM.rejected, function (state, action) {
18582
18582
  state.drug_form_read.loading = false, state.drug_form_read.error = true, state.drug_form_read = action.payload;
18583
- }), _defineProperty(_extraReducers$p, AGE_CATEGORY_BY_ID.fulfilled, function (state, action) {
18583
+ }), _defineProperty(_extraReducers$q, AGE_CATEGORY_BY_ID.fulfilled, function (state, action) {
18584
18584
  state.age_category_by_id.loading = false, state.age_category_by_id.error = false, state.age_category_by_id = action.payload;
18585
- }), _defineProperty(_extraReducers$p, AGE_CATEGORY_BY_ID.pending, function (state, action) {
18585
+ }), _defineProperty(_extraReducers$q, AGE_CATEGORY_BY_ID.pending, function (state, action) {
18586
18586
  state.age_category_by_id.loading = true, state.age_category_by_id.error = false, state.age_category_by_id.loading = true;
18587
- }), _defineProperty(_extraReducers$p, AGE_CATEGORY_BY_ID.rejected, function (state, action) {
18587
+ }), _defineProperty(_extraReducers$q, AGE_CATEGORY_BY_ID.rejected, function (state, action) {
18588
18588
  state.age_category_by_id.loading = false, state.age_category_by_id.error = true, state.age_category_by_id = action.payload;
18589
- }), _extraReducers$p)
18589
+ }), _extraReducers$q)
18590
18590
  });
18591
18591
  var drugMasterActions = {
18592
18592
  DRUG_MASTER_READ: DRUG_MASTER_READ,
@@ -18671,7 +18671,7 @@ var queries$e = {
18671
18671
  }
18672
18672
  };
18673
18673
 
18674
- var _extraReducers$o;
18674
+ var _extraReducers$p;
18675
18675
  var DRUG_ROUTES_DIRECTION_READ = createAsyncThunk("drugRoutesSlice/drug_routes_direction_list", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
18676
18676
  var _ref2,
18677
18677
  rejectWithValue,
@@ -18916,37 +18916,37 @@ var drugRoutesDirectionSlice = createSlice({
18916
18916
  drug_routes_insert_list: _objectSpread2({}, defaultState.List),
18917
18917
  drug_routes_update_list: _objectSpread2({}, defaultState.List)
18918
18918
  },
18919
- extraReducers: (_extraReducers$o = {}, _defineProperty(_extraReducers$o, DRUG_ROUTES_DIRECTION_READ.fulfilled, function (state, action) {
18919
+ extraReducers: (_extraReducers$p = {}, _defineProperty(_extraReducers$p, DRUG_ROUTES_DIRECTION_READ.fulfilled, function (state, action) {
18920
18920
  state.drug_routes_direction_list.loading = false, state.drug_routes_direction_list.error = false, state.drug_routes_direction_list = action.payload;
18921
- }), _defineProperty(_extraReducers$o, DRUG_ROUTES_DIRECTION_READ.pending, function (state, action) {
18921
+ }), _defineProperty(_extraReducers$p, DRUG_ROUTES_DIRECTION_READ.pending, function (state, action) {
18922
18922
  state.drug_routes_direction_list.loading = true, state.drug_routes_direction_list.error = false, state.drug_routes_direction_list.loading = true;
18923
- }), _defineProperty(_extraReducers$o, DRUG_ROUTES_DIRECTION_READ.rejected, function (state, action) {
18923
+ }), _defineProperty(_extraReducers$p, DRUG_ROUTES_DIRECTION_READ.rejected, function (state, action) {
18924
18924
  state.drug_routes_direction_list.loading = false, state.drug_routes_direction_list.error = true, state.drug_routes_direction_list = action.payload;
18925
- }), _defineProperty(_extraReducers$o, DRUG_ROUTES_DIRECTION_MASTER.fulfilled, function (state, action) {
18925
+ }), _defineProperty(_extraReducers$p, DRUG_ROUTES_DIRECTION_MASTER.fulfilled, function (state, action) {
18926
18926
  state.drug_routes_master_list.loading = false, state.drug_routes_master_list.error = false, state.drug_routes_master_list = action.payload;
18927
- }), _defineProperty(_extraReducers$o, DRUG_ROUTES_DIRECTION_MASTER.pending, function (state, action) {
18927
+ }), _defineProperty(_extraReducers$p, DRUG_ROUTES_DIRECTION_MASTER.pending, function (state, action) {
18928
18928
  state.drug_routes_master_list.loading = true, state.drug_routes_master_list.error = false, state.drug_routes_master_list.loading = true;
18929
- }), _defineProperty(_extraReducers$o, DRUG_ROUTES_DIRECTION_MASTER.rejected, function (state, action) {
18929
+ }), _defineProperty(_extraReducers$p, DRUG_ROUTES_DIRECTION_MASTER.rejected, function (state, action) {
18930
18930
  state.drug_routes_master_list.loading = false, state.drug_routes_master_list.error = true, state.drug_routes_master_list = action.payload;
18931
- }), _defineProperty(_extraReducers$o, DRUG_ROUTES_DIRECTION_STATUS.fulfilled, function (state, action) {
18931
+ }), _defineProperty(_extraReducers$p, DRUG_ROUTES_DIRECTION_STATUS.fulfilled, function (state, action) {
18932
18932
  state.drug_routes_status_list.loading = false, state.drug_routes_status_list.error = false, state.drug_routes_status_list = action.payload;
18933
- }), _defineProperty(_extraReducers$o, DRUG_ROUTES_DIRECTION_STATUS.pending, function (state, action) {
18933
+ }), _defineProperty(_extraReducers$p, DRUG_ROUTES_DIRECTION_STATUS.pending, function (state, action) {
18934
18934
  state.drug_routes_status_list.loading = true, state.drug_routes_status_list.error = false, state.drug_routes_status_list.loading = true;
18935
- }), _defineProperty(_extraReducers$o, DRUG_ROUTES_DIRECTION_STATUS.rejected, function (state, action) {
18935
+ }), _defineProperty(_extraReducers$p, DRUG_ROUTES_DIRECTION_STATUS.rejected, function (state, action) {
18936
18936
  state.drug_routes_status_list.loading = false, state.drug_routes_status_list.error = true, state.drug_routes_status_list = action.payload;
18937
- }), _defineProperty(_extraReducers$o, DRUG_ROUTES_DIRECTION_INSERT.fulfilled, function (state, action) {
18937
+ }), _defineProperty(_extraReducers$p, DRUG_ROUTES_DIRECTION_INSERT.fulfilled, function (state, action) {
18938
18938
  state.drug_routes_insert_list.loading = false, state.drug_routes_insert_list.error = false, state.drug_routes_insert_list = action.payload;
18939
- }), _defineProperty(_extraReducers$o, DRUG_ROUTES_DIRECTION_INSERT.pending, function (state, action) {
18939
+ }), _defineProperty(_extraReducers$p, DRUG_ROUTES_DIRECTION_INSERT.pending, function (state, action) {
18940
18940
  state.drug_routes_insert_list.loading = true, state.drug_routes_insert_list.error = false, state.drug_routes_insert_list.loading = true;
18941
- }), _defineProperty(_extraReducers$o, DRUG_ROUTES_DIRECTION_INSERT.rejected, function (state, action) {
18941
+ }), _defineProperty(_extraReducers$p, DRUG_ROUTES_DIRECTION_INSERT.rejected, function (state, action) {
18942
18942
  state.drug_routes_insert_list.loading = false, state.drug_routes_insert_list.error = true, state.drug_routes_insert_list = action.payload;
18943
- }), _defineProperty(_extraReducers$o, DRUG_ROUTES_DIRECTION_UPDATE.fulfilled, function (state, action) {
18943
+ }), _defineProperty(_extraReducers$p, DRUG_ROUTES_DIRECTION_UPDATE.fulfilled, function (state, action) {
18944
18944
  state.drug_routes_insert_list.loading = false, state.drug_routes_insert_list.error = false, state.drug_routes_insert_list = action.payload;
18945
- }), _defineProperty(_extraReducers$o, DRUG_ROUTES_DIRECTION_UPDATE.pending, function (state, action) {
18945
+ }), _defineProperty(_extraReducers$p, DRUG_ROUTES_DIRECTION_UPDATE.pending, function (state, action) {
18946
18946
  state.drug_routes_insert_list.loading = true, state.drug_routes_insert_list.error = false, state.drug_routes_insert_list.loading = true;
18947
- }), _defineProperty(_extraReducers$o, DRUG_ROUTES_DIRECTION_UPDATE.rejected, function (state, action) {
18947
+ }), _defineProperty(_extraReducers$p, DRUG_ROUTES_DIRECTION_UPDATE.rejected, function (state, action) {
18948
18948
  state.drug_routes_insert_list.loading = false, state.drug_routes_insert_list.error = true, state.drug_routes_insert_list = action.payload;
18949
- }), _extraReducers$o)
18949
+ }), _extraReducers$p)
18950
18950
  });
18951
18951
  var drugDirectionRoutesActions = {
18952
18952
  DRUG_ROUTES_DIRECTION_READ: DRUG_ROUTES_DIRECTION_READ,
@@ -18957,7 +18957,7 @@ var drugDirectionRoutesActions = {
18957
18957
  };
18958
18958
  var drugRoutesDirectionSlice$1 = drugRoutesDirectionSlice.reducer;
18959
18959
 
18960
- var masterQuery$3 = {
18960
+ var masterQuery$4 = {
18961
18961
  orderCategory: "{\n \"db_name\": \"".concat(dbName, "\",\n \"entity\": \"OrderCategory\",\n \"filter\": \"OrderCategory.activestatus==true && OrderCategory.status==true\",\n \"return_fields\": \"OrderCategory\",\n \"sort\": \"OrderCategory.ordercategory\"\n}"),
18962
18962
  orderType: "{\n \"db_name\": \"".concat(dbName, "\",\n \"entity\": \"OrderType\",\n \"filter\": \"OrderType.activestatus==true && OrderType.status==true\",\n \"return_fields\": \"merge(OrderType,{ordercategory:(document(OrderType.ordercategory))})\",\n \"sort\":\"OrderType.ordertype\"\n}"),
18963
18963
  // orderType: `{
@@ -19529,10 +19529,10 @@ var generatefaciltity = function generatefaciltity(data, state) {
19529
19529
  // return Category;
19530
19530
  // };
19531
19531
 
19532
- var _extraReducers$n;
19533
- var fileds$3 = ["quantity", "gender", "checkaction", "entityType", "specimenType", "bodySite", "specimenContainer", "collectionMethod", "encounterType"];
19532
+ var _extraReducers$o;
19533
+ var fileds$4 = ["quantity", "gender", "checkaction", "entityType", "specimenType", "bodySite", "specimenContainer", "collectionMethod", "encounterType"];
19534
19534
 
19535
- var loopMasters$4 = function loopMasters() {
19535
+ var loopMasters$5 = function loopMasters() {
19536
19536
  return new es6Promise.Promise( /*#__PURE__*/function () {
19537
19537
  var _ref = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2(resolve, reject) {
19538
19538
  var calls;
@@ -19540,14 +19540,14 @@ var loopMasters$4 = function loopMasters() {
19540
19540
  while (1) {
19541
19541
  switch (_context2.prev = _context2.next) {
19542
19542
  case 0:
19543
- calls = Object.keys(masterQuery$3).map( /*#__PURE__*/function () {
19543
+ calls = Object.keys(masterQuery$4).map( /*#__PURE__*/function () {
19544
19544
  var _ref2 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(val) {
19545
19545
  return regeneratorRuntime.wrap(function _callee$(_context) {
19546
19546
  while (1) {
19547
19547
  switch (_context.prev = _context.next) {
19548
19548
  case 0:
19549
19549
  _context.next = 2;
19550
- return fetchMaster$4(val, masterQuery$3[val]);
19550
+ return fetchMaster$5(val, masterQuery$4[val]);
19551
19551
 
19552
19552
  case 2:
19553
19553
  return _context.abrupt("return", _context.sent);
@@ -19569,7 +19569,7 @@ var loopMasters$4 = function loopMasters() {
19569
19569
  data.map(function (val) {
19570
19570
  var arr = [];
19571
19571
  val.data.map(function (value) {
19572
- if (fileds$3.includes(val.name)) {
19572
+ if (fileds$4.includes(val.name)) {
19573
19573
  if (value.coding[0] !== null) {
19574
19574
  arr.push({
19575
19575
  label: value.coding[0].display,
@@ -19638,7 +19638,7 @@ var loopMasters$4 = function loopMasters() {
19638
19638
  }());
19639
19639
  };
19640
19640
 
19641
- var fetchMaster$4 = function fetchMaster(name, query) {
19641
+ var fetchMaster$5 = function fetchMaster(name, query) {
19642
19642
  return new es6Promise.Promise( /*#__PURE__*/function () {
19643
19643
  var _ref3 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee3(resolve, reject) {
19644
19644
  var data;
@@ -19685,7 +19685,7 @@ var ORDER_CATALOG_MASTERS = createAsyncThunk("orderCatalogApiSlice/order_catalog
19685
19685
  _ref5 = _args4.length > 1 ? _args4[1] : undefined, rejectWithValue = _ref5.rejectWithValue;
19686
19686
  _context4.prev = 2;
19687
19687
  _context4.next = 6;
19688
- return loopMasters$4();
19688
+ return loopMasters$5();
19689
19689
 
19690
19690
  case 6:
19691
19691
  data = _context4.sent;
@@ -20090,61 +20090,61 @@ var orderCatalogSlice = createSlice({
20090
20090
  order_type_data: _objectSpread2({}, defaultState.List),
20091
20091
  entityTypeName: _objectSpread2({}, defaultState.List)
20092
20092
  },
20093
- extraReducers: (_extraReducers$n = {}, _defineProperty(_extraReducers$n, ENTITY_NAME_DATA.fulfilled, function (state, action) {
20093
+ extraReducers: (_extraReducers$o = {}, _defineProperty(_extraReducers$o, ENTITY_NAME_DATA.fulfilled, function (state, action) {
20094
20094
  state.entityTypeName.loading = false, state.entityTypeName.error = false, state.entityTypeName = action.payload;
20095
- }), _defineProperty(_extraReducers$n, ENTITY_NAME_DATA.pending, function (state, action) {
20095
+ }), _defineProperty(_extraReducers$o, ENTITY_NAME_DATA.pending, function (state, action) {
20096
20096
  state.entityTypeName.loading = true, state.entityTypeName.error = false, state.entityTypeName.loading = true;
20097
- }), _defineProperty(_extraReducers$n, ENTITY_NAME_DATA.rejected, function (state, action) {
20097
+ }), _defineProperty(_extraReducers$o, ENTITY_NAME_DATA.rejected, function (state, action) {
20098
20098
  state.entityTypeName.loading = false, state.entityTypeName.error = true, state.entityTypeName = action.payload;
20099
- }), _defineProperty(_extraReducers$n, ORDER_CATALOG_MASTERS.fulfilled, function (state, action) {
20099
+ }), _defineProperty(_extraReducers$o, ORDER_CATALOG_MASTERS.fulfilled, function (state, action) {
20100
20100
  state.order_catalog_masters.loading = false, state.order_catalog_masters.error = false, state.order_catalog_masters = action.payload;
20101
- }), _defineProperty(_extraReducers$n, ORDER_CATALOG_MASTERS.pending, function (state, action) {
20101
+ }), _defineProperty(_extraReducers$o, ORDER_CATALOG_MASTERS.pending, function (state, action) {
20102
20102
  state.order_catalog_masters.loading = true, state.order_catalog_masters.error = false, state.order_catalog_masters.loading = true;
20103
- }), _defineProperty(_extraReducers$n, ORDER_CATALOG_MASTERS.rejected, function (state, action) {
20103
+ }), _defineProperty(_extraReducers$o, ORDER_CATALOG_MASTERS.rejected, function (state, action) {
20104
20104
  state.order_catalog_masters.loading = false, state.order_catalog_masters.error = true, state.order_catalog_masters = action.payload;
20105
- }), _defineProperty(_extraReducers$n, ORDER_TYPE_DATA.fulfilled, function (state, action) {
20105
+ }), _defineProperty(_extraReducers$o, ORDER_TYPE_DATA.fulfilled, function (state, action) {
20106
20106
  state.order_type_data.loading = false, state.order_type_data.error = false, state.order_type_data = action.payload;
20107
- }), _defineProperty(_extraReducers$n, ORDER_TYPE_DATA.pending, function (state, action) {
20107
+ }), _defineProperty(_extraReducers$o, ORDER_TYPE_DATA.pending, function (state, action) {
20108
20108
  state.order_type_data.loading = true, state.order_type_data.error = false, state.order_type_data.loading = true;
20109
- }), _defineProperty(_extraReducers$n, ORDER_TYPE_DATA.rejected, function (state, action) {
20109
+ }), _defineProperty(_extraReducers$o, ORDER_TYPE_DATA.rejected, function (state, action) {
20110
20110
  state.order_type_data.loading = false, state.order_type_data.error = true, state.order_type_data = action.payload;
20111
- }), _defineProperty(_extraReducers$n, AGE_RANGES_CATEGORY_CATALOG.fulfilled, function (state, action) {
20111
+ }), _defineProperty(_extraReducers$o, AGE_RANGES_CATEGORY_CATALOG.fulfilled, function (state, action) {
20112
20112
  state.ageranges_category_catalog.loading = false, state.ageranges_category_catalog.error = false, state.ageranges_category_catalog = action.payload;
20113
- }), _defineProperty(_extraReducers$n, AGE_RANGES_CATEGORY_CATALOG.pending, function (state, action) {
20113
+ }), _defineProperty(_extraReducers$o, AGE_RANGES_CATEGORY_CATALOG.pending, function (state, action) {
20114
20114
  state.ageranges_category_catalog.loading = true, state.ageranges_category_catalog.error = false, state.ageranges_category_catalog.loading = true;
20115
- }), _defineProperty(_extraReducers$n, AGE_RANGES_CATEGORY_CATALOG.rejected, function (state, action) {
20115
+ }), _defineProperty(_extraReducers$o, AGE_RANGES_CATEGORY_CATALOG.rejected, function (state, action) {
20116
20116
  state.ageranges_category_catalog.loading = false, state.ageranges_category_catalog.error = true, state.ageranges_category_catalog = action.payload;
20117
- }), _defineProperty(_extraReducers$n, SAVE_ORDER_CATALOG.fulfilled, function (state, action) {
20117
+ }), _defineProperty(_extraReducers$o, SAVE_ORDER_CATALOG.fulfilled, function (state, action) {
20118
20118
  state.save_order_catalog.loading = false, state.save_order_catalog.error = false, state.save_order_catalog = action.payload;
20119
- }), _defineProperty(_extraReducers$n, SAVE_ORDER_CATALOG.pending, function (state, action) {
20119
+ }), _defineProperty(_extraReducers$o, SAVE_ORDER_CATALOG.pending, function (state, action) {
20120
20120
  state.save_order_catalog.loading = true, state.save_order_catalog.error = false, state.save_order_catalog.loading = true;
20121
- }), _defineProperty(_extraReducers$n, SAVE_ORDER_CATALOG.rejected, function (state, action) {
20121
+ }), _defineProperty(_extraReducers$o, SAVE_ORDER_CATALOG.rejected, function (state, action) {
20122
20122
  state.save_order_catalog.loading = false, state.save_order_catalog.error = true, state.save_order_catalog = action.payload;
20123
- }), _defineProperty(_extraReducers$n, READ_ORDER_CATALOG.fulfilled, function (state, action) {
20123
+ }), _defineProperty(_extraReducers$o, READ_ORDER_CATALOG.fulfilled, function (state, action) {
20124
20124
  state.order_catalog_read.loading = false, state.order_catalog_read.error = false, state.order_catalog_read = action.payload;
20125
- }), _defineProperty(_extraReducers$n, READ_ORDER_CATALOG.pending, function (state, action) {
20125
+ }), _defineProperty(_extraReducers$o, READ_ORDER_CATALOG.pending, function (state, action) {
20126
20126
  state.order_catalog_read.loading = true, state.order_catalog_read.error = false, state.order_catalog_read.loading = true;
20127
- }), _defineProperty(_extraReducers$n, READ_ORDER_CATALOG.rejected, function (state, action) {
20127
+ }), _defineProperty(_extraReducers$o, READ_ORDER_CATALOG.rejected, function (state, action) {
20128
20128
  state.order_catalog_read.loading = false, state.order_catalog_read.error = true, state.order_catalog_read = action.payload;
20129
- }), _defineProperty(_extraReducers$n, UPDATE_ORDER_CATALOG_STATUS.fulfilled, function (state, action) {
20129
+ }), _defineProperty(_extraReducers$o, UPDATE_ORDER_CATALOG_STATUS.fulfilled, function (state, action) {
20130
20130
  state.order_catalog_status_update.loading = false, state.order_catalog_status_update.error = false, state.order_catalog_status_update = action.payload;
20131
- }), _defineProperty(_extraReducers$n, UPDATE_ORDER_CATALOG_STATUS.pending, function (state, action) {
20131
+ }), _defineProperty(_extraReducers$o, UPDATE_ORDER_CATALOG_STATUS.pending, function (state, action) {
20132
20132
  state.order_catalog_status_update.loading = true, state.order_catalog_status_update.error = false, state.order_catalog_status_update.loading = true;
20133
- }), _defineProperty(_extraReducers$n, UPDATE_ORDER_CATALOG_STATUS.rejected, function (state, action) {
20133
+ }), _defineProperty(_extraReducers$o, UPDATE_ORDER_CATALOG_STATUS.rejected, function (state, action) {
20134
20134
  state.order_catalog_status_update.loading = false, state.order_catalog_status_update.error = true, state.order_catalog_status_update = action.payload;
20135
- }), _defineProperty(_extraReducers$n, EDIT_ORDER_CATALOG.fulfilled, function (state, action) {
20135
+ }), _defineProperty(_extraReducers$o, EDIT_ORDER_CATALOG.fulfilled, function (state, action) {
20136
20136
  state.edit_order_catalog.loading = false, state.edit_order_catalog.error = false, state.edit_order_catalog = action.payload;
20137
- }), _defineProperty(_extraReducers$n, EDIT_ORDER_CATALOG.pending, function (state, action) {
20137
+ }), _defineProperty(_extraReducers$o, EDIT_ORDER_CATALOG.pending, function (state, action) {
20138
20138
  state.edit_order_catalog.loading = true, state.edit_order_catalog.error = false, state.edit_order_catalog.loading = true;
20139
- }), _defineProperty(_extraReducers$n, EDIT_ORDER_CATALOG.rejected, function (state, action) {
20139
+ }), _defineProperty(_extraReducers$o, EDIT_ORDER_CATALOG.rejected, function (state, action) {
20140
20140
  state.edit_order_catalog.loading = false, state.edit_order_catalog.error = true, state.edit_order_catalog = action.payload;
20141
- }), _defineProperty(_extraReducers$n, DELETE_ATTRIBUTE_DELETE.fulfilled, function (state, action) {
20141
+ }), _defineProperty(_extraReducers$o, DELETE_ATTRIBUTE_DELETE.fulfilled, function (state, action) {
20142
20142
  state.attribute_delete.loading = false, state.attribute_delete.error = false, state.attribute_delete = action.payload;
20143
- }), _defineProperty(_extraReducers$n, DELETE_ATTRIBUTE_DELETE.pending, function (state, action) {
20143
+ }), _defineProperty(_extraReducers$o, DELETE_ATTRIBUTE_DELETE.pending, function (state, action) {
20144
20144
  state.attribute_delete.loading = true, state.attribute_delete.error = false, state.attribute_delete.loading = true;
20145
- }), _defineProperty(_extraReducers$n, DELETE_ATTRIBUTE_DELETE.rejected, function (state, action) {
20145
+ }), _defineProperty(_extraReducers$o, DELETE_ATTRIBUTE_DELETE.rejected, function (state, action) {
20146
20146
  state.attribute_delete.loading = false, state.attribute_delete.error = true, state.attribute_delete = action.payload;
20147
- }), _extraReducers$n)
20147
+ }), _extraReducers$o)
20148
20148
  });
20149
20149
  var orderCatalogActions = {
20150
20150
  ORDER_CATALOG_MASTERS: ORDER_CATALOG_MASTERS,
@@ -20206,7 +20206,7 @@ var queries$d = {
20206
20206
  }
20207
20207
  };
20208
20208
 
20209
- var generateJson$8 = function generateJson(data, _key) {
20209
+ var generateJson$9 = function generateJson(data, _key) {
20210
20210
  var _data$performingData, _data$orderingFacilit, _data$orderingFacilit2, _data$locationType$va, _data$locationType, _data$sourceLocation$, _data$sourceLocation, _data$ServiceApplicab, _data$ServiceApplicab2, _data$status;
20211
20211
 
20212
20212
  var filter = {};
@@ -20247,7 +20247,7 @@ var generateJson$8 = function generateJson(data, _key) {
20247
20247
  })];
20248
20248
  };
20249
20249
 
20250
- var _extraReducers$m;
20250
+ var _extraReducers$n;
20251
20251
  var SOURCELOCATIONTYPE = createAsyncThunk("performLocationSlice/sourceLocationType", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
20252
20252
  var _ref2,
20253
20253
  rejectWithValue,
@@ -20466,7 +20466,7 @@ var UPSERT_PERFORMINGLOCATION = createAsyncThunk("performLocationSlice/save_perf
20466
20466
  _ref10 = _args5.length > 1 ? _args5[1] : undefined, rejectWithValue = _ref10.rejectWithValue;
20467
20467
  _context5.prev = 2;
20468
20468
  list = payload.list, _key = payload._key;
20469
- queriesjson = generateJson$8(list, _key); // return
20469
+ queriesjson = generateJson$9(list, _key); // return
20470
20470
 
20471
20471
  console.log("recived", list);
20472
20472
  _context5.next = 8;
@@ -20606,49 +20606,49 @@ var performLocationSlice = createSlice({
20606
20606
  read_performing_location: _objectSpread2({}, defaultState.Info),
20607
20607
  read_performing_location_status: _objectSpread2({}, defaultState.Info)
20608
20608
  },
20609
- extraReducers: (_extraReducers$m = {}, _defineProperty(_extraReducers$m, SOURCELOCATIONTYPE.fulfilled, function (state, action) {
20609
+ extraReducers: (_extraReducers$n = {}, _defineProperty(_extraReducers$n, SOURCELOCATIONTYPE.fulfilled, function (state, action) {
20610
20610
  state.source_location_type.loading = false, state.source_location_type.error = false, state.source_location_type = action.payload;
20611
- }), _defineProperty(_extraReducers$m, SOURCELOCATIONTYPE.pending, function (state, action) {
20611
+ }), _defineProperty(_extraReducers$n, SOURCELOCATIONTYPE.pending, function (state, action) {
20612
20612
  state.source_location_type.loading = true, state.source_location_type.error = false, state.source_location_type.loading = true;
20613
- }), _defineProperty(_extraReducers$m, SOURCELOCATIONTYPE.rejected, function (state, action) {
20613
+ }), _defineProperty(_extraReducers$n, SOURCELOCATIONTYPE.rejected, function (state, action) {
20614
20614
  state.source_location_type.loading = false, state.source_location_type.error = true, state.source_location_type = action.payload;
20615
- }), _defineProperty(_extraReducers$m, ORDERINGFACILITY.fulfilled, function (state, action) {
20615
+ }), _defineProperty(_extraReducers$n, ORDERINGFACILITY.fulfilled, function (state, action) {
20616
20616
  state.order_facility.loading = false, state.order_facility.error = false, state.order_facility = action.payload;
20617
- }), _defineProperty(_extraReducers$m, ORDERINGFACILITY.pending, function (state, action) {
20617
+ }), _defineProperty(_extraReducers$n, ORDERINGFACILITY.pending, function (state, action) {
20618
20618
  state.order_facility.loading = true, state.order_facility.error = false, state.order_facility.loading = true;
20619
- }), _defineProperty(_extraReducers$m, ORDERINGFACILITY.rejected, function (state, action) {
20619
+ }), _defineProperty(_extraReducers$n, ORDERINGFACILITY.rejected, function (state, action) {
20620
20620
  state.order_facility.loading = false, state.order_facility.error = true, state.order_facility = action.payload;
20621
- }), _defineProperty(_extraReducers$m, PERFORMINGDETAILS.fulfilled, function (state, action) {
20621
+ }), _defineProperty(_extraReducers$n, PERFORMINGDETAILS.fulfilled, function (state, action) {
20622
20622
  state.performing_details.loading = false, state.performing_details.error = false, state.performing_details = action.payload;
20623
- }), _defineProperty(_extraReducers$m, PERFORMINGDETAILS.pending, function (state, action) {
20623
+ }), _defineProperty(_extraReducers$n, PERFORMINGDETAILS.pending, function (state, action) {
20624
20624
  state.performing_details.loading = true, state.performing_details.error = false, state.performing_details.loading = true;
20625
- }), _defineProperty(_extraReducers$m, PERFORMINGDETAILS.rejected, function (state, action) {
20625
+ }), _defineProperty(_extraReducers$n, PERFORMINGDETAILS.rejected, function (state, action) {
20626
20626
  state.performing_details.loading = false, state.performing_details.error = true, state.performing_details = action.payload;
20627
- }), _defineProperty(_extraReducers$m, SOURCELOCATION.fulfilled, function (state, action) {
20627
+ }), _defineProperty(_extraReducers$n, SOURCELOCATION.fulfilled, function (state, action) {
20628
20628
  state.source_location.loading = false, state.source_location.error = false, state.source_location = action.payload;
20629
- }), _defineProperty(_extraReducers$m, SOURCELOCATION.pending, function (state, action) {
20629
+ }), _defineProperty(_extraReducers$n, SOURCELOCATION.pending, function (state, action) {
20630
20630
  state.source_location.loading = true, state.source_location.error = false, state.source_location.loading = true;
20631
- }), _defineProperty(_extraReducers$m, SOURCELOCATION.rejected, function (state, action) {
20631
+ }), _defineProperty(_extraReducers$n, SOURCELOCATION.rejected, function (state, action) {
20632
20632
  state.source_location.loading = false, state.source_location.error = true, state.source_location = action.payload;
20633
- }), _defineProperty(_extraReducers$m, UPSERT_PERFORMINGLOCATION.fulfilled, function (state, action) {
20633
+ }), _defineProperty(_extraReducers$n, UPSERT_PERFORMINGLOCATION.fulfilled, function (state, action) {
20634
20634
  state.save_performing_location.loading = false, state.save_performing_location.error = false, state.save_performing_location = action.payload;
20635
- }), _defineProperty(_extraReducers$m, UPSERT_PERFORMINGLOCATION.pending, function (state, action) {
20635
+ }), _defineProperty(_extraReducers$n, UPSERT_PERFORMINGLOCATION.pending, function (state, action) {
20636
20636
  state.save_performing_location.loading = true, state.save_performing_location.error = false, state.save_performing_location.loading = true;
20637
- }), _defineProperty(_extraReducers$m, UPSERT_PERFORMINGLOCATION.rejected, function (state, action) {
20637
+ }), _defineProperty(_extraReducers$n, UPSERT_PERFORMINGLOCATION.rejected, function (state, action) {
20638
20638
  state.save_performing_location.loading = false, state.save_performing_location.error = true, state.save_performing_location = action.payload;
20639
- }), _defineProperty(_extraReducers$m, READ_PERFORMINGLOCATION.fulfilled, function (state, action) {
20639
+ }), _defineProperty(_extraReducers$n, READ_PERFORMINGLOCATION.fulfilled, function (state, action) {
20640
20640
  state.read_performing_location.loading = false, state.read_performing_location.error = false, state.read_performing_location = action.payload;
20641
- }), _defineProperty(_extraReducers$m, READ_PERFORMINGLOCATION.pending, function (state, action) {
20641
+ }), _defineProperty(_extraReducers$n, READ_PERFORMINGLOCATION.pending, function (state, action) {
20642
20642
  state.read_performing_location.loading = true, state.read_performing_location.error = false, state.read_performing_location.loading = true;
20643
- }), _defineProperty(_extraReducers$m, READ_PERFORMINGLOCATION.rejected, function (state, action) {
20643
+ }), _defineProperty(_extraReducers$n, READ_PERFORMINGLOCATION.rejected, function (state, action) {
20644
20644
  state.read_performing_location.loading = false, state.read_performing_location.error = true, state.read_performing_location = action.payload;
20645
- }), _defineProperty(_extraReducers$m, STATUS_PERFORMINGLOCATION.fulfilled, function (state, action) {
20645
+ }), _defineProperty(_extraReducers$n, STATUS_PERFORMINGLOCATION.fulfilled, function (state, action) {
20646
20646
  state.read_performing_location_status.loading = false, state.read_performing_location_status.error = false, state.read_performing_location_status = action.payload;
20647
- }), _defineProperty(_extraReducers$m, STATUS_PERFORMINGLOCATION.pending, function (state, action) {
20647
+ }), _defineProperty(_extraReducers$n, STATUS_PERFORMINGLOCATION.pending, function (state, action) {
20648
20648
  state.read_performing_location_status.loading = true, state.read_performing_location_status.error = false, state.read_performing_location_status.loading = true;
20649
- }), _defineProperty(_extraReducers$m, STATUS_PERFORMINGLOCATION.rejected, function (state, action) {
20649
+ }), _defineProperty(_extraReducers$n, STATUS_PERFORMINGLOCATION.rejected, function (state, action) {
20650
20650
  state.read_performing_location_status.loading = false, state.read_performing_location_status.error = true, state.read_performing_location_status = action.payload;
20651
- }), _extraReducers$m)
20651
+ }), _extraReducers$n)
20652
20652
  });
20653
20653
  var performLocationActions = {
20654
20654
  SOURCELOCATIONTYPE: SOURCELOCATIONTYPE,
@@ -20669,7 +20669,7 @@ var ordertype_role_actions = _objectSpread2({}, ordertypeActions$1);
20669
20669
 
20670
20670
  var ordernature_role_actions = _objectSpread2({}, ordernatureActions$1);
20671
20671
 
20672
- var query$6 = {
20672
+ var query$7 = {
20673
20673
  entityType: function entityType() {
20674
20674
  return "{\n \"db_name\": \"".concat(dbName, "\",\n \"entity\": \"CodeableConceptMaster\",\n \"sort\": \"document(CodeableConceptMaster.coding[0]).display\",\n \"filter\": \"CodeableConceptMaster.Type=='ORGTYPE' AND CodeableConceptMaster.activestatus==true\",\n \"return_fields\": \"MERGE(CodeableConceptMaster,{coding:(FOR cod IN TO_ARRAY(CodeableConceptMaster.coding) RETURN DOCUMENT(cod))})\"\n }");
20675
20675
  },
@@ -21143,7 +21143,7 @@ actionsList.forEach(function (c) {
21143
21143
 
21144
21144
  case 4:
21145
21145
  _context.prev = 4;
21146
- body = c.makeBody ? c.makeBody(payload) : query$6[c.queryName || c.sliceName](c.makePayload ? c.makePayload(payload) : payload);
21146
+ body = c.makeBody ? c.makeBody(payload) : query$7[c.queryName || c.sliceName](c.makePayload ? c.makePayload(payload) : payload);
21147
21147
  _context.next = 8;
21148
21148
  return fetchData({
21149
21149
  body: body
@@ -21212,7 +21212,7 @@ var query_ids = {
21212
21212
  "signInApiSlice/SearchPractioner": "2fef3beb-6f38-48b0-955f-90f88dab2822"
21213
21213
  };
21214
21214
 
21215
- var query$5 = {
21215
+ var query$6 = {
21216
21216
  role_type: "{\n \"db_name\": \"".concat(dbName, "\",\n \"entity\": \"CodeableConceptMaster\",\n \"sort\": \"document(CodeableConceptMaster.coding[0]).display\",\n \"filter\": \"CodeableConceptMaster.Type=='RESOURCETYPE' AND CodeableConceptMaster.activestatus==true\",\n \"return_fields\": \"MERGE(CodeableConceptMaster,{coding:(for cod IN TO_ARRAY(CodeableConceptMaster.coding) RETURN DOCUMENT(cod))})\"\n}"),
21217
21217
  all_practitioner: "{\n \"db_name\": \"".concat(dbName, "\",\n \"entity\": \"Practitioner\",\n \"filter\": \"Practitioner.status==true\",\n \"return_fields\": \"MERGE(KEEP(Practitioner,'_id','id','name','_key','practitioner_role'),{name:(for hu in HumanNameMaster filter hu._id in Practitioner.name return merge(hu,{use:(for us in CodeableConceptMaster filter us._id == hu.use return merge(us,{coding:document(us.coding)}))},{prefix:(for pre in CodeableConceptMaster filter pre._id == hu.prefix return merge(pre,{coding:document(pre.coding)}))},{suffix:(for suf in CodeableConceptMaster filter suf._id == hu.suffix return merge(suf,{coding:document(suf.coding)}))}))},{practitioner_role:(for prac in PractitionerRole filter prac._id in Practitioner.practitioner_role return merge (keep(prac,'role'),{role:(for rol in CodeableConceptMaster filter rol._id == prac.role return merge(rol,{coding:document(rol.coding)}))}))})\"\n}"),
21218
21218
  practitoner_slot: function practitoner_slot(startDate, endDate, practitonerId) {
@@ -21308,7 +21308,7 @@ var generateSpecificSlots = function generateSpecificSlots(data) {
21308
21308
  return arr;
21309
21309
  };
21310
21310
 
21311
- var _extraReducers$l;
21311
+ var _extraReducers$m;
21312
21312
  var ROLE_TYPE = createAsyncThunk("scheduleManagementApiSlice/roleTpe", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
21313
21313
  var _ref2,
21314
21314
  rejectWithValue,
@@ -21324,7 +21324,7 @@ var ROLE_TYPE = createAsyncThunk("scheduleManagementApiSlice/roleTpe", /*#__PURE
21324
21324
  _context.prev = 2;
21325
21325
  _context.next = 5;
21326
21326
  return fetchData({
21327
- body: query$5.role_type
21327
+ body: query$6.role_type
21328
21328
  }, __readDocumentUrl__);
21329
21329
 
21330
21330
  case 5:
@@ -21369,7 +21369,7 @@ var ALL_PRACTITIONER = createAsyncThunk("scheduleManagementApiSlice/allPractitio
21369
21369
  _context2.prev = 2;
21370
21370
  _context2.next = 5;
21371
21371
  return fetchData({
21372
- body: query$5.all_practitioner
21372
+ body: query$6.all_practitioner
21373
21373
  }, __readDocumentUrl__);
21374
21374
 
21375
21375
  case 5:
@@ -21431,7 +21431,7 @@ var BLOCK_RELEASE_REASON = createAsyncThunk("scheduleManagementApiSlice/block_re
21431
21431
  _context3.prev = 2;
21432
21432
  _context3.next = 5;
21433
21433
  return fetchData({
21434
- body: query$5.release_block_reason
21434
+ body: query$6.release_block_reason
21435
21435
  }, __readDocumentUrl__);
21436
21436
 
21437
21437
  case 5:
@@ -21483,7 +21483,7 @@ var PRACTITIONER_SLOTS = createAsyncThunk("scheduleManagementApiSlice/practition
21483
21483
  startDate = payload.startDate, endDate = payload.endDate, practitonerId = payload.practitonerId;
21484
21484
  _context4.next = 6;
21485
21485
  return fetchData({
21486
- body: JSON.stringify(query$5.practitoner_slot(startDate, endDate, practitonerId))
21486
+ body: JSON.stringify(query$6.practitoner_slot(startDate, endDate, practitonerId))
21487
21487
  }, __baseUrl__$1);
21488
21488
 
21489
21489
  case 6:
@@ -21529,7 +21529,7 @@ var RELEASE_SLOTS = createAsyncThunk("scheduleManagementApiSlice/releaseSlots",
21529
21529
  dayStart = payload.dayStart, practitonerID = payload.practitonerID, slotStart = payload.slotStart, slotEnd = payload.slotEnd;
21530
21530
  _context5.next = 6;
21531
21531
  return fetchData({
21532
- body: JSON.stringify(query$5.specific_slots(dayStart, practitonerID, slotStart, slotEnd))
21532
+ body: JSON.stringify(query$6.specific_slots(dayStart, practitonerID, slotStart, slotEnd))
21533
21533
  }, __readDocumentUrl__);
21534
21534
 
21535
21535
  case 6:
@@ -21574,7 +21574,7 @@ var RELEASE_SCHEDULE = createAsyncThunk("scheduleManagementApiSlice/release_sche
21574
21574
  startDate = payload.startDate, endDate = payload.endDate, practitonerId = payload.practitonerId, reason = payload.reason;
21575
21575
  _context6.next = 6;
21576
21576
  return fetchData({
21577
- body: JSON.stringify(query$5.release_schedule(startDate, endDate, practitonerId, reason))
21577
+ body: JSON.stringify(query$6.release_schedule(startDate, endDate, practitonerId, reason))
21578
21578
  }, "".concat(__nifiUrl__, "/api/v1/ReleaseSchedule") //need to add in the env
21579
21579
  );
21580
21580
 
@@ -21619,7 +21619,7 @@ var BLOCK_SCHEDULE = createAsyncThunk("scheduleManagementApiSlice/block_schedule
21619
21619
  startDate = payload.startDate, endDate = payload.endDate, practitonerId = payload.practitonerId, reason = payload.reason;
21620
21620
  _context7.next = 6;
21621
21621
  return fetchData({
21622
- body: JSON.stringify(query$5.block_schedule(startDate, endDate, practitonerId, reason))
21622
+ body: JSON.stringify(query$6.block_schedule(startDate, endDate, practitonerId, reason))
21623
21623
  }, "".concat(__nifiUrl__, "/api/v1/BlockSchedule") //need to add in the env
21624
21624
  );
21625
21625
 
@@ -21667,7 +21667,7 @@ var BLOCK_SCHEDULE_PARTIAL = createAsyncThunk("scheduleManagementApiSlice/block_
21667
21667
  startDate = payload.startDate, endDate = payload.endDate, starttime = payload.starttime, endtime = payload.endtime, practitonerId = payload.practitonerId, days = payload.days, reason = payload.reason;
21668
21668
  _context8.next = 6;
21669
21669
  return fetchData({
21670
- body: JSON.stringify(query$5.block_partial(startDate, endDate, starttime, endtime, practitonerId, days, reason))
21670
+ body: JSON.stringify(query$6.block_partial(startDate, endDate, starttime, endtime, practitonerId, days, reason))
21671
21671
  }, "".concat(__nifiUrl__, "/api/v1/BlockSchedule") //need to add in the env
21672
21672
  );
21673
21673
 
@@ -21703,55 +21703,55 @@ var scheduleManagementSlice = createSlice({
21703
21703
  block_schedule_partial: _objectSpread2({}, defaultState.List),
21704
21704
  release_slots: _objectSpread2({}, defaultState.List)
21705
21705
  },
21706
- extraReducers: (_extraReducers$l = {}, _defineProperty(_extraReducers$l, ROLE_TYPE.fulfilled, function (state, action) {
21706
+ extraReducers: (_extraReducers$m = {}, _defineProperty(_extraReducers$m, ROLE_TYPE.fulfilled, function (state, action) {
21707
21707
  state.role_type.loading = false, state.role_type.error = false, state.role_type = action.payload;
21708
- }), _defineProperty(_extraReducers$l, ROLE_TYPE.pending, function (state, action) {
21708
+ }), _defineProperty(_extraReducers$m, ROLE_TYPE.pending, function (state, action) {
21709
21709
  state.role_type.loading = true, state.role_type.error = false, state.role_type.loading = true;
21710
- }), _defineProperty(_extraReducers$l, ROLE_TYPE.rejected, function (state, action) {
21710
+ }), _defineProperty(_extraReducers$m, ROLE_TYPE.rejected, function (state, action) {
21711
21711
  state.role_type.loading = false, state.role_type.error = true, state.role_type = action.payload;
21712
- }), _defineProperty(_extraReducers$l, ALL_PRACTITIONER.fulfilled, function (state, action) {
21712
+ }), _defineProperty(_extraReducers$m, ALL_PRACTITIONER.fulfilled, function (state, action) {
21713
21713
  state.all_practitioner.loading = false, state.all_practitioner.error = false, state.all_practitioner = action.payload;
21714
- }), _defineProperty(_extraReducers$l, ALL_PRACTITIONER.pending, function (state, action) {
21714
+ }), _defineProperty(_extraReducers$m, ALL_PRACTITIONER.pending, function (state, action) {
21715
21715
  state.all_practitioner.loading = true, state.all_practitioner.error = false, state.all_practitioner.loading = true;
21716
- }), _defineProperty(_extraReducers$l, ALL_PRACTITIONER.rejected, function (state, action) {
21716
+ }), _defineProperty(_extraReducers$m, ALL_PRACTITIONER.rejected, function (state, action) {
21717
21717
  state.all_practitioner.loading = false, state.all_practitioner.error = true, state.all_practitioner = action.payload;
21718
- }), _defineProperty(_extraReducers$l, BLOCK_RELEASE_REASON.fulfilled, function (state, action) {
21718
+ }), _defineProperty(_extraReducers$m, BLOCK_RELEASE_REASON.fulfilled, function (state, action) {
21719
21719
  state.block_release_reason.loading = false, state.block_release_reason.error = false, state.block_release_reason = action.payload;
21720
- }), _defineProperty(_extraReducers$l, BLOCK_RELEASE_REASON.pending, function (state, action) {
21720
+ }), _defineProperty(_extraReducers$m, BLOCK_RELEASE_REASON.pending, function (state, action) {
21721
21721
  state.block_release_reason.loading = true, state.block_release_reason.error = false, state.block_release_reason.loading = true;
21722
- }), _defineProperty(_extraReducers$l, BLOCK_RELEASE_REASON.rejected, function (state, action) {
21722
+ }), _defineProperty(_extraReducers$m, BLOCK_RELEASE_REASON.rejected, function (state, action) {
21723
21723
  state.block_release_reason.loading = false, state.block_release_reason.error = true, state.block_release_reason = action.payload;
21724
- }), _defineProperty(_extraReducers$l, PRACTITIONER_SLOTS.fulfilled, function (state, action) {
21724
+ }), _defineProperty(_extraReducers$m, PRACTITIONER_SLOTS.fulfilled, function (state, action) {
21725
21725
  state.practitioner_slots.loading = false, state.practitioner_slots.error = false, state.practitioner_slots = action.payload;
21726
- }), _defineProperty(_extraReducers$l, PRACTITIONER_SLOTS.pending, function (state, action) {
21726
+ }), _defineProperty(_extraReducers$m, PRACTITIONER_SLOTS.pending, function (state, action) {
21727
21727
  state.practitioner_slots.loading = true, state.practitioner_slots.error = false, state.practitioner_slots.loading = true;
21728
- }), _defineProperty(_extraReducers$l, PRACTITIONER_SLOTS.rejected, function (state, action) {
21728
+ }), _defineProperty(_extraReducers$m, PRACTITIONER_SLOTS.rejected, function (state, action) {
21729
21729
  state.practitioner_slots.loading = false, state.practitioner_slots.error = true, state.practitioner_slots = action.payload;
21730
- }), _defineProperty(_extraReducers$l, RELEASE_SLOTS.fulfilled, function (state, action) {
21730
+ }), _defineProperty(_extraReducers$m, RELEASE_SLOTS.fulfilled, function (state, action) {
21731
21731
  state.release_slots.loading = false, state.release_slots.error = false, state.release_slots = action.payload;
21732
- }), _defineProperty(_extraReducers$l, RELEASE_SLOTS.pending, function (state, action) {
21732
+ }), _defineProperty(_extraReducers$m, RELEASE_SLOTS.pending, function (state, action) {
21733
21733
  state.release_slots.loading = true, state.release_slots.error = false, state.release_slots.loading = true;
21734
- }), _defineProperty(_extraReducers$l, RELEASE_SLOTS.rejected, function (state, action) {
21734
+ }), _defineProperty(_extraReducers$m, RELEASE_SLOTS.rejected, function (state, action) {
21735
21735
  state.release_slots.loading = false, state.release_slots.error = true, state.release_slots = action.payload;
21736
- }), _defineProperty(_extraReducers$l, RELEASE_SCHEDULE.fulfilled, function (state, action) {
21736
+ }), _defineProperty(_extraReducers$m, RELEASE_SCHEDULE.fulfilled, function (state, action) {
21737
21737
  state.release_schedule.loading = false, state.release_schedule.error = false, state.release_schedule = action.payload;
21738
- }), _defineProperty(_extraReducers$l, RELEASE_SCHEDULE.pending, function (state, action) {
21738
+ }), _defineProperty(_extraReducers$m, RELEASE_SCHEDULE.pending, function (state, action) {
21739
21739
  state.release_schedule.loading = true, state.release_schedule.error = false, state.release_schedule.loading = true;
21740
- }), _defineProperty(_extraReducers$l, RELEASE_SCHEDULE.rejected, function (state, action) {
21740
+ }), _defineProperty(_extraReducers$m, RELEASE_SCHEDULE.rejected, function (state, action) {
21741
21741
  state.release_schedule.loading = false, state.release_schedule.error = true, state.release_schedule = action.payload;
21742
- }), _defineProperty(_extraReducers$l, BLOCK_SCHEDULE.fulfilled, function (state, action) {
21742
+ }), _defineProperty(_extraReducers$m, BLOCK_SCHEDULE.fulfilled, function (state, action) {
21743
21743
  state.block_schedule.loading = false, state.block_schedule.error = false, state.block_schedule = action.payload;
21744
- }), _defineProperty(_extraReducers$l, BLOCK_SCHEDULE.pending, function (state, action) {
21744
+ }), _defineProperty(_extraReducers$m, BLOCK_SCHEDULE.pending, function (state, action) {
21745
21745
  state.block_schedule.loading = true, state.block_schedule.error = false, state.block_schedule.loading = true;
21746
- }), _defineProperty(_extraReducers$l, BLOCK_SCHEDULE.rejected, function (state, action) {
21746
+ }), _defineProperty(_extraReducers$m, BLOCK_SCHEDULE.rejected, function (state, action) {
21747
21747
  state.block_schedule.loading = false, state.block_schedule.error = true, state.block_schedule = action.payload;
21748
- }), _defineProperty(_extraReducers$l, BLOCK_SCHEDULE_PARTIAL.fulfilled, function (state, action) {
21748
+ }), _defineProperty(_extraReducers$m, BLOCK_SCHEDULE_PARTIAL.fulfilled, function (state, action) {
21749
21749
  state.block_schedule_partial.loading = false, state.block_schedule_partial.error = false, state.block_schedule_partial = action.payload;
21750
- }), _defineProperty(_extraReducers$l, BLOCK_SCHEDULE_PARTIAL.pending, function (state, action) {
21750
+ }), _defineProperty(_extraReducers$m, BLOCK_SCHEDULE_PARTIAL.pending, function (state, action) {
21751
21751
  state.block_schedule_partial.loading = true, state.block_schedule_partial.error = false, state.block_schedule_partial.loading = true;
21752
- }), _defineProperty(_extraReducers$l, BLOCK_SCHEDULE_PARTIAL.rejected, function (state, action) {
21752
+ }), _defineProperty(_extraReducers$m, BLOCK_SCHEDULE_PARTIAL.rejected, function (state, action) {
21753
21753
  state.block_schedule_partial.loading = false, state.block_schedule_partial.error = true, state.block_schedule_partial = action.payload;
21754
- }), _extraReducers$l)
21754
+ }), _extraReducers$m)
21755
21755
  });
21756
21756
  var scheduleManagementActions = {
21757
21757
  ROLE_TYPE: ROLE_TYPE,
@@ -22173,7 +22173,7 @@ var ReadTreeDetailJson = function ReadTreeDetailJson(data, parentOrgName) {
22173
22173
  return obj;
22174
22174
  };
22175
22175
 
22176
- var generateJson$7 = {
22176
+ var generateJson$8 = {
22177
22177
  insert_json: function insert_json(data, key) {
22178
22178
  var _data$Identification, _data$Alias, _data$Address, _data$Contact, _data$ContactPersonDe, _data$specialtyDetail, _data$external, _data$ParentEntity, _data$ParentEntity2, _data$LevelOfCare, _data$imageDetails$, _data$imageDetails$2, _data$imageDetails$3, _data$imageDetails$4;
22179
22179
 
@@ -22538,7 +22538,7 @@ var generateReadJson$2 = {
22538
22538
  }
22539
22539
  };
22540
22540
 
22541
- var _extraReducers$k;
22541
+ var _extraReducers$l;
22542
22542
  var ORGANIZATION_TREE_READ = createAsyncThunk("organizationSlice/organizationTreeList", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
22543
22543
  var payload,
22544
22544
  _ref2,
@@ -23730,7 +23730,7 @@ var SET_ORGANIZATION = createAsyncThunk("organizationSlice/setOrganization", /*#
23730
23730
  _ref48 = _args24.length > 1 ? _args24[1] : undefined, rejectWithValue = _ref48.rejectWithValue;
23731
23731
  _context24.prev = 2;
23732
23732
  state = payload.state, key = payload.key;
23733
- queriesjson = generateJson$7.insert_json(state, key);
23733
+ queriesjson = generateJson$8.insert_json(state, key);
23734
23734
  _context24.next = 7;
23735
23735
  return fetchData({
23736
23736
  body: JSON.stringify(queriesjson)
@@ -23900,163 +23900,163 @@ var organizationSlice = createSlice({
23900
23900
  getOrganization: _objectSpread2({}, defaultState.List),
23901
23901
  specialtyDrop: _objectSpread2({}, defaultState.List)
23902
23902
  },
23903
- extraReducers: (_extraReducers$k = {}, _defineProperty(_extraReducers$k, ORGANIZATION_TREE_READ.fulfilled, function (state, action) {
23903
+ extraReducers: (_extraReducers$l = {}, _defineProperty(_extraReducers$l, ORGANIZATION_TREE_READ.fulfilled, function (state, action) {
23904
23904
  state.organizationTreeList.loading = false, state.organizationTreeList.error = false, state.organizationTreeList = action.payload;
23905
- }), _defineProperty(_extraReducers$k, ORGANIZATION_TREE_READ.pending, function (state, action) {
23905
+ }), _defineProperty(_extraReducers$l, ORGANIZATION_TREE_READ.pending, function (state, action) {
23906
23906
  state.organizationTreeList.loading = true, state.organizationTreeList.error = false, state.organizationTreeList.loading = true;
23907
- }), _defineProperty(_extraReducers$k, ORGANIZATION_TREE_READ.rejected, function (state, action) {
23907
+ }), _defineProperty(_extraReducers$l, ORGANIZATION_TREE_READ.rejected, function (state, action) {
23908
23908
  state.organizationTreeList.loading = false, state.organizationTreeList.error = true, state.organizationTreeList = action.payload;
23909
- }), _defineProperty(_extraReducers$k, ORGANIZATION_READ_DETAILS.fulfilled, function (state, action) {
23909
+ }), _defineProperty(_extraReducers$l, ORGANIZATION_READ_DETAILS.fulfilled, function (state, action) {
23910
23910
  state.organizationReadDetails.loading = false, state.organizationReadDetails.error = false, state.organizationReadDetails = action.payload;
23911
- }), _defineProperty(_extraReducers$k, ORGANIZATION_READ_DETAILS.pending, function (state, action) {
23911
+ }), _defineProperty(_extraReducers$l, ORGANIZATION_READ_DETAILS.pending, function (state, action) {
23912
23912
  state.organizationReadDetails.loading = true, state.organizationReadDetails.error = false, state.organizationReadDetails.loading = true;
23913
- }), _defineProperty(_extraReducers$k, ORGANIZATION_READ_DETAILS.rejected, function (state, action) {
23913
+ }), _defineProperty(_extraReducers$l, ORGANIZATION_READ_DETAILS.rejected, function (state, action) {
23914
23914
  state.organizationReadDetails.loading = false, state.organizationReadDetails.error = true, state.organizationReadDetails = action.payload;
23915
- }), _defineProperty(_extraReducers$k, ORGANIZATION_READ_STATUS_UPSERT.fulfilled, function (state, action) {
23915
+ }), _defineProperty(_extraReducers$l, ORGANIZATION_READ_STATUS_UPSERT.fulfilled, function (state, action) {
23916
23916
  state.organizationReadStatusUpsert.loading = false, state.organizationReadStatusUpsert.error = false, state.organizationReadStatusUpsert = action.payload;
23917
- }), _defineProperty(_extraReducers$k, ORGANIZATION_READ_STATUS_UPSERT.pending, function (state, action) {
23917
+ }), _defineProperty(_extraReducers$l, ORGANIZATION_READ_STATUS_UPSERT.pending, function (state, action) {
23918
23918
  state.organizationReadStatusUpsert.loading = true, state.organizationReadStatusUpsert.error = false, state.organizationReadStatusUpsert.loading = true;
23919
- }), _defineProperty(_extraReducers$k, ORGANIZATION_READ_STATUS_UPSERT.rejected, function (state, action) {
23919
+ }), _defineProperty(_extraReducers$l, ORGANIZATION_READ_STATUS_UPSERT.rejected, function (state, action) {
23920
23920
  state.organizationReadStatusUpsert.loading = false, state.organizationReadStatusUpsert.error = true, state.organizationReadStatusUpsert = action.payload;
23921
- }), _defineProperty(_extraReducers$k, ORGANIZATION_ENTITY_TYPE.fulfilled, function (state, action) {
23921
+ }), _defineProperty(_extraReducers$l, ORGANIZATION_ENTITY_TYPE.fulfilled, function (state, action) {
23922
23922
  state.organizationEntityType.loading = false, state.organizationEntityType.error = false, state.organizationEntityType = action.payload;
23923
- }), _defineProperty(_extraReducers$k, ORGANIZATION_ENTITY_TYPE.pending, function (state, action) {
23923
+ }), _defineProperty(_extraReducers$l, ORGANIZATION_ENTITY_TYPE.pending, function (state, action) {
23924
23924
  state.organizationEntityType.loading = true, state.organizationEntityType.error = false, state.organizationEntityType.loading = true;
23925
- }), _defineProperty(_extraReducers$k, ORGANIZATION_ENTITY_TYPE.rejected, function (state, action) {
23925
+ }), _defineProperty(_extraReducers$l, ORGANIZATION_ENTITY_TYPE.rejected, function (state, action) {
23926
23926
  state.organizationEntityType.loading = false, state.organizationEntityType.error = true, state.organizationEntityType = action.payload;
23927
- }), _defineProperty(_extraReducers$k, ORGANIZATION_GET_PARENT_ENTITY.fulfilled, function (state, action) {
23927
+ }), _defineProperty(_extraReducers$l, ORGANIZATION_GET_PARENT_ENTITY.fulfilled, function (state, action) {
23928
23928
  state.orgParEntity.loading = false, state.orgParEntity.error = false, state.orgParEntity = action.payload;
23929
- }), _defineProperty(_extraReducers$k, ORGANIZATION_GET_PARENT_ENTITY.pending, function (state, action) {
23929
+ }), _defineProperty(_extraReducers$l, ORGANIZATION_GET_PARENT_ENTITY.pending, function (state, action) {
23930
23930
  state.orgParEntity.loading = true, state.orgParEntity.error = false, state.orgParEntity.loading = true;
23931
- }), _defineProperty(_extraReducers$k, ORGANIZATION_GET_PARENT_ENTITY.rejected, function (state, action) {
23931
+ }), _defineProperty(_extraReducers$l, ORGANIZATION_GET_PARENT_ENTITY.rejected, function (state, action) {
23932
23932
  state.orgParEntity.loading = false, state.orgParEntity.error = true, state.orgParEntity = action.payload;
23933
- }), _defineProperty(_extraReducers$k, ORGANIZATION_GET_LEVEL_CARE.fulfilled, function (state, action) {
23933
+ }), _defineProperty(_extraReducers$l, ORGANIZATION_GET_LEVEL_CARE.fulfilled, function (state, action) {
23934
23934
  state.orgLevelCare.loading = false, state.orgLevelCare.error = false, state.orgLevelCare = action.payload;
23935
- }), _defineProperty(_extraReducers$k, ORGANIZATION_GET_LEVEL_CARE.pending, function (state, action) {
23935
+ }), _defineProperty(_extraReducers$l, ORGANIZATION_GET_LEVEL_CARE.pending, function (state, action) {
23936
23936
  state.orgLevelCare.loading = true, state.orgLevelCare.error = false, state.orgLevelCare.loading = true;
23937
- }), _defineProperty(_extraReducers$k, ORGANIZATION_GET_LEVEL_CARE.rejected, function (state, action) {
23937
+ }), _defineProperty(_extraReducers$l, ORGANIZATION_GET_LEVEL_CARE.rejected, function (state, action) {
23938
23938
  state.orgLevelCare.loading = false, state.orgLevelCare.error = true, state.orgLevelCare = action.payload;
23939
- }), _defineProperty(_extraReducers$k, ORGANIZATION_GET_USE_IDENTIFICATION.fulfilled, function (state, action) {
23939
+ }), _defineProperty(_extraReducers$l, ORGANIZATION_GET_USE_IDENTIFICATION.fulfilled, function (state, action) {
23940
23940
  state.orgUseIdenifi.loading = false, state.orgUseIdenifi.error = false, state.orgUseIdenifi = action.payload;
23941
- }), _defineProperty(_extraReducers$k, ORGANIZATION_GET_USE_IDENTIFICATION.pending, function (state, action) {
23941
+ }), _defineProperty(_extraReducers$l, ORGANIZATION_GET_USE_IDENTIFICATION.pending, function (state, action) {
23942
23942
  state.orgUseIdenifi.loading = true, state.orgUseIdenifi.error = false, state.orgUseIdenifi.loading = true;
23943
- }), _defineProperty(_extraReducers$k, ORGANIZATION_GET_USE_IDENTIFICATION.rejected, function (state, action) {
23943
+ }), _defineProperty(_extraReducers$l, ORGANIZATION_GET_USE_IDENTIFICATION.rejected, function (state, action) {
23944
23944
  state.orgUseIdenifi.loading = false, state.orgUseIdenifi.error = true, state.orgUseIdenifi = action.payload;
23945
- }), _defineProperty(_extraReducers$k, ORGANIZATION_GET_IDTYPE_IDENTIF.fulfilled, function (state, action) {
23945
+ }), _defineProperty(_extraReducers$l, ORGANIZATION_GET_IDTYPE_IDENTIF.fulfilled, function (state, action) {
23946
23946
  state.orgIdTypeIdenifi.loading = false, state.orgIdTypeIdenifi.error = false, state.orgIdTypeIdenifi = action.payload;
23947
- }), _defineProperty(_extraReducers$k, ORGANIZATION_GET_IDTYPE_IDENTIF.pending, function (state, action) {
23947
+ }), _defineProperty(_extraReducers$l, ORGANIZATION_GET_IDTYPE_IDENTIF.pending, function (state, action) {
23948
23948
  state.orgIdTypeIdenifi.loading = true, state.orgIdTypeIdenifi.error = false, state.orgIdTypeIdenifi.loading = true;
23949
- }), _defineProperty(_extraReducers$k, ORGANIZATION_GET_IDTYPE_IDENTIF.rejected, function (state, action) {
23949
+ }), _defineProperty(_extraReducers$l, ORGANIZATION_GET_IDTYPE_IDENTIF.rejected, function (state, action) {
23950
23950
  state.orgIdTypeIdenifi.loading = false, state.orgIdTypeIdenifi.error = true, state.orgIdTypeIdenifi = action.payload;
23951
- }), _defineProperty(_extraReducers$k, ORGANIZATION_GET_ALIAS_TYPE.fulfilled, function (state, action) {
23951
+ }), _defineProperty(_extraReducers$l, ORGANIZATION_GET_ALIAS_TYPE.fulfilled, function (state, action) {
23952
23952
  state.aliastype.loading = false, state.aliastype.error = false, state.aliastype = action.payload;
23953
- }), _defineProperty(_extraReducers$k, ORGANIZATION_GET_ALIAS_TYPE.pending, function (state, action) {
23953
+ }), _defineProperty(_extraReducers$l, ORGANIZATION_GET_ALIAS_TYPE.pending, function (state, action) {
23954
23954
  state.aliastype.loading = true, state.aliastype.error = false, state.aliastype.loading = true;
23955
- }), _defineProperty(_extraReducers$k, ORGANIZATION_GET_ALIAS_TYPE.rejected, function (state, action) {
23955
+ }), _defineProperty(_extraReducers$l, ORGANIZATION_GET_ALIAS_TYPE.rejected, function (state, action) {
23956
23956
  state.aliastype.loading = false, state.aliastype.error = true, state.aliastype = action.payload;
23957
- }), _defineProperty(_extraReducers$k, ORGANIZATION_GET_ADD_TYPE.fulfilled, function (state, action) {
23957
+ }), _defineProperty(_extraReducers$l, ORGANIZATION_GET_ADD_TYPE.fulfilled, function (state, action) {
23958
23958
  state.orgAddType.loading = false, state.orgAddType.error = false, state.orgAddType = action.payload;
23959
- }), _defineProperty(_extraReducers$k, ORGANIZATION_GET_ADD_TYPE.pending, function (state, action) {
23959
+ }), _defineProperty(_extraReducers$l, ORGANIZATION_GET_ADD_TYPE.pending, function (state, action) {
23960
23960
  state.orgAddType.loading = true, state.orgAddType.error = false, state.orgAddType.loading = true;
23961
- }), _defineProperty(_extraReducers$k, ORGANIZATION_GET_ADD_TYPE.rejected, function (state, action) {
23961
+ }), _defineProperty(_extraReducers$l, ORGANIZATION_GET_ADD_TYPE.rejected, function (state, action) {
23962
23962
  state.orgAddType.loading = false, state.orgAddType.error = true, state.orgAddType = action.payload;
23963
- }), _defineProperty(_extraReducers$k, ORGANIZATION_GET_ADD_USE.fulfilled, function (state, action) {
23963
+ }), _defineProperty(_extraReducers$l, ORGANIZATION_GET_ADD_USE.fulfilled, function (state, action) {
23964
23964
  state.orgAddUSE.loading = false, state.orgAddUSE.error = false, state.orgAddUSE = action.payload;
23965
- }), _defineProperty(_extraReducers$k, ORGANIZATION_GET_ADD_USE.pending, function (state, action) {
23965
+ }), _defineProperty(_extraReducers$l, ORGANIZATION_GET_ADD_USE.pending, function (state, action) {
23966
23966
  state.orgAddUSE.loading = true, state.orgAddUSE.error = false, state.orgAddUSE.loading = true;
23967
- }), _defineProperty(_extraReducers$k, ORGANIZATION_GET_ADD_USE.rejected, function (state, action) {
23967
+ }), _defineProperty(_extraReducers$l, ORGANIZATION_GET_ADD_USE.rejected, function (state, action) {
23968
23968
  state.orgAddUSE.loading = false, state.orgAddUSE.error = true, state.orgAddUSE = action.payload;
23969
- }), _defineProperty(_extraReducers$k, ORGANIZATION_GET_ADD_City.fulfilled, function (state, action) {
23969
+ }), _defineProperty(_extraReducers$l, ORGANIZATION_GET_ADD_City.fulfilled, function (state, action) {
23970
23970
  state.orgAddCity.loading = false, state.orgAddCity.error = false, state.orgAddCity = action.payload;
23971
- }), _defineProperty(_extraReducers$k, ORGANIZATION_GET_ADD_City.pending, function (state, action) {
23971
+ }), _defineProperty(_extraReducers$l, ORGANIZATION_GET_ADD_City.pending, function (state, action) {
23972
23972
  state.orgAddCity.loading = true, state.orgAddCity.error = false, state.orgAddCity.loading = true;
23973
- }), _defineProperty(_extraReducers$k, ORGANIZATION_GET_ADD_City.rejected, function (state, action) {
23973
+ }), _defineProperty(_extraReducers$l, ORGANIZATION_GET_ADD_City.rejected, function (state, action) {
23974
23974
  state.orgAddCity.loading = false, state.orgAddCity.error = true, state.orgAddCity = action.payload;
23975
- }), _defineProperty(_extraReducers$k, ORGANIZATION_GET_ADD_DISTRICT.fulfilled, function (state, action) {
23975
+ }), _defineProperty(_extraReducers$l, ORGANIZATION_GET_ADD_DISTRICT.fulfilled, function (state, action) {
23976
23976
  state.orgAddDISTRICT.loading = false, state.orgAddDISTRICT.error = false, state.orgAddDISTRICT = action.payload;
23977
- }), _defineProperty(_extraReducers$k, ORGANIZATION_GET_ADD_DISTRICT.pending, function (state, action) {
23977
+ }), _defineProperty(_extraReducers$l, ORGANIZATION_GET_ADD_DISTRICT.pending, function (state, action) {
23978
23978
  state.orgAddDISTRICT.loading = true, state.orgAddDISTRICT.error = false, state.orgAddDISTRICT.loading = true;
23979
- }), _defineProperty(_extraReducers$k, ORGANIZATION_GET_ADD_DISTRICT.rejected, function (state, action) {
23979
+ }), _defineProperty(_extraReducers$l, ORGANIZATION_GET_ADD_DISTRICT.rejected, function (state, action) {
23980
23980
  state.orgAddDISTRICT.loading = false, state.orgAddDISTRICT.error = true, state.orgAddDISTRICT = action.payload;
23981
- }), _defineProperty(_extraReducers$k, ORGANIZATION_GET_AddSTATE.fulfilled, function (state, action) {
23981
+ }), _defineProperty(_extraReducers$l, ORGANIZATION_GET_AddSTATE.fulfilled, function (state, action) {
23982
23982
  state.orgAddSTATE.loading = false, state.orgAddSTATE.error = false, state.orgAddSTATE = action.payload;
23983
- }), _defineProperty(_extraReducers$k, ORGANIZATION_GET_AddSTATE.pending, function (state, action) {
23983
+ }), _defineProperty(_extraReducers$l, ORGANIZATION_GET_AddSTATE.pending, function (state, action) {
23984
23984
  state.orgAddSTATE.loading = true, state.orgAddSTATE.error = false, state.orgAddSTATE.loading = true;
23985
- }), _defineProperty(_extraReducers$k, ORGANIZATION_GET_AddSTATE.rejected, function (state, action) {
23985
+ }), _defineProperty(_extraReducers$l, ORGANIZATION_GET_AddSTATE.rejected, function (state, action) {
23986
23986
  state.orgAddSTATE.loading = false, state.orgAddSTATE.error = true, state.orgAddSTATE = action.payload;
23987
- }), _defineProperty(_extraReducers$k, ORGANIZATION_GET_COUNTRY.fulfilled, function (state, action) {
23987
+ }), _defineProperty(_extraReducers$l, ORGANIZATION_GET_COUNTRY.fulfilled, function (state, action) {
23988
23988
  state.orgAddCOUNTRY.loading = false, state.orgAddCOUNTRY.error = false, state.orgAddCOUNTRY = action.payload;
23989
- }), _defineProperty(_extraReducers$k, ORGANIZATION_GET_COUNTRY.pending, function (state, action) {
23989
+ }), _defineProperty(_extraReducers$l, ORGANIZATION_GET_COUNTRY.pending, function (state, action) {
23990
23990
  state.orgAddCOUNTRY.loading = true, state.orgAddCOUNTRY.error = false, state.orgAddCOUNTRY.loading = true;
23991
- }), _defineProperty(_extraReducers$k, ORGANIZATION_GET_COUNTRY.rejected, function (state, action) {
23991
+ }), _defineProperty(_extraReducers$l, ORGANIZATION_GET_COUNTRY.rejected, function (state, action) {
23992
23992
  state.orgAddCOUNTRY.loading = false, state.orgAddCOUNTRY.error = true, state.orgAddCOUNTRY = action.payload;
23993
- }), _defineProperty(_extraReducers$k, ORGANIZATION_GET_PINCODE.fulfilled, function (state, action) {
23993
+ }), _defineProperty(_extraReducers$l, ORGANIZATION_GET_PINCODE.fulfilled, function (state, action) {
23994
23994
  state.orgAddPINCODE.loading = false, state.orgAddPINCODE.error = false, state.orgAddPINCODE = action.payload;
23995
- }), _defineProperty(_extraReducers$k, ORGANIZATION_GET_PINCODE.pending, function (state, action) {
23995
+ }), _defineProperty(_extraReducers$l, ORGANIZATION_GET_PINCODE.pending, function (state, action) {
23996
23996
  state.orgAddPINCODE.loading = true, state.orgAddPINCODE.error = false, state.orgAddPINCODE.loading = true;
23997
- }), _defineProperty(_extraReducers$k, ORGANIZATION_GET_PINCODE.rejected, function (state, action) {
23997
+ }), _defineProperty(_extraReducers$l, ORGANIZATION_GET_PINCODE.rejected, function (state, action) {
23998
23998
  state.orgAddPINCODE.loading = false, state.orgAddPINCODE.error = true, state.orgAddPINCODE = action.payload;
23999
- }), _defineProperty(_extraReducers$k, ORGANIZATION_GET_CONTACTDETAILMODE.fulfilled, function (state, action) {
23999
+ }), _defineProperty(_extraReducers$l, ORGANIZATION_GET_CONTACTDETAILMODE.fulfilled, function (state, action) {
24000
24000
  state.orgContactDetailMode.loading = false, state.orgContactDetailMode.error = false, state.orgContactDetailMode = action.payload;
24001
- }), _defineProperty(_extraReducers$k, ORGANIZATION_GET_CONTACTDETAILMODE.pending, function (state, action) {
24001
+ }), _defineProperty(_extraReducers$l, ORGANIZATION_GET_CONTACTDETAILMODE.pending, function (state, action) {
24002
24002
  state.orgContactDetailMode.loading = true, state.orgContactDetailMode.error = false, state.orgContactDetailMode.loading = true;
24003
- }), _defineProperty(_extraReducers$k, ORGANIZATION_GET_CONTACTDETAILMODE.rejected, function (state, action) {
24003
+ }), _defineProperty(_extraReducers$l, ORGANIZATION_GET_CONTACTDETAILMODE.rejected, function (state, action) {
24004
24004
  state.orgContactDetailMode.loading = false, state.orgContactDetailMode.error = true, state.orgContactDetailMode = action.payload;
24005
- }), _defineProperty(_extraReducers$k, ORGANIZATION_GET_CONNTACTDETAILCODE.fulfilled, function (state, action) {
24005
+ }), _defineProperty(_extraReducers$l, ORGANIZATION_GET_CONNTACTDETAILCODE.fulfilled, function (state, action) {
24006
24006
  state.orgContactDetailCode.loading = false, state.orgContactDetailCode.error = false, state.orgContactDetailCode = action.payload;
24007
- }), _defineProperty(_extraReducers$k, ORGANIZATION_GET_CONNTACTDETAILCODE.pending, function (state, action) {
24007
+ }), _defineProperty(_extraReducers$l, ORGANIZATION_GET_CONNTACTDETAILCODE.pending, function (state, action) {
24008
24008
  state.orgContactDetailCode.loading = true, state.orgContactDetailCode.error = false, state.orgContactDetailCode.loading = true;
24009
- }), _defineProperty(_extraReducers$k, ORGANIZATION_GET_CONNTACTDETAILCODE.rejected, function (state, action) {
24009
+ }), _defineProperty(_extraReducers$l, ORGANIZATION_GET_CONNTACTDETAILCODE.rejected, function (state, action) {
24010
24010
  state.orgContactDetailCode.loading = false, state.orgContactDetailCode.error = true, state.orgContactDetailCode = action.payload;
24011
- }), _defineProperty(_extraReducers$k, ORGANIZATION_GET_CONTACTDETAILUSE.fulfilled, function (state, action) {
24011
+ }), _defineProperty(_extraReducers$l, ORGANIZATION_GET_CONTACTDETAILUSE.fulfilled, function (state, action) {
24012
24012
  state.orgContactDetailUse.loading = false, state.orgContactDetailUse.error = false, state.orgContactDetailUse = action.payload;
24013
- }), _defineProperty(_extraReducers$k, ORGANIZATION_GET_CONTACTDETAILUSE.pending, function (state, action) {
24013
+ }), _defineProperty(_extraReducers$l, ORGANIZATION_GET_CONTACTDETAILUSE.pending, function (state, action) {
24014
24014
  state.orgContactDetailUse.loading = true, state.orgContactDetailUse.error = false, state.orgContactDetailUse.loading = true;
24015
- }), _defineProperty(_extraReducers$k, ORGANIZATION_GET_CONTACTDETAILUSE.rejected, function (state, action) {
24015
+ }), _defineProperty(_extraReducers$l, ORGANIZATION_GET_CONTACTDETAILUSE.rejected, function (state, action) {
24016
24016
  state.orgContactDetailUse.loading = false, state.orgContactDetailUse.error = true, state.orgContactDetailUse = action.payload;
24017
- }), _defineProperty(_extraReducers$k, ORGANIZATION_GET_CONTACTDETAILPRIORITY.fulfilled, function (state, action) {
24017
+ }), _defineProperty(_extraReducers$l, ORGANIZATION_GET_CONTACTDETAILPRIORITY.fulfilled, function (state, action) {
24018
24018
  state.orgContactDetailPriority.loading = false, state.orgContactDetailPriority.error = false, state.orgContactDetailPriority = action.payload;
24019
- }), _defineProperty(_extraReducers$k, ORGANIZATION_GET_CONTACTDETAILPRIORITY.pending, function (state, action) {
24019
+ }), _defineProperty(_extraReducers$l, ORGANIZATION_GET_CONTACTDETAILPRIORITY.pending, function (state, action) {
24020
24020
  state.orgContactDetailPriority.loading = true, state.orgContactDetailPriority.error = false, state.orgContactDetailPriority.loading = true;
24021
- }), _defineProperty(_extraReducers$k, ORGANIZATION_GET_CONTACTDETAILPRIORITY.rejected, function (state, action) {
24021
+ }), _defineProperty(_extraReducers$l, ORGANIZATION_GET_CONTACTDETAILPRIORITY.rejected, function (state, action) {
24022
24022
  state.orgContactDetailPriority.loading = false, state.orgContactDetailPriority.error = true, state.orgContactDetailPriority = action.payload;
24023
- }), _defineProperty(_extraReducers$k, ORGANIZATION_GET_CONTACT_PREFIX.fulfilled, function (state, action) {
24023
+ }), _defineProperty(_extraReducers$l, ORGANIZATION_GET_CONTACT_PREFIX.fulfilled, function (state, action) {
24024
24024
  state.orgNamePrefix.loading = false, state.orgNamePrefix.error = false, state.orgNamePrefix = action.payload;
24025
- }), _defineProperty(_extraReducers$k, ORGANIZATION_GET_CONTACT_PREFIX.pending, function (state, action) {
24025
+ }), _defineProperty(_extraReducers$l, ORGANIZATION_GET_CONTACT_PREFIX.pending, function (state, action) {
24026
24026
  state.orgNamePrefix.loading = true, state.orgNamePrefix.error = false, state.orgNamePrefix.loading = true;
24027
- }), _defineProperty(_extraReducers$k, ORGANIZATION_GET_CONTACT_PREFIX.rejected, function (state, action) {
24027
+ }), _defineProperty(_extraReducers$l, ORGANIZATION_GET_CONTACT_PREFIX.rejected, function (state, action) {
24028
24028
  state.orgNamePrefix.loading = false, state.orgNamePrefix.error = true, state.orgNamePrefix = action.payload;
24029
- }), _defineProperty(_extraReducers$k, ORGANIZATION_GET_CONTACT_SUFFIX.fulfilled, function (state, action) {
24029
+ }), _defineProperty(_extraReducers$l, ORGANIZATION_GET_CONTACT_SUFFIX.fulfilled, function (state, action) {
24030
24030
  state.orgNameSuffix.loading = false, state.orgNameSuffix.error = false, state.orgNameSuffix = action.payload;
24031
- }), _defineProperty(_extraReducers$k, ORGANIZATION_GET_CONTACT_SUFFIX.pending, function (state, action) {
24031
+ }), _defineProperty(_extraReducers$l, ORGANIZATION_GET_CONTACT_SUFFIX.pending, function (state, action) {
24032
24032
  state.orgNameSuffix.loading = true, state.orgNameSuffix.error = false, state.orgNameSuffix.loading = true;
24033
- }), _defineProperty(_extraReducers$k, ORGANIZATION_GET_CONTACT_SUFFIX.rejected, function (state, action) {
24033
+ }), _defineProperty(_extraReducers$l, ORGANIZATION_GET_CONTACT_SUFFIX.rejected, function (state, action) {
24034
24034
  state.orgNameSuffix.loading = false, state.orgNameSuffix.error = true, state.orgNameSuffix = action.payload;
24035
- }), _defineProperty(_extraReducers$k, ORGANIZATION_GET_CONTACT_DESI.fulfilled, function (state, action) {
24035
+ }), _defineProperty(_extraReducers$l, ORGANIZATION_GET_CONTACT_DESI.fulfilled, function (state, action) {
24036
24036
  state.positionDesi.loading = false, state.positionDesi.error = false, state.positionDesi = action.payload;
24037
- }), _defineProperty(_extraReducers$k, ORGANIZATION_GET_CONTACT_DESI.pending, function (state, action) {
24037
+ }), _defineProperty(_extraReducers$l, ORGANIZATION_GET_CONTACT_DESI.pending, function (state, action) {
24038
24038
  state.positionDesi.loading = true, state.positionDesi.error = false, state.positionDesi.loading = true;
24039
- }), _defineProperty(_extraReducers$k, ORGANIZATION_GET_CONTACT_DESI.rejected, function (state, action) {
24039
+ }), _defineProperty(_extraReducers$l, ORGANIZATION_GET_CONTACT_DESI.rejected, function (state, action) {
24040
24040
  state.positionDesi.loading = false, state.positionDesi.error = true, state.positionDesi = action.payload;
24041
- }), _defineProperty(_extraReducers$k, SET_ORGANIZATION.fulfilled, function (state, action) {
24041
+ }), _defineProperty(_extraReducers$l, SET_ORGANIZATION.fulfilled, function (state, action) {
24042
24042
  state.setOrganization.loading = false, state.setOrganization.error = false, state.setOrganization = action.payload;
24043
- }), _defineProperty(_extraReducers$k, SET_ORGANIZATION.pending, function (state, action) {
24043
+ }), _defineProperty(_extraReducers$l, SET_ORGANIZATION.pending, function (state, action) {
24044
24044
  state.setOrganization.loading = true, state.setOrganization.error = false, state.setOrganization.loading = true;
24045
- }), _defineProperty(_extraReducers$k, SET_ORGANIZATION.rejected, function (state, action) {
24045
+ }), _defineProperty(_extraReducers$l, SET_ORGANIZATION.rejected, function (state, action) {
24046
24046
  state.setOrganization.loading = false, state.setOrganization.error = true, state.setOrganization = action.payload;
24047
- }), _defineProperty(_extraReducers$k, ORG_FROM_GET.fulfilled, function (state, action) {
24047
+ }), _defineProperty(_extraReducers$l, ORG_FROM_GET.fulfilled, function (state, action) {
24048
24048
  state.getOrganization.loading = false, state.getOrganization.error = false, state.getOrganization = action.payload;
24049
- }), _defineProperty(_extraReducers$k, ORG_FROM_GET.pending, function (state, action) {
24049
+ }), _defineProperty(_extraReducers$l, ORG_FROM_GET.pending, function (state, action) {
24050
24050
  state.getOrganization.loading = true, state.getOrganization.error = false, state.getOrganization.loading = true;
24051
- }), _defineProperty(_extraReducers$k, ORG_FROM_GET.rejected, function (state, action) {
24051
+ }), _defineProperty(_extraReducers$l, ORG_FROM_GET.rejected, function (state, action) {
24052
24052
  state.getOrganization.loading = false, state.getOrganization.error = true, state.getOrganization = action.payload;
24053
- }), _defineProperty(_extraReducers$k, ORGANIZATION_GET_SPECIALTY_DROP.fulfilled, function (state, action) {
24053
+ }), _defineProperty(_extraReducers$l, ORGANIZATION_GET_SPECIALTY_DROP.fulfilled, function (state, action) {
24054
24054
  state.specialtyDrop.loading = false, state.specialtyDrop.error = false, state.specialtyDrop = action.payload;
24055
- }), _defineProperty(_extraReducers$k, ORGANIZATION_GET_SPECIALTY_DROP.pending, function (state, action) {
24055
+ }), _defineProperty(_extraReducers$l, ORGANIZATION_GET_SPECIALTY_DROP.pending, function (state, action) {
24056
24056
  state.specialtyDrop.loading = true, state.specialtyDrop.error = false, state.specialtyDrop.loading = true;
24057
- }), _defineProperty(_extraReducers$k, ORGANIZATION_GET_SPECIALTY_DROP.rejected, function (state, action) {
24057
+ }), _defineProperty(_extraReducers$l, ORGANIZATION_GET_SPECIALTY_DROP.rejected, function (state, action) {
24058
24058
  state.specialtyDrop.loading = false, state.specialtyDrop.error = true, state.specialtyDrop = action.payload;
24059
- }), _extraReducers$k)
24059
+ }), _extraReducers$l)
24060
24060
  });
24061
24061
  var organizationActions = {
24062
24062
  ORGANIZATION_TREE_READ: ORGANIZATION_TREE_READ,
@@ -24225,7 +24225,7 @@ var queries$b = {
24225
24225
  }
24226
24226
  };
24227
24227
 
24228
- var generateJson$6 = function generateJson(data) {
24228
+ var generateJson$7 = function generateJson(data) {
24229
24229
  var _data$status, _data$serviceDescript, _data$comment, _data$id, _data$speciality$valu, _data$speciality, _data$serviceCategory, _data$serviceCategory2, _data$serviceType$val, _data$serviceType, _data$serviceCode;
24230
24230
 
24231
24231
  var filter = {};
@@ -24422,7 +24422,7 @@ var generateapplicableFacility = function generateapplicableFacility(data, state
24422
24422
  return applicableFacilitiesArr;
24423
24423
  };
24424
24424
 
24425
- var masterQuery$2 = {
24425
+ var masterQuery$3 = {
24426
24426
  careTypeMasterQuery: function careTypeMasterQuery() {
24427
24427
  return {
24428
24428
  db_name: dbName,
@@ -24472,7 +24472,7 @@ var masterQueryHealthCareService = {
24472
24472
  locationType: "{\n \"db_name\": \"primarycare\",\n \"entity\": \"CodeableConceptMaster\",\n \"sort\":\"document(CodeableConceptMaster.coding[0]).display\",\n \"filter\": \"CodeableConceptMaster.Type=='LOCATIONTYPE' && CodeableConceptMaster.activestatus==true\",\n \"return_fields\": \"MERGE(CodeableConceptMaster,{coding:(FOR cod IN CodeableConceptMaster.coding RETURN DOCUMENT(cod))})\"\n }"
24473
24473
  };
24474
24474
 
24475
- var _extraReducers$j;
24475
+ var _extraReducers$k;
24476
24476
  //CARE TYPE READ
24477
24477
 
24478
24478
  var CARE_TYPE_READ = createAsyncThunk("organizationConfigApiSlice/careTypeRead", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
@@ -24842,7 +24842,7 @@ var HEALTH_CARE_SERVICE_INSERT = createAsyncThunk("organizationConfigApiSlice/sa
24842
24842
  _ref16 = _args8.length > 1 ? _args8[1] : undefined, rejectWithValue = _ref16.rejectWithValue;
24843
24843
  _context8.prev = 2;
24844
24844
  dataList = payload.dataList;
24845
- queriesjson = generateJson$6(dataList);
24845
+ queriesjson = generateJson$7(dataList);
24846
24846
  _context8.next = 7;
24847
24847
  return fetchData({
24848
24848
  body: JSON.stringify(queriesjson)
@@ -24869,9 +24869,9 @@ var HEALTH_CARE_SERVICE_INSERT = createAsyncThunk("organizationConfigApiSlice/sa
24869
24869
  }, _callee8, null, [[2, 11]]);
24870
24870
  }))); //let fileds = ["serviceCategory", "serviceType", "locationType"];
24871
24871
 
24872
- var fileds$2 = ["serviceCategory", "serviceType"];
24872
+ var fileds$3 = ["serviceCategory", "serviceType"];
24873
24873
 
24874
- var loopMasters$3 = function loopMasters() {
24874
+ var loopMasters$4 = function loopMasters() {
24875
24875
  return new es6Promise.Promise( /*#__PURE__*/function () {
24876
24876
  var _ref17 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee10(resolve, reject) {
24877
24877
  var calls;
@@ -24886,7 +24886,7 @@ var loopMasters$3 = function loopMasters() {
24886
24886
  switch (_context9.prev = _context9.next) {
24887
24887
  case 0:
24888
24888
  _context9.next = 2;
24889
- return fetchMaster$3(val, masterQueryHealthCareService[val]);
24889
+ return fetchMaster$4(val, masterQueryHealthCareService[val]);
24890
24890
 
24891
24891
  case 2:
24892
24892
  return _context9.abrupt("return", _context9.sent);
@@ -24908,7 +24908,7 @@ var loopMasters$3 = function loopMasters() {
24908
24908
  data.map(function (val) {
24909
24909
  var arr = [];
24910
24910
  val.data.map(function (value) {
24911
- if (fileds$2.includes(val.name)) {
24911
+ if (fileds$3.includes(val.name)) {
24912
24912
  arr.push({
24913
24913
  label: value.display,
24914
24914
  value: value._id
@@ -24954,7 +24954,7 @@ var loopMasters$3 = function loopMasters() {
24954
24954
  }());
24955
24955
  };
24956
24956
 
24957
- var fetchMaster$3 = function fetchMaster(name, query) {
24957
+ var fetchMaster$4 = function fetchMaster(name, query) {
24958
24958
  return new es6Promise.Promise( /*#__PURE__*/function () {
24959
24959
  var _ref19 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee11(resolve, reject) {
24960
24960
  var data;
@@ -25007,7 +25007,7 @@ var HEALTH_CARE_SERVICE_MASTER_LOCATION_DESCRIPTION = createAsyncThunk("organiza
25007
25007
  id = payload.id;
25008
25008
  _context12.next = 6;
25009
25009
  return fetchData({
25010
- body: JSON.stringify(masterQuery$2.healthcareservice_LocationDescription_MasterQuery(id))
25010
+ body: JSON.stringify(masterQuery$3.healthcareservice_LocationDescription_MasterQuery(id))
25011
25011
  }, __readDocumentUrl__);
25012
25012
 
25013
25013
  case 6:
@@ -25053,7 +25053,7 @@ var HEALTH_CARE_SERVICE_MASTER = createAsyncThunk("organizationConfigApiSlice/he
25053
25053
  _ref23 = _args13.length > 1 ? _args13[1] : undefined, rejectWithValue = _ref23.rejectWithValue;
25054
25054
  _context13.prev = 2;
25055
25055
  _context13.next = 6;
25056
- return loopMasters$3();
25056
+ return loopMasters$4();
25057
25057
 
25058
25058
  case 6:
25059
25059
  data = _context13.sent;
@@ -25300,7 +25300,7 @@ var SPECIALITY_MASTER_PARENT_SPECIALITY = createAsyncThunk("organizationConfigAp
25300
25300
  id = payload.id;
25301
25301
  _context18.next = 6;
25302
25302
  return fetchData({
25303
- body: JSON.stringify(masterQuery$2.specialityMasterParentSpeciality(id))
25303
+ body: JSON.stringify(masterQuery$3.specialityMasterParentSpeciality(id))
25304
25304
  }, __readDocumentUrl__);
25305
25305
 
25306
25306
  case 6:
@@ -25348,7 +25348,7 @@ var SPECIALITY_MASTER_FACILITY = createAsyncThunk("organizationConfigApiSlice/sp
25348
25348
  _context19.prev = 2;
25349
25349
  _context19.next = 5;
25350
25350
  return fetchData({
25351
- body: JSON.stringify(masterQuery$2.specialityMasterFacility())
25351
+ body: JSON.stringify(masterQuery$3.specialityMasterFacility())
25352
25352
  }, __readDocumentUrl__);
25353
25353
 
25354
25354
  case 5:
@@ -25448,109 +25448,109 @@ var organizationConfigSlice = createSlice({
25448
25448
  speciality_master_parent_speciality: _objectSpread2({}, defaultState.Info),
25449
25449
  speciality_edit: _objectSpread2({}, defaultState.List)
25450
25450
  },
25451
- extraReducers: (_extraReducers$j = {}, _defineProperty(_extraReducers$j, SPECIALITY_MASTER_PARENT_SPECIALITY.fulfilled, function (state, action) {
25451
+ extraReducers: (_extraReducers$k = {}, _defineProperty(_extraReducers$k, SPECIALITY_MASTER_PARENT_SPECIALITY.fulfilled, function (state, action) {
25452
25452
  state.speciality_master_parent_speciality.loading = false, state.speciality_master_parent_speciality.error = false, state.speciality_master_parent_speciality = action.payload;
25453
- }), _defineProperty(_extraReducers$j, SPECIALITY_MASTER_PARENT_SPECIALITY.pending, function (state, action) {
25453
+ }), _defineProperty(_extraReducers$k, SPECIALITY_MASTER_PARENT_SPECIALITY.pending, function (state, action) {
25454
25454
  state.speciality_master_parent_speciality.loading = true, state.speciality_master_parent_speciality.error = false, state.speciality_master_parent_speciality.loading = true;
25455
- }), _defineProperty(_extraReducers$j, SPECIALITY_MASTER_PARENT_SPECIALITY.rejected, function (state, action) {
25455
+ }), _defineProperty(_extraReducers$k, SPECIALITY_MASTER_PARENT_SPECIALITY.rejected, function (state, action) {
25456
25456
  state.speciality_master_parent_speciality.loading = false, state.speciality_master_parent_speciality.error = true, state.speciality_master_parent_speciality = action.payload;
25457
- }), _defineProperty(_extraReducers$j, SPECIALITY_MASTER_FACILITY.fulfilled, function (state, action) {
25457
+ }), _defineProperty(_extraReducers$k, SPECIALITY_MASTER_FACILITY.fulfilled, function (state, action) {
25458
25458
  state.speciality_master_facility.loading = false, state.speciality_master_facility.error = false, state.speciality_master_facility = action.payload;
25459
- }), _defineProperty(_extraReducers$j, SPECIALITY_MASTER_FACILITY.pending, function (state, action) {
25459
+ }), _defineProperty(_extraReducers$k, SPECIALITY_MASTER_FACILITY.pending, function (state, action) {
25460
25460
  state.speciality_master_facility.loading = true, state.speciality_master_facility.error = false, state.speciality_master_facility.loading = true;
25461
- }), _defineProperty(_extraReducers$j, SPECIALITY_MASTER_FACILITY.rejected, function (state, action) {
25461
+ }), _defineProperty(_extraReducers$k, SPECIALITY_MASTER_FACILITY.rejected, function (state, action) {
25462
25462
  state.speciality_master_facility.loading = false, state.speciality_master_facility.error = true, state.speciality_master_facility = action.payload;
25463
- }), _defineProperty(_extraReducers$j, CARE_TYPE_READ.fulfilled, function (state, action) {
25463
+ }), _defineProperty(_extraReducers$k, CARE_TYPE_READ.fulfilled, function (state, action) {
25464
25464
  state.care_type_list.loading = false, state.care_type_list.error = false, state.care_type_list = action.payload;
25465
- }), _defineProperty(_extraReducers$j, CARE_TYPE_READ.pending, function (state, action) {
25465
+ }), _defineProperty(_extraReducers$k, CARE_TYPE_READ.pending, function (state, action) {
25466
25466
  state.care_type_list.loading = true, state.care_type_list.error = false, state.care_type_list.loading = true;
25467
- }), _defineProperty(_extraReducers$j, CARE_TYPE_READ.rejected, function (state, action) {
25467
+ }), _defineProperty(_extraReducers$k, CARE_TYPE_READ.rejected, function (state, action) {
25468
25468
  state.care_type_list.loading = false, state.care_type_list.error = true, state.care_type_list = action.payload;
25469
- }), _defineProperty(_extraReducers$j, LEVEL_OF_CARE_READ.fulfilled, function (state, action) {
25469
+ }), _defineProperty(_extraReducers$k, LEVEL_OF_CARE_READ.fulfilled, function (state, action) {
25470
25470
  state.level_of_care_list.loading = false, state.level_of_care_list.error = false, state.level_of_care_list = action.payload;
25471
- }), _defineProperty(_extraReducers$j, LEVEL_OF_CARE_READ.pending, function (state, action) {
25471
+ }), _defineProperty(_extraReducers$k, LEVEL_OF_CARE_READ.pending, function (state, action) {
25472
25472
  state.level_of_care_list.loading = true, state.level_of_care_list.error = false, state.level_of_care_list.loading = true;
25473
- }), _defineProperty(_extraReducers$j, LEVEL_OF_CARE_READ.rejected, function (state, action) {
25473
+ }), _defineProperty(_extraReducers$k, LEVEL_OF_CARE_READ.rejected, function (state, action) {
25474
25474
  state.level_of_care_list.loading = false, state.level_of_care_list.error = true, state.level_of_care_list = action.payload;
25475
- }), _defineProperty(_extraReducers$j, LEVEL_OF_CARE_STATUS_CHANGE.fulfilled, function (state, action) {
25475
+ }), _defineProperty(_extraReducers$k, LEVEL_OF_CARE_STATUS_CHANGE.fulfilled, function (state, action) {
25476
25476
  state.level_of_care_status_change.loading = false, state.level_of_care_status_change.error = false, state.level_of_care_status_change = action.payload;
25477
- }), _defineProperty(_extraReducers$j, LEVEL_OF_CARE_STATUS_CHANGE.pending, function (state, action) {
25477
+ }), _defineProperty(_extraReducers$k, LEVEL_OF_CARE_STATUS_CHANGE.pending, function (state, action) {
25478
25478
  state.level_of_care_status_change.loading = true, state.level_of_care_status_change.error = false, state.level_of_care_status_change.loading = true;
25479
- }), _defineProperty(_extraReducers$j, LEVEL_OF_CARE_STATUS_CHANGE.rejected, function (state, action) {
25479
+ }), _defineProperty(_extraReducers$k, LEVEL_OF_CARE_STATUS_CHANGE.rejected, function (state, action) {
25480
25480
  state.level_of_care_status_change.loading = false, state.level_of_care_status_change.error = true, state.level_of_care_status_change = action.payload;
25481
- }), _defineProperty(_extraReducers$j, LEVEL_OF_CARE_INSERT.fulfilled, function (state, action) {
25481
+ }), _defineProperty(_extraReducers$k, LEVEL_OF_CARE_INSERT.fulfilled, function (state, action) {
25482
25482
  state.level_of_care_insert.loading = false, state.level_of_care_insert.error = false, state.level_of_care_insert = action.payload;
25483
- }), _defineProperty(_extraReducers$j, LEVEL_OF_CARE_INSERT.pending, function (state, action) {
25483
+ }), _defineProperty(_extraReducers$k, LEVEL_OF_CARE_INSERT.pending, function (state, action) {
25484
25484
  state.level_of_care_insert.loading = true, state.level_of_care_insert.error = false, state.level_of_care_insert.loading = true;
25485
- }), _defineProperty(_extraReducers$j, LEVEL_OF_CARE_INSERT.rejected, function (state, action) {
25485
+ }), _defineProperty(_extraReducers$k, LEVEL_OF_CARE_INSERT.rejected, function (state, action) {
25486
25486
  state.level_of_care_insert.loading = false, state.level_of_care_insert.error = true, state.level_of_care_insert = action.payload;
25487
- }), _defineProperty(_extraReducers$j, LEVEL_OF_CARE_SINGLE_READ.fulfilled, function (state, action) {
25487
+ }), _defineProperty(_extraReducers$k, LEVEL_OF_CARE_SINGLE_READ.fulfilled, function (state, action) {
25488
25488
  state.level_of_care_single_read.loading = false, state.level_of_care_single_read.error = false, state.level_of_care_single_read = action.payload;
25489
- }), _defineProperty(_extraReducers$j, LEVEL_OF_CARE_SINGLE_READ.pending, function (state, action) {
25489
+ }), _defineProperty(_extraReducers$k, LEVEL_OF_CARE_SINGLE_READ.pending, function (state, action) {
25490
25490
  state.level_of_care_single_read.loading = true, state.level_of_care_single_read.error = false, state.level_of_care_single_read.loading = true;
25491
- }), _defineProperty(_extraReducers$j, LEVEL_OF_CARE_SINGLE_READ.rejected, function (state, action) {
25491
+ }), _defineProperty(_extraReducers$k, LEVEL_OF_CARE_SINGLE_READ.rejected, function (state, action) {
25492
25492
  state.level_of_care_single_read.loading = false, state.level_of_care_single_read.error = true, state.level_of_care_single_read = action.payload;
25493
- }), _defineProperty(_extraReducers$j, HEALTH_CARE_SERVICE_READ.fulfilled, function (state, action) {
25493
+ }), _defineProperty(_extraReducers$k, HEALTH_CARE_SERVICE_READ.fulfilled, function (state, action) {
25494
25494
  state.health_care_service_read.loading = false, state.health_care_service_read.error = false, state.health_care_service_read = action.payload;
25495
- }), _defineProperty(_extraReducers$j, HEALTH_CARE_SERVICE_READ.pending, function (state, action) {
25495
+ }), _defineProperty(_extraReducers$k, HEALTH_CARE_SERVICE_READ.pending, function (state, action) {
25496
25496
  state.health_care_service_read.loading = true, state.health_care_service_read.error = false, state.health_care_service_read.loading = true;
25497
- }), _defineProperty(_extraReducers$j, HEALTH_CARE_SERVICE_READ.rejected, function (state, action) {
25497
+ }), _defineProperty(_extraReducers$k, HEALTH_CARE_SERVICE_READ.rejected, function (state, action) {
25498
25498
  state.health_care_service_read.loading = false, state.health_care_service_read.error = true, state.health_care_service_read = action.payload;
25499
- }), _defineProperty(_extraReducers$j, HEALTH_CARE_SERVICE_STATUS_CHANGE.fulfilled, function (state, action) {
25499
+ }), _defineProperty(_extraReducers$k, HEALTH_CARE_SERVICE_STATUS_CHANGE.fulfilled, function (state, action) {
25500
25500
  state.health_care_service_status_change.loading = false, state.health_care_service_status_change.error = false, state.health_care_service_status_change = action.payload;
25501
- }), _defineProperty(_extraReducers$j, HEALTH_CARE_SERVICE_STATUS_CHANGE.pending, function (state, action) {
25501
+ }), _defineProperty(_extraReducers$k, HEALTH_CARE_SERVICE_STATUS_CHANGE.pending, function (state, action) {
25502
25502
  state.health_care_service_status_change.loading = true, state.health_care_service_status_change.error = false, state.health_care_service_status_change.loading = true;
25503
- }), _defineProperty(_extraReducers$j, HEALTH_CARE_SERVICE_STATUS_CHANGE.rejected, function (state, action) {
25503
+ }), _defineProperty(_extraReducers$k, HEALTH_CARE_SERVICE_STATUS_CHANGE.rejected, function (state, action) {
25504
25504
  state.health_care_service_status_change.loading = false, state.health_care_service_status_change.error = true, state.health_care_service_status_change = action.payload;
25505
- }), _defineProperty(_extraReducers$j, HEALTH_CARE_SERVICE_INSERT.fulfilled, function (state, action) {
25505
+ }), _defineProperty(_extraReducers$k, HEALTH_CARE_SERVICE_INSERT.fulfilled, function (state, action) {
25506
25506
  state.health_care_service_insert.loading = false, state.health_care_service_insert.error = false, state.health_care_service_insert = action.payload;
25507
- }), _defineProperty(_extraReducers$j, HEALTH_CARE_SERVICE_INSERT.pending, function (state, action) {
25507
+ }), _defineProperty(_extraReducers$k, HEALTH_CARE_SERVICE_INSERT.pending, function (state, action) {
25508
25508
  state.health_care_service_insert.loading = true, state.health_care_service_insert.error = false, state.health_care_service_insert.loading = true;
25509
- }), _defineProperty(_extraReducers$j, HEALTH_CARE_SERVICE_INSERT.rejected, function (state, action) {
25509
+ }), _defineProperty(_extraReducers$k, HEALTH_CARE_SERVICE_INSERT.rejected, function (state, action) {
25510
25510
  state.health_care_service_insert.loading = false, state.health_care_service_insert.error = true, state.health_care_service_insert = action.payload;
25511
- }), _defineProperty(_extraReducers$j, HEALTH_CARE_SERVICE_MASTER.fulfilled, function (state, action) {
25511
+ }), _defineProperty(_extraReducers$k, HEALTH_CARE_SERVICE_MASTER.fulfilled, function (state, action) {
25512
25512
  state.health_care_service_master.loading = false, state.health_care_service_master.error = false, state.health_care_service_master = action.payload;
25513
- }), _defineProperty(_extraReducers$j, HEALTH_CARE_SERVICE_MASTER.pending, function (state, action) {
25513
+ }), _defineProperty(_extraReducers$k, HEALTH_CARE_SERVICE_MASTER.pending, function (state, action) {
25514
25514
  state.health_care_service_master.loading = true, state.health_care_service_master.error = false, state.health_care_service_master.loading = true;
25515
- }), _defineProperty(_extraReducers$j, HEALTH_CARE_SERVICE_MASTER.rejected, function (state, action) {
25515
+ }), _defineProperty(_extraReducers$k, HEALTH_CARE_SERVICE_MASTER.rejected, function (state, action) {
25516
25516
  state.health_care_service_master.loading = false, state.health_care_service_master.error = true, state.health_care_service_master = action.payload;
25517
- }), _defineProperty(_extraReducers$j, HEALTH_CARE_SERVICE_MASTER_LOCATION_DESCRIPTION.fulfilled, function (state, action) {
25517
+ }), _defineProperty(_extraReducers$k, HEALTH_CARE_SERVICE_MASTER_LOCATION_DESCRIPTION.fulfilled, function (state, action) {
25518
25518
  state.health_care_service_master_location_description.loading = false, state.health_care_service_master_location_description.error = false, state.health_care_service_master_location_description = action.payload;
25519
- }), _defineProperty(_extraReducers$j, HEALTH_CARE_SERVICE_MASTER_LOCATION_DESCRIPTION.pending, function (state, action) {
25519
+ }), _defineProperty(_extraReducers$k, HEALTH_CARE_SERVICE_MASTER_LOCATION_DESCRIPTION.pending, function (state, action) {
25520
25520
  state.health_care_service_master_location_description.loading = true, state.health_care_service_master_location_description.error = false, state.health_care_service_master_location_description.loading = true;
25521
- }), _defineProperty(_extraReducers$j, HEALTH_CARE_SERVICE_MASTER_LOCATION_DESCRIPTION.rejected, function (state, action) {
25521
+ }), _defineProperty(_extraReducers$k, HEALTH_CARE_SERVICE_MASTER_LOCATION_DESCRIPTION.rejected, function (state, action) {
25522
25522
  state.health_care_service_master_location_description.loading = false, state.health_care_service_master_location_description.error = true, state.health_care_service_master_location_description = action.payload;
25523
- }), _defineProperty(_extraReducers$j, EDIT_HEALTH_CARE_SERVICE.fulfilled, function (state, action) {
25523
+ }), _defineProperty(_extraReducers$k, EDIT_HEALTH_CARE_SERVICE.fulfilled, function (state, action) {
25524
25524
  state.health_care_service_single_read.loading = false, state.health_care_service_single_read.error = false, state.health_care_service_single_read = action.payload;
25525
- }), _defineProperty(_extraReducers$j, EDIT_HEALTH_CARE_SERVICE.pending, function (state, action) {
25525
+ }), _defineProperty(_extraReducers$k, EDIT_HEALTH_CARE_SERVICE.pending, function (state, action) {
25526
25526
  state.health_care_service_single_read.loading = true, state.health_care_service_single_read.error = false, state.health_care_service_single_read.loading = true;
25527
- }), _defineProperty(_extraReducers$j, EDIT_HEALTH_CARE_SERVICE.rejected, function (state, action) {
25527
+ }), _defineProperty(_extraReducers$k, EDIT_HEALTH_CARE_SERVICE.rejected, function (state, action) {
25528
25528
  state.health_care_service_single_read.loading = false, state.health_care_service_single_read.error = true, state.health_care_service_single_read = action.payload;
25529
- }), _defineProperty(_extraReducers$j, SPECIALITY_READ.fulfilled, function (state, action) {
25529
+ }), _defineProperty(_extraReducers$k, SPECIALITY_READ.fulfilled, function (state, action) {
25530
25530
  state.speciality_read.loading = false, state.speciality_read.error = false, state.speciality_read = action.payload;
25531
- }), _defineProperty(_extraReducers$j, SPECIALITY_READ.pending, function (state, action) {
25531
+ }), _defineProperty(_extraReducers$k, SPECIALITY_READ.pending, function (state, action) {
25532
25532
  state.speciality_read.loading = true, state.speciality_read.error = false, state.speciality_read.loading = true;
25533
- }), _defineProperty(_extraReducers$j, SPECIALITY_READ.rejected, function (state, action) {
25533
+ }), _defineProperty(_extraReducers$k, SPECIALITY_READ.rejected, function (state, action) {
25534
25534
  state.speciality_read.loading = false, state.speciality_read.error = true, state.speciality_read = action.payload;
25535
- }), _defineProperty(_extraReducers$j, SPECIALITY_CHILD_READ.fulfilled, function (state, action) {
25535
+ }), _defineProperty(_extraReducers$k, SPECIALITY_CHILD_READ.fulfilled, function (state, action) {
25536
25536
  state.speciality_child_read.loading = false, state.speciality_child_read.error = false, state.speciality_child_read = action.payload;
25537
- }), _defineProperty(_extraReducers$j, SPECIALITY_CHILD_READ.pending, function (state, action) {
25537
+ }), _defineProperty(_extraReducers$k, SPECIALITY_CHILD_READ.pending, function (state, action) {
25538
25538
  state.speciality_child_read.loading = true, state.speciality_child_read.error = false, state.speciality_child_read.loading = true;
25539
- }), _defineProperty(_extraReducers$j, SPECIALITY_CHILD_READ.rejected, function (state, action) {
25539
+ }), _defineProperty(_extraReducers$k, SPECIALITY_CHILD_READ.rejected, function (state, action) {
25540
25540
  state.speciality_child_read.loading = false, state.speciality_child_read.error = true, state.speciality_child_read = action.payload;
25541
- }), _defineProperty(_extraReducers$j, SPECIALTY_INSERT.fulfilled, function (state, action) {
25541
+ }), _defineProperty(_extraReducers$k, SPECIALTY_INSERT.fulfilled, function (state, action) {
25542
25542
  state.speciality_insert.loading = false, state.speciality_insert.error = false, state.speciality_insert = action.payload;
25543
- }), _defineProperty(_extraReducers$j, SPECIALTY_INSERT.pending, function (state, action) {
25543
+ }), _defineProperty(_extraReducers$k, SPECIALTY_INSERT.pending, function (state, action) {
25544
25544
  state.speciality_insert.loading = true, state.speciality_insert.error = false, state.speciality_insert.loading = true;
25545
- }), _defineProperty(_extraReducers$j, SPECIALTY_INSERT.rejected, function (state, action) {
25545
+ }), _defineProperty(_extraReducers$k, SPECIALTY_INSERT.rejected, function (state, action) {
25546
25546
  state.speciality_insert.loading = false, state.speciality_insert.error = true, state.speciality_insert = action.payload;
25547
- }), _defineProperty(_extraReducers$j, EDIT_SPECIALITY.fulfilled, function (state, action) {
25547
+ }), _defineProperty(_extraReducers$k, EDIT_SPECIALITY.fulfilled, function (state, action) {
25548
25548
  state.speciality_edit.loading = false, state.speciality_edit.error = false, state.speciality_edit = action.payload;
25549
- }), _defineProperty(_extraReducers$j, EDIT_SPECIALITY.pending, function (state, action) {
25549
+ }), _defineProperty(_extraReducers$k, EDIT_SPECIALITY.pending, function (state, action) {
25550
25550
  state.speciality_edit.loading = true, state.speciality_edit.error = false, state.speciality_edit.loading = true;
25551
- }), _defineProperty(_extraReducers$j, EDIT_SPECIALITY.rejected, function (state, action) {
25551
+ }), _defineProperty(_extraReducers$k, EDIT_SPECIALITY.rejected, function (state, action) {
25552
25552
  state.speciality_edit.loading = false, state.speciality_edit.error = true, state.speciality_edit = action.payload;
25553
- }), _extraReducers$j)
25553
+ }), _extraReducers$k)
25554
25554
  });
25555
25555
  var organizationConfigActions = {
25556
25556
  CARE_TYPE_READ: CARE_TYPE_READ,
@@ -25573,7 +25573,7 @@ var organizationConfigActions = {
25573
25573
  };
25574
25574
  var organizationConfigSlice$1 = organizationConfigSlice.reducer;
25575
25575
 
25576
- var _extraReducers$i;
25576
+ var _extraReducers$j;
25577
25577
  var CARE_TYPE_MASTERS = createAsyncThunk("organizationConfigMasterAPISlice/care_type_master", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
25578
25578
  var _ref2,
25579
25579
  rejectWithValue,
@@ -25589,7 +25589,7 @@ var CARE_TYPE_MASTERS = createAsyncThunk("organizationConfigMasterAPISlice/care_
25589
25589
  _context.prev = 2;
25590
25590
  _context.next = 5;
25591
25591
  return fetchData({
25592
- body: JSON.stringify(masterQuery$2.careTypeMasterQuery())
25592
+ body: JSON.stringify(masterQuery$3.careTypeMasterQuery())
25593
25593
  }, __readDocumentUrl__);
25594
25594
 
25595
25595
  case 5:
@@ -25627,13 +25627,13 @@ var organizationConfigMasterSlice = createSlice({
25627
25627
  initialState: {
25628
25628
  care_type_master: _objectSpread2({}, defaultState.List)
25629
25629
  },
25630
- extraReducers: (_extraReducers$i = {}, _defineProperty(_extraReducers$i, CARE_TYPE_MASTERS.fulfilled, function (state, action) {
25630
+ extraReducers: (_extraReducers$j = {}, _defineProperty(_extraReducers$j, CARE_TYPE_MASTERS.fulfilled, function (state, action) {
25631
25631
  state.care_type_master.loading = false, state.care_type_master.error = false, state.care_type_master = action.payload;
25632
- }), _defineProperty(_extraReducers$i, CARE_TYPE_MASTERS.pending, function (state, action) {
25632
+ }), _defineProperty(_extraReducers$j, CARE_TYPE_MASTERS.pending, function (state, action) {
25633
25633
  state.care_type_master.loading = true, state.care_type_master.error = false;
25634
- }), _defineProperty(_extraReducers$i, CARE_TYPE_MASTERS.rejected, function (state, action) {
25634
+ }), _defineProperty(_extraReducers$j, CARE_TYPE_MASTERS.rejected, function (state, action) {
25635
25635
  state.care_type_master.loading = false, state.care_type_master.error = true, state.care_type_master = action.payload;
25636
- }), _extraReducers$i)
25636
+ }), _extraReducers$j)
25637
25637
  });
25638
25638
  var organizationConfigMasterActions = {
25639
25639
  CARE_TYPE_MASTERS: CARE_TYPE_MASTERS
@@ -25643,7 +25643,7 @@ var organizationConfigMasterSlice$1 = organizationConfigMasterSlice.reducer;
25643
25643
  var organization_config_actions = _objectSpread2({}, organizationConfigActions);
25644
25644
  var organization_config_master_action = _objectSpread2({}, organizationConfigMasterActions);
25645
25645
 
25646
- var query$4 = {
25646
+ var query$5 = {
25647
25647
  signInRead: function signInRead(list) {
25648
25648
  return {
25649
25649
  db_name: dbName,
@@ -25662,7 +25662,7 @@ var query$4 = {
25662
25662
  }
25663
25663
  };
25664
25664
 
25665
- var _extraReducers$h;
25665
+ var _extraReducers$i;
25666
25666
  var __options = {
25667
25667
  method: "POST",
25668
25668
  headers: {
@@ -25687,7 +25687,7 @@ var SIGN_IN_READ = createAsyncThunk("signInSlice/signInState", /*#__PURE__*/_asy
25687
25687
  _ref2 = _args.length > 1 ? _args[1] : undefined, rejectWithValue = _ref2.rejectWithValue;
25688
25688
  _context.prev = 2;
25689
25689
  list = payload.list;
25690
- queriesjson = query$4.signInRead(list);
25690
+ queriesjson = query$5.signInRead(list);
25691
25691
  _context.next = 7;
25692
25692
  return fetchData({
25693
25693
  body: JSON.stringify(queriesjson)
@@ -25781,7 +25781,7 @@ var GET_PERMISSION_ROLE_DATA = createAsyncThunk("signInApiSlice/getpermissiondat
25781
25781
  id = payload.id;
25782
25782
  _context3.next = 6;
25783
25783
  return fetchData({
25784
- body: JSON.stringify(query$4.IdmGetPermission(id))
25784
+ body: JSON.stringify(query$5.IdmGetPermission(id))
25785
25785
  }, __readDocumentUrl__);
25786
25786
 
25787
25787
  case 6:
@@ -25941,35 +25941,35 @@ var signInSlice = createSlice({
25941
25941
  SearchPractioner: _objectSpread2({}, defaultState.List),
25942
25942
  refreshToken: _objectSpread2({}, defaultState.Info)
25943
25943
  },
25944
- extraReducers: (_extraReducers$h = {}, _defineProperty(_extraReducers$h, GET_PERMISSION_ROLE_DATA.fulfilled, function (state, action) {
25944
+ extraReducers: (_extraReducers$i = {}, _defineProperty(_extraReducers$i, GET_PERMISSION_ROLE_DATA.fulfilled, function (state, action) {
25945
25945
  state.getpermissiondata.loading = false, state.getpermissiondata.error = false, state.getpermissiondata = action.payload;
25946
- }), _defineProperty(_extraReducers$h, GET_PERMISSION_ROLE_DATA.pending, function (state, action) {
25946
+ }), _defineProperty(_extraReducers$i, GET_PERMISSION_ROLE_DATA.pending, function (state, action) {
25947
25947
  state.getpermissiondata.loading = true, state.getpermissiondata.error = false, state.getpermissiondata.loading = true;
25948
- }), _defineProperty(_extraReducers$h, GET_PERMISSION_ROLE_DATA.rejected, function (state, action) {
25948
+ }), _defineProperty(_extraReducers$i, GET_PERMISSION_ROLE_DATA.rejected, function (state, action) {
25949
25949
  state.getpermissiondata.loading = false, state.getpermissiondata.error = true, state.getpermissiondata = action.payload;
25950
- }), _defineProperty(_extraReducers$h, SEARCH_PRACTIONER.fulfilled, function (state, action) {
25950
+ }), _defineProperty(_extraReducers$i, SEARCH_PRACTIONER.fulfilled, function (state, action) {
25951
25951
  state.SearchPractioner.loading = false, state.SearchPractioner.error = false, state.SearchPractioner = action.payload;
25952
- }), _defineProperty(_extraReducers$h, SEARCH_PRACTIONER.pending, function (state, action) {
25952
+ }), _defineProperty(_extraReducers$i, SEARCH_PRACTIONER.pending, function (state, action) {
25953
25953
  state.SearchPractioner.loading = true, state.SearchPractioner.error = false, state.SearchPractioner.loading = true;
25954
- }), _defineProperty(_extraReducers$h, SEARCH_PRACTIONER.rejected, function (state, action) {
25954
+ }), _defineProperty(_extraReducers$i, SEARCH_PRACTIONER.rejected, function (state, action) {
25955
25955
  state.SearchPractioner.loading = false, state.SearchPractioner.error = true, state.SearchPractioner = action.payload;
25956
- }), _defineProperty(_extraReducers$h, SIGN_IN_READ.fulfilled, function (state, action) {
25956
+ }), _defineProperty(_extraReducers$i, SIGN_IN_READ.fulfilled, function (state, action) {
25957
25957
  state.sign_in_read.loading = false, state.sign_in_read.error = false, state.sign_in_read = action.payload;
25958
- }), _defineProperty(_extraReducers$h, SIGN_IN_READ.pending, function (state, action) {
25958
+ }), _defineProperty(_extraReducers$i, SIGN_IN_READ.pending, function (state, action) {
25959
25959
  state.sign_in_read.loading = true, state.sign_in_read.error = false, state.sign_in_read.loading = true;
25960
- }), _defineProperty(_extraReducers$h, SIGN_IN_READ.rejected, function (state, action) {
25960
+ }), _defineProperty(_extraReducers$i, SIGN_IN_READ.rejected, function (state, action) {
25961
25961
  state.sign_in_read.loading = false, state.sign_in_read.error = true, state.sign_in_read = action.payload;
25962
- }), _defineProperty(_extraReducers$h, REFRESH_TOKEN.fulfilled, function (state, action) {
25962
+ }), _defineProperty(_extraReducers$i, REFRESH_TOKEN.fulfilled, function (state, action) {
25963
25963
  var _action$payload;
25964
25964
 
25965
25965
  state.refreshToken = (_action$payload = action === null || action === void 0 ? void 0 : action.payload) !== null && _action$payload !== void 0 ? _action$payload : {};
25966
- }), _defineProperty(_extraReducers$h, REFRESH_TOKEN.pending, function (state, action) {
25966
+ }), _defineProperty(_extraReducers$i, REFRESH_TOKEN.pending, function (state, action) {
25967
25967
  state.refreshToken.loading = true;
25968
- }), _defineProperty(_extraReducers$h, REFRESH_TOKEN.rejected, function (state, action) {
25968
+ }), _defineProperty(_extraReducers$i, REFRESH_TOKEN.rejected, function (state, action) {
25969
25969
  var _action$payload2;
25970
25970
 
25971
25971
  state.refreshToken = (_action$payload2 = action === null || action === void 0 ? void 0 : action.payload) !== null && _action$payload2 !== void 0 ? _action$payload2 : {};
25972
- }), _extraReducers$h)
25972
+ }), _extraReducers$i)
25973
25973
  });
25974
25974
  var signinActions = {
25975
25975
  SIGN_IN_READ: SIGN_IN_READ,
@@ -26093,7 +26093,7 @@ var queries$a = {
26093
26093
  }
26094
26094
  };
26095
26095
 
26096
- var _extraReducers$g;
26096
+ var _extraReducers$h;
26097
26097
  var PERMISSION_ROLE_UPSERT = createAsyncThunk("rolesSlice/permission_role_upsert", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
26098
26098
  var payload,
26099
26099
  _ref2,
@@ -26423,49 +26423,49 @@ var rolesSlice = createSlice({
26423
26423
  codable_concept_delete: _objectSpread2({}, defaultState.List),
26424
26424
  coding_upsert: _objectSpread2({}, defaultState.List)
26425
26425
  },
26426
- extraReducers: (_extraReducers$g = {}, _defineProperty(_extraReducers$g, PERMISSION_ROLE_UPSERT.fulfilled, function (state, action) {
26426
+ extraReducers: (_extraReducers$h = {}, _defineProperty(_extraReducers$h, PERMISSION_ROLE_UPSERT.fulfilled, function (state, action) {
26427
26427
  state.permission_role_upsert.loading = false, state.permission_role_upsert.error = false, state.permission_role_upsert = action.payload;
26428
- }), _defineProperty(_extraReducers$g, PERMISSION_ROLE_UPSERT.pending, function (state, action) {
26428
+ }), _defineProperty(_extraReducers$h, PERMISSION_ROLE_UPSERT.pending, function (state, action) {
26429
26429
  state.permission_role_upsert.loading = true, state.permission_role_upsert.error = false, state.permission_role_upsert.loading = true;
26430
- }), _defineProperty(_extraReducers$g, PERMISSION_ROLE_UPSERT.rejected, function (state, action) {
26430
+ }), _defineProperty(_extraReducers$h, PERMISSION_ROLE_UPSERT.rejected, function (state, action) {
26431
26431
  state.permission_role_upsert.loading = false, state.permission_role_upsert.error = true, state.permission_role_upsert = action.payload;
26432
- }), _defineProperty(_extraReducers$g, CODABALE_CONCEPT_UPSERT.fulfilled, function (state, action) {
26432
+ }), _defineProperty(_extraReducers$h, CODABALE_CONCEPT_UPSERT.fulfilled, function (state, action) {
26433
26433
  state.codable_concept_upsert.loading = false, state.codable_concept_upsert.error = false, state.codable_concept_upsert = action.payload;
26434
- }), _defineProperty(_extraReducers$g, CODABALE_CONCEPT_UPSERT.pending, function (state, action) {
26434
+ }), _defineProperty(_extraReducers$h, CODABALE_CONCEPT_UPSERT.pending, function (state, action) {
26435
26435
  state.codable_concept_upsert.loading = true, state.codable_concept_upsert.error = false, state.codable_concept_upsert.loading = true;
26436
- }), _defineProperty(_extraReducers$g, CODABALE_CONCEPT_UPSERT.rejected, function (state, action) {
26436
+ }), _defineProperty(_extraReducers$h, CODABALE_CONCEPT_UPSERT.rejected, function (state, action) {
26437
26437
  state.codable_concept_upsert.loading = false, state.codable_concept_upsert.error = true, state.codable_concept_upsert = action.payload;
26438
- }), _defineProperty(_extraReducers$g, PERMISSION_MANAGEMENT_READ.fulfilled, function (state, action) {
26438
+ }), _defineProperty(_extraReducers$h, PERMISSION_MANAGEMENT_READ.fulfilled, function (state, action) {
26439
26439
  state.permission_management_read.loading = false, state.permission_management_read.error = false, state.permission_management_read = action.payload;
26440
- }), _defineProperty(_extraReducers$g, PERMISSION_MANAGEMENT_READ.pending, function (state, action) {
26440
+ }), _defineProperty(_extraReducers$h, PERMISSION_MANAGEMENT_READ.pending, function (state, action) {
26441
26441
  state.permission_management_read.loading = true, state.permission_management_read.error = false, state.permission_management_read.loading = true;
26442
- }), _defineProperty(_extraReducers$g, PERMISSION_MANAGEMENT_READ.rejected, function (state, action) {
26442
+ }), _defineProperty(_extraReducers$h, PERMISSION_MANAGEMENT_READ.rejected, function (state, action) {
26443
26443
  state.permission_management_read.loading = false, state.permission_management_read.error = true, state.permission_management_read = action.payload;
26444
- }), _defineProperty(_extraReducers$g, PERMISSION_MANAGEMENT_ROLE_READ.fulfilled, function (state, action) {
26444
+ }), _defineProperty(_extraReducers$h, PERMISSION_MANAGEMENT_ROLE_READ.fulfilled, function (state, action) {
26445
26445
  state.permission_management_role_read.loading = false, state.permission_management_role_read.error = false, state.permission_management_role_read = action.payload;
26446
- }), _defineProperty(_extraReducers$g, PERMISSION_MANAGEMENT_ROLE_READ.pending, function (state, action) {
26446
+ }), _defineProperty(_extraReducers$h, PERMISSION_MANAGEMENT_ROLE_READ.pending, function (state, action) {
26447
26447
  state.permission_management_role_read.loading = true, state.permission_management_role_read.error = false, state.permission_management_role_read.loading = true;
26448
- }), _defineProperty(_extraReducers$g, PERMISSION_MANAGEMENT_ROLE_READ.rejected, function (state, action) {
26448
+ }), _defineProperty(_extraReducers$h, PERMISSION_MANAGEMENT_ROLE_READ.rejected, function (state, action) {
26449
26449
  state.permission_management_role_read.loading = false, state.permission_management_role_read.error = true, state.permission_management_role_read = action.payload;
26450
- }), _defineProperty(_extraReducers$g, ROLE_READ.fulfilled, function (state, action) {
26450
+ }), _defineProperty(_extraReducers$h, ROLE_READ.fulfilled, function (state, action) {
26451
26451
  state.role_read.loading = false, state.role_read.error = false, state.role_read = action.payload;
26452
- }), _defineProperty(_extraReducers$g, ROLE_READ.pending, function (state, action) {
26452
+ }), _defineProperty(_extraReducers$h, ROLE_READ.pending, function (state, action) {
26453
26453
  state.role_read.loading = true, state.role_read.error = false, state.role_read.loading = true;
26454
- }), _defineProperty(_extraReducers$g, ROLE_READ.rejected, function (state, action) {
26454
+ }), _defineProperty(_extraReducers$h, ROLE_READ.rejected, function (state, action) {
26455
26455
  state.role_read.loading = false, state.role_read.error = true, state.role_read = action.payload;
26456
- }), _defineProperty(_extraReducers$g, CODABALE_CONCEPT_DELETE.fulfilled, function (state, action) {
26456
+ }), _defineProperty(_extraReducers$h, CODABALE_CONCEPT_DELETE.fulfilled, function (state, action) {
26457
26457
  state.role_read.loading = false, state.role_read.error = false, state.role_read = action.payload;
26458
- }), _defineProperty(_extraReducers$g, CODABALE_CONCEPT_DELETE.pending, function (state, action) {
26458
+ }), _defineProperty(_extraReducers$h, CODABALE_CONCEPT_DELETE.pending, function (state, action) {
26459
26459
  state.role_read.loading = true, state.role_read.error = false, state.role_read.loading = true;
26460
- }), _defineProperty(_extraReducers$g, CODABALE_CONCEPT_DELETE.rejected, function (state, action) {
26460
+ }), _defineProperty(_extraReducers$h, CODABALE_CONCEPT_DELETE.rejected, function (state, action) {
26461
26461
  state.role_read.loading = false, state.role_read.error = true, state.role_read = action.payload;
26462
- }), _defineProperty(_extraReducers$g, CODING_UPSERT.fulfilled, function (state, action) {
26462
+ }), _defineProperty(_extraReducers$h, CODING_UPSERT.fulfilled, function (state, action) {
26463
26463
  state.coding_upsert.loading = false, state.coding_upsert.error = false, state.coding_upsert = action.payload;
26464
- }), _defineProperty(_extraReducers$g, CODING_UPSERT.pending, function (state, action) {
26464
+ }), _defineProperty(_extraReducers$h, CODING_UPSERT.pending, function (state, action) {
26465
26465
  state.coding_upsert.loading = true, state.coding_upsert.error = false, state.coding_upsert.loading = true;
26466
- }), _defineProperty(_extraReducers$g, CODING_UPSERT.rejected, function (state, action) {
26466
+ }), _defineProperty(_extraReducers$h, CODING_UPSERT.rejected, function (state, action) {
26467
26467
  state.coding_upsert.loading = false, state.coding_upsert.error = true, state.coding_upsert = action.payload;
26468
- }), _extraReducers$g)
26468
+ }), _extraReducers$h)
26469
26469
  });
26470
26470
  var roleActions = {
26471
26471
  CODING_UPSERT: CODING_UPSERT,
@@ -26527,7 +26527,7 @@ var queries$9 = {
26527
26527
  }
26528
26528
  };
26529
26529
 
26530
- var _extraReducers$f;
26530
+ var _extraReducers$g;
26531
26531
  var REPOSITORY_READ_DOCUMENT = createAsyncThunk("repositorySlice/repository_read", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
26532
26532
  var payload,
26533
26533
  _ref2,
@@ -26581,13 +26581,13 @@ var repositorySlice = createSlice({
26581
26581
  initialState: {
26582
26582
  repository_read: _objectSpread2({}, defaultState.List)
26583
26583
  },
26584
- extraReducers: (_extraReducers$f = {}, _defineProperty(_extraReducers$f, REPOSITORY_READ_DOCUMENT.fulfilled, function (state, action) {
26584
+ extraReducers: (_extraReducers$g = {}, _defineProperty(_extraReducers$g, REPOSITORY_READ_DOCUMENT.fulfilled, function (state, action) {
26585
26585
  state.repository_read.loading = false, state.repository_read.error = false, state.repository_read = action.payload;
26586
- }), _defineProperty(_extraReducers$f, REPOSITORY_READ_DOCUMENT.pending, function (state, action) {
26586
+ }), _defineProperty(_extraReducers$g, REPOSITORY_READ_DOCUMENT.pending, function (state, action) {
26587
26587
  state.repository_read.loading = true, state.repository_read.error = false, state.repository_read.loading = true;
26588
- }), _defineProperty(_extraReducers$f, REPOSITORY_READ_DOCUMENT.rejected, function (state, action) {
26588
+ }), _defineProperty(_extraReducers$g, REPOSITORY_READ_DOCUMENT.rejected, function (state, action) {
26589
26589
  state.repository_read.loading = false, state.repository_read.error = true, state.repository_read = action.payload;
26590
- }), _extraReducers$f)
26590
+ }), _extraReducers$g)
26591
26591
  });
26592
26592
  var repositoryActions = {
26593
26593
  REPOSITORY_READ_DOCUMENT: REPOSITORY_READ_DOCUMENT
@@ -26646,7 +26646,7 @@ var queries$8 = {
26646
26646
  }
26647
26647
  };
26648
26648
 
26649
- var _extraReducers$e;
26649
+ var _extraReducers$f;
26650
26650
  var PERMISSION_UPSERT = createAsyncThunk("permissionSlice/permission_upsert", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
26651
26651
  var payload,
26652
26652
  _ref2,
@@ -26792,25 +26792,25 @@ var permissionSlice = createSlice({
26792
26792
  permission_delete: _objectSpread2({}, defaultState.List),
26793
26793
  permission_read: _objectSpread2({}, defaultState.List)
26794
26794
  },
26795
- extraReducers: (_extraReducers$e = {}, _defineProperty(_extraReducers$e, PERMISSION_UPSERT.fulfilled, function (state, action) {
26795
+ extraReducers: (_extraReducers$f = {}, _defineProperty(_extraReducers$f, PERMISSION_UPSERT.fulfilled, function (state, action) {
26796
26796
  state.permission_upsert.loading = false, state.permission_upsert.error = false, state.permission_upsert = action.payload;
26797
- }), _defineProperty(_extraReducers$e, PERMISSION_UPSERT.pending, function (state, action) {
26797
+ }), _defineProperty(_extraReducers$f, PERMISSION_UPSERT.pending, function (state, action) {
26798
26798
  state.permission_upsert.loading = true, state.permission_upsert.error = false, state.permission_upsert.loading = true;
26799
- }), _defineProperty(_extraReducers$e, PERMISSION_UPSERT.rejected, function (state, action) {
26799
+ }), _defineProperty(_extraReducers$f, PERMISSION_UPSERT.rejected, function (state, action) {
26800
26800
  state.permission_upsert.loading = false, state.permission_upsert.error = true, state.permission_upsert = action.payload;
26801
- }), _defineProperty(_extraReducers$e, PERMISSION_DELETE.fulfilled, function (state, action) {
26801
+ }), _defineProperty(_extraReducers$f, PERMISSION_DELETE.fulfilled, function (state, action) {
26802
26802
  state.permission_delete.loading = false, state.permission_delete.error = false, state.permission_delete = action.payload;
26803
- }), _defineProperty(_extraReducers$e, PERMISSION_DELETE.pending, function (state, action) {
26803
+ }), _defineProperty(_extraReducers$f, PERMISSION_DELETE.pending, function (state, action) {
26804
26804
  state.permission_delete.loading = true, state.permission_delete.error = false, state.permission_delete.loading = true;
26805
- }), _defineProperty(_extraReducers$e, PERMISSION_DELETE.rejected, function (state, action) {
26805
+ }), _defineProperty(_extraReducers$f, PERMISSION_DELETE.rejected, function (state, action) {
26806
26806
  state.permission_delete.loading = false, state.permission_delete.error = true, state.permission_delete = action.payload;
26807
- }), _defineProperty(_extraReducers$e, PERMISSION_READ.fulfilled, function (state, action) {
26807
+ }), _defineProperty(_extraReducers$f, PERMISSION_READ.fulfilled, function (state, action) {
26808
26808
  state.permission_read.loading = false, state.permission_read.error = false, state.permission_read = action.payload;
26809
- }), _defineProperty(_extraReducers$e, PERMISSION_READ.pending, function (state, action) {
26809
+ }), _defineProperty(_extraReducers$f, PERMISSION_READ.pending, function (state, action) {
26810
26810
  state.permission_read.loading = true, state.permission_read.error = false, state.permission_read.loading = true;
26811
- }), _defineProperty(_extraReducers$e, PERMISSION_READ.rejected, function (state, action) {
26811
+ }), _defineProperty(_extraReducers$f, PERMISSION_READ.rejected, function (state, action) {
26812
26812
  state.permission_read.loading = false, state.permission_read.error = true, state.permission_read = action.payload;
26813
- }), _extraReducers$e)
26813
+ }), _extraReducers$f)
26814
26814
  });
26815
26815
  var permissionActions = {
26816
26816
  PERMISSION_READ: PERMISSION_READ,
@@ -26969,7 +26969,7 @@ var queries$7 = {
26969
26969
  // }
26970
26970
  // },
26971
26971
 
26972
- var _extraReducers$d;
26972
+ var _extraReducers$e;
26973
26973
  var PERSON_UPSERT = createAsyncThunk("personSlice/person_upsert", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
26974
26974
  var payload,
26975
26975
  _ref2,
@@ -27610,85 +27610,85 @@ var personSlice = createSlice({
27610
27610
  use_master: _objectSpread2({}, defaultState.List),
27611
27611
  single_read_person: _objectSpread2({}, defaultState.List)
27612
27612
  },
27613
- extraReducers: (_extraReducers$d = {}, _defineProperty(_extraReducers$d, PERSON_UPSERT.fulfilled, function (state, action) {
27613
+ extraReducers: (_extraReducers$e = {}, _defineProperty(_extraReducers$e, PERSON_UPSERT.fulfilled, function (state, action) {
27614
27614
  state.person_upsert.loading = false, state.person_upsert.error = false, state.person_upsert = action.payload;
27615
- }), _defineProperty(_extraReducers$d, PERSON_UPSERT.pending, function (state, action) {
27615
+ }), _defineProperty(_extraReducers$e, PERSON_UPSERT.pending, function (state, action) {
27616
27616
  state.person_upsert.loading = true, state.person_upsert.error = false, state.person_upsert.loading = true;
27617
- }), _defineProperty(_extraReducers$d, PERSON_UPSERT.rejected, function (state, action) {
27617
+ }), _defineProperty(_extraReducers$e, PERSON_UPSERT.rejected, function (state, action) {
27618
27618
  state.person_upsert.loading = false, state.person_upsert.error = true, state.person_upsert = action.payload;
27619
- }), _defineProperty(_extraReducers$d, PERSON_DELETE.fulfilled, function (state, action) {
27619
+ }), _defineProperty(_extraReducers$e, PERSON_DELETE.fulfilled, function (state, action) {
27620
27620
  state.person_delete.loading = false, state.person_delete.error = false, state.person_delete = action.payload;
27621
- }), _defineProperty(_extraReducers$d, PERSON_DELETE.pending, function (state, action) {
27621
+ }), _defineProperty(_extraReducers$e, PERSON_DELETE.pending, function (state, action) {
27622
27622
  state.person_delete.loading = true, state.person_delete.error = false, state.person_delete.loading = true;
27623
- }), _defineProperty(_extraReducers$d, PERSON_DELETE.rejected, function (state, action) {
27623
+ }), _defineProperty(_extraReducers$e, PERSON_DELETE.rejected, function (state, action) {
27624
27624
  state.person_delete.loading = false, state.person_delete.error = true, state.person_delete = action.payload;
27625
- }), _defineProperty(_extraReducers$d, PERSON_READ.fulfilled, function (state, action) {
27625
+ }), _defineProperty(_extraReducers$e, PERSON_READ.fulfilled, function (state, action) {
27626
27626
  state.person_read.loading = false, state.person_read.error = false, state.person_read = action.payload;
27627
- }), _defineProperty(_extraReducers$d, PERSON_READ.pending, function (state, action) {
27627
+ }), _defineProperty(_extraReducers$e, PERSON_READ.pending, function (state, action) {
27628
27628
  state.person_read.loading = true, state.person_read.error = false, state.person_read.loading = true;
27629
- }), _defineProperty(_extraReducers$d, PERSON_READ.rejected, function (state, action) {
27629
+ }), _defineProperty(_extraReducers$e, PERSON_READ.rejected, function (state, action) {
27630
27630
  state.person_read.loading = false, state.person_read.error = true, state.person_read = action.payload;
27631
- }), _defineProperty(_extraReducers$d, CONTACTSYSTEMMASTER.fulfilled, function (state, action) {
27631
+ }), _defineProperty(_extraReducers$e, CONTACTSYSTEMMASTER.fulfilled, function (state, action) {
27632
27632
  state.contact_system_master.loading = false, state.contact_system_master.error = false, state.contact_system_master = action.payload;
27633
- }), _defineProperty(_extraReducers$d, CONTACTSYSTEMMASTER.pending, function (state, action) {
27633
+ }), _defineProperty(_extraReducers$e, CONTACTSYSTEMMASTER.pending, function (state, action) {
27634
27634
  state.contact_system_master.loading = true, state.contact_system_master.error = false, state.contact_system_master.loading = true;
27635
- }), _defineProperty(_extraReducers$d, CONTACTSYSTEMMASTER.rejected, function (state, action) {
27635
+ }), _defineProperty(_extraReducers$e, CONTACTSYSTEMMASTER.rejected, function (state, action) {
27636
27636
  state.contact_system_master.loading = false, state.contact_system_master.error = true, state.contact_system_master = action.payload;
27637
- }), _defineProperty(_extraReducers$d, ENTITYNAMEMASTER.fulfilled, function (state, action) {
27637
+ }), _defineProperty(_extraReducers$e, ENTITYNAMEMASTER.fulfilled, function (state, action) {
27638
27638
  state.entity_name_master.loading = false, state.entity_name_master.error = false, state.entity_name_master = action.payload;
27639
- }), _defineProperty(_extraReducers$d, ENTITYNAMEMASTER.pending, function (state, action) {
27639
+ }), _defineProperty(_extraReducers$e, ENTITYNAMEMASTER.pending, function (state, action) {
27640
27640
  state.entity_name_master.loading = true, state.entity_name_master.error = false, state.entity_name_master.loading = true;
27641
- }), _defineProperty(_extraReducers$d, ENTITYNAMEMASTER.rejected, function (state, action) {
27641
+ }), _defineProperty(_extraReducers$e, ENTITYNAMEMASTER.rejected, function (state, action) {
27642
27642
  state.entity_name_master.loading = false, state.entity_name_master.error = true, state.entity_name_master = action.payload;
27643
- }), _defineProperty(_extraReducers$d, ENTITYTYPEMASTER.fulfilled, function (state, action) {
27643
+ }), _defineProperty(_extraReducers$e, ENTITYTYPEMASTER.fulfilled, function (state, action) {
27644
27644
  state.entity_type_master.loading = false, state.entity_type_master.error = false, state.entity_type_master = action.payload;
27645
- }), _defineProperty(_extraReducers$d, ENTITYTYPEMASTER.pending, function (state, action) {
27645
+ }), _defineProperty(_extraReducers$e, ENTITYTYPEMASTER.pending, function (state, action) {
27646
27646
  state.entity_type_master.loading = true, state.entity_type_master.error = false, state.entity_type_master.loading = true;
27647
- }), _defineProperty(_extraReducers$d, ENTITYTYPEMASTER.rejected, function (state, action) {
27647
+ }), _defineProperty(_extraReducers$e, ENTITYTYPEMASTER.rejected, function (state, action) {
27648
27648
  state.entity_type_master.loading = false, state.entity_type_master.error = true, state.entity_type_master = action.payload;
27649
- }), _defineProperty(_extraReducers$d, GENDERMASTER.fulfilled, function (state, action) {
27649
+ }), _defineProperty(_extraReducers$e, GENDERMASTER.fulfilled, function (state, action) {
27650
27650
  state.gender_master.loading = false, state.gender_master.error = false, state.gender_master = action.payload;
27651
- }), _defineProperty(_extraReducers$d, GENDERMASTER.pending, function (state, action) {
27651
+ }), _defineProperty(_extraReducers$e, GENDERMASTER.pending, function (state, action) {
27652
27652
  state.gender_master.loading = true, state.gender_master.error = false, state.gender_master.loading = true;
27653
- }), _defineProperty(_extraReducers$d, GENDERMASTER.rejected, function (state, action) {
27653
+ }), _defineProperty(_extraReducers$e, GENDERMASTER.rejected, function (state, action) {
27654
27654
  state.gender_master.loading = false, state.gender_master.error = true, state.gender_master = action.payload;
27655
- }), _defineProperty(_extraReducers$d, IDTYPEMASTER.fulfilled, function (state, action) {
27655
+ }), _defineProperty(_extraReducers$e, IDTYPEMASTER.fulfilled, function (state, action) {
27656
27656
  state.id_type_master.loading = false, state.id_type_master.error = false, state.id_type_master = action.payload;
27657
- }), _defineProperty(_extraReducers$d, IDTYPEMASTER.pending, function (state, action) {
27657
+ }), _defineProperty(_extraReducers$e, IDTYPEMASTER.pending, function (state, action) {
27658
27658
  state.id_type_master.loading = true, state.id_type_master.error = false, state.id_type_master.loading = true;
27659
- }), _defineProperty(_extraReducers$d, IDTYPEMASTER.rejected, function (state, action) {
27659
+ }), _defineProperty(_extraReducers$e, IDTYPEMASTER.rejected, function (state, action) {
27660
27660
  state.id_type_master.loading = false, state.id_type_master.error = true, state.id_type_master = action.payload;
27661
- }), _defineProperty(_extraReducers$d, PREFIXMASTER.fulfilled, function (state, action) {
27661
+ }), _defineProperty(_extraReducers$e, PREFIXMASTER.fulfilled, function (state, action) {
27662
27662
  state.prefix_master.loading = false, state.prefix_master.error = false, state.prefix_master = action.payload;
27663
- }), _defineProperty(_extraReducers$d, PREFIXMASTER.pending, function (state, action) {
27663
+ }), _defineProperty(_extraReducers$e, PREFIXMASTER.pending, function (state, action) {
27664
27664
  state.prefix_master.loading = true, state.prefix_master.error = false, state.prefix_master.loading = true;
27665
- }), _defineProperty(_extraReducers$d, PREFIXMASTER.rejected, function (state, action) {
27665
+ }), _defineProperty(_extraReducers$e, PREFIXMASTER.rejected, function (state, action) {
27666
27666
  state.prefix_master.loading = false, state.prefix_master.error = true, state.prefix_master = action.payload;
27667
- }), _defineProperty(_extraReducers$d, PRIORITYMASTER.fulfilled, function (state, action) {
27667
+ }), _defineProperty(_extraReducers$e, PRIORITYMASTER.fulfilled, function (state, action) {
27668
27668
  state.priority_master.loading = false, state.priority_master.error = false, state.priority_master = action.payload;
27669
- }), _defineProperty(_extraReducers$d, PRIORITYMASTER.pending, function (state, action) {
27669
+ }), _defineProperty(_extraReducers$e, PRIORITYMASTER.pending, function (state, action) {
27670
27670
  state.priority_master.loading = true, state.priority_master.error = false, state.priority_master.loading = true;
27671
- }), _defineProperty(_extraReducers$d, PRIORITYMASTER.rejected, function (state, action) {
27671
+ }), _defineProperty(_extraReducers$e, PRIORITYMASTER.rejected, function (state, action) {
27672
27672
  state.priority_master.loading = false, state.priority_master.error = true, state.priority_master = action.payload;
27673
- }), _defineProperty(_extraReducers$d, SURFFIXMASTER.fulfilled, function (state, action) {
27673
+ }), _defineProperty(_extraReducers$e, SURFFIXMASTER.fulfilled, function (state, action) {
27674
27674
  state.surffix_master.loading = false, state.surffix_master.error = false, state.surffix_master = action.payload;
27675
- }), _defineProperty(_extraReducers$d, SURFFIXMASTER.pending, function (state, action) {
27675
+ }), _defineProperty(_extraReducers$e, SURFFIXMASTER.pending, function (state, action) {
27676
27676
  state.surffix_master.loading = true, state.surffix_master.error = false, state.surffix_master.loading = true;
27677
- }), _defineProperty(_extraReducers$d, SURFFIXMASTER.rejected, function (state, action) {
27677
+ }), _defineProperty(_extraReducers$e, SURFFIXMASTER.rejected, function (state, action) {
27678
27678
  state.surffix_master.loading = false, state.surffix_master.error = true, state.surffix_master = action.payload;
27679
- }), _defineProperty(_extraReducers$d, USEMASTER.fulfilled, function (state, action) {
27679
+ }), _defineProperty(_extraReducers$e, USEMASTER.fulfilled, function (state, action) {
27680
27680
  state.use_master.loading = false, state.use_master.error = false, state.use_master = action.payload;
27681
- }), _defineProperty(_extraReducers$d, USEMASTER.pending, function (state, action) {
27681
+ }), _defineProperty(_extraReducers$e, USEMASTER.pending, function (state, action) {
27682
27682
  state.use_master.loading = true, state.use_master.error = false, state.use_master.loading = true;
27683
- }), _defineProperty(_extraReducers$d, USEMASTER.rejected, function (state, action) {
27683
+ }), _defineProperty(_extraReducers$e, USEMASTER.rejected, function (state, action) {
27684
27684
  state.use_master.loading = false, state.use_master.error = true, state.use_master = action.payload;
27685
- }), _defineProperty(_extraReducers$d, SINGLE_PERSON_READ.fulfilled, function (state, action) {
27685
+ }), _defineProperty(_extraReducers$e, SINGLE_PERSON_READ.fulfilled, function (state, action) {
27686
27686
  state.single_read_person.loading = false, state.single_read_person.error = false, state.single_read_person = action.payload;
27687
- }), _defineProperty(_extraReducers$d, SINGLE_PERSON_READ.pending, function (state, action) {
27687
+ }), _defineProperty(_extraReducers$e, SINGLE_PERSON_READ.pending, function (state, action) {
27688
27688
  state.single_read_person.loading = true, state.single_read_person.error = false, state.single_read_person.loading = true;
27689
- }), _defineProperty(_extraReducers$d, SINGLE_PERSON_READ.rejected, function (state, action) {
27689
+ }), _defineProperty(_extraReducers$e, SINGLE_PERSON_READ.rejected, function (state, action) {
27690
27690
  state.single_read_person.loading = false, state.single_read_person.error = true, state.single_read_person = action.payload;
27691
- }), _extraReducers$d)
27691
+ }), _extraReducers$e)
27692
27692
  });
27693
27693
  var personActions = {
27694
27694
  PERSON_READ: PERSON_READ,
@@ -27767,7 +27767,7 @@ var queries$6 = {
27767
27767
  }
27768
27768
  };
27769
27769
 
27770
- var _extraReducers$c;
27770
+ var _extraReducers$d;
27771
27771
  var USER_UPSERT = createAsyncThunk("userSlice/user_upsert", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
27772
27772
  var payload,
27773
27773
  _ref2,
@@ -27907,25 +27907,25 @@ var userSlice = createSlice({
27907
27907
  user_delete: _objectSpread2({}, defaultState.List),
27908
27908
  user_read: _objectSpread2({}, defaultState.List)
27909
27909
  },
27910
- extraReducers: (_extraReducers$c = {}, _defineProperty(_extraReducers$c, USER_UPSERT.fulfilled, function (state, action) {
27910
+ extraReducers: (_extraReducers$d = {}, _defineProperty(_extraReducers$d, USER_UPSERT.fulfilled, function (state, action) {
27911
27911
  state.user_upsert.loading = false, state.user_upsert.error = false, state.user_upsert = action.payload;
27912
- }), _defineProperty(_extraReducers$c, USER_UPSERT.pending, function (state, action) {
27912
+ }), _defineProperty(_extraReducers$d, USER_UPSERT.pending, function (state, action) {
27913
27913
  state.user_upsert.loading = true, state.user_upsert.error = false, state.user_upsert.loading = true;
27914
- }), _defineProperty(_extraReducers$c, USER_UPSERT.rejected, function (state, action) {
27914
+ }), _defineProperty(_extraReducers$d, USER_UPSERT.rejected, function (state, action) {
27915
27915
  state.user_upsert.loading = false, state.user_upsert.error = true, state.user_upsert = action.payload;
27916
- }), _defineProperty(_extraReducers$c, USER_DELETE.fulfilled, function (state, action) {
27916
+ }), _defineProperty(_extraReducers$d, USER_DELETE.fulfilled, function (state, action) {
27917
27917
  state.user_delete.loading = false, state.user_delete.error = false, state.user_delete = action.payload;
27918
- }), _defineProperty(_extraReducers$c, USER_DELETE.pending, function (state, action) {
27918
+ }), _defineProperty(_extraReducers$d, USER_DELETE.pending, function (state, action) {
27919
27919
  state.user_delete.loading = true, state.user_delete.error = false, state.user_delete.loading = true;
27920
- }), _defineProperty(_extraReducers$c, USER_DELETE.rejected, function (state, action) {
27920
+ }), _defineProperty(_extraReducers$d, USER_DELETE.rejected, function (state, action) {
27921
27921
  state.user_delete.loading = false, state.user_delete.error = true, state.user_delete = action.payload;
27922
- }), _defineProperty(_extraReducers$c, USER_READ.fulfilled, function (state, action) {
27922
+ }), _defineProperty(_extraReducers$d, USER_READ.fulfilled, function (state, action) {
27923
27923
  state.user_read.loading = false, state.user_read.error = false, state.user_read = action.payload;
27924
- }), _defineProperty(_extraReducers$c, USER_READ.pending, function (state, action) {
27924
+ }), _defineProperty(_extraReducers$d, USER_READ.pending, function (state, action) {
27925
27925
  state.user_read.loading = true, state.user_read.error = false, state.user_read.loading = true;
27926
- }), _defineProperty(_extraReducers$c, USER_READ.rejected, function (state, action) {
27926
+ }), _defineProperty(_extraReducers$d, USER_READ.rejected, function (state, action) {
27927
27927
  state.user_read.loading = false, state.user_read.error = true, state.user_read = action.payload;
27928
- }), _extraReducers$c)
27928
+ }), _extraReducers$d)
27929
27929
  });
27930
27930
  var userActions = {
27931
27931
  USER_READ: USER_READ,
@@ -27938,7 +27938,7 @@ var user_actions = _objectSpread2({}, userActions);
27938
27938
 
27939
27939
  var user_management_actions = _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, roles_actions), repository_actions), permission_actions), person_actions), user_actions);
27940
27940
 
27941
- var generateJson$5 = function generateJson(data, _key) {
27941
+ var generateJson$6 = function generateJson(data, _key) {
27942
27942
  var _data$approvalData, _data$orderingFacilit, _data$orderingFacilit2, _data$ServiceApplicab, _data$ServiceApplicab2, _data$ruleType$_id, _data$ruleType, _data$PrivilegeType$_, _data$PrivilegeType, _data$status;
27943
27943
 
27944
27944
  var filter = {};
@@ -27980,7 +27980,7 @@ var generateJson$5 = function generateJson(data, _key) {
27980
27980
  })];
27981
27981
  };
27982
27982
 
27983
- var _extraReducers$b;
27983
+ var _extraReducers$c;
27984
27984
  var UPSERT_ALERT = createAsyncThunk("alertRestictionsMasterSlice/save_alert", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
27985
27985
  var payload,
27986
27986
  _ref2,
@@ -27999,7 +27999,7 @@ var UPSERT_ALERT = createAsyncThunk("alertRestictionsMasterSlice/save_alert", /*
27999
27999
  _ref2 = _args.length > 1 ? _args[1] : undefined, rejectWithValue = _ref2.rejectWithValue;
28000
28000
  _context.prev = 2;
28001
28001
  list = payload.list, _key = payload._key;
28002
- queriesjson = generateJson$5(list, _key); // return
28002
+ queriesjson = generateJson$6(list, _key); // return
28003
28003
 
28004
28004
  _context.next = 7;
28005
28005
  return fetchData({
@@ -28300,31 +28300,31 @@ var alertRestictionsMasterSlice = createSlice({
28300
28300
  read_alert: _objectSpread2({}, defaultState.Info),
28301
28301
  read_alert_status: _objectSpread2({}, defaultState.Info)
28302
28302
  },
28303
- extraReducers: (_extraReducers$b = {}, _defineProperty(_extraReducers$b, GET_ALL_MASTER.fulfilled, function (state, action) {
28303
+ extraReducers: (_extraReducers$c = {}, _defineProperty(_extraReducers$c, GET_ALL_MASTER.fulfilled, function (state, action) {
28304
28304
  state.get_all_masters.loading = false, state.get_all_masters.error = false, state.get_all_masters = action.payload;
28305
- }), _defineProperty(_extraReducers$b, GET_ALL_MASTER.pending, function (state, action) {
28305
+ }), _defineProperty(_extraReducers$c, GET_ALL_MASTER.pending, function (state, action) {
28306
28306
  state.get_all_masters.loading = true, state.get_all_masters.error = false, state.get_all_masters.loading = true;
28307
- }), _defineProperty(_extraReducers$b, GET_ALL_MASTER.rejected, function (state, action) {
28307
+ }), _defineProperty(_extraReducers$c, GET_ALL_MASTER.rejected, function (state, action) {
28308
28308
  state.get_all_masters.loading = false, state.get_all_masters.error = true, state.get_all_masters = action.payload;
28309
- }), _defineProperty(_extraReducers$b, UPSERT_ALERT.fulfilled, function (state, action) {
28309
+ }), _defineProperty(_extraReducers$c, UPSERT_ALERT.fulfilled, function (state, action) {
28310
28310
  state.save_alert.loading = false, state.save_alert.error = false, state.save_alert = action.payload;
28311
- }), _defineProperty(_extraReducers$b, UPSERT_ALERT.pending, function (state, action) {
28311
+ }), _defineProperty(_extraReducers$c, UPSERT_ALERT.pending, function (state, action) {
28312
28312
  state.save_alert.loading = true, state.save_alert.error = false, state.save_alert.loading = true;
28313
- }), _defineProperty(_extraReducers$b, UPSERT_ALERT.rejected, function (state, action) {
28313
+ }), _defineProperty(_extraReducers$c, UPSERT_ALERT.rejected, function (state, action) {
28314
28314
  state.save_alert.loading = false, state.save_alert.error = true, state.save_alert = action.payload;
28315
- }), _defineProperty(_extraReducers$b, READ_ALERT.fulfilled, function (state, action) {
28315
+ }), _defineProperty(_extraReducers$c, READ_ALERT.fulfilled, function (state, action) {
28316
28316
  state.read_alert.loading = false, state.read_alert.error = false, state.read_alert = action.payload;
28317
- }), _defineProperty(_extraReducers$b, READ_ALERT.pending, function (state, action) {
28317
+ }), _defineProperty(_extraReducers$c, READ_ALERT.pending, function (state, action) {
28318
28318
  state.read_alert.loading = true, state.read_alert.error = false, state.read_alert.loading = true;
28319
- }), _defineProperty(_extraReducers$b, READ_ALERT.rejected, function (state, action) {
28319
+ }), _defineProperty(_extraReducers$c, READ_ALERT.rejected, function (state, action) {
28320
28320
  state.read_alert.loading = false, state.read_alert.error = true, state.read_alert = action.payload;
28321
- }), _defineProperty(_extraReducers$b, UPSERT_ALERT_STATUS.fulfilled, function (state, action) {
28321
+ }), _defineProperty(_extraReducers$c, UPSERT_ALERT_STATUS.fulfilled, function (state, action) {
28322
28322
  state.read_alert_status.loading = false, state.read_alert_status.error = false, state.read_alert_status = action.payload;
28323
- }), _defineProperty(_extraReducers$b, UPSERT_ALERT_STATUS.pending, function (state, action) {
28323
+ }), _defineProperty(_extraReducers$c, UPSERT_ALERT_STATUS.pending, function (state, action) {
28324
28324
  state.read_alert_status.loading = true, state.read_alert_status.error = false, state.read_alert_status.loading = true;
28325
- }), _defineProperty(_extraReducers$b, UPSERT_ALERT_STATUS.rejected, function (state, action) {
28325
+ }), _defineProperty(_extraReducers$c, UPSERT_ALERT_STATUS.rejected, function (state, action) {
28326
28326
  state.read_alert_status.loading = false, state.read_alert_status.error = true, state.read_alert_status = action.payload;
28327
- }), _extraReducers$b)
28327
+ }), _extraReducers$c)
28328
28328
  });
28329
28329
  var alertRestrictionsMasterActions = {
28330
28330
  GET_ALL_MASTER: GET_ALL_MASTER,
@@ -28402,7 +28402,7 @@ var queries$5 = {
28402
28402
  }
28403
28403
  };
28404
28404
 
28405
- var generateJson$4 = {
28405
+ var generateJson$5 = {
28406
28406
  insert_json: function insert_json(data, key) {
28407
28407
  var _data$coversionData;
28408
28408
 
@@ -28496,7 +28496,7 @@ var generateReadJson$1 = {
28496
28496
  }
28497
28497
  };
28498
28498
 
28499
- var _extraReducers$a;
28499
+ var _extraReducers$b;
28500
28500
  var DRUG_UOM_READ = createAsyncThunk("drugRoutesSlice/drug_uom_list", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
28501
28501
  var _ref2,
28502
28502
  rejectWithValue,
@@ -28677,7 +28677,7 @@ var UOM_CODE_INSERT = createAsyncThunk("drugRoutesSlice/drug_uom_code_insert", /
28677
28677
  _ref8 = _args4.length > 1 ? _args4[1] : undefined, rejectWithValue = _ref8.rejectWithValue;
28678
28678
  _context4.prev = 2;
28679
28679
  data = payload.data, key = payload.key;
28680
- queriesjson = generateJson$4.insert_json(data, key);
28680
+ queriesjson = generateJson$5.insert_json(data, key);
28681
28681
  _context4.next = 7;
28682
28682
  return fetchData({
28683
28683
  body: JSON.stringify(queriesjson)
@@ -28802,43 +28802,43 @@ var drugMasterUOMSlice = createSlice({
28802
28802
  drug_uom_read_line: _objectSpread2({}, defaultState.List),
28803
28803
  drug_uom_code_status: _objectSpread2({}, defaultState.List)
28804
28804
  },
28805
- extraReducers: (_extraReducers$a = {}, _defineProperty(_extraReducers$a, DRUG_UOM_READ.fulfilled, function (state, action) {
28805
+ extraReducers: (_extraReducers$b = {}, _defineProperty(_extraReducers$b, DRUG_UOM_READ.fulfilled, function (state, action) {
28806
28806
  state.drug_routes_direction_list.loading = false, state.drug_routes_direction_list.error = false, state.drug_routes_direction_list = action.payload;
28807
- }), _defineProperty(_extraReducers$a, DRUG_UOM_READ.pending, function (state, action) {
28807
+ }), _defineProperty(_extraReducers$b, DRUG_UOM_READ.pending, function (state, action) {
28808
28808
  state.drug_routes_direction_list.loading = true, state.drug_routes_direction_list.error = false, state.drug_routes_direction_list.loading = true;
28809
- }), _defineProperty(_extraReducers$a, DRUG_UOM_READ.rejected, function (state, action) {
28809
+ }), _defineProperty(_extraReducers$b, DRUG_UOM_READ.rejected, function (state, action) {
28810
28810
  state.drug_routes_direction_list.loading = false, state.drug_routes_direction_list.error = true, state.drug_routes_direction_list = action.payload;
28811
- }), _defineProperty(_extraReducers$a, DRUG_UOM_TYPE_DROP_DOWN.fulfilled, function (state, action) {
28811
+ }), _defineProperty(_extraReducers$b, DRUG_UOM_TYPE_DROP_DOWN.fulfilled, function (state, action) {
28812
28812
  state.drug_uom_type_master.loading = false, state.drug_uom_type_master.error = false, state.drug_uom_type_master = action.payload;
28813
- }), _defineProperty(_extraReducers$a, DRUG_UOM_TYPE_DROP_DOWN.pending, function (state, action) {
28813
+ }), _defineProperty(_extraReducers$b, DRUG_UOM_TYPE_DROP_DOWN.pending, function (state, action) {
28814
28814
  state.drug_uom_type_master.loading = true, state.drug_uom_type_master.error = false, state.drug_uom_type_master.loading = true;
28815
- }), _defineProperty(_extraReducers$a, DRUG_UOM_TYPE_DROP_DOWN.rejected, function (state, action) {
28815
+ }), _defineProperty(_extraReducers$b, DRUG_UOM_TYPE_DROP_DOWN.rejected, function (state, action) {
28816
28816
  state.drug_uom_type_master.loading = false, state.drug_uom_type_master.error = true, state.drug_uom_type_master = action.payload;
28817
- }), _defineProperty(_extraReducers$a, TO_UDM_CODE_DROPDOWN.fulfilled, function (state, action) {
28817
+ }), _defineProperty(_extraReducers$b, TO_UDM_CODE_DROPDOWN.fulfilled, function (state, action) {
28818
28818
  state.drug_uom_code_master.loading = false, state.drug_uom_code_master.error = false, state.drug_uom_code_master = action.payload;
28819
- }), _defineProperty(_extraReducers$a, TO_UDM_CODE_DROPDOWN.pending, function (state, action) {
28819
+ }), _defineProperty(_extraReducers$b, TO_UDM_CODE_DROPDOWN.pending, function (state, action) {
28820
28820
  state.drug_uom_code_master.loading = true, state.drug_uom_code_master.error = false, state.drug_uom_code_master.loading = true;
28821
- }), _defineProperty(_extraReducers$a, TO_UDM_CODE_DROPDOWN.rejected, function (state, action) {
28821
+ }), _defineProperty(_extraReducers$b, TO_UDM_CODE_DROPDOWN.rejected, function (state, action) {
28822
28822
  state.drug_uom_code_master.loading = false, state.drug_uom_code_master.error = true, state.drug_uom_code_master = action.payload;
28823
- }), _defineProperty(_extraReducers$a, UOM_CODE_INSERT.fulfilled, function (state, action) {
28823
+ }), _defineProperty(_extraReducers$b, UOM_CODE_INSERT.fulfilled, function (state, action) {
28824
28824
  state.drug_uom_code_insert.loading = false, state.drug_uom_code_insert.error = false, state.drug_uom_code_insert = action.payload;
28825
- }), _defineProperty(_extraReducers$a, UOM_CODE_INSERT.pending, function (state, action) {
28825
+ }), _defineProperty(_extraReducers$b, UOM_CODE_INSERT.pending, function (state, action) {
28826
28826
  state.drug_uom_code_insert.loading = true, state.drug_uom_code_insert.error = false, state.drug_uom_code_insert.loading = true;
28827
- }), _defineProperty(_extraReducers$a, UOM_CODE_INSERT.rejected, function (state, action) {
28827
+ }), _defineProperty(_extraReducers$b, UOM_CODE_INSERT.rejected, function (state, action) {
28828
28828
  state.drug_uom_code_insert.loading = false, state.drug_uom_code_insert.error = true, state.drug_uom_code_insert = action.payload;
28829
- }), _defineProperty(_extraReducers$a, DRUG_UOM_LINE_READ.fulfilled, function (state, action) {
28829
+ }), _defineProperty(_extraReducers$b, DRUG_UOM_LINE_READ.fulfilled, function (state, action) {
28830
28830
  state.drug_uom_read_line.loading = false, state.drug_uom_read_line.error = false, state.drug_uom_read_line = action.payload;
28831
- }), _defineProperty(_extraReducers$a, DRUG_UOM_LINE_READ.pending, function (state, action) {
28831
+ }), _defineProperty(_extraReducers$b, DRUG_UOM_LINE_READ.pending, function (state, action) {
28832
28832
  state.drug_uom_read_line.loading = true, state.drug_uom_read_line.error = false, state.drug_uom_read_line.loading = true;
28833
- }), _defineProperty(_extraReducers$a, DRUG_UOM_LINE_READ.rejected, function (state, action) {
28833
+ }), _defineProperty(_extraReducers$b, DRUG_UOM_LINE_READ.rejected, function (state, action) {
28834
28834
  state.drug_uom_read_line.loading = false, state.drug_uom_read_line.error = true, state.drug_uom_read_line = action.payload;
28835
- }), _defineProperty(_extraReducers$a, To_UOM_UPDATE_STATUS_FUN.fulfilled, function (state, action) {
28835
+ }), _defineProperty(_extraReducers$b, To_UOM_UPDATE_STATUS_FUN.fulfilled, function (state, action) {
28836
28836
  state.drug_uom_code_status.loading = false, state.drug_uom_code_status.error = false, state.drug_uom_code_status = action.payload;
28837
- }), _defineProperty(_extraReducers$a, To_UOM_UPDATE_STATUS_FUN.pending, function (state, action) {
28837
+ }), _defineProperty(_extraReducers$b, To_UOM_UPDATE_STATUS_FUN.pending, function (state, action) {
28838
28838
  state.drug_uom_code_status.loading = true, state.drug_uom_code_status.error = false, state.drug_uom_code_status.loading = true;
28839
- }), _defineProperty(_extraReducers$a, To_UOM_UPDATE_STATUS_FUN.rejected, function (state, action) {
28839
+ }), _defineProperty(_extraReducers$b, To_UOM_UPDATE_STATUS_FUN.rejected, function (state, action) {
28840
28840
  state.drug_uom_code_status.loading = false, state.drug_uom_code_status.error = true, state.drug_uom_code_status = action.payload;
28841
- }), _extraReducers$a)
28841
+ }), _extraReducers$b)
28842
28842
  });
28843
28843
  var drugMasterUomActions = {
28844
28844
  DRUG_UOM_READ: DRUG_UOM_READ,
@@ -28927,7 +28927,7 @@ var queries$4 = {
28927
28927
  }
28928
28928
  };
28929
28929
 
28930
- var generateJson$3 = {
28930
+ var generateJson$4 = {
28931
28931
  insert_json: function insert_json(data, key) {
28932
28932
  var _data$frequencyDefini, _data$frequencyDefini2, _data$frequencyDefini3, _data$frequencyDescri, _data$frequencyDescri2, _data$frequencyDescri3, _data$frequencyDescri4, _data$frequencyDescri5, _data$frequencyDescri6, _data$frequencyDescri7, _data$frequencyDescri8, _data$frequencyDescri9, _data$frequencyDescri10, _data$frequencyDescri11, _data$frequencyDescri12, _data$frequencyDescri13, _data$frequencyDescri14, _data$frequencyDescri15;
28933
28933
 
@@ -29023,7 +29023,7 @@ var generateReadJson = {
29023
29023
  }
29024
29024
  };
29025
29025
 
29026
- var _extraReducers$9;
29026
+ var _extraReducers$a;
29027
29027
  var DRUG_FREQUENCY_READ = createAsyncThunk("drugMasterFREQUENCYSlice/drug_frequncy_list", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
29028
29028
  var _ref2,
29029
29029
  rejectWithValue,
@@ -29347,7 +29347,7 @@ var UOM_DRUG_FREQ_INSERT = createAsyncThunk("drugMasterFREQUENCYSlice/drug_uom_f
29347
29347
  _ref14 = _args7.length > 1 ? _args7[1] : undefined, rejectWithValue = _ref14.rejectWithValue;
29348
29348
  _context7.prev = 2;
29349
29349
  data = payload.data, key = payload.key;
29350
- queriesjson = generateJson$3.insert_json(data, key);
29350
+ queriesjson = generateJson$4.insert_json(data, key);
29351
29351
  _context7.next = 7;
29352
29352
  return fetchData({
29353
29353
  body: JSON.stringify(queriesjson)
@@ -29475,61 +29475,61 @@ var drugMasterFREQUENCYSlice = createSlice({
29475
29475
  drug_uom_freq_status: _objectSpread2({}, defaultState.List),
29476
29476
  drug_freq_read_single_yt: _objectSpread2({}, defaultState.List)
29477
29477
  },
29478
- extraReducers: (_extraReducers$9 = {}, _defineProperty(_extraReducers$9, DRUG_FREQUENCY_READ.fulfilled, function (state, action) {
29478
+ extraReducers: (_extraReducers$a = {}, _defineProperty(_extraReducers$a, DRUG_FREQUENCY_READ.fulfilled, function (state, action) {
29479
29479
  state.drug_frequncy_list.loading = false, state.drug_frequncy_list.error = false, state.drug_frequncy_list = action.payload;
29480
- }), _defineProperty(_extraReducers$9, DRUG_FREQUENCY_READ.pending, function (state, action) {
29480
+ }), _defineProperty(_extraReducers$a, DRUG_FREQUENCY_READ.pending, function (state, action) {
29481
29481
  state.drug_frequncy_list.loading = true, state.drug_frequncy_list.error = false, state.drug_frequncy_list.loading = true;
29482
- }), _defineProperty(_extraReducers$9, DRUG_FREQUENCY_READ.rejected, function (state, action) {
29482
+ }), _defineProperty(_extraReducers$a, DRUG_FREQUENCY_READ.rejected, function (state, action) {
29483
29483
  state.drug_frequncy_list.loading = false, state.drug_frequncy_list.error = true, state.drug_frequncy_list = action.payload;
29484
- }), _defineProperty(_extraReducers$9, DRUG_SCHEDULEBY_READ.fulfilled, function (state, action) {
29484
+ }), _defineProperty(_extraReducers$a, DRUG_SCHEDULEBY_READ.fulfilled, function (state, action) {
29485
29485
  state.drug_schedule_list.loading = false, state.drug_schedule_list.error = false, state.drug_schedule_list = action.payload;
29486
- }), _defineProperty(_extraReducers$9, DRUG_SCHEDULEBY_READ.pending, function (state, action) {
29486
+ }), _defineProperty(_extraReducers$a, DRUG_SCHEDULEBY_READ.pending, function (state, action) {
29487
29487
  state.drug_schedule_list.loading = true, state.drug_schedule_list.error = false, state.drug_schedule_list.loading = true;
29488
- }), _defineProperty(_extraReducers$9, DRUG_SCHEDULEBY_READ.rejected, function (state, action) {
29488
+ }), _defineProperty(_extraReducers$a, DRUG_SCHEDULEBY_READ.rejected, function (state, action) {
29489
29489
  state.drug_schedule_list.loading = false, state.drug_schedule_list.error = true, state.drug_schedule_list = action.payload;
29490
- }), _defineProperty(_extraReducers$9, DRUG_FREQUENCY_UOM_READ.fulfilled, function (state, action) {
29490
+ }), _defineProperty(_extraReducers$a, DRUG_FREQUENCY_UOM_READ.fulfilled, function (state, action) {
29491
29491
  state.drug_frequncy_uom_list.loading = false, state.drug_frequncy_uom_list.error = false, state.drug_frequncy_uom_list = action.payload;
29492
- }), _defineProperty(_extraReducers$9, DRUG_FREQUENCY_UOM_READ.pending, function (state, action) {
29492
+ }), _defineProperty(_extraReducers$a, DRUG_FREQUENCY_UOM_READ.pending, function (state, action) {
29493
29493
  state.drug_frequncy_uom_list.loading = true, state.drug_frequncy_uom_list.error = false, state.drug_frequncy_uom_list.loading = true;
29494
- }), _defineProperty(_extraReducers$9, DRUG_FREQUENCY_UOM_READ.rejected, function (state, action) {
29494
+ }), _defineProperty(_extraReducers$a, DRUG_FREQUENCY_UOM_READ.rejected, function (state, action) {
29495
29495
  state.drug_frequncy_uom_list.loading = false, state.drug_frequncy_uom_list.error = true, state.drug_frequncy_uom_list = action.payload;
29496
- }), _defineProperty(_extraReducers$9, DRUG_WEEKDAYS_READ.fulfilled, function (state, action) {
29496
+ }), _defineProperty(_extraReducers$a, DRUG_WEEKDAYS_READ.fulfilled, function (state, action) {
29497
29497
  state.drug_weekdays_list.loading = false, state.drug_weekdays_list.error = false, state.drug_weekdays_list = action.payload;
29498
- }), _defineProperty(_extraReducers$9, DRUG_WEEKDAYS_READ.pending, function (state, action) {
29498
+ }), _defineProperty(_extraReducers$a, DRUG_WEEKDAYS_READ.pending, function (state, action) {
29499
29499
  state.drug_weekdays_list.loading = true, state.drug_weekdays_list.error = false, state.drug_weekdays_list.loading = true;
29500
- }), _defineProperty(_extraReducers$9, DRUG_WEEKDAYS_READ.rejected, function (state, action) {
29500
+ }), _defineProperty(_extraReducers$a, DRUG_WEEKDAYS_READ.rejected, function (state, action) {
29501
29501
  state.drug_weekdays_list.loading = false, state.drug_weekdays_list.error = true, state.drug_weekdays_list = action.payload;
29502
- }), _defineProperty(_extraReducers$9, DRUG_FIXEDDURATIONTYPE_READ.fulfilled, function (state, action) {
29502
+ }), _defineProperty(_extraReducers$a, DRUG_FIXEDDURATIONTYPE_READ.fulfilled, function (state, action) {
29503
29503
  state.drug_fixeddurationType_list.loading = false, state.drug_fixeddurationType_list.error = false, state.drug_fixeddurationType_list = action.payload;
29504
- }), _defineProperty(_extraReducers$9, DRUG_FIXEDDURATIONTYPE_READ.pending, function (state, action) {
29504
+ }), _defineProperty(_extraReducers$a, DRUG_FIXEDDURATIONTYPE_READ.pending, function (state, action) {
29505
29505
  state.drug_fixeddurationType_list.loading = true, state.drug_fixeddurationType_list.error = false, state.drug_fixeddurationType_list.loading = true;
29506
- }), _defineProperty(_extraReducers$9, DRUG_FIXEDDURATIONTYPE_READ.rejected, function (state, action) {
29506
+ }), _defineProperty(_extraReducers$a, DRUG_FIXEDDURATIONTYPE_READ.rejected, function (state, action) {
29507
29507
  state.drug_fixeddurationType_list.loading = false, state.drug_fixeddurationType_list.error = true, state.drug_fixeddurationType_list = action.payload;
29508
- }), _defineProperty(_extraReducers$9, DRUG_FREQUENCYTYPE_READ.fulfilled, function (state, action) {
29508
+ }), _defineProperty(_extraReducers$a, DRUG_FREQUENCYTYPE_READ.fulfilled, function (state, action) {
29509
29509
  state.drug_frequnecyType_list.loading = false, state.drug_frequnecyType_list.error = false, state.drug_frequnecyType_list = action.payload;
29510
- }), _defineProperty(_extraReducers$9, DRUG_FREQUENCYTYPE_READ.pending, function (state, action) {
29510
+ }), _defineProperty(_extraReducers$a, DRUG_FREQUENCYTYPE_READ.pending, function (state, action) {
29511
29511
  state.drug_frequnecyType_list.loading = true, state.drug_frequnecyType_list.error = false, state.drug_frequnecyType_list.loading = true;
29512
- }), _defineProperty(_extraReducers$9, DRUG_FREQUENCYTYPE_READ.rejected, function (state, action) {
29512
+ }), _defineProperty(_extraReducers$a, DRUG_FREQUENCYTYPE_READ.rejected, function (state, action) {
29513
29513
  state.drug_frequnecyType_list.loading = false, state.drug_frequnecyType_list.error = true, state.drug_frequnecyType_list = action.payload;
29514
- }), _defineProperty(_extraReducers$9, UOM_DRUG_FREQ_INSERT.fulfilled, function (state, action) {
29514
+ }), _defineProperty(_extraReducers$a, UOM_DRUG_FREQ_INSERT.fulfilled, function (state, action) {
29515
29515
  state.drug_uom_freq_insert.loading = false, state.drug_uom_freq_insert.error = false, state.drug_uom_freq_insert = action.payload;
29516
- }), _defineProperty(_extraReducers$9, UOM_DRUG_FREQ_INSERT.pending, function (state, action) {
29516
+ }), _defineProperty(_extraReducers$a, UOM_DRUG_FREQ_INSERT.pending, function (state, action) {
29517
29517
  state.drug_uom_freq_insert.loading = true, state.drug_uom_freq_insert.error = false, state.drug_uom_freq_insert.loading = true;
29518
- }), _defineProperty(_extraReducers$9, UOM_DRUG_FREQ_INSERT.rejected, function (state, action) {
29518
+ }), _defineProperty(_extraReducers$a, UOM_DRUG_FREQ_INSERT.rejected, function (state, action) {
29519
29519
  state.drug_uom_freq_insert.loading = false, state.drug_uom_freq_insert.error = true, state.drug_uom_freq_insert = action.payload;
29520
- }), _defineProperty(_extraReducers$9, UOM_DRUG_FREQ_STATUS.fulfilled, function (state, action) {
29520
+ }), _defineProperty(_extraReducers$a, UOM_DRUG_FREQ_STATUS.fulfilled, function (state, action) {
29521
29521
  state.drug_uom_freq_status.loading = false, state.drug_uom_freq_status.error = false, state.drug_uom_freq_status = action.payload;
29522
- }), _defineProperty(_extraReducers$9, UOM_DRUG_FREQ_STATUS.pending, function (state, action) {
29522
+ }), _defineProperty(_extraReducers$a, UOM_DRUG_FREQ_STATUS.pending, function (state, action) {
29523
29523
  state.drug_uom_freq_status.loading = true, state.drug_uom_freq_status.error = false, state.drug_uom_freq_status.loading = true;
29524
- }), _defineProperty(_extraReducers$9, UOM_DRUG_FREQ_STATUS.rejected, function (state, action) {
29524
+ }), _defineProperty(_extraReducers$a, UOM_DRUG_FREQ_STATUS.rejected, function (state, action) {
29525
29525
  state.drug_uom_freq_status.loading = false, state.drug_uom_freq_status.error = true, state.drug_uom_freq_status = action.payload;
29526
- }), _defineProperty(_extraReducers$9, DRUG_FREQ_READ_SINGLE.fulfilled, function (state, action) {
29526
+ }), _defineProperty(_extraReducers$a, DRUG_FREQ_READ_SINGLE.fulfilled, function (state, action) {
29527
29527
  state.drug_freq_read_single_yt.loading = false, state.drug_freq_read_single_yt.error = false, state.drug_freq_read_single_yt = action.payload;
29528
- }), _defineProperty(_extraReducers$9, DRUG_FREQ_READ_SINGLE.pending, function (state, action) {
29528
+ }), _defineProperty(_extraReducers$a, DRUG_FREQ_READ_SINGLE.pending, function (state, action) {
29529
29529
  state.drug_freq_read_single_yt.loading = true, state.drug_freq_read_single_yt.error = false, state.drug_freq_read_single_yt.loading = true;
29530
- }), _defineProperty(_extraReducers$9, DRUG_FREQ_READ_SINGLE.rejected, function (state, action) {
29530
+ }), _defineProperty(_extraReducers$a, DRUG_FREQ_READ_SINGLE.rejected, function (state, action) {
29531
29531
  state.drug_freq_read_single_yt.loading = false, state.drug_freq_read_single_yt.error = true, state.drug_freq_read_single_yt = action.payload;
29532
- }), _extraReducers$9)
29532
+ }), _extraReducers$a)
29533
29533
  });
29534
29534
  var drugMasterFrequencyActions = {
29535
29535
  DRUG_FREQUENCY_READ: DRUG_FREQUENCY_READ,
@@ -29546,7 +29546,7 @@ var drugFrequencySlice = drugMasterFREQUENCYSlice.reducer;
29546
29546
 
29547
29547
  var drug_actions = _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, drugCategoryActions), drugDosageActions), drugClassActions), drugRoutesActions), drugDirectionRoutesActions), drugMasterUomActions), drugMasterActions), drugMasterFrequencyActions);
29548
29548
 
29549
- var query$3 = {
29549
+ var query$4 = {
29550
29550
  orderSetList: function orderSetList() {
29551
29551
  return {
29552
29552
  db_name: "".concat(dbName),
@@ -29586,7 +29586,7 @@ var query$3 = {
29586
29586
  }
29587
29587
  };
29588
29588
 
29589
- var masterQuery$1 = {
29589
+ var masterQuery$2 = {
29590
29590
  orderCategory: "{\n \"db_name\": \"".concat(dbName, "\",\n \"entity\": \"OrderCategory\",\n \"filter\": \"OrderCategory.activestatus == true && OrderCategory.status==true\",\n \"return_fields\": \"keep(OrderCategory,'id','_id','_key','shortdesc','ordercategory','longdesc')\",\n \"sort\": \"OrderCategory.shortdesc\"\n }"),
29591
29591
  commonUOM: "{\n \"db_name\": \"".concat(dbName, "\",\n \"entity\": \"CodingMaster\",\n \"filter\": \"CodingMaster.Type=='DRUGUOMCODE' && CodingMaster.activestatus==true && CodingMaster.status==true\",\n \"return_fields\": \"KEEP(CodingMaster,'_id','id','_key','code','display','Type','status')\",\n \"sort\": \"CodingMaster.display\"\n }"),
29592
29592
  route: "{\n \"db_name\": \"".concat(dbName, "\",\n \"entity\": \"DrugRoutes\",\n \"filter\": \"DrugRoutes.activestatus==true && DrugRoutes.status==true\",\n \"return_fields\": \"keep(DrugRoutes,'id','_key','_id','longdesc','routeadverb','routecode','shortdesc')\",\n \"sort\": \"DrugRoutes.shortdesc\"\n }"),
@@ -29642,7 +29642,7 @@ var dynamicMaster$1 = {
29642
29642
  }
29643
29643
  };
29644
29644
 
29645
- var generateJson$2 = function generateJson(data) {
29645
+ var generateJson$3 = function generateJson(data) {
29646
29646
  var _data$id, _data$orderSetCode, _data$shortdes, _data$longdes;
29647
29647
 
29648
29648
  var filter = {};
@@ -29768,7 +29768,7 @@ var constructComponents = function constructComponents(data) {
29768
29768
  return arr;
29769
29769
  };
29770
29770
 
29771
- var generateReadJSON$2 = function generateReadJSON(data) {
29771
+ var generateReadJSON$3 = function generateReadJSON(data) {
29772
29772
  var json = {
29773
29773
  //INITAIL STATE
29774
29774
  parentSeqNumber: null,
@@ -29983,13 +29983,13 @@ var constructChildrenTabelData = function constructChildrenTabelData(data, paren
29983
29983
  return arr_;
29984
29984
  };
29985
29985
 
29986
- var _extraReducers$8;
29987
- var fileds$1 = ["orderCategory", //"orderDrugType",
29986
+ var _extraReducers$9;
29987
+ var fileds$2 = ["orderCategory", //"orderDrugType",
29988
29988
  //"orderDrugCatalog",
29989
29989
  //"commonUOM",
29990
29990
  "route", "drugFreqCode"];
29991
29991
 
29992
- var loopMasters$2 = function loopMasters() {
29992
+ var loopMasters$3 = function loopMasters() {
29993
29993
  return new es6Promise.Promise( /*#__PURE__*/function () {
29994
29994
  var _ref = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2(resolve, reject) {
29995
29995
  var calls;
@@ -29997,14 +29997,14 @@ var loopMasters$2 = function loopMasters() {
29997
29997
  while (1) {
29998
29998
  switch (_context2.prev = _context2.next) {
29999
29999
  case 0:
30000
- calls = Object.keys(masterQuery$1).map( /*#__PURE__*/function () {
30000
+ calls = Object.keys(masterQuery$2).map( /*#__PURE__*/function () {
30001
30001
  var _ref2 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(val) {
30002
30002
  return regeneratorRuntime.wrap(function _callee$(_context) {
30003
30003
  while (1) {
30004
30004
  switch (_context.prev = _context.next) {
30005
30005
  case 0:
30006
30006
  _context.next = 2;
30007
- return fetchMaster$2(val, masterQuery$1[val]);
30007
+ return fetchMaster$3(val, masterQuery$2[val]);
30008
30008
 
30009
30009
  case 2:
30010
30010
  return _context.abrupt("return", _context.sent);
@@ -30026,7 +30026,7 @@ var loopMasters$2 = function loopMasters() {
30026
30026
  data.map(function (val) {
30027
30027
  var arr = [];
30028
30028
  val.data.map(function (value) {
30029
- if (fileds$1.includes(val.name)) {
30029
+ if (fileds$2.includes(val.name)) {
30030
30030
  // if (value.coding[0] !== null) {
30031
30031
  // arr.push({
30032
30032
  // label: value.coding[0].display,
@@ -30066,7 +30066,7 @@ var loopMasters$2 = function loopMasters() {
30066
30066
  }());
30067
30067
  };
30068
30068
 
30069
- var fetchMaster$2 = function fetchMaster(name, query) {
30069
+ var fetchMaster$3 = function fetchMaster(name, query) {
30070
30070
  return new es6Promise.Promise( /*#__PURE__*/function () {
30071
30071
  var _ref3 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee3(resolve, reject) {
30072
30072
  var data;
@@ -30115,7 +30115,7 @@ var GET_ORDER_SET_LIST = createAsyncThunk("orderSetMasterApiSlice/order_set_mast
30115
30115
  _context4.prev = 2;
30116
30116
  _context4.next = 5;
30117
30117
  return fetchData({
30118
- body: JSON.stringify(query$3.orderSetList())
30118
+ body: JSON.stringify(query$4.orderSetList())
30119
30119
  }, __readDocumentUrl__);
30120
30120
 
30121
30121
  case 5:
@@ -30159,7 +30159,7 @@ var ORDER_SET_MASTER_STATUS_CHANGE = createAsyncThunk("orderSetMasterApiSlice/or
30159
30159
  _key: payload._key,
30160
30160
  status: payload.status
30161
30161
  };
30162
- queriesjson = query$3.status_update_order_set_master(statuschange);
30162
+ queriesjson = query$4.status_update_order_set_master(statuschange);
30163
30163
  _context5.next = 7;
30164
30164
  return fetchData({
30165
30165
  body: JSON.stringify(queriesjson)
@@ -30199,7 +30199,7 @@ var ORDER_SET_MASTER_MASTER = createAsyncThunk("orderSetMasterApiSlice/order_set
30199
30199
  _ref9 = _args6.length > 1 ? _args6[1] : undefined, rejectWithValue = _ref9.rejectWithValue;
30200
30200
  _context6.prev = 2;
30201
30201
  _context6.next = 6;
30202
- return loopMasters$2();
30202
+ return loopMasters$3();
30203
30203
 
30204
30204
  case 6:
30205
30205
  data = _context6.sent;
@@ -30527,7 +30527,7 @@ var UPSERT_ORDER_SET = createAsyncThunk("orderSetMasterApiSlice/order_set_upsert
30527
30527
  _ref21 = _args12.length > 1 ? _args12[1] : undefined, rejectWithValue = _ref21.rejectWithValue;
30528
30528
  _context12.prev = 2;
30529
30529
  dataList = payload.dataList;
30530
- queriesjson = generateJson$2(dataList);
30530
+ queriesjson = generateJson$3(dataList);
30531
30531
  _context12.next = 7;
30532
30532
  return fetchData({
30533
30533
  body: JSON.stringify(queriesjson)
@@ -30573,12 +30573,12 @@ var ORDER_SET_SINGLE_READ = createAsyncThunk("orderSetMasterApiSlice/order_set_s
30573
30573
  _key = payload._key;
30574
30574
  _context13.next = 6;
30575
30575
  return fetchData({
30576
- body: JSON.stringify(query$3.orderSetListById(_key))
30576
+ body: JSON.stringify(query$4.orderSetListById(_key))
30577
30577
  }, __readDocumentUrl__);
30578
30578
 
30579
30579
  case 6:
30580
30580
  data = _context13.sent;
30581
- readJSON = generateReadJSON$2(data.result[0] ? data.result[0] : null);
30581
+ readJSON = generateReadJSON$3(data.result[0] ? data.result[0] : null);
30582
30582
  return _context13.abrupt("return", _objectSpread2(_objectSpread2({}, defaultState.List), {}, {
30583
30583
  data: readJSON
30584
30584
  }));
@@ -30617,7 +30617,7 @@ var DELETE_ORDER_SET_COMPONENT = createAsyncThunk("orderSetMasterApiSlice/order_
30617
30617
  _key = payload._key;
30618
30618
  _context14.next = 6;
30619
30619
  return fetchData({
30620
- body: JSON.stringify(query$3.orderSetComponentDelete(_key))
30620
+ body: JSON.stringify(query$4.orderSetComponentDelete(_key))
30621
30621
  }, __softDelete__);
30622
30622
 
30623
30623
  case 6:
@@ -30655,79 +30655,79 @@ var orderSetMasterSlice = createSlice({
30655
30655
  order_set_upsert: _objectSpread2({}, defaultState.List),
30656
30656
  order_set_component_delete: _objectSpread2({}, defaultState.List)
30657
30657
  },
30658
- extraReducers: (_extraReducers$8 = {}, _defineProperty(_extraReducers$8, DELETE_ORDER_SET_COMPONENT.fulfilled, function (state, action) {
30658
+ extraReducers: (_extraReducers$9 = {}, _defineProperty(_extraReducers$9, DELETE_ORDER_SET_COMPONENT.fulfilled, function (state, action) {
30659
30659
  state.order_set_component_delete.loading = false, state.order_set_component_delete.error = false, state.order_set_component_delete = action.payload;
30660
- }), _defineProperty(_extraReducers$8, DELETE_ORDER_SET_COMPONENT.pending, function (state, action) {
30660
+ }), _defineProperty(_extraReducers$9, DELETE_ORDER_SET_COMPONENT.pending, function (state, action) {
30661
30661
  state.order_set_component_delete.loading = true, state.order_set_component_delete.error = false, state.order_set_component_delete.loading = true;
30662
- }), _defineProperty(_extraReducers$8, DELETE_ORDER_SET_COMPONENT.rejected, function (state, action) {
30662
+ }), _defineProperty(_extraReducers$9, DELETE_ORDER_SET_COMPONENT.rejected, function (state, action) {
30663
30663
  state.order_set_component_delete.loading = false, state.order_set_component_delete.error = true, state.order_set_component_delete = action.payload;
30664
- }), _defineProperty(_extraReducers$8, GET_ORDER_SET_LIST.fulfilled, function (state, action) {
30664
+ }), _defineProperty(_extraReducers$9, GET_ORDER_SET_LIST.fulfilled, function (state, action) {
30665
30665
  state.order_set_master_list.loading = false, state.order_set_master_list.error = false, state.order_set_master_list = action.payload;
30666
- }), _defineProperty(_extraReducers$8, GET_ORDER_SET_LIST.pending, function (state, action) {
30666
+ }), _defineProperty(_extraReducers$9, GET_ORDER_SET_LIST.pending, function (state, action) {
30667
30667
  state.order_set_master_list.loading = true, state.order_set_master_list.error = false, state.order_set_master_list.loading = true;
30668
- }), _defineProperty(_extraReducers$8, GET_ORDER_SET_LIST.rejected, function (state, action) {
30668
+ }), _defineProperty(_extraReducers$9, GET_ORDER_SET_LIST.rejected, function (state, action) {
30669
30669
  state.order_set_master_list.loading = false, state.order_set_master_list.error = true, state.order_set_master_list = action.payload;
30670
- }), _defineProperty(_extraReducers$8, ORDER_SET_SINGLE_READ.fulfilled, function (state, action) {
30670
+ }), _defineProperty(_extraReducers$9, ORDER_SET_SINGLE_READ.fulfilled, function (state, action) {
30671
30671
  state.order_set_single_read.loading = false, state.order_set_single_read.error = false, state.order_set_single_read = action.payload;
30672
- }), _defineProperty(_extraReducers$8, ORDER_SET_SINGLE_READ.pending, function (state, action) {
30672
+ }), _defineProperty(_extraReducers$9, ORDER_SET_SINGLE_READ.pending, function (state, action) {
30673
30673
  state.order_set_single_read.loading = true, state.order_set_single_read.error = false, state.order_set_single_read.loading = true;
30674
- }), _defineProperty(_extraReducers$8, ORDER_SET_SINGLE_READ.rejected, function (state, action) {
30674
+ }), _defineProperty(_extraReducers$9, ORDER_SET_SINGLE_READ.rejected, function (state, action) {
30675
30675
  state.order_set_single_read.loading = false, state.order_set_single_read.error = true, state.order_set_single_read = action.payload;
30676
- }), _defineProperty(_extraReducers$8, ORDER_SET_MASTER_STATUS_CHANGE.fulfilled, function (state, action) {
30676
+ }), _defineProperty(_extraReducers$9, ORDER_SET_MASTER_STATUS_CHANGE.fulfilled, function (state, action) {
30677
30677
  state.order_set_master_status_change.loading = false, state.order_set_master_status_change.error = false, state.order_set_master_status_change = action.payload;
30678
- }), _defineProperty(_extraReducers$8, ORDER_SET_MASTER_STATUS_CHANGE.pending, function (state, action) {
30678
+ }), _defineProperty(_extraReducers$9, ORDER_SET_MASTER_STATUS_CHANGE.pending, function (state, action) {
30679
30679
  state.order_set_master_status_change.loading = true, state.order_set_master_status_change.error = false, state.order_set_master_status_change.loading = true;
30680
- }), _defineProperty(_extraReducers$8, ORDER_SET_MASTER_STATUS_CHANGE.rejected, function (state, action) {
30680
+ }), _defineProperty(_extraReducers$9, ORDER_SET_MASTER_STATUS_CHANGE.rejected, function (state, action) {
30681
30681
  state.order_set_master_status_change.loading = false, state.order_set_master_status_change.error = true, state.order_set_master_status_change = action.payload;
30682
- }), _defineProperty(_extraReducers$8, ORDER_SET_MASTER_MASTER.fulfilled, function (state, action) {
30682
+ }), _defineProperty(_extraReducers$9, ORDER_SET_MASTER_MASTER.fulfilled, function (state, action) {
30683
30683
  state.order_set_masters.loading = false, state.order_set_masters.error = false, state.order_set_masters = action.payload;
30684
- }), _defineProperty(_extraReducers$8, ORDER_SET_MASTER_MASTER.pending, function (state, action) {
30684
+ }), _defineProperty(_extraReducers$9, ORDER_SET_MASTER_MASTER.pending, function (state, action) {
30685
30685
  state.order_set_masters.loading = true, state.order_set_masters.error = false, state.order_set_masters.loading = true;
30686
- }), _defineProperty(_extraReducers$8, ORDER_SET_MASTER_MASTER.rejected, function (state, action) {
30686
+ }), _defineProperty(_extraReducers$9, ORDER_SET_MASTER_MASTER.rejected, function (state, action) {
30687
30687
  state.order_set_masters.loading = false, state.order_set_masters.error = true, state.order_set_masters = action.payload;
30688
- }), _defineProperty(_extraReducers$8, ORDER__MASTER.fulfilled, function (state, action) {
30688
+ }), _defineProperty(_extraReducers$9, ORDER__MASTER.fulfilled, function (state, action) {
30689
30689
  state.order__masters.loading = false, state.order__masters.error = false, state.order__masters = action.payload;
30690
- }), _defineProperty(_extraReducers$8, ORDER__MASTER.pending, function (state, action) {
30690
+ }), _defineProperty(_extraReducers$9, ORDER__MASTER.pending, function (state, action) {
30691
30691
  state.order__masters.loading = true, state.order__masters.error = false, state.order__masters.loading = true;
30692
- }), _defineProperty(_extraReducers$8, ORDER__MASTER.rejected, function (state, action) {
30692
+ }), _defineProperty(_extraReducers$9, ORDER__MASTER.rejected, function (state, action) {
30693
30693
  state.order__masters.loading = false, state.order__masters.error = true, state.order__masters = action.payload;
30694
- }), _defineProperty(_extraReducers$8, DRUG__MASTER.fulfilled, function (state, action) {
30694
+ }), _defineProperty(_extraReducers$9, DRUG__MASTER.fulfilled, function (state, action) {
30695
30695
  state.drug__masters.loading = false, state.drug__masters.error = false, state.drug__masters = action.payload;
30696
- }), _defineProperty(_extraReducers$8, DRUG__MASTER.pending, function (state, action) {
30696
+ }), _defineProperty(_extraReducers$9, DRUG__MASTER.pending, function (state, action) {
30697
30697
  state.drug__masters.loading = true, state.drug__masters.error = false, state.drug__masters.loading = true;
30698
- }), _defineProperty(_extraReducers$8, DRUG__MASTER.rejected, function (state, action) {
30698
+ }), _defineProperty(_extraReducers$9, DRUG__MASTER.rejected, function (state, action) {
30699
30699
  state.drug__masters.loading = false, state.drug__masters.error = true, state.drug__masters = action.payload;
30700
- }), _defineProperty(_extraReducers$8, ORDER__CATALOG_MASTER.fulfilled, function (state, action) {
30700
+ }), _defineProperty(_extraReducers$9, ORDER__CATALOG_MASTER.fulfilled, function (state, action) {
30701
30701
  state.order__catalog_masters.loading = false, state.order__catalog_masters.error = false, state.order__catalog_masters = action.payload;
30702
- }), _defineProperty(_extraReducers$8, ORDER__CATALOG_MASTER.pending, function (state, action) {
30702
+ }), _defineProperty(_extraReducers$9, ORDER__CATALOG_MASTER.pending, function (state, action) {
30703
30703
  state.order__catalog_masters.loading = true, state.order__catalog_masters.error = false, state.order__catalog_masters.loading = true;
30704
- }), _defineProperty(_extraReducers$8, ORDER__CATALOG_MASTER.rejected, function (state, action) {
30704
+ }), _defineProperty(_extraReducers$9, ORDER__CATALOG_MASTER.rejected, function (state, action) {
30705
30705
  state.order__catalog_masters.loading = false, state.order__catalog_masters.error = true, state.order__catalog_masters = action.payload;
30706
- }), _defineProperty(_extraReducers$8, DRUG__CATALOG_MASTER.fulfilled, function (state, action) {
30706
+ }), _defineProperty(_extraReducers$9, DRUG__CATALOG_MASTER.fulfilled, function (state, action) {
30707
30707
  state.drug__catalog_masters.loading = false, state.drug__catalog_masters.error = false, state.drug__catalog_masters = action.payload;
30708
- }), _defineProperty(_extraReducers$8, DRUG__CATALOG_MASTER.pending, function (state, action) {
30708
+ }), _defineProperty(_extraReducers$9, DRUG__CATALOG_MASTER.pending, function (state, action) {
30709
30709
  state.drug__catalog_masters.loading = true, state.drug__catalog_masters.error = false, state.drug__catalog_masters.loading = true;
30710
- }), _defineProperty(_extraReducers$8, DRUG__CATALOG_MASTER.rejected, function (state, action) {
30710
+ }), _defineProperty(_extraReducers$9, DRUG__CATALOG_MASTER.rejected, function (state, action) {
30711
30711
  state.drug__catalog_masters.loading = false, state.drug__catalog_masters.error = true, state.drug__catalog_masters = action.payload;
30712
- }), _defineProperty(_extraReducers$8, ORDER_CATEGORY_MASTER.fulfilled, function (state, action) {
30712
+ }), _defineProperty(_extraReducers$9, ORDER_CATEGORY_MASTER.fulfilled, function (state, action) {
30713
30713
  state.order_category_masters.loading = false, state.order_category_masters.error = false, state.order_category_masters = action.payload;
30714
- }), _defineProperty(_extraReducers$8, ORDER_CATEGORY_MASTER.pending, function (state, action) {
30714
+ }), _defineProperty(_extraReducers$9, ORDER_CATEGORY_MASTER.pending, function (state, action) {
30715
30715
  state.order_category_masters.loading = true, state.order_category_masters.error = false, state.order_category_masters.loading = true;
30716
- }), _defineProperty(_extraReducers$8, ORDER_CATEGORY_MASTER.rejected, function (state, action) {
30716
+ }), _defineProperty(_extraReducers$9, ORDER_CATEGORY_MASTER.rejected, function (state, action) {
30717
30717
  state.order_category_masters.loading = false, state.order_category_masters.error = true, state.order_category_masters = action.payload;
30718
- }), _defineProperty(_extraReducers$8, ORDER_CATEGORY_MASTER.fulfilled, function (state, action) {
30718
+ }), _defineProperty(_extraReducers$9, ORDER_CATEGORY_MASTER.fulfilled, function (state, action) {
30719
30719
  state.order_category_masters.loading = false, state.order_category_masters.error = false, state.order_category_masters = action.payload;
30720
- }), _defineProperty(_extraReducers$8, ORDER_CATEGORY_MASTER.pending, function (state, action) {
30720
+ }), _defineProperty(_extraReducers$9, ORDER_CATEGORY_MASTER.pending, function (state, action) {
30721
30721
  state.order_category_masters.loading = true, state.order_category_masters.error = false, state.order_category_masters.loading = true;
30722
- }), _defineProperty(_extraReducers$8, ORDER_CATEGORY_MASTER.rejected, function (state, action) {
30722
+ }), _defineProperty(_extraReducers$9, ORDER_CATEGORY_MASTER.rejected, function (state, action) {
30723
30723
  state.order_category_masters.loading = false, state.order_category_masters.error = true, state.order_category_masters = action.payload;
30724
- }), _defineProperty(_extraReducers$8, UPSERT_ORDER_SET.fulfilled, function (state, action) {
30724
+ }), _defineProperty(_extraReducers$9, UPSERT_ORDER_SET.fulfilled, function (state, action) {
30725
30725
  state.order_set_upsert.loading = false, state.order_set_upsert.error = false, state.order_set_upsert = action.payload;
30726
- }), _defineProperty(_extraReducers$8, UPSERT_ORDER_SET.pending, function (state, action) {
30726
+ }), _defineProperty(_extraReducers$9, UPSERT_ORDER_SET.pending, function (state, action) {
30727
30727
  state.order_set_upsert.loading = true, state.order_set_upsert.error = false, state.order_set_upsert.loading = true;
30728
- }), _defineProperty(_extraReducers$8, UPSERT_ORDER_SET.rejected, function (state, action) {
30728
+ }), _defineProperty(_extraReducers$9, UPSERT_ORDER_SET.rejected, function (state, action) {
30729
30729
  state.order_set_upsert.loading = false, state.order_set_upsert.error = true, state.order_set_upsert = action.payload;
30730
- }), _extraReducers$8)
30730
+ }), _extraReducers$9)
30731
30731
  });
30732
30732
  var orderSetMasterActions = {
30733
30733
  GET_ORDER_SET_LIST: GET_ORDER_SET_LIST,
@@ -30744,7 +30744,7 @@ var orderSetMasterActions = {
30744
30744
  };
30745
30745
  var orderSetMasterSlice$1 = orderSetMasterSlice.reducer;
30746
30746
 
30747
- var query$2 = {
30747
+ var query$3 = {
30748
30748
  orderSetApplicabilityList: function orderSetApplicabilityList(_id) {
30749
30749
  return {
30750
30750
  db_name: "".concat(dbName),
@@ -30784,7 +30784,7 @@ var query$2 = {
30784
30784
  }
30785
30785
  };
30786
30786
 
30787
- var masterQuery = {
30787
+ var masterQuery$1 = {
30788
30788
  //name
30789
30789
  facilityName: "{\n \"db_name\": \"".concat(dbName, "\",\n \"entity\": \"Organization\",\n \"filter\": \"lower(first(document(Organization.OrgType)[*].display)) == 'facility' && Organization.activestatus==true && Organization.active == true \",\n \"return_fields\": \"{_id:Organization._id,_key:Organization._key,id:Organization.id,name:Organization.name,alias:Organization.alias}\",\n \"sort\": \"Organization.name\"\n }"),
30790
30790
  // coding[0]?.display
@@ -30834,7 +30834,7 @@ var dynamicMaster = {
30834
30834
  }
30835
30835
  };
30836
30836
 
30837
- var generateJson$1 = function generateJson(data, orderSetKey) {
30837
+ var generateJson$2 = function generateJson(data, orderSetKey) {
30838
30838
  var _data$id, _data$facility$value, _data$facility, _data$locationType$va, _data$locationType, _data$location$value, _data$location, _data$specialty$value, _data$specialty, _data$practitionerTyp, _data$practitionerTyp2, _data$practitioner$va, _data$practitioner, _data$codeSet$value, _data$codeSet, _data$diagnosisCode$v, _data$diagnosisCode, _data$diagnosisGroup$, _data$diagnosisGroup;
30839
30839
 
30840
30840
  var filter = {};
@@ -30871,7 +30871,7 @@ var generateJson$1 = function generateJson(data, orderSetKey) {
30871
30871
  return arr;
30872
30872
  };
30873
30873
 
30874
- var generateReadJSON$1 = function generateReadJSON(data) {
30874
+ var generateReadJSON$2 = function generateReadJSON(data) {
30875
30875
  var arr = [];
30876
30876
 
30877
30877
  if ((data === null || data === void 0 ? void 0 : data.length) > 0) {
@@ -30982,12 +30982,12 @@ var generateSingleReadJSON = function generateSingleReadJSON(data) {
30982
30982
  return obj;
30983
30983
  };
30984
30984
 
30985
- var _extraReducers$7;
30986
- var fileds = [//"facilityName",
30985
+ var _extraReducers$8;
30986
+ var fileds$1 = [//"facilityName",
30987
30987
  "speciality", "practitionerType", //"codeSet",
30988
30988
  "locationType"];
30989
30989
 
30990
- var loopMasters$1 = function loopMasters() {
30990
+ var loopMasters$2 = function loopMasters() {
30991
30991
  return new es6Promise.Promise( /*#__PURE__*/function () {
30992
30992
  var _ref = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2(resolve, reject) {
30993
30993
  var calls;
@@ -30995,14 +30995,14 @@ var loopMasters$1 = function loopMasters() {
30995
30995
  while (1) {
30996
30996
  switch (_context2.prev = _context2.next) {
30997
30997
  case 0:
30998
- calls = Object.keys(masterQuery).map( /*#__PURE__*/function () {
30998
+ calls = Object.keys(masterQuery$1).map( /*#__PURE__*/function () {
30999
30999
  var _ref2 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(val) {
31000
31000
  return regeneratorRuntime.wrap(function _callee$(_context) {
31001
31001
  while (1) {
31002
31002
  switch (_context.prev = _context.next) {
31003
31003
  case 0:
31004
31004
  _context.next = 2;
31005
- return fetchMaster$1(val, masterQuery[val]);
31005
+ return fetchMaster$2(val, masterQuery$1[val]);
31006
31006
 
31007
31007
  case 2:
31008
31008
  return _context.abrupt("return", _context.sent);
@@ -31024,7 +31024,7 @@ var loopMasters$1 = function loopMasters() {
31024
31024
  data.map(function (val, i) {
31025
31025
  var arr = [];
31026
31026
  val.data.map(function (value, i_) {
31027
- if (fileds.includes(val.name)) {
31027
+ if (fileds$1.includes(val.name)) {
31028
31028
  if (value.coding[0] !== null) {
31029
31029
  var _value$coding, _value$coding$, _value$coding2, _value$coding2$;
31030
31030
 
@@ -31071,7 +31071,7 @@ var loopMasters$1 = function loopMasters() {
31071
31071
  }());
31072
31072
  };
31073
31073
 
31074
- var fetchMaster$1 = function fetchMaster(name, query) {
31074
+ var fetchMaster$2 = function fetchMaster(name, query) {
31075
31075
  return new es6Promise.Promise( /*#__PURE__*/function () {
31076
31076
  var _ref3 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee3(resolve, reject) {
31077
31077
  var data;
@@ -31125,12 +31125,12 @@ var GET_ORDER_SET_APPLICABILITY_LIST = createAsyncThunk("orderSetApplicabilitySl
31125
31125
  _id = payload._id;
31126
31126
  _context4.next = 6;
31127
31127
  return fetchData({
31128
- body: JSON.stringify(query$2.orderSetApplicabilityList(_id))
31128
+ body: JSON.stringify(query$3.orderSetApplicabilityList(_id))
31129
31129
  }, __readDocumentUrl__);
31130
31130
 
31131
31131
  case 6:
31132
31132
  data = _context4.sent;
31133
- readJSON = generateReadJSON$1(data !== null && data !== void 0 && data.result ? data === null || data === void 0 ? void 0 : data.result : null);
31133
+ readJSON = generateReadJSON$2(data !== null && data !== void 0 && data.result ? data === null || data === void 0 ? void 0 : data.result : null);
31134
31134
  return _context4.abrupt("return", _objectSpread2(_objectSpread2({}, defaultState.List), {}, {
31135
31135
  data: readJSON
31136
31136
  }));
@@ -31171,7 +31171,7 @@ var GET_ORDER_SET_APPLICABILITY_SINGLE_READ = createAsyncThunk("orderSetApplicab
31171
31171
  _key = payload._key;
31172
31172
  _context5.next = 6;
31173
31173
  return fetchData({
31174
- body: JSON.stringify(query$2.orderSetApplicabilityById(_key))
31174
+ body: JSON.stringify(query$3.orderSetApplicabilityById(_key))
31175
31175
  }, __readDocumentUrl__);
31176
31176
 
31177
31177
  case 6:
@@ -31209,7 +31209,7 @@ var ORDER_SET_APPLICABILITY_MASTER = createAsyncThunk("orderSetApplicabilitySlic
31209
31209
  _ref9 = _args6.length > 1 ? _args6[1] : undefined, rejectWithValue = _ref9.rejectWithValue;
31210
31210
  _context6.prev = 2;
31211
31211
  _context6.next = 5;
31212
- return loopMasters$1();
31212
+ return loopMasters$2();
31213
31213
 
31214
31214
  case 5:
31215
31215
  data = _context6.sent;
@@ -31471,7 +31471,7 @@ var DELETE_ORDER_SET_APPLICABILITY = createAsyncThunk("orderSetApplicabilitySlic
31471
31471
  _key = payload._key;
31472
31472
  _context11.next = 6;
31473
31473
  return fetchData({
31474
- body: JSON.stringify(query$2.orderSetApplicabilityDelete(_key))
31474
+ body: JSON.stringify(query$3.orderSetApplicabilityDelete(_key))
31475
31475
  }, __softDelete__);
31476
31476
 
31477
31477
  case 6:
@@ -31513,7 +31513,7 @@ var ORDER_SET_APPLICABILITY_UPSERT = createAsyncThunk("orderSetApplicabilitySlic
31513
31513
  _ref21 = _args12.length > 1 ? _args12[1] : undefined, rejectWithValue = _ref21.rejectWithValue;
31514
31514
  _context12.prev = 2;
31515
31515
  dataList = payload.dataList, orderSetKey = payload.orderSetKey;
31516
- queriesjson = generateJson$1(dataList, orderSetKey);
31516
+ queriesjson = generateJson$2(dataList, orderSetKey);
31517
31517
  _context12.next = 7;
31518
31518
  return fetchData({
31519
31519
  body: JSON.stringify(queriesjson)
@@ -31552,61 +31552,61 @@ var orderSetApplicabilitySlice = createSlice({
31552
31552
  order_set_app_location: _objectSpread2({}, defaultState.List),
31553
31553
  order_set_applicability_upsert: _objectSpread2({}, defaultState.List)
31554
31554
  },
31555
- extraReducers: (_extraReducers$7 = {}, _defineProperty(_extraReducers$7, GET_ORDER_SET_APPLICABILITY_LIST.fulfilled, function (state, action) {
31555
+ extraReducers: (_extraReducers$8 = {}, _defineProperty(_extraReducers$8, GET_ORDER_SET_APPLICABILITY_LIST.fulfilled, function (state, action) {
31556
31556
  state.order_set_applicability_list.loading = false, state.order_set_applicability_list.error = false, state.order_set_applicability_list = action.payload;
31557
- }), _defineProperty(_extraReducers$7, GET_ORDER_SET_APPLICABILITY_LIST.pending, function (state, action) {
31557
+ }), _defineProperty(_extraReducers$8, GET_ORDER_SET_APPLICABILITY_LIST.pending, function (state, action) {
31558
31558
  state.order_set_applicability_list.loading = true, state.order_set_applicability_list.error = false, state.order_set_applicability_list.loading = true;
31559
- }), _defineProperty(_extraReducers$7, GET_ORDER_SET_APPLICABILITY_LIST.rejected, function (state, action) {
31559
+ }), _defineProperty(_extraReducers$8, GET_ORDER_SET_APPLICABILITY_LIST.rejected, function (state, action) {
31560
31560
  state.order_set_applicability_list.loading = false, state.order_set_applicability_list.error = true, state.order_set_applicability_list = action.payload;
31561
- }), _defineProperty(_extraReducers$7, GET_ORDER_SET_APPLICABILITY_SINGLE_READ.fulfilled, function (state, action) {
31561
+ }), _defineProperty(_extraReducers$8, GET_ORDER_SET_APPLICABILITY_SINGLE_READ.fulfilled, function (state, action) {
31562
31562
  state.order_set_applicability_single_read.loading = false, state.order_set_applicability_single_read.error = false, state.order_set_applicability_single_read = action.payload;
31563
- }), _defineProperty(_extraReducers$7, GET_ORDER_SET_APPLICABILITY_SINGLE_READ.pending, function (state, action) {
31563
+ }), _defineProperty(_extraReducers$8, GET_ORDER_SET_APPLICABILITY_SINGLE_READ.pending, function (state, action) {
31564
31564
  state.order_set_applicability_single_read.loading = true, state.order_set_applicability_single_read.error = false, state.order_set_applicability_single_read.loading = true;
31565
- }), _defineProperty(_extraReducers$7, GET_ORDER_SET_APPLICABILITY_SINGLE_READ.rejected, function (state, action) {
31565
+ }), _defineProperty(_extraReducers$8, GET_ORDER_SET_APPLICABILITY_SINGLE_READ.rejected, function (state, action) {
31566
31566
  state.order_set_applicability_single_read.loading = false, state.order_set_applicability_single_read.error = true, state.order_set_applicability_single_read = action.payload;
31567
- }), _defineProperty(_extraReducers$7, ORDER_SET_APPLICABILITY_MASTER.fulfilled, function (state, action) {
31567
+ }), _defineProperty(_extraReducers$8, ORDER_SET_APPLICABILITY_MASTER.fulfilled, function (state, action) {
31568
31568
  state.order_set_applicability_master.loading = false, state.order_set_applicability_master.error = false, state.order_set_applicability_master = action.payload;
31569
- }), _defineProperty(_extraReducers$7, ORDER_SET_APPLICABILITY_MASTER.pending, function (state, action) {
31569
+ }), _defineProperty(_extraReducers$8, ORDER_SET_APPLICABILITY_MASTER.pending, function (state, action) {
31570
31570
  state.order_set_applicability_master.loading = true, state.order_set_applicability_master.error = false, state.order_set_applicability_master.loading = true;
31571
- }), _defineProperty(_extraReducers$7, ORDER_SET_APPLICABILITY_MASTER.rejected, function (state, action) {
31571
+ }), _defineProperty(_extraReducers$8, ORDER_SET_APPLICABILITY_MASTER.rejected, function (state, action) {
31572
31572
  state.order_set_applicability_master.loading = false, state.order_set_applicability_master.error = true, state.order_set_applicability_master = action.payload;
31573
- }), _defineProperty(_extraReducers$7, DELETE_ORDER_SET_APPLICABILITY.fulfilled, function (state, action) {
31573
+ }), _defineProperty(_extraReducers$8, DELETE_ORDER_SET_APPLICABILITY.fulfilled, function (state, action) {
31574
31574
  state.order_set_applicability_delete.loading = false, state.order_set_applicability_delete.error = false, state.order_set_applicability_delete = action.payload;
31575
- }), _defineProperty(_extraReducers$7, DELETE_ORDER_SET_APPLICABILITY.pending, function (state, action) {
31575
+ }), _defineProperty(_extraReducers$8, DELETE_ORDER_SET_APPLICABILITY.pending, function (state, action) {
31576
31576
  state.order_set_applicability_delete.loading = true, state.order_set_applicability_delete.error = false, state.order_set_applicability_delete.loading = true;
31577
- }), _defineProperty(_extraReducers$7, DELETE_ORDER_SET_APPLICABILITY.rejected, function (state, action) {
31577
+ }), _defineProperty(_extraReducers$8, DELETE_ORDER_SET_APPLICABILITY.rejected, function (state, action) {
31578
31578
  state.order_set_applicability_delete.loading = false, state.order_set_applicability_delete.error = true, state.order_set_applicability_delete = action.payload;
31579
- }), _defineProperty(_extraReducers$7, ORDER_SET_APP_PRACTITIONER.fulfilled, function (state, action) {
31579
+ }), _defineProperty(_extraReducers$8, ORDER_SET_APP_PRACTITIONER.fulfilled, function (state, action) {
31580
31580
  state.order_set_app_practitioner.loading = false, state.order_set_app_practitioner.error = false, state.order_set_app_practitioner = action.payload;
31581
- }), _defineProperty(_extraReducers$7, ORDER_SET_APP_PRACTITIONER.pending, function (state, action) {
31581
+ }), _defineProperty(_extraReducers$8, ORDER_SET_APP_PRACTITIONER.pending, function (state, action) {
31582
31582
  state.order_set_app_practitioner.loading = true, state.order_set_app_practitioner.error = false, state.order_set_app_practitioner.loading = true;
31583
- }), _defineProperty(_extraReducers$7, ORDER_SET_APP_PRACTITIONER.rejected, function (state, action) {
31583
+ }), _defineProperty(_extraReducers$8, ORDER_SET_APP_PRACTITIONER.rejected, function (state, action) {
31584
31584
  state.order_set_app_practitioner.loading = false, state.order_set_app_practitioner.error = true, state.order_set_app_practitioner = action.payload;
31585
- }), _defineProperty(_extraReducers$7, ORDER_SET_APP_DIAGNOSIS_GROUP.fulfilled, function (state, action) {
31585
+ }), _defineProperty(_extraReducers$8, ORDER_SET_APP_DIAGNOSIS_GROUP.fulfilled, function (state, action) {
31586
31586
  state.order_set_app_diagnosis_group.loading = false, state.order_set_app_diagnosis_group.error = false, state.order_set_app_diagnosis_group = action.payload;
31587
- }), _defineProperty(_extraReducers$7, ORDER_SET_APP_DIAGNOSIS_GROUP.pending, function (state, action) {
31587
+ }), _defineProperty(_extraReducers$8, ORDER_SET_APP_DIAGNOSIS_GROUP.pending, function (state, action) {
31588
31588
  state.order_set_app_diagnosis_group.loading = true, state.order_set_app_diagnosis_group.error = false, state.order_set_app_diagnosis_group.loading = true;
31589
- }), _defineProperty(_extraReducers$7, ORDER_SET_APP_DIAGNOSIS_GROUP.rejected, function (state, action) {
31589
+ }), _defineProperty(_extraReducers$8, ORDER_SET_APP_DIAGNOSIS_GROUP.rejected, function (state, action) {
31590
31590
  state.order_set_app_diagnosis_group.loading = false, state.order_set_app_diagnosis_group.error = true, state.order_set_app_diagnosis_group = action.payload;
31591
- }), _defineProperty(_extraReducers$7, ORDER_SET_APP_DIAGNOSIS_CODE.fulfilled, function (state, action) {
31591
+ }), _defineProperty(_extraReducers$8, ORDER_SET_APP_DIAGNOSIS_CODE.fulfilled, function (state, action) {
31592
31592
  state.order_set_app_diagnosis_code.loading = false, state.order_set_app_diagnosis_code.error = false, state.order_set_app_diagnosis_code = action.payload;
31593
- }), _defineProperty(_extraReducers$7, ORDER_SET_APP_DIAGNOSIS_CODE.pending, function (state, action) {
31593
+ }), _defineProperty(_extraReducers$8, ORDER_SET_APP_DIAGNOSIS_CODE.pending, function (state, action) {
31594
31594
  state.order_set_app_diagnosis_code.loading = true, state.order_set_app_diagnosis_code.error = false, state.order_set_app_diagnosis_code.loading = true;
31595
- }), _defineProperty(_extraReducers$7, ORDER_SET_APP_DIAGNOSIS_CODE.rejected, function (state, action) {
31595
+ }), _defineProperty(_extraReducers$8, ORDER_SET_APP_DIAGNOSIS_CODE.rejected, function (state, action) {
31596
31596
  state.order_set_app_diagnosis_code.loading = false, state.order_set_app_diagnosis_code.error = true, state.order_set_app_diagnosis_code = action.payload;
31597
- }), _defineProperty(_extraReducers$7, ORDER_SET_APP_LOCATION.fulfilled, function (state, action) {
31597
+ }), _defineProperty(_extraReducers$8, ORDER_SET_APP_LOCATION.fulfilled, function (state, action) {
31598
31598
  state.order_set_app_location.loading = false, state.order_set_app_location.error = false, state.order_set_app_location = action.payload;
31599
- }), _defineProperty(_extraReducers$7, ORDER_SET_APP_LOCATION.pending, function (state, action) {
31599
+ }), _defineProperty(_extraReducers$8, ORDER_SET_APP_LOCATION.pending, function (state, action) {
31600
31600
  state.order_set_app_location.loading = true, state.order_set_app_location.error = false, state.order_set_app_location.loading = true;
31601
- }), _defineProperty(_extraReducers$7, ORDER_SET_APP_LOCATION.rejected, function (state, action) {
31601
+ }), _defineProperty(_extraReducers$8, ORDER_SET_APP_LOCATION.rejected, function (state, action) {
31602
31602
  state.order_set_app_location.loading = false, state.order_set_app_location.error = true, state.order_set_app_location = action.payload;
31603
- }), _defineProperty(_extraReducers$7, ORDER_SET_APPLICABILITY_UPSERT.fulfilled, function (state, action) {
31603
+ }), _defineProperty(_extraReducers$8, ORDER_SET_APPLICABILITY_UPSERT.fulfilled, function (state, action) {
31604
31604
  state.order_set_applicability_upsert.loading = false, state.order_set_applicability_upsert.error = false, state.order_set_applicability_upsert = action.payload;
31605
- }), _defineProperty(_extraReducers$7, ORDER_SET_APPLICABILITY_UPSERT.pending, function (state, action) {
31605
+ }), _defineProperty(_extraReducers$8, ORDER_SET_APPLICABILITY_UPSERT.pending, function (state, action) {
31606
31606
  state.order_set_applicability_upsert.loading = true, state.order_set_applicability_upsert.error = false, state.order_set_applicability_upsert.loading = true;
31607
- }), _defineProperty(_extraReducers$7, ORDER_SET_APPLICABILITY_UPSERT.rejected, function (state, action) {
31607
+ }), _defineProperty(_extraReducers$8, ORDER_SET_APPLICABILITY_UPSERT.rejected, function (state, action) {
31608
31608
  state.order_set_applicability_upsert.loading = false, state.order_set_applicability_upsert.error = true, state.order_set_applicability_upsert = action.payload;
31609
- }), _extraReducers$7)
31609
+ }), _extraReducers$8)
31610
31610
  });
31611
31611
  var orderSetApplicabilityActions = {
31612
31612
  GET_ORDER_SET_APPLICABILITY_LIST: GET_ORDER_SET_APPLICABILITY_LIST,
@@ -31621,7 +31621,424 @@ var orderSetApplicabilityActions = {
31621
31621
  };
31622
31622
  var orderSetApplicabilitySlice$1 = orderSetApplicabilitySlice.reducer;
31623
31623
 
31624
- var consultActions = _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, ageRangeMasterActions), vitalsMasters), orderMasters), drug_actions), orderSetMasterActions), orderSetApplicabilityActions);
31624
+ var query$2 = {
31625
+ getList: function getList(page, perpage) {
31626
+ return {
31627
+ db_name: "".concat(dbName),
31628
+ entity: "AllergyMaster",
31629
+ filter: "AllergyMaster.activestatus == true",
31630
+ limit: {
31631
+ offset: page,
31632
+ count: perpage
31633
+ },
31634
+ return_fields: "{TotalCount:COUNT(AllergyMaster),AllergyMaster:merge(AllergyMaster,{extsystemsourceid:document(AllergyMaster.extsystemsourceid)},{conceptidtype:document(AllergyMaster.conceptidtype)},{allergytypeind:document(AllergyMaster.allergytypeind)})}"
31635
+ };
31636
+ }
31637
+ };
31638
+
31639
+ var generateJson$1 = function generateJson(data) {
31640
+ var _data$id, _data$extsystemsource, _data$allergytypeind, _data$code, _data$shortdesc, _data$longdesc, _data$conceptidtype;
31641
+
31642
+ var filter = {};
31643
+
31644
+ if (data._key) {
31645
+ filter = {
31646
+ filter: {
31647
+ _key: data === null || data === void 0 ? void 0 : data._key
31648
+ }
31649
+ };
31650
+ }
31651
+
31652
+ return [_objectSpread2(_objectSpread2({
31653
+ db_name: "".concat(dbName),
31654
+ entity: "AllergyMaster",
31655
+ is_metadata: true,
31656
+ metadataId: "04ecb73d-f048-44ce-8563-c9be015812dd"
31657
+ }, filter), {}, {
31658
+ doc: {
31659
+ id: (_data$id = data === null || data === void 0 ? void 0 : data.id) !== null && _data$id !== void 0 ? _data$id : 0,
31660
+ extsystemsourceid: (_data$extsystemsource = data === null || data === void 0 ? void 0 : data.extsystemsourceid) !== null && _data$extsystemsource !== void 0 ? _data$extsystemsource : "",
31661
+ allergytypeind: (_data$allergytypeind = data === null || data === void 0 ? void 0 : data.allergytypeind) !== null && _data$allergytypeind !== void 0 ? _data$allergytypeind : "",
31662
+ code: (_data$code = data === null || data === void 0 ? void 0 : data.code) !== null && _data$code !== void 0 ? _data$code : "",
31663
+ shortdesc: (_data$shortdesc = data === null || data === void 0 ? void 0 : data.shortdesc) !== null && _data$shortdesc !== void 0 ? _data$shortdesc : "",
31664
+ longdesc: (_data$longdesc = data === null || data === void 0 ? void 0 : data.longdesc) !== null && _data$longdesc !== void 0 ? _data$longdesc : "",
31665
+ conceptidtype: (_data$conceptidtype = data === null || data === void 0 ? void 0 : data.conceptidtype) !== null && _data$conceptidtype !== void 0 ? _data$conceptidtype : "",
31666
+ status: data === null || data === void 0 ? void 0 : data.status
31667
+ }
31668
+ })];
31669
+ };
31670
+
31671
+ var generateReadJSON$1 = function generateReadJSON(data) {
31672
+ var arr = [];
31673
+
31674
+ if ((data === null || data === void 0 ? void 0 : data.length) > 0) {
31675
+ data === null || data === void 0 ? void 0 : data.map(function (val, i) {
31676
+ var _val$TotalCount, _val$AllergyMaster$_i, _val$AllergyMaster, _val$AllergyMaster$_k, _val$AllergyMaster2, _val$AllergyMaster3, _val$AllergyMaster3$a, _val$AllergyMaster4, _val$AllergyMaster4$a, _val$AllergyMaster5, _val$AllergyMaster5$a, _val$AllergyMaster6, _val$AllergyMaster6$a, _val$AllergyMaster$co, _val$AllergyMaster7, _val$AllergyMaster8, _val$AllergyMaster8$c, _val$AllergyMaster9, _val$AllergyMaster9$c, _val$AllergyMaster10, _val$AllergyMaster10$, _val$AllergyMaster11, _val$AllergyMaster11$, _val$AllergyMaster12, _val$AllergyMaster12$, _val$AllergyMaster13, _val$AllergyMaster13$, _val$AllergyMaster14, _val$AllergyMaster14$, _val$AllergyMaster15, _val$AllergyMaster15$, _val$AllergyMaster$id, _val$AllergyMaster16, _val$AllergyMaster$lo, _val$AllergyMaster17, _val$AllergyMaster$sh, _val$AllergyMaster18, _val$AllergyMaster$st, _val$AllergyMaster19;
31677
+
31678
+ var obj = {
31679
+ TotalCount: (_val$TotalCount = val === null || val === void 0 ? void 0 : val.TotalCount) !== null && _val$TotalCount !== void 0 ? _val$TotalCount : 0,
31680
+ _id: (_val$AllergyMaster$_i = val === null || val === void 0 ? void 0 : (_val$AllergyMaster = val.AllergyMaster) === null || _val$AllergyMaster === void 0 ? void 0 : _val$AllergyMaster._id) !== null && _val$AllergyMaster$_i !== void 0 ? _val$AllergyMaster$_i : "",
31681
+ _key: (_val$AllergyMaster$_k = val === null || val === void 0 ? void 0 : (_val$AllergyMaster2 = val.AllergyMaster) === null || _val$AllergyMaster2 === void 0 ? void 0 : _val$AllergyMaster2._key) !== null && _val$AllergyMaster$_k !== void 0 ? _val$AllergyMaster$_k : "",
31682
+ allergytypeind: val !== null && val !== void 0 && (_val$AllergyMaster3 = val.AllergyMaster) !== null && _val$AllergyMaster3 !== void 0 && (_val$AllergyMaster3$a = _val$AllergyMaster3.allergytypeind) !== null && _val$AllergyMaster3$a !== void 0 && _val$AllergyMaster3$a._id && val !== null && val !== void 0 && (_val$AllergyMaster4 = val.AllergyMaster) !== null && _val$AllergyMaster4 !== void 0 && (_val$AllergyMaster4$a = _val$AllergyMaster4.allergytypeind) !== null && _val$AllergyMaster4$a !== void 0 && _val$AllergyMaster4$a.shortdesc ? {
31683
+ value: val === null || val === void 0 ? void 0 : (_val$AllergyMaster5 = val.AllergyMaster) === null || _val$AllergyMaster5 === void 0 ? void 0 : (_val$AllergyMaster5$a = _val$AllergyMaster5.allergytypeind) === null || _val$AllergyMaster5$a === void 0 ? void 0 : _val$AllergyMaster5$a._id,
31684
+ label: val === null || val === void 0 ? void 0 : (_val$AllergyMaster6 = val.AllergyMaster) === null || _val$AllergyMaster6 === void 0 ? void 0 : (_val$AllergyMaster6$a = _val$AllergyMaster6.allergytypeind) === null || _val$AllergyMaster6$a === void 0 ? void 0 : _val$AllergyMaster6$a.shortdesc
31685
+ } : {},
31686
+ code: (_val$AllergyMaster$co = val === null || val === void 0 ? void 0 : (_val$AllergyMaster7 = val.AllergyMaster) === null || _val$AllergyMaster7 === void 0 ? void 0 : _val$AllergyMaster7.code) !== null && _val$AllergyMaster$co !== void 0 ? _val$AllergyMaster$co : "",
31687
+ conceptidtype: val !== null && val !== void 0 && (_val$AllergyMaster8 = val.AllergyMaster) !== null && _val$AllergyMaster8 !== void 0 && (_val$AllergyMaster8$c = _val$AllergyMaster8.conceptidtype) !== null && _val$AllergyMaster8$c !== void 0 && _val$AllergyMaster8$c._id && val !== null && val !== void 0 && (_val$AllergyMaster9 = val.AllergyMaster) !== null && _val$AllergyMaster9 !== void 0 && (_val$AllergyMaster9$c = _val$AllergyMaster9.conceptidtype) !== null && _val$AllergyMaster9$c !== void 0 && _val$AllergyMaster9$c.shortdesc ? {
31688
+ value: val === null || val === void 0 ? void 0 : (_val$AllergyMaster10 = val.AllergyMaster) === null || _val$AllergyMaster10 === void 0 ? void 0 : (_val$AllergyMaster10$ = _val$AllergyMaster10.conceptidtype) === null || _val$AllergyMaster10$ === void 0 ? void 0 : _val$AllergyMaster10$._id,
31689
+ label: val === null || val === void 0 ? void 0 : (_val$AllergyMaster11 = val.AllergyMaster) === null || _val$AllergyMaster11 === void 0 ? void 0 : (_val$AllergyMaster11$ = _val$AllergyMaster11.conceptidtype) === null || _val$AllergyMaster11$ === void 0 ? void 0 : _val$AllergyMaster11$.shortdesc
31690
+ } : {},
31691
+ extsystemsourceid: val !== null && val !== void 0 && (_val$AllergyMaster12 = val.AllergyMaster) !== null && _val$AllergyMaster12 !== void 0 && (_val$AllergyMaster12$ = _val$AllergyMaster12.extsystemsourceid) !== null && _val$AllergyMaster12$ !== void 0 && _val$AllergyMaster12$._id && val !== null && val !== void 0 && (_val$AllergyMaster13 = val.AllergyMaster) !== null && _val$AllergyMaster13 !== void 0 && (_val$AllergyMaster13$ = _val$AllergyMaster13.extsystemsourceid) !== null && _val$AllergyMaster13$ !== void 0 && _val$AllergyMaster13$.shortdesc ? {
31692
+ value: val === null || val === void 0 ? void 0 : (_val$AllergyMaster14 = val.AllergyMaster) === null || _val$AllergyMaster14 === void 0 ? void 0 : (_val$AllergyMaster14$ = _val$AllergyMaster14.extsystemsourceid) === null || _val$AllergyMaster14$ === void 0 ? void 0 : _val$AllergyMaster14$._id,
31693
+ label: val === null || val === void 0 ? void 0 : (_val$AllergyMaster15 = val.AllergyMaster) === null || _val$AllergyMaster15 === void 0 ? void 0 : (_val$AllergyMaster15$ = _val$AllergyMaster15.extsystemsourceid) === null || _val$AllergyMaster15$ === void 0 ? void 0 : _val$AllergyMaster15$.shortdesc
31694
+ } : {},
31695
+ id: (_val$AllergyMaster$id = val === null || val === void 0 ? void 0 : (_val$AllergyMaster16 = val.AllergyMaster) === null || _val$AllergyMaster16 === void 0 ? void 0 : _val$AllergyMaster16.id) !== null && _val$AllergyMaster$id !== void 0 ? _val$AllergyMaster$id : "",
31696
+ longdesc: (_val$AllergyMaster$lo = val === null || val === void 0 ? void 0 : (_val$AllergyMaster17 = val.AllergyMaster) === null || _val$AllergyMaster17 === void 0 ? void 0 : _val$AllergyMaster17.longdesc) !== null && _val$AllergyMaster$lo !== void 0 ? _val$AllergyMaster$lo : "",
31697
+ shortdesc: (_val$AllergyMaster$sh = val === null || val === void 0 ? void 0 : (_val$AllergyMaster18 = val.AllergyMaster) === null || _val$AllergyMaster18 === void 0 ? void 0 : _val$AllergyMaster18.shortdesc) !== null && _val$AllergyMaster$sh !== void 0 ? _val$AllergyMaster$sh : "",
31698
+ status: (_val$AllergyMaster$st = val === null || val === void 0 ? void 0 : (_val$AllergyMaster19 = val.AllergyMaster) === null || _val$AllergyMaster19 === void 0 ? void 0 : _val$AllergyMaster19.status) !== null && _val$AllergyMaster$st !== void 0 ? _val$AllergyMaster$st : true
31699
+ };
31700
+ arr.push(obj);
31701
+ });
31702
+ }
31703
+
31704
+ return arr;
31705
+ };
31706
+
31707
+ var masterQuery = {
31708
+ allergyTypeIndicator: "{\n \"db_name\": \"".concat(dbName, "\",\n \"entity\": \"CodingMaster\",\n \"filter\": \"CodingMaster.Type == 'ALTYPE' && CodingMaster.status == true && CodingMaster.activestatus == true\",\n \"return_fields\": \"keep(CodingMaster,'_key','_id','code','display','Type','status')\",\n \"sort\": \"CodingMaster.display\"\n }"),
31709
+ conceptIdType: "{\n \"db_name\": \"".concat(dbName, "\",\n \"entity\": \"CodingMaster\",\n \"filter\": \"CodingMaster.Type == 'CONCEPTIDTTYPE' && CodingMaster.status == true && CodingMaster.activestatus == true\",\n \"return_fields\": \"keep(CodingMaster,'_key','_id','code','display','Type','status')\",\n \"sort\": \"CodingMaster.display\"\n }"),
31710
+ extSystemSourceId: "{\n \"db_name\": \"".concat(dbName, "\",\n \"entity\": \"CodingMaster\",\n \"filter\": \"CodingMaster.Type == 'DBSOURCE' && CodingMaster.status == true && CodingMaster.activestatus == true\",\n \"return_fields\": \"keep(CodingMaster,'_key','_id','code','display','Type','status')\",\n \"sort\": \"CodingMaster.display\"\n }")
31711
+ };
31712
+
31713
+ var _extraReducers$7;
31714
+ var fileds = ["allergyTypeIndicator", "conceptIdType", "extSystemSourceId"];
31715
+
31716
+ var loopMasters$1 = function loopMasters() {
31717
+ return new es6Promise.Promise( /*#__PURE__*/function () {
31718
+ var _ref = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2(resolve, reject) {
31719
+ var calls;
31720
+ return regeneratorRuntime.wrap(function _callee2$(_context2) {
31721
+ while (1) {
31722
+ switch (_context2.prev = _context2.next) {
31723
+ case 0:
31724
+ calls = Object.keys(masterQuery).map( /*#__PURE__*/function () {
31725
+ var _ref2 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(val) {
31726
+ return regeneratorRuntime.wrap(function _callee$(_context) {
31727
+ while (1) {
31728
+ switch (_context.prev = _context.next) {
31729
+ case 0:
31730
+ _context.next = 2;
31731
+ return fetchMaster$1(val, masterQuery[val]);
31732
+
31733
+ case 2:
31734
+ return _context.abrupt("return", _context.sent);
31735
+
31736
+ case 3:
31737
+ case "end":
31738
+ return _context.stop();
31739
+ }
31740
+ }
31741
+ }, _callee);
31742
+ }));
31743
+
31744
+ return function (_x3) {
31745
+ return _ref2.apply(this, arguments);
31746
+ };
31747
+ }());
31748
+ es6Promise.Promise.all(calls).then(function (data) {
31749
+ var json = {};
31750
+ data.map(function (val) {
31751
+ var arr = [];
31752
+ val.data.map(function (value) {
31753
+ if (fileds.includes(val.name)) {
31754
+ arr.push({
31755
+ label: value === null || value === void 0 ? void 0 : value.display,
31756
+ value: value === null || value === void 0 ? void 0 : value._id
31757
+ });
31758
+ }
31759
+ });
31760
+ json[val.name] = arr;
31761
+ resolve(json);
31762
+ });
31763
+ })["catch"](function (err) {
31764
+ resolve([]);
31765
+ console.log(err);
31766
+ });
31767
+
31768
+ case 2:
31769
+ case "end":
31770
+ return _context2.stop();
31771
+ }
31772
+ }
31773
+ }, _callee2);
31774
+ }));
31775
+
31776
+ return function (_x, _x2) {
31777
+ return _ref.apply(this, arguments);
31778
+ };
31779
+ }());
31780
+ };
31781
+
31782
+ var fetchMaster$1 = function fetchMaster(name, query) {
31783
+ return new es6Promise.Promise( /*#__PURE__*/function () {
31784
+ var _ref3 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee3(resolve, reject) {
31785
+ var data;
31786
+ return regeneratorRuntime.wrap(function _callee3$(_context3) {
31787
+ while (1) {
31788
+ switch (_context3.prev = _context3.next) {
31789
+ case 0:
31790
+ _context3.next = 2;
31791
+ return fetchData({
31792
+ body: query
31793
+ }, __readDocumentUrl__);
31794
+
31795
+ case 2:
31796
+ data = _context3.sent;
31797
+ resolve({
31798
+ data: data.result,
31799
+ name: name
31800
+ });
31801
+
31802
+ case 4:
31803
+ case "end":
31804
+ return _context3.stop();
31805
+ }
31806
+ }
31807
+ }, _callee3);
31808
+ }));
31809
+
31810
+ return function (_x4, _x5) {
31811
+ return _ref3.apply(this, arguments);
31812
+ };
31813
+ }());
31814
+ };
31815
+
31816
+ var GET_ALLERGEN_MASTER = createAsyncThunk("allergenMasterApiSlice/allergen_master_list", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee4() {
31817
+ var payload,
31818
+ _ref5,
31819
+ rejectWithValue,
31820
+ _page,
31821
+ _perpage,
31822
+ data,
31823
+ readJSON,
31824
+ _args4 = arguments;
31825
+
31826
+ return regeneratorRuntime.wrap(function _callee4$(_context4) {
31827
+ while (1) {
31828
+ switch (_context4.prev = _context4.next) {
31829
+ case 0:
31830
+ payload = _args4.length > 0 && _args4[0] !== undefined ? _args4[0] : {
31831
+ page: page,
31832
+ perpage: perpage
31833
+ };
31834
+ _ref5 = _args4.length > 1 ? _args4[1] : undefined, rejectWithValue = _ref5.rejectWithValue;
31835
+ _context4.prev = 2;
31836
+ _page = payload.page, _perpage = payload.perpage;
31837
+ _context4.next = 6;
31838
+ return fetchData({
31839
+ body: JSON.stringify(query$2.getList(_page, _perpage))
31840
+ }, __readDocumentUrl__);
31841
+
31842
+ case 6:
31843
+ data = _context4.sent;
31844
+ readJSON = generateReadJSON$1(data !== null && data !== void 0 && data.result ? data === null || data === void 0 ? void 0 : data.result : null);
31845
+ return _context4.abrupt("return", _objectSpread2(_objectSpread2({}, defaultState.List), {}, {
31846
+ data: readJSON
31847
+ }));
31848
+
31849
+ case 11:
31850
+ _context4.prev = 11;
31851
+ _context4.t0 = _context4["catch"](2);
31852
+ return _context4.abrupt("return", rejectWithValue(_objectSpread2(_objectSpread2({}, defaultReject), {}, {
31853
+ message: _context4.t0.message
31854
+ })));
31855
+
31856
+ case 14:
31857
+ case "end":
31858
+ return _context4.stop();
31859
+ }
31860
+ }
31861
+ }, _callee4, null, [[2, 11]]);
31862
+ })));
31863
+ var UPSERT_ALLERGEN_MASTER = createAsyncThunk("allergenMasterApiSlice/save_allergen_master", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee5() {
31864
+ var payload,
31865
+ _ref7,
31866
+ rejectWithValue,
31867
+ dataList,
31868
+ queriesjson,
31869
+ data,
31870
+ _args5 = arguments;
31871
+
31872
+ return regeneratorRuntime.wrap(function _callee5$(_context5) {
31873
+ while (1) {
31874
+ switch (_context5.prev = _context5.next) {
31875
+ case 0:
31876
+ payload = _args5.length > 0 && _args5[0] !== undefined ? _args5[0] : {};
31877
+ _ref7 = _args5.length > 1 ? _args5[1] : undefined, rejectWithValue = _ref7.rejectWithValue;
31878
+ _context5.prev = 2;
31879
+ dataList = payload.dataList;
31880
+ queriesjson = generateJson$1(dataList);
31881
+ _context5.next = 7;
31882
+ return fetchData({
31883
+ body: JSON.stringify(queriesjson)
31884
+ }, __uspsertUrl__);
31885
+
31886
+ case 7:
31887
+ data = _context5.sent;
31888
+ return _context5.abrupt("return", _objectSpread2(_objectSpread2({}, defaultState.List), {}, {
31889
+ data: data
31890
+ }));
31891
+
31892
+ case 11:
31893
+ _context5.prev = 11;
31894
+ _context5.t0 = _context5["catch"](2);
31895
+ alert(_context5.t0.message);
31896
+ return _context5.abrupt("return", rejectWithValue(_objectSpread2(_objectSpread2({}, defaultReject), {}, {
31897
+ message: _context5.t0.message
31898
+ })));
31899
+
31900
+ case 15:
31901
+ case "end":
31902
+ return _context5.stop();
31903
+ }
31904
+ }
31905
+ }, _callee5, null, [[2, 11]]);
31906
+ })));
31907
+ var UPDATE_ALLERGEN_MASTER_STATUS = createAsyncThunk("allergenMasterApiSlice/update_allergen_master_status", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee6() {
31908
+ var payload,
31909
+ _ref9,
31910
+ rejectWithValue,
31911
+ _key,
31912
+ status,
31913
+ queriesjson,
31914
+ data,
31915
+ _args6 = arguments;
31916
+
31917
+ return regeneratorRuntime.wrap(function _callee6$(_context6) {
31918
+ while (1) {
31919
+ switch (_context6.prev = _context6.next) {
31920
+ case 0:
31921
+ payload = _args6.length > 0 && _args6[0] !== undefined ? _args6[0] : {};
31922
+ _ref9 = _args6.length > 1 ? _args6[1] : undefined, rejectWithValue = _ref9.rejectWithValue;
31923
+ _context6.prev = 2;
31924
+ _key = payload._key, status = payload.status;
31925
+ queriesjson = [{
31926
+ db_name: dbName,
31927
+ entity: "AllergyMaster",
31928
+ is_metadata: true,
31929
+ metadataId: "04ecb73d-f048-44ce-8563-c9be015812dd",
31930
+ filter: {
31931
+ _key: "".concat(_key)
31932
+ },
31933
+ doc: {
31934
+ status: status
31935
+ }
31936
+ }];
31937
+ _context6.next = 7;
31938
+ return fetchData({
31939
+ body: JSON.stringify(queriesjson)
31940
+ }, __uspsertUrl__);
31941
+
31942
+ case 7:
31943
+ data = _context6.sent;
31944
+ return _context6.abrupt("return", _objectSpread2(_objectSpread2({}, defaultState.Info), {}, {
31945
+ data: data
31946
+ }));
31947
+
31948
+ case 11:
31949
+ _context6.prev = 11;
31950
+ _context6.t0 = _context6["catch"](2);
31951
+ alert(_context6.t0.message);
31952
+ return _context6.abrupt("return", rejectWithValue(_objectSpread2(_objectSpread2({}, defaultReject), {}, {
31953
+ message: _context6.t0.message
31954
+ })));
31955
+
31956
+ case 15:
31957
+ case "end":
31958
+ return _context6.stop();
31959
+ }
31960
+ }
31961
+ }, _callee6, null, [[2, 11]]);
31962
+ }))); //ALLERGEN_MASTER_MASTER
31963
+
31964
+ var ALLERGEN_MASTER_MASTER = createAsyncThunk("allergenMasterApiSlice/allergen_master_masters", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee7() {
31965
+ var _ref11,
31966
+ rejectWithValue,
31967
+ data,
31968
+ _args7 = arguments;
31969
+
31970
+ return regeneratorRuntime.wrap(function _callee7$(_context7) {
31971
+ while (1) {
31972
+ switch (_context7.prev = _context7.next) {
31973
+ case 0:
31974
+ _ref11 = _args7.length > 1 ? _args7[1] : undefined, rejectWithValue = _ref11.rejectWithValue;
31975
+ _context7.prev = 2;
31976
+ _context7.next = 5;
31977
+ return loopMasters$1();
31978
+
31979
+ case 5:
31980
+ data = _context7.sent;
31981
+ return _context7.abrupt("return", _objectSpread2(_objectSpread2({}, defaultState.List), {}, {
31982
+ data: data
31983
+ }));
31984
+
31985
+ case 9:
31986
+ _context7.prev = 9;
31987
+ _context7.t0 = _context7["catch"](2);
31988
+ return _context7.abrupt("return", rejectWithValue(_objectSpread2(_objectSpread2({}, defaultReject), {}, {
31989
+ message: _context7.t0.message
31990
+ })));
31991
+
31992
+ case 12:
31993
+ case "end":
31994
+ return _context7.stop();
31995
+ }
31996
+ }
31997
+ }, _callee7, null, [[2, 9]]);
31998
+ })));
31999
+ var allergenMasterSlice = createSlice({
32000
+ name: "allergenMasterApiSlice",
32001
+ initialState: {
32002
+ allergen_master_list: _objectSpread2({}, defaultState.List),
32003
+ allergen_master_master: _objectSpread2({}, defaultState.List),
32004
+ save_allergen_master: _objectSpread2({}, defaultState.Info),
32005
+ update_allergen_master_status: _objectSpread2({}, defaultState.Info)
32006
+ },
32007
+ extraReducers: (_extraReducers$7 = {}, _defineProperty(_extraReducers$7, GET_ALLERGEN_MASTER.fulfilled, function (state, action) {
32008
+ state.allergen_master_list.loading = false, state.allergen_master_list.error = false, state.allergen_master_list = action.payload;
32009
+ }), _defineProperty(_extraReducers$7, GET_ALLERGEN_MASTER.pending, function (state, action) {
32010
+ state.allergen_master_list.loading = true, state.allergen_master_list.error = false, state.allergen_master_list.loading = true;
32011
+ }), _defineProperty(_extraReducers$7, GET_ALLERGEN_MASTER.rejected, function (state, action) {
32012
+ state.allergen_master_list.loading = false, state.allergen_master_list.error = true, state.allergen_master_list = action.payload;
32013
+ }), _defineProperty(_extraReducers$7, ALLERGEN_MASTER_MASTER.fulfilled, function (state, action) {
32014
+ state.allergen_master_master.loading = false, state.allergen_master_master.error = false, state.allergen_master_master = action.payload;
32015
+ }), _defineProperty(_extraReducers$7, ALLERGEN_MASTER_MASTER.pending, function (state, action) {
32016
+ state.allergen_master_master.loading = true, state.allergen_master_master.error = false, state.allergen_master_master.loading = true;
32017
+ }), _defineProperty(_extraReducers$7, ALLERGEN_MASTER_MASTER.rejected, function (state, action) {
32018
+ state.allergen_master_master.loading = false, state.allergen_master_master.error = true, state.allergen_master_master = action.payload;
32019
+ }), _defineProperty(_extraReducers$7, UPSERT_ALLERGEN_MASTER.fulfilled, function (state, action) {
32020
+ state.save_allergen_master.loading = false, state.save_allergen_master.error = false, state.save_allergen_master = action.payload;
32021
+ }), _defineProperty(_extraReducers$7, UPSERT_ALLERGEN_MASTER.pending, function (state, action) {
32022
+ state.save_allergen_master.loading = true, state.save_allergen_master.error = false, state.save_allergen_master.loading = true;
32023
+ }), _defineProperty(_extraReducers$7, UPSERT_ALLERGEN_MASTER.rejected, function (state, action) {
32024
+ state.save_allergen_master.loading = false, state.save_allergen_master.error = true, state.save_allergen_master = action.payload;
32025
+ }), _defineProperty(_extraReducers$7, UPDATE_ALLERGEN_MASTER_STATUS.fulfilled, function (state, action) {
32026
+ state.update_allergen_master_status.loading = false, state.update_allergen_master_status.error = false, state.update_allergen_master_status = action.payload;
32027
+ }), _defineProperty(_extraReducers$7, UPDATE_ALLERGEN_MASTER_STATUS.pending, function (state, action) {
32028
+ state.update_allergen_master_status.loading = true, state.update_allergen_master_status.error = false, state.update_allergen_master_status.loading = true;
32029
+ }), _defineProperty(_extraReducers$7, UPDATE_ALLERGEN_MASTER_STATUS.rejected, function (state, action) {
32030
+ state.update_allergen_master_status.loading = false, state.update_allergen_master_status.error = true, state.update_allergen_master_status = action.payload;
32031
+ }), _extraReducers$7)
32032
+ });
32033
+ var allergenMasterActions = {
32034
+ GET_ALLERGEN_MASTER: GET_ALLERGEN_MASTER,
32035
+ ALLERGEN_MASTER_MASTER: ALLERGEN_MASTER_MASTER,
32036
+ UPSERT_ALLERGEN_MASTER: UPSERT_ALLERGEN_MASTER,
32037
+ UPDATE_ALLERGEN_MASTER_STATUS: UPDATE_ALLERGEN_MASTER_STATUS
32038
+ };
32039
+ var allergenMasterSlice$1 = allergenMasterSlice.reducer;
32040
+
32041
+ var consultActions = _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, ageRangeMasterActions), vitalsMasters), orderMasters), drug_actions), orderSetMasterActions), orderSetApplicabilityActions), allergenMasterActions);
31625
32042
 
31626
32043
  var query$1 = {
31627
32044
  // pending list
@@ -34831,7 +35248,8 @@ var index = combineReducers({
34831
35248
  symptomAndSpecialtySlice: symptomAndSpecialtySlice$1,
34832
35249
  orderSetMasterSlice: orderSetMasterSlice$1,
34833
35250
  encounterTypeSlice: encounterTypeSlice,
34834
- orderSetApplicabilitySlice: orderSetApplicabilitySlice$1
35251
+ orderSetApplicabilitySlice: orderSetApplicabilitySlice$1,
35252
+ allergenMasterSlice: allergenMasterSlice$1
34835
35253
  });
34836
35254
 
34837
35255
  var actions = _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, practitionerActions), locationActions), consultActions), ordertypeActions), ordernatureActions), availabilityManagementActions), pendingRescheduleListMasters), organizationMasterActions), signInActionsCall), slotAvailabilityApiActions), appointmentApiActions), organizationConfiActions), organizationConfigMasterAction), userManagementActions);