primary_care_admin_binder 0.1.18 → 0.1.22

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 +2032 -901
  2. package/package.json +1 -1
package/dist/index.cjs.js CHANGED
@@ -8525,7 +8525,7 @@ var generateJSON$2 = function generateJSON(data, _key, person_id) {
8525
8525
  return json;
8526
8526
  };
8527
8527
 
8528
- var _extraReducers$I;
8528
+ var _extraReducers$K;
8529
8529
  var PRACTITIONER_ROLE_READ = createAsyncThunk("practitionerSlice/practitionerlist", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
8530
8530
  var payload,
8531
8531
  _ref2,
@@ -8836,43 +8836,43 @@ var practitionerSlice = createSlice({
8836
8836
  practitioner_status_update: _objectSpread2({}, defaultState.List),
8837
8837
  get_entity_by_id: _objectSpread2({}, defaultState.List)
8838
8838
  },
8839
- extraReducers: (_extraReducers$I = {}, _defineProperty(_extraReducers$I, PRACTITIONER_ROLE_READ.fulfilled, function (state, action) {
8839
+ extraReducers: (_extraReducers$K = {}, _defineProperty(_extraReducers$K, PRACTITIONER_ROLE_READ.fulfilled, function (state, action) {
8840
8840
  state.practitioner_role_list.loading = false, state.practitioner_role_list.error = false, state.practitioner_role_list = action.payload;
8841
- }), _defineProperty(_extraReducers$I, PRACTITIONER_ROLE_READ.pending, function (state, action) {
8841
+ }), _defineProperty(_extraReducers$K, PRACTITIONER_ROLE_READ.pending, function (state, action) {
8842
8842
  state.practitioner_role_list.loading = true, state.practitioner_role_list.error = false, state.practitioner_role_list.loading = true;
8843
- }), _defineProperty(_extraReducers$I, PRACTITIONER_ROLE_READ.rejected, function (state, action) {
8843
+ }), _defineProperty(_extraReducers$K, PRACTITIONER_ROLE_READ.rejected, function (state, action) {
8844
8844
  state.practitioner_role_list.loading = false, state.practitioner_role_list.error = true, state.practitioner_role_list = action.payload;
8845
- }), _defineProperty(_extraReducers$I, PRACTITIONER_ROLE_UPSERT.fulfilled, function (state, action) {
8845
+ }), _defineProperty(_extraReducers$K, PRACTITIONER_ROLE_UPSERT.fulfilled, function (state, action) {
8846
8846
  state.practitioner_role_upsert.loading = false, state.practitioner_role_upsert.error = false, state.practitioner_role_upsert = action.payload;
8847
- }), _defineProperty(_extraReducers$I, PRACTITIONER_ROLE_UPSERT.pending, function (state, action) {
8847
+ }), _defineProperty(_extraReducers$K, PRACTITIONER_ROLE_UPSERT.pending, function (state, action) {
8848
8848
  state.practitioner_role_upsert.loading = true, state.practitioner_role_upsert.error = false, state.practitioner_role_upsert.loading = true;
8849
- }), _defineProperty(_extraReducers$I, PRACTITIONER_ROLE_UPSERT.rejected, function (state, action) {
8849
+ }), _defineProperty(_extraReducers$K, PRACTITIONER_ROLE_UPSERT.rejected, function (state, action) {
8850
8850
  state.practitioner_role_upsert.loading = false, state.practitioner_role_upsert.error = true, state.practitioner_role_upsert = action.payload;
8851
- }), _defineProperty(_extraReducers$I, PRACTITIONER_LIST_READ.fulfilled, function (state, action) {
8851
+ }), _defineProperty(_extraReducers$K, PRACTITIONER_LIST_READ.fulfilled, function (state, action) {
8852
8852
  state.practitioner_list.loading = false, state.practitioner_list.error = false, state.practitioner_list = action.payload;
8853
- }), _defineProperty(_extraReducers$I, PRACTITIONER_LIST_READ.pending, function (state, action) {
8853
+ }), _defineProperty(_extraReducers$K, PRACTITIONER_LIST_READ.pending, function (state, action) {
8854
8854
  state.practitioner_list.loading = true, state.practitioner_list.error = false, state.practitioner_list.loading = true;
8855
- }), _defineProperty(_extraReducers$I, PRACTITIONER_LIST_READ.rejected, function (state, action) {
8855
+ }), _defineProperty(_extraReducers$K, PRACTITIONER_LIST_READ.rejected, function (state, action) {
8856
8856
  state.practitioner_list.loading = false, state.practitioner_list.error = true, state.practitioner_list = action.payload;
8857
- }), _defineProperty(_extraReducers$I, PRACTITIONER_UPSERT.fulfilled, function (state, action) {
8857
+ }), _defineProperty(_extraReducers$K, PRACTITIONER_UPSERT.fulfilled, function (state, action) {
8858
8858
  state.practitioner_upsert.loading = false, state.practitioner_upsert.error = false, state.practitioner_upsert = action.payload;
8859
- }), _defineProperty(_extraReducers$I, PRACTITIONER_UPSERT.pending, function (state, action) {
8859
+ }), _defineProperty(_extraReducers$K, PRACTITIONER_UPSERT.pending, function (state, action) {
8860
8860
  state.practitioner_upsert.loading = true, state.practitioner_upsert.error = false, state.practitioner_upsert.loading = true;
8861
- }), _defineProperty(_extraReducers$I, PRACTITIONER_UPSERT.rejected, function (state, action) {
8861
+ }), _defineProperty(_extraReducers$K, PRACTITIONER_UPSERT.rejected, function (state, action) {
8862
8862
  state.practitioner_upsert.loading = false, state.practitioner_upsert.error = true, state.practitioner_upsert = action.payload;
8863
- }), _defineProperty(_extraReducers$I, PRACTITIONER_STATUS_CHANGE.fulfilled, function (state, action) {
8863
+ }), _defineProperty(_extraReducers$K, PRACTITIONER_STATUS_CHANGE.fulfilled, function (state, action) {
8864
8864
  state.practitioner_status_update.loading = false, state.practitioner_status_update.error = false, state.practitioner_status_update = action.payload;
8865
- }), _defineProperty(_extraReducers$I, PRACTITIONER_STATUS_CHANGE.pending, function (state, action) {
8865
+ }), _defineProperty(_extraReducers$K, PRACTITIONER_STATUS_CHANGE.pending, function (state, action) {
8866
8866
  state.practitioner_status_update.loading = true, state.practitioner_status_update.error = false, state.practitioner_status_update.loading = true;
8867
- }), _defineProperty(_extraReducers$I, PRACTITIONER_STATUS_CHANGE.rejected, function (state, action) {
8867
+ }), _defineProperty(_extraReducers$K, PRACTITIONER_STATUS_CHANGE.rejected, function (state, action) {
8868
8868
  state.practitioner_status_update.loading = false, state.practitioner_status_update.error = true, state.practitioner_status_update = action.payload;
8869
- }), _defineProperty(_extraReducers$I, GET_ENTITY_BY_ID.fulfilled, function (state, action) {
8869
+ }), _defineProperty(_extraReducers$K, GET_ENTITY_BY_ID.fulfilled, function (state, action) {
8870
8870
  state.get_entity_by_id.loading = false, state.get_entity_by_id.error = false, state.get_entity_by_id = action.payload;
8871
- }), _defineProperty(_extraReducers$I, GET_ENTITY_BY_ID.pending, function (state, action) {
8871
+ }), _defineProperty(_extraReducers$K, GET_ENTITY_BY_ID.pending, function (state, action) {
8872
8872
  state.get_entity_by_id.loading = true, state.get_entity_by_id.error = false, state.get_entity_by_id.loading = true;
8873
- }), _defineProperty(_extraReducers$I, GET_ENTITY_BY_ID.rejected, function (state, action) {
8873
+ }), _defineProperty(_extraReducers$K, GET_ENTITY_BY_ID.rejected, function (state, action) {
8874
8874
  state.get_entity_by_id.loading = false, state.get_entity_by_id.error = true, state.get_entity_by_id = action.payload;
8875
- }), _extraReducers$I)
8875
+ }), _extraReducers$K)
8876
8876
  });
8877
8877
  var practitionerActions$1 = {
8878
8878
  PRACTITIONER_ROLE_READ: PRACTITIONER_ROLE_READ,
@@ -9258,7 +9258,7 @@ var generateReadJSON$5 = function generateReadJSON(data, masters) {
9258
9258
  return json;
9259
9259
  };
9260
9260
 
9261
- var _extraReducers$H;
9261
+ var _extraReducers$J;
9262
9262
  var location = ["nationality", "city", "district", "state", "country"];
9263
9263
 
9264
9264
  var loopMasters$8 = function loopMasters() {
@@ -9487,19 +9487,19 @@ var practitionerMasterSlice = createSlice({
9487
9487
  practitioner_masters: _objectSpread2({}, defaultState.Info),
9488
9488
  practitionerbyid: _objectSpread2({}, defaultState.Info)
9489
9489
  },
9490
- extraReducers: (_extraReducers$H = {}, _defineProperty(_extraReducers$H, PRACTITIONER_MASTERS.fulfilled, function (state, action) {
9490
+ extraReducers: (_extraReducers$J = {}, _defineProperty(_extraReducers$J, PRACTITIONER_MASTERS.fulfilled, function (state, action) {
9491
9491
  state.practitioner_masters.loading = false, state.practitioner_masters.error = false, state.practitioner_masters = action.payload;
9492
- }), _defineProperty(_extraReducers$H, PRACTITIONER_MASTERS.pending, function (state, action) {
9492
+ }), _defineProperty(_extraReducers$J, PRACTITIONER_MASTERS.pending, function (state, action) {
9493
9493
  state.practitioner_masters.loading = true, state.practitioner_masters.error = false, state.practitioner_masters.loading = true;
9494
- }), _defineProperty(_extraReducers$H, PRACTITIONER_MASTERS.rejected, function (state, action) {
9494
+ }), _defineProperty(_extraReducers$J, PRACTITIONER_MASTERS.rejected, function (state, action) {
9495
9495
  state.practitioner_masters.loading = false, state.practitioner_masters.error = true, state.practitioner_masters = action.payload;
9496
- }), _defineProperty(_extraReducers$H, PRACTITIONER_GET_BY_ID.fulfilled, function (state, action) {
9496
+ }), _defineProperty(_extraReducers$J, PRACTITIONER_GET_BY_ID.fulfilled, function (state, action) {
9497
9497
  state.practitionerbyid.loading = false, state.practitionerbyid.error = false, state.practitionerbyid = action.payload;
9498
- }), _defineProperty(_extraReducers$H, PRACTITIONER_GET_BY_ID.pending, function (state, action) {
9498
+ }), _defineProperty(_extraReducers$J, PRACTITIONER_GET_BY_ID.pending, function (state, action) {
9499
9499
  state.practitionerbyid.loading = true, state.practitionerbyid.error = false, state.practitionerbyid.loading = true;
9500
- }), _defineProperty(_extraReducers$H, PRACTITIONER_GET_BY_ID.rejected, function (state, action) {
9500
+ }), _defineProperty(_extraReducers$J, PRACTITIONER_GET_BY_ID.rejected, function (state, action) {
9501
9501
  state.practitionerbyid.loading = false, state.practitionerbyid.error = true, state.practitionerbyid = action.payload;
9502
- }), _extraReducers$H)
9502
+ }), _extraReducers$J)
9503
9503
  });
9504
9504
  var practitionerMasterActions = {
9505
9505
  PRACTITIONER_MASTERS: PRACTITIONER_MASTERS,
@@ -9564,7 +9564,7 @@ var generateCategory = function generateCategory(data) {
9564
9564
  return arr;
9565
9565
  };
9566
9566
 
9567
- var _extraReducers$G;
9567
+ var _extraReducers$I;
9568
9568
  var UPSERT_AGE_RANGE = createAsyncThunk("ageRangeMasterApiSlice/save_age_range", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
9569
9569
  var payload,
9570
9570
  _ref2,
@@ -9752,31 +9752,31 @@ var ageRangeMasterSlice = createSlice({
9752
9752
  save_age_range: _objectSpread2({}, defaultState.Info),
9753
9753
  update_age_range: _objectSpread2({}, defaultState.Info)
9754
9754
  },
9755
- extraReducers: (_extraReducers$G = {}, _defineProperty(_extraReducers$G, UNIT_UOM.fulfilled, function (state, action) {
9755
+ extraReducers: (_extraReducers$I = {}, _defineProperty(_extraReducers$I, UNIT_UOM.fulfilled, function (state, action) {
9756
9756
  state.unit_uom_list.loading = false, state.unit_uom_list.error = false, state.unit_uom_list = action.payload;
9757
- }), _defineProperty(_extraReducers$G, UNIT_UOM.pending, function (state, action) {
9757
+ }), _defineProperty(_extraReducers$I, UNIT_UOM.pending, function (state, action) {
9758
9758
  state.unit_uom_list.loading = true, state.unit_uom_list.error = false, state.unit_uom_list.loading = true;
9759
- }), _defineProperty(_extraReducers$G, UNIT_UOM.rejected, function (state, action) {
9759
+ }), _defineProperty(_extraReducers$I, UNIT_UOM.rejected, function (state, action) {
9760
9760
  state.unit_uom_list.loading = false, state.unit_uom_list.error = true, state.unit_uom_list = action.payload;
9761
- }), _defineProperty(_extraReducers$G, GET_AGE_RANGE_MASTER.fulfilled, function (state, action) {
9761
+ }), _defineProperty(_extraReducers$I, GET_AGE_RANGE_MASTER.fulfilled, function (state, action) {
9762
9762
  state.age_range_list.loading = false, state.age_range_list.error = false, state.age_range_list = action.payload;
9763
- }), _defineProperty(_extraReducers$G, GET_AGE_RANGE_MASTER.pending, function (state, action) {
9763
+ }), _defineProperty(_extraReducers$I, GET_AGE_RANGE_MASTER.pending, function (state, action) {
9764
9764
  state.age_range_list.loading = true, state.age_range_list.error = false, state.age_range_list.loading = true;
9765
- }), _defineProperty(_extraReducers$G, GET_AGE_RANGE_MASTER.rejected, function (state, action) {
9765
+ }), _defineProperty(_extraReducers$I, GET_AGE_RANGE_MASTER.rejected, function (state, action) {
9766
9766
  state.age_range_list.loading = false, state.age_range_list.error = true, state.age_range_list = action.payload;
9767
- }), _defineProperty(_extraReducers$G, UPSERT_AGE_RANGE.fulfilled, function (state, action) {
9767
+ }), _defineProperty(_extraReducers$I, UPSERT_AGE_RANGE.fulfilled, function (state, action) {
9768
9768
  state.save_age_range.loading = false, state.save_age_range.error = false, state.save_age_range = action.payload;
9769
- }), _defineProperty(_extraReducers$G, UPSERT_AGE_RANGE.pending, function (state, action) {
9769
+ }), _defineProperty(_extraReducers$I, UPSERT_AGE_RANGE.pending, function (state, action) {
9770
9770
  state.save_age_range.loading = true, state.save_age_range.error = false, state.save_age_range.loading = true;
9771
- }), _defineProperty(_extraReducers$G, UPSERT_AGE_RANGE.rejected, function (state, action) {
9771
+ }), _defineProperty(_extraReducers$I, UPSERT_AGE_RANGE.rejected, function (state, action) {
9772
9772
  state.save_age_range.loading = false, state.save_age_range.error = true, state.save_age_range = action.payload;
9773
- }), _defineProperty(_extraReducers$G, UPDATE_AGE_RANGE.fulfilled, function (state, action) {
9773
+ }), _defineProperty(_extraReducers$I, UPDATE_AGE_RANGE.fulfilled, function (state, action) {
9774
9774
  state.update_age_range.loading = false, state.update_age_range.error = false, state.update_age_range = action.payload;
9775
- }), _defineProperty(_extraReducers$G, UPDATE_AGE_RANGE.pending, function (state, action) {
9775
+ }), _defineProperty(_extraReducers$I, UPDATE_AGE_RANGE.pending, function (state, action) {
9776
9776
  state.update_age_range.loading = true, state.update_age_range.error = false, state.update_age_range.loading = true;
9777
- }), _defineProperty(_extraReducers$G, UPDATE_AGE_RANGE.rejected, function (state, action) {
9777
+ }), _defineProperty(_extraReducers$I, UPDATE_AGE_RANGE.rejected, function (state, action) {
9778
9778
  state.update_age_range.loading = false, state.update_age_range.error = true, state.update_age_range = action.payload;
9779
- }), _extraReducers$G)
9779
+ }), _extraReducers$I)
9780
9780
  });
9781
9781
  var ageRangeMasterActions = {
9782
9782
  UNIT_UOM: UNIT_UOM,
@@ -9816,7 +9816,7 @@ var generateJson$b = function generateJson(data) {
9816
9816
  })];
9817
9817
  };
9818
9818
 
9819
- var _extraReducers$F;
9819
+ var _extraReducers$H;
9820
9820
  var GET_VITALS_MEASURE_CODE = createAsyncThunk("measureCodeApiSlice/age_range_list", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
9821
9821
  var _ref2,
9822
9822
  rejectWithValue,
@@ -9962,25 +9962,25 @@ var vitalsMeasureCodeSlice = createSlice({
9962
9962
  save_measure_code: _objectSpread2({}, defaultState.Info),
9963
9963
  update_measure_status: _objectSpread2({}, defaultState.Info)
9964
9964
  },
9965
- extraReducers: (_extraReducers$F = {}, _defineProperty(_extraReducers$F, GET_VITALS_MEASURE_CODE.fulfilled, function (state, action) {
9965
+ extraReducers: (_extraReducers$H = {}, _defineProperty(_extraReducers$H, GET_VITALS_MEASURE_CODE.fulfilled, function (state, action) {
9966
9966
  state.meadure_code_list.loading = false, state.meadure_code_list.error = false, state.meadure_code_list = action.payload;
9967
- }), _defineProperty(_extraReducers$F, GET_VITALS_MEASURE_CODE.pending, function (state, action) {
9967
+ }), _defineProperty(_extraReducers$H, GET_VITALS_MEASURE_CODE.pending, function (state, action) {
9968
9968
  state.meadure_code_list.loading = true, state.meadure_code_list.error = false, state.meadure_code_list.loading = true;
9969
- }), _defineProperty(_extraReducers$F, GET_VITALS_MEASURE_CODE.rejected, function (state, action) {
9969
+ }), _defineProperty(_extraReducers$H, GET_VITALS_MEASURE_CODE.rejected, function (state, action) {
9970
9970
  state.meadure_code_list.loading = false, state.meadure_code_list.error = true, state.meadure_code_list = action.payload;
9971
- }), _defineProperty(_extraReducers$F, UPSERT_MEASURE_CODE.fulfilled, function (state, action) {
9971
+ }), _defineProperty(_extraReducers$H, UPSERT_MEASURE_CODE.fulfilled, function (state, action) {
9972
9972
  state.save_measure_code.loading = false, state.save_measure_code.error = false, state.save_measure_code = action.payload;
9973
- }), _defineProperty(_extraReducers$F, UPSERT_MEASURE_CODE.pending, function (state, action) {
9973
+ }), _defineProperty(_extraReducers$H, UPSERT_MEASURE_CODE.pending, function (state, action) {
9974
9974
  state.save_measure_code.loading = true, state.save_measure_code.error = false, state.save_measure_code.loading = true;
9975
- }), _defineProperty(_extraReducers$F, UPSERT_MEASURE_CODE.rejected, function (state, action) {
9975
+ }), _defineProperty(_extraReducers$H, UPSERT_MEASURE_CODE.rejected, function (state, action) {
9976
9976
  state.save_measure_code.loading = false, state.save_measure_code.error = true, state.save_measure_code = action.payload;
9977
- }), _defineProperty(_extraReducers$F, UPDATE_MEASURE_CODE_STATUS.fulfilled, function (state, action) {
9977
+ }), _defineProperty(_extraReducers$H, UPDATE_MEASURE_CODE_STATUS.fulfilled, function (state, action) {
9978
9978
  state.update_measure_status.loading = false, state.update_measure_status.error = false, state.update_measure_status = action.payload;
9979
- }), _defineProperty(_extraReducers$F, UPDATE_MEASURE_CODE_STATUS.pending, function (state, action) {
9979
+ }), _defineProperty(_extraReducers$H, UPDATE_MEASURE_CODE_STATUS.pending, function (state, action) {
9980
9980
  state.update_measure_status.loading = true, state.update_measure_status.error = false, state.update_measure_status.loading = true;
9981
- }), _defineProperty(_extraReducers$F, UPDATE_MEASURE_CODE_STATUS.rejected, function (state, action) {
9981
+ }), _defineProperty(_extraReducers$H, UPDATE_MEASURE_CODE_STATUS.rejected, function (state, action) {
9982
9982
  state.update_measure_status.loading = false, state.update_measure_status.error = true, state.update_measure_status = action.payload;
9983
- }), _extraReducers$F)
9983
+ }), _extraReducers$H)
9984
9984
  });
9985
9985
  var vitalsMeasureCodeActions = {
9986
9986
  GET_VITALS_MEASURE_CODE: GET_VITALS_MEASURE_CODE,
@@ -10217,7 +10217,7 @@ var generateApplicableTable = function generateApplicableTable(table, state) {
10217
10217
  return arr;
10218
10218
  };
10219
10219
 
10220
- var _extraReducers$E;
10220
+ var _extraReducers$G;
10221
10221
  var GET_ENTITY_NAME = createAsyncThunk("vitalApplicableApiSlice/entityName", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
10222
10222
  var payload,
10223
10223
  _ref2,
@@ -10886,91 +10886,91 @@ var vitalsApplicableSlice = createSlice({
10886
10886
  edit_vital_applicable: _objectSpread2({}, defaultState.List),
10887
10887
  speciality_code_org: _objectSpread2({}, defaultState.List)
10888
10888
  },
10889
- extraReducers: (_extraReducers$E = {}, _defineProperty(_extraReducers$E, GET_ENTITY_NAME.fulfilled, function (state, action) {
10889
+ extraReducers: (_extraReducers$G = {}, _defineProperty(_extraReducers$G, GET_ENTITY_NAME.fulfilled, function (state, action) {
10890
10890
  state.entity_name.loading = false, state.entity_name.error = false, state.entity_name = action.payload;
10891
- }), _defineProperty(_extraReducers$E, GET_ENTITY_NAME.pending, function (state, action) {
10891
+ }), _defineProperty(_extraReducers$G, GET_ENTITY_NAME.pending, function (state, action) {
10892
10892
  state.entity_name.loading = true, state.entity_name.error = false, state.entity_name.loading = true;
10893
- }), _defineProperty(_extraReducers$E, GET_ENTITY_NAME.rejected, function (state, action) {
10893
+ }), _defineProperty(_extraReducers$G, GET_ENTITY_NAME.rejected, function (state, action) {
10894
10894
  state.entity_name.loading = false, state.entity_name.error = true, state.entity_name = action.payload;
10895
- }), _defineProperty(_extraReducers$E, GET_ENTITY_TYPE_VITALAPP.fulfilled, function (state, action) {
10895
+ }), _defineProperty(_extraReducers$G, GET_ENTITY_TYPE_VITALAPP.fulfilled, function (state, action) {
10896
10896
  state.entity_type.loading = false, state.entity_type.error = false, state.entity_type = action.payload;
10897
- }), _defineProperty(_extraReducers$E, GET_ENTITY_TYPE_VITALAPP.pending, function (state, action) {
10897
+ }), _defineProperty(_extraReducers$G, GET_ENTITY_TYPE_VITALAPP.pending, function (state, action) {
10898
10898
  state.entity_type.loading = true, state.entity_type.error = false, state.entity_type.loading = true;
10899
- }), _defineProperty(_extraReducers$E, GET_ENTITY_TYPE_VITALAPP.rejected, function (state, action) {
10899
+ }), _defineProperty(_extraReducers$G, GET_ENTITY_TYPE_VITALAPP.rejected, function (state, action) {
10900
10900
  state.entity_type.loading = false, state.entity_type.error = true, state.entity_type = action.payload;
10901
- }), _defineProperty(_extraReducers$E, GENDER.fulfilled, function (state, action) {
10901
+ }), _defineProperty(_extraReducers$G, GENDER.fulfilled, function (state, action) {
10902
10902
  state.gender.loading = false, state.gender.error = false, state.gender = action.payload;
10903
- }), _defineProperty(_extraReducers$E, GENDER.pending, function (state, action) {
10903
+ }), _defineProperty(_extraReducers$G, GENDER.pending, function (state, action) {
10904
10904
  state.gender.loading = true, state.gender.error = false, state.gender.loading = true;
10905
- }), _defineProperty(_extraReducers$E, GENDER.rejected, function (state, action) {
10905
+ }), _defineProperty(_extraReducers$G, GENDER.rejected, function (state, action) {
10906
10906
  state.gender.loading = false, state.gender.error = true, state.gender = action.payload;
10907
- }), _defineProperty(_extraReducers$E, SPECIALITY_CODE.fulfilled, function (state, action) {
10907
+ }), _defineProperty(_extraReducers$G, SPECIALITY_CODE.fulfilled, function (state, action) {
10908
10908
  state.speciality_code.loading = false, state.speciality_code.error = false, state.speciality_code = action.payload;
10909
- }), _defineProperty(_extraReducers$E, SPECIALITY_CODE.pending, function (state, action) {
10909
+ }), _defineProperty(_extraReducers$G, SPECIALITY_CODE.pending, function (state, action) {
10910
10910
  state.speciality_code.loading = true, state.speciality_code.error = false, state.speciality_code.loading = true;
10911
- }), _defineProperty(_extraReducers$E, SPECIALITY_CODE.rejected, function (state, action) {
10911
+ }), _defineProperty(_extraReducers$G, SPECIALITY_CODE.rejected, function (state, action) {
10912
10912
  state.speciality_code.loading = false, state.speciality_code.error = true, state.speciality_code = action.payload;
10913
- }), _defineProperty(_extraReducers$E, DIAGNOSIS.fulfilled, function (state, action) {
10913
+ }), _defineProperty(_extraReducers$G, DIAGNOSIS.fulfilled, function (state, action) {
10914
10914
  state.dignosis.loading = false, state.dignosis.error = false, state.dignosis = action.payload;
10915
- }), _defineProperty(_extraReducers$E, DIAGNOSIS.pending, function (state, action) {
10915
+ }), _defineProperty(_extraReducers$G, DIAGNOSIS.pending, function (state, action) {
10916
10916
  state.dignosis.loading = true, state.dignosis.error = false, state.dignosis.loading = true;
10917
- }), _defineProperty(_extraReducers$E, DIAGNOSIS.rejected, function (state, action) {
10917
+ }), _defineProperty(_extraReducers$G, DIAGNOSIS.rejected, function (state, action) {
10918
10918
  state.dignosis.loading = false, state.dignosis.error = true, state.dignosis = action.payload;
10919
- }), _defineProperty(_extraReducers$E, DIAGNOSIS_MASTERS.fulfilled, function (state, action) {
10919
+ }), _defineProperty(_extraReducers$G, DIAGNOSIS_MASTERS.fulfilled, function (state, action) {
10920
10920
  state.dignosis_master.loading = false, state.dignosis_master.error = false, state.dignosis_master = action.payload;
10921
- }), _defineProperty(_extraReducers$E, DIAGNOSIS_MASTERS.pending, function (state, action) {
10921
+ }), _defineProperty(_extraReducers$G, DIAGNOSIS_MASTERS.pending, function (state, action) {
10922
10922
  state.dignosis_master.loading = true, state.dignosis_master.error = false, state.dignosis_master.loading = true;
10923
- }), _defineProperty(_extraReducers$E, DIAGNOSIS_MASTERS.rejected, function (state, action) {
10923
+ }), _defineProperty(_extraReducers$G, DIAGNOSIS_MASTERS.rejected, function (state, action) {
10924
10924
  state.dignosis_master.loading = false, state.dignosis_master.error = true, state.dignosis_master = action.payload;
10925
- }), _defineProperty(_extraReducers$E, AGE_RANGES_CODE.fulfilled, function (state, action) {
10925
+ }), _defineProperty(_extraReducers$G, AGE_RANGES_CODE.fulfilled, function (state, action) {
10926
10926
  state.ageranges_code.loading = false, state.ageranges_code.error = false, state.ageranges_code = action.payload;
10927
- }), _defineProperty(_extraReducers$E, AGE_RANGES_CODE.pending, function (state, action) {
10927
+ }), _defineProperty(_extraReducers$G, AGE_RANGES_CODE.pending, function (state, action) {
10928
10928
  state.ageranges_code.loading = true, state.ageranges_code.error = false, state.ageranges_code.loading = true;
10929
- }), _defineProperty(_extraReducers$E, AGE_RANGES_CODE.rejected, function (state, action) {
10929
+ }), _defineProperty(_extraReducers$G, AGE_RANGES_CODE.rejected, function (state, action) {
10930
10930
  state.ageranges_code.loading = false, state.ageranges_code.error = true, state.ageranges_code = action.payload;
10931
- }), _defineProperty(_extraReducers$E, AGE_RANGES_CATEGORY.fulfilled, function (state, action) {
10931
+ }), _defineProperty(_extraReducers$G, AGE_RANGES_CATEGORY.fulfilled, function (state, action) {
10932
10932
  state.ageranges_category.loading = false, state.ageranges_category.error = false, state.ageranges_category = action.payload;
10933
- }), _defineProperty(_extraReducers$E, AGE_RANGES_CATEGORY.pending, function (state, action) {
10933
+ }), _defineProperty(_extraReducers$G, AGE_RANGES_CATEGORY.pending, function (state, action) {
10934
10934
  state.ageranges_category.loading = true, state.ageranges_category.error = false, state.ageranges_category.loading = true;
10935
- }), _defineProperty(_extraReducers$E, AGE_RANGES_CATEGORY.rejected, function (state, action) {
10935
+ }), _defineProperty(_extraReducers$G, AGE_RANGES_CATEGORY.rejected, function (state, action) {
10936
10936
  state.ageranges_category.loading = false, state.ageranges_category.error = true, state.ageranges_category = action.payload;
10937
- }), _defineProperty(_extraReducers$E, VITAL_CODE.fulfilled, function (state, action) {
10937
+ }), _defineProperty(_extraReducers$G, VITAL_CODE.fulfilled, function (state, action) {
10938
10938
  state.vital_code.loading = false, state.vital_code.error = false, state.vital_code = action.payload;
10939
- }), _defineProperty(_extraReducers$E, VITAL_CODE.pending, function (state, action) {
10939
+ }), _defineProperty(_extraReducers$G, VITAL_CODE.pending, function (state, action) {
10940
10940
  state.vital_code.loading = true, state.vital_code.error = false, state.vital_code.loading = true;
10941
- }), _defineProperty(_extraReducers$E, VITAL_CODE.rejected, function (state, action) {
10941
+ }), _defineProperty(_extraReducers$G, VITAL_CODE.rejected, function (state, action) {
10942
10942
  state.vital_code.loading = false, state.vital_code.error = true, state.vital_code = action.payload;
10943
- }), _defineProperty(_extraReducers$E, SAVE_VITAL_APPLICABLE.fulfilled, function (state, action) {
10943
+ }), _defineProperty(_extraReducers$G, SAVE_VITAL_APPLICABLE.fulfilled, function (state, action) {
10944
10944
  state.save_vital_applicable.loading = false, state.save_vital_applicable.error = false, state.save_vital_applicable = action.payload;
10945
- }), _defineProperty(_extraReducers$E, SAVE_VITAL_APPLICABLE.pending, function (state, action) {
10945
+ }), _defineProperty(_extraReducers$G, SAVE_VITAL_APPLICABLE.pending, function (state, action) {
10946
10946
  state.save_vital_applicable.loading = true, state.save_vital_applicable.error = false, state.save_vital_applicable.loading = true;
10947
- }), _defineProperty(_extraReducers$E, SAVE_VITAL_APPLICABLE.rejected, function (state, action) {
10947
+ }), _defineProperty(_extraReducers$G, SAVE_VITAL_APPLICABLE.rejected, function (state, action) {
10948
10948
  state.save_vital_applicable.loading = false, state.save_vital_applicable.error = true, state.save_vital_applicable = action.payload;
10949
- }), _defineProperty(_extraReducers$E, READ_VITAL_APPLICABLE.fulfilled, function (state, action) {
10949
+ }), _defineProperty(_extraReducers$G, READ_VITAL_APPLICABLE.fulfilled, function (state, action) {
10950
10950
  state.read_vital_applicable.loading = false, state.read_vital_applicable.error = false, state.read_vital_applicable = action.payload;
10951
- }), _defineProperty(_extraReducers$E, READ_VITAL_APPLICABLE.pending, function (state, action) {
10951
+ }), _defineProperty(_extraReducers$G, READ_VITAL_APPLICABLE.pending, function (state, action) {
10952
10952
  state.read_vital_applicable.loading = true, state.read_vital_applicable.error = false, state.read_vital_applicable.loading = true;
10953
- }), _defineProperty(_extraReducers$E, READ_VITAL_APPLICABLE.rejected, function (state, action) {
10953
+ }), _defineProperty(_extraReducers$G, READ_VITAL_APPLICABLE.rejected, function (state, action) {
10954
10954
  state.read_vital_applicable.loading = false, state.read_vital_applicable.error = true, state.read_vital_applicable = action.payload;
10955
- }), _defineProperty(_extraReducers$E, UPDATE_VITAL_APPLICABLE_STATUS.fulfilled, function (state, action) {
10955
+ }), _defineProperty(_extraReducers$G, UPDATE_VITAL_APPLICABLE_STATUS.fulfilled, function (state, action) {
10956
10956
  state.update_applicable_status.loading = false, state.update_applicable_status.error = false, state.update_applicable_status = action.payload;
10957
- }), _defineProperty(_extraReducers$E, UPDATE_VITAL_APPLICABLE_STATUS.pending, function (state, action) {
10957
+ }), _defineProperty(_extraReducers$G, UPDATE_VITAL_APPLICABLE_STATUS.pending, function (state, action) {
10958
10958
  state.update_applicable_status.loading = true, state.update_applicable_status.error = false, state.update_applicable_status.loading = true;
10959
- }), _defineProperty(_extraReducers$E, UPDATE_VITAL_APPLICABLE_STATUS.rejected, function (state, action) {
10959
+ }), _defineProperty(_extraReducers$G, UPDATE_VITAL_APPLICABLE_STATUS.rejected, function (state, action) {
10960
10960
  state.update_applicable_status.loading = false, state.update_applicable_status.error = true, state.update_applicable_status = action.payload;
10961
- }), _defineProperty(_extraReducers$E, EDIT_VITAL_APPLICABLE.fulfilled, function (state, action) {
10961
+ }), _defineProperty(_extraReducers$G, EDIT_VITAL_APPLICABLE.fulfilled, function (state, action) {
10962
10962
  state.edit_vital_applicable.loading = false, state.edit_vital_applicable.error = false, state.edit_vital_applicable = action.payload;
10963
- }), _defineProperty(_extraReducers$E, EDIT_VITAL_APPLICABLE.pending, function (state, action) {
10963
+ }), _defineProperty(_extraReducers$G, EDIT_VITAL_APPLICABLE.pending, function (state, action) {
10964
10964
  state.edit_vital_applicable.loading = true, state.edit_vital_applicable.error = false, state.edit_vital_applicable.loading = true;
10965
- }), _defineProperty(_extraReducers$E, EDIT_VITAL_APPLICABLE.rejected, function (state, action) {
10965
+ }), _defineProperty(_extraReducers$G, EDIT_VITAL_APPLICABLE.rejected, function (state, action) {
10966
10966
  state.edit_vital_applicable.loading = false, state.edit_vital_applicable.error = true, state.edit_vital_applicable = action.payload;
10967
- }), _defineProperty(_extraReducers$E, SPECIALITY_CODE_ORG_ID.fulfilled, function (state, action) {
10967
+ }), _defineProperty(_extraReducers$G, SPECIALITY_CODE_ORG_ID.fulfilled, function (state, action) {
10968
10968
  state.speciality_code_org.loading = false, state.speciality_code_org.error = false, state.speciality_code_org = action.payload;
10969
- }), _defineProperty(_extraReducers$E, SPECIALITY_CODE_ORG_ID.pending, function (state, action) {
10969
+ }), _defineProperty(_extraReducers$G, SPECIALITY_CODE_ORG_ID.pending, function (state, action) {
10970
10970
  state.speciality_code_org.loading = true, state.speciality_code_org.error = false, state.speciality_code_org.loading = true;
10971
- }), _defineProperty(_extraReducers$E, SPECIALITY_CODE_ORG_ID.rejected, function (state, action) {
10971
+ }), _defineProperty(_extraReducers$G, SPECIALITY_CODE_ORG_ID.rejected, function (state, action) {
10972
10972
  state.speciality_code_org.loading = false, state.speciality_code_org.error = true, state.speciality_code_org = action.payload;
10973
- }), _extraReducers$E)
10973
+ }), _extraReducers$G)
10974
10974
  });
10975
10975
  var vitalsApplicableActions = {
10976
10976
  GET_ENTITY_NAME: GET_ENTITY_NAME,
@@ -11225,7 +11225,7 @@ var generateReference = function generateReference(ref, state, ageCategory) {
11225
11225
  return Object.values(obj);
11226
11226
  };
11227
11227
 
11228
- var _extraReducers$D;
11228
+ var _extraReducers$F;
11229
11229
  var MASTER_GENDER = createAsyncThunk("vitalsMasterSectionApiSlice/gender", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
11230
11230
  var _ref2,
11231
11231
  rejectWithValue,
@@ -11749,73 +11749,73 @@ var vitalsMasterSectionSlice = createSlice({
11749
11749
  delete_vital_master: _objectSpread2({}, defaultState.List),
11750
11750
  edit_vital_master: _objectSpread2({}, defaultState.List)
11751
11751
  },
11752
- extraReducers: (_extraReducers$D = {}, _defineProperty(_extraReducers$D, MASTER_GENDER.fulfilled, function (state, action) {
11752
+ extraReducers: (_extraReducers$F = {}, _defineProperty(_extraReducers$F, MASTER_GENDER.fulfilled, function (state, action) {
11753
11753
  state.master_gender.loading = false, state.master_gender.error = false, state.master_gender = action.payload;
11754
- }), _defineProperty(_extraReducers$D, MASTER_GENDER.pending, function (state, action) {
11754
+ }), _defineProperty(_extraReducers$F, MASTER_GENDER.pending, function (state, action) {
11755
11755
  state.master_gender.loading = true, state.master_gender.error = false, state.master_gender.loading = true;
11756
- }), _defineProperty(_extraReducers$D, MASTER_GENDER.rejected, function (state, action) {
11756
+ }), _defineProperty(_extraReducers$F, MASTER_GENDER.rejected, function (state, action) {
11757
11757
  state.master_gender.loading = false, state.master_gender.error = true, state.master_gender = action.payload;
11758
- }), _defineProperty(_extraReducers$D, REFERENCE_UNIT_ALLOWED.fulfilled, function (state, action) {
11758
+ }), _defineProperty(_extraReducers$F, REFERENCE_UNIT_ALLOWED.fulfilled, function (state, action) {
11759
11759
  state.reference_unit_allowed.loading = false, state.reference_unit_allowed.error = false, state.reference_unit_allowed = action.payload;
11760
- }), _defineProperty(_extraReducers$D, REFERENCE_UNIT_ALLOWED.pending, function (state, action) {
11760
+ }), _defineProperty(_extraReducers$F, REFERENCE_UNIT_ALLOWED.pending, function (state, action) {
11761
11761
  state.reference_unit_allowed.loading = true, state.reference_unit_allowed.error = false, state.reference_unit_allowed.loading = true;
11762
- }), _defineProperty(_extraReducers$D, REFERENCE_UNIT_ALLOWED.rejected, function (state, action) {
11762
+ }), _defineProperty(_extraReducers$F, REFERENCE_UNIT_ALLOWED.rejected, function (state, action) {
11763
11763
  state.reference_unit_allowed.loading = false, state.reference_unit_allowed.error = true, state.reference_unit_allowed = action.payload;
11764
- }), _defineProperty(_extraReducers$D, UNIT_ALLOWED.fulfilled, function (state, action) {
11764
+ }), _defineProperty(_extraReducers$F, UNIT_ALLOWED.fulfilled, function (state, action) {
11765
11765
  state.unit_allowed.loading = false, state.unit_allowed.error = false, state.unit_allowed = action.payload;
11766
- }), _defineProperty(_extraReducers$D, UNIT_ALLOWED.pending, function (state, action) {
11766
+ }), _defineProperty(_extraReducers$F, UNIT_ALLOWED.pending, function (state, action) {
11767
11767
  state.unit_allowed.loading = true, state.unit_allowed.error = false, state.unit_allowed.loading = true;
11768
- }), _defineProperty(_extraReducers$D, UNIT_ALLOWED.rejected, function (state, action) {
11768
+ }), _defineProperty(_extraReducers$F, UNIT_ALLOWED.rejected, function (state, action) {
11769
11769
  state.unit_allowed.loading = false, state.unit_allowed.error = true, state.unit_allowed = action.payload;
11770
- }), _defineProperty(_extraReducers$D, REFERENCE_AGERANGES.fulfilled, function (state, action) {
11770
+ }), _defineProperty(_extraReducers$F, REFERENCE_AGERANGES.fulfilled, function (state, action) {
11771
11771
  state.reference_ageranges.loading = false, state.reference_ageranges.error = false, state.reference_ageranges = action.payload;
11772
- }), _defineProperty(_extraReducers$D, REFERENCE_AGERANGES.pending, function (state, action) {
11772
+ }), _defineProperty(_extraReducers$F, REFERENCE_AGERANGES.pending, function (state, action) {
11773
11773
  state.reference_ageranges.loading = true, state.reference_ageranges.error = false, state.reference_ageranges.loading = true;
11774
- }), _defineProperty(_extraReducers$D, REFERENCE_AGERANGES.rejected, function (state, action) {
11774
+ }), _defineProperty(_extraReducers$F, REFERENCE_AGERANGES.rejected, function (state, action) {
11775
11775
  state.reference_ageranges.loading = false, state.reference_ageranges.error = true, state.reference_ageranges = action.payload;
11776
- }), _defineProperty(_extraReducers$D, REFERENCE_AGERANGES_CATEGORY.fulfilled, function (state, action) {
11776
+ }), _defineProperty(_extraReducers$F, REFERENCE_AGERANGES_CATEGORY.fulfilled, function (state, action) {
11777
11777
  state.reference_agerange_category.loading = false, state.reference_agerange_category.error = false, state.reference_agerange_category = action.payload;
11778
- }), _defineProperty(_extraReducers$D, REFERENCE_AGERANGES_CATEGORY.pending, function (state, action) {
11778
+ }), _defineProperty(_extraReducers$F, REFERENCE_AGERANGES_CATEGORY.pending, function (state, action) {
11779
11779
  state.reference_agerange_category.loading = true, state.reference_agerange_category.error = false, state.reference_agerange_category.loading = true;
11780
- }), _defineProperty(_extraReducers$D, REFERENCE_AGERANGES_CATEGORY.rejected, function (state, action) {
11780
+ }), _defineProperty(_extraReducers$F, REFERENCE_AGERANGES_CATEGORY.rejected, function (state, action) {
11781
11781
  state.reference_agerange_category.loading = false, state.reference_agerange_category.error = true, state.reference_agerange_category = action.payload;
11782
- }), _defineProperty(_extraReducers$D, DEFAULT_UNIT.fulfilled, function (state, action) {
11782
+ }), _defineProperty(_extraReducers$F, DEFAULT_UNIT.fulfilled, function (state, action) {
11783
11783
  state.default_unit.loading = false, state.default_unit.error = false, state.default_unit = action.payload;
11784
- }), _defineProperty(_extraReducers$D, DEFAULT_UNIT.pending, function (state, action) {
11784
+ }), _defineProperty(_extraReducers$F, DEFAULT_UNIT.pending, function (state, action) {
11785
11785
  state.default_unit.loading = true, state.default_unit.error = false, state.default_unit.loading = true;
11786
- }), _defineProperty(_extraReducers$D, DEFAULT_UNIT.rejected, function (state, action) {
11786
+ }), _defineProperty(_extraReducers$F, DEFAULT_UNIT.rejected, function (state, action) {
11787
11787
  state.default_unit.loading = false, state.default_unit.error = true, state.default_unit = action.payload;
11788
- }), _defineProperty(_extraReducers$D, SAVE_VITAL_MASTER.fulfilled, function (state, action) {
11788
+ }), _defineProperty(_extraReducers$F, SAVE_VITAL_MASTER.fulfilled, function (state, action) {
11789
11789
  state.save_vital_master.loading = false, state.save_vital_master.error = false, state.save_vital_master = action.payload;
11790
- }), _defineProperty(_extraReducers$D, SAVE_VITAL_MASTER.pending, function (state, action) {
11790
+ }), _defineProperty(_extraReducers$F, SAVE_VITAL_MASTER.pending, function (state, action) {
11791
11791
  state.save_vital_master.loading = true, state.save_vital_master.error = false, state.save_vital_master.loading = true;
11792
- }), _defineProperty(_extraReducers$D, SAVE_VITAL_MASTER.rejected, function (state, action) {
11792
+ }), _defineProperty(_extraReducers$F, SAVE_VITAL_MASTER.rejected, function (state, action) {
11793
11793
  state.save_vital_master.loading = false, state.save_vital_master.error = true, state.save_vital_master = action.payload;
11794
- }), _defineProperty(_extraReducers$D, READ_VITAL_MASTER.fulfilled, function (state, action) {
11794
+ }), _defineProperty(_extraReducers$F, READ_VITAL_MASTER.fulfilled, function (state, action) {
11795
11795
  state.vital_master_read.loading = false, state.vital_master_read.error = false, state.vital_master_read = action.payload;
11796
- }), _defineProperty(_extraReducers$D, READ_VITAL_MASTER.pending, function (state, action) {
11796
+ }), _defineProperty(_extraReducers$F, READ_VITAL_MASTER.pending, function (state, action) {
11797
11797
  state.vital_master_read.loading = true, state.vital_master_read.error = false, state.vital_master_read.loading = true;
11798
- }), _defineProperty(_extraReducers$D, READ_VITAL_MASTER.rejected, function (state, action) {
11798
+ }), _defineProperty(_extraReducers$F, READ_VITAL_MASTER.rejected, function (state, action) {
11799
11799
  state.vital_master_read.loading = false, state.vital_master_read.error = true, state.vital_master_read = action.payload;
11800
- }), _defineProperty(_extraReducers$D, UPDATE_VITAL_MASTER_STATUS.fulfilled, function (state, action) {
11800
+ }), _defineProperty(_extraReducers$F, UPDATE_VITAL_MASTER_STATUS.fulfilled, function (state, action) {
11801
11801
  state.update_master_status.loading = false, state.update_master_status.error = false, state.update_master_status = action.payload;
11802
- }), _defineProperty(_extraReducers$D, UPDATE_VITAL_MASTER_STATUS.pending, function (state, action) {
11802
+ }), _defineProperty(_extraReducers$F, UPDATE_VITAL_MASTER_STATUS.pending, function (state, action) {
11803
11803
  state.update_master_status.loading = true, state.update_master_status.error = false, state.update_master_status.loading = true;
11804
- }), _defineProperty(_extraReducers$D, UPDATE_VITAL_MASTER_STATUS.rejected, function (state, action) {
11804
+ }), _defineProperty(_extraReducers$F, UPDATE_VITAL_MASTER_STATUS.rejected, function (state, action) {
11805
11805
  state.update_master_status.loading = false, state.update_master_status.error = true, state.update_master_status = action.payload;
11806
- }), _defineProperty(_extraReducers$D, DELETE_VITAL_MASTER.fulfilled, function (state, action) {
11806
+ }), _defineProperty(_extraReducers$F, DELETE_VITAL_MASTER.fulfilled, function (state, action) {
11807
11807
  state.delete_vital_master.loading = false, state.delete_vital_master.error = false, state.delete_vital_master = action.payload;
11808
- }), _defineProperty(_extraReducers$D, DELETE_VITAL_MASTER.pending, function (state, action) {
11808
+ }), _defineProperty(_extraReducers$F, DELETE_VITAL_MASTER.pending, function (state, action) {
11809
11809
  state.delete_vital_master.loading = true, state.delete_vital_master.error = false, state.delete_vital_master.loading = true;
11810
- }), _defineProperty(_extraReducers$D, DELETE_VITAL_MASTER.rejected, function (state, action) {
11810
+ }), _defineProperty(_extraReducers$F, DELETE_VITAL_MASTER.rejected, function (state, action) {
11811
11811
  state.delete_vital_master.loading = false, state.delete_vital_master.error = true, state.delete_vital_master = action.payload;
11812
- }), _defineProperty(_extraReducers$D, EDIT_VITAL_MASTER.fulfilled, function (state, action) {
11812
+ }), _defineProperty(_extraReducers$F, EDIT_VITAL_MASTER.fulfilled, function (state, action) {
11813
11813
  state.edit_vital_master.loading = false, state.edit_vital_master.error = false, state.edit_vital_master = action.payload;
11814
- }), _defineProperty(_extraReducers$D, EDIT_VITAL_MASTER.pending, function (state, action) {
11814
+ }), _defineProperty(_extraReducers$F, EDIT_VITAL_MASTER.pending, function (state, action) {
11815
11815
  state.edit_vital_master.loading = true, state.edit_vital_master.error = false, state.edit_vital_master.loading = true;
11816
- }), _defineProperty(_extraReducers$D, EDIT_VITAL_MASTER.rejected, function (state, action) {
11816
+ }), _defineProperty(_extraReducers$F, EDIT_VITAL_MASTER.rejected, function (state, action) {
11817
11817
  state.edit_vital_master.loading = false, state.edit_vital_master.error = true, state.edit_vital_master = action.payload;
11818
- }), _extraReducers$D)
11818
+ }), _extraReducers$F)
11819
11819
  });
11820
11820
  var vitalsMasterSectionActions = {
11821
11821
  MASTER_GENDER: MASTER_GENDER,
@@ -12147,7 +12147,7 @@ var generateJSON = function generateJSON(data, _key) {
12147
12147
  return json;
12148
12148
  };
12149
12149
 
12150
- var _extraReducers$C;
12150
+ var _extraReducers$E;
12151
12151
  var LOCATION_READ = createAsyncThunk("locationSlice/locationlist", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
12152
12152
  var payload,
12153
12153
  _ref2,
@@ -12314,25 +12314,25 @@ var locationSlice = createSlice({
12314
12314
  location_list_upsert: _objectSpread2({}, defaultState.List),
12315
12315
  location_insert: _objectSpread2({}, defaultState.List)
12316
12316
  },
12317
- extraReducers: (_extraReducers$C = {}, _defineProperty(_extraReducers$C, LOCATION_READ.fulfilled, function (state, action) {
12317
+ extraReducers: (_extraReducers$E = {}, _defineProperty(_extraReducers$E, LOCATION_READ.fulfilled, function (state, action) {
12318
12318
  state.location_list.loading = false, state.location_list.error = false, state.location_list = action.payload;
12319
- }), _defineProperty(_extraReducers$C, LOCATION_READ.pending, function (state, action) {
12319
+ }), _defineProperty(_extraReducers$E, LOCATION_READ.pending, function (state, action) {
12320
12320
  state.location_list.loading = true, state.location_list.error = false, state.location_list.loading = true;
12321
- }), _defineProperty(_extraReducers$C, LOCATION_READ.rejected, function (state, action) {
12321
+ }), _defineProperty(_extraReducers$E, LOCATION_READ.rejected, function (state, action) {
12322
12322
  state.location_list.loading = false, state.location_list.error = true, state.location_list = action.payload;
12323
- }), _defineProperty(_extraReducers$C, LOCATION_LIST_UPSERT.fulfilled, function (state, action) {
12323
+ }), _defineProperty(_extraReducers$E, LOCATION_LIST_UPSERT.fulfilled, function (state, action) {
12324
12324
  state.location_list_upsert.loading = false, state.location_list_upsert.error = false, state.location_list_upsert = action.payload;
12325
- }), _defineProperty(_extraReducers$C, LOCATION_LIST_UPSERT.pending, function (state, action) {
12325
+ }), _defineProperty(_extraReducers$E, LOCATION_LIST_UPSERT.pending, function (state, action) {
12326
12326
  state.location_list_upsert.loading = true, state.location_list_upsert.error = false, state.location_list_upsert.loading = true;
12327
- }), _defineProperty(_extraReducers$C, LOCATION_LIST_UPSERT.rejected, function (state, action) {
12327
+ }), _defineProperty(_extraReducers$E, LOCATION_LIST_UPSERT.rejected, function (state, action) {
12328
12328
  state.location_list_upsert.loading = false, state.location_list_upsert.error = true, state.location_list_upsert = action.payload;
12329
- }), _defineProperty(_extraReducers$C, LOCATION_MASTER_INSERT.fulfilled, function (state, action) {
12329
+ }), _defineProperty(_extraReducers$E, LOCATION_MASTER_INSERT.fulfilled, function (state, action) {
12330
12330
  state.location_insert.loading = false, state.location_insert.error = false, state.location_insert = action.payload;
12331
- }), _defineProperty(_extraReducers$C, LOCATION_MASTER_INSERT.pending, function (state, action) {
12331
+ }), _defineProperty(_extraReducers$E, LOCATION_MASTER_INSERT.pending, function (state, action) {
12332
12332
  state.location_insert.loading = true, state.location_insert.error = false, state.location_insert.loading = true;
12333
- }), _defineProperty(_extraReducers$C, LOCATION_MASTER_INSERT.rejected, function (state, action) {
12333
+ }), _defineProperty(_extraReducers$E, LOCATION_MASTER_INSERT.rejected, function (state, action) {
12334
12334
  state.location_insert.loading = false, state.location_insert.error = true, state.location_insert = action.payload;
12335
- }), _extraReducers$C)
12335
+ }), _extraReducers$E)
12336
12336
  });
12337
12337
  var locationActions$1 = {
12338
12338
  LOCATION_READ: LOCATION_READ,
@@ -12841,7 +12841,7 @@ var generateReadJSON$4 = function generateReadJSON(data, state) {
12841
12841
  return json;
12842
12842
  };
12843
12843
 
12844
- var _extraReducers$B;
12844
+ var _extraReducers$D;
12845
12845
  var LOCATION_MASTERS_ENTITYTYPE = createAsyncThunk("locationMasterSlice/location_masters_entitytype", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
12846
12846
  var _ref2,
12847
12847
  rejectWithValue,
@@ -13453,79 +13453,79 @@ var locationMasterSlice = createSlice({
13453
13453
  location_masters_priority: _objectSpread2({}, defaultState.List),
13454
13454
  locationmasterbyid: _objectSpread2({}, defaultState.List)
13455
13455
  },
13456
- extraReducers: (_extraReducers$B = {}, _defineProperty(_extraReducers$B, LOCATION_MASTERS_ENTITYTYPE.fulfilled, function (state, action) {
13456
+ extraReducers: (_extraReducers$D = {}, _defineProperty(_extraReducers$D, LOCATION_MASTERS_ENTITYTYPE.fulfilled, function (state, action) {
13457
13457
  state.location_masters_entitytype.loading = false, state.location_masters_entitytype.error = false, state.location_masters_entitytype = action.payload;
13458
- }), _defineProperty(_extraReducers$B, LOCATION_MASTERS_ENTITYTYPE.pending, function (state, action) {
13458
+ }), _defineProperty(_extraReducers$D, LOCATION_MASTERS_ENTITYTYPE.pending, function (state, action) {
13459
13459
  state.location_masters_entitytype.loading = true, state.location_masters_entitytype.error = false, state.location_masters_entitytype.loading = true;
13460
- }), _defineProperty(_extraReducers$B, LOCATION_MASTERS_ENTITYTYPE.rejected, function (state, action) {
13460
+ }), _defineProperty(_extraReducers$D, LOCATION_MASTERS_ENTITYTYPE.rejected, function (state, action) {
13461
13461
  state.location_masters_entitytype.loading = false, state.location_masters_entitytype.error = true, state.location_masters_entitytype = action.payload;
13462
- }), _defineProperty(_extraReducers$B, LOCATION_MASTERS_ENTITYNAME.fulfilled, function (state, action) {
13462
+ }), _defineProperty(_extraReducers$D, LOCATION_MASTERS_ENTITYNAME.fulfilled, function (state, action) {
13463
13463
  state.location_masters_entityname.loading = false, state.location_masters_entityname.error = false, state.location_masters_entityname = action.payload;
13464
- }), _defineProperty(_extraReducers$B, LOCATION_MASTERS_ENTITYNAME.pending, function (state, action) {
13464
+ }), _defineProperty(_extraReducers$D, LOCATION_MASTERS_ENTITYNAME.pending, function (state, action) {
13465
13465
  state.location_masters_entityname.loading = true, state.location_masters_entityname.error = false, state.location_masters_entityname.loading = true;
13466
- }), _defineProperty(_extraReducers$B, LOCATION_MASTERS_ENTITYNAME.rejected, function (state, action) {
13466
+ }), _defineProperty(_extraReducers$D, LOCATION_MASTERS_ENTITYNAME.rejected, function (state, action) {
13467
13467
  state.location_masters_entityname.loading = false, state.location_masters_entityname.error = true, state.location_masters_entityname = action.payload;
13468
- }), _defineProperty(_extraReducers$B, LOCATION_MASTERS_LOCATIONTYPE.fulfilled, function (state, action) {
13468
+ }), _defineProperty(_extraReducers$D, LOCATION_MASTERS_LOCATIONTYPE.fulfilled, function (state, action) {
13469
13469
  state.location_masters_locationtype.loading = false, state.location_masters_locationtype.error = false, state.location_masters_locationtype = action.payload;
13470
- }), _defineProperty(_extraReducers$B, LOCATION_MASTERS_LOCATIONTYPE.pending, function (state, action) {
13470
+ }), _defineProperty(_extraReducers$D, LOCATION_MASTERS_LOCATIONTYPE.pending, function (state, action) {
13471
13471
  state.location_masters_locationtype.loading = true, state.location_masters_locationtype.error = false, state.location_masters_locationtype.loading = true;
13472
- }), _defineProperty(_extraReducers$B, LOCATION_MASTERS_LOCATIONTYPE.rejected, function (state, action) {
13472
+ }), _defineProperty(_extraReducers$D, LOCATION_MASTERS_LOCATIONTYPE.rejected, function (state, action) {
13473
13473
  state.location_masters_locationtype.loading = false, state.location_masters_locationtype.error = true, state.location_masters_locationtype = action.payload;
13474
- }), _defineProperty(_extraReducers$B, LOCATION_MASTERS_OPERATIONALSTATUS.fulfilled, function (state, action) {
13474
+ }), _defineProperty(_extraReducers$D, LOCATION_MASTERS_OPERATIONALSTATUS.fulfilled, function (state, action) {
13475
13475
  state.location_masters_operationalstatus.loading = false, state.location_masters_operationalstatus.error = false, state.location_masters_operationalstatus = action.payload;
13476
- }), _defineProperty(_extraReducers$B, LOCATION_MASTERS_OPERATIONALSTATUS.pending, function (state, action) {
13476
+ }), _defineProperty(_extraReducers$D, LOCATION_MASTERS_OPERATIONALSTATUS.pending, function (state, action) {
13477
13477
  state.location_masters_operationalstatus.loading = true, state.location_masters_operationalstatus.error = false, state.location_masters_operationalstatus.loading = true;
13478
- }), _defineProperty(_extraReducers$B, LOCATION_MASTERS_OPERATIONALSTATUS.rejected, function (state, action) {
13478
+ }), _defineProperty(_extraReducers$D, LOCATION_MASTERS_OPERATIONALSTATUS.rejected, function (state, action) {
13479
13479
  state.location_masters_operationalstatus.loading = false, state.location_masters_operationalstatus.error = true, state.location_masters_operationalstatus = action.payload;
13480
- }), _defineProperty(_extraReducers$B, LOCATION_MASTERS_PARENT_LOCATION_ID_DESCRIPTION.fulfilled, function (state, action) {
13480
+ }), _defineProperty(_extraReducers$D, LOCATION_MASTERS_PARENT_LOCATION_ID_DESCRIPTION.fulfilled, function (state, action) {
13481
13481
  state.location_masters_parent_location_id.loading = false, state.location_masters_parent_location_id.error = false, state.location_masters_parent_location_id = action.payload;
13482
- }), _defineProperty(_extraReducers$B, LOCATION_MASTERS_PARENT_LOCATION_ID_DESCRIPTION.pending, function (state, action) {
13482
+ }), _defineProperty(_extraReducers$D, LOCATION_MASTERS_PARENT_LOCATION_ID_DESCRIPTION.pending, function (state, action) {
13483
13483
  state.location_masters_parent_location_id.loading = true, state.location_masters_parent_location_id.error = false, state.location_masters_parent_location_id.loading = true;
13484
- }), _defineProperty(_extraReducers$B, LOCATION_MASTERS_PARENT_LOCATION_ID_DESCRIPTION.rejected, function (state, action) {
13484
+ }), _defineProperty(_extraReducers$D, LOCATION_MASTERS_PARENT_LOCATION_ID_DESCRIPTION.rejected, function (state, action) {
13485
13485
  state.location_masters_parent_location_id.loading = false, state.location_masters_parent_location_id.error = true, state.location_masters_parent_location_id = action.payload;
13486
- }), _defineProperty(_extraReducers$B, LOCATION_MASTERS_LOCATIONROLETYPE.fulfilled, function (state, action) {
13486
+ }), _defineProperty(_extraReducers$D, LOCATION_MASTERS_LOCATIONROLETYPE.fulfilled, function (state, action) {
13487
13487
  state.location_masters_locationroletype.loading = false, state.location_masters_locationroletype.error = false, state.location_masters_locationroletype = action.payload;
13488
- }), _defineProperty(_extraReducers$B, LOCATION_MASTERS_LOCATIONROLETYPE.pending, function (state, action) {
13488
+ }), _defineProperty(_extraReducers$D, LOCATION_MASTERS_LOCATIONROLETYPE.pending, function (state, action) {
13489
13489
  state.location_masters_locationroletype.loading = true, state.location_masters_locationroletype.error = false, state.location_masters_locationroletype.loading = true;
13490
- }), _defineProperty(_extraReducers$B, LOCATION_MASTERS_LOCATIONROLETYPE.rejected, function (state, action) {
13490
+ }), _defineProperty(_extraReducers$D, LOCATION_MASTERS_LOCATIONROLETYPE.rejected, function (state, action) {
13491
13491
  state.location_masters_locationroletype.loading = false, state.location_masters_locationroletype.error = true, state.location_masters_locationroletype = action.payload;
13492
- }), _defineProperty(_extraReducers$B, LOCATION_MASTER_SPECIALITY.fulfilled, function (state, action) {
13492
+ }), _defineProperty(_extraReducers$D, LOCATION_MASTER_SPECIALITY.fulfilled, function (state, action) {
13493
13493
  state.location_masters_speciality.loading = false, state.location_masters_speciality.error = false, state.location_masters_speciality = action.payload;
13494
- }), _defineProperty(_extraReducers$B, LOCATION_MASTER_SPECIALITY.pending, function (state, action) {
13494
+ }), _defineProperty(_extraReducers$D, LOCATION_MASTER_SPECIALITY.pending, function (state, action) {
13495
13495
  state.location_masters_speciality.loading = true, state.location_masters_speciality.error = false, state.location_masters_speciality.loading = true;
13496
- }), _defineProperty(_extraReducers$B, LOCATION_MASTER_SPECIALITY.rejected, function (state, action) {
13496
+ }), _defineProperty(_extraReducers$D, LOCATION_MASTER_SPECIALITY.rejected, function (state, action) {
13497
13497
  state.location_masters_speciality.loading = false, state.location_masters_speciality.error = true, state.location_masters_speciality = action.payload;
13498
- }), _defineProperty(_extraReducers$B, LOCATION_MASTER_CONTACTMODE.fulfilled, function (state, action) {
13498
+ }), _defineProperty(_extraReducers$D, LOCATION_MASTER_CONTACTMODE.fulfilled, function (state, action) {
13499
13499
  state.location_masters_contactmode.loading = false, state.location_masters_contactmode.error = false, state.location_masters_contactmode = action.payload;
13500
- }), _defineProperty(_extraReducers$B, LOCATION_MASTER_CONTACTMODE.pending, function (state, action) {
13500
+ }), _defineProperty(_extraReducers$D, LOCATION_MASTER_CONTACTMODE.pending, function (state, action) {
13501
13501
  state.location_masters_contactmode.loading = true, state.location_masters_contactmode.error = false, state.location_masters_contactmode.loading = true;
13502
- }), _defineProperty(_extraReducers$B, LOCATION_MASTER_CONTACTMODE.rejected, function (state, action) {
13502
+ }), _defineProperty(_extraReducers$D, LOCATION_MASTER_CONTACTMODE.rejected, function (state, action) {
13503
13503
  state.location_masters_contactmode.loading = false, state.location_masters_contactmode.error = true, state.location_masters_contactmode = action.payload;
13504
- }), _defineProperty(_extraReducers$B, LOCATION_MASTER_ISD.fulfilled, function (state, action) {
13504
+ }), _defineProperty(_extraReducers$D, LOCATION_MASTER_ISD.fulfilled, function (state, action) {
13505
13505
  state.location_masters_isd.loading = false, state.location_masters_isd.error = false, state.location_masters_isd = action.payload;
13506
- }), _defineProperty(_extraReducers$B, LOCATION_MASTER_ISD.pending, function (state, action) {
13506
+ }), _defineProperty(_extraReducers$D, LOCATION_MASTER_ISD.pending, function (state, action) {
13507
13507
  state.location_masters_isd.loading = true, state.location_masters_isd.error = false, state.location_masters_isd.loading = true;
13508
- }), _defineProperty(_extraReducers$B, LOCATION_MASTER_ISD.rejected, function (state, action) {
13508
+ }), _defineProperty(_extraReducers$D, LOCATION_MASTER_ISD.rejected, function (state, action) {
13509
13509
  state.location_masters_isd.loading = false, state.location_masters_isd.error = true, state.location_masters_isd = action.payload;
13510
- }), _defineProperty(_extraReducers$B, LOCATION_MASTER_USE.fulfilled, function (state, action) {
13510
+ }), _defineProperty(_extraReducers$D, LOCATION_MASTER_USE.fulfilled, function (state, action) {
13511
13511
  state.location_masters_use.loading = false, state.location_masters_use.error = false, state.location_masters_use = action.payload;
13512
- }), _defineProperty(_extraReducers$B, LOCATION_MASTER_USE.pending, function (state, action) {
13512
+ }), _defineProperty(_extraReducers$D, LOCATION_MASTER_USE.pending, function (state, action) {
13513
13513
  state.location_masters_use.loading = true, state.location_masters_use.error = false, state.location_masters_use.loading = true;
13514
- }), _defineProperty(_extraReducers$B, LOCATION_MASTER_USE.rejected, function (state, action) {
13514
+ }), _defineProperty(_extraReducers$D, LOCATION_MASTER_USE.rejected, function (state, action) {
13515
13515
  state.location_masters_use.loading = false, state.location_masters_use.error = true, state.location_masters_use = action.payload;
13516
- }), _defineProperty(_extraReducers$B, LOCATION_MASTER_PRIORITY.fulfilled, function (state, action) {
13516
+ }), _defineProperty(_extraReducers$D, LOCATION_MASTER_PRIORITY.fulfilled, function (state, action) {
13517
13517
  state.location_masters_priority.loading = false, state.location_masters_priority.error = false, state.location_masters_priority = action.payload;
13518
- }), _defineProperty(_extraReducers$B, LOCATION_MASTER_PRIORITY.pending, function (state, action) {
13518
+ }), _defineProperty(_extraReducers$D, LOCATION_MASTER_PRIORITY.pending, function (state, action) {
13519
13519
  state.location_masters_priority.loading = true, state.location_masters_priority.error = false, state.location_masters_priority.loading = true;
13520
- }), _defineProperty(_extraReducers$B, LOCATION_MASTER_PRIORITY.rejected, function (state, action) {
13520
+ }), _defineProperty(_extraReducers$D, LOCATION_MASTER_PRIORITY.rejected, function (state, action) {
13521
13521
  state.location_masters_priority.loading = false, state.location_masters_priority.error = true, state.location_masters_priority = action.payload;
13522
- }), _defineProperty(_extraReducers$B, LOCATION_MASTER_GET_BY_ID.fulfilled, function (state, action) {
13522
+ }), _defineProperty(_extraReducers$D, LOCATION_MASTER_GET_BY_ID.fulfilled, function (state, action) {
13523
13523
  state.locationmasterbyid.loading = false, state.locationmasterbyid.error = false, state.locationmasterbyid = action.payload;
13524
- }), _defineProperty(_extraReducers$B, LOCATION_MASTER_GET_BY_ID.pending, function (state, action) {
13524
+ }), _defineProperty(_extraReducers$D, LOCATION_MASTER_GET_BY_ID.pending, function (state, action) {
13525
13525
  state.locationmasterbyid.loading = true, state.locationmasterbyid.error = false, state.locationmasterbyid.loading = true;
13526
- }), _defineProperty(_extraReducers$B, LOCATION_MASTER_GET_BY_ID.rejected, function (state, action) {
13526
+ }), _defineProperty(_extraReducers$D, LOCATION_MASTER_GET_BY_ID.rejected, function (state, action) {
13527
13527
  state.locationmasterbyid.loading = false, state.locationmasterbyid.error = true, state.locationmasterbyid = action.payload;
13528
- }), _extraReducers$B)
13528
+ }), _extraReducers$D)
13529
13529
  });
13530
13530
  var locationMasterActions = {
13531
13531
  LOCATION_MASTERS_ENTITYTYPE: LOCATION_MASTERS_ENTITYTYPE,
@@ -13624,7 +13624,7 @@ var queries$l = {
13624
13624
  }
13625
13625
  };
13626
13626
 
13627
- var _extraReducers$A;
13627
+ var _extraReducers$C;
13628
13628
  var ORDERTYPEREAD = createAsyncThunk("ordertypeSlice/ordertypeRead", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
13629
13629
  var _ref2,
13630
13630
  rejectWithValue,
@@ -13874,37 +13874,37 @@ var ordertypeSlice = createSlice({
13874
13874
  updateset_orrder_table: _objectSpread2({}, defaultState.List),
13875
13875
  insert_order_type: _objectSpread2({}, defaultState.List)
13876
13876
  },
13877
- extraReducers: (_extraReducers$A = {}, _defineProperty(_extraReducers$A, ORDERTYPEREAD.fulfilled, function (state, action) {
13877
+ extraReducers: (_extraReducers$C = {}, _defineProperty(_extraReducers$C, ORDERTYPEREAD.fulfilled, function (state, action) {
13878
13878
  state.order_type_read.loading = false, state.order_type_read.error = false, state.order_type_read = action.payload;
13879
- }), _defineProperty(_extraReducers$A, ORDERTYPEREAD.pending, function (state, action) {
13879
+ }), _defineProperty(_extraReducers$C, ORDERTYPEREAD.pending, function (state, action) {
13880
13880
  state.order_type_read.loading = true, state.order_type_read.error = false, state.order_type_read.loading = true;
13881
- }), _defineProperty(_extraReducers$A, ORDERTYPEREAD.rejected, function (state, action) {
13881
+ }), _defineProperty(_extraReducers$C, ORDERTYPEREAD.rejected, function (state, action) {
13882
13882
  state.order_type_read.loading = false, state.order_type_read.error = true, state.order_type_read = action.payload;
13883
- }), _defineProperty(_extraReducers$A, ORDERCATEGORYMASTER.fulfilled, function (state, action) {
13883
+ }), _defineProperty(_extraReducers$C, ORDERCATEGORYMASTER.fulfilled, function (state, action) {
13884
13884
  state.order_category_master.loading = false, state.order_category_master.error = false, state.order_category_master = action.payload;
13885
- }), _defineProperty(_extraReducers$A, ORDERCATEGORYMASTER.pending, function (state, action) {
13885
+ }), _defineProperty(_extraReducers$C, ORDERCATEGORYMASTER.pending, function (state, action) {
13886
13886
  state.order_category_master.loading = true, state.order_category_master.error = false, state.order_category_master.loading = true;
13887
- }), _defineProperty(_extraReducers$A, ORDERCATEGORYMASTER.rejected, function (state, action) {
13887
+ }), _defineProperty(_extraReducers$C, ORDERCATEGORYMASTER.rejected, function (state, action) {
13888
13888
  state.order_category_master.loading = false, state.order_category_master.error = true, state.order_category_master = action.payload;
13889
- }), _defineProperty(_extraReducers$A, UPDATEORDERTABLESTATE.fulfilled, function (state, action) {
13889
+ }), _defineProperty(_extraReducers$C, UPDATEORDERTABLESTATE.fulfilled, function (state, action) {
13890
13890
  state.update_orrder_table_state.loading = false, state.update_orrder_table_state.error = false, state.update_orrder_table_state = action.payload;
13891
- }), _defineProperty(_extraReducers$A, UPDATEORDERTABLESTATE.pending, function (state, action) {
13891
+ }), _defineProperty(_extraReducers$C, UPDATEORDERTABLESTATE.pending, function (state, action) {
13892
13892
  state.update_orrder_table_state.loading = true, state.update_orrder_table_state.error = false, state.update_orrder_table_state.loading = true;
13893
- }), _defineProperty(_extraReducers$A, UPDATEORDERTABLESTATE.rejected, function (state, action) {
13893
+ }), _defineProperty(_extraReducers$C, UPDATEORDERTABLESTATE.rejected, function (state, action) {
13894
13894
  state.update_orrder_table_state.loading = false, state.update_orrder_table_state.error = true, state.update_orrder_table_state = action.payload;
13895
- }), _defineProperty(_extraReducers$A, UPDATESETORDERTABLE.fulfilled, function (state, action) {
13895
+ }), _defineProperty(_extraReducers$C, UPDATESETORDERTABLE.fulfilled, function (state, action) {
13896
13896
  state.updateset_orrder_table.loading = false, state.updateset_orrder_table.error = false, state.updateset_orrder_table = action.payload;
13897
- }), _defineProperty(_extraReducers$A, UPDATESETORDERTABLE.pending, function (state, action) {
13897
+ }), _defineProperty(_extraReducers$C, UPDATESETORDERTABLE.pending, function (state, action) {
13898
13898
  state.updateset_orrder_table.loading = true, state.updateset_orrder_table.error = false, state.updateset_orrder_table.loading = true;
13899
- }), _defineProperty(_extraReducers$A, UPDATESETORDERTABLE.rejected, function (state, action) {
13899
+ }), _defineProperty(_extraReducers$C, UPDATESETORDERTABLE.rejected, function (state, action) {
13900
13900
  state.updateset_orrder_table.loading = false, state.updateset_orrder_table.error = true, state.updateset_orrder_table = action.payload;
13901
- }), _defineProperty(_extraReducers$A, INSERTORDERTABLE.fulfilled, function (state, action) {
13901
+ }), _defineProperty(_extraReducers$C, INSERTORDERTABLE.fulfilled, function (state, action) {
13902
13902
  state.insert_order_type.loading = false, state.insert_order_type.error = false, state.insert_order_type = action.payload;
13903
- }), _defineProperty(_extraReducers$A, INSERTORDERTABLE.pending, function (state, action) {
13903
+ }), _defineProperty(_extraReducers$C, INSERTORDERTABLE.pending, function (state, action) {
13904
13904
  state.insert_order_type.loading = true, state.insert_order_type.error = false, state.insert_order_type.loading = true;
13905
- }), _defineProperty(_extraReducers$A, INSERTORDERTABLE.rejected, function (state, action) {
13905
+ }), _defineProperty(_extraReducers$C, INSERTORDERTABLE.rejected, function (state, action) {
13906
13906
  state.insert_order_type.loading = false, state.insert_order_type.error = true, state.insert_order_type = action.payload;
13907
- }), _extraReducers$A)
13907
+ }), _extraReducers$C)
13908
13908
  });
13909
13909
  var ordertypeActions$1 = {
13910
13910
  ORDERTYPEREAD: ORDERTYPEREAD,
@@ -14016,7 +14016,7 @@ var queries$k = {
14016
14016
  }
14017
14017
  };
14018
14018
 
14019
- var _extraReducers$z;
14019
+ var _extraReducers$B;
14020
14020
  var ORDERNATUREREAD = createAsyncThunk("ordertypeSlice/ordernatureread", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
14021
14021
  var _ref2,
14022
14022
  rejectWithValue,
@@ -14211,31 +14211,31 @@ var ordernatureSlice = createSlice({
14211
14211
  updateset_orrder_nature_table: _objectSpread2({}, defaultState.List),
14212
14212
  insert_order_nature_type: _objectSpread2({}, defaultState.List)
14213
14213
  },
14214
- extraReducers: (_extraReducers$z = {}, _defineProperty(_extraReducers$z, ORDERNATUREREAD.fulfilled, function (state, action) {
14214
+ extraReducers: (_extraReducers$B = {}, _defineProperty(_extraReducers$B, ORDERNATUREREAD.fulfilled, function (state, action) {
14215
14215
  state.order_nature_read.loading = false, state.order_nature_read.error = false, state.order_nature_read = action.payload;
14216
- }), _defineProperty(_extraReducers$z, ORDERNATUREREAD.pending, function (state, action) {
14216
+ }), _defineProperty(_extraReducers$B, ORDERNATUREREAD.pending, function (state, action) {
14217
14217
  state.order_nature_read.loading = true, state.order_nature_read.error = false, state.order_nature_read.loading = true;
14218
- }), _defineProperty(_extraReducers$z, ORDERNATUREREAD.rejected, function (state, action) {
14218
+ }), _defineProperty(_extraReducers$B, ORDERNATUREREAD.rejected, function (state, action) {
14219
14219
  state.order_nature_read.loading = false, state.order_nature_read.error = true, state.order_nature_read = action.payload;
14220
- }), _defineProperty(_extraReducers$z, UPDATEORDERNATURETABLESTATE.fulfilled, function (state, action) {
14220
+ }), _defineProperty(_extraReducers$B, UPDATEORDERNATURETABLESTATE.fulfilled, function (state, action) {
14221
14221
  state.update_orrder_nature_table_state.loading = false, state.update_orrder_nature_table_state.error = false, state.update_orrder_nature_table_state = action.payload;
14222
- }), _defineProperty(_extraReducers$z, UPDATEORDERNATURETABLESTATE.pending, function (state, action) {
14222
+ }), _defineProperty(_extraReducers$B, UPDATEORDERNATURETABLESTATE.pending, function (state, action) {
14223
14223
  state.update_orrder_nature_table_state.loading = true, state.update_orrder_nature_table_state.error = false, state.update_orrder_nature_table_state.loading = true;
14224
- }), _defineProperty(_extraReducers$z, UPDATEORDERNATURETABLESTATE.rejected, function (state, action) {
14224
+ }), _defineProperty(_extraReducers$B, UPDATEORDERNATURETABLESTATE.rejected, function (state, action) {
14225
14225
  state.update_orrder_nature_table_state.loading = false, state.update_orrder_nature_table_state.error = true, state.update_orrder_nature_table_state = action.payload;
14226
- }), _defineProperty(_extraReducers$z, UPDATESETORDERNATURETABLE.fulfilled, function (state, action) {
14226
+ }), _defineProperty(_extraReducers$B, UPDATESETORDERNATURETABLE.fulfilled, function (state, action) {
14227
14227
  state.updateset_orrder_nature_table.loading = false, state.updateset_orrder_nature_table.error = false, state.updateset_orrder_nature_table = action.payload;
14228
- }), _defineProperty(_extraReducers$z, UPDATESETORDERNATURETABLE.pending, function (state, action) {
14228
+ }), _defineProperty(_extraReducers$B, UPDATESETORDERNATURETABLE.pending, function (state, action) {
14229
14229
  state.updateset_orrder_nature_table.loading = true, state.updateset_orrder_nature_table.error = false, state.updateset_orrder_nature_table.loading = true;
14230
- }), _defineProperty(_extraReducers$z, UPDATESETORDERNATURETABLE.rejected, function (state, action) {
14230
+ }), _defineProperty(_extraReducers$B, UPDATESETORDERNATURETABLE.rejected, function (state, action) {
14231
14231
  state.updateset_orrder_nature_table.loading = false, state.updateset_orrder_nature_table.error = true, state.updateset_orrder_nature_table = action.payload;
14232
- }), _defineProperty(_extraReducers$z, INSERTORDERNATURETABLE.fulfilled, function (state, action) {
14232
+ }), _defineProperty(_extraReducers$B, INSERTORDERNATURETABLE.fulfilled, function (state, action) {
14233
14233
  state.insert_order_nature_type.loading = false, state.insert_order_nature_type.error = false, state.insert_order_nature_type = action.payload;
14234
- }), _defineProperty(_extraReducers$z, INSERTORDERNATURETABLE.pending, function (state, action) {
14234
+ }), _defineProperty(_extraReducers$B, INSERTORDERNATURETABLE.pending, function (state, action) {
14235
14235
  state.insert_order_nature_type.loading = true, state.insert_order_nature_type.error = false, state.insert_order_nature_type.loading = true;
14236
- }), _defineProperty(_extraReducers$z, INSERTORDERNATURETABLE.rejected, function (state, action) {
14236
+ }), _defineProperty(_extraReducers$B, INSERTORDERNATURETABLE.rejected, function (state, action) {
14237
14237
  state.insert_order_nature_type.loading = false, state.insert_order_nature_type.error = true, state.insert_order_nature_type = action.payload;
14238
- }), _extraReducers$z)
14238
+ }), _extraReducers$B)
14239
14239
  });
14240
14240
  var ordernatureActions$1 = {
14241
14241
  ORDERNATUREREAD: ORDERNATUREREAD,
@@ -14841,7 +14841,7 @@ var queries$i = {
14841
14841
  }
14842
14842
  };
14843
14843
 
14844
- var _extraReducers$y;
14844
+ var _extraReducers$A;
14845
14845
  var CODEABLE_CONCEPT_MASTER_STATUS_CHANGE = createAsyncThunk("availabilityManagementSlice/appointmentTypeStatus", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
14846
14846
  var payload,
14847
14847
  _ref2,
@@ -15001,25 +15001,25 @@ var availabilityManagementSlice = createSlice({
15001
15001
  appointment_type_list: _objectSpread2({}, defaultState.List),
15002
15002
  codeable_concept_master_upsert: _objectSpread2({}, defaultState.List)
15003
15003
  },
15004
- extraReducers: (_extraReducers$y = {}, _defineProperty(_extraReducers$y, CODEABLE_CONCEPT_MASTER_STATUS_CHANGE.fulfilled, function (state, action) {
15004
+ extraReducers: (_extraReducers$A = {}, _defineProperty(_extraReducers$A, CODEABLE_CONCEPT_MASTER_STATUS_CHANGE.fulfilled, function (state, action) {
15005
15005
  state.status_update.loading = false, state.status_update.error = false, state.status_update = action.payload;
15006
- }), _defineProperty(_extraReducers$y, CODEABLE_CONCEPT_MASTER_STATUS_CHANGE.pending, function (state, action) {
15006
+ }), _defineProperty(_extraReducers$A, CODEABLE_CONCEPT_MASTER_STATUS_CHANGE.pending, function (state, action) {
15007
15007
  state.status_update.loading = true, state.status_update.error = false, state.status_update.loading = true;
15008
- }), _defineProperty(_extraReducers$y, CODEABLE_CONCEPT_MASTER_STATUS_CHANGE.rejected, function (state, action) {
15008
+ }), _defineProperty(_extraReducers$A, CODEABLE_CONCEPT_MASTER_STATUS_CHANGE.rejected, function (state, action) {
15009
15009
  state.status_update.loading = false, state.status_update.error = true, state.status_update = action.payload;
15010
- }), _defineProperty(_extraReducers$y, APPOINTMENT_TYPE_READ.fulfilled, function (state, action) {
15010
+ }), _defineProperty(_extraReducers$A, APPOINTMENT_TYPE_READ.fulfilled, function (state, action) {
15011
15011
  state.appointment_type_list.loading = false, state.appointment_type_list.error = false, state.appointment_type_list = action.payload;
15012
- }), _defineProperty(_extraReducers$y, APPOINTMENT_TYPE_READ.pending, function (state, action) {
15012
+ }), _defineProperty(_extraReducers$A, APPOINTMENT_TYPE_READ.pending, function (state, action) {
15013
15013
  state.appointment_type_list.loading = true, state.appointment_type_list.error = false, state.appointment_type_list.loading = true;
15014
- }), _defineProperty(_extraReducers$y, APPOINTMENT_TYPE_READ.rejected, function (state, action) {
15014
+ }), _defineProperty(_extraReducers$A, APPOINTMENT_TYPE_READ.rejected, function (state, action) {
15015
15015
  state.appointment_type_list.loading = false, state.appointment_type_list.error = true, state.appointment_type_list = action.payload;
15016
- }), _defineProperty(_extraReducers$y, CODEABLE_CONCEPT_MASTER_UPSERT.fulfilled, function (state, action) {
15016
+ }), _defineProperty(_extraReducers$A, CODEABLE_CONCEPT_MASTER_UPSERT.fulfilled, function (state, action) {
15017
15017
  state.codeable_concept_master_upsert.loading = false, state.codeable_concept_master_upsert.error = false, state.codeable_concept_master_upsert = action.payload;
15018
- }), _defineProperty(_extraReducers$y, CODEABLE_CONCEPT_MASTER_UPSERT.pending, function (state, action) {
15018
+ }), _defineProperty(_extraReducers$A, CODEABLE_CONCEPT_MASTER_UPSERT.pending, function (state, action) {
15019
15019
  state.codeable_concept_master_upsert.loading = true, state.codeable_concept_master_upsert.error = false, state.codeable_concept_master_upsert.loading = true;
15020
- }), _defineProperty(_extraReducers$y, CODEABLE_CONCEPT_MASTER_UPSERT.rejected, function (state, action) {
15020
+ }), _defineProperty(_extraReducers$A, CODEABLE_CONCEPT_MASTER_UPSERT.rejected, function (state, action) {
15021
15021
  state.codeable_concept_master_upsert.loading = false, state.codeable_concept_master_upsert.error = true, state.codeable_concept_master_upsert = action.payload;
15022
- }), _extraReducers$y)
15022
+ }), _extraReducers$A)
15023
15023
  });
15024
15024
  var availabilityManagementActions$1 = {
15025
15025
  CODEABLE_CONCEPT_MASTER_STATUS_CHANGE: CODEABLE_CONCEPT_MASTER_STATUS_CHANGE,
@@ -15028,7 +15028,7 @@ var availabilityManagementActions$1 = {
15028
15028
  };
15029
15029
  var availabilityManagementSlice$1 = availabilityManagementSlice.reducer;
15030
15030
 
15031
- var _extraReducers$x;
15031
+ var _extraReducers$z;
15032
15032
 
15033
15033
  var loopMasters$7 = function loopMasters() {
15034
15034
  return new es6Promise.Promise( /*#__PURE__*/function () {
@@ -15337,31 +15337,31 @@ var holidaySlice = createSlice({
15337
15337
  holiday_upsert: _objectSpread2({}, defaultState.List),
15338
15338
  holiday_master: _objectSpread2({}, defaultState.List)
15339
15339
  },
15340
- extraReducers: (_extraReducers$x = {}, _defineProperty(_extraReducers$x, HOLIDAY_STATUS_CHANGE.fulfilled, function (state, action) {
15340
+ extraReducers: (_extraReducers$z = {}, _defineProperty(_extraReducers$z, HOLIDAY_STATUS_CHANGE.fulfilled, function (state, action) {
15341
15341
  state.status_update.loading = false, state.status_update.error = false, state.status_update = action.payload;
15342
- }), _defineProperty(_extraReducers$x, HOLIDAY_STATUS_CHANGE.pending, function (state, action) {
15342
+ }), _defineProperty(_extraReducers$z, HOLIDAY_STATUS_CHANGE.pending, function (state, action) {
15343
15343
  state.status_update.loading = true, state.status_update.error = false, state.status_update.loading = true;
15344
- }), _defineProperty(_extraReducers$x, HOLIDAY_STATUS_CHANGE.rejected, function (state, action) {
15344
+ }), _defineProperty(_extraReducers$z, HOLIDAY_STATUS_CHANGE.rejected, function (state, action) {
15345
15345
  state.status_update.loading = false, state.status_update.error = true, state.status_update = action.payload;
15346
- }), _defineProperty(_extraReducers$x, HOLIDAY_READ.fulfilled, function (state, action) {
15346
+ }), _defineProperty(_extraReducers$z, HOLIDAY_READ.fulfilled, function (state, action) {
15347
15347
  state.holidy_list.loading = false, state.holidy_list.error = false, state.holidy_list = action.payload;
15348
- }), _defineProperty(_extraReducers$x, HOLIDAY_READ.pending, function (state, action) {
15348
+ }), _defineProperty(_extraReducers$z, HOLIDAY_READ.pending, function (state, action) {
15349
15349
  state.holidy_list.loading = true, state.holidy_list.error = false, state.holidy_list.loading = true;
15350
- }), _defineProperty(_extraReducers$x, HOLIDAY_READ.rejected, function (state, action) {
15350
+ }), _defineProperty(_extraReducers$z, HOLIDAY_READ.rejected, function (state, action) {
15351
15351
  state.holidy_list.loading = false, state.holidy_list.error = true, state.holidy_list = action.payload;
15352
- }), _defineProperty(_extraReducers$x, HOLIDAY_UPSERT.fulfilled, function (state, action) {
15352
+ }), _defineProperty(_extraReducers$z, HOLIDAY_UPSERT.fulfilled, function (state, action) {
15353
15353
  state.holiday_upsert.loading = false, state.holiday_upsert.error = false, state.holiday_upsert = action.payload;
15354
- }), _defineProperty(_extraReducers$x, HOLIDAY_UPSERT.pending, function (state, action) {
15354
+ }), _defineProperty(_extraReducers$z, HOLIDAY_UPSERT.pending, function (state, action) {
15355
15355
  state.holiday_upsert.loading = true, state.holiday_upsert.error = false, state.holiday_upsert.loading = true;
15356
- }), _defineProperty(_extraReducers$x, HOLIDAY_UPSERT.rejected, function (state, action) {
15356
+ }), _defineProperty(_extraReducers$z, HOLIDAY_UPSERT.rejected, function (state, action) {
15357
15357
  state.holiday_upsert.loading = false, state.holiday_upsert.error = true, state.holiday_upsert = action.payload;
15358
- }), _defineProperty(_extraReducers$x, HOLIDAY_MASTERS.fulfilled, function (state, action) {
15358
+ }), _defineProperty(_extraReducers$z, HOLIDAY_MASTERS.fulfilled, function (state, action) {
15359
15359
  state.holiday_master.loading = false, state.holiday_master.error = false, state.holiday_master = action.payload;
15360
- }), _defineProperty(_extraReducers$x, HOLIDAY_MASTERS.pending, function (state, action) {
15360
+ }), _defineProperty(_extraReducers$z, HOLIDAY_MASTERS.pending, function (state, action) {
15361
15361
  state.holiday_master.loading = true, state.holiday_master.error = false, state.holiday_master.loading = true;
15362
- }), _defineProperty(_extraReducers$x, HOLIDAY_MASTERS.rejected, function (state, action) {
15362
+ }), _defineProperty(_extraReducers$z, HOLIDAY_MASTERS.rejected, function (state, action) {
15363
15363
  state.holiday_master.loading = false, state.holiday_master.error = true, state.holiday_master = action.payload;
15364
- }), _extraReducers$x)
15364
+ }), _extraReducers$z)
15365
15365
  });
15366
15366
  var holidayActions = {
15367
15367
  HOLIDAY_STATUS_CHANGE: HOLIDAY_STATUS_CHANGE,
@@ -15616,7 +15616,7 @@ var generateReadJson$3 = {
15616
15616
  }
15617
15617
  };
15618
15618
 
15619
- var _extraReducers$w;
15619
+ var _extraReducers$y;
15620
15620
  var RESOURCE_BY_APPOINTMRNT_TYPES = createAsyncThunk("resourceByAppointmentTypesSlice/resource_appointment_type", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
15621
15621
  var _ref2,
15622
15622
  rejectWithValue,
@@ -16241,79 +16241,79 @@ var resourceByAppointmentTypesSlice = createSlice({
16241
16241
  res_upsert_new: _objectSpread2({}, defaultState.List),
16242
16242
  res_line_list_read_doc: _objectSpread2({}, defaultState.List)
16243
16243
  },
16244
- extraReducers: (_extraReducers$w = {}, _defineProperty(_extraReducers$w, RESOURCE_BY_APPOINTMRNT_TYPES.fulfilled, function (state, action) {
16244
+ extraReducers: (_extraReducers$y = {}, _defineProperty(_extraReducers$y, RESOURCE_BY_APPOINTMRNT_TYPES.fulfilled, function (state, action) {
16245
16245
  state.resource_appointment_type.loading = false, state.resource_appointment_type.error = false, state.resource_appointment_type = action.payload;
16246
- }), _defineProperty(_extraReducers$w, RESOURCE_BY_APPOINTMRNT_TYPES.pending, function (state, action) {
16246
+ }), _defineProperty(_extraReducers$y, RESOURCE_BY_APPOINTMRNT_TYPES.pending, function (state, action) {
16247
16247
  state.resource_appointment_type.loading = true, state.resource_appointment_type.error = false, state.resource_appointment_type.loading = true;
16248
- }), _defineProperty(_extraReducers$w, RESOURCE_BY_APPOINTMRNT_TYPES.rejected, function (state, action) {
16248
+ }), _defineProperty(_extraReducers$y, RESOURCE_BY_APPOINTMRNT_TYPES.rejected, function (state, action) {
16249
16249
  state.resource_appointment_type.loading = false, state.resource_appointment_type.error = true, state.resource_appointment_type = action.payload;
16250
- }), _defineProperty(_extraReducers$w, RESOURCE_BY_ENTITY_NAME_TYPES.fulfilled, function (state, action) {
16250
+ }), _defineProperty(_extraReducers$y, RESOURCE_BY_ENTITY_NAME_TYPES.fulfilled, function (state, action) {
16251
16251
  state.resource_enitity_name.loading = false, state.resource_enitity_name.error = false, state.resource_enitity_name = action.payload;
16252
- }), _defineProperty(_extraReducers$w, RESOURCE_BY_ENTITY_NAME_TYPES.pending, function (state, action) {
16252
+ }), _defineProperty(_extraReducers$y, RESOURCE_BY_ENTITY_NAME_TYPES.pending, function (state, action) {
16253
16253
  state.resource_enitity_name.loading = true, state.resource_enitity_name.error = false, state.resource_enitity_name.loading = true;
16254
- }), _defineProperty(_extraReducers$w, RESOURCE_BY_ENTITY_NAME_TYPES.rejected, function (state, action) {
16254
+ }), _defineProperty(_extraReducers$y, RESOURCE_BY_ENTITY_NAME_TYPES.rejected, function (state, action) {
16255
16255
  state.resource_enitity_name.loading = false, state.resource_enitity_name.error = true, state.resource_enitity_name = action.payload;
16256
- }), _defineProperty(_extraReducers$w, RESOURCE_BY_ENTITY_TYPE.fulfilled, function (state, action) {
16256
+ }), _defineProperty(_extraReducers$y, RESOURCE_BY_ENTITY_TYPE.fulfilled, function (state, action) {
16257
16257
  state.resource_enitity_type.loading = false, state.resource_enitity_type.error = false, state.resource_enitity_type = action.payload;
16258
- }), _defineProperty(_extraReducers$w, RESOURCE_BY_ENTITY_TYPE.pending, function (state, action) {
16258
+ }), _defineProperty(_extraReducers$y, RESOURCE_BY_ENTITY_TYPE.pending, function (state, action) {
16259
16259
  state.resource_enitity_type.loading = true, state.resource_enitity_type.error = false, state.resource_enitity_type.loading = true;
16260
- }), _defineProperty(_extraReducers$w, RESOURCE_BY_ENTITY_TYPE.rejected, function (state, action) {
16260
+ }), _defineProperty(_extraReducers$y, RESOURCE_BY_ENTITY_TYPE.rejected, function (state, action) {
16261
16261
  state.resource_enitity_type.loading = false, state.resource_enitity_type.error = true, state.resource_enitity_type = action.payload;
16262
- }), _defineProperty(_extraReducers$w, RESOURCE_BY_TABLE_DATA.fulfilled, function (state, action) {
16262
+ }), _defineProperty(_extraReducers$y, RESOURCE_BY_TABLE_DATA.fulfilled, function (state, action) {
16263
16263
  state.resource_enitity_table_data.loading = false, state.resource_enitity_table_data.error = false, state.resource_enitity_table_data = action.payload;
16264
- }), _defineProperty(_extraReducers$w, RESOURCE_BY_TABLE_DATA.pending, function (state, action) {
16264
+ }), _defineProperty(_extraReducers$y, RESOURCE_BY_TABLE_DATA.pending, function (state, action) {
16265
16265
  state.resource_enitity_table_data.loading = true, state.resource_enitity_table_data.error = false, state.resource_enitity_table_data.loading = true;
16266
- }), _defineProperty(_extraReducers$w, RESOURCE_BY_TABLE_DATA.rejected, function (state, action) {
16266
+ }), _defineProperty(_extraReducers$y, RESOURCE_BY_TABLE_DATA.rejected, function (state, action) {
16267
16267
  state.resource_enitity_table_data.loading = false, state.resource_enitity_table_data.error = true, state.resource_enitity_table_data = action.payload;
16268
- }), _defineProperty(_extraReducers$w, RESOURCE_TYPE_DROP_DOWN.fulfilled, function (state, action) {
16268
+ }), _defineProperty(_extraReducers$y, RESOURCE_TYPE_DROP_DOWN.fulfilled, function (state, action) {
16269
16269
  state.resource_type_drop_down.loading = false, state.resource_type_drop_down.error = false, state.resource_type_drop_down = action.payload;
16270
- }), _defineProperty(_extraReducers$w, RESOURCE_TYPE_DROP_DOWN.pending, function (state, action) {
16270
+ }), _defineProperty(_extraReducers$y, RESOURCE_TYPE_DROP_DOWN.pending, function (state, action) {
16271
16271
  state.resource_type_drop_down.loading = true, state.resource_type_drop_down.error = false, state.resource_type_drop_down.loading = true;
16272
- }), _defineProperty(_extraReducers$w, RESOURCE_TYPE_DROP_DOWN.rejected, function (state, action) {
16272
+ }), _defineProperty(_extraReducers$y, RESOURCE_TYPE_DROP_DOWN.rejected, function (state, action) {
16273
16273
  state.resource_type_drop_down.loading = false, state.resource_type_drop_down.error = true, state.resource_type_drop_down = action.payload;
16274
- }), _defineProperty(_extraReducers$w, RESOURCE_ROLE_DROP_DOWN.fulfilled, function (state, action) {
16274
+ }), _defineProperty(_extraReducers$y, RESOURCE_ROLE_DROP_DOWN.fulfilled, function (state, action) {
16275
16275
  state.resource_role_drop_down.loading = false, state.resource_role_drop_down.error = false, state.resource_role_drop_down = action.payload;
16276
- }), _defineProperty(_extraReducers$w, RESOURCE_ROLE_DROP_DOWN.pending, function (state, action) {
16276
+ }), _defineProperty(_extraReducers$y, RESOURCE_ROLE_DROP_DOWN.pending, function (state, action) {
16277
16277
  state.resource_role_drop_down.loading = true, state.resource_role_drop_down.error = false, state.resource_role_drop_down.loading = true;
16278
- }), _defineProperty(_extraReducers$w, RESOURCE_ROLE_DROP_DOWN.rejected, function (state, action) {
16278
+ }), _defineProperty(_extraReducers$y, RESOURCE_ROLE_DROP_DOWN.rejected, function (state, action) {
16279
16279
  state.resource_role_drop_down.loading = false, state.resource_role_drop_down.error = true, state.resource_role_drop_down = action.payload;
16280
- }), _defineProperty(_extraReducers$w, RES_GENERAL_INSTRUCTION.fulfilled, function (state, action) {
16280
+ }), _defineProperty(_extraReducers$y, RES_GENERAL_INSTRUCTION.fulfilled, function (state, action) {
16281
16281
  state.res_general_instruction.loading = false, state.res_general_instruction.error = false, state.res_general_instruction = action.payload;
16282
- }), _defineProperty(_extraReducers$w, RES_GENERAL_INSTRUCTION.pending, function (state, action) {
16282
+ }), _defineProperty(_extraReducers$y, RES_GENERAL_INSTRUCTION.pending, function (state, action) {
16283
16283
  state.res_general_instruction.loading = true, state.res_general_instruction.error = false, state.res_general_instruction.loading = true;
16284
- }), _defineProperty(_extraReducers$w, RES_GENERAL_INSTRUCTION.rejected, function (state, action) {
16284
+ }), _defineProperty(_extraReducers$y, RES_GENERAL_INSTRUCTION.rejected, function (state, action) {
16285
16285
  state.res_general_instruction.loading = false, state.res_general_instruction.error = true, state.res_general_instruction = action.payload;
16286
- }), _defineProperty(_extraReducers$w, RES_SPECIALINSTRUCTION.fulfilled, function (state, action) {
16286
+ }), _defineProperty(_extraReducers$y, RES_SPECIALINSTRUCTION.fulfilled, function (state, action) {
16287
16287
  state.res_special_instruction.loading = false, state.res_special_instruction.error = false, state.res_special_instruction = action.payload;
16288
- }), _defineProperty(_extraReducers$w, RES_SPECIALINSTRUCTION.pending, function (state, action) {
16288
+ }), _defineProperty(_extraReducers$y, RES_SPECIALINSTRUCTION.pending, function (state, action) {
16289
16289
  state.res_special_instruction.loading = true, state.res_special_instruction.error = false, state.res_special_instruction.loading = true;
16290
- }), _defineProperty(_extraReducers$w, RES_SPECIALINSTRUCTION.rejected, function (state, action) {
16290
+ }), _defineProperty(_extraReducers$y, RES_SPECIALINSTRUCTION.rejected, function (state, action) {
16291
16291
  state.res_special_instruction.loading = false, state.res_special_instruction.error = true, state.res_special_instruction = action.payload;
16292
- }), _defineProperty(_extraReducers$w, RES_CRITERIA_INSTRUVTION.fulfilled, function (state, action) {
16292
+ }), _defineProperty(_extraReducers$y, RES_CRITERIA_INSTRUVTION.fulfilled, function (state, action) {
16293
16293
  state.res_criteria_instruction.loading = false, state.res_criteria_instruction.error = false, state.res_criteria_instruction = action.payload;
16294
- }), _defineProperty(_extraReducers$w, RES_CRITERIA_INSTRUVTION.pending, function (state, action) {
16294
+ }), _defineProperty(_extraReducers$y, RES_CRITERIA_INSTRUVTION.pending, function (state, action) {
16295
16295
  state.res_criteria_instruction.loading = true, state.res_criteria_instruction.error = false, state.res_criteria_instruction.loading = true;
16296
- }), _defineProperty(_extraReducers$w, RES_CRITERIA_INSTRUVTION.rejected, function (state, action) {
16296
+ }), _defineProperty(_extraReducers$y, RES_CRITERIA_INSTRUVTION.rejected, function (state, action) {
16297
16297
  state.res_criteria_instruction.loading = false, state.res_criteria_instruction.error = true, state.res_criteria_instruction = action.payload;
16298
- }), _defineProperty(_extraReducers$w, UPDATE_STATUS_RES_LINE_LIST.fulfilled, function (state, action) {
16298
+ }), _defineProperty(_extraReducers$y, UPDATE_STATUS_RES_LINE_LIST.fulfilled, function (state, action) {
16299
16299
  state.res_status_update.loading = false, state.res_status_update.error = false, state.res_status_update = action.payload;
16300
- }), _defineProperty(_extraReducers$w, UPDATE_STATUS_RES_LINE_LIST.pending, function (state, action) {
16300
+ }), _defineProperty(_extraReducers$y, UPDATE_STATUS_RES_LINE_LIST.pending, function (state, action) {
16301
16301
  state.res_status_update.loading = true, state.res_status_update.error = false, state.res_status_update.loading = true;
16302
- }), _defineProperty(_extraReducers$w, UPDATE_STATUS_RES_LINE_LIST.rejected, function (state, action) {
16302
+ }), _defineProperty(_extraReducers$y, UPDATE_STATUS_RES_LINE_LIST.rejected, function (state, action) {
16303
16303
  state.res_status_update.loading = false, state.res_status_update.error = true, state.res_status_update = action.payload;
16304
- }), _defineProperty(_extraReducers$w, RES_UPSERT_INSER_NEW.fulfilled, function (state, action) {
16304
+ }), _defineProperty(_extraReducers$y, RES_UPSERT_INSER_NEW.fulfilled, function (state, action) {
16305
16305
  state.res_upsert_new.loading = false, state.res_upsert_new.error = false, state.res_upsert_new = action.payload;
16306
- }), _defineProperty(_extraReducers$w, RES_UPSERT_INSER_NEW.pending, function (state, action) {
16306
+ }), _defineProperty(_extraReducers$y, RES_UPSERT_INSER_NEW.pending, function (state, action) {
16307
16307
  state.res_upsert_new.loading = true, state.res_upsert_new.error = false, state.res_upsert_new.loading = true;
16308
- }), _defineProperty(_extraReducers$w, RES_UPSERT_INSER_NEW.rejected, function (state, action) {
16308
+ }), _defineProperty(_extraReducers$y, RES_UPSERT_INSER_NEW.rejected, function (state, action) {
16309
16309
  state.res_upsert_new.loading = false, state.res_upsert_new.error = true, state.res_upsert_new = action.payload;
16310
- }), _defineProperty(_extraReducers$w, RES_LINE_LIST_READ_DOC.fulfilled, function (state, action) {
16310
+ }), _defineProperty(_extraReducers$y, RES_LINE_LIST_READ_DOC.fulfilled, function (state, action) {
16311
16311
  state.res_line_list_read_doc.loading = false, state.res_line_list_read_doc.error = false, state.res_line_list_read_doc = action.payload;
16312
- }), _defineProperty(_extraReducers$w, RES_LINE_LIST_READ_DOC.pending, function (state, action) {
16312
+ }), _defineProperty(_extraReducers$y, RES_LINE_LIST_READ_DOC.pending, function (state, action) {
16313
16313
  state.res_line_list_read_doc.loading = true, state.res_line_list_read_doc.error = false, state.res_line_list_read_doc.loading = true;
16314
- }), _defineProperty(_extraReducers$w, RES_LINE_LIST_READ_DOC.rejected, function (state, action) {
16314
+ }), _defineProperty(_extraReducers$y, RES_LINE_LIST_READ_DOC.rejected, function (state, action) {
16315
16315
  state.res_line_list_read_doc.loading = false, state.res_line_list_read_doc.error = true, state.res_line_list_read_doc = action.payload;
16316
- }), _extraReducers$w)
16316
+ }), _extraReducers$y)
16317
16317
  });
16318
16318
  var resourceByAppointmentTypes = {
16319
16319
  RESOURCE_BY_APPOINTMRNT_TYPES: RESOURCE_BY_APPOINTMRNT_TYPES,
@@ -16460,7 +16460,7 @@ var queries$g = {
16460
16460
  }
16461
16461
  };
16462
16462
 
16463
- var _extraReducers$v;
16463
+ var _extraReducers$x;
16464
16464
  var DRUG_CATEGORY_READ = createAsyncThunk("drugCategorySlice/drug_category_list", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
16465
16465
  var _ref2,
16466
16466
  rejectWithValue,
@@ -16565,19 +16565,19 @@ var drugCategorySlice = createSlice({
16565
16565
  drug_category_list: _objectSpread2({}, defaultState.List),
16566
16566
  drug_type_list: _objectSpread2({}, defaultState.List)
16567
16567
  },
16568
- extraReducers: (_extraReducers$v = {}, _defineProperty(_extraReducers$v, DRUG_CATEGORY_READ.fulfilled, function (state, action) {
16568
+ extraReducers: (_extraReducers$x = {}, _defineProperty(_extraReducers$x, DRUG_CATEGORY_READ.fulfilled, function (state, action) {
16569
16569
  state.drug_category_list.loading = false, state.drug_category_list.error = false, state.drug_category_list = action.payload;
16570
- }), _defineProperty(_extraReducers$v, DRUG_CATEGORY_READ.pending, function (state, action) {
16570
+ }), _defineProperty(_extraReducers$x, DRUG_CATEGORY_READ.pending, function (state, action) {
16571
16571
  state.drug_category_list.loading = true, state.drug_category_list.error = false, state.drug_category_list.loading = true;
16572
- }), _defineProperty(_extraReducers$v, DRUG_CATEGORY_READ.rejected, function (state, action) {
16572
+ }), _defineProperty(_extraReducers$x, DRUG_CATEGORY_READ.rejected, function (state, action) {
16573
16573
  state.drug_category_list.loading = false, state.drug_category_list.error = true, state.drug_category_list = action.payload;
16574
- }), _defineProperty(_extraReducers$v, DRUG_TYPE_READ.fulfilled, function (state, action) {
16574
+ }), _defineProperty(_extraReducers$x, DRUG_TYPE_READ.fulfilled, function (state, action) {
16575
16575
  state.drug_type_list.loading = false, state.drug_type_list.error = false, state.drug_type_list = action.payload;
16576
- }), _defineProperty(_extraReducers$v, DRUG_TYPE_READ.pending, function (state, action) {
16576
+ }), _defineProperty(_extraReducers$x, DRUG_TYPE_READ.pending, function (state, action) {
16577
16577
  state.drug_type_list.loading = true, state.drug_type_list.error = false, state.drug_type_list.loading = true;
16578
- }), _defineProperty(_extraReducers$v, DRUG_TYPE_READ.rejected, function (state, action) {
16578
+ }), _defineProperty(_extraReducers$x, DRUG_TYPE_READ.rejected, function (state, action) {
16579
16579
  state.drug_type_list.loading = false, state.drug_type_list.error = true, state.drug_type_list = action.payload;
16580
- }), _extraReducers$v)
16580
+ }), _extraReducers$x)
16581
16581
  });
16582
16582
  var drugCategoryActions = {
16583
16583
  DRUG_CATEGORY_READ: DRUG_CATEGORY_READ,
@@ -16585,7 +16585,7 @@ var drugCategoryActions = {
16585
16585
  };
16586
16586
  var drugCategorySlice$1 = drugCategorySlice.reducer;
16587
16587
 
16588
- var _extraReducers$u;
16588
+ var _extraReducers$w;
16589
16589
  var DRUG_DOSAGE_READ = createAsyncThunk("drugDosageSlice/drug_dosage_list", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
16590
16590
  var _ref2,
16591
16591
  rejectWithValue,
@@ -16738,25 +16738,25 @@ var drugDosageSlice = createSlice({
16738
16738
  drug_dosage_upsert: _objectSpread2({}, defaultState.List),
16739
16739
  drug_dosage_status: _objectSpread2({}, defaultState.List)
16740
16740
  },
16741
- extraReducers: (_extraReducers$u = {}, _defineProperty(_extraReducers$u, DRUG_DOSAGE_READ.fulfilled, function (state, action) {
16741
+ extraReducers: (_extraReducers$w = {}, _defineProperty(_extraReducers$w, DRUG_DOSAGE_READ.fulfilled, function (state, action) {
16742
16742
  state.drug_dosage_list.loading = false, state.drug_dosage_list.error = false, state.drug_dosage_list = action.payload;
16743
- }), _defineProperty(_extraReducers$u, DRUG_DOSAGE_READ.pending, function (state, action) {
16743
+ }), _defineProperty(_extraReducers$w, DRUG_DOSAGE_READ.pending, function (state, action) {
16744
16744
  state.drug_dosage_list.loading = true, state.drug_dosage_list.error = false, state.drug_dosage_list.loading = true;
16745
- }), _defineProperty(_extraReducers$u, DRUG_DOSAGE_READ.rejected, function (state, action) {
16745
+ }), _defineProperty(_extraReducers$w, DRUG_DOSAGE_READ.rejected, function (state, action) {
16746
16746
  state.drug_dosage_list.loading = false, state.drug_dosage_list.error = true, state.drug_dosage_list = action.payload;
16747
- }), _defineProperty(_extraReducers$u, DRUG_DOSAGE_UPSERT.fulfilled, function (state, action) {
16747
+ }), _defineProperty(_extraReducers$w, DRUG_DOSAGE_UPSERT.fulfilled, function (state, action) {
16748
16748
  state.drug_dosage_upsert.loading = false, state.drug_dosage_upsert.error = false, state.drug_dosage_upsert = action.payload;
16749
- }), _defineProperty(_extraReducers$u, DRUG_DOSAGE_UPSERT.pending, function (state, action) {
16749
+ }), _defineProperty(_extraReducers$w, DRUG_DOSAGE_UPSERT.pending, function (state, action) {
16750
16750
  state.drug_dosage_upsert.loading = true, state.drug_dosage_upsert.error = false, state.drug_dosage_upsert.loading = true;
16751
- }), _defineProperty(_extraReducers$u, DRUG_DOSAGE_UPSERT.rejected, function (state, action) {
16751
+ }), _defineProperty(_extraReducers$w, DRUG_DOSAGE_UPSERT.rejected, function (state, action) {
16752
16752
  state.drug_dosage_upsert.loading = false, state.drug_dosage_upsert.error = true, state.drug_dosage_upsert = action.payload;
16753
- }), _defineProperty(_extraReducers$u, DRUG_DOSAGE_STATUS_CHANGE.fulfilled, function (state, action) {
16753
+ }), _defineProperty(_extraReducers$w, DRUG_DOSAGE_STATUS_CHANGE.fulfilled, function (state, action) {
16754
16754
  state.drug_dosage_status.loading = false, state.drug_dosage_status.error = false, state.drug_dosage_status = action.payload;
16755
- }), _defineProperty(_extraReducers$u, DRUG_DOSAGE_STATUS_CHANGE.pending, function (state, action) {
16755
+ }), _defineProperty(_extraReducers$w, DRUG_DOSAGE_STATUS_CHANGE.pending, function (state, action) {
16756
16756
  state.drug_dosage_status.loading = true, state.drug_dosage_status.error = false, state.drug_dosage_status.loading = true;
16757
- }), _defineProperty(_extraReducers$u, DRUG_DOSAGE_STATUS_CHANGE.rejected, function (state, action) {
16757
+ }), _defineProperty(_extraReducers$w, DRUG_DOSAGE_STATUS_CHANGE.rejected, function (state, action) {
16758
16758
  state.drug_dosage_status.loading = false, state.drug_dosage_status.error = true, state.drug_dosage_status = action.payload;
16759
- }), _extraReducers$u)
16759
+ }), _extraReducers$w)
16760
16760
  });
16761
16761
  var drugDosageActions = {
16762
16762
  DRUG_DOSAGE_READ: DRUG_DOSAGE_READ,
@@ -16765,7 +16765,7 @@ var drugDosageActions = {
16765
16765
  };
16766
16766
  var drugDosageSlice$1 = drugDosageSlice.reducer;
16767
16767
 
16768
- var _extraReducers$t;
16768
+ var _extraReducers$v;
16769
16769
  var DRUG_CLASS_READ = createAsyncThunk("drugClassSlice/drug_class_list", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
16770
16770
  var _ref2,
16771
16771
  rejectWithValue,
@@ -16918,25 +16918,25 @@ var drugClassSlice = createSlice({
16918
16918
  drug_class_upsert: _objectSpread2({}, defaultState.List),
16919
16919
  drug_class_status: _objectSpread2({}, defaultState.List)
16920
16920
  },
16921
- extraReducers: (_extraReducers$t = {}, _defineProperty(_extraReducers$t, DRUG_CLASS_READ.fulfilled, function (state, action) {
16921
+ extraReducers: (_extraReducers$v = {}, _defineProperty(_extraReducers$v, DRUG_CLASS_READ.fulfilled, function (state, action) {
16922
16922
  state.drug_class_list.loading = false, state.drug_class_list.error = false, state.drug_class_list = action.payload;
16923
- }), _defineProperty(_extraReducers$t, DRUG_CLASS_READ.pending, function (state, action) {
16923
+ }), _defineProperty(_extraReducers$v, DRUG_CLASS_READ.pending, function (state, action) {
16924
16924
  state.drug_class_list.loading = true, state.drug_class_list.error = false, state.drug_class_list.loading = true;
16925
- }), _defineProperty(_extraReducers$t, DRUG_CLASS_READ.rejected, function (state, action) {
16925
+ }), _defineProperty(_extraReducers$v, DRUG_CLASS_READ.rejected, function (state, action) {
16926
16926
  state.drug_class_list.loading = false, state.drug_class_list.error = true, state.drug_class_list = action.payload;
16927
- }), _defineProperty(_extraReducers$t, DRUG_CLASS_UPSERT.fulfilled, function (state, action) {
16927
+ }), _defineProperty(_extraReducers$v, DRUG_CLASS_UPSERT.fulfilled, function (state, action) {
16928
16928
  state.drug_class_upsert.loading = false, state.drug_class_upsert.error = false, state.drug_class_upsert = action.payload;
16929
- }), _defineProperty(_extraReducers$t, DRUG_CLASS_UPSERT.pending, function (state, action) {
16929
+ }), _defineProperty(_extraReducers$v, DRUG_CLASS_UPSERT.pending, function (state, action) {
16930
16930
  state.drug_class_upsert.loading = true, state.drug_class_upsert.error = false, state.drug_class_upsert.loading = true;
16931
- }), _defineProperty(_extraReducers$t, DRUG_CLASS_UPSERT.rejected, function (state, action) {
16931
+ }), _defineProperty(_extraReducers$v, DRUG_CLASS_UPSERT.rejected, function (state, action) {
16932
16932
  state.drug_class_upsert.loading = false, state.drug_class_upsert.error = true, state.drug_class_upsert = action.payload;
16933
- }), _defineProperty(_extraReducers$t, DRUG_CLASS_STATUS_CHANGE.fulfilled, function (state, action) {
16933
+ }), _defineProperty(_extraReducers$v, DRUG_CLASS_STATUS_CHANGE.fulfilled, function (state, action) {
16934
16934
  state.drug_class_status.loading = false, state.drug_class_status.error = false, state.drug_class_status = action.payload;
16935
- }), _defineProperty(_extraReducers$t, DRUG_CLASS_STATUS_CHANGE.pending, function (state, action) {
16935
+ }), _defineProperty(_extraReducers$v, DRUG_CLASS_STATUS_CHANGE.pending, function (state, action) {
16936
16936
  state.drug_class_status.loading = true, state.drug_class_status.error = false, state.drug_class_status.loading = true;
16937
- }), _defineProperty(_extraReducers$t, DRUG_CLASS_STATUS_CHANGE.rejected, function (state, action) {
16937
+ }), _defineProperty(_extraReducers$v, DRUG_CLASS_STATUS_CHANGE.rejected, function (state, action) {
16938
16938
  state.drug_class_status.loading = false, state.drug_class_status.error = true, state.drug_class_status = action.payload;
16939
- }), _extraReducers$t)
16939
+ }), _extraReducers$v)
16940
16940
  });
16941
16941
  var drugClassActions = {
16942
16942
  DRUG_CLASS_READ: DRUG_CLASS_READ,
@@ -16945,7 +16945,7 @@ var drugClassActions = {
16945
16945
  };
16946
16946
  var drugClassSlice$1 = drugClassSlice.reducer;
16947
16947
 
16948
- var _extraReducers$s;
16948
+ var _extraReducers$u;
16949
16949
  var DRUG_ROUTES_READ = createAsyncThunk("drugRoutesSlice/drug_routes_list", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
16950
16950
  var _ref2,
16951
16951
  rejectWithValue,
@@ -17100,25 +17100,25 @@ var drugRoutesSlice = createSlice({
17100
17100
  drug_routes_upsert: _objectSpread2({}, defaultState.List),
17101
17101
  drug_routes_status: _objectSpread2({}, defaultState.List)
17102
17102
  },
17103
- extraReducers: (_extraReducers$s = {}, _defineProperty(_extraReducers$s, DRUG_ROUTES_READ.fulfilled, function (state, action) {
17103
+ extraReducers: (_extraReducers$u = {}, _defineProperty(_extraReducers$u, DRUG_ROUTES_READ.fulfilled, function (state, action) {
17104
17104
  state.drug_routes_list.loading = false, state.drug_routes_list.error = false, state.drug_routes_list = action.payload;
17105
- }), _defineProperty(_extraReducers$s, DRUG_ROUTES_READ.pending, function (state, action) {
17105
+ }), _defineProperty(_extraReducers$u, DRUG_ROUTES_READ.pending, function (state, action) {
17106
17106
  state.drug_routes_list.loading = true, state.drug_routes_list.error = false, state.drug_routes_list.loading = true;
17107
- }), _defineProperty(_extraReducers$s, DRUG_ROUTES_READ.rejected, function (state, action) {
17107
+ }), _defineProperty(_extraReducers$u, DRUG_ROUTES_READ.rejected, function (state, action) {
17108
17108
  state.drug_routes_list.loading = false, state.drug_routes_list.error = true, state.drug_routes_list = action.payload;
17109
- }), _defineProperty(_extraReducers$s, DRUG_ROUTES_UPSERT.fulfilled, function (state, action) {
17109
+ }), _defineProperty(_extraReducers$u, DRUG_ROUTES_UPSERT.fulfilled, function (state, action) {
17110
17110
  state.drug_routes_upsert.loading = false, state.drug_routes_upsert.error = false, state.drug_routes_upsert = action.payload;
17111
- }), _defineProperty(_extraReducers$s, DRUG_ROUTES_UPSERT.pending, function (state, action) {
17111
+ }), _defineProperty(_extraReducers$u, DRUG_ROUTES_UPSERT.pending, function (state, action) {
17112
17112
  state.drug_routes_upsert.loading = true, state.drug_routes_upsert.error = false, state.drug_routes_upsert.loading = true;
17113
- }), _defineProperty(_extraReducers$s, DRUG_ROUTES_UPSERT.rejected, function (state, action) {
17113
+ }), _defineProperty(_extraReducers$u, DRUG_ROUTES_UPSERT.rejected, function (state, action) {
17114
17114
  state.drug_routes_upsert.loading = false, state.drug_routes_upsert.error = true, state.drug_routes_upsert = action.payload;
17115
- }), _defineProperty(_extraReducers$s, DRUG_ROUTES_STATUS_CHANGE.fulfilled, function (state, action) {
17115
+ }), _defineProperty(_extraReducers$u, DRUG_ROUTES_STATUS_CHANGE.fulfilled, function (state, action) {
17116
17116
  state.drug_routes_status.loading = false, state.drug_routes_status.error = false, state.drug_routes_status = action.payload;
17117
- }), _defineProperty(_extraReducers$s, DRUG_ROUTES_STATUS_CHANGE.pending, function (state, action) {
17117
+ }), _defineProperty(_extraReducers$u, DRUG_ROUTES_STATUS_CHANGE.pending, function (state, action) {
17118
17118
  state.drug_routes_status.loading = true, state.drug_routes_status.error = false, state.drug_routes_status.loading = true;
17119
- }), _defineProperty(_extraReducers$s, DRUG_ROUTES_STATUS_CHANGE.rejected, function (state, action) {
17119
+ }), _defineProperty(_extraReducers$u, DRUG_ROUTES_STATUS_CHANGE.rejected, function (state, action) {
17120
17120
  state.drug_routes_status.loading = false, state.drug_routes_status.error = true, state.drug_routes_status = action.payload;
17121
- }), _extraReducers$s)
17121
+ }), _extraReducers$u)
17122
17122
  });
17123
17123
  var drugRoutesActions = {
17124
17124
  DRUG_ROUTES_READ: DRUG_ROUTES_READ,
@@ -18008,7 +18008,7 @@ var readDrugMasterJSON = function readDrugMasterJSON(data, state) {
18008
18008
  return json;
18009
18009
  };
18010
18010
 
18011
- var _extraReducers$r;
18011
+ var _extraReducers$t;
18012
18012
 
18013
18013
  var loopMasters$6 = function loopMasters() {
18014
18014
  return new es6Promise.Promise( /*#__PURE__*/function () {
@@ -18557,55 +18557,55 @@ var drugMasterSlice = createSlice({
18557
18557
  drug_form_read: _objectSpread2({}, defaultState.List),
18558
18558
  age_category_by_id: _objectSpread2({}, defaultState.List)
18559
18559
  },
18560
- extraReducers: (_extraReducers$r = {}, _defineProperty(_extraReducers$r, DRUG_MASTER_READ.fulfilled, function (state, action) {
18560
+ extraReducers: (_extraReducers$t = {}, _defineProperty(_extraReducers$t, DRUG_MASTER_READ.fulfilled, function (state, action) {
18561
18561
  state.drug_master_list.loading = false, state.drug_master_list.error = false, state.drug_master_list = action.payload;
18562
- }), _defineProperty(_extraReducers$r, DRUG_MASTER_READ.pending, function (state, action) {
18562
+ }), _defineProperty(_extraReducers$t, DRUG_MASTER_READ.pending, function (state, action) {
18563
18563
  state.drug_master_list.loading = true, state.drug_master_list.error = false, state.drug_master_list.loading = true;
18564
- }), _defineProperty(_extraReducers$r, DRUG_MASTER_READ.rejected, function (state, action) {
18564
+ }), _defineProperty(_extraReducers$t, DRUG_MASTER_READ.rejected, function (state, action) {
18565
18565
  state.drug_master_list.loading = false, state.drug_master_list.error = true, state.drug_master_list = action.payload;
18566
- }), _defineProperty(_extraReducers$r, DRUG_MASTER_UPSERT.fulfilled, function (state, action) {
18566
+ }), _defineProperty(_extraReducers$t, DRUG_MASTER_UPSERT.fulfilled, function (state, action) {
18567
18567
  state.drug_master_upsert.loading = false, state.drug_master_upsert.error = false, state.drug_master_upsert = action.payload;
18568
- }), _defineProperty(_extraReducers$r, DRUG_MASTER_UPSERT.pending, function (state, action) {
18568
+ }), _defineProperty(_extraReducers$t, DRUG_MASTER_UPSERT.pending, function (state, action) {
18569
18569
  state.drug_master_upsert.loading = true, state.drug_master_upsert.error = false, state.drug_master_upsert.loading = true;
18570
- }), _defineProperty(_extraReducers$r, DRUG_MASTER_UPSERT.rejected, function (state, action) {
18570
+ }), _defineProperty(_extraReducers$t, DRUG_MASTER_UPSERT.rejected, function (state, action) {
18571
18571
  state.drug_master_upsert.loading = false, state.drug_master_upsert.error = true, state.drug_master_upsert = action.payload;
18572
- }), _defineProperty(_extraReducers$r, DRUG_MASTER_STATUS_CHANGE.fulfilled, function (state, action) {
18572
+ }), _defineProperty(_extraReducers$t, DRUG_MASTER_STATUS_CHANGE.fulfilled, function (state, action) {
18573
18573
  state.drug_master_status.loading = false, state.drug_master_status.error = false, state.drug_master_status = action.payload;
18574
- }), _defineProperty(_extraReducers$r, DRUG_MASTER_STATUS_CHANGE.pending, function (state, action) {
18574
+ }), _defineProperty(_extraReducers$t, DRUG_MASTER_STATUS_CHANGE.pending, function (state, action) {
18575
18575
  state.drug_master_status.loading = true, state.drug_master_status.error = false, state.drug_master_status.loading = true;
18576
- }), _defineProperty(_extraReducers$r, DRUG_MASTER_STATUS_CHANGE.rejected, function (state, action) {
18576
+ }), _defineProperty(_extraReducers$t, DRUG_MASTER_STATUS_CHANGE.rejected, function (state, action) {
18577
18577
  state.drug_master_status.loading = false, state.drug_master_status.error = true, state.drug_master_status = action.payload;
18578
- }), _defineProperty(_extraReducers$r, DRUG_MASTERS.fulfilled, function (state, action) {
18578
+ }), _defineProperty(_extraReducers$t, DRUG_MASTERS.fulfilled, function (state, action) {
18579
18579
  state.drug_master.loading = false, state.drug_master.error = false, state.drug_master = action.payload;
18580
- }), _defineProperty(_extraReducers$r, DRUG_MASTERS.pending, function (state, action) {
18580
+ }), _defineProperty(_extraReducers$t, DRUG_MASTERS.pending, function (state, action) {
18581
18581
  state.drug_master.loading = true, state.drug_master.error = false, state.drug_master.loading = true;
18582
- }), _defineProperty(_extraReducers$r, DRUG_MASTERS.rejected, function (state, action) {
18582
+ }), _defineProperty(_extraReducers$t, DRUG_MASTERS.rejected, function (state, action) {
18583
18583
  state.drug_master.loading = false, state.drug_master.error = true, state.drug_master = action.payload;
18584
- }), _defineProperty(_extraReducers$r, SAVE_DRUG_MASTER.fulfilled, function (state, action) {
18584
+ }), _defineProperty(_extraReducers$t, SAVE_DRUG_MASTER.fulfilled, function (state, action) {
18585
18585
  state.upsert_drug_master.loading = false, state.upsert_drug_master.error = false, state.upsert_drug_master = action.payload;
18586
- }), _defineProperty(_extraReducers$r, SAVE_DRUG_MASTER.pending, function (state, action) {
18586
+ }), _defineProperty(_extraReducers$t, SAVE_DRUG_MASTER.pending, function (state, action) {
18587
18587
  state.upsert_drug_master.loading = true, state.upsert_drug_master.error = false, state.upsert_drug_master.loading = true;
18588
- }), _defineProperty(_extraReducers$r, SAVE_DRUG_MASTER.rejected, function (state, action) {
18588
+ }), _defineProperty(_extraReducers$t, SAVE_DRUG_MASTER.rejected, function (state, action) {
18589
18589
  state.upsert_drug_master.loading = false, state.upsert_drug_master.error = true, state.upsert_drug_master = action.payload;
18590
- }), _defineProperty(_extraReducers$r, DRUG_FORM_TYPE.fulfilled, function (state, action) {
18590
+ }), _defineProperty(_extraReducers$t, DRUG_FORM_TYPE.fulfilled, function (state, action) {
18591
18591
  state.drug_form_type.loading = false, state.drug_form_type.error = false, state.drug_form_type = action.payload;
18592
- }), _defineProperty(_extraReducers$r, DRUG_FORM_TYPE.pending, function (state, action) {
18592
+ }), _defineProperty(_extraReducers$t, DRUG_FORM_TYPE.pending, function (state, action) {
18593
18593
  state.drug_form_type.loading = true, state.drug_form_type.error = false, state.drug_form_type.loading = true;
18594
- }), _defineProperty(_extraReducers$r, DRUG_FORM_TYPE.rejected, function (state, action) {
18594
+ }), _defineProperty(_extraReducers$t, DRUG_FORM_TYPE.rejected, function (state, action) {
18595
18595
  state.drug_form_type.loading = false, state.drug_form_type.error = true, state.drug_form_type = action.payload;
18596
- }), _defineProperty(_extraReducers$r, DRUG_READ_FORM.fulfilled, function (state, action) {
18596
+ }), _defineProperty(_extraReducers$t, DRUG_READ_FORM.fulfilled, function (state, action) {
18597
18597
  state.drug_form_read.loading = false, state.drug_form_read.error = false, state.drug_form_read = action.payload;
18598
- }), _defineProperty(_extraReducers$r, DRUG_READ_FORM.pending, function (state, action) {
18598
+ }), _defineProperty(_extraReducers$t, DRUG_READ_FORM.pending, function (state, action) {
18599
18599
  state.drug_form_read.loading = true, state.drug_form_read.error = false, state.drug_form_read.loading = true;
18600
- }), _defineProperty(_extraReducers$r, DRUG_READ_FORM.rejected, function (state, action) {
18600
+ }), _defineProperty(_extraReducers$t, DRUG_READ_FORM.rejected, function (state, action) {
18601
18601
  state.drug_form_read.loading = false, state.drug_form_read.error = true, state.drug_form_read = action.payload;
18602
- }), _defineProperty(_extraReducers$r, AGE_CATEGORY_BY_ID.fulfilled, function (state, action) {
18602
+ }), _defineProperty(_extraReducers$t, AGE_CATEGORY_BY_ID.fulfilled, function (state, action) {
18603
18603
  state.age_category_by_id.loading = false, state.age_category_by_id.error = false, state.age_category_by_id = action.payload;
18604
- }), _defineProperty(_extraReducers$r, AGE_CATEGORY_BY_ID.pending, function (state, action) {
18604
+ }), _defineProperty(_extraReducers$t, AGE_CATEGORY_BY_ID.pending, function (state, action) {
18605
18605
  state.age_category_by_id.loading = true, state.age_category_by_id.error = false, state.age_category_by_id.loading = true;
18606
- }), _defineProperty(_extraReducers$r, AGE_CATEGORY_BY_ID.rejected, function (state, action) {
18606
+ }), _defineProperty(_extraReducers$t, AGE_CATEGORY_BY_ID.rejected, function (state, action) {
18607
18607
  state.age_category_by_id.loading = false, state.age_category_by_id.error = true, state.age_category_by_id = action.payload;
18608
- }), _extraReducers$r)
18608
+ }), _extraReducers$t)
18609
18609
  });
18610
18610
  var drugMasterActions = {
18611
18611
  DRUG_MASTER_READ: DRUG_MASTER_READ,
@@ -18690,7 +18690,7 @@ var queries$e = {
18690
18690
  }
18691
18691
  };
18692
18692
 
18693
- var _extraReducers$q;
18693
+ var _extraReducers$s;
18694
18694
  var DRUG_ROUTES_DIRECTION_READ = createAsyncThunk("drugRoutesSlice/drug_routes_direction_list", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
18695
18695
  var _ref2,
18696
18696
  rejectWithValue,
@@ -18935,37 +18935,37 @@ var drugRoutesDirectionSlice = createSlice({
18935
18935
  drug_routes_insert_list: _objectSpread2({}, defaultState.List),
18936
18936
  drug_routes_update_list: _objectSpread2({}, defaultState.List)
18937
18937
  },
18938
- extraReducers: (_extraReducers$q = {}, _defineProperty(_extraReducers$q, DRUG_ROUTES_DIRECTION_READ.fulfilled, function (state, action) {
18938
+ extraReducers: (_extraReducers$s = {}, _defineProperty(_extraReducers$s, DRUG_ROUTES_DIRECTION_READ.fulfilled, function (state, action) {
18939
18939
  state.drug_routes_direction_list.loading = false, state.drug_routes_direction_list.error = false, state.drug_routes_direction_list = action.payload;
18940
- }), _defineProperty(_extraReducers$q, DRUG_ROUTES_DIRECTION_READ.pending, function (state, action) {
18940
+ }), _defineProperty(_extraReducers$s, DRUG_ROUTES_DIRECTION_READ.pending, function (state, action) {
18941
18941
  state.drug_routes_direction_list.loading = true, state.drug_routes_direction_list.error = false, state.drug_routes_direction_list.loading = true;
18942
- }), _defineProperty(_extraReducers$q, DRUG_ROUTES_DIRECTION_READ.rejected, function (state, action) {
18942
+ }), _defineProperty(_extraReducers$s, DRUG_ROUTES_DIRECTION_READ.rejected, function (state, action) {
18943
18943
  state.drug_routes_direction_list.loading = false, state.drug_routes_direction_list.error = true, state.drug_routes_direction_list = action.payload;
18944
- }), _defineProperty(_extraReducers$q, DRUG_ROUTES_DIRECTION_MASTER.fulfilled, function (state, action) {
18944
+ }), _defineProperty(_extraReducers$s, DRUG_ROUTES_DIRECTION_MASTER.fulfilled, function (state, action) {
18945
18945
  state.drug_routes_master_list.loading = false, state.drug_routes_master_list.error = false, state.drug_routes_master_list = action.payload;
18946
- }), _defineProperty(_extraReducers$q, DRUG_ROUTES_DIRECTION_MASTER.pending, function (state, action) {
18946
+ }), _defineProperty(_extraReducers$s, DRUG_ROUTES_DIRECTION_MASTER.pending, function (state, action) {
18947
18947
  state.drug_routes_master_list.loading = true, state.drug_routes_master_list.error = false, state.drug_routes_master_list.loading = true;
18948
- }), _defineProperty(_extraReducers$q, DRUG_ROUTES_DIRECTION_MASTER.rejected, function (state, action) {
18948
+ }), _defineProperty(_extraReducers$s, DRUG_ROUTES_DIRECTION_MASTER.rejected, function (state, action) {
18949
18949
  state.drug_routes_master_list.loading = false, state.drug_routes_master_list.error = true, state.drug_routes_master_list = action.payload;
18950
- }), _defineProperty(_extraReducers$q, DRUG_ROUTES_DIRECTION_STATUS.fulfilled, function (state, action) {
18950
+ }), _defineProperty(_extraReducers$s, DRUG_ROUTES_DIRECTION_STATUS.fulfilled, function (state, action) {
18951
18951
  state.drug_routes_status_list.loading = false, state.drug_routes_status_list.error = false, state.drug_routes_status_list = action.payload;
18952
- }), _defineProperty(_extraReducers$q, DRUG_ROUTES_DIRECTION_STATUS.pending, function (state, action) {
18952
+ }), _defineProperty(_extraReducers$s, DRUG_ROUTES_DIRECTION_STATUS.pending, function (state, action) {
18953
18953
  state.drug_routes_status_list.loading = true, state.drug_routes_status_list.error = false, state.drug_routes_status_list.loading = true;
18954
- }), _defineProperty(_extraReducers$q, DRUG_ROUTES_DIRECTION_STATUS.rejected, function (state, action) {
18954
+ }), _defineProperty(_extraReducers$s, DRUG_ROUTES_DIRECTION_STATUS.rejected, function (state, action) {
18955
18955
  state.drug_routes_status_list.loading = false, state.drug_routes_status_list.error = true, state.drug_routes_status_list = action.payload;
18956
- }), _defineProperty(_extraReducers$q, DRUG_ROUTES_DIRECTION_INSERT.fulfilled, function (state, action) {
18956
+ }), _defineProperty(_extraReducers$s, DRUG_ROUTES_DIRECTION_INSERT.fulfilled, function (state, action) {
18957
18957
  state.drug_routes_insert_list.loading = false, state.drug_routes_insert_list.error = false, state.drug_routes_insert_list = action.payload;
18958
- }), _defineProperty(_extraReducers$q, DRUG_ROUTES_DIRECTION_INSERT.pending, function (state, action) {
18958
+ }), _defineProperty(_extraReducers$s, DRUG_ROUTES_DIRECTION_INSERT.pending, function (state, action) {
18959
18959
  state.drug_routes_insert_list.loading = true, state.drug_routes_insert_list.error = false, state.drug_routes_insert_list.loading = true;
18960
- }), _defineProperty(_extraReducers$q, DRUG_ROUTES_DIRECTION_INSERT.rejected, function (state, action) {
18960
+ }), _defineProperty(_extraReducers$s, DRUG_ROUTES_DIRECTION_INSERT.rejected, function (state, action) {
18961
18961
  state.drug_routes_insert_list.loading = false, state.drug_routes_insert_list.error = true, state.drug_routes_insert_list = action.payload;
18962
- }), _defineProperty(_extraReducers$q, DRUG_ROUTES_DIRECTION_UPDATE.fulfilled, function (state, action) {
18962
+ }), _defineProperty(_extraReducers$s, DRUG_ROUTES_DIRECTION_UPDATE.fulfilled, function (state, action) {
18963
18963
  state.drug_routes_insert_list.loading = false, state.drug_routes_insert_list.error = false, state.drug_routes_insert_list = action.payload;
18964
- }), _defineProperty(_extraReducers$q, DRUG_ROUTES_DIRECTION_UPDATE.pending, function (state, action) {
18964
+ }), _defineProperty(_extraReducers$s, DRUG_ROUTES_DIRECTION_UPDATE.pending, function (state, action) {
18965
18965
  state.drug_routes_insert_list.loading = true, state.drug_routes_insert_list.error = false, state.drug_routes_insert_list.loading = true;
18966
- }), _defineProperty(_extraReducers$q, DRUG_ROUTES_DIRECTION_UPDATE.rejected, function (state, action) {
18966
+ }), _defineProperty(_extraReducers$s, DRUG_ROUTES_DIRECTION_UPDATE.rejected, function (state, action) {
18967
18967
  state.drug_routes_insert_list.loading = false, state.drug_routes_insert_list.error = true, state.drug_routes_insert_list = action.payload;
18968
- }), _extraReducers$q)
18968
+ }), _extraReducers$s)
18969
18969
  });
18970
18970
  var drugDirectionRoutesActions = {
18971
18971
  DRUG_ROUTES_DIRECTION_READ: DRUG_ROUTES_DIRECTION_READ,
@@ -18998,7 +18998,7 @@ var masterQuery$4 = {
18998
18998
  gender: "{\n \"db_name\": \"".concat(dbName, "\",\n \"entity\": \"CodeableConceptMaster\",\n \"sort\": \"document(CodeableConceptMaster.coding[0]).display\",\n \"filter\": \"CodeableConceptMaster.Type=='GENDER' && CodeableConceptMaster.activestatus==true\",\n \"return_fields\": \"MERGE(CodeableConceptMaster,{coding:(FOR cod IN CodeableConceptMaster.coding RETURN DOCUMENT(cod))})\"\n}"),
18999
18999
  ageGroup: "{\n\"db_name\": \"".concat(dbName, "\",\n\"entity\": \"AgeRanges\",\n\"sort\":\"AgeRanges.agerangecode\",\n\"filter\":\"AgeRanges.activestatus == true\",\n\"return_fields\": \"{id:AgeRanges.id, _id:AgeRanges._id, agerangecode:AgeRanges.agerangecode, longdesc:AgeRanges.longdesc, shortdesc:AgeRanges.shortdesc,AgeCategory:DOCUMENT(AgeRanges.AgeCategory)}\"\n}"),
19000
19000
  checkaction: "{\n \"db_name\": \"".concat(dbName, "\",\n \"entity\": \"CodeableConceptMaster\",\n \"sort\": \"document(CodeableConceptMaster.coding[0]).display\",\n \"filter\": \"CodeableConceptMaster.Type=='CHECKACTION' && CodeableConceptMaster.status==true && CodeableConceptMaster.activestatus==true\",\n \"return_fields\": \"MERGE(CodeableConceptMaster,{coding:(FOR cod IN CodeableConceptMaster.coding RETURN DOCUMENT(cod))})\"\n}"),
19001
- attrcode: "{\n \"db_name\": \"primarycare\",\n \"entity\": \"CA_OrderAttribMaster\",\n \"sort\":\"CA_OrderAttribMaster.attribcode\",\n \"filter\": \"CA_OrderAttribMaster.activestatus==true\",\n \"return_fields\": \"{id:CA_OrderAttribMaster.id,_id:CA_OrderAttribMaster._id,attribcode:CA_OrderAttribMaster.attribcode,attriblabel:CA_OrderAttribMaster.attriblabel,attribtype:CA_OrderAttribMaster.attribtype,AttribValidValues:CA_OrderAttribMaster.AttribValidValues}\"\n}"
19001
+ attrcode: "{\n \"db_name\": \"primarycare\",\n \"entity\": \"CA_OrderAttribMaster\",\n \"sort\":\"CA_OrderAttribMaster.attribcode\",\n \"filter\": \"CA_OrderAttribMaster.activestatus==true\",\n \"return_fields\": \"{id:CA_OrderAttribMaster.id,_id:CA_OrderAttribMaster._id,attribcode:CA_OrderAttribMaster.attribcode,attriblabel:CA_OrderAttribMaster.attriblabel,attribtype: document(CA_OrderAttribMaster.attribtype),AttribValidValues:CA_OrderAttribMaster.AttribValidValues}\"\n}"
19002
19002
  };
19003
19003
  var orderTypedata = {
19004
19004
  ordertype: function ordertype(type) {
@@ -19024,7 +19024,21 @@ var Query = {
19024
19024
  return_fields: "DOCUMENT( AgeRanges.AgeCategory)"
19025
19025
  };
19026
19026
  },
19027
- order_catalog_read: "{\n \"db_name\": \"primarycare\",\n \"entity\": \"OrderCatalog\",\n \"sort\":\"OrderCatalog.createddate ASC\",\n \"filter\": \"OrderCatalog.activestatus==true\",\n \"return_fields\": \"MERGE(OrderCatalog,{ordercategory:(document(OrderCatalog.ordercategory)),ordertype:(document(OrderCatalog.ordertype)),healthcareservicecode:(document(OrderCatalog.healthcareservicecode)),OrderCatalogByEncounterTypeAge:(for doc in CA_OrderCatalogByEncounterTypeAge filter doc._id in OrderCatalog.OrderCatalogByEncounterTypeAge return doc),OrderAttribApplicability:(for doc in CA_OrderAttribApplicability filter doc._id in OrderCatalog.OrderAttribApplicability return doc),dfltFastingPeriodUOM:(for doc in CodeableConceptMaster filter doc._id==OrderCatalog.dfltFastingPeriodUOM return merge(doc,{coding:(for cod in CodingMaster filter cod._id in doc.coding return cod.display)})),dfltSpecimenBodySite:(for doc in CodeableConceptMaster filter doc._id==OrderCatalog.dfltSpecimenBodySite return merge(doc,{coding:(for cod in CodingMaster filter cod._id in doc.coding return cod.display)})),dfltSpecimenCollectionMethod:(for doc in CodeableConceptMaster filter doc._id==OrderCatalog.dfltSpecimenCollectionMethod return merge(doc,{coding:(for cod in CodingMaster filter cod._id in doc.coding return cod.display)})),dfltSpecimenType:(for doc in CodeableConceptMaster filter doc._id==OrderCatalog.dfltSpecimenType return merge(doc,{coding:(for cod in CodingMaster filter cod._id in doc.coding return cod.display)})),dfltSpecimenVolumeUOM:(for doc in CodeableConceptMaster filter doc._id==OrderCatalog.dfltSpecimenVolumeUOM return merge(doc,{coding:(for cod in CodingMaster filter cod._id in doc.coding return cod.display)})),dfltqtyUOM:(for doc in CodeableConceptMaster filter doc._id==OrderCatalog.dfltqtyUOM return merge(doc,{coding:(for cod in CodingMaster filter cod._id in doc.coding return cod.display)})),maxorderqtyUOM:(for doc in CodeableConceptMaster filter doc._id==OrderCatalog.maxorderqtyUOM return merge(doc,{coding:(for cod in CodingMaster filter cod._id in doc.coding return cod.display)})),repeatCheckUOM:(for doc in CodeableConceptMaster filter doc._id==OrderCatalog.repeatCheckUOM return merge(doc,{coding:(for cod in CodingMaster filter cod._id in doc.coding return cod.display)})),AvailablebyPerOrganization:(for doc in to_array(OrderCatalog.AvailablebyPerOrganization) return merge(doc,{perforganizationId:(document(doc.perforganizationId)),perfOrganizationEntity:(for docs in CodeableConceptMaster filter docs._id==doc.perfOrganizationEntity return merge(doc,{coding:(for cod in CodingMaster filter cod._id in docs.coding return cod.display)}))})),dfltSpecimenContainer:(for doc in CodeableConceptMaster filter doc._id==OrderCatalog.dfltSpecimenContainer return merge(doc,{coding:(for cod in CodingMaster filter cod._id in doc.coding return cod.display)}))})\"\n}",
19027
+ order_catalog_read: function order_catalog_read(_ref) {
19028
+ var page = _ref.page,
19029
+ perPage = _ref.perPage;
19030
+ return {
19031
+ "db_name": dbName,
19032
+ "entity": "OrderCatalog",
19033
+ "sort": "OrderCatalog.createddate ASC",
19034
+ "limit": {
19035
+ "offset": page,
19036
+ "count": perPage
19037
+ },
19038
+ "filter": "OrderCatalog.activestatus==true",
19039
+ "return_fields": "MERGE(OrderCatalog,{TotalCount:COUNT(FOR cnt IN OrderCatalog RETURN cnt._key)},{ordercategory:(document(OrderCatalog.ordercategory)),ordertype:(document(OrderCatalog.ordertype)),healthcareservicecode:(document(OrderCatalog.healthcareservicecode)),OrderCatalogByEncounterTypeAge:(for doc in CA_OrderCatalogByEncounterTypeAge filter doc._id in OrderCatalog.OrderCatalogByEncounterTypeAge return doc),OrderAttribApplicability:(for doc in CA_OrderAttribApplicability filter doc._id in OrderCatalog.OrderAttribApplicability return doc),dfltFastingPeriodUOM:(for doc in CodeableConceptMaster filter doc._id==OrderCatalog.dfltFastingPeriodUOM return merge(doc,{coding:(for cod in CodingMaster filter cod._id in doc.coding return cod.display)})),dfltSpecimenBodySite:(for doc in CodeableConceptMaster filter doc._id==OrderCatalog.dfltSpecimenBodySite return merge(doc,{coding:(for cod in CodingMaster filter cod._id in doc.coding return cod.display)})),dfltSpecimenCollectionMethod:(for doc in CodeableConceptMaster filter doc._id==OrderCatalog.dfltSpecimenCollectionMethod return merge(doc,{coding:(for cod in CodingMaster filter cod._id in doc.coding return cod.display)})),dfltSpecimenType:(for doc in CodeableConceptMaster filter doc._id==OrderCatalog.dfltSpecimenType return merge(doc,{coding:(for cod in CodingMaster filter cod._id in doc.coding return cod.display)})),dfltSpecimenVolumeUOM:(for doc in CodeableConceptMaster filter doc._id==OrderCatalog.dfltSpecimenVolumeUOM return merge(doc,{coding:(for cod in CodingMaster filter cod._id in doc.coding return cod.display)})),dfltqtyUOM:(for doc in CodeableConceptMaster filter doc._id==OrderCatalog.dfltqtyUOM return merge(doc,{coding:(for cod in CodingMaster filter cod._id in doc.coding return cod.display)})),maxorderqtyUOM:(for doc in CodeableConceptMaster filter doc._id==OrderCatalog.maxorderqtyUOM return merge(doc,{coding:(for cod in CodingMaster filter cod._id in doc.coding return cod.display)})),repeatCheckUOM:(for doc in CodeableConceptMaster filter doc._id==OrderCatalog.repeatCheckUOM return merge(doc,{coding:(for cod in CodingMaster filter cod._id in doc.coding return cod.display)})),AvailablebyPerOrganization:(for doc in to_array(OrderCatalog.AvailablebyPerOrganization) return merge(doc,{perforganizationId:(document(doc.perforganizationId)),perfOrganizationEntity:(for docs in CodeableConceptMaster filter docs._id==doc.perfOrganizationEntity return merge(doc,{coding:(for cod in CodingMaster filter cod._id in docs.coding return cod.display)}))})),dfltSpecimenContainer:(for doc in CodeableConceptMaster filter doc._id==OrderCatalog.dfltSpecimenContainer return merge(doc,{coding:(for cod in CodingMaster filter cod._id in doc.coding return cod.display)}))})"
19040
+ };
19041
+ },
19028
19042
  editOrderCatalog: function editOrderCatalog(id) {
19029
19043
  return {
19030
19044
  db_name: "primarycare",
@@ -19548,7 +19562,7 @@ var generatefaciltity = function generatefaciltity(data, state) {
19548
19562
  // return Category;
19549
19563
  // };
19550
19564
 
19551
- var _extraReducers$p;
19565
+ var _extraReducers$r;
19552
19566
  var fileds$4 = ["quantity", "gender", "checkaction", "entityType", "specimenType", "bodySite", "specimenContainer", "collectionMethod", "encounterType"];
19553
19567
 
19554
19568
  var loopMasters$5 = function loopMasters() {
@@ -19621,12 +19635,14 @@ var loopMasters$5 = function loopMasters() {
19621
19635
  value: value._id
19622
19636
  });
19623
19637
  } else if ("attrcode" === val.name) {
19638
+ var _value$AttribValidVal;
19639
+
19624
19640
  arr.push({
19625
19641
  label: value.attribcode,
19626
19642
  value: value._id,
19627
19643
  name: value.attriblabel,
19628
19644
  type: value.attribtype,
19629
- AttribValidValues: value.AttribValidValues.map(function (v) {
19645
+ AttribValidValues: ((_value$AttribValidVal = value.AttribValidValues) === null || _value$AttribValidVal === void 0 ? void 0 : _value$AttribValidVal.length) > 0 && value.AttribValidValues.map(function (v) {
19630
19646
  return {
19631
19647
  label: v.validCode,
19632
19648
  Dfltflag: v.Dfltflag
@@ -19925,8 +19941,11 @@ var SAVE_ORDER_CATALOG = createAsyncThunk("orderCatalogApiSlice/saveOrderCatalog
19925
19941
  }, _callee8, null, [[2, 11]]);
19926
19942
  })));
19927
19943
  var READ_ORDER_CATALOG = createAsyncThunk("orderCatalogApiSlice/orderCatalogRead", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee9() {
19928
- var _ref15,
19944
+ var payload,
19945
+ _ref15,
19929
19946
  rejectWithValue,
19947
+ page,
19948
+ perPage,
19930
19949
  data,
19931
19950
  res,
19932
19951
  _args9 = arguments;
@@ -19935,33 +19954,41 @@ var READ_ORDER_CATALOG = createAsyncThunk("orderCatalogApiSlice/orderCatalogRead
19935
19954
  while (1) {
19936
19955
  switch (_context9.prev = _context9.next) {
19937
19956
  case 0:
19957
+ payload = _args9.length > 0 && _args9[0] !== undefined ? _args9[0] : {};
19938
19958
  _ref15 = _args9.length > 1 ? _args9[1] : undefined, rejectWithValue = _ref15.rejectWithValue;
19939
19959
  _context9.prev = 2;
19940
- _context9.next = 5;
19960
+ // const { encounter_id } = payload;
19961
+ // let state = getState();
19962
+ // let ccState = state.DiagnosisMasterSlice;
19963
+ page = payload.page, perPage = payload.perPage;
19964
+ _context9.next = 6;
19941
19965
  return fetchData({
19942
- body: Query.order_catalog_read
19966
+ body: JSON.stringify(Query.order_catalog_read({
19967
+ page: page,
19968
+ perPage: perPage
19969
+ }))
19943
19970
  }, __readDocumentUrl__);
19944
19971
 
19945
- case 5:
19972
+ case 6:
19946
19973
  data = _context9.sent;
19947
19974
  res = generateResJson(data.result);
19948
19975
  return _context9.abrupt("return", _objectSpread2(_objectSpread2({}, defaultState.List), {}, {
19949
19976
  data: res
19950
19977
  }));
19951
19978
 
19952
- case 10:
19953
- _context9.prev = 10;
19979
+ case 11:
19980
+ _context9.prev = 11;
19954
19981
  _context9.t0 = _context9["catch"](2);
19955
19982
  return _context9.abrupt("return", rejectWithValue(_objectSpread2(_objectSpread2({}, defaultReject), {}, {
19956
19983
  message: _context9.t0.message
19957
19984
  })));
19958
19985
 
19959
- case 13:
19986
+ case 14:
19960
19987
  case "end":
19961
19988
  return _context9.stop();
19962
19989
  }
19963
19990
  }
19964
- }, _callee9, null, [[2, 10]]);
19991
+ }, _callee9, null, [[2, 11]]);
19965
19992
  })));
19966
19993
  var UPDATE_ORDER_CATALOG_STATUS = createAsyncThunk("orderCatalogApiSlice/orderCatalogUpdate", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee10() {
19967
19994
  var payload,
@@ -20109,61 +20136,61 @@ var orderCatalogSlice = createSlice({
20109
20136
  order_type_data: _objectSpread2({}, defaultState.List),
20110
20137
  entityTypeName: _objectSpread2({}, defaultState.List)
20111
20138
  },
20112
- extraReducers: (_extraReducers$p = {}, _defineProperty(_extraReducers$p, ENTITY_NAME_DATA.fulfilled, function (state, action) {
20139
+ extraReducers: (_extraReducers$r = {}, _defineProperty(_extraReducers$r, ENTITY_NAME_DATA.fulfilled, function (state, action) {
20113
20140
  state.entityTypeName.loading = false, state.entityTypeName.error = false, state.entityTypeName = action.payload;
20114
- }), _defineProperty(_extraReducers$p, ENTITY_NAME_DATA.pending, function (state, action) {
20141
+ }), _defineProperty(_extraReducers$r, ENTITY_NAME_DATA.pending, function (state, action) {
20115
20142
  state.entityTypeName.loading = true, state.entityTypeName.error = false, state.entityTypeName.loading = true;
20116
- }), _defineProperty(_extraReducers$p, ENTITY_NAME_DATA.rejected, function (state, action) {
20143
+ }), _defineProperty(_extraReducers$r, ENTITY_NAME_DATA.rejected, function (state, action) {
20117
20144
  state.entityTypeName.loading = false, state.entityTypeName.error = true, state.entityTypeName = action.payload;
20118
- }), _defineProperty(_extraReducers$p, ORDER_CATALOG_MASTERS.fulfilled, function (state, action) {
20145
+ }), _defineProperty(_extraReducers$r, ORDER_CATALOG_MASTERS.fulfilled, function (state, action) {
20119
20146
  state.order_catalog_masters.loading = false, state.order_catalog_masters.error = false, state.order_catalog_masters = action.payload;
20120
- }), _defineProperty(_extraReducers$p, ORDER_CATALOG_MASTERS.pending, function (state, action) {
20147
+ }), _defineProperty(_extraReducers$r, ORDER_CATALOG_MASTERS.pending, function (state, action) {
20121
20148
  state.order_catalog_masters.loading = true, state.order_catalog_masters.error = false, state.order_catalog_masters.loading = true;
20122
- }), _defineProperty(_extraReducers$p, ORDER_CATALOG_MASTERS.rejected, function (state, action) {
20149
+ }), _defineProperty(_extraReducers$r, ORDER_CATALOG_MASTERS.rejected, function (state, action) {
20123
20150
  state.order_catalog_masters.loading = false, state.order_catalog_masters.error = true, state.order_catalog_masters = action.payload;
20124
- }), _defineProperty(_extraReducers$p, ORDER_TYPE_DATA.fulfilled, function (state, action) {
20151
+ }), _defineProperty(_extraReducers$r, ORDER_TYPE_DATA.fulfilled, function (state, action) {
20125
20152
  state.order_type_data.loading = false, state.order_type_data.error = false, state.order_type_data = action.payload;
20126
- }), _defineProperty(_extraReducers$p, ORDER_TYPE_DATA.pending, function (state, action) {
20153
+ }), _defineProperty(_extraReducers$r, ORDER_TYPE_DATA.pending, function (state, action) {
20127
20154
  state.order_type_data.loading = true, state.order_type_data.error = false, state.order_type_data.loading = true;
20128
- }), _defineProperty(_extraReducers$p, ORDER_TYPE_DATA.rejected, function (state, action) {
20155
+ }), _defineProperty(_extraReducers$r, ORDER_TYPE_DATA.rejected, function (state, action) {
20129
20156
  state.order_type_data.loading = false, state.order_type_data.error = true, state.order_type_data = action.payload;
20130
- }), _defineProperty(_extraReducers$p, AGE_RANGES_CATEGORY_CATALOG.fulfilled, function (state, action) {
20157
+ }), _defineProperty(_extraReducers$r, AGE_RANGES_CATEGORY_CATALOG.fulfilled, function (state, action) {
20131
20158
  state.ageranges_category_catalog.loading = false, state.ageranges_category_catalog.error = false, state.ageranges_category_catalog = action.payload;
20132
- }), _defineProperty(_extraReducers$p, AGE_RANGES_CATEGORY_CATALOG.pending, function (state, action) {
20159
+ }), _defineProperty(_extraReducers$r, AGE_RANGES_CATEGORY_CATALOG.pending, function (state, action) {
20133
20160
  state.ageranges_category_catalog.loading = true, state.ageranges_category_catalog.error = false, state.ageranges_category_catalog.loading = true;
20134
- }), _defineProperty(_extraReducers$p, AGE_RANGES_CATEGORY_CATALOG.rejected, function (state, action) {
20161
+ }), _defineProperty(_extraReducers$r, AGE_RANGES_CATEGORY_CATALOG.rejected, function (state, action) {
20135
20162
  state.ageranges_category_catalog.loading = false, state.ageranges_category_catalog.error = true, state.ageranges_category_catalog = action.payload;
20136
- }), _defineProperty(_extraReducers$p, SAVE_ORDER_CATALOG.fulfilled, function (state, action) {
20163
+ }), _defineProperty(_extraReducers$r, SAVE_ORDER_CATALOG.fulfilled, function (state, action) {
20137
20164
  state.save_order_catalog.loading = false, state.save_order_catalog.error = false, state.save_order_catalog = action.payload;
20138
- }), _defineProperty(_extraReducers$p, SAVE_ORDER_CATALOG.pending, function (state, action) {
20165
+ }), _defineProperty(_extraReducers$r, SAVE_ORDER_CATALOG.pending, function (state, action) {
20139
20166
  state.save_order_catalog.loading = true, state.save_order_catalog.error = false, state.save_order_catalog.loading = true;
20140
- }), _defineProperty(_extraReducers$p, SAVE_ORDER_CATALOG.rejected, function (state, action) {
20167
+ }), _defineProperty(_extraReducers$r, SAVE_ORDER_CATALOG.rejected, function (state, action) {
20141
20168
  state.save_order_catalog.loading = false, state.save_order_catalog.error = true, state.save_order_catalog = action.payload;
20142
- }), _defineProperty(_extraReducers$p, READ_ORDER_CATALOG.fulfilled, function (state, action) {
20169
+ }), _defineProperty(_extraReducers$r, READ_ORDER_CATALOG.fulfilled, function (state, action) {
20143
20170
  state.order_catalog_read.loading = false, state.order_catalog_read.error = false, state.order_catalog_read = action.payload;
20144
- }), _defineProperty(_extraReducers$p, READ_ORDER_CATALOG.pending, function (state, action) {
20171
+ }), _defineProperty(_extraReducers$r, READ_ORDER_CATALOG.pending, function (state, action) {
20145
20172
  state.order_catalog_read.loading = true, state.order_catalog_read.error = false, state.order_catalog_read.loading = true;
20146
- }), _defineProperty(_extraReducers$p, READ_ORDER_CATALOG.rejected, function (state, action) {
20173
+ }), _defineProperty(_extraReducers$r, READ_ORDER_CATALOG.rejected, function (state, action) {
20147
20174
  state.order_catalog_read.loading = false, state.order_catalog_read.error = true, state.order_catalog_read = action.payload;
20148
- }), _defineProperty(_extraReducers$p, UPDATE_ORDER_CATALOG_STATUS.fulfilled, function (state, action) {
20175
+ }), _defineProperty(_extraReducers$r, UPDATE_ORDER_CATALOG_STATUS.fulfilled, function (state, action) {
20149
20176
  state.order_catalog_status_update.loading = false, state.order_catalog_status_update.error = false, state.order_catalog_status_update = action.payload;
20150
- }), _defineProperty(_extraReducers$p, UPDATE_ORDER_CATALOG_STATUS.pending, function (state, action) {
20177
+ }), _defineProperty(_extraReducers$r, UPDATE_ORDER_CATALOG_STATUS.pending, function (state, action) {
20151
20178
  state.order_catalog_status_update.loading = true, state.order_catalog_status_update.error = false, state.order_catalog_status_update.loading = true;
20152
- }), _defineProperty(_extraReducers$p, UPDATE_ORDER_CATALOG_STATUS.rejected, function (state, action) {
20179
+ }), _defineProperty(_extraReducers$r, UPDATE_ORDER_CATALOG_STATUS.rejected, function (state, action) {
20153
20180
  state.order_catalog_status_update.loading = false, state.order_catalog_status_update.error = true, state.order_catalog_status_update = action.payload;
20154
- }), _defineProperty(_extraReducers$p, EDIT_ORDER_CATALOG.fulfilled, function (state, action) {
20181
+ }), _defineProperty(_extraReducers$r, EDIT_ORDER_CATALOG.fulfilled, function (state, action) {
20155
20182
  state.edit_order_catalog.loading = false, state.edit_order_catalog.error = false, state.edit_order_catalog = action.payload;
20156
- }), _defineProperty(_extraReducers$p, EDIT_ORDER_CATALOG.pending, function (state, action) {
20183
+ }), _defineProperty(_extraReducers$r, EDIT_ORDER_CATALOG.pending, function (state, action) {
20157
20184
  state.edit_order_catalog.loading = true, state.edit_order_catalog.error = false, state.edit_order_catalog.loading = true;
20158
- }), _defineProperty(_extraReducers$p, EDIT_ORDER_CATALOG.rejected, function (state, action) {
20185
+ }), _defineProperty(_extraReducers$r, EDIT_ORDER_CATALOG.rejected, function (state, action) {
20159
20186
  state.edit_order_catalog.loading = false, state.edit_order_catalog.error = true, state.edit_order_catalog = action.payload;
20160
- }), _defineProperty(_extraReducers$p, DELETE_ATTRIBUTE_DELETE.fulfilled, function (state, action) {
20187
+ }), _defineProperty(_extraReducers$r, DELETE_ATTRIBUTE_DELETE.fulfilled, function (state, action) {
20161
20188
  state.attribute_delete.loading = false, state.attribute_delete.error = false, state.attribute_delete = action.payload;
20162
- }), _defineProperty(_extraReducers$p, DELETE_ATTRIBUTE_DELETE.pending, function (state, action) {
20189
+ }), _defineProperty(_extraReducers$r, DELETE_ATTRIBUTE_DELETE.pending, function (state, action) {
20163
20190
  state.attribute_delete.loading = true, state.attribute_delete.error = false, state.attribute_delete.loading = true;
20164
- }), _defineProperty(_extraReducers$p, DELETE_ATTRIBUTE_DELETE.rejected, function (state, action) {
20191
+ }), _defineProperty(_extraReducers$r, DELETE_ATTRIBUTE_DELETE.rejected, function (state, action) {
20165
20192
  state.attribute_delete.loading = false, state.attribute_delete.error = true, state.attribute_delete = action.payload;
20166
- }), _extraReducers$p)
20193
+ }), _extraReducers$r)
20167
20194
  });
20168
20195
  var orderCatalogActions = {
20169
20196
  ORDER_CATALOG_MASTERS: ORDER_CATALOG_MASTERS,
@@ -20266,7 +20293,7 @@ var generateJson$9 = function generateJson(data, _key) {
20266
20293
  })];
20267
20294
  };
20268
20295
 
20269
- var _extraReducers$o;
20296
+ var _extraReducers$q;
20270
20297
  var SOURCELOCATIONTYPE = createAsyncThunk("performLocationSlice/sourceLocationType", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
20271
20298
  var _ref2,
20272
20299
  rejectWithValue,
@@ -20625,49 +20652,49 @@ var performLocationSlice = createSlice({
20625
20652
  read_performing_location: _objectSpread2({}, defaultState.Info),
20626
20653
  read_performing_location_status: _objectSpread2({}, defaultState.Info)
20627
20654
  },
20628
- extraReducers: (_extraReducers$o = {}, _defineProperty(_extraReducers$o, SOURCELOCATIONTYPE.fulfilled, function (state, action) {
20655
+ extraReducers: (_extraReducers$q = {}, _defineProperty(_extraReducers$q, SOURCELOCATIONTYPE.fulfilled, function (state, action) {
20629
20656
  state.source_location_type.loading = false, state.source_location_type.error = false, state.source_location_type = action.payload;
20630
- }), _defineProperty(_extraReducers$o, SOURCELOCATIONTYPE.pending, function (state, action) {
20657
+ }), _defineProperty(_extraReducers$q, SOURCELOCATIONTYPE.pending, function (state, action) {
20631
20658
  state.source_location_type.loading = true, state.source_location_type.error = false, state.source_location_type.loading = true;
20632
- }), _defineProperty(_extraReducers$o, SOURCELOCATIONTYPE.rejected, function (state, action) {
20659
+ }), _defineProperty(_extraReducers$q, SOURCELOCATIONTYPE.rejected, function (state, action) {
20633
20660
  state.source_location_type.loading = false, state.source_location_type.error = true, state.source_location_type = action.payload;
20634
- }), _defineProperty(_extraReducers$o, ORDERINGFACILITY.fulfilled, function (state, action) {
20661
+ }), _defineProperty(_extraReducers$q, ORDERINGFACILITY.fulfilled, function (state, action) {
20635
20662
  state.order_facility.loading = false, state.order_facility.error = false, state.order_facility = action.payload;
20636
- }), _defineProperty(_extraReducers$o, ORDERINGFACILITY.pending, function (state, action) {
20663
+ }), _defineProperty(_extraReducers$q, ORDERINGFACILITY.pending, function (state, action) {
20637
20664
  state.order_facility.loading = true, state.order_facility.error = false, state.order_facility.loading = true;
20638
- }), _defineProperty(_extraReducers$o, ORDERINGFACILITY.rejected, function (state, action) {
20665
+ }), _defineProperty(_extraReducers$q, ORDERINGFACILITY.rejected, function (state, action) {
20639
20666
  state.order_facility.loading = false, state.order_facility.error = true, state.order_facility = action.payload;
20640
- }), _defineProperty(_extraReducers$o, PERFORMINGDETAILS.fulfilled, function (state, action) {
20667
+ }), _defineProperty(_extraReducers$q, PERFORMINGDETAILS.fulfilled, function (state, action) {
20641
20668
  state.performing_details.loading = false, state.performing_details.error = false, state.performing_details = action.payload;
20642
- }), _defineProperty(_extraReducers$o, PERFORMINGDETAILS.pending, function (state, action) {
20669
+ }), _defineProperty(_extraReducers$q, PERFORMINGDETAILS.pending, function (state, action) {
20643
20670
  state.performing_details.loading = true, state.performing_details.error = false, state.performing_details.loading = true;
20644
- }), _defineProperty(_extraReducers$o, PERFORMINGDETAILS.rejected, function (state, action) {
20671
+ }), _defineProperty(_extraReducers$q, PERFORMINGDETAILS.rejected, function (state, action) {
20645
20672
  state.performing_details.loading = false, state.performing_details.error = true, state.performing_details = action.payload;
20646
- }), _defineProperty(_extraReducers$o, SOURCELOCATION.fulfilled, function (state, action) {
20673
+ }), _defineProperty(_extraReducers$q, SOURCELOCATION.fulfilled, function (state, action) {
20647
20674
  state.source_location.loading = false, state.source_location.error = false, state.source_location = action.payload;
20648
- }), _defineProperty(_extraReducers$o, SOURCELOCATION.pending, function (state, action) {
20675
+ }), _defineProperty(_extraReducers$q, SOURCELOCATION.pending, function (state, action) {
20649
20676
  state.source_location.loading = true, state.source_location.error = false, state.source_location.loading = true;
20650
- }), _defineProperty(_extraReducers$o, SOURCELOCATION.rejected, function (state, action) {
20677
+ }), _defineProperty(_extraReducers$q, SOURCELOCATION.rejected, function (state, action) {
20651
20678
  state.source_location.loading = false, state.source_location.error = true, state.source_location = action.payload;
20652
- }), _defineProperty(_extraReducers$o, UPSERT_PERFORMINGLOCATION.fulfilled, function (state, action) {
20679
+ }), _defineProperty(_extraReducers$q, UPSERT_PERFORMINGLOCATION.fulfilled, function (state, action) {
20653
20680
  state.save_performing_location.loading = false, state.save_performing_location.error = false, state.save_performing_location = action.payload;
20654
- }), _defineProperty(_extraReducers$o, UPSERT_PERFORMINGLOCATION.pending, function (state, action) {
20681
+ }), _defineProperty(_extraReducers$q, UPSERT_PERFORMINGLOCATION.pending, function (state, action) {
20655
20682
  state.save_performing_location.loading = true, state.save_performing_location.error = false, state.save_performing_location.loading = true;
20656
- }), _defineProperty(_extraReducers$o, UPSERT_PERFORMINGLOCATION.rejected, function (state, action) {
20683
+ }), _defineProperty(_extraReducers$q, UPSERT_PERFORMINGLOCATION.rejected, function (state, action) {
20657
20684
  state.save_performing_location.loading = false, state.save_performing_location.error = true, state.save_performing_location = action.payload;
20658
- }), _defineProperty(_extraReducers$o, READ_PERFORMINGLOCATION.fulfilled, function (state, action) {
20685
+ }), _defineProperty(_extraReducers$q, READ_PERFORMINGLOCATION.fulfilled, function (state, action) {
20659
20686
  state.read_performing_location.loading = false, state.read_performing_location.error = false, state.read_performing_location = action.payload;
20660
- }), _defineProperty(_extraReducers$o, READ_PERFORMINGLOCATION.pending, function (state, action) {
20687
+ }), _defineProperty(_extraReducers$q, READ_PERFORMINGLOCATION.pending, function (state, action) {
20661
20688
  state.read_performing_location.loading = true, state.read_performing_location.error = false, state.read_performing_location.loading = true;
20662
- }), _defineProperty(_extraReducers$o, READ_PERFORMINGLOCATION.rejected, function (state, action) {
20689
+ }), _defineProperty(_extraReducers$q, READ_PERFORMINGLOCATION.rejected, function (state, action) {
20663
20690
  state.read_performing_location.loading = false, state.read_performing_location.error = true, state.read_performing_location = action.payload;
20664
- }), _defineProperty(_extraReducers$o, STATUS_PERFORMINGLOCATION.fulfilled, function (state, action) {
20691
+ }), _defineProperty(_extraReducers$q, STATUS_PERFORMINGLOCATION.fulfilled, function (state, action) {
20665
20692
  state.read_performing_location_status.loading = false, state.read_performing_location_status.error = false, state.read_performing_location_status = action.payload;
20666
- }), _defineProperty(_extraReducers$o, STATUS_PERFORMINGLOCATION.pending, function (state, action) {
20693
+ }), _defineProperty(_extraReducers$q, STATUS_PERFORMINGLOCATION.pending, function (state, action) {
20667
20694
  state.read_performing_location_status.loading = true, state.read_performing_location_status.error = false, state.read_performing_location_status.loading = true;
20668
- }), _defineProperty(_extraReducers$o, STATUS_PERFORMINGLOCATION.rejected, function (state, action) {
20695
+ }), _defineProperty(_extraReducers$q, STATUS_PERFORMINGLOCATION.rejected, function (state, action) {
20669
20696
  state.read_performing_location_status.loading = false, state.read_performing_location_status.error = true, state.read_performing_location_status = action.payload;
20670
- }), _extraReducers$o)
20697
+ }), _extraReducers$q)
20671
20698
  });
20672
20699
  var performLocationActions = {
20673
20700
  SOURCELOCATIONTYPE: SOURCELOCATIONTYPE,
@@ -21327,7 +21354,7 @@ var generateSpecificSlots = function generateSpecificSlots(data) {
21327
21354
  return arr;
21328
21355
  };
21329
21356
 
21330
- var _extraReducers$n;
21357
+ var _extraReducers$p;
21331
21358
  var ROLE_TYPE = createAsyncThunk("scheduleManagementApiSlice/roleTpe", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
21332
21359
  var _ref2,
21333
21360
  rejectWithValue,
@@ -21722,55 +21749,55 @@ var scheduleManagementSlice = createSlice({
21722
21749
  block_schedule_partial: _objectSpread2({}, defaultState.List),
21723
21750
  release_slots: _objectSpread2({}, defaultState.List)
21724
21751
  },
21725
- extraReducers: (_extraReducers$n = {}, _defineProperty(_extraReducers$n, ROLE_TYPE.fulfilled, function (state, action) {
21752
+ extraReducers: (_extraReducers$p = {}, _defineProperty(_extraReducers$p, ROLE_TYPE.fulfilled, function (state, action) {
21726
21753
  state.role_type.loading = false, state.role_type.error = false, state.role_type = action.payload;
21727
- }), _defineProperty(_extraReducers$n, ROLE_TYPE.pending, function (state, action) {
21754
+ }), _defineProperty(_extraReducers$p, ROLE_TYPE.pending, function (state, action) {
21728
21755
  state.role_type.loading = true, state.role_type.error = false, state.role_type.loading = true;
21729
- }), _defineProperty(_extraReducers$n, ROLE_TYPE.rejected, function (state, action) {
21756
+ }), _defineProperty(_extraReducers$p, ROLE_TYPE.rejected, function (state, action) {
21730
21757
  state.role_type.loading = false, state.role_type.error = true, state.role_type = action.payload;
21731
- }), _defineProperty(_extraReducers$n, ALL_PRACTITIONER.fulfilled, function (state, action) {
21758
+ }), _defineProperty(_extraReducers$p, ALL_PRACTITIONER.fulfilled, function (state, action) {
21732
21759
  state.all_practitioner.loading = false, state.all_practitioner.error = false, state.all_practitioner = action.payload;
21733
- }), _defineProperty(_extraReducers$n, ALL_PRACTITIONER.pending, function (state, action) {
21760
+ }), _defineProperty(_extraReducers$p, ALL_PRACTITIONER.pending, function (state, action) {
21734
21761
  state.all_practitioner.loading = true, state.all_practitioner.error = false, state.all_practitioner.loading = true;
21735
- }), _defineProperty(_extraReducers$n, ALL_PRACTITIONER.rejected, function (state, action) {
21762
+ }), _defineProperty(_extraReducers$p, ALL_PRACTITIONER.rejected, function (state, action) {
21736
21763
  state.all_practitioner.loading = false, state.all_practitioner.error = true, state.all_practitioner = action.payload;
21737
- }), _defineProperty(_extraReducers$n, BLOCK_RELEASE_REASON.fulfilled, function (state, action) {
21764
+ }), _defineProperty(_extraReducers$p, BLOCK_RELEASE_REASON.fulfilled, function (state, action) {
21738
21765
  state.block_release_reason.loading = false, state.block_release_reason.error = false, state.block_release_reason = action.payload;
21739
- }), _defineProperty(_extraReducers$n, BLOCK_RELEASE_REASON.pending, function (state, action) {
21766
+ }), _defineProperty(_extraReducers$p, BLOCK_RELEASE_REASON.pending, function (state, action) {
21740
21767
  state.block_release_reason.loading = true, state.block_release_reason.error = false, state.block_release_reason.loading = true;
21741
- }), _defineProperty(_extraReducers$n, BLOCK_RELEASE_REASON.rejected, function (state, action) {
21768
+ }), _defineProperty(_extraReducers$p, BLOCK_RELEASE_REASON.rejected, function (state, action) {
21742
21769
  state.block_release_reason.loading = false, state.block_release_reason.error = true, state.block_release_reason = action.payload;
21743
- }), _defineProperty(_extraReducers$n, PRACTITIONER_SLOTS.fulfilled, function (state, action) {
21770
+ }), _defineProperty(_extraReducers$p, PRACTITIONER_SLOTS.fulfilled, function (state, action) {
21744
21771
  state.practitioner_slots.loading = false, state.practitioner_slots.error = false, state.practitioner_slots = action.payload;
21745
- }), _defineProperty(_extraReducers$n, PRACTITIONER_SLOTS.pending, function (state, action) {
21772
+ }), _defineProperty(_extraReducers$p, PRACTITIONER_SLOTS.pending, function (state, action) {
21746
21773
  state.practitioner_slots.loading = true, state.practitioner_slots.error = false, state.practitioner_slots.loading = true;
21747
- }), _defineProperty(_extraReducers$n, PRACTITIONER_SLOTS.rejected, function (state, action) {
21774
+ }), _defineProperty(_extraReducers$p, PRACTITIONER_SLOTS.rejected, function (state, action) {
21748
21775
  state.practitioner_slots.loading = false, state.practitioner_slots.error = true, state.practitioner_slots = action.payload;
21749
- }), _defineProperty(_extraReducers$n, RELEASE_SLOTS.fulfilled, function (state, action) {
21776
+ }), _defineProperty(_extraReducers$p, RELEASE_SLOTS.fulfilled, function (state, action) {
21750
21777
  state.release_slots.loading = false, state.release_slots.error = false, state.release_slots = action.payload;
21751
- }), _defineProperty(_extraReducers$n, RELEASE_SLOTS.pending, function (state, action) {
21778
+ }), _defineProperty(_extraReducers$p, RELEASE_SLOTS.pending, function (state, action) {
21752
21779
  state.release_slots.loading = true, state.release_slots.error = false, state.release_slots.loading = true;
21753
- }), _defineProperty(_extraReducers$n, RELEASE_SLOTS.rejected, function (state, action) {
21780
+ }), _defineProperty(_extraReducers$p, RELEASE_SLOTS.rejected, function (state, action) {
21754
21781
  state.release_slots.loading = false, state.release_slots.error = true, state.release_slots = action.payload;
21755
- }), _defineProperty(_extraReducers$n, RELEASE_SCHEDULE.fulfilled, function (state, action) {
21782
+ }), _defineProperty(_extraReducers$p, RELEASE_SCHEDULE.fulfilled, function (state, action) {
21756
21783
  state.release_schedule.loading = false, state.release_schedule.error = false, state.release_schedule = action.payload;
21757
- }), _defineProperty(_extraReducers$n, RELEASE_SCHEDULE.pending, function (state, action) {
21784
+ }), _defineProperty(_extraReducers$p, RELEASE_SCHEDULE.pending, function (state, action) {
21758
21785
  state.release_schedule.loading = true, state.release_schedule.error = false, state.release_schedule.loading = true;
21759
- }), _defineProperty(_extraReducers$n, RELEASE_SCHEDULE.rejected, function (state, action) {
21786
+ }), _defineProperty(_extraReducers$p, RELEASE_SCHEDULE.rejected, function (state, action) {
21760
21787
  state.release_schedule.loading = false, state.release_schedule.error = true, state.release_schedule = action.payload;
21761
- }), _defineProperty(_extraReducers$n, BLOCK_SCHEDULE.fulfilled, function (state, action) {
21788
+ }), _defineProperty(_extraReducers$p, BLOCK_SCHEDULE.fulfilled, function (state, action) {
21762
21789
  state.block_schedule.loading = false, state.block_schedule.error = false, state.block_schedule = action.payload;
21763
- }), _defineProperty(_extraReducers$n, BLOCK_SCHEDULE.pending, function (state, action) {
21790
+ }), _defineProperty(_extraReducers$p, BLOCK_SCHEDULE.pending, function (state, action) {
21764
21791
  state.block_schedule.loading = true, state.block_schedule.error = false, state.block_schedule.loading = true;
21765
- }), _defineProperty(_extraReducers$n, BLOCK_SCHEDULE.rejected, function (state, action) {
21792
+ }), _defineProperty(_extraReducers$p, BLOCK_SCHEDULE.rejected, function (state, action) {
21766
21793
  state.block_schedule.loading = false, state.block_schedule.error = true, state.block_schedule = action.payload;
21767
- }), _defineProperty(_extraReducers$n, BLOCK_SCHEDULE_PARTIAL.fulfilled, function (state, action) {
21794
+ }), _defineProperty(_extraReducers$p, BLOCK_SCHEDULE_PARTIAL.fulfilled, function (state, action) {
21768
21795
  state.block_schedule_partial.loading = false, state.block_schedule_partial.error = false, state.block_schedule_partial = action.payload;
21769
- }), _defineProperty(_extraReducers$n, BLOCK_SCHEDULE_PARTIAL.pending, function (state, action) {
21796
+ }), _defineProperty(_extraReducers$p, BLOCK_SCHEDULE_PARTIAL.pending, function (state, action) {
21770
21797
  state.block_schedule_partial.loading = true, state.block_schedule_partial.error = false, state.block_schedule_partial.loading = true;
21771
- }), _defineProperty(_extraReducers$n, BLOCK_SCHEDULE_PARTIAL.rejected, function (state, action) {
21798
+ }), _defineProperty(_extraReducers$p, BLOCK_SCHEDULE_PARTIAL.rejected, function (state, action) {
21772
21799
  state.block_schedule_partial.loading = false, state.block_schedule_partial.error = true, state.block_schedule_partial = action.payload;
21773
- }), _extraReducers$n)
21800
+ }), _extraReducers$p)
21774
21801
  });
21775
21802
  var scheduleManagementActions = {
21776
21803
  ROLE_TYPE: ROLE_TYPE,
@@ -22557,7 +22584,7 @@ var generateReadJson$2 = {
22557
22584
  }
22558
22585
  };
22559
22586
 
22560
- var _extraReducers$m;
22587
+ var _extraReducers$o;
22561
22588
  var ORGANIZATION_TREE_READ = createAsyncThunk("organizationSlice/organizationTreeList", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
22562
22589
  var payload,
22563
22590
  _ref2,
@@ -23919,163 +23946,163 @@ var organizationSlice = createSlice({
23919
23946
  getOrganization: _objectSpread2({}, defaultState.List),
23920
23947
  specialtyDrop: _objectSpread2({}, defaultState.List)
23921
23948
  },
23922
- extraReducers: (_extraReducers$m = {}, _defineProperty(_extraReducers$m, ORGANIZATION_TREE_READ.fulfilled, function (state, action) {
23949
+ extraReducers: (_extraReducers$o = {}, _defineProperty(_extraReducers$o, ORGANIZATION_TREE_READ.fulfilled, function (state, action) {
23923
23950
  state.organizationTreeList.loading = false, state.organizationTreeList.error = false, state.organizationTreeList = action.payload;
23924
- }), _defineProperty(_extraReducers$m, ORGANIZATION_TREE_READ.pending, function (state, action) {
23951
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_TREE_READ.pending, function (state, action) {
23925
23952
  state.organizationTreeList.loading = true, state.organizationTreeList.error = false, state.organizationTreeList.loading = true;
23926
- }), _defineProperty(_extraReducers$m, ORGANIZATION_TREE_READ.rejected, function (state, action) {
23953
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_TREE_READ.rejected, function (state, action) {
23927
23954
  state.organizationTreeList.loading = false, state.organizationTreeList.error = true, state.organizationTreeList = action.payload;
23928
- }), _defineProperty(_extraReducers$m, ORGANIZATION_READ_DETAILS.fulfilled, function (state, action) {
23955
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_READ_DETAILS.fulfilled, function (state, action) {
23929
23956
  state.organizationReadDetails.loading = false, state.organizationReadDetails.error = false, state.organizationReadDetails = action.payload;
23930
- }), _defineProperty(_extraReducers$m, ORGANIZATION_READ_DETAILS.pending, function (state, action) {
23957
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_READ_DETAILS.pending, function (state, action) {
23931
23958
  state.organizationReadDetails.loading = true, state.organizationReadDetails.error = false, state.organizationReadDetails.loading = true;
23932
- }), _defineProperty(_extraReducers$m, ORGANIZATION_READ_DETAILS.rejected, function (state, action) {
23959
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_READ_DETAILS.rejected, function (state, action) {
23933
23960
  state.organizationReadDetails.loading = false, state.organizationReadDetails.error = true, state.organizationReadDetails = action.payload;
23934
- }), _defineProperty(_extraReducers$m, ORGANIZATION_READ_STATUS_UPSERT.fulfilled, function (state, action) {
23961
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_READ_STATUS_UPSERT.fulfilled, function (state, action) {
23935
23962
  state.organizationReadStatusUpsert.loading = false, state.organizationReadStatusUpsert.error = false, state.organizationReadStatusUpsert = action.payload;
23936
- }), _defineProperty(_extraReducers$m, ORGANIZATION_READ_STATUS_UPSERT.pending, function (state, action) {
23963
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_READ_STATUS_UPSERT.pending, function (state, action) {
23937
23964
  state.organizationReadStatusUpsert.loading = true, state.organizationReadStatusUpsert.error = false, state.organizationReadStatusUpsert.loading = true;
23938
- }), _defineProperty(_extraReducers$m, ORGANIZATION_READ_STATUS_UPSERT.rejected, function (state, action) {
23965
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_READ_STATUS_UPSERT.rejected, function (state, action) {
23939
23966
  state.organizationReadStatusUpsert.loading = false, state.organizationReadStatusUpsert.error = true, state.organizationReadStatusUpsert = action.payload;
23940
- }), _defineProperty(_extraReducers$m, ORGANIZATION_ENTITY_TYPE.fulfilled, function (state, action) {
23967
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_ENTITY_TYPE.fulfilled, function (state, action) {
23941
23968
  state.organizationEntityType.loading = false, state.organizationEntityType.error = false, state.organizationEntityType = action.payload;
23942
- }), _defineProperty(_extraReducers$m, ORGANIZATION_ENTITY_TYPE.pending, function (state, action) {
23969
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_ENTITY_TYPE.pending, function (state, action) {
23943
23970
  state.organizationEntityType.loading = true, state.organizationEntityType.error = false, state.organizationEntityType.loading = true;
23944
- }), _defineProperty(_extraReducers$m, ORGANIZATION_ENTITY_TYPE.rejected, function (state, action) {
23971
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_ENTITY_TYPE.rejected, function (state, action) {
23945
23972
  state.organizationEntityType.loading = false, state.organizationEntityType.error = true, state.organizationEntityType = action.payload;
23946
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_PARENT_ENTITY.fulfilled, function (state, action) {
23973
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_PARENT_ENTITY.fulfilled, function (state, action) {
23947
23974
  state.orgParEntity.loading = false, state.orgParEntity.error = false, state.orgParEntity = action.payload;
23948
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_PARENT_ENTITY.pending, function (state, action) {
23975
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_PARENT_ENTITY.pending, function (state, action) {
23949
23976
  state.orgParEntity.loading = true, state.orgParEntity.error = false, state.orgParEntity.loading = true;
23950
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_PARENT_ENTITY.rejected, function (state, action) {
23977
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_PARENT_ENTITY.rejected, function (state, action) {
23951
23978
  state.orgParEntity.loading = false, state.orgParEntity.error = true, state.orgParEntity = action.payload;
23952
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_LEVEL_CARE.fulfilled, function (state, action) {
23979
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_LEVEL_CARE.fulfilled, function (state, action) {
23953
23980
  state.orgLevelCare.loading = false, state.orgLevelCare.error = false, state.orgLevelCare = action.payload;
23954
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_LEVEL_CARE.pending, function (state, action) {
23981
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_LEVEL_CARE.pending, function (state, action) {
23955
23982
  state.orgLevelCare.loading = true, state.orgLevelCare.error = false, state.orgLevelCare.loading = true;
23956
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_LEVEL_CARE.rejected, function (state, action) {
23983
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_LEVEL_CARE.rejected, function (state, action) {
23957
23984
  state.orgLevelCare.loading = false, state.orgLevelCare.error = true, state.orgLevelCare = action.payload;
23958
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_USE_IDENTIFICATION.fulfilled, function (state, action) {
23985
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_USE_IDENTIFICATION.fulfilled, function (state, action) {
23959
23986
  state.orgUseIdenifi.loading = false, state.orgUseIdenifi.error = false, state.orgUseIdenifi = action.payload;
23960
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_USE_IDENTIFICATION.pending, function (state, action) {
23987
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_USE_IDENTIFICATION.pending, function (state, action) {
23961
23988
  state.orgUseIdenifi.loading = true, state.orgUseIdenifi.error = false, state.orgUseIdenifi.loading = true;
23962
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_USE_IDENTIFICATION.rejected, function (state, action) {
23989
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_USE_IDENTIFICATION.rejected, function (state, action) {
23963
23990
  state.orgUseIdenifi.loading = false, state.orgUseIdenifi.error = true, state.orgUseIdenifi = action.payload;
23964
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_IDTYPE_IDENTIF.fulfilled, function (state, action) {
23991
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_IDTYPE_IDENTIF.fulfilled, function (state, action) {
23965
23992
  state.orgIdTypeIdenifi.loading = false, state.orgIdTypeIdenifi.error = false, state.orgIdTypeIdenifi = action.payload;
23966
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_IDTYPE_IDENTIF.pending, function (state, action) {
23993
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_IDTYPE_IDENTIF.pending, function (state, action) {
23967
23994
  state.orgIdTypeIdenifi.loading = true, state.orgIdTypeIdenifi.error = false, state.orgIdTypeIdenifi.loading = true;
23968
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_IDTYPE_IDENTIF.rejected, function (state, action) {
23995
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_IDTYPE_IDENTIF.rejected, function (state, action) {
23969
23996
  state.orgIdTypeIdenifi.loading = false, state.orgIdTypeIdenifi.error = true, state.orgIdTypeIdenifi = action.payload;
23970
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_ALIAS_TYPE.fulfilled, function (state, action) {
23997
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_ALIAS_TYPE.fulfilled, function (state, action) {
23971
23998
  state.aliastype.loading = false, state.aliastype.error = false, state.aliastype = action.payload;
23972
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_ALIAS_TYPE.pending, function (state, action) {
23999
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_ALIAS_TYPE.pending, function (state, action) {
23973
24000
  state.aliastype.loading = true, state.aliastype.error = false, state.aliastype.loading = true;
23974
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_ALIAS_TYPE.rejected, function (state, action) {
24001
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_ALIAS_TYPE.rejected, function (state, action) {
23975
24002
  state.aliastype.loading = false, state.aliastype.error = true, state.aliastype = action.payload;
23976
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_ADD_TYPE.fulfilled, function (state, action) {
24003
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_ADD_TYPE.fulfilled, function (state, action) {
23977
24004
  state.orgAddType.loading = false, state.orgAddType.error = false, state.orgAddType = action.payload;
23978
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_ADD_TYPE.pending, function (state, action) {
24005
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_ADD_TYPE.pending, function (state, action) {
23979
24006
  state.orgAddType.loading = true, state.orgAddType.error = false, state.orgAddType.loading = true;
23980
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_ADD_TYPE.rejected, function (state, action) {
24007
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_ADD_TYPE.rejected, function (state, action) {
23981
24008
  state.orgAddType.loading = false, state.orgAddType.error = true, state.orgAddType = action.payload;
23982
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_ADD_USE.fulfilled, function (state, action) {
24009
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_ADD_USE.fulfilled, function (state, action) {
23983
24010
  state.orgAddUSE.loading = false, state.orgAddUSE.error = false, state.orgAddUSE = action.payload;
23984
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_ADD_USE.pending, function (state, action) {
24011
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_ADD_USE.pending, function (state, action) {
23985
24012
  state.orgAddUSE.loading = true, state.orgAddUSE.error = false, state.orgAddUSE.loading = true;
23986
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_ADD_USE.rejected, function (state, action) {
24013
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_ADD_USE.rejected, function (state, action) {
23987
24014
  state.orgAddUSE.loading = false, state.orgAddUSE.error = true, state.orgAddUSE = action.payload;
23988
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_ADD_City.fulfilled, function (state, action) {
24015
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_ADD_City.fulfilled, function (state, action) {
23989
24016
  state.orgAddCity.loading = false, state.orgAddCity.error = false, state.orgAddCity = action.payload;
23990
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_ADD_City.pending, function (state, action) {
24017
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_ADD_City.pending, function (state, action) {
23991
24018
  state.orgAddCity.loading = true, state.orgAddCity.error = false, state.orgAddCity.loading = true;
23992
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_ADD_City.rejected, function (state, action) {
24019
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_ADD_City.rejected, function (state, action) {
23993
24020
  state.orgAddCity.loading = false, state.orgAddCity.error = true, state.orgAddCity = action.payload;
23994
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_ADD_DISTRICT.fulfilled, function (state, action) {
24021
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_ADD_DISTRICT.fulfilled, function (state, action) {
23995
24022
  state.orgAddDISTRICT.loading = false, state.orgAddDISTRICT.error = false, state.orgAddDISTRICT = action.payload;
23996
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_ADD_DISTRICT.pending, function (state, action) {
24023
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_ADD_DISTRICT.pending, function (state, action) {
23997
24024
  state.orgAddDISTRICT.loading = true, state.orgAddDISTRICT.error = false, state.orgAddDISTRICT.loading = true;
23998
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_ADD_DISTRICT.rejected, function (state, action) {
24025
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_ADD_DISTRICT.rejected, function (state, action) {
23999
24026
  state.orgAddDISTRICT.loading = false, state.orgAddDISTRICT.error = true, state.orgAddDISTRICT = action.payload;
24000
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_AddSTATE.fulfilled, function (state, action) {
24027
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_AddSTATE.fulfilled, function (state, action) {
24001
24028
  state.orgAddSTATE.loading = false, state.orgAddSTATE.error = false, state.orgAddSTATE = action.payload;
24002
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_AddSTATE.pending, function (state, action) {
24029
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_AddSTATE.pending, function (state, action) {
24003
24030
  state.orgAddSTATE.loading = true, state.orgAddSTATE.error = false, state.orgAddSTATE.loading = true;
24004
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_AddSTATE.rejected, function (state, action) {
24031
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_AddSTATE.rejected, function (state, action) {
24005
24032
  state.orgAddSTATE.loading = false, state.orgAddSTATE.error = true, state.orgAddSTATE = action.payload;
24006
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_COUNTRY.fulfilled, function (state, action) {
24033
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_COUNTRY.fulfilled, function (state, action) {
24007
24034
  state.orgAddCOUNTRY.loading = false, state.orgAddCOUNTRY.error = false, state.orgAddCOUNTRY = action.payload;
24008
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_COUNTRY.pending, function (state, action) {
24035
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_COUNTRY.pending, function (state, action) {
24009
24036
  state.orgAddCOUNTRY.loading = true, state.orgAddCOUNTRY.error = false, state.orgAddCOUNTRY.loading = true;
24010
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_COUNTRY.rejected, function (state, action) {
24037
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_COUNTRY.rejected, function (state, action) {
24011
24038
  state.orgAddCOUNTRY.loading = false, state.orgAddCOUNTRY.error = true, state.orgAddCOUNTRY = action.payload;
24012
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_PINCODE.fulfilled, function (state, action) {
24039
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_PINCODE.fulfilled, function (state, action) {
24013
24040
  state.orgAddPINCODE.loading = false, state.orgAddPINCODE.error = false, state.orgAddPINCODE = action.payload;
24014
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_PINCODE.pending, function (state, action) {
24041
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_PINCODE.pending, function (state, action) {
24015
24042
  state.orgAddPINCODE.loading = true, state.orgAddPINCODE.error = false, state.orgAddPINCODE.loading = true;
24016
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_PINCODE.rejected, function (state, action) {
24043
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_PINCODE.rejected, function (state, action) {
24017
24044
  state.orgAddPINCODE.loading = false, state.orgAddPINCODE.error = true, state.orgAddPINCODE = action.payload;
24018
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_CONTACTDETAILMODE.fulfilled, function (state, action) {
24045
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_CONTACTDETAILMODE.fulfilled, function (state, action) {
24019
24046
  state.orgContactDetailMode.loading = false, state.orgContactDetailMode.error = false, state.orgContactDetailMode = action.payload;
24020
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_CONTACTDETAILMODE.pending, function (state, action) {
24047
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_CONTACTDETAILMODE.pending, function (state, action) {
24021
24048
  state.orgContactDetailMode.loading = true, state.orgContactDetailMode.error = false, state.orgContactDetailMode.loading = true;
24022
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_CONTACTDETAILMODE.rejected, function (state, action) {
24049
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_CONTACTDETAILMODE.rejected, function (state, action) {
24023
24050
  state.orgContactDetailMode.loading = false, state.orgContactDetailMode.error = true, state.orgContactDetailMode = action.payload;
24024
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_CONNTACTDETAILCODE.fulfilled, function (state, action) {
24051
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_CONNTACTDETAILCODE.fulfilled, function (state, action) {
24025
24052
  state.orgContactDetailCode.loading = false, state.orgContactDetailCode.error = false, state.orgContactDetailCode = action.payload;
24026
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_CONNTACTDETAILCODE.pending, function (state, action) {
24053
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_CONNTACTDETAILCODE.pending, function (state, action) {
24027
24054
  state.orgContactDetailCode.loading = true, state.orgContactDetailCode.error = false, state.orgContactDetailCode.loading = true;
24028
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_CONNTACTDETAILCODE.rejected, function (state, action) {
24055
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_CONNTACTDETAILCODE.rejected, function (state, action) {
24029
24056
  state.orgContactDetailCode.loading = false, state.orgContactDetailCode.error = true, state.orgContactDetailCode = action.payload;
24030
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_CONTACTDETAILUSE.fulfilled, function (state, action) {
24057
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_CONTACTDETAILUSE.fulfilled, function (state, action) {
24031
24058
  state.orgContactDetailUse.loading = false, state.orgContactDetailUse.error = false, state.orgContactDetailUse = action.payload;
24032
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_CONTACTDETAILUSE.pending, function (state, action) {
24059
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_CONTACTDETAILUSE.pending, function (state, action) {
24033
24060
  state.orgContactDetailUse.loading = true, state.orgContactDetailUse.error = false, state.orgContactDetailUse.loading = true;
24034
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_CONTACTDETAILUSE.rejected, function (state, action) {
24061
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_CONTACTDETAILUSE.rejected, function (state, action) {
24035
24062
  state.orgContactDetailUse.loading = false, state.orgContactDetailUse.error = true, state.orgContactDetailUse = action.payload;
24036
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_CONTACTDETAILPRIORITY.fulfilled, function (state, action) {
24063
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_CONTACTDETAILPRIORITY.fulfilled, function (state, action) {
24037
24064
  state.orgContactDetailPriority.loading = false, state.orgContactDetailPriority.error = false, state.orgContactDetailPriority = action.payload;
24038
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_CONTACTDETAILPRIORITY.pending, function (state, action) {
24065
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_CONTACTDETAILPRIORITY.pending, function (state, action) {
24039
24066
  state.orgContactDetailPriority.loading = true, state.orgContactDetailPriority.error = false, state.orgContactDetailPriority.loading = true;
24040
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_CONTACTDETAILPRIORITY.rejected, function (state, action) {
24067
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_CONTACTDETAILPRIORITY.rejected, function (state, action) {
24041
24068
  state.orgContactDetailPriority.loading = false, state.orgContactDetailPriority.error = true, state.orgContactDetailPriority = action.payload;
24042
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_CONTACT_PREFIX.fulfilled, function (state, action) {
24069
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_CONTACT_PREFIX.fulfilled, function (state, action) {
24043
24070
  state.orgNamePrefix.loading = false, state.orgNamePrefix.error = false, state.orgNamePrefix = action.payload;
24044
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_CONTACT_PREFIX.pending, function (state, action) {
24071
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_CONTACT_PREFIX.pending, function (state, action) {
24045
24072
  state.orgNamePrefix.loading = true, state.orgNamePrefix.error = false, state.orgNamePrefix.loading = true;
24046
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_CONTACT_PREFIX.rejected, function (state, action) {
24073
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_CONTACT_PREFIX.rejected, function (state, action) {
24047
24074
  state.orgNamePrefix.loading = false, state.orgNamePrefix.error = true, state.orgNamePrefix = action.payload;
24048
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_CONTACT_SUFFIX.fulfilled, function (state, action) {
24075
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_CONTACT_SUFFIX.fulfilled, function (state, action) {
24049
24076
  state.orgNameSuffix.loading = false, state.orgNameSuffix.error = false, state.orgNameSuffix = action.payload;
24050
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_CONTACT_SUFFIX.pending, function (state, action) {
24077
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_CONTACT_SUFFIX.pending, function (state, action) {
24051
24078
  state.orgNameSuffix.loading = true, state.orgNameSuffix.error = false, state.orgNameSuffix.loading = true;
24052
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_CONTACT_SUFFIX.rejected, function (state, action) {
24079
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_CONTACT_SUFFIX.rejected, function (state, action) {
24053
24080
  state.orgNameSuffix.loading = false, state.orgNameSuffix.error = true, state.orgNameSuffix = action.payload;
24054
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_CONTACT_DESI.fulfilled, function (state, action) {
24081
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_CONTACT_DESI.fulfilled, function (state, action) {
24055
24082
  state.positionDesi.loading = false, state.positionDesi.error = false, state.positionDesi = action.payload;
24056
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_CONTACT_DESI.pending, function (state, action) {
24083
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_CONTACT_DESI.pending, function (state, action) {
24057
24084
  state.positionDesi.loading = true, state.positionDesi.error = false, state.positionDesi.loading = true;
24058
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_CONTACT_DESI.rejected, function (state, action) {
24085
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_CONTACT_DESI.rejected, function (state, action) {
24059
24086
  state.positionDesi.loading = false, state.positionDesi.error = true, state.positionDesi = action.payload;
24060
- }), _defineProperty(_extraReducers$m, SET_ORGANIZATION.fulfilled, function (state, action) {
24087
+ }), _defineProperty(_extraReducers$o, SET_ORGANIZATION.fulfilled, function (state, action) {
24061
24088
  state.setOrganization.loading = false, state.setOrganization.error = false, state.setOrganization = action.payload;
24062
- }), _defineProperty(_extraReducers$m, SET_ORGANIZATION.pending, function (state, action) {
24089
+ }), _defineProperty(_extraReducers$o, SET_ORGANIZATION.pending, function (state, action) {
24063
24090
  state.setOrganization.loading = true, state.setOrganization.error = false, state.setOrganization.loading = true;
24064
- }), _defineProperty(_extraReducers$m, SET_ORGANIZATION.rejected, function (state, action) {
24091
+ }), _defineProperty(_extraReducers$o, SET_ORGANIZATION.rejected, function (state, action) {
24065
24092
  state.setOrganization.loading = false, state.setOrganization.error = true, state.setOrganization = action.payload;
24066
- }), _defineProperty(_extraReducers$m, ORG_FROM_GET.fulfilled, function (state, action) {
24093
+ }), _defineProperty(_extraReducers$o, ORG_FROM_GET.fulfilled, function (state, action) {
24067
24094
  state.getOrganization.loading = false, state.getOrganization.error = false, state.getOrganization = action.payload;
24068
- }), _defineProperty(_extraReducers$m, ORG_FROM_GET.pending, function (state, action) {
24095
+ }), _defineProperty(_extraReducers$o, ORG_FROM_GET.pending, function (state, action) {
24069
24096
  state.getOrganization.loading = true, state.getOrganization.error = false, state.getOrganization.loading = true;
24070
- }), _defineProperty(_extraReducers$m, ORG_FROM_GET.rejected, function (state, action) {
24097
+ }), _defineProperty(_extraReducers$o, ORG_FROM_GET.rejected, function (state, action) {
24071
24098
  state.getOrganization.loading = false, state.getOrganization.error = true, state.getOrganization = action.payload;
24072
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_SPECIALTY_DROP.fulfilled, function (state, action) {
24099
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_SPECIALTY_DROP.fulfilled, function (state, action) {
24073
24100
  state.specialtyDrop.loading = false, state.specialtyDrop.error = false, state.specialtyDrop = action.payload;
24074
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_SPECIALTY_DROP.pending, function (state, action) {
24101
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_SPECIALTY_DROP.pending, function (state, action) {
24075
24102
  state.specialtyDrop.loading = true, state.specialtyDrop.error = false, state.specialtyDrop.loading = true;
24076
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_SPECIALTY_DROP.rejected, function (state, action) {
24103
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_SPECIALTY_DROP.rejected, function (state, action) {
24077
24104
  state.specialtyDrop.loading = false, state.specialtyDrop.error = true, state.specialtyDrop = action.payload;
24078
- }), _extraReducers$m)
24105
+ }), _extraReducers$o)
24079
24106
  });
24080
24107
  var organizationActions = {
24081
24108
  ORGANIZATION_TREE_READ: ORGANIZATION_TREE_READ,
@@ -24491,7 +24518,7 @@ var masterQueryHealthCareService = {
24491
24518
  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 }"
24492
24519
  };
24493
24520
 
24494
- var _extraReducers$l;
24521
+ var _extraReducers$n;
24495
24522
  //CARE TYPE READ
24496
24523
 
24497
24524
  var CARE_TYPE_READ = createAsyncThunk("organizationConfigApiSlice/careTypeRead", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
@@ -25467,109 +25494,109 @@ var organizationConfigSlice = createSlice({
25467
25494
  speciality_master_parent_speciality: _objectSpread2({}, defaultState.Info),
25468
25495
  speciality_edit: _objectSpread2({}, defaultState.List)
25469
25496
  },
25470
- extraReducers: (_extraReducers$l = {}, _defineProperty(_extraReducers$l, SPECIALITY_MASTER_PARENT_SPECIALITY.fulfilled, function (state, action) {
25497
+ extraReducers: (_extraReducers$n = {}, _defineProperty(_extraReducers$n, SPECIALITY_MASTER_PARENT_SPECIALITY.fulfilled, function (state, action) {
25471
25498
  state.speciality_master_parent_speciality.loading = false, state.speciality_master_parent_speciality.error = false, state.speciality_master_parent_speciality = action.payload;
25472
- }), _defineProperty(_extraReducers$l, SPECIALITY_MASTER_PARENT_SPECIALITY.pending, function (state, action) {
25499
+ }), _defineProperty(_extraReducers$n, SPECIALITY_MASTER_PARENT_SPECIALITY.pending, function (state, action) {
25473
25500
  state.speciality_master_parent_speciality.loading = true, state.speciality_master_parent_speciality.error = false, state.speciality_master_parent_speciality.loading = true;
25474
- }), _defineProperty(_extraReducers$l, SPECIALITY_MASTER_PARENT_SPECIALITY.rejected, function (state, action) {
25501
+ }), _defineProperty(_extraReducers$n, SPECIALITY_MASTER_PARENT_SPECIALITY.rejected, function (state, action) {
25475
25502
  state.speciality_master_parent_speciality.loading = false, state.speciality_master_parent_speciality.error = true, state.speciality_master_parent_speciality = action.payload;
25476
- }), _defineProperty(_extraReducers$l, SPECIALITY_MASTER_FACILITY.fulfilled, function (state, action) {
25503
+ }), _defineProperty(_extraReducers$n, SPECIALITY_MASTER_FACILITY.fulfilled, function (state, action) {
25477
25504
  state.speciality_master_facility.loading = false, state.speciality_master_facility.error = false, state.speciality_master_facility = action.payload;
25478
- }), _defineProperty(_extraReducers$l, SPECIALITY_MASTER_FACILITY.pending, function (state, action) {
25505
+ }), _defineProperty(_extraReducers$n, SPECIALITY_MASTER_FACILITY.pending, function (state, action) {
25479
25506
  state.speciality_master_facility.loading = true, state.speciality_master_facility.error = false, state.speciality_master_facility.loading = true;
25480
- }), _defineProperty(_extraReducers$l, SPECIALITY_MASTER_FACILITY.rejected, function (state, action) {
25507
+ }), _defineProperty(_extraReducers$n, SPECIALITY_MASTER_FACILITY.rejected, function (state, action) {
25481
25508
  state.speciality_master_facility.loading = false, state.speciality_master_facility.error = true, state.speciality_master_facility = action.payload;
25482
- }), _defineProperty(_extraReducers$l, CARE_TYPE_READ.fulfilled, function (state, action) {
25509
+ }), _defineProperty(_extraReducers$n, CARE_TYPE_READ.fulfilled, function (state, action) {
25483
25510
  state.care_type_list.loading = false, state.care_type_list.error = false, state.care_type_list = action.payload;
25484
- }), _defineProperty(_extraReducers$l, CARE_TYPE_READ.pending, function (state, action) {
25511
+ }), _defineProperty(_extraReducers$n, CARE_TYPE_READ.pending, function (state, action) {
25485
25512
  state.care_type_list.loading = true, state.care_type_list.error = false, state.care_type_list.loading = true;
25486
- }), _defineProperty(_extraReducers$l, CARE_TYPE_READ.rejected, function (state, action) {
25513
+ }), _defineProperty(_extraReducers$n, CARE_TYPE_READ.rejected, function (state, action) {
25487
25514
  state.care_type_list.loading = false, state.care_type_list.error = true, state.care_type_list = action.payload;
25488
- }), _defineProperty(_extraReducers$l, LEVEL_OF_CARE_READ.fulfilled, function (state, action) {
25515
+ }), _defineProperty(_extraReducers$n, LEVEL_OF_CARE_READ.fulfilled, function (state, action) {
25489
25516
  state.level_of_care_list.loading = false, state.level_of_care_list.error = false, state.level_of_care_list = action.payload;
25490
- }), _defineProperty(_extraReducers$l, LEVEL_OF_CARE_READ.pending, function (state, action) {
25517
+ }), _defineProperty(_extraReducers$n, LEVEL_OF_CARE_READ.pending, function (state, action) {
25491
25518
  state.level_of_care_list.loading = true, state.level_of_care_list.error = false, state.level_of_care_list.loading = true;
25492
- }), _defineProperty(_extraReducers$l, LEVEL_OF_CARE_READ.rejected, function (state, action) {
25519
+ }), _defineProperty(_extraReducers$n, LEVEL_OF_CARE_READ.rejected, function (state, action) {
25493
25520
  state.level_of_care_list.loading = false, state.level_of_care_list.error = true, state.level_of_care_list = action.payload;
25494
- }), _defineProperty(_extraReducers$l, LEVEL_OF_CARE_STATUS_CHANGE.fulfilled, function (state, action) {
25521
+ }), _defineProperty(_extraReducers$n, LEVEL_OF_CARE_STATUS_CHANGE.fulfilled, function (state, action) {
25495
25522
  state.level_of_care_status_change.loading = false, state.level_of_care_status_change.error = false, state.level_of_care_status_change = action.payload;
25496
- }), _defineProperty(_extraReducers$l, LEVEL_OF_CARE_STATUS_CHANGE.pending, function (state, action) {
25523
+ }), _defineProperty(_extraReducers$n, LEVEL_OF_CARE_STATUS_CHANGE.pending, function (state, action) {
25497
25524
  state.level_of_care_status_change.loading = true, state.level_of_care_status_change.error = false, state.level_of_care_status_change.loading = true;
25498
- }), _defineProperty(_extraReducers$l, LEVEL_OF_CARE_STATUS_CHANGE.rejected, function (state, action) {
25525
+ }), _defineProperty(_extraReducers$n, LEVEL_OF_CARE_STATUS_CHANGE.rejected, function (state, action) {
25499
25526
  state.level_of_care_status_change.loading = false, state.level_of_care_status_change.error = true, state.level_of_care_status_change = action.payload;
25500
- }), _defineProperty(_extraReducers$l, LEVEL_OF_CARE_INSERT.fulfilled, function (state, action) {
25527
+ }), _defineProperty(_extraReducers$n, LEVEL_OF_CARE_INSERT.fulfilled, function (state, action) {
25501
25528
  state.level_of_care_insert.loading = false, state.level_of_care_insert.error = false, state.level_of_care_insert = action.payload;
25502
- }), _defineProperty(_extraReducers$l, LEVEL_OF_CARE_INSERT.pending, function (state, action) {
25529
+ }), _defineProperty(_extraReducers$n, LEVEL_OF_CARE_INSERT.pending, function (state, action) {
25503
25530
  state.level_of_care_insert.loading = true, state.level_of_care_insert.error = false, state.level_of_care_insert.loading = true;
25504
- }), _defineProperty(_extraReducers$l, LEVEL_OF_CARE_INSERT.rejected, function (state, action) {
25531
+ }), _defineProperty(_extraReducers$n, LEVEL_OF_CARE_INSERT.rejected, function (state, action) {
25505
25532
  state.level_of_care_insert.loading = false, state.level_of_care_insert.error = true, state.level_of_care_insert = action.payload;
25506
- }), _defineProperty(_extraReducers$l, LEVEL_OF_CARE_SINGLE_READ.fulfilled, function (state, action) {
25533
+ }), _defineProperty(_extraReducers$n, LEVEL_OF_CARE_SINGLE_READ.fulfilled, function (state, action) {
25507
25534
  state.level_of_care_single_read.loading = false, state.level_of_care_single_read.error = false, state.level_of_care_single_read = action.payload;
25508
- }), _defineProperty(_extraReducers$l, LEVEL_OF_CARE_SINGLE_READ.pending, function (state, action) {
25535
+ }), _defineProperty(_extraReducers$n, LEVEL_OF_CARE_SINGLE_READ.pending, function (state, action) {
25509
25536
  state.level_of_care_single_read.loading = true, state.level_of_care_single_read.error = false, state.level_of_care_single_read.loading = true;
25510
- }), _defineProperty(_extraReducers$l, LEVEL_OF_CARE_SINGLE_READ.rejected, function (state, action) {
25537
+ }), _defineProperty(_extraReducers$n, LEVEL_OF_CARE_SINGLE_READ.rejected, function (state, action) {
25511
25538
  state.level_of_care_single_read.loading = false, state.level_of_care_single_read.error = true, state.level_of_care_single_read = action.payload;
25512
- }), _defineProperty(_extraReducers$l, HEALTH_CARE_SERVICE_READ.fulfilled, function (state, action) {
25539
+ }), _defineProperty(_extraReducers$n, HEALTH_CARE_SERVICE_READ.fulfilled, function (state, action) {
25513
25540
  state.health_care_service_read.loading = false, state.health_care_service_read.error = false, state.health_care_service_read = action.payload;
25514
- }), _defineProperty(_extraReducers$l, HEALTH_CARE_SERVICE_READ.pending, function (state, action) {
25541
+ }), _defineProperty(_extraReducers$n, HEALTH_CARE_SERVICE_READ.pending, function (state, action) {
25515
25542
  state.health_care_service_read.loading = true, state.health_care_service_read.error = false, state.health_care_service_read.loading = true;
25516
- }), _defineProperty(_extraReducers$l, HEALTH_CARE_SERVICE_READ.rejected, function (state, action) {
25543
+ }), _defineProperty(_extraReducers$n, HEALTH_CARE_SERVICE_READ.rejected, function (state, action) {
25517
25544
  state.health_care_service_read.loading = false, state.health_care_service_read.error = true, state.health_care_service_read = action.payload;
25518
- }), _defineProperty(_extraReducers$l, HEALTH_CARE_SERVICE_STATUS_CHANGE.fulfilled, function (state, action) {
25545
+ }), _defineProperty(_extraReducers$n, HEALTH_CARE_SERVICE_STATUS_CHANGE.fulfilled, function (state, action) {
25519
25546
  state.health_care_service_status_change.loading = false, state.health_care_service_status_change.error = false, state.health_care_service_status_change = action.payload;
25520
- }), _defineProperty(_extraReducers$l, HEALTH_CARE_SERVICE_STATUS_CHANGE.pending, function (state, action) {
25547
+ }), _defineProperty(_extraReducers$n, HEALTH_CARE_SERVICE_STATUS_CHANGE.pending, function (state, action) {
25521
25548
  state.health_care_service_status_change.loading = true, state.health_care_service_status_change.error = false, state.health_care_service_status_change.loading = true;
25522
- }), _defineProperty(_extraReducers$l, HEALTH_CARE_SERVICE_STATUS_CHANGE.rejected, function (state, action) {
25549
+ }), _defineProperty(_extraReducers$n, HEALTH_CARE_SERVICE_STATUS_CHANGE.rejected, function (state, action) {
25523
25550
  state.health_care_service_status_change.loading = false, state.health_care_service_status_change.error = true, state.health_care_service_status_change = action.payload;
25524
- }), _defineProperty(_extraReducers$l, HEALTH_CARE_SERVICE_INSERT.fulfilled, function (state, action) {
25551
+ }), _defineProperty(_extraReducers$n, HEALTH_CARE_SERVICE_INSERT.fulfilled, function (state, action) {
25525
25552
  state.health_care_service_insert.loading = false, state.health_care_service_insert.error = false, state.health_care_service_insert = action.payload;
25526
- }), _defineProperty(_extraReducers$l, HEALTH_CARE_SERVICE_INSERT.pending, function (state, action) {
25553
+ }), _defineProperty(_extraReducers$n, HEALTH_CARE_SERVICE_INSERT.pending, function (state, action) {
25527
25554
  state.health_care_service_insert.loading = true, state.health_care_service_insert.error = false, state.health_care_service_insert.loading = true;
25528
- }), _defineProperty(_extraReducers$l, HEALTH_CARE_SERVICE_INSERT.rejected, function (state, action) {
25555
+ }), _defineProperty(_extraReducers$n, HEALTH_CARE_SERVICE_INSERT.rejected, function (state, action) {
25529
25556
  state.health_care_service_insert.loading = false, state.health_care_service_insert.error = true, state.health_care_service_insert = action.payload;
25530
- }), _defineProperty(_extraReducers$l, HEALTH_CARE_SERVICE_MASTER.fulfilled, function (state, action) {
25557
+ }), _defineProperty(_extraReducers$n, HEALTH_CARE_SERVICE_MASTER.fulfilled, function (state, action) {
25531
25558
  state.health_care_service_master.loading = false, state.health_care_service_master.error = false, state.health_care_service_master = action.payload;
25532
- }), _defineProperty(_extraReducers$l, HEALTH_CARE_SERVICE_MASTER.pending, function (state, action) {
25559
+ }), _defineProperty(_extraReducers$n, HEALTH_CARE_SERVICE_MASTER.pending, function (state, action) {
25533
25560
  state.health_care_service_master.loading = true, state.health_care_service_master.error = false, state.health_care_service_master.loading = true;
25534
- }), _defineProperty(_extraReducers$l, HEALTH_CARE_SERVICE_MASTER.rejected, function (state, action) {
25561
+ }), _defineProperty(_extraReducers$n, HEALTH_CARE_SERVICE_MASTER.rejected, function (state, action) {
25535
25562
  state.health_care_service_master.loading = false, state.health_care_service_master.error = true, state.health_care_service_master = action.payload;
25536
- }), _defineProperty(_extraReducers$l, HEALTH_CARE_SERVICE_MASTER_LOCATION_DESCRIPTION.fulfilled, function (state, action) {
25563
+ }), _defineProperty(_extraReducers$n, HEALTH_CARE_SERVICE_MASTER_LOCATION_DESCRIPTION.fulfilled, function (state, action) {
25537
25564
  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;
25538
- }), _defineProperty(_extraReducers$l, HEALTH_CARE_SERVICE_MASTER_LOCATION_DESCRIPTION.pending, function (state, action) {
25565
+ }), _defineProperty(_extraReducers$n, HEALTH_CARE_SERVICE_MASTER_LOCATION_DESCRIPTION.pending, function (state, action) {
25539
25566
  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;
25540
- }), _defineProperty(_extraReducers$l, HEALTH_CARE_SERVICE_MASTER_LOCATION_DESCRIPTION.rejected, function (state, action) {
25567
+ }), _defineProperty(_extraReducers$n, HEALTH_CARE_SERVICE_MASTER_LOCATION_DESCRIPTION.rejected, function (state, action) {
25541
25568
  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;
25542
- }), _defineProperty(_extraReducers$l, EDIT_HEALTH_CARE_SERVICE.fulfilled, function (state, action) {
25569
+ }), _defineProperty(_extraReducers$n, EDIT_HEALTH_CARE_SERVICE.fulfilled, function (state, action) {
25543
25570
  state.health_care_service_single_read.loading = false, state.health_care_service_single_read.error = false, state.health_care_service_single_read = action.payload;
25544
- }), _defineProperty(_extraReducers$l, EDIT_HEALTH_CARE_SERVICE.pending, function (state, action) {
25571
+ }), _defineProperty(_extraReducers$n, EDIT_HEALTH_CARE_SERVICE.pending, function (state, action) {
25545
25572
  state.health_care_service_single_read.loading = true, state.health_care_service_single_read.error = false, state.health_care_service_single_read.loading = true;
25546
- }), _defineProperty(_extraReducers$l, EDIT_HEALTH_CARE_SERVICE.rejected, function (state, action) {
25573
+ }), _defineProperty(_extraReducers$n, EDIT_HEALTH_CARE_SERVICE.rejected, function (state, action) {
25547
25574
  state.health_care_service_single_read.loading = false, state.health_care_service_single_read.error = true, state.health_care_service_single_read = action.payload;
25548
- }), _defineProperty(_extraReducers$l, SPECIALITY_READ.fulfilled, function (state, action) {
25575
+ }), _defineProperty(_extraReducers$n, SPECIALITY_READ.fulfilled, function (state, action) {
25549
25576
  state.speciality_read.loading = false, state.speciality_read.error = false, state.speciality_read = action.payload;
25550
- }), _defineProperty(_extraReducers$l, SPECIALITY_READ.pending, function (state, action) {
25577
+ }), _defineProperty(_extraReducers$n, SPECIALITY_READ.pending, function (state, action) {
25551
25578
  state.speciality_read.loading = true, state.speciality_read.error = false, state.speciality_read.loading = true;
25552
- }), _defineProperty(_extraReducers$l, SPECIALITY_READ.rejected, function (state, action) {
25579
+ }), _defineProperty(_extraReducers$n, SPECIALITY_READ.rejected, function (state, action) {
25553
25580
  state.speciality_read.loading = false, state.speciality_read.error = true, state.speciality_read = action.payload;
25554
- }), _defineProperty(_extraReducers$l, SPECIALITY_CHILD_READ.fulfilled, function (state, action) {
25581
+ }), _defineProperty(_extraReducers$n, SPECIALITY_CHILD_READ.fulfilled, function (state, action) {
25555
25582
  state.speciality_child_read.loading = false, state.speciality_child_read.error = false, state.speciality_child_read = action.payload;
25556
- }), _defineProperty(_extraReducers$l, SPECIALITY_CHILD_READ.pending, function (state, action) {
25583
+ }), _defineProperty(_extraReducers$n, SPECIALITY_CHILD_READ.pending, function (state, action) {
25557
25584
  state.speciality_child_read.loading = true, state.speciality_child_read.error = false, state.speciality_child_read.loading = true;
25558
- }), _defineProperty(_extraReducers$l, SPECIALITY_CHILD_READ.rejected, function (state, action) {
25585
+ }), _defineProperty(_extraReducers$n, SPECIALITY_CHILD_READ.rejected, function (state, action) {
25559
25586
  state.speciality_child_read.loading = false, state.speciality_child_read.error = true, state.speciality_child_read = action.payload;
25560
- }), _defineProperty(_extraReducers$l, SPECIALTY_INSERT.fulfilled, function (state, action) {
25587
+ }), _defineProperty(_extraReducers$n, SPECIALTY_INSERT.fulfilled, function (state, action) {
25561
25588
  state.speciality_insert.loading = false, state.speciality_insert.error = false, state.speciality_insert = action.payload;
25562
- }), _defineProperty(_extraReducers$l, SPECIALTY_INSERT.pending, function (state, action) {
25589
+ }), _defineProperty(_extraReducers$n, SPECIALTY_INSERT.pending, function (state, action) {
25563
25590
  state.speciality_insert.loading = true, state.speciality_insert.error = false, state.speciality_insert.loading = true;
25564
- }), _defineProperty(_extraReducers$l, SPECIALTY_INSERT.rejected, function (state, action) {
25591
+ }), _defineProperty(_extraReducers$n, SPECIALTY_INSERT.rejected, function (state, action) {
25565
25592
  state.speciality_insert.loading = false, state.speciality_insert.error = true, state.speciality_insert = action.payload;
25566
- }), _defineProperty(_extraReducers$l, EDIT_SPECIALITY.fulfilled, function (state, action) {
25593
+ }), _defineProperty(_extraReducers$n, EDIT_SPECIALITY.fulfilled, function (state, action) {
25567
25594
  state.speciality_edit.loading = false, state.speciality_edit.error = false, state.speciality_edit = action.payload;
25568
- }), _defineProperty(_extraReducers$l, EDIT_SPECIALITY.pending, function (state, action) {
25595
+ }), _defineProperty(_extraReducers$n, EDIT_SPECIALITY.pending, function (state, action) {
25569
25596
  state.speciality_edit.loading = true, state.speciality_edit.error = false, state.speciality_edit.loading = true;
25570
- }), _defineProperty(_extraReducers$l, EDIT_SPECIALITY.rejected, function (state, action) {
25597
+ }), _defineProperty(_extraReducers$n, EDIT_SPECIALITY.rejected, function (state, action) {
25571
25598
  state.speciality_edit.loading = false, state.speciality_edit.error = true, state.speciality_edit = action.payload;
25572
- }), _extraReducers$l)
25599
+ }), _extraReducers$n)
25573
25600
  });
25574
25601
  var organizationConfigActions = {
25575
25602
  CARE_TYPE_READ: CARE_TYPE_READ,
@@ -25592,7 +25619,7 @@ var organizationConfigActions = {
25592
25619
  };
25593
25620
  var organizationConfigSlice$1 = organizationConfigSlice.reducer;
25594
25621
 
25595
- var _extraReducers$k;
25622
+ var _extraReducers$m;
25596
25623
  var CARE_TYPE_MASTERS = createAsyncThunk("organizationConfigMasterAPISlice/care_type_master", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
25597
25624
  var _ref2,
25598
25625
  rejectWithValue,
@@ -25646,13 +25673,13 @@ var organizationConfigMasterSlice = createSlice({
25646
25673
  initialState: {
25647
25674
  care_type_master: _objectSpread2({}, defaultState.List)
25648
25675
  },
25649
- extraReducers: (_extraReducers$k = {}, _defineProperty(_extraReducers$k, CARE_TYPE_MASTERS.fulfilled, function (state, action) {
25676
+ extraReducers: (_extraReducers$m = {}, _defineProperty(_extraReducers$m, CARE_TYPE_MASTERS.fulfilled, function (state, action) {
25650
25677
  state.care_type_master.loading = false, state.care_type_master.error = false, state.care_type_master = action.payload;
25651
- }), _defineProperty(_extraReducers$k, CARE_TYPE_MASTERS.pending, function (state, action) {
25678
+ }), _defineProperty(_extraReducers$m, CARE_TYPE_MASTERS.pending, function (state, action) {
25652
25679
  state.care_type_master.loading = true, state.care_type_master.error = false;
25653
- }), _defineProperty(_extraReducers$k, CARE_TYPE_MASTERS.rejected, function (state, action) {
25680
+ }), _defineProperty(_extraReducers$m, CARE_TYPE_MASTERS.rejected, function (state, action) {
25654
25681
  state.care_type_master.loading = false, state.care_type_master.error = true, state.care_type_master = action.payload;
25655
- }), _extraReducers$k)
25682
+ }), _extraReducers$m)
25656
25683
  });
25657
25684
  var organizationConfigMasterActions = {
25658
25685
  CARE_TYPE_MASTERS: CARE_TYPE_MASTERS
@@ -25681,7 +25708,7 @@ var query$6 = {
25681
25708
  }
25682
25709
  };
25683
25710
 
25684
- var _extraReducers$j;
25711
+ var _extraReducers$l;
25685
25712
  var __options = {
25686
25713
  method: "POST",
25687
25714
  headers: {
@@ -25960,35 +25987,35 @@ var signInSlice = createSlice({
25960
25987
  SearchPractioner: _objectSpread2({}, defaultState.List),
25961
25988
  refreshToken: _objectSpread2({}, defaultState.Info)
25962
25989
  },
25963
- extraReducers: (_extraReducers$j = {}, _defineProperty(_extraReducers$j, GET_PERMISSION_ROLE_DATA.fulfilled, function (state, action) {
25990
+ extraReducers: (_extraReducers$l = {}, _defineProperty(_extraReducers$l, GET_PERMISSION_ROLE_DATA.fulfilled, function (state, action) {
25964
25991
  state.getpermissiondata.loading = false, state.getpermissiondata.error = false, state.getpermissiondata = action.payload;
25965
- }), _defineProperty(_extraReducers$j, GET_PERMISSION_ROLE_DATA.pending, function (state, action) {
25992
+ }), _defineProperty(_extraReducers$l, GET_PERMISSION_ROLE_DATA.pending, function (state, action) {
25966
25993
  state.getpermissiondata.loading = true, state.getpermissiondata.error = false, state.getpermissiondata.loading = true;
25967
- }), _defineProperty(_extraReducers$j, GET_PERMISSION_ROLE_DATA.rejected, function (state, action) {
25994
+ }), _defineProperty(_extraReducers$l, GET_PERMISSION_ROLE_DATA.rejected, function (state, action) {
25968
25995
  state.getpermissiondata.loading = false, state.getpermissiondata.error = true, state.getpermissiondata = action.payload;
25969
- }), _defineProperty(_extraReducers$j, SEARCH_PRACTIONER.fulfilled, function (state, action) {
25996
+ }), _defineProperty(_extraReducers$l, SEARCH_PRACTIONER.fulfilled, function (state, action) {
25970
25997
  state.SearchPractioner.loading = false, state.SearchPractioner.error = false, state.SearchPractioner = action.payload;
25971
- }), _defineProperty(_extraReducers$j, SEARCH_PRACTIONER.pending, function (state, action) {
25998
+ }), _defineProperty(_extraReducers$l, SEARCH_PRACTIONER.pending, function (state, action) {
25972
25999
  state.SearchPractioner.loading = true, state.SearchPractioner.error = false, state.SearchPractioner.loading = true;
25973
- }), _defineProperty(_extraReducers$j, SEARCH_PRACTIONER.rejected, function (state, action) {
26000
+ }), _defineProperty(_extraReducers$l, SEARCH_PRACTIONER.rejected, function (state, action) {
25974
26001
  state.SearchPractioner.loading = false, state.SearchPractioner.error = true, state.SearchPractioner = action.payload;
25975
- }), _defineProperty(_extraReducers$j, SIGN_IN_READ.fulfilled, function (state, action) {
26002
+ }), _defineProperty(_extraReducers$l, SIGN_IN_READ.fulfilled, function (state, action) {
25976
26003
  state.sign_in_read.loading = false, state.sign_in_read.error = false, state.sign_in_read = action.payload;
25977
- }), _defineProperty(_extraReducers$j, SIGN_IN_READ.pending, function (state, action) {
26004
+ }), _defineProperty(_extraReducers$l, SIGN_IN_READ.pending, function (state, action) {
25978
26005
  state.sign_in_read.loading = true, state.sign_in_read.error = false, state.sign_in_read.loading = true;
25979
- }), _defineProperty(_extraReducers$j, SIGN_IN_READ.rejected, function (state, action) {
26006
+ }), _defineProperty(_extraReducers$l, SIGN_IN_READ.rejected, function (state, action) {
25980
26007
  state.sign_in_read.loading = false, state.sign_in_read.error = true, state.sign_in_read = action.payload;
25981
- }), _defineProperty(_extraReducers$j, REFRESH_TOKEN.fulfilled, function (state, action) {
26008
+ }), _defineProperty(_extraReducers$l, REFRESH_TOKEN.fulfilled, function (state, action) {
25982
26009
  var _action$payload;
25983
26010
 
25984
26011
  state.refreshToken = (_action$payload = action === null || action === void 0 ? void 0 : action.payload) !== null && _action$payload !== void 0 ? _action$payload : {};
25985
- }), _defineProperty(_extraReducers$j, REFRESH_TOKEN.pending, function (state, action) {
26012
+ }), _defineProperty(_extraReducers$l, REFRESH_TOKEN.pending, function (state, action) {
25986
26013
  state.refreshToken.loading = true;
25987
- }), _defineProperty(_extraReducers$j, REFRESH_TOKEN.rejected, function (state, action) {
26014
+ }), _defineProperty(_extraReducers$l, REFRESH_TOKEN.rejected, function (state, action) {
25988
26015
  var _action$payload2;
25989
26016
 
25990
26017
  state.refreshToken = (_action$payload2 = action === null || action === void 0 ? void 0 : action.payload) !== null && _action$payload2 !== void 0 ? _action$payload2 : {};
25991
- }), _extraReducers$j)
26018
+ }), _extraReducers$l)
25992
26019
  });
25993
26020
  var signinActions = {
25994
26021
  SIGN_IN_READ: SIGN_IN_READ,
@@ -26112,7 +26139,7 @@ var queries$a = {
26112
26139
  }
26113
26140
  };
26114
26141
 
26115
- var _extraReducers$i;
26142
+ var _extraReducers$k;
26116
26143
  var PERMISSION_ROLE_UPSERT = createAsyncThunk("rolesSlice/permission_role_upsert", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
26117
26144
  var payload,
26118
26145
  _ref2,
@@ -26442,49 +26469,49 @@ var rolesSlice = createSlice({
26442
26469
  codable_concept_delete: _objectSpread2({}, defaultState.List),
26443
26470
  coding_upsert: _objectSpread2({}, defaultState.List)
26444
26471
  },
26445
- extraReducers: (_extraReducers$i = {}, _defineProperty(_extraReducers$i, PERMISSION_ROLE_UPSERT.fulfilled, function (state, action) {
26472
+ extraReducers: (_extraReducers$k = {}, _defineProperty(_extraReducers$k, PERMISSION_ROLE_UPSERT.fulfilled, function (state, action) {
26446
26473
  state.permission_role_upsert.loading = false, state.permission_role_upsert.error = false, state.permission_role_upsert = action.payload;
26447
- }), _defineProperty(_extraReducers$i, PERMISSION_ROLE_UPSERT.pending, function (state, action) {
26474
+ }), _defineProperty(_extraReducers$k, PERMISSION_ROLE_UPSERT.pending, function (state, action) {
26448
26475
  state.permission_role_upsert.loading = true, state.permission_role_upsert.error = false, state.permission_role_upsert.loading = true;
26449
- }), _defineProperty(_extraReducers$i, PERMISSION_ROLE_UPSERT.rejected, function (state, action) {
26476
+ }), _defineProperty(_extraReducers$k, PERMISSION_ROLE_UPSERT.rejected, function (state, action) {
26450
26477
  state.permission_role_upsert.loading = false, state.permission_role_upsert.error = true, state.permission_role_upsert = action.payload;
26451
- }), _defineProperty(_extraReducers$i, CODABALE_CONCEPT_UPSERT.fulfilled, function (state, action) {
26478
+ }), _defineProperty(_extraReducers$k, CODABALE_CONCEPT_UPSERT.fulfilled, function (state, action) {
26452
26479
  state.codable_concept_upsert.loading = false, state.codable_concept_upsert.error = false, state.codable_concept_upsert = action.payload;
26453
- }), _defineProperty(_extraReducers$i, CODABALE_CONCEPT_UPSERT.pending, function (state, action) {
26480
+ }), _defineProperty(_extraReducers$k, CODABALE_CONCEPT_UPSERT.pending, function (state, action) {
26454
26481
  state.codable_concept_upsert.loading = true, state.codable_concept_upsert.error = false, state.codable_concept_upsert.loading = true;
26455
- }), _defineProperty(_extraReducers$i, CODABALE_CONCEPT_UPSERT.rejected, function (state, action) {
26482
+ }), _defineProperty(_extraReducers$k, CODABALE_CONCEPT_UPSERT.rejected, function (state, action) {
26456
26483
  state.codable_concept_upsert.loading = false, state.codable_concept_upsert.error = true, state.codable_concept_upsert = action.payload;
26457
- }), _defineProperty(_extraReducers$i, PERMISSION_MANAGEMENT_READ.fulfilled, function (state, action) {
26484
+ }), _defineProperty(_extraReducers$k, PERMISSION_MANAGEMENT_READ.fulfilled, function (state, action) {
26458
26485
  state.permission_management_read.loading = false, state.permission_management_read.error = false, state.permission_management_read = action.payload;
26459
- }), _defineProperty(_extraReducers$i, PERMISSION_MANAGEMENT_READ.pending, function (state, action) {
26486
+ }), _defineProperty(_extraReducers$k, PERMISSION_MANAGEMENT_READ.pending, function (state, action) {
26460
26487
  state.permission_management_read.loading = true, state.permission_management_read.error = false, state.permission_management_read.loading = true;
26461
- }), _defineProperty(_extraReducers$i, PERMISSION_MANAGEMENT_READ.rejected, function (state, action) {
26488
+ }), _defineProperty(_extraReducers$k, PERMISSION_MANAGEMENT_READ.rejected, function (state, action) {
26462
26489
  state.permission_management_read.loading = false, state.permission_management_read.error = true, state.permission_management_read = action.payload;
26463
- }), _defineProperty(_extraReducers$i, PERMISSION_MANAGEMENT_ROLE_READ.fulfilled, function (state, action) {
26490
+ }), _defineProperty(_extraReducers$k, PERMISSION_MANAGEMENT_ROLE_READ.fulfilled, function (state, action) {
26464
26491
  state.permission_management_role_read.loading = false, state.permission_management_role_read.error = false, state.permission_management_role_read = action.payload;
26465
- }), _defineProperty(_extraReducers$i, PERMISSION_MANAGEMENT_ROLE_READ.pending, function (state, action) {
26492
+ }), _defineProperty(_extraReducers$k, PERMISSION_MANAGEMENT_ROLE_READ.pending, function (state, action) {
26466
26493
  state.permission_management_role_read.loading = true, state.permission_management_role_read.error = false, state.permission_management_role_read.loading = true;
26467
- }), _defineProperty(_extraReducers$i, PERMISSION_MANAGEMENT_ROLE_READ.rejected, function (state, action) {
26494
+ }), _defineProperty(_extraReducers$k, PERMISSION_MANAGEMENT_ROLE_READ.rejected, function (state, action) {
26468
26495
  state.permission_management_role_read.loading = false, state.permission_management_role_read.error = true, state.permission_management_role_read = action.payload;
26469
- }), _defineProperty(_extraReducers$i, ROLE_READ.fulfilled, function (state, action) {
26496
+ }), _defineProperty(_extraReducers$k, ROLE_READ.fulfilled, function (state, action) {
26470
26497
  state.role_read.loading = false, state.role_read.error = false, state.role_read = action.payload;
26471
- }), _defineProperty(_extraReducers$i, ROLE_READ.pending, function (state, action) {
26498
+ }), _defineProperty(_extraReducers$k, ROLE_READ.pending, function (state, action) {
26472
26499
  state.role_read.loading = true, state.role_read.error = false, state.role_read.loading = true;
26473
- }), _defineProperty(_extraReducers$i, ROLE_READ.rejected, function (state, action) {
26500
+ }), _defineProperty(_extraReducers$k, ROLE_READ.rejected, function (state, action) {
26474
26501
  state.role_read.loading = false, state.role_read.error = true, state.role_read = action.payload;
26475
- }), _defineProperty(_extraReducers$i, CODABALE_CONCEPT_DELETE.fulfilled, function (state, action) {
26502
+ }), _defineProperty(_extraReducers$k, CODABALE_CONCEPT_DELETE.fulfilled, function (state, action) {
26476
26503
  state.role_read.loading = false, state.role_read.error = false, state.role_read = action.payload;
26477
- }), _defineProperty(_extraReducers$i, CODABALE_CONCEPT_DELETE.pending, function (state, action) {
26504
+ }), _defineProperty(_extraReducers$k, CODABALE_CONCEPT_DELETE.pending, function (state, action) {
26478
26505
  state.role_read.loading = true, state.role_read.error = false, state.role_read.loading = true;
26479
- }), _defineProperty(_extraReducers$i, CODABALE_CONCEPT_DELETE.rejected, function (state, action) {
26506
+ }), _defineProperty(_extraReducers$k, CODABALE_CONCEPT_DELETE.rejected, function (state, action) {
26480
26507
  state.role_read.loading = false, state.role_read.error = true, state.role_read = action.payload;
26481
- }), _defineProperty(_extraReducers$i, CODING_UPSERT.fulfilled, function (state, action) {
26508
+ }), _defineProperty(_extraReducers$k, CODING_UPSERT.fulfilled, function (state, action) {
26482
26509
  state.coding_upsert.loading = false, state.coding_upsert.error = false, state.coding_upsert = action.payload;
26483
- }), _defineProperty(_extraReducers$i, CODING_UPSERT.pending, function (state, action) {
26510
+ }), _defineProperty(_extraReducers$k, CODING_UPSERT.pending, function (state, action) {
26484
26511
  state.coding_upsert.loading = true, state.coding_upsert.error = false, state.coding_upsert.loading = true;
26485
- }), _defineProperty(_extraReducers$i, CODING_UPSERT.rejected, function (state, action) {
26512
+ }), _defineProperty(_extraReducers$k, CODING_UPSERT.rejected, function (state, action) {
26486
26513
  state.coding_upsert.loading = false, state.coding_upsert.error = true, state.coding_upsert = action.payload;
26487
- }), _extraReducers$i)
26514
+ }), _extraReducers$k)
26488
26515
  });
26489
26516
  var roleActions = {
26490
26517
  CODING_UPSERT: CODING_UPSERT,
@@ -26546,7 +26573,7 @@ var queries$9 = {
26546
26573
  }
26547
26574
  };
26548
26575
 
26549
- var _extraReducers$h;
26576
+ var _extraReducers$j;
26550
26577
  var REPOSITORY_READ_DOCUMENT = createAsyncThunk("repositorySlice/repository_read", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
26551
26578
  var payload,
26552
26579
  _ref2,
@@ -26600,13 +26627,13 @@ var repositorySlice = createSlice({
26600
26627
  initialState: {
26601
26628
  repository_read: _objectSpread2({}, defaultState.List)
26602
26629
  },
26603
- extraReducers: (_extraReducers$h = {}, _defineProperty(_extraReducers$h, REPOSITORY_READ_DOCUMENT.fulfilled, function (state, action) {
26630
+ extraReducers: (_extraReducers$j = {}, _defineProperty(_extraReducers$j, REPOSITORY_READ_DOCUMENT.fulfilled, function (state, action) {
26604
26631
  state.repository_read.loading = false, state.repository_read.error = false, state.repository_read = action.payload;
26605
- }), _defineProperty(_extraReducers$h, REPOSITORY_READ_DOCUMENT.pending, function (state, action) {
26632
+ }), _defineProperty(_extraReducers$j, REPOSITORY_READ_DOCUMENT.pending, function (state, action) {
26606
26633
  state.repository_read.loading = true, state.repository_read.error = false, state.repository_read.loading = true;
26607
- }), _defineProperty(_extraReducers$h, REPOSITORY_READ_DOCUMENT.rejected, function (state, action) {
26634
+ }), _defineProperty(_extraReducers$j, REPOSITORY_READ_DOCUMENT.rejected, function (state, action) {
26608
26635
  state.repository_read.loading = false, state.repository_read.error = true, state.repository_read = action.payload;
26609
- }), _extraReducers$h)
26636
+ }), _extraReducers$j)
26610
26637
  });
26611
26638
  var repositoryActions = {
26612
26639
  REPOSITORY_READ_DOCUMENT: REPOSITORY_READ_DOCUMENT
@@ -26665,7 +26692,7 @@ var queries$8 = {
26665
26692
  }
26666
26693
  };
26667
26694
 
26668
- var _extraReducers$g;
26695
+ var _extraReducers$i;
26669
26696
  var PERMISSION_UPSERT = createAsyncThunk("permissionSlice/permission_upsert", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
26670
26697
  var payload,
26671
26698
  _ref2,
@@ -26811,25 +26838,25 @@ var permissionSlice = createSlice({
26811
26838
  permission_delete: _objectSpread2({}, defaultState.List),
26812
26839
  permission_read: _objectSpread2({}, defaultState.List)
26813
26840
  },
26814
- extraReducers: (_extraReducers$g = {}, _defineProperty(_extraReducers$g, PERMISSION_UPSERT.fulfilled, function (state, action) {
26841
+ extraReducers: (_extraReducers$i = {}, _defineProperty(_extraReducers$i, PERMISSION_UPSERT.fulfilled, function (state, action) {
26815
26842
  state.permission_upsert.loading = false, state.permission_upsert.error = false, state.permission_upsert = action.payload;
26816
- }), _defineProperty(_extraReducers$g, PERMISSION_UPSERT.pending, function (state, action) {
26843
+ }), _defineProperty(_extraReducers$i, PERMISSION_UPSERT.pending, function (state, action) {
26817
26844
  state.permission_upsert.loading = true, state.permission_upsert.error = false, state.permission_upsert.loading = true;
26818
- }), _defineProperty(_extraReducers$g, PERMISSION_UPSERT.rejected, function (state, action) {
26845
+ }), _defineProperty(_extraReducers$i, PERMISSION_UPSERT.rejected, function (state, action) {
26819
26846
  state.permission_upsert.loading = false, state.permission_upsert.error = true, state.permission_upsert = action.payload;
26820
- }), _defineProperty(_extraReducers$g, PERMISSION_DELETE.fulfilled, function (state, action) {
26847
+ }), _defineProperty(_extraReducers$i, PERMISSION_DELETE.fulfilled, function (state, action) {
26821
26848
  state.permission_delete.loading = false, state.permission_delete.error = false, state.permission_delete = action.payload;
26822
- }), _defineProperty(_extraReducers$g, PERMISSION_DELETE.pending, function (state, action) {
26849
+ }), _defineProperty(_extraReducers$i, PERMISSION_DELETE.pending, function (state, action) {
26823
26850
  state.permission_delete.loading = true, state.permission_delete.error = false, state.permission_delete.loading = true;
26824
- }), _defineProperty(_extraReducers$g, PERMISSION_DELETE.rejected, function (state, action) {
26851
+ }), _defineProperty(_extraReducers$i, PERMISSION_DELETE.rejected, function (state, action) {
26825
26852
  state.permission_delete.loading = false, state.permission_delete.error = true, state.permission_delete = action.payload;
26826
- }), _defineProperty(_extraReducers$g, PERMISSION_READ.fulfilled, function (state, action) {
26853
+ }), _defineProperty(_extraReducers$i, PERMISSION_READ.fulfilled, function (state, action) {
26827
26854
  state.permission_read.loading = false, state.permission_read.error = false, state.permission_read = action.payload;
26828
- }), _defineProperty(_extraReducers$g, PERMISSION_READ.pending, function (state, action) {
26855
+ }), _defineProperty(_extraReducers$i, PERMISSION_READ.pending, function (state, action) {
26829
26856
  state.permission_read.loading = true, state.permission_read.error = false, state.permission_read.loading = true;
26830
- }), _defineProperty(_extraReducers$g, PERMISSION_READ.rejected, function (state, action) {
26857
+ }), _defineProperty(_extraReducers$i, PERMISSION_READ.rejected, function (state, action) {
26831
26858
  state.permission_read.loading = false, state.permission_read.error = true, state.permission_read = action.payload;
26832
- }), _extraReducers$g)
26859
+ }), _extraReducers$i)
26833
26860
  });
26834
26861
  var permissionActions = {
26835
26862
  PERMISSION_READ: PERMISSION_READ,
@@ -26988,7 +27015,7 @@ var queries$7 = {
26988
27015
  // }
26989
27016
  // },
26990
27017
 
26991
- var _extraReducers$f;
27018
+ var _extraReducers$h;
26992
27019
  var PERSON_UPSERT = createAsyncThunk("personSlice/person_upsert", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
26993
27020
  var payload,
26994
27021
  _ref2,
@@ -27629,85 +27656,85 @@ var personSlice = createSlice({
27629
27656
  use_master: _objectSpread2({}, defaultState.List),
27630
27657
  single_read_person: _objectSpread2({}, defaultState.List)
27631
27658
  },
27632
- extraReducers: (_extraReducers$f = {}, _defineProperty(_extraReducers$f, PERSON_UPSERT.fulfilled, function (state, action) {
27659
+ extraReducers: (_extraReducers$h = {}, _defineProperty(_extraReducers$h, PERSON_UPSERT.fulfilled, function (state, action) {
27633
27660
  state.person_upsert.loading = false, state.person_upsert.error = false, state.person_upsert = action.payload;
27634
- }), _defineProperty(_extraReducers$f, PERSON_UPSERT.pending, function (state, action) {
27661
+ }), _defineProperty(_extraReducers$h, PERSON_UPSERT.pending, function (state, action) {
27635
27662
  state.person_upsert.loading = true, state.person_upsert.error = false, state.person_upsert.loading = true;
27636
- }), _defineProperty(_extraReducers$f, PERSON_UPSERT.rejected, function (state, action) {
27663
+ }), _defineProperty(_extraReducers$h, PERSON_UPSERT.rejected, function (state, action) {
27637
27664
  state.person_upsert.loading = false, state.person_upsert.error = true, state.person_upsert = action.payload;
27638
- }), _defineProperty(_extraReducers$f, PERSON_DELETE.fulfilled, function (state, action) {
27665
+ }), _defineProperty(_extraReducers$h, PERSON_DELETE.fulfilled, function (state, action) {
27639
27666
  state.person_delete.loading = false, state.person_delete.error = false, state.person_delete = action.payload;
27640
- }), _defineProperty(_extraReducers$f, PERSON_DELETE.pending, function (state, action) {
27667
+ }), _defineProperty(_extraReducers$h, PERSON_DELETE.pending, function (state, action) {
27641
27668
  state.person_delete.loading = true, state.person_delete.error = false, state.person_delete.loading = true;
27642
- }), _defineProperty(_extraReducers$f, PERSON_DELETE.rejected, function (state, action) {
27669
+ }), _defineProperty(_extraReducers$h, PERSON_DELETE.rejected, function (state, action) {
27643
27670
  state.person_delete.loading = false, state.person_delete.error = true, state.person_delete = action.payload;
27644
- }), _defineProperty(_extraReducers$f, PERSON_READ.fulfilled, function (state, action) {
27671
+ }), _defineProperty(_extraReducers$h, PERSON_READ.fulfilled, function (state, action) {
27645
27672
  state.person_read.loading = false, state.person_read.error = false, state.person_read = action.payload;
27646
- }), _defineProperty(_extraReducers$f, PERSON_READ.pending, function (state, action) {
27673
+ }), _defineProperty(_extraReducers$h, PERSON_READ.pending, function (state, action) {
27647
27674
  state.person_read.loading = true, state.person_read.error = false, state.person_read.loading = true;
27648
- }), _defineProperty(_extraReducers$f, PERSON_READ.rejected, function (state, action) {
27675
+ }), _defineProperty(_extraReducers$h, PERSON_READ.rejected, function (state, action) {
27649
27676
  state.person_read.loading = false, state.person_read.error = true, state.person_read = action.payload;
27650
- }), _defineProperty(_extraReducers$f, CONTACTSYSTEMMASTER.fulfilled, function (state, action) {
27677
+ }), _defineProperty(_extraReducers$h, CONTACTSYSTEMMASTER.fulfilled, function (state, action) {
27651
27678
  state.contact_system_master.loading = false, state.contact_system_master.error = false, state.contact_system_master = action.payload;
27652
- }), _defineProperty(_extraReducers$f, CONTACTSYSTEMMASTER.pending, function (state, action) {
27679
+ }), _defineProperty(_extraReducers$h, CONTACTSYSTEMMASTER.pending, function (state, action) {
27653
27680
  state.contact_system_master.loading = true, state.contact_system_master.error = false, state.contact_system_master.loading = true;
27654
- }), _defineProperty(_extraReducers$f, CONTACTSYSTEMMASTER.rejected, function (state, action) {
27681
+ }), _defineProperty(_extraReducers$h, CONTACTSYSTEMMASTER.rejected, function (state, action) {
27655
27682
  state.contact_system_master.loading = false, state.contact_system_master.error = true, state.contact_system_master = action.payload;
27656
- }), _defineProperty(_extraReducers$f, ENTITYNAMEMASTER.fulfilled, function (state, action) {
27683
+ }), _defineProperty(_extraReducers$h, ENTITYNAMEMASTER.fulfilled, function (state, action) {
27657
27684
  state.entity_name_master.loading = false, state.entity_name_master.error = false, state.entity_name_master = action.payload;
27658
- }), _defineProperty(_extraReducers$f, ENTITYNAMEMASTER.pending, function (state, action) {
27685
+ }), _defineProperty(_extraReducers$h, ENTITYNAMEMASTER.pending, function (state, action) {
27659
27686
  state.entity_name_master.loading = true, state.entity_name_master.error = false, state.entity_name_master.loading = true;
27660
- }), _defineProperty(_extraReducers$f, ENTITYNAMEMASTER.rejected, function (state, action) {
27687
+ }), _defineProperty(_extraReducers$h, ENTITYNAMEMASTER.rejected, function (state, action) {
27661
27688
  state.entity_name_master.loading = false, state.entity_name_master.error = true, state.entity_name_master = action.payload;
27662
- }), _defineProperty(_extraReducers$f, ENTITYTYPEMASTER.fulfilled, function (state, action) {
27689
+ }), _defineProperty(_extraReducers$h, ENTITYTYPEMASTER.fulfilled, function (state, action) {
27663
27690
  state.entity_type_master.loading = false, state.entity_type_master.error = false, state.entity_type_master = action.payload;
27664
- }), _defineProperty(_extraReducers$f, ENTITYTYPEMASTER.pending, function (state, action) {
27691
+ }), _defineProperty(_extraReducers$h, ENTITYTYPEMASTER.pending, function (state, action) {
27665
27692
  state.entity_type_master.loading = true, state.entity_type_master.error = false, state.entity_type_master.loading = true;
27666
- }), _defineProperty(_extraReducers$f, ENTITYTYPEMASTER.rejected, function (state, action) {
27693
+ }), _defineProperty(_extraReducers$h, ENTITYTYPEMASTER.rejected, function (state, action) {
27667
27694
  state.entity_type_master.loading = false, state.entity_type_master.error = true, state.entity_type_master = action.payload;
27668
- }), _defineProperty(_extraReducers$f, GENDERMASTER.fulfilled, function (state, action) {
27695
+ }), _defineProperty(_extraReducers$h, GENDERMASTER.fulfilled, function (state, action) {
27669
27696
  state.gender_master.loading = false, state.gender_master.error = false, state.gender_master = action.payload;
27670
- }), _defineProperty(_extraReducers$f, GENDERMASTER.pending, function (state, action) {
27697
+ }), _defineProperty(_extraReducers$h, GENDERMASTER.pending, function (state, action) {
27671
27698
  state.gender_master.loading = true, state.gender_master.error = false, state.gender_master.loading = true;
27672
- }), _defineProperty(_extraReducers$f, GENDERMASTER.rejected, function (state, action) {
27699
+ }), _defineProperty(_extraReducers$h, GENDERMASTER.rejected, function (state, action) {
27673
27700
  state.gender_master.loading = false, state.gender_master.error = true, state.gender_master = action.payload;
27674
- }), _defineProperty(_extraReducers$f, IDTYPEMASTER.fulfilled, function (state, action) {
27701
+ }), _defineProperty(_extraReducers$h, IDTYPEMASTER.fulfilled, function (state, action) {
27675
27702
  state.id_type_master.loading = false, state.id_type_master.error = false, state.id_type_master = action.payload;
27676
- }), _defineProperty(_extraReducers$f, IDTYPEMASTER.pending, function (state, action) {
27703
+ }), _defineProperty(_extraReducers$h, IDTYPEMASTER.pending, function (state, action) {
27677
27704
  state.id_type_master.loading = true, state.id_type_master.error = false, state.id_type_master.loading = true;
27678
- }), _defineProperty(_extraReducers$f, IDTYPEMASTER.rejected, function (state, action) {
27705
+ }), _defineProperty(_extraReducers$h, IDTYPEMASTER.rejected, function (state, action) {
27679
27706
  state.id_type_master.loading = false, state.id_type_master.error = true, state.id_type_master = action.payload;
27680
- }), _defineProperty(_extraReducers$f, PREFIXMASTER.fulfilled, function (state, action) {
27707
+ }), _defineProperty(_extraReducers$h, PREFIXMASTER.fulfilled, function (state, action) {
27681
27708
  state.prefix_master.loading = false, state.prefix_master.error = false, state.prefix_master = action.payload;
27682
- }), _defineProperty(_extraReducers$f, PREFIXMASTER.pending, function (state, action) {
27709
+ }), _defineProperty(_extraReducers$h, PREFIXMASTER.pending, function (state, action) {
27683
27710
  state.prefix_master.loading = true, state.prefix_master.error = false, state.prefix_master.loading = true;
27684
- }), _defineProperty(_extraReducers$f, PREFIXMASTER.rejected, function (state, action) {
27711
+ }), _defineProperty(_extraReducers$h, PREFIXMASTER.rejected, function (state, action) {
27685
27712
  state.prefix_master.loading = false, state.prefix_master.error = true, state.prefix_master = action.payload;
27686
- }), _defineProperty(_extraReducers$f, PRIORITYMASTER.fulfilled, function (state, action) {
27713
+ }), _defineProperty(_extraReducers$h, PRIORITYMASTER.fulfilled, function (state, action) {
27687
27714
  state.priority_master.loading = false, state.priority_master.error = false, state.priority_master = action.payload;
27688
- }), _defineProperty(_extraReducers$f, PRIORITYMASTER.pending, function (state, action) {
27715
+ }), _defineProperty(_extraReducers$h, PRIORITYMASTER.pending, function (state, action) {
27689
27716
  state.priority_master.loading = true, state.priority_master.error = false, state.priority_master.loading = true;
27690
- }), _defineProperty(_extraReducers$f, PRIORITYMASTER.rejected, function (state, action) {
27717
+ }), _defineProperty(_extraReducers$h, PRIORITYMASTER.rejected, function (state, action) {
27691
27718
  state.priority_master.loading = false, state.priority_master.error = true, state.priority_master = action.payload;
27692
- }), _defineProperty(_extraReducers$f, SURFFIXMASTER.fulfilled, function (state, action) {
27719
+ }), _defineProperty(_extraReducers$h, SURFFIXMASTER.fulfilled, function (state, action) {
27693
27720
  state.surffix_master.loading = false, state.surffix_master.error = false, state.surffix_master = action.payload;
27694
- }), _defineProperty(_extraReducers$f, SURFFIXMASTER.pending, function (state, action) {
27721
+ }), _defineProperty(_extraReducers$h, SURFFIXMASTER.pending, function (state, action) {
27695
27722
  state.surffix_master.loading = true, state.surffix_master.error = false, state.surffix_master.loading = true;
27696
- }), _defineProperty(_extraReducers$f, SURFFIXMASTER.rejected, function (state, action) {
27723
+ }), _defineProperty(_extraReducers$h, SURFFIXMASTER.rejected, function (state, action) {
27697
27724
  state.surffix_master.loading = false, state.surffix_master.error = true, state.surffix_master = action.payload;
27698
- }), _defineProperty(_extraReducers$f, USEMASTER.fulfilled, function (state, action) {
27725
+ }), _defineProperty(_extraReducers$h, USEMASTER.fulfilled, function (state, action) {
27699
27726
  state.use_master.loading = false, state.use_master.error = false, state.use_master = action.payload;
27700
- }), _defineProperty(_extraReducers$f, USEMASTER.pending, function (state, action) {
27727
+ }), _defineProperty(_extraReducers$h, USEMASTER.pending, function (state, action) {
27701
27728
  state.use_master.loading = true, state.use_master.error = false, state.use_master.loading = true;
27702
- }), _defineProperty(_extraReducers$f, USEMASTER.rejected, function (state, action) {
27729
+ }), _defineProperty(_extraReducers$h, USEMASTER.rejected, function (state, action) {
27703
27730
  state.use_master.loading = false, state.use_master.error = true, state.use_master = action.payload;
27704
- }), _defineProperty(_extraReducers$f, SINGLE_PERSON_READ.fulfilled, function (state, action) {
27731
+ }), _defineProperty(_extraReducers$h, SINGLE_PERSON_READ.fulfilled, function (state, action) {
27705
27732
  state.single_read_person.loading = false, state.single_read_person.error = false, state.single_read_person = action.payload;
27706
- }), _defineProperty(_extraReducers$f, SINGLE_PERSON_READ.pending, function (state, action) {
27733
+ }), _defineProperty(_extraReducers$h, SINGLE_PERSON_READ.pending, function (state, action) {
27707
27734
  state.single_read_person.loading = true, state.single_read_person.error = false, state.single_read_person.loading = true;
27708
- }), _defineProperty(_extraReducers$f, SINGLE_PERSON_READ.rejected, function (state, action) {
27735
+ }), _defineProperty(_extraReducers$h, SINGLE_PERSON_READ.rejected, function (state, action) {
27709
27736
  state.single_read_person.loading = false, state.single_read_person.error = true, state.single_read_person = action.payload;
27710
- }), _extraReducers$f)
27737
+ }), _extraReducers$h)
27711
27738
  });
27712
27739
  var personActions = {
27713
27740
  PERSON_READ: PERSON_READ,
@@ -27786,7 +27813,7 @@ var queries$6 = {
27786
27813
  }
27787
27814
  };
27788
27815
 
27789
- var _extraReducers$e;
27816
+ var _extraReducers$g;
27790
27817
  var USER_UPSERT = createAsyncThunk("userSlice/user_upsert", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
27791
27818
  var payload,
27792
27819
  _ref2,
@@ -27926,25 +27953,25 @@ var userSlice = createSlice({
27926
27953
  user_delete: _objectSpread2({}, defaultState.List),
27927
27954
  user_read: _objectSpread2({}, defaultState.List)
27928
27955
  },
27929
- extraReducers: (_extraReducers$e = {}, _defineProperty(_extraReducers$e, USER_UPSERT.fulfilled, function (state, action) {
27956
+ extraReducers: (_extraReducers$g = {}, _defineProperty(_extraReducers$g, USER_UPSERT.fulfilled, function (state, action) {
27930
27957
  state.user_upsert.loading = false, state.user_upsert.error = false, state.user_upsert = action.payload;
27931
- }), _defineProperty(_extraReducers$e, USER_UPSERT.pending, function (state, action) {
27958
+ }), _defineProperty(_extraReducers$g, USER_UPSERT.pending, function (state, action) {
27932
27959
  state.user_upsert.loading = true, state.user_upsert.error = false, state.user_upsert.loading = true;
27933
- }), _defineProperty(_extraReducers$e, USER_UPSERT.rejected, function (state, action) {
27960
+ }), _defineProperty(_extraReducers$g, USER_UPSERT.rejected, function (state, action) {
27934
27961
  state.user_upsert.loading = false, state.user_upsert.error = true, state.user_upsert = action.payload;
27935
- }), _defineProperty(_extraReducers$e, USER_DELETE.fulfilled, function (state, action) {
27962
+ }), _defineProperty(_extraReducers$g, USER_DELETE.fulfilled, function (state, action) {
27936
27963
  state.user_delete.loading = false, state.user_delete.error = false, state.user_delete = action.payload;
27937
- }), _defineProperty(_extraReducers$e, USER_DELETE.pending, function (state, action) {
27964
+ }), _defineProperty(_extraReducers$g, USER_DELETE.pending, function (state, action) {
27938
27965
  state.user_delete.loading = true, state.user_delete.error = false, state.user_delete.loading = true;
27939
- }), _defineProperty(_extraReducers$e, USER_DELETE.rejected, function (state, action) {
27966
+ }), _defineProperty(_extraReducers$g, USER_DELETE.rejected, function (state, action) {
27940
27967
  state.user_delete.loading = false, state.user_delete.error = true, state.user_delete = action.payload;
27941
- }), _defineProperty(_extraReducers$e, USER_READ.fulfilled, function (state, action) {
27968
+ }), _defineProperty(_extraReducers$g, USER_READ.fulfilled, function (state, action) {
27942
27969
  state.user_read.loading = false, state.user_read.error = false, state.user_read = action.payload;
27943
- }), _defineProperty(_extraReducers$e, USER_READ.pending, function (state, action) {
27970
+ }), _defineProperty(_extraReducers$g, USER_READ.pending, function (state, action) {
27944
27971
  state.user_read.loading = true, state.user_read.error = false, state.user_read.loading = true;
27945
- }), _defineProperty(_extraReducers$e, USER_READ.rejected, function (state, action) {
27972
+ }), _defineProperty(_extraReducers$g, USER_READ.rejected, function (state, action) {
27946
27973
  state.user_read.loading = false, state.user_read.error = true, state.user_read = action.payload;
27947
- }), _extraReducers$e)
27974
+ }), _extraReducers$g)
27948
27975
  });
27949
27976
  var userActions = {
27950
27977
  USER_READ: USER_READ,
@@ -27999,7 +28026,7 @@ var generateJson$6 = function generateJson(data, _key) {
27999
28026
  })];
28000
28027
  };
28001
28028
 
28002
- var _extraReducers$d;
28029
+ var _extraReducers$f;
28003
28030
  var UPSERT_ALERT = createAsyncThunk("alertRestictionsMasterSlice/save_alert", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
28004
28031
  var payload,
28005
28032
  _ref2,
@@ -28319,31 +28346,31 @@ var alertRestictionsMasterSlice = createSlice({
28319
28346
  read_alert: _objectSpread2({}, defaultState.Info),
28320
28347
  read_alert_status: _objectSpread2({}, defaultState.Info)
28321
28348
  },
28322
- extraReducers: (_extraReducers$d = {}, _defineProperty(_extraReducers$d, GET_ALL_MASTER.fulfilled, function (state, action) {
28349
+ extraReducers: (_extraReducers$f = {}, _defineProperty(_extraReducers$f, GET_ALL_MASTER.fulfilled, function (state, action) {
28323
28350
  state.get_all_masters.loading = false, state.get_all_masters.error = false, state.get_all_masters = action.payload;
28324
- }), _defineProperty(_extraReducers$d, GET_ALL_MASTER.pending, function (state, action) {
28351
+ }), _defineProperty(_extraReducers$f, GET_ALL_MASTER.pending, function (state, action) {
28325
28352
  state.get_all_masters.loading = true, state.get_all_masters.error = false, state.get_all_masters.loading = true;
28326
- }), _defineProperty(_extraReducers$d, GET_ALL_MASTER.rejected, function (state, action) {
28353
+ }), _defineProperty(_extraReducers$f, GET_ALL_MASTER.rejected, function (state, action) {
28327
28354
  state.get_all_masters.loading = false, state.get_all_masters.error = true, state.get_all_masters = action.payload;
28328
- }), _defineProperty(_extraReducers$d, UPSERT_ALERT.fulfilled, function (state, action) {
28355
+ }), _defineProperty(_extraReducers$f, UPSERT_ALERT.fulfilled, function (state, action) {
28329
28356
  state.save_alert.loading = false, state.save_alert.error = false, state.save_alert = action.payload;
28330
- }), _defineProperty(_extraReducers$d, UPSERT_ALERT.pending, function (state, action) {
28357
+ }), _defineProperty(_extraReducers$f, UPSERT_ALERT.pending, function (state, action) {
28331
28358
  state.save_alert.loading = true, state.save_alert.error = false, state.save_alert.loading = true;
28332
- }), _defineProperty(_extraReducers$d, UPSERT_ALERT.rejected, function (state, action) {
28359
+ }), _defineProperty(_extraReducers$f, UPSERT_ALERT.rejected, function (state, action) {
28333
28360
  state.save_alert.loading = false, state.save_alert.error = true, state.save_alert = action.payload;
28334
- }), _defineProperty(_extraReducers$d, READ_ALERT.fulfilled, function (state, action) {
28361
+ }), _defineProperty(_extraReducers$f, READ_ALERT.fulfilled, function (state, action) {
28335
28362
  state.read_alert.loading = false, state.read_alert.error = false, state.read_alert = action.payload;
28336
- }), _defineProperty(_extraReducers$d, READ_ALERT.pending, function (state, action) {
28363
+ }), _defineProperty(_extraReducers$f, READ_ALERT.pending, function (state, action) {
28337
28364
  state.read_alert.loading = true, state.read_alert.error = false, state.read_alert.loading = true;
28338
- }), _defineProperty(_extraReducers$d, READ_ALERT.rejected, function (state, action) {
28365
+ }), _defineProperty(_extraReducers$f, READ_ALERT.rejected, function (state, action) {
28339
28366
  state.read_alert.loading = false, state.read_alert.error = true, state.read_alert = action.payload;
28340
- }), _defineProperty(_extraReducers$d, UPSERT_ALERT_STATUS.fulfilled, function (state, action) {
28367
+ }), _defineProperty(_extraReducers$f, UPSERT_ALERT_STATUS.fulfilled, function (state, action) {
28341
28368
  state.read_alert_status.loading = false, state.read_alert_status.error = false, state.read_alert_status = action.payload;
28342
- }), _defineProperty(_extraReducers$d, UPSERT_ALERT_STATUS.pending, function (state, action) {
28369
+ }), _defineProperty(_extraReducers$f, UPSERT_ALERT_STATUS.pending, function (state, action) {
28343
28370
  state.read_alert_status.loading = true, state.read_alert_status.error = false, state.read_alert_status.loading = true;
28344
- }), _defineProperty(_extraReducers$d, UPSERT_ALERT_STATUS.rejected, function (state, action) {
28371
+ }), _defineProperty(_extraReducers$f, UPSERT_ALERT_STATUS.rejected, function (state, action) {
28345
28372
  state.read_alert_status.loading = false, state.read_alert_status.error = true, state.read_alert_status = action.payload;
28346
- }), _extraReducers$d)
28373
+ }), _extraReducers$f)
28347
28374
  });
28348
28375
  var alertRestrictionsMasterActions = {
28349
28376
  GET_ALL_MASTER: GET_ALL_MASTER,
@@ -28515,7 +28542,7 @@ var generateReadJson$1 = {
28515
28542
  }
28516
28543
  };
28517
28544
 
28518
- var _extraReducers$c;
28545
+ var _extraReducers$e;
28519
28546
  var DRUG_UOM_READ = createAsyncThunk("drugRoutesSlice/drug_uom_list", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
28520
28547
  var _ref2,
28521
28548
  rejectWithValue,
@@ -28822,43 +28849,43 @@ var drugMasterUOMSlice = createSlice({
28822
28849
  drug_uom_read_line: _objectSpread2({}, defaultState.List),
28823
28850
  drug_uom_code_status: _objectSpread2({}, defaultState.List)
28824
28851
  },
28825
- extraReducers: (_extraReducers$c = {}, _defineProperty(_extraReducers$c, DRUG_UOM_READ.fulfilled, function (state, action) {
28852
+ extraReducers: (_extraReducers$e = {}, _defineProperty(_extraReducers$e, DRUG_UOM_READ.fulfilled, function (state, action) {
28826
28853
  state.drug_routes_direction_list.loading = false, state.drug_routes_direction_list.error = false, state.drug_routes_direction_list = action.payload;
28827
- }), _defineProperty(_extraReducers$c, DRUG_UOM_READ.pending, function (state, action) {
28854
+ }), _defineProperty(_extraReducers$e, DRUG_UOM_READ.pending, function (state, action) {
28828
28855
  state.drug_routes_direction_list.loading = true, state.drug_routes_direction_list.error = false, state.drug_routes_direction_list.loading = true;
28829
- }), _defineProperty(_extraReducers$c, DRUG_UOM_READ.rejected, function (state, action) {
28856
+ }), _defineProperty(_extraReducers$e, DRUG_UOM_READ.rejected, function (state, action) {
28830
28857
  state.drug_routes_direction_list.loading = false, state.drug_routes_direction_list.error = true, state.drug_routes_direction_list = action.payload;
28831
- }), _defineProperty(_extraReducers$c, DRUG_UOM_TYPE_DROP_DOWN.fulfilled, function (state, action) {
28858
+ }), _defineProperty(_extraReducers$e, DRUG_UOM_TYPE_DROP_DOWN.fulfilled, function (state, action) {
28832
28859
  state.drug_uom_type_master.loading = false, state.drug_uom_type_master.error = false, state.drug_uom_type_master = action.payload;
28833
- }), _defineProperty(_extraReducers$c, DRUG_UOM_TYPE_DROP_DOWN.pending, function (state, action) {
28860
+ }), _defineProperty(_extraReducers$e, DRUG_UOM_TYPE_DROP_DOWN.pending, function (state, action) {
28834
28861
  state.drug_uom_type_master.loading = true, state.drug_uom_type_master.error = false, state.drug_uom_type_master.loading = true;
28835
- }), _defineProperty(_extraReducers$c, DRUG_UOM_TYPE_DROP_DOWN.rejected, function (state, action) {
28862
+ }), _defineProperty(_extraReducers$e, DRUG_UOM_TYPE_DROP_DOWN.rejected, function (state, action) {
28836
28863
  state.drug_uom_type_master.loading = false, state.drug_uom_type_master.error = true, state.drug_uom_type_master = action.payload;
28837
- }), _defineProperty(_extraReducers$c, TO_UDM_CODE_DROPDOWN.fulfilled, function (state, action) {
28864
+ }), _defineProperty(_extraReducers$e, TO_UDM_CODE_DROPDOWN.fulfilled, function (state, action) {
28838
28865
  state.drug_uom_code_master.loading = false, state.drug_uom_code_master.error = false, state.drug_uom_code_master = action.payload;
28839
- }), _defineProperty(_extraReducers$c, TO_UDM_CODE_DROPDOWN.pending, function (state, action) {
28866
+ }), _defineProperty(_extraReducers$e, TO_UDM_CODE_DROPDOWN.pending, function (state, action) {
28840
28867
  state.drug_uom_code_master.loading = true, state.drug_uom_code_master.error = false, state.drug_uom_code_master.loading = true;
28841
- }), _defineProperty(_extraReducers$c, TO_UDM_CODE_DROPDOWN.rejected, function (state, action) {
28868
+ }), _defineProperty(_extraReducers$e, TO_UDM_CODE_DROPDOWN.rejected, function (state, action) {
28842
28869
  state.drug_uom_code_master.loading = false, state.drug_uom_code_master.error = true, state.drug_uom_code_master = action.payload;
28843
- }), _defineProperty(_extraReducers$c, UOM_CODE_INSERT.fulfilled, function (state, action) {
28870
+ }), _defineProperty(_extraReducers$e, UOM_CODE_INSERT.fulfilled, function (state, action) {
28844
28871
  state.drug_uom_code_insert.loading = false, state.drug_uom_code_insert.error = false, state.drug_uom_code_insert = action.payload;
28845
- }), _defineProperty(_extraReducers$c, UOM_CODE_INSERT.pending, function (state, action) {
28872
+ }), _defineProperty(_extraReducers$e, UOM_CODE_INSERT.pending, function (state, action) {
28846
28873
  state.drug_uom_code_insert.loading = true, state.drug_uom_code_insert.error = false, state.drug_uom_code_insert.loading = true;
28847
- }), _defineProperty(_extraReducers$c, UOM_CODE_INSERT.rejected, function (state, action) {
28874
+ }), _defineProperty(_extraReducers$e, UOM_CODE_INSERT.rejected, function (state, action) {
28848
28875
  state.drug_uom_code_insert.loading = false, state.drug_uom_code_insert.error = true, state.drug_uom_code_insert = action.payload;
28849
- }), _defineProperty(_extraReducers$c, DRUG_UOM_LINE_READ.fulfilled, function (state, action) {
28876
+ }), _defineProperty(_extraReducers$e, DRUG_UOM_LINE_READ.fulfilled, function (state, action) {
28850
28877
  state.drug_uom_read_line.loading = false, state.drug_uom_read_line.error = false, state.drug_uom_read_line = action.payload;
28851
- }), _defineProperty(_extraReducers$c, DRUG_UOM_LINE_READ.pending, function (state, action) {
28878
+ }), _defineProperty(_extraReducers$e, DRUG_UOM_LINE_READ.pending, function (state, action) {
28852
28879
  state.drug_uom_read_line.loading = true, state.drug_uom_read_line.error = false, state.drug_uom_read_line.loading = true;
28853
- }), _defineProperty(_extraReducers$c, DRUG_UOM_LINE_READ.rejected, function (state, action) {
28880
+ }), _defineProperty(_extraReducers$e, DRUG_UOM_LINE_READ.rejected, function (state, action) {
28854
28881
  state.drug_uom_read_line.loading = false, state.drug_uom_read_line.error = true, state.drug_uom_read_line = action.payload;
28855
- }), _defineProperty(_extraReducers$c, To_UOM_UPDATE_STATUS_FUN.fulfilled, function (state, action) {
28882
+ }), _defineProperty(_extraReducers$e, To_UOM_UPDATE_STATUS_FUN.fulfilled, function (state, action) {
28856
28883
  state.drug_uom_code_status.loading = false, state.drug_uom_code_status.error = false, state.drug_uom_code_status = action.payload;
28857
- }), _defineProperty(_extraReducers$c, To_UOM_UPDATE_STATUS_FUN.pending, function (state, action) {
28884
+ }), _defineProperty(_extraReducers$e, To_UOM_UPDATE_STATUS_FUN.pending, function (state, action) {
28858
28885
  state.drug_uom_code_status.loading = true, state.drug_uom_code_status.error = false, state.drug_uom_code_status.loading = true;
28859
- }), _defineProperty(_extraReducers$c, To_UOM_UPDATE_STATUS_FUN.rejected, function (state, action) {
28886
+ }), _defineProperty(_extraReducers$e, To_UOM_UPDATE_STATUS_FUN.rejected, function (state, action) {
28860
28887
  state.drug_uom_code_status.loading = false, state.drug_uom_code_status.error = true, state.drug_uom_code_status = action.payload;
28861
- }), _extraReducers$c)
28888
+ }), _extraReducers$e)
28862
28889
  });
28863
28890
  var drugMasterUomActions = {
28864
28891
  DRUG_UOM_READ: DRUG_UOM_READ,
@@ -29043,7 +29070,7 @@ var generateReadJson = {
29043
29070
  }
29044
29071
  };
29045
29072
 
29046
- var _extraReducers$b;
29073
+ var _extraReducers$d;
29047
29074
  var DRUG_FREQUENCY_READ = createAsyncThunk("drugMasterFREQUENCYSlice/drug_frequncy_list", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
29048
29075
  var _ref2,
29049
29076
  rejectWithValue,
@@ -29495,61 +29522,61 @@ var drugMasterFREQUENCYSlice = createSlice({
29495
29522
  drug_uom_freq_status: _objectSpread2({}, defaultState.List),
29496
29523
  drug_freq_read_single_yt: _objectSpread2({}, defaultState.List)
29497
29524
  },
29498
- extraReducers: (_extraReducers$b = {}, _defineProperty(_extraReducers$b, DRUG_FREQUENCY_READ.fulfilled, function (state, action) {
29525
+ extraReducers: (_extraReducers$d = {}, _defineProperty(_extraReducers$d, DRUG_FREQUENCY_READ.fulfilled, function (state, action) {
29499
29526
  state.drug_frequncy_list.loading = false, state.drug_frequncy_list.error = false, state.drug_frequncy_list = action.payload;
29500
- }), _defineProperty(_extraReducers$b, DRUG_FREQUENCY_READ.pending, function (state, action) {
29527
+ }), _defineProperty(_extraReducers$d, DRUG_FREQUENCY_READ.pending, function (state, action) {
29501
29528
  state.drug_frequncy_list.loading = true, state.drug_frequncy_list.error = false, state.drug_frequncy_list.loading = true;
29502
- }), _defineProperty(_extraReducers$b, DRUG_FREQUENCY_READ.rejected, function (state, action) {
29529
+ }), _defineProperty(_extraReducers$d, DRUG_FREQUENCY_READ.rejected, function (state, action) {
29503
29530
  state.drug_frequncy_list.loading = false, state.drug_frequncy_list.error = true, state.drug_frequncy_list = action.payload;
29504
- }), _defineProperty(_extraReducers$b, DRUG_SCHEDULEBY_READ.fulfilled, function (state, action) {
29531
+ }), _defineProperty(_extraReducers$d, DRUG_SCHEDULEBY_READ.fulfilled, function (state, action) {
29505
29532
  state.drug_schedule_list.loading = false, state.drug_schedule_list.error = false, state.drug_schedule_list = action.payload;
29506
- }), _defineProperty(_extraReducers$b, DRUG_SCHEDULEBY_READ.pending, function (state, action) {
29533
+ }), _defineProperty(_extraReducers$d, DRUG_SCHEDULEBY_READ.pending, function (state, action) {
29507
29534
  state.drug_schedule_list.loading = true, state.drug_schedule_list.error = false, state.drug_schedule_list.loading = true;
29508
- }), _defineProperty(_extraReducers$b, DRUG_SCHEDULEBY_READ.rejected, function (state, action) {
29535
+ }), _defineProperty(_extraReducers$d, DRUG_SCHEDULEBY_READ.rejected, function (state, action) {
29509
29536
  state.drug_schedule_list.loading = false, state.drug_schedule_list.error = true, state.drug_schedule_list = action.payload;
29510
- }), _defineProperty(_extraReducers$b, DRUG_FREQUENCY_UOM_READ.fulfilled, function (state, action) {
29537
+ }), _defineProperty(_extraReducers$d, DRUG_FREQUENCY_UOM_READ.fulfilled, function (state, action) {
29511
29538
  state.drug_frequncy_uom_list.loading = false, state.drug_frequncy_uom_list.error = false, state.drug_frequncy_uom_list = action.payload;
29512
- }), _defineProperty(_extraReducers$b, DRUG_FREQUENCY_UOM_READ.pending, function (state, action) {
29539
+ }), _defineProperty(_extraReducers$d, DRUG_FREQUENCY_UOM_READ.pending, function (state, action) {
29513
29540
  state.drug_frequncy_uom_list.loading = true, state.drug_frequncy_uom_list.error = false, state.drug_frequncy_uom_list.loading = true;
29514
- }), _defineProperty(_extraReducers$b, DRUG_FREQUENCY_UOM_READ.rejected, function (state, action) {
29541
+ }), _defineProperty(_extraReducers$d, DRUG_FREQUENCY_UOM_READ.rejected, function (state, action) {
29515
29542
  state.drug_frequncy_uom_list.loading = false, state.drug_frequncy_uom_list.error = true, state.drug_frequncy_uom_list = action.payload;
29516
- }), _defineProperty(_extraReducers$b, DRUG_WEEKDAYS_READ.fulfilled, function (state, action) {
29543
+ }), _defineProperty(_extraReducers$d, DRUG_WEEKDAYS_READ.fulfilled, function (state, action) {
29517
29544
  state.drug_weekdays_list.loading = false, state.drug_weekdays_list.error = false, state.drug_weekdays_list = action.payload;
29518
- }), _defineProperty(_extraReducers$b, DRUG_WEEKDAYS_READ.pending, function (state, action) {
29545
+ }), _defineProperty(_extraReducers$d, DRUG_WEEKDAYS_READ.pending, function (state, action) {
29519
29546
  state.drug_weekdays_list.loading = true, state.drug_weekdays_list.error = false, state.drug_weekdays_list.loading = true;
29520
- }), _defineProperty(_extraReducers$b, DRUG_WEEKDAYS_READ.rejected, function (state, action) {
29547
+ }), _defineProperty(_extraReducers$d, DRUG_WEEKDAYS_READ.rejected, function (state, action) {
29521
29548
  state.drug_weekdays_list.loading = false, state.drug_weekdays_list.error = true, state.drug_weekdays_list = action.payload;
29522
- }), _defineProperty(_extraReducers$b, DRUG_FIXEDDURATIONTYPE_READ.fulfilled, function (state, action) {
29549
+ }), _defineProperty(_extraReducers$d, DRUG_FIXEDDURATIONTYPE_READ.fulfilled, function (state, action) {
29523
29550
  state.drug_fixeddurationType_list.loading = false, state.drug_fixeddurationType_list.error = false, state.drug_fixeddurationType_list = action.payload;
29524
- }), _defineProperty(_extraReducers$b, DRUG_FIXEDDURATIONTYPE_READ.pending, function (state, action) {
29551
+ }), _defineProperty(_extraReducers$d, DRUG_FIXEDDURATIONTYPE_READ.pending, function (state, action) {
29525
29552
  state.drug_fixeddurationType_list.loading = true, state.drug_fixeddurationType_list.error = false, state.drug_fixeddurationType_list.loading = true;
29526
- }), _defineProperty(_extraReducers$b, DRUG_FIXEDDURATIONTYPE_READ.rejected, function (state, action) {
29553
+ }), _defineProperty(_extraReducers$d, DRUG_FIXEDDURATIONTYPE_READ.rejected, function (state, action) {
29527
29554
  state.drug_fixeddurationType_list.loading = false, state.drug_fixeddurationType_list.error = true, state.drug_fixeddurationType_list = action.payload;
29528
- }), _defineProperty(_extraReducers$b, DRUG_FREQUENCYTYPE_READ.fulfilled, function (state, action) {
29555
+ }), _defineProperty(_extraReducers$d, DRUG_FREQUENCYTYPE_READ.fulfilled, function (state, action) {
29529
29556
  state.drug_frequnecyType_list.loading = false, state.drug_frequnecyType_list.error = false, state.drug_frequnecyType_list = action.payload;
29530
- }), _defineProperty(_extraReducers$b, DRUG_FREQUENCYTYPE_READ.pending, function (state, action) {
29557
+ }), _defineProperty(_extraReducers$d, DRUG_FREQUENCYTYPE_READ.pending, function (state, action) {
29531
29558
  state.drug_frequnecyType_list.loading = true, state.drug_frequnecyType_list.error = false, state.drug_frequnecyType_list.loading = true;
29532
- }), _defineProperty(_extraReducers$b, DRUG_FREQUENCYTYPE_READ.rejected, function (state, action) {
29559
+ }), _defineProperty(_extraReducers$d, DRUG_FREQUENCYTYPE_READ.rejected, function (state, action) {
29533
29560
  state.drug_frequnecyType_list.loading = false, state.drug_frequnecyType_list.error = true, state.drug_frequnecyType_list = action.payload;
29534
- }), _defineProperty(_extraReducers$b, UOM_DRUG_FREQ_INSERT.fulfilled, function (state, action) {
29561
+ }), _defineProperty(_extraReducers$d, UOM_DRUG_FREQ_INSERT.fulfilled, function (state, action) {
29535
29562
  state.drug_uom_freq_insert.loading = false, state.drug_uom_freq_insert.error = false, state.drug_uom_freq_insert = action.payload;
29536
- }), _defineProperty(_extraReducers$b, UOM_DRUG_FREQ_INSERT.pending, function (state, action) {
29563
+ }), _defineProperty(_extraReducers$d, UOM_DRUG_FREQ_INSERT.pending, function (state, action) {
29537
29564
  state.drug_uom_freq_insert.loading = true, state.drug_uom_freq_insert.error = false, state.drug_uom_freq_insert.loading = true;
29538
- }), _defineProperty(_extraReducers$b, UOM_DRUG_FREQ_INSERT.rejected, function (state, action) {
29565
+ }), _defineProperty(_extraReducers$d, UOM_DRUG_FREQ_INSERT.rejected, function (state, action) {
29539
29566
  state.drug_uom_freq_insert.loading = false, state.drug_uom_freq_insert.error = true, state.drug_uom_freq_insert = action.payload;
29540
- }), _defineProperty(_extraReducers$b, UOM_DRUG_FREQ_STATUS.fulfilled, function (state, action) {
29567
+ }), _defineProperty(_extraReducers$d, UOM_DRUG_FREQ_STATUS.fulfilled, function (state, action) {
29541
29568
  state.drug_uom_freq_status.loading = false, state.drug_uom_freq_status.error = false, state.drug_uom_freq_status = action.payload;
29542
- }), _defineProperty(_extraReducers$b, UOM_DRUG_FREQ_STATUS.pending, function (state, action) {
29569
+ }), _defineProperty(_extraReducers$d, UOM_DRUG_FREQ_STATUS.pending, function (state, action) {
29543
29570
  state.drug_uom_freq_status.loading = true, state.drug_uom_freq_status.error = false, state.drug_uom_freq_status.loading = true;
29544
- }), _defineProperty(_extraReducers$b, UOM_DRUG_FREQ_STATUS.rejected, function (state, action) {
29571
+ }), _defineProperty(_extraReducers$d, UOM_DRUG_FREQ_STATUS.rejected, function (state, action) {
29545
29572
  state.drug_uom_freq_status.loading = false, state.drug_uom_freq_status.error = true, state.drug_uom_freq_status = action.payload;
29546
- }), _defineProperty(_extraReducers$b, DRUG_FREQ_READ_SINGLE.fulfilled, function (state, action) {
29573
+ }), _defineProperty(_extraReducers$d, DRUG_FREQ_READ_SINGLE.fulfilled, function (state, action) {
29547
29574
  state.drug_freq_read_single_yt.loading = false, state.drug_freq_read_single_yt.error = false, state.drug_freq_read_single_yt = action.payload;
29548
- }), _defineProperty(_extraReducers$b, DRUG_FREQ_READ_SINGLE.pending, function (state, action) {
29575
+ }), _defineProperty(_extraReducers$d, DRUG_FREQ_READ_SINGLE.pending, function (state, action) {
29549
29576
  state.drug_freq_read_single_yt.loading = true, state.drug_freq_read_single_yt.error = false, state.drug_freq_read_single_yt.loading = true;
29550
- }), _defineProperty(_extraReducers$b, DRUG_FREQ_READ_SINGLE.rejected, function (state, action) {
29577
+ }), _defineProperty(_extraReducers$d, DRUG_FREQ_READ_SINGLE.rejected, function (state, action) {
29551
29578
  state.drug_freq_read_single_yt.loading = false, state.drug_freq_read_single_yt.error = true, state.drug_freq_read_single_yt = action.payload;
29552
- }), _extraReducers$b)
29579
+ }), _extraReducers$d)
29553
29580
  });
29554
29581
  var drugMasterFrequencyActions = {
29555
29582
  DRUG_FREQUENCY_READ: DRUG_FREQUENCY_READ,
@@ -30003,7 +30030,7 @@ var constructChildrenTabelData = function constructChildrenTabelData(data, paren
30003
30030
  return arr_;
30004
30031
  };
30005
30032
 
30006
- var _extraReducers$a;
30033
+ var _extraReducers$c;
30007
30034
  var fileds$2 = ["orderCategory", //"orderDrugType",
30008
30035
  //"orderDrugCatalog",
30009
30036
  //"commonUOM",
@@ -30675,79 +30702,79 @@ var orderSetMasterSlice = createSlice({
30675
30702
  order_set_upsert: _objectSpread2({}, defaultState.List),
30676
30703
  order_set_component_delete: _objectSpread2({}, defaultState.List)
30677
30704
  },
30678
- extraReducers: (_extraReducers$a = {}, _defineProperty(_extraReducers$a, DELETE_ORDER_SET_COMPONENT.fulfilled, function (state, action) {
30705
+ extraReducers: (_extraReducers$c = {}, _defineProperty(_extraReducers$c, DELETE_ORDER_SET_COMPONENT.fulfilled, function (state, action) {
30679
30706
  state.order_set_component_delete.loading = false, state.order_set_component_delete.error = false, state.order_set_component_delete = action.payload;
30680
- }), _defineProperty(_extraReducers$a, DELETE_ORDER_SET_COMPONENT.pending, function (state, action) {
30707
+ }), _defineProperty(_extraReducers$c, DELETE_ORDER_SET_COMPONENT.pending, function (state, action) {
30681
30708
  state.order_set_component_delete.loading = true, state.order_set_component_delete.error = false, state.order_set_component_delete.loading = true;
30682
- }), _defineProperty(_extraReducers$a, DELETE_ORDER_SET_COMPONENT.rejected, function (state, action) {
30709
+ }), _defineProperty(_extraReducers$c, DELETE_ORDER_SET_COMPONENT.rejected, function (state, action) {
30683
30710
  state.order_set_component_delete.loading = false, state.order_set_component_delete.error = true, state.order_set_component_delete = action.payload;
30684
- }), _defineProperty(_extraReducers$a, GET_ORDER_SET_LIST.fulfilled, function (state, action) {
30711
+ }), _defineProperty(_extraReducers$c, GET_ORDER_SET_LIST.fulfilled, function (state, action) {
30685
30712
  state.order_set_master_list.loading = false, state.order_set_master_list.error = false, state.order_set_master_list = action.payload;
30686
- }), _defineProperty(_extraReducers$a, GET_ORDER_SET_LIST.pending, function (state, action) {
30713
+ }), _defineProperty(_extraReducers$c, GET_ORDER_SET_LIST.pending, function (state, action) {
30687
30714
  state.order_set_master_list.loading = true, state.order_set_master_list.error = false, state.order_set_master_list.loading = true;
30688
- }), _defineProperty(_extraReducers$a, GET_ORDER_SET_LIST.rejected, function (state, action) {
30715
+ }), _defineProperty(_extraReducers$c, GET_ORDER_SET_LIST.rejected, function (state, action) {
30689
30716
  state.order_set_master_list.loading = false, state.order_set_master_list.error = true, state.order_set_master_list = action.payload;
30690
- }), _defineProperty(_extraReducers$a, ORDER_SET_SINGLE_READ.fulfilled, function (state, action) {
30717
+ }), _defineProperty(_extraReducers$c, ORDER_SET_SINGLE_READ.fulfilled, function (state, action) {
30691
30718
  state.order_set_single_read.loading = false, state.order_set_single_read.error = false, state.order_set_single_read = action.payload;
30692
- }), _defineProperty(_extraReducers$a, ORDER_SET_SINGLE_READ.pending, function (state, action) {
30719
+ }), _defineProperty(_extraReducers$c, ORDER_SET_SINGLE_READ.pending, function (state, action) {
30693
30720
  state.order_set_single_read.loading = true, state.order_set_single_read.error = false, state.order_set_single_read.loading = true;
30694
- }), _defineProperty(_extraReducers$a, ORDER_SET_SINGLE_READ.rejected, function (state, action) {
30721
+ }), _defineProperty(_extraReducers$c, ORDER_SET_SINGLE_READ.rejected, function (state, action) {
30695
30722
  state.order_set_single_read.loading = false, state.order_set_single_read.error = true, state.order_set_single_read = action.payload;
30696
- }), _defineProperty(_extraReducers$a, ORDER_SET_MASTER_STATUS_CHANGE.fulfilled, function (state, action) {
30723
+ }), _defineProperty(_extraReducers$c, ORDER_SET_MASTER_STATUS_CHANGE.fulfilled, function (state, action) {
30697
30724
  state.order_set_master_status_change.loading = false, state.order_set_master_status_change.error = false, state.order_set_master_status_change = action.payload;
30698
- }), _defineProperty(_extraReducers$a, ORDER_SET_MASTER_STATUS_CHANGE.pending, function (state, action) {
30725
+ }), _defineProperty(_extraReducers$c, ORDER_SET_MASTER_STATUS_CHANGE.pending, function (state, action) {
30699
30726
  state.order_set_master_status_change.loading = true, state.order_set_master_status_change.error = false, state.order_set_master_status_change.loading = true;
30700
- }), _defineProperty(_extraReducers$a, ORDER_SET_MASTER_STATUS_CHANGE.rejected, function (state, action) {
30727
+ }), _defineProperty(_extraReducers$c, ORDER_SET_MASTER_STATUS_CHANGE.rejected, function (state, action) {
30701
30728
  state.order_set_master_status_change.loading = false, state.order_set_master_status_change.error = true, state.order_set_master_status_change = action.payload;
30702
- }), _defineProperty(_extraReducers$a, ORDER_SET_MASTER_MASTER.fulfilled, function (state, action) {
30729
+ }), _defineProperty(_extraReducers$c, ORDER_SET_MASTER_MASTER.fulfilled, function (state, action) {
30703
30730
  state.order_set_masters.loading = false, state.order_set_masters.error = false, state.order_set_masters = action.payload;
30704
- }), _defineProperty(_extraReducers$a, ORDER_SET_MASTER_MASTER.pending, function (state, action) {
30731
+ }), _defineProperty(_extraReducers$c, ORDER_SET_MASTER_MASTER.pending, function (state, action) {
30705
30732
  state.order_set_masters.loading = true, state.order_set_masters.error = false, state.order_set_masters.loading = true;
30706
- }), _defineProperty(_extraReducers$a, ORDER_SET_MASTER_MASTER.rejected, function (state, action) {
30733
+ }), _defineProperty(_extraReducers$c, ORDER_SET_MASTER_MASTER.rejected, function (state, action) {
30707
30734
  state.order_set_masters.loading = false, state.order_set_masters.error = true, state.order_set_masters = action.payload;
30708
- }), _defineProperty(_extraReducers$a, ORDER__MASTER.fulfilled, function (state, action) {
30735
+ }), _defineProperty(_extraReducers$c, ORDER__MASTER.fulfilled, function (state, action) {
30709
30736
  state.order__masters.loading = false, state.order__masters.error = false, state.order__masters = action.payload;
30710
- }), _defineProperty(_extraReducers$a, ORDER__MASTER.pending, function (state, action) {
30737
+ }), _defineProperty(_extraReducers$c, ORDER__MASTER.pending, function (state, action) {
30711
30738
  state.order__masters.loading = true, state.order__masters.error = false, state.order__masters.loading = true;
30712
- }), _defineProperty(_extraReducers$a, ORDER__MASTER.rejected, function (state, action) {
30739
+ }), _defineProperty(_extraReducers$c, ORDER__MASTER.rejected, function (state, action) {
30713
30740
  state.order__masters.loading = false, state.order__masters.error = true, state.order__masters = action.payload;
30714
- }), _defineProperty(_extraReducers$a, DRUG__MASTER.fulfilled, function (state, action) {
30741
+ }), _defineProperty(_extraReducers$c, DRUG__MASTER.fulfilled, function (state, action) {
30715
30742
  state.drug__masters.loading = false, state.drug__masters.error = false, state.drug__masters = action.payload;
30716
- }), _defineProperty(_extraReducers$a, DRUG__MASTER.pending, function (state, action) {
30743
+ }), _defineProperty(_extraReducers$c, DRUG__MASTER.pending, function (state, action) {
30717
30744
  state.drug__masters.loading = true, state.drug__masters.error = false, state.drug__masters.loading = true;
30718
- }), _defineProperty(_extraReducers$a, DRUG__MASTER.rejected, function (state, action) {
30745
+ }), _defineProperty(_extraReducers$c, DRUG__MASTER.rejected, function (state, action) {
30719
30746
  state.drug__masters.loading = false, state.drug__masters.error = true, state.drug__masters = action.payload;
30720
- }), _defineProperty(_extraReducers$a, ORDER__CATALOG_MASTER.fulfilled, function (state, action) {
30747
+ }), _defineProperty(_extraReducers$c, ORDER__CATALOG_MASTER.fulfilled, function (state, action) {
30721
30748
  state.order__catalog_masters.loading = false, state.order__catalog_masters.error = false, state.order__catalog_masters = action.payload;
30722
- }), _defineProperty(_extraReducers$a, ORDER__CATALOG_MASTER.pending, function (state, action) {
30749
+ }), _defineProperty(_extraReducers$c, ORDER__CATALOG_MASTER.pending, function (state, action) {
30723
30750
  state.order__catalog_masters.loading = true, state.order__catalog_masters.error = false, state.order__catalog_masters.loading = true;
30724
- }), _defineProperty(_extraReducers$a, ORDER__CATALOG_MASTER.rejected, function (state, action) {
30751
+ }), _defineProperty(_extraReducers$c, ORDER__CATALOG_MASTER.rejected, function (state, action) {
30725
30752
  state.order__catalog_masters.loading = false, state.order__catalog_masters.error = true, state.order__catalog_masters = action.payload;
30726
- }), _defineProperty(_extraReducers$a, DRUG__CATALOG_MASTER.fulfilled, function (state, action) {
30753
+ }), _defineProperty(_extraReducers$c, DRUG__CATALOG_MASTER.fulfilled, function (state, action) {
30727
30754
  state.drug__catalog_masters.loading = false, state.drug__catalog_masters.error = false, state.drug__catalog_masters = action.payload;
30728
- }), _defineProperty(_extraReducers$a, DRUG__CATALOG_MASTER.pending, function (state, action) {
30755
+ }), _defineProperty(_extraReducers$c, DRUG__CATALOG_MASTER.pending, function (state, action) {
30729
30756
  state.drug__catalog_masters.loading = true, state.drug__catalog_masters.error = false, state.drug__catalog_masters.loading = true;
30730
- }), _defineProperty(_extraReducers$a, DRUG__CATALOG_MASTER.rejected, function (state, action) {
30757
+ }), _defineProperty(_extraReducers$c, DRUG__CATALOG_MASTER.rejected, function (state, action) {
30731
30758
  state.drug__catalog_masters.loading = false, state.drug__catalog_masters.error = true, state.drug__catalog_masters = action.payload;
30732
- }), _defineProperty(_extraReducers$a, ORDER_CATEGORY_MASTER.fulfilled, function (state, action) {
30759
+ }), _defineProperty(_extraReducers$c, ORDER_CATEGORY_MASTER.fulfilled, function (state, action) {
30733
30760
  state.order_category_masters.loading = false, state.order_category_masters.error = false, state.order_category_masters = action.payload;
30734
- }), _defineProperty(_extraReducers$a, ORDER_CATEGORY_MASTER.pending, function (state, action) {
30761
+ }), _defineProperty(_extraReducers$c, ORDER_CATEGORY_MASTER.pending, function (state, action) {
30735
30762
  state.order_category_masters.loading = true, state.order_category_masters.error = false, state.order_category_masters.loading = true;
30736
- }), _defineProperty(_extraReducers$a, ORDER_CATEGORY_MASTER.rejected, function (state, action) {
30763
+ }), _defineProperty(_extraReducers$c, ORDER_CATEGORY_MASTER.rejected, function (state, action) {
30737
30764
  state.order_category_masters.loading = false, state.order_category_masters.error = true, state.order_category_masters = action.payload;
30738
- }), _defineProperty(_extraReducers$a, ORDER_CATEGORY_MASTER.fulfilled, function (state, action) {
30765
+ }), _defineProperty(_extraReducers$c, ORDER_CATEGORY_MASTER.fulfilled, function (state, action) {
30739
30766
  state.order_category_masters.loading = false, state.order_category_masters.error = false, state.order_category_masters = action.payload;
30740
- }), _defineProperty(_extraReducers$a, ORDER_CATEGORY_MASTER.pending, function (state, action) {
30767
+ }), _defineProperty(_extraReducers$c, ORDER_CATEGORY_MASTER.pending, function (state, action) {
30741
30768
  state.order_category_masters.loading = true, state.order_category_masters.error = false, state.order_category_masters.loading = true;
30742
- }), _defineProperty(_extraReducers$a, ORDER_CATEGORY_MASTER.rejected, function (state, action) {
30769
+ }), _defineProperty(_extraReducers$c, ORDER_CATEGORY_MASTER.rejected, function (state, action) {
30743
30770
  state.order_category_masters.loading = false, state.order_category_masters.error = true, state.order_category_masters = action.payload;
30744
- }), _defineProperty(_extraReducers$a, UPSERT_ORDER_SET.fulfilled, function (state, action) {
30771
+ }), _defineProperty(_extraReducers$c, UPSERT_ORDER_SET.fulfilled, function (state, action) {
30745
30772
  state.order_set_upsert.loading = false, state.order_set_upsert.error = false, state.order_set_upsert = action.payload;
30746
- }), _defineProperty(_extraReducers$a, UPSERT_ORDER_SET.pending, function (state, action) {
30773
+ }), _defineProperty(_extraReducers$c, UPSERT_ORDER_SET.pending, function (state, action) {
30747
30774
  state.order_set_upsert.loading = true, state.order_set_upsert.error = false, state.order_set_upsert.loading = true;
30748
- }), _defineProperty(_extraReducers$a, UPSERT_ORDER_SET.rejected, function (state, action) {
30775
+ }), _defineProperty(_extraReducers$c, UPSERT_ORDER_SET.rejected, function (state, action) {
30749
30776
  state.order_set_upsert.loading = false, state.order_set_upsert.error = true, state.order_set_upsert = action.payload;
30750
- }), _extraReducers$a)
30777
+ }), _extraReducers$c)
30751
30778
  });
30752
30779
  var orderSetMasterActions = {
30753
30780
  GET_ORDER_SET_LIST: GET_ORDER_SET_LIST,
@@ -31002,7 +31029,7 @@ var generateSingleReadJSON = function generateSingleReadJSON(data) {
31002
31029
  return obj;
31003
31030
  };
31004
31031
 
31005
- var _extraReducers$9;
31032
+ var _extraReducers$b;
31006
31033
  var fileds$1 = [//"facilityName",
31007
31034
  "speciality", "practitionerType", //"codeSet",
31008
31035
  "locationType"];
@@ -31572,61 +31599,61 @@ var orderSetApplicabilitySlice = createSlice({
31572
31599
  order_set_app_location: _objectSpread2({}, defaultState.List),
31573
31600
  order_set_applicability_upsert: _objectSpread2({}, defaultState.List)
31574
31601
  },
31575
- extraReducers: (_extraReducers$9 = {}, _defineProperty(_extraReducers$9, GET_ORDER_SET_APPLICABILITY_LIST.fulfilled, function (state, action) {
31602
+ extraReducers: (_extraReducers$b = {}, _defineProperty(_extraReducers$b, GET_ORDER_SET_APPLICABILITY_LIST.fulfilled, function (state, action) {
31576
31603
  state.order_set_applicability_list.loading = false, state.order_set_applicability_list.error = false, state.order_set_applicability_list = action.payload;
31577
- }), _defineProperty(_extraReducers$9, GET_ORDER_SET_APPLICABILITY_LIST.pending, function (state, action) {
31604
+ }), _defineProperty(_extraReducers$b, GET_ORDER_SET_APPLICABILITY_LIST.pending, function (state, action) {
31578
31605
  state.order_set_applicability_list.loading = true, state.order_set_applicability_list.error = false, state.order_set_applicability_list.loading = true;
31579
- }), _defineProperty(_extraReducers$9, GET_ORDER_SET_APPLICABILITY_LIST.rejected, function (state, action) {
31606
+ }), _defineProperty(_extraReducers$b, GET_ORDER_SET_APPLICABILITY_LIST.rejected, function (state, action) {
31580
31607
  state.order_set_applicability_list.loading = false, state.order_set_applicability_list.error = true, state.order_set_applicability_list = action.payload;
31581
- }), _defineProperty(_extraReducers$9, GET_ORDER_SET_APPLICABILITY_SINGLE_READ.fulfilled, function (state, action) {
31608
+ }), _defineProperty(_extraReducers$b, GET_ORDER_SET_APPLICABILITY_SINGLE_READ.fulfilled, function (state, action) {
31582
31609
  state.order_set_applicability_single_read.loading = false, state.order_set_applicability_single_read.error = false, state.order_set_applicability_single_read = action.payload;
31583
- }), _defineProperty(_extraReducers$9, GET_ORDER_SET_APPLICABILITY_SINGLE_READ.pending, function (state, action) {
31610
+ }), _defineProperty(_extraReducers$b, GET_ORDER_SET_APPLICABILITY_SINGLE_READ.pending, function (state, action) {
31584
31611
  state.order_set_applicability_single_read.loading = true, state.order_set_applicability_single_read.error = false, state.order_set_applicability_single_read.loading = true;
31585
- }), _defineProperty(_extraReducers$9, GET_ORDER_SET_APPLICABILITY_SINGLE_READ.rejected, function (state, action) {
31612
+ }), _defineProperty(_extraReducers$b, GET_ORDER_SET_APPLICABILITY_SINGLE_READ.rejected, function (state, action) {
31586
31613
  state.order_set_applicability_single_read.loading = false, state.order_set_applicability_single_read.error = true, state.order_set_applicability_single_read = action.payload;
31587
- }), _defineProperty(_extraReducers$9, ORDER_SET_APPLICABILITY_MASTER.fulfilled, function (state, action) {
31614
+ }), _defineProperty(_extraReducers$b, ORDER_SET_APPLICABILITY_MASTER.fulfilled, function (state, action) {
31588
31615
  state.order_set_applicability_master.loading = false, state.order_set_applicability_master.error = false, state.order_set_applicability_master = action.payload;
31589
- }), _defineProperty(_extraReducers$9, ORDER_SET_APPLICABILITY_MASTER.pending, function (state, action) {
31616
+ }), _defineProperty(_extraReducers$b, ORDER_SET_APPLICABILITY_MASTER.pending, function (state, action) {
31590
31617
  state.order_set_applicability_master.loading = true, state.order_set_applicability_master.error = false, state.order_set_applicability_master.loading = true;
31591
- }), _defineProperty(_extraReducers$9, ORDER_SET_APPLICABILITY_MASTER.rejected, function (state, action) {
31618
+ }), _defineProperty(_extraReducers$b, ORDER_SET_APPLICABILITY_MASTER.rejected, function (state, action) {
31592
31619
  state.order_set_applicability_master.loading = false, state.order_set_applicability_master.error = true, state.order_set_applicability_master = action.payload;
31593
- }), _defineProperty(_extraReducers$9, DELETE_ORDER_SET_APPLICABILITY.fulfilled, function (state, action) {
31620
+ }), _defineProperty(_extraReducers$b, DELETE_ORDER_SET_APPLICABILITY.fulfilled, function (state, action) {
31594
31621
  state.order_set_applicability_delete.loading = false, state.order_set_applicability_delete.error = false, state.order_set_applicability_delete = action.payload;
31595
- }), _defineProperty(_extraReducers$9, DELETE_ORDER_SET_APPLICABILITY.pending, function (state, action) {
31622
+ }), _defineProperty(_extraReducers$b, DELETE_ORDER_SET_APPLICABILITY.pending, function (state, action) {
31596
31623
  state.order_set_applicability_delete.loading = true, state.order_set_applicability_delete.error = false, state.order_set_applicability_delete.loading = true;
31597
- }), _defineProperty(_extraReducers$9, DELETE_ORDER_SET_APPLICABILITY.rejected, function (state, action) {
31624
+ }), _defineProperty(_extraReducers$b, DELETE_ORDER_SET_APPLICABILITY.rejected, function (state, action) {
31598
31625
  state.order_set_applicability_delete.loading = false, state.order_set_applicability_delete.error = true, state.order_set_applicability_delete = action.payload;
31599
- }), _defineProperty(_extraReducers$9, ORDER_SET_APP_PRACTITIONER.fulfilled, function (state, action) {
31626
+ }), _defineProperty(_extraReducers$b, ORDER_SET_APP_PRACTITIONER.fulfilled, function (state, action) {
31600
31627
  state.order_set_app_practitioner.loading = false, state.order_set_app_practitioner.error = false, state.order_set_app_practitioner = action.payload;
31601
- }), _defineProperty(_extraReducers$9, ORDER_SET_APP_PRACTITIONER.pending, function (state, action) {
31628
+ }), _defineProperty(_extraReducers$b, ORDER_SET_APP_PRACTITIONER.pending, function (state, action) {
31602
31629
  state.order_set_app_practitioner.loading = true, state.order_set_app_practitioner.error = false, state.order_set_app_practitioner.loading = true;
31603
- }), _defineProperty(_extraReducers$9, ORDER_SET_APP_PRACTITIONER.rejected, function (state, action) {
31630
+ }), _defineProperty(_extraReducers$b, ORDER_SET_APP_PRACTITIONER.rejected, function (state, action) {
31604
31631
  state.order_set_app_practitioner.loading = false, state.order_set_app_practitioner.error = true, state.order_set_app_practitioner = action.payload;
31605
- }), _defineProperty(_extraReducers$9, ORDER_SET_APP_DIAGNOSIS_GROUP.fulfilled, function (state, action) {
31632
+ }), _defineProperty(_extraReducers$b, ORDER_SET_APP_DIAGNOSIS_GROUP.fulfilled, function (state, action) {
31606
31633
  state.order_set_app_diagnosis_group.loading = false, state.order_set_app_diagnosis_group.error = false, state.order_set_app_diagnosis_group = action.payload;
31607
- }), _defineProperty(_extraReducers$9, ORDER_SET_APP_DIAGNOSIS_GROUP.pending, function (state, action) {
31634
+ }), _defineProperty(_extraReducers$b, ORDER_SET_APP_DIAGNOSIS_GROUP.pending, function (state, action) {
31608
31635
  state.order_set_app_diagnosis_group.loading = true, state.order_set_app_diagnosis_group.error = false, state.order_set_app_diagnosis_group.loading = true;
31609
- }), _defineProperty(_extraReducers$9, ORDER_SET_APP_DIAGNOSIS_GROUP.rejected, function (state, action) {
31636
+ }), _defineProperty(_extraReducers$b, ORDER_SET_APP_DIAGNOSIS_GROUP.rejected, function (state, action) {
31610
31637
  state.order_set_app_diagnosis_group.loading = false, state.order_set_app_diagnosis_group.error = true, state.order_set_app_diagnosis_group = action.payload;
31611
- }), _defineProperty(_extraReducers$9, ORDER_SET_APP_DIAGNOSIS_CODE.fulfilled, function (state, action) {
31638
+ }), _defineProperty(_extraReducers$b, ORDER_SET_APP_DIAGNOSIS_CODE.fulfilled, function (state, action) {
31612
31639
  state.order_set_app_diagnosis_code.loading = false, state.order_set_app_diagnosis_code.error = false, state.order_set_app_diagnosis_code = action.payload;
31613
- }), _defineProperty(_extraReducers$9, ORDER_SET_APP_DIAGNOSIS_CODE.pending, function (state, action) {
31640
+ }), _defineProperty(_extraReducers$b, ORDER_SET_APP_DIAGNOSIS_CODE.pending, function (state, action) {
31614
31641
  state.order_set_app_diagnosis_code.loading = true, state.order_set_app_diagnosis_code.error = false, state.order_set_app_diagnosis_code.loading = true;
31615
- }), _defineProperty(_extraReducers$9, ORDER_SET_APP_DIAGNOSIS_CODE.rejected, function (state, action) {
31642
+ }), _defineProperty(_extraReducers$b, ORDER_SET_APP_DIAGNOSIS_CODE.rejected, function (state, action) {
31616
31643
  state.order_set_app_diagnosis_code.loading = false, state.order_set_app_diagnosis_code.error = true, state.order_set_app_diagnosis_code = action.payload;
31617
- }), _defineProperty(_extraReducers$9, ORDER_SET_APP_LOCATION.fulfilled, function (state, action) {
31644
+ }), _defineProperty(_extraReducers$b, ORDER_SET_APP_LOCATION.fulfilled, function (state, action) {
31618
31645
  state.order_set_app_location.loading = false, state.order_set_app_location.error = false, state.order_set_app_location = action.payload;
31619
- }), _defineProperty(_extraReducers$9, ORDER_SET_APP_LOCATION.pending, function (state, action) {
31646
+ }), _defineProperty(_extraReducers$b, ORDER_SET_APP_LOCATION.pending, function (state, action) {
31620
31647
  state.order_set_app_location.loading = true, state.order_set_app_location.error = false, state.order_set_app_location.loading = true;
31621
- }), _defineProperty(_extraReducers$9, ORDER_SET_APP_LOCATION.rejected, function (state, action) {
31648
+ }), _defineProperty(_extraReducers$b, ORDER_SET_APP_LOCATION.rejected, function (state, action) {
31622
31649
  state.order_set_app_location.loading = false, state.order_set_app_location.error = true, state.order_set_app_location = action.payload;
31623
- }), _defineProperty(_extraReducers$9, ORDER_SET_APPLICABILITY_UPSERT.fulfilled, function (state, action) {
31650
+ }), _defineProperty(_extraReducers$b, ORDER_SET_APPLICABILITY_UPSERT.fulfilled, function (state, action) {
31624
31651
  state.order_set_applicability_upsert.loading = false, state.order_set_applicability_upsert.error = false, state.order_set_applicability_upsert = action.payload;
31625
- }), _defineProperty(_extraReducers$9, ORDER_SET_APPLICABILITY_UPSERT.pending, function (state, action) {
31652
+ }), _defineProperty(_extraReducers$b, ORDER_SET_APPLICABILITY_UPSERT.pending, function (state, action) {
31626
31653
  state.order_set_applicability_upsert.loading = true, state.order_set_applicability_upsert.error = false, state.order_set_applicability_upsert.loading = true;
31627
- }), _defineProperty(_extraReducers$9, ORDER_SET_APPLICABILITY_UPSERT.rejected, function (state, action) {
31654
+ }), _defineProperty(_extraReducers$b, ORDER_SET_APPLICABILITY_UPSERT.rejected, function (state, action) {
31628
31655
  state.order_set_applicability_upsert.loading = false, state.order_set_applicability_upsert.error = true, state.order_set_applicability_upsert = action.payload;
31629
- }), _extraReducers$9)
31656
+ }), _extraReducers$b)
31630
31657
  });
31631
31658
  var orderSetApplicabilityActions = {
31632
31659
  GET_ORDER_SET_APPLICABILITY_LIST: GET_ORDER_SET_APPLICABILITY_LIST,
@@ -31730,7 +31757,7 @@ var masterQuery = {
31730
31757
  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 }")
31731
31758
  };
31732
31759
 
31733
- var _extraReducers$8;
31760
+ var _extraReducers$a;
31734
31761
  var fileds = ["allergyTypeIndicator", "conceptIdType", "extSystemSourceId"];
31735
31762
 
31736
31763
  var loopMasters$1 = function loopMasters() {
@@ -32024,31 +32051,31 @@ var allergenMasterSlice = createSlice({
32024
32051
  save_allergen_master: _objectSpread2({}, defaultState.Info),
32025
32052
  update_allergen_master_status: _objectSpread2({}, defaultState.Info)
32026
32053
  },
32027
- extraReducers: (_extraReducers$8 = {}, _defineProperty(_extraReducers$8, GET_ALLERGEN_MASTER.fulfilled, function (state, action) {
32054
+ extraReducers: (_extraReducers$a = {}, _defineProperty(_extraReducers$a, GET_ALLERGEN_MASTER.fulfilled, function (state, action) {
32028
32055
  state.allergen_master_list.loading = false, state.allergen_master_list.error = false, state.allergen_master_list = action.payload;
32029
- }), _defineProperty(_extraReducers$8, GET_ALLERGEN_MASTER.pending, function (state, action) {
32056
+ }), _defineProperty(_extraReducers$a, GET_ALLERGEN_MASTER.pending, function (state, action) {
32030
32057
  state.allergen_master_list.loading = true, state.allergen_master_list.error = false, state.allergen_master_list.loading = true;
32031
- }), _defineProperty(_extraReducers$8, GET_ALLERGEN_MASTER.rejected, function (state, action) {
32058
+ }), _defineProperty(_extraReducers$a, GET_ALLERGEN_MASTER.rejected, function (state, action) {
32032
32059
  state.allergen_master_list.loading = false, state.allergen_master_list.error = true, state.allergen_master_list = action.payload;
32033
- }), _defineProperty(_extraReducers$8, ALLERGEN_MASTER_MASTER.fulfilled, function (state, action) {
32060
+ }), _defineProperty(_extraReducers$a, ALLERGEN_MASTER_MASTER.fulfilled, function (state, action) {
32034
32061
  state.allergen_master_master.loading = false, state.allergen_master_master.error = false, state.allergen_master_master = action.payload;
32035
- }), _defineProperty(_extraReducers$8, ALLERGEN_MASTER_MASTER.pending, function (state, action) {
32062
+ }), _defineProperty(_extraReducers$a, ALLERGEN_MASTER_MASTER.pending, function (state, action) {
32036
32063
  state.allergen_master_master.loading = true, state.allergen_master_master.error = false, state.allergen_master_master.loading = true;
32037
- }), _defineProperty(_extraReducers$8, ALLERGEN_MASTER_MASTER.rejected, function (state, action) {
32064
+ }), _defineProperty(_extraReducers$a, ALLERGEN_MASTER_MASTER.rejected, function (state, action) {
32038
32065
  state.allergen_master_master.loading = false, state.allergen_master_master.error = true, state.allergen_master_master = action.payload;
32039
- }), _defineProperty(_extraReducers$8, UPSERT_ALLERGEN_MASTER.fulfilled, function (state, action) {
32066
+ }), _defineProperty(_extraReducers$a, UPSERT_ALLERGEN_MASTER.fulfilled, function (state, action) {
32040
32067
  state.save_allergen_master.loading = false, state.save_allergen_master.error = false, state.save_allergen_master = action.payload;
32041
- }), _defineProperty(_extraReducers$8, UPSERT_ALLERGEN_MASTER.pending, function (state, action) {
32068
+ }), _defineProperty(_extraReducers$a, UPSERT_ALLERGEN_MASTER.pending, function (state, action) {
32042
32069
  state.save_allergen_master.loading = true, state.save_allergen_master.error = false, state.save_allergen_master.loading = true;
32043
- }), _defineProperty(_extraReducers$8, UPSERT_ALLERGEN_MASTER.rejected, function (state, action) {
32070
+ }), _defineProperty(_extraReducers$a, UPSERT_ALLERGEN_MASTER.rejected, function (state, action) {
32044
32071
  state.save_allergen_master.loading = false, state.save_allergen_master.error = true, state.save_allergen_master = action.payload;
32045
- }), _defineProperty(_extraReducers$8, UPDATE_ALLERGEN_MASTER_STATUS.fulfilled, function (state, action) {
32072
+ }), _defineProperty(_extraReducers$a, UPDATE_ALLERGEN_MASTER_STATUS.fulfilled, function (state, action) {
32046
32073
  state.update_allergen_master_status.loading = false, state.update_allergen_master_status.error = false, state.update_allergen_master_status = action.payload;
32047
- }), _defineProperty(_extraReducers$8, UPDATE_ALLERGEN_MASTER_STATUS.pending, function (state, action) {
32074
+ }), _defineProperty(_extraReducers$a, UPDATE_ALLERGEN_MASTER_STATUS.pending, function (state, action) {
32048
32075
  state.update_allergen_master_status.loading = true, state.update_allergen_master_status.error = false, state.update_allergen_master_status.loading = true;
32049
- }), _defineProperty(_extraReducers$8, UPDATE_ALLERGEN_MASTER_STATUS.rejected, function (state, action) {
32076
+ }), _defineProperty(_extraReducers$a, UPDATE_ALLERGEN_MASTER_STATUS.rejected, function (state, action) {
32050
32077
  state.update_allergen_master_status.loading = false, state.update_allergen_master_status.error = true, state.update_allergen_master_status = action.payload;
32051
- }), _extraReducers$8)
32078
+ }), _extraReducers$a)
32052
32079
  });
32053
32080
  var allergenMasterActions = {
32054
32081
  GET_ALLERGEN_MASTER: GET_ALLERGEN_MASTER,
@@ -32058,80 +32085,1131 @@ var allergenMasterActions = {
32058
32085
  };
32059
32086
  var allergenMasterSlice$1 = allergenMasterSlice.reducer;
32060
32087
 
32061
- var query$2 = {
32062
- diagnosisList: function diagnosisList(level, code) {
32063
- // "db_name": `${dbName}`,
32064
- // "filter": {
32065
- // "icdcode": code??"",
32066
- // "parentlvnum": parentvl,
32067
- // "childlvnum": childvl
32068
- // },
32069
- // "queryid": "9fabdc11-1864-432d-9916-bf36c5d9cc57"
32070
- // }
32071
-
32088
+ var flexQuery = {
32089
+ attributeTypeDropDown: "{\n \"db_name\": \"".concat(dbName, "\",\n \"entity\": \"CodingMaster\",\n \"filter\": \"CodingMaster.Type=='FLEXDATATYPE' && CodingMaster.activestatus==true && CodingMaster.status==true\",\n \"return_fields\": \"KEEP(CodingMaster,'_id','id','_key','code','display','Type','status')\",\n \"sort\": \"CodingMaster.display\"\n }"),
32090
+ numUomDropDown: "{\n \"db_name\":\"".concat(dbName, "\",\n \"entity\": \"CodingMaster\",\n \"filter\": \"CodingMaster.Type=='UOM' && CodingMaster.activestatus==true && CodingMaster.status==true\",\n \"return_fields\": \"KEEP(CodingMaster,'_id','id','_key','code','display','Type','status')\",\n \"sort\": \"CodingMaster.display\"\n }"),
32091
+ flexAttributeFullRead: "{\n \"db_name\": \"".concat(dbName, "\",\n \"entity\": \"CA_OrderAttribMaster\",\n \"filter\": \"CA_OrderAttribMaster.activestatus==true\",\n \"limit\": {\n \"offset\": \"page\",\n \"count\": \"perpage\",\n },\n \"return_fields\": \"merge(CA_OrderAttribMaster,{attribtype:document(CA_OrderAttribMaster.attribtype).display},{attribnumUOM:to_array(document(CA_OrderAttribMaster.attribnumUOM).display)})\"\n }"),
32092
+ flexAttrFullRead: function flexAttrFullRead(page, perpage, search) {
32072
32093
  return {
32073
- "db_name": "".concat(dbName),
32074
- "entity": "Diagnosis",
32075
- "filter": "Diagnosis.levelnumber == -1 && Diagnosis.activestatus == true",
32076
- "return_fields": "Diagnosis",
32077
- "sort": "Diagnosis.icdname"
32078
- };
32079
- },
32080
- diagnosisListChild: function diagnosisListChild(level, code) {
32081
- var childvl = level + 1;
32082
- return {
32083
- "db_name": "".concat(dbName),
32084
- "entity": "Diagnosis",
32085
- "filter": "Diagnosis.parenticdcode=='".concat(code, "' && Diagnosis.levelnumber == ").concat(childvl, " && Diagnosis.activestatus==true"),
32086
- "return_fields": "Diagnosis",
32087
- "sort": "Diagnosis.icdname"
32094
+ db_name: dbName,
32095
+ entity: "CA_OrderAttribMaster",
32096
+ filter: "(like (CA_OrderAttribMaster.attribcode,'%".concat(search, "%',true)) && CA_OrderAttribMaster.activestatus==true"),
32097
+ limit: {
32098
+ offset: page,
32099
+ count: perpage
32100
+ },
32101
+ return_fields: "merge(CA_OrderAttribMaster,{TotalCount:COUNT(FOR cnt IN CA_OrderAttribMaster RETURN cnt._key),attribtype:document(CA_OrderAttribMaster.attribtype).display},{attribnumUOM:to_array(document(CA_OrderAttribMaster.attribnumUOM).display)})",
32102
+ sort: "CA_OrderAttribMaster.createddate desc"
32088
32103
  };
32089
32104
  },
32090
- updateListeffTo: function updateListeffTo(data) {
32091
- var _data$effTo;
32092
-
32105
+ flexStatusChange: function flexStatusChange(list, key) {
32093
32106
  return [{
32094
- "db_name": "".concat(dbName),
32095
- "entity": "Diagnosis",
32096
- "is_metadata": true,
32097
- "filter": {
32098
- "_key": "".concat(data === null || data === void 0 ? void 0 : data.key)
32107
+ db_name: dbName,
32108
+ entity: "CA_OrderAttribMaster",
32109
+ is_metadata: true,
32110
+ filter: {
32111
+ _key: "".concat(key)
32099
32112
  },
32100
- "metadataId": "04ecb73d-f048-44ce-8563-c9be015812dd",
32101
- "doc": {
32102
- "effTo": (_data$effTo = data === null || data === void 0 ? void 0 : data.effTo) !== null && _data$effTo !== void 0 ? _data$effTo : null
32113
+ metadataId: "04ecb73d-f048-44ce-8563-c9be015812dd",
32114
+ doc: {
32115
+ status: list
32103
32116
  }
32104
32117
  }];
32105
- }
32106
- };
32118
+ },
32119
+ flexAttrSingleRead: function flexAttrSingleRead(key) {
32120
+ return {
32121
+ db_name: dbName,
32122
+ entity: "CA_OrderAttribMaster",
32123
+ filter: "CA_OrderAttribMaster._key=='".concat(key, "' && CA_OrderAttribMaster.activestatus==true"),
32124
+ return_fields: "merge(CA_OrderAttribMaster,{attribtype:document(CA_OrderAttribMaster.attribtype)},{attribnumUOM:(document(CA_OrderAttribMaster.attribnumUOM))})"
32125
+ };
32126
+ },
32127
+ flexAttrSearch: function flexAttrSearch(search) {
32128
+ return {
32129
+ db_name: dbName,
32130
+ entity: "CA_OrderAttribMaster",
32131
+ filter: "(like (CA_OrderAttribMaster.attribcode,'%".concat(search, "%',true)) && CA_OrderAttribMaster.activestatus==true"),
32132
+ return_fields: "merge(CA_OrderAttribMaster,{attribtype:document(CA_OrderAttribMaster.attribtype).display},{attribnumUOM:to_array(document(CA_OrderAttribMaster.attribnumUOM).display)})"
32133
+ };
32134
+ },
32135
+ flexAttrInsert: function flexAttrInsert(list, key) {
32136
+ var _list$attributeType, _list$attributeType3, _list$attributeType5, _list$attributeType7;
32107
32137
 
32108
- var _extraReducers$7;
32138
+ var object = {};
32139
+ var filter = {};
32109
32140
 
32110
- var GET_DIAGNOSIS_LIST = createAsyncThunk("diagnosisMasterApiSlice/diagnosis_master_list", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
32111
- var payload,
32112
- _ref2,
32113
- rejectWithValue,
32114
- _data$result,
32115
- code,
32116
- level,
32117
- data,
32118
- _args = arguments;
32141
+ if (key) {
32142
+ filter = {
32143
+ filter: {
32144
+ _key: key
32145
+ }
32146
+ };
32147
+ }
32119
32148
 
32120
- return regeneratorRuntime.wrap(function _callee$(_context) {
32121
- while (1) {
32122
- switch (_context.prev = _context.next) {
32123
- case 0:
32124
- payload = _args.length > 0 && _args[0] !== undefined ? _args[0] : {};
32125
- _ref2 = _args.length > 1 ? _args[1] : undefined, rejectWithValue = _ref2.rejectWithValue;
32126
- _context.prev = 2;
32127
- code = payload.code, level = payload.level;
32128
- _context.next = 6;
32129
- return fetchData({
32130
- body: JSON.stringify(query$2.diagnosisList(level, code))
32131
- }, __readDocumentUrl__);
32149
+ if ((list === null || list === void 0 ? void 0 : (_list$attributeType = list.attributeType) === null || _list$attributeType === void 0 ? void 0 : _list$attributeType.label) === "Numeric") {
32150
+ var _list$attributeType2, _list$numberMin, _list$numberMax, _list$numberUOM$value, _list$numberUOM;
32132
32151
 
32133
- case 6:
32134
- data = _context.sent;
32152
+ object = {
32153
+ id: 1,
32154
+ attribcode: list === null || list === void 0 ? void 0 : list.attributeCode,
32155
+ attriblabel: list === null || list === void 0 ? void 0 : list.attributeLable,
32156
+ attribtype: list === null || list === void 0 ? void 0 : (_list$attributeType2 = list.attributeType) === null || _list$attributeType2 === void 0 ? void 0 : _list$attributeType2.value,
32157
+ attribsize: list === null || list === void 0 ? void 0 : list.attributeSize,
32158
+ attribnumMin: (_list$numberMin = list === null || list === void 0 ? void 0 : list.numberMin) !== null && _list$numberMin !== void 0 ? _list$numberMin : 0,
32159
+ attribnumMax: (_list$numberMax = list === null || list === void 0 ? void 0 : list.numberMax) !== null && _list$numberMax !== void 0 ? _list$numberMax : 0,
32160
+ attribnumUOM: (_list$numberUOM$value = list === null || list === void 0 ? void 0 : (_list$numberUOM = list.numberUOM) === null || _list$numberUOM === void 0 ? void 0 : _list$numberUOM.value) !== null && _list$numberUOM$value !== void 0 ? _list$numberUOM$value : "",
32161
+ status: true
32162
+ };
32163
+ }
32164
+
32165
+ if ((list === null || list === void 0 ? void 0 : (_list$attributeType3 = list.attributeType) === null || _list$attributeType3 === void 0 ? void 0 : _list$attributeType3.label) === "Text Box") {
32166
+ var _list$attributeType4;
32167
+
32168
+ object = {
32169
+ id: 1,
32170
+ attribcode: list === null || list === void 0 ? void 0 : list.attributeCode,
32171
+ attriblabel: list === null || list === void 0 ? void 0 : list.attributeLable,
32172
+ attribtype: list === null || list === void 0 ? void 0 : (_list$attributeType4 = list.attributeType) === null || _list$attributeType4 === void 0 ? void 0 : _list$attributeType4.value,
32173
+ attribsize: list === null || list === void 0 ? void 0 : list.attributeSize,
32174
+ status: true
32175
+ };
32176
+ }
32177
+
32178
+ if ((list === null || list === void 0 ? void 0 : (_list$attributeType5 = list.attributeType) === null || _list$attributeType5 === void 0 ? void 0 : _list$attributeType5.label) === "Boolean") {
32179
+ var _list$attributeType6;
32180
+
32181
+ object = {
32182
+ id: 1,
32183
+ attribcode: list === null || list === void 0 ? void 0 : list.attributeCode,
32184
+ attriblabel: list === null || list === void 0 ? void 0 : list.attributeLable,
32185
+ attribtype: list === null || list === void 0 ? void 0 : (_list$attributeType6 = list.attributeType) === null || _list$attributeType6 === void 0 ? void 0 : _list$attributeType6.value,
32186
+ AttribValidValues: list === null || list === void 0 ? void 0 : list["boolean"].map(function (val) {
32187
+ return {
32188
+ dispSeq: val === null || val === void 0 ? void 0 : val.seqNo,
32189
+ validCode: val === null || val === void 0 ? void 0 : val.validCode,
32190
+ validdisplayValue: val === null || val === void 0 ? void 0 : val.displayValidCode,
32191
+ Dfltflag: val === null || val === void 0 ? void 0 : val.active
32192
+ };
32193
+ }),
32194
+ status: true
32195
+ };
32196
+ }
32197
+
32198
+ if ((list === null || list === void 0 ? void 0 : (_list$attributeType7 = list.attributeType) === null || _list$attributeType7 === void 0 ? void 0 : _list$attributeType7.label) === "List") {
32199
+ var _list$attributeType8;
32200
+
32201
+ object = {
32202
+ id: 1,
32203
+ attribcode: list === null || list === void 0 ? void 0 : list.attributeCode,
32204
+ attriblabel: list === null || list === void 0 ? void 0 : list.attributeLable,
32205
+ attribtype: list === null || list === void 0 ? void 0 : (_list$attributeType8 = list.attributeType) === null || _list$attributeType8 === void 0 ? void 0 : _list$attributeType8.value,
32206
+ AttribValidValues: list === null || list === void 0 ? void 0 : list.forText.map(function (val) {
32207
+ return {
32208
+ dispSeq: val === null || val === void 0 ? void 0 : val.seqNo,
32209
+ validCode: val === null || val === void 0 ? void 0 : val.validCode,
32210
+ validdisplayValue: val === null || val === void 0 ? void 0 : val.displayValidCode,
32211
+ Dfltflag: val === null || val === void 0 ? void 0 : val.active
32212
+ };
32213
+ }),
32214
+ status: true
32215
+ };
32216
+ }
32217
+
32218
+ return [_objectSpread2(_objectSpread2({
32219
+ db_name: dbName,
32220
+ entity: "CA_OrderAttribMaster",
32221
+ is_metadata: true,
32222
+ metadataId: "04ecb73d-f048-44ce-8563-c9be015812dd"
32223
+ }, filter), {}, {
32224
+ doc: _objectSpread2({}, object)
32225
+ })];
32226
+ }
32227
+ };
32228
+
32229
+ var _extraReducers$9;
32230
+ var ATTRIBUTE_TYPE_DROPDOWN = createAsyncThunk("flexAttributeApiSlice/attriuteTypeDropDown", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
32231
+ var _ref2,
32232
+ rejectWithValue,
32233
+ data,
32234
+ arr,
32235
+ _args = arguments;
32236
+
32237
+ return regeneratorRuntime.wrap(function _callee$(_context) {
32238
+ while (1) {
32239
+ switch (_context.prev = _context.next) {
32240
+ case 0:
32241
+ _ref2 = _args.length > 1 ? _args[1] : undefined, rejectWithValue = _ref2.rejectWithValue;
32242
+ _context.prev = 2;
32243
+ _context.next = 5;
32244
+ return fetchData({
32245
+ body: flexQuery.attributeTypeDropDown
32246
+ }, __readDocumentUrl__);
32247
+
32248
+ case 5:
32249
+ data = _context.sent;
32250
+ arr = [];
32251
+ data && data.result.map(function (val) {
32252
+ arr.push({
32253
+ value: val._id,
32254
+ label: val.display
32255
+ });
32256
+ });
32257
+ return _context.abrupt("return", _objectSpread2(_objectSpread2({}, defaultState.List), {}, {
32258
+ data: arr
32259
+ }));
32260
+
32261
+ case 11:
32262
+ _context.prev = 11;
32263
+ _context.t0 = _context["catch"](2);
32264
+ return _context.abrupt("return", rejectWithValue(_objectSpread2(_objectSpread2({}, defaultReject), {}, {
32265
+ message: _context.t0.message
32266
+ })));
32267
+
32268
+ case 14:
32269
+ case "end":
32270
+ return _context.stop();
32271
+ }
32272
+ }
32273
+ }, _callee, null, [[2, 11]]);
32274
+ })));
32275
+ var UOM_NUM_DROPDOWN = createAsyncThunk("flexAttributeApiSlice/numUOMDropDown", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2() {
32276
+ var _ref4,
32277
+ rejectWithValue,
32278
+ data,
32279
+ arr,
32280
+ _args2 = arguments;
32281
+
32282
+ return regeneratorRuntime.wrap(function _callee2$(_context2) {
32283
+ while (1) {
32284
+ switch (_context2.prev = _context2.next) {
32285
+ case 0:
32286
+ _ref4 = _args2.length > 1 ? _args2[1] : undefined, rejectWithValue = _ref4.rejectWithValue;
32287
+ _context2.prev = 2;
32288
+ _context2.next = 5;
32289
+ return fetchData({
32290
+ body: flexQuery.numUomDropDown
32291
+ }, __readDocumentUrl__);
32292
+
32293
+ case 5:
32294
+ data = _context2.sent;
32295
+ arr = [];
32296
+ data && data.result.map(function (val) {
32297
+ arr.push({
32298
+ value: val._id,
32299
+ label: val.display
32300
+ });
32301
+ });
32302
+ return _context2.abrupt("return", _objectSpread2(_objectSpread2({}, defaultState.List), {}, {
32303
+ data: arr
32304
+ }));
32305
+
32306
+ case 11:
32307
+ _context2.prev = 11;
32308
+ _context2.t0 = _context2["catch"](2);
32309
+ return _context2.abrupt("return", rejectWithValue(_objectSpread2(_objectSpread2({}, defaultReject), {}, {
32310
+ message: _context2.t0.message
32311
+ })));
32312
+
32313
+ case 14:
32314
+ case "end":
32315
+ return _context2.stop();
32316
+ }
32317
+ }
32318
+ }, _callee2, null, [[2, 11]]);
32319
+ })));
32320
+ var FLEX_ATTRIBUTE_READ = createAsyncThunk("flexAttributeApiSlice/flexFullRead", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee3() {
32321
+ var payload,
32322
+ _ref6,
32323
+ rejectWithValue,
32324
+ page,
32325
+ perpage,
32326
+ search,
32327
+ data,
32328
+ _args3 = arguments;
32329
+
32330
+ return regeneratorRuntime.wrap(function _callee3$(_context3) {
32331
+ while (1) {
32332
+ switch (_context3.prev = _context3.next) {
32333
+ case 0:
32334
+ payload = _args3.length > 0 && _args3[0] !== undefined ? _args3[0] : {};
32335
+ _ref6 = _args3.length > 1 ? _args3[1] : undefined, rejectWithValue = _ref6.rejectWithValue;
32336
+ _context3.prev = 2;
32337
+ page = payload.page, perpage = payload.perpage, search = payload.search;
32338
+ _context3.next = 6;
32339
+ return fetchData({
32340
+ body: JSON.stringify(flexQuery.flexAttrFullRead(page, perpage, search))
32341
+ }, __readDocumentUrl__);
32342
+
32343
+ case 6:
32344
+ data = _context3.sent;
32345
+ return _context3.abrupt("return", _objectSpread2(_objectSpread2({}, defaultState.List), {}, {
32346
+ data: data
32347
+ }));
32348
+
32349
+ case 10:
32350
+ _context3.prev = 10;
32351
+ _context3.t0 = _context3["catch"](2);
32352
+ return _context3.abrupt("return", rejectWithValue(_objectSpread2(_objectSpread2({}, defaultReject), {}, {
32353
+ message: _context3.t0.message
32354
+ })));
32355
+
32356
+ case 13:
32357
+ case "end":
32358
+ return _context3.stop();
32359
+ }
32360
+ }
32361
+ }, _callee3, null, [[2, 10]]);
32362
+ })));
32363
+ var FLEX_ATTRIBUTE_SINGLE_READ = createAsyncThunk("flexAttributeApiSlice/flexSingleRead", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee4() {
32364
+ var payload,
32365
+ _ref8,
32366
+ rejectWithValue,
32367
+ key,
32368
+ data,
32369
+ _args4 = arguments;
32370
+
32371
+ return regeneratorRuntime.wrap(function _callee4$(_context4) {
32372
+ while (1) {
32373
+ switch (_context4.prev = _context4.next) {
32374
+ case 0:
32375
+ payload = _args4.length > 0 && _args4[0] !== undefined ? _args4[0] : {};
32376
+ _ref8 = _args4.length > 1 ? _args4[1] : undefined, rejectWithValue = _ref8.rejectWithValue;
32377
+ _context4.prev = 2;
32378
+ key = payload.key;
32379
+ _context4.next = 6;
32380
+ return fetchData({
32381
+ body: JSON.stringify(flexQuery.flexAttrSingleRead(key))
32382
+ }, __readDocumentUrl__);
32383
+
32384
+ case 6:
32385
+ data = _context4.sent;
32386
+ return _context4.abrupt("return", _objectSpread2(_objectSpread2({}, defaultState.List), {}, {
32387
+ data: data.result
32388
+ }));
32389
+
32390
+ case 10:
32391
+ _context4.prev = 10;
32392
+ _context4.t0 = _context4["catch"](2);
32393
+ return _context4.abrupt("return", rejectWithValue(_objectSpread2(_objectSpread2({}, defaultReject), {}, {
32394
+ message: _context4.t0.message
32395
+ })));
32396
+
32397
+ case 13:
32398
+ case "end":
32399
+ return _context4.stop();
32400
+ }
32401
+ }
32402
+ }, _callee4, null, [[2, 10]]);
32403
+ })));
32404
+ var FLEX_ATTRIBUTE_SEARCH = createAsyncThunk("flexAttributeApiSlice/flexSearch", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee5() {
32405
+ var payload,
32406
+ _ref10,
32407
+ rejectWithValue,
32408
+ search,
32409
+ data,
32410
+ _args5 = arguments;
32411
+
32412
+ return regeneratorRuntime.wrap(function _callee5$(_context5) {
32413
+ while (1) {
32414
+ switch (_context5.prev = _context5.next) {
32415
+ case 0:
32416
+ payload = _args5.length > 0 && _args5[0] !== undefined ? _args5[0] : {};
32417
+ _ref10 = _args5.length > 1 ? _args5[1] : undefined, rejectWithValue = _ref10.rejectWithValue;
32418
+ _context5.prev = 2;
32419
+ search = payload.search;
32420
+ _context5.next = 6;
32421
+ return fetchData({
32422
+ body: JSON.stringify(flexQuery.flexAttrSearch(search))
32423
+ }, __readDocumentUrl__);
32424
+
32425
+ case 6:
32426
+ data = _context5.sent;
32427
+ return _context5.abrupt("return", _objectSpread2(_objectSpread2({}, defaultState.List), {}, {
32428
+ data: data.result
32429
+ }));
32430
+
32431
+ case 10:
32432
+ _context5.prev = 10;
32433
+ _context5.t0 = _context5["catch"](2);
32434
+ return _context5.abrupt("return", rejectWithValue(_objectSpread2(_objectSpread2({}, defaultReject), {}, {
32435
+ message: _context5.t0.message
32436
+ })));
32437
+
32438
+ case 13:
32439
+ case "end":
32440
+ return _context5.stop();
32441
+ }
32442
+ }
32443
+ }, _callee5, null, [[2, 10]]);
32444
+ })));
32445
+ var FLEX_ATTRIBUTE_INSERT = createAsyncThunk("flexAttributeApiSlice/flexInsert", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee6() {
32446
+ var payload,
32447
+ _ref12,
32448
+ rejectWithValue,
32449
+ list,
32450
+ key,
32451
+ data,
32452
+ _args6 = arguments;
32453
+
32454
+ return regeneratorRuntime.wrap(function _callee6$(_context6) {
32455
+ while (1) {
32456
+ switch (_context6.prev = _context6.next) {
32457
+ case 0:
32458
+ payload = _args6.length > 0 && _args6[0] !== undefined ? _args6[0] : {};
32459
+ _ref12 = _args6.length > 1 ? _args6[1] : undefined, rejectWithValue = _ref12.rejectWithValue;
32460
+ _context6.prev = 2;
32461
+ list = payload.list, key = payload.key;
32462
+ _context6.next = 6;
32463
+ return fetchData({
32464
+ body: JSON.stringify(flexQuery.flexAttrInsert(list, key))
32465
+ }, __uspsertUrl__);
32466
+
32467
+ case 6:
32468
+ data = _context6.sent;
32469
+ return _context6.abrupt("return", _objectSpread2(_objectSpread2({}, defaultState.List), {}, {
32470
+ data: data
32471
+ }));
32472
+
32473
+ case 10:
32474
+ _context6.prev = 10;
32475
+ _context6.t0 = _context6["catch"](2);
32476
+ return _context6.abrupt("return", rejectWithValue(_objectSpread2(_objectSpread2({}, defaultReject), {}, {
32477
+ message: _context6.t0.message
32478
+ })));
32479
+
32480
+ case 13:
32481
+ case "end":
32482
+ return _context6.stop();
32483
+ }
32484
+ }
32485
+ }, _callee6, null, [[2, 10]]);
32486
+ })));
32487
+ var FLEX_ATTRIBUTE_STATUS = createAsyncThunk("flexAttributeApiSlice/flexStatus", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee7() {
32488
+ var payload,
32489
+ _ref14,
32490
+ rejectWithValue,
32491
+ list,
32492
+ key,
32493
+ data,
32494
+ _args7 = arguments;
32495
+
32496
+ return regeneratorRuntime.wrap(function _callee7$(_context7) {
32497
+ while (1) {
32498
+ switch (_context7.prev = _context7.next) {
32499
+ case 0:
32500
+ payload = _args7.length > 0 && _args7[0] !== undefined ? _args7[0] : {};
32501
+ _ref14 = _args7.length > 1 ? _args7[1] : undefined, rejectWithValue = _ref14.rejectWithValue;
32502
+ _context7.prev = 2;
32503
+ list = payload.list, key = payload.key;
32504
+ _context7.next = 6;
32505
+ return fetchData({
32506
+ body: JSON.stringify(flexQuery.flexStatusChange(list, key))
32507
+ }, __uspsertUrl__);
32508
+
32509
+ case 6:
32510
+ data = _context7.sent;
32511
+ return _context7.abrupt("return", _objectSpread2(_objectSpread2({}, defaultState.List), {}, {
32512
+ data: data
32513
+ }));
32514
+
32515
+ case 10:
32516
+ _context7.prev = 10;
32517
+ _context7.t0 = _context7["catch"](2);
32518
+ return _context7.abrupt("return", rejectWithValue(_objectSpread2(_objectSpread2({}, defaultReject), {}, {
32519
+ message: _context7.t0.message
32520
+ })));
32521
+
32522
+ case 13:
32523
+ case "end":
32524
+ return _context7.stop();
32525
+ }
32526
+ }
32527
+ }, _callee7, null, [[2, 10]]);
32528
+ })));
32529
+ var flexAttributeSlice = createSlice({
32530
+ name: "flexAttributeApiSlice",
32531
+ initialState: {
32532
+ attributeType_DropDown: _objectSpread2({}, defaultState.List),
32533
+ numUOM_DropDown: _objectSpread2({}, defaultState.List),
32534
+ flexFull_Read: _objectSpread2({}, defaultState.List),
32535
+ flex_Insert: _objectSpread2({}, defaultState.List),
32536
+ flex_single_read: _objectSpread2({}, defaultState.List),
32537
+ flex_status_change: _objectSpread2({}, defaultState.List),
32538
+ flex_search: _objectSpread2({}, defaultState.List)
32539
+ },
32540
+ extraReducers: (_extraReducers$9 = {}, _defineProperty(_extraReducers$9, ATTRIBUTE_TYPE_DROPDOWN.fulfilled, function (state, action) {
32541
+ state.attributeType_DropDown.loading = false, state.attributeType_DropDown.error = false, state.attributeType_DropDown = action.payload;
32542
+ }), _defineProperty(_extraReducers$9, ATTRIBUTE_TYPE_DROPDOWN.pending, function (state, action) {
32543
+ state.attributeType_DropDown.loading = true, state.attributeType_DropDown.error = false, state.attributeType_DropDown.loading = true;
32544
+ }), _defineProperty(_extraReducers$9, ATTRIBUTE_TYPE_DROPDOWN.rejected, function (state, action) {
32545
+ state.attributeType_DropDown.loading = false, state.attributeType_DropDown.error = true, state.attributeType_DropDown = action.payload;
32546
+ }), _defineProperty(_extraReducers$9, UOM_NUM_DROPDOWN.fulfilled, function (state, action) {
32547
+ state.numUOM_DropDown.loading = false, state.numUOM_DropDown.error = false, state.numUOM_DropDown = action.payload;
32548
+ }), _defineProperty(_extraReducers$9, UOM_NUM_DROPDOWN.pending, function (state, action) {
32549
+ state.numUOM_DropDown.loading = true, state.numUOM_DropDown.error = false, state.numUOM_DropDown.loading = true;
32550
+ }), _defineProperty(_extraReducers$9, UOM_NUM_DROPDOWN.rejected, function (state, action) {
32551
+ state.numUOM_DropDown.loading = false, state.numUOM_DropDown.error = true, state.numUOM_DropDown = action.payload;
32552
+ }), _defineProperty(_extraReducers$9, FLEX_ATTRIBUTE_READ.fulfilled, function (state, action) {
32553
+ state.flexFull_Read.loading = false, state.flexFull_Read.error = false, state.flexFull_Read = action.payload;
32554
+ }), _defineProperty(_extraReducers$9, FLEX_ATTRIBUTE_READ.pending, function (state, action) {
32555
+ state.flexFull_Read.loading = true, state.flexFull_Read.error = false, state.flexFull_Read.loading = true;
32556
+ }), _defineProperty(_extraReducers$9, FLEX_ATTRIBUTE_READ.rejected, function (state, action) {
32557
+ state.flexFull_Read.loading = false, state.flexFull_Read.error = true, state.flexFull_Read = action.payload;
32558
+ }), _defineProperty(_extraReducers$9, FLEX_ATTRIBUTE_INSERT.fulfilled, function (state, action) {
32559
+ state.flex_Insert.loading = false, state.flex_Insert.error = false, state.flex_Insert = action.payload;
32560
+ }), _defineProperty(_extraReducers$9, FLEX_ATTRIBUTE_INSERT.pending, function (state, action) {
32561
+ state.flex_Insert.loading = true, state.flex_Insert.error = false, state.flex_Insert.loading = true;
32562
+ }), _defineProperty(_extraReducers$9, FLEX_ATTRIBUTE_INSERT.rejected, function (state, action) {
32563
+ state.flex_Insert.loading = false, state.flex_Insert.error = true, state.flex_Insert = action.payload;
32564
+ }), _defineProperty(_extraReducers$9, FLEX_ATTRIBUTE_SINGLE_READ.fulfilled, function (state, action) {
32565
+ state.flex_single_read.loading = false, state.flex_single_read.error = false, state.flex_single_read = action.payload;
32566
+ }), _defineProperty(_extraReducers$9, FLEX_ATTRIBUTE_SINGLE_READ.pending, function (state, action) {
32567
+ state.flex_single_read.loading = true, state.flex_single_read.error = false, state.flex_single_read.loading = true;
32568
+ }), _defineProperty(_extraReducers$9, FLEX_ATTRIBUTE_SINGLE_READ.rejected, function (state, action) {
32569
+ state.flex_single_read.loading = false, state.flex_single_read.error = true, state.flex_single_read = action.payload;
32570
+ }), _defineProperty(_extraReducers$9, FLEX_ATTRIBUTE_STATUS.fulfilled, function (state, action) {
32571
+ state.flex_status_change.loading = false, state.flex_status_change.error = false, state.flex_status_change = action.payload;
32572
+ }), _defineProperty(_extraReducers$9, FLEX_ATTRIBUTE_STATUS.pending, function (state, action) {
32573
+ state.flex_status_change.loading = true, state.flex_status_change.error = false, state.flex_status_change.loading = true;
32574
+ }), _defineProperty(_extraReducers$9, FLEX_ATTRIBUTE_STATUS.rejected, function (state, action) {
32575
+ state.flex_status_change.loading = false, state.flex_status_change.error = true, state.flex_status_change = action.payload;
32576
+ }), _defineProperty(_extraReducers$9, FLEX_ATTRIBUTE_SEARCH.fulfilled, function (state, action) {
32577
+ state.flex_search.loading = false, state.flex_search.error = false, state.flex_search = action.payload;
32578
+ }), _defineProperty(_extraReducers$9, FLEX_ATTRIBUTE_SEARCH.pending, function (state, action) {
32579
+ state.flex_search.loading = true, state.flex_search.error = false, state.flex_search.loading = true;
32580
+ }), _defineProperty(_extraReducers$9, FLEX_ATTRIBUTE_SEARCH.rejected, function (state, action) {
32581
+ state.flex_search.loading = false, state.flex_search.error = true, state.flex_search = action.payload;
32582
+ }), _extraReducers$9)
32583
+ });
32584
+ var flexAttributeActions = {
32585
+ ATTRIBUTE_TYPE_DROPDOWN: ATTRIBUTE_TYPE_DROPDOWN,
32586
+ UOM_NUM_DROPDOWN: UOM_NUM_DROPDOWN,
32587
+ FLEX_ATTRIBUTE_READ: FLEX_ATTRIBUTE_READ,
32588
+ FLEX_ATTRIBUTE_INSERT: FLEX_ATTRIBUTE_INSERT,
32589
+ FLEX_ATTRIBUTE_SINGLE_READ: FLEX_ATTRIBUTE_SINGLE_READ,
32590
+ FLEX_ATTRIBUTE_STATUS: FLEX_ATTRIBUTE_STATUS
32591
+ };
32592
+ var flexAttributeSlice$1 = flexAttributeSlice.reducer;
32593
+
32594
+ var flexMaster = _objectSpread2({}, flexAttributeActions);
32595
+
32596
+ var flexCriteriaQuery = {
32597
+ flexCriteriaDropDown: function flexCriteriaDropDown(list, id) {
32598
+ return {
32599
+ db_name: dbName,
32600
+ entity: "CA_OrderAttribMaster",
32601
+ filter: "CA_OrderAttribMaster.attribcode=='".concat(list, "' && CA_OrderAttribMaster.attribtype=='").concat(id, "' && CA_OrderAttribMaster.status==true && CA_OrderAttribMaster.activestatus==true"),
32602
+ return_fields: "MERGE(CA_OrderAttribMaster,{AttribValidValues:first((for att in TO_ARRAY(CA_OrderAttribMaster.AttribValidValues) filter att.Dfltflag==true return att.validdisplayValue))},{attribtype:document(CA_OrderAttribMaster.attribtype).display},{attribnumUOM:document(CA_OrderAttribMaster.attribnumUOM).display})"
32603
+ };
32604
+ },
32605
+ flexCriteriaCodeDropDown: function flexCriteriaCodeDropDown() {
32606
+ return {
32607
+ db_name: dbName,
32608
+ entity: "CA_OrderAttribMaster",
32609
+ filter: "CA_OrderAttribMaster.status == true && CA_OrderAttribMaster.activestatus == true",
32610
+ return_fields: "keep(CA_OrderAttribMaster,'_key','_id','attribcode','attriblabel','status','attribtype')",
32611
+ sort: "CA_OrderAttribMaster.attriblabel"
32612
+ };
32613
+ },
32614
+ flexCriteriaFullRead: function flexCriteriaFullRead(page, perpage, search) {
32615
+ return {
32616
+ db_name: "primarycare",
32617
+ entity: "CA_FlexAttribApplicability",
32618
+ filter: "(LIKE (CA_FlexAttribApplicability.winlabelName,'%".concat(search, "%', true)) && CA_FlexAttribApplicability.activestatus == true"),
32619
+ limit: {
32620
+ offset: page,
32621
+ count: perpage
32622
+ },
32623
+ return_fields: "merge(CA_FlexAttribApplicability, {TotalCount:COUNT(FOR cnt IN CA_FlexAttribApplicability RETURN cnt._key)},{AttribComponents:( for att in CA_FlexAttribApplicability.AttribComponents return merge(att,{attribCode:merge(document(att.attribCode),{attribtype:document(document(att.attribCode).attribtype)})}) )})",
32624
+ sort: "CA_FlexAttribApplicability.createddate desc"
32625
+ };
32626
+ },
32627
+ flexCriteriaSingleRead: function flexCriteriaSingleRead(key) {
32628
+ return {
32629
+ db_name: dbName,
32630
+ entity: "CA_FlexAttribApplicability",
32631
+ filter: "CA_FlexAttribApplicability._key == '".concat(key, "' && CA_FlexAttribApplicability.activestatus == true"),
32632
+ return_fields: "merge(CA_FlexAttribApplicability,{AttribComponents:(for att in CA_FlexAttribApplicability.AttribComponents return merge(att,{attribCode:document((CA_FlexAttribApplicability.AttribComponents)[*].attribCode)}))})"
32633
+ };
32634
+ },
32635
+ flexCriteriaInsert: function flexCriteriaInsert(list) {
32636
+ var _list$attributeLableN, _list$attributeCompon;
32637
+
32638
+ return [{
32639
+ db_name: dbName,
32640
+ entity: "CA_FlexAttribApplicability",
32641
+ is_metadata: true,
32642
+ metadataId: "04ecb73d-f048-44ce-8563-c9be015812dd",
32643
+ doc: {
32644
+ id: 1,
32645
+ attribusageCriteria: [list === null || list === void 0 ? void 0 : list.attributeLableName],
32646
+ winlabelName: (_list$attributeLableN = list === null || list === void 0 ? void 0 : list.attributeLableName) !== null && _list$attributeLableN !== void 0 ? _list$attributeLableN : "",
32647
+ AttribComponents: list === null || list === void 0 ? void 0 : (_list$attributeCompon = list.attributeComponents) === null || _list$attributeCompon === void 0 ? void 0 : _list$attributeCompon.map(function (val) {
32648
+ var _val$code, _val$defaultValue$lab, _val$defaultValue;
32649
+
32650
+ return {
32651
+ attribSeq: val === null || val === void 0 ? void 0 : val.seqNo,
32652
+ attribCode: val === null || val === void 0 ? void 0 : (_val$code = val.code) === null || _val$code === void 0 ? void 0 : _val$code.value,
32653
+ attribdefaultVal: (_val$defaultValue$lab = val === null || val === void 0 ? void 0 : (_val$defaultValue = val.defaultValue) === null || _val$defaultValue === void 0 ? void 0 : _val$defaultValue.label) !== null && _val$defaultValue$lab !== void 0 ? _val$defaultValue$lab : ""
32654
+ };
32655
+ }),
32656
+ status: true
32657
+ }
32658
+ }];
32659
+ },
32660
+ flexCriteriaStatus: function flexCriteriaStatus(status, key) {
32661
+ return [{
32662
+ db_name: dbName,
32663
+ entity: "CA_FlexAttribApplicability",
32664
+ filter: {
32665
+ _key: key
32666
+ },
32667
+ is_metadata: true,
32668
+ metadataId: "04ecb73d-f048-44ce-8563-c9be015812dd",
32669
+ doc: {
32670
+ status: status
32671
+ }
32672
+ }];
32673
+ },
32674
+ flexCriteriaEdit: function flexCriteriaEdit(list) {
32675
+ var _list$attributeLableN2, _list$status;
32676
+
32677
+ return [{
32678
+ db_name: "primarycare",
32679
+ entity: "CA_FlexAttribApplicability",
32680
+ filter: {
32681
+ _key: list === null || list === void 0 ? void 0 : list.key
32682
+ },
32683
+ is_metadata: true,
32684
+ metadataId: "04ecb73d-f048-44ce-8563-c9be015812dd",
32685
+ doc: {
32686
+ winlabelName: (_list$attributeLableN2 = list === null || list === void 0 ? void 0 : list.attributeLableName) !== null && _list$attributeLableN2 !== void 0 ? _list$attributeLableN2 : "",
32687
+ // AttribComponents: [
32688
+ // {
32689
+ // attribCode: "string",
32690
+ // attribdefaultVal: "string",
32691
+ // },
32692
+ // ],
32693
+ AttribComponents: list === null || list === void 0 ? void 0 : list.attributeComponents.map(function (val) {
32694
+ var _val$code2, _val$defaultValue$lab2, _val$defaultValue2;
32695
+
32696
+ return {
32697
+ attribCode: val === null || val === void 0 ? void 0 : (_val$code2 = val.code) === null || _val$code2 === void 0 ? void 0 : _val$code2.value,
32698
+ attribdefaultVal: (_val$defaultValue$lab2 = val === null || val === void 0 ? void 0 : (_val$defaultValue2 = val.defaultValue) === null || _val$defaultValue2 === void 0 ? void 0 : _val$defaultValue2.label) !== null && _val$defaultValue$lab2 !== void 0 ? _val$defaultValue$lab2 : ""
32699
+ };
32700
+ }),
32701
+ status: (_list$status = list === null || list === void 0 ? void 0 : list.status) !== null && _list$status !== void 0 ? _list$status : true
32702
+ }
32703
+ }];
32704
+ },
32705
+ flexCriteriaSearch: function flexCriteriaSearch(search) {
32706
+ return {
32707
+ db_name: dbName,
32708
+ entity: "CA_FlexAttribApplicability",
32709
+ filter: "(LIKE (CA_FlexAttribApplicability.winlabelName,'%".concat(search, "%', true)) && CA_FlexAttribApplicability.activestatus == true"),
32710
+ return_fields: "merge(CA_FlexAttribApplicability,{AttribComponents:(for att in CA_FlexAttribApplicability.AttribComponents return merge(att,{attribCode:document((CA_FlexAttribApplicability.AttribComponents)[*].attribCode)}))})"
32711
+ };
32712
+ }
32713
+ };
32714
+
32715
+ var _extraReducers$8;
32716
+ var FLEX_CRITERIA_DEFAULT_DROPDOWN = createAsyncThunk("flexCriteriaSlice/flexCriteriaDropDown", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
32717
+ var payload,
32718
+ _ref2,
32719
+ rejectWithValue,
32720
+ list,
32721
+ id,
32722
+ data,
32723
+ _args = arguments;
32724
+
32725
+ return regeneratorRuntime.wrap(function _callee$(_context) {
32726
+ while (1) {
32727
+ switch (_context.prev = _context.next) {
32728
+ case 0:
32729
+ payload = _args.length > 0 && _args[0] !== undefined ? _args[0] : {};
32730
+ _ref2 = _args.length > 1 ? _args[1] : undefined, rejectWithValue = _ref2.rejectWithValue;
32731
+ _context.prev = 2;
32732
+ list = payload.list, id = payload.id;
32733
+ _context.next = 6;
32734
+ return fetchData({
32735
+ body: JSON.stringify(flexCriteriaQuery.flexCriteriaDropDown(list, id))
32736
+ }, __readDocumentUrl__);
32737
+
32738
+ case 6:
32739
+ data = _context.sent;
32740
+ return _context.abrupt("return", _objectSpread2(_objectSpread2({}, defaultState.List), {}, {
32741
+ data: data === null || data === void 0 ? void 0 : data.result
32742
+ }));
32743
+
32744
+ case 10:
32745
+ _context.prev = 10;
32746
+ _context.t0 = _context["catch"](2);
32747
+ return _context.abrupt("return", rejectWithValue(_objectSpread2(_objectSpread2({}, defaultReject), {}, {
32748
+ message: _context.t0.message
32749
+ })));
32750
+
32751
+ case 13:
32752
+ case "end":
32753
+ return _context.stop();
32754
+ }
32755
+ }
32756
+ }, _callee, null, [[2, 10]]);
32757
+ })));
32758
+ var FLEX_CRITERIA_CODE = createAsyncThunk("flexCriteriaSlice/flexCriteriaCodeDropDown", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2() {
32759
+ var _ref4,
32760
+ rejectWithValue,
32761
+ data,
32762
+ arr,
32763
+ _args2 = arguments;
32764
+
32765
+ return regeneratorRuntime.wrap(function _callee2$(_context2) {
32766
+ while (1) {
32767
+ switch (_context2.prev = _context2.next) {
32768
+ case 0:
32769
+ _ref4 = _args2.length > 1 ? _args2[1] : undefined, rejectWithValue = _ref4.rejectWithValue;
32770
+ _context2.prev = 2;
32771
+ _context2.next = 5;
32772
+ return fetchData({
32773
+ body: JSON.stringify(flexCriteriaQuery.flexCriteriaCodeDropDown())
32774
+ }, __readDocumentUrl__);
32775
+
32776
+ case 5:
32777
+ data = _context2.sent;
32778
+ arr = [];
32779
+ data && data.result.map(function (val) {
32780
+ arr.push({
32781
+ label: (val === null || val === void 0 ? void 0 : val.attriblabel) + " (" + (val === null || val === void 0 ? void 0 : val.attribcode) + ")",
32782
+ value: val === null || val === void 0 ? void 0 : val._id,
32783
+ type: val === null || val === void 0 ? void 0 : val.attribtype,
32784
+ code: val === null || val === void 0 ? void 0 : val.attribcode
32785
+ });
32786
+ });
32787
+ return _context2.abrupt("return", _objectSpread2(_objectSpread2({}, defaultState.List), {}, {
32788
+ data: arr
32789
+ }));
32790
+
32791
+ case 11:
32792
+ _context2.prev = 11;
32793
+ _context2.t0 = _context2["catch"](2);
32794
+ return _context2.abrupt("return", rejectWithValue(_objectSpread2(_objectSpread2({}, defaultReject), {}, {
32795
+ message: _context2.t0.message
32796
+ })));
32797
+
32798
+ case 14:
32799
+ case "end":
32800
+ return _context2.stop();
32801
+ }
32802
+ }
32803
+ }, _callee2, null, [[2, 11]]);
32804
+ })));
32805
+ var FLEX_CRITERIA_FULL_READ = createAsyncThunk("flexCriteriaSlice/flexCriteriaFullRead", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee3() {
32806
+ var payload,
32807
+ _ref6,
32808
+ rejectWithValue,
32809
+ page,
32810
+ perpage,
32811
+ search,
32812
+ data,
32813
+ _args3 = arguments;
32814
+
32815
+ return regeneratorRuntime.wrap(function _callee3$(_context3) {
32816
+ while (1) {
32817
+ switch (_context3.prev = _context3.next) {
32818
+ case 0:
32819
+ payload = _args3.length > 0 && _args3[0] !== undefined ? _args3[0] : {};
32820
+ _ref6 = _args3.length > 1 ? _args3[1] : undefined, rejectWithValue = _ref6.rejectWithValue;
32821
+ _context3.prev = 2;
32822
+ page = payload.page, perpage = payload.perpage, search = payload.search;
32823
+ _context3.next = 6;
32824
+ return fetchData({
32825
+ body: JSON.stringify(flexCriteriaQuery.flexCriteriaFullRead(page, perpage, search))
32826
+ }, __readDocumentUrl__);
32827
+
32828
+ case 6:
32829
+ data = _context3.sent;
32830
+ return _context3.abrupt("return", _objectSpread2(_objectSpread2({}, defaultState.List), {}, {
32831
+ data: data === null || data === void 0 ? void 0 : data.result
32832
+ }));
32833
+
32834
+ case 10:
32835
+ _context3.prev = 10;
32836
+ _context3.t0 = _context3["catch"](2);
32837
+ return _context3.abrupt("return", rejectWithValue(_objectSpread2(_objectSpread2({}, defaultReject), {}, {
32838
+ message: _context3.t0.message
32839
+ })));
32840
+
32841
+ case 13:
32842
+ case "end":
32843
+ return _context3.stop();
32844
+ }
32845
+ }
32846
+ }, _callee3, null, [[2, 10]]);
32847
+ })));
32848
+ var FLEX_CRITERIA_SINGLE_READ = createAsyncThunk("flexCriteriaSlice/flexCriteriaSigleRead", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee4() {
32849
+ var payload,
32850
+ _ref8,
32851
+ rejectWithValue,
32852
+ key,
32853
+ data,
32854
+ _args4 = arguments;
32855
+
32856
+ return regeneratorRuntime.wrap(function _callee4$(_context4) {
32857
+ while (1) {
32858
+ switch (_context4.prev = _context4.next) {
32859
+ case 0:
32860
+ payload = _args4.length > 0 && _args4[0] !== undefined ? _args4[0] : {};
32861
+ _ref8 = _args4.length > 1 ? _args4[1] : undefined, rejectWithValue = _ref8.rejectWithValue;
32862
+ _context4.prev = 2;
32863
+ key = payload.key;
32864
+ _context4.next = 6;
32865
+ return fetchData({
32866
+ body: JSON.stringify(flexCriteriaQuery.flexCriteriaSingleRead(key))
32867
+ }, __readDocumentUrl__);
32868
+
32869
+ case 6:
32870
+ data = _context4.sent;
32871
+ return _context4.abrupt("return", _objectSpread2(_objectSpread2({}, defaultState.List), {}, {
32872
+ data: data === null || data === void 0 ? void 0 : data.result
32873
+ }));
32874
+
32875
+ case 10:
32876
+ _context4.prev = 10;
32877
+ _context4.t0 = _context4["catch"](2);
32878
+ return _context4.abrupt("return", rejectWithValue(_objectSpread2(_objectSpread2({}, defaultReject), {}, {
32879
+ message: _context4.t0.message
32880
+ })));
32881
+
32882
+ case 13:
32883
+ case "end":
32884
+ return _context4.stop();
32885
+ }
32886
+ }
32887
+ }, _callee4, null, [[2, 10]]);
32888
+ })));
32889
+ var FLEX_CRITERIA_INSERT = createAsyncThunk("flexCriteriaSlice/flexCriteriaInsert", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee5() {
32890
+ var payload,
32891
+ _ref10,
32892
+ rejectWithValue,
32893
+ list,
32894
+ data,
32895
+ _args5 = arguments;
32896
+
32897
+ return regeneratorRuntime.wrap(function _callee5$(_context5) {
32898
+ while (1) {
32899
+ switch (_context5.prev = _context5.next) {
32900
+ case 0:
32901
+ payload = _args5.length > 0 && _args5[0] !== undefined ? _args5[0] : {};
32902
+ _ref10 = _args5.length > 1 ? _args5[1] : undefined, rejectWithValue = _ref10.rejectWithValue;
32903
+ _context5.prev = 2;
32904
+ list = payload.list;
32905
+ _context5.next = 6;
32906
+ return fetchData({
32907
+ body: JSON.stringify(flexCriteriaQuery.flexCriteriaInsert(list))
32908
+ }, __uspsertUrl__);
32909
+
32910
+ case 6:
32911
+ data = _context5.sent;
32912
+ return _context5.abrupt("return", _objectSpread2(_objectSpread2({}, defaultState.List), {}, {
32913
+ data: data
32914
+ }));
32915
+
32916
+ case 10:
32917
+ _context5.prev = 10;
32918
+ _context5.t0 = _context5["catch"](2);
32919
+ return _context5.abrupt("return", rejectWithValue(_objectSpread2(_objectSpread2({}, defaultReject), {}, {
32920
+ message: _context5.t0.message
32921
+ })));
32922
+
32923
+ case 13:
32924
+ case "end":
32925
+ return _context5.stop();
32926
+ }
32927
+ }
32928
+ }, _callee5, null, [[2, 10]]);
32929
+ })));
32930
+ var FLEX_CRITERIA_STATUS = createAsyncThunk("flexCriteriaSlice/flexCriteriaStatus", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee6() {
32931
+ var payload,
32932
+ _ref12,
32933
+ rejectWithValue,
32934
+ status,
32935
+ key,
32936
+ data,
32937
+ _args6 = arguments;
32938
+
32939
+ return regeneratorRuntime.wrap(function _callee6$(_context6) {
32940
+ while (1) {
32941
+ switch (_context6.prev = _context6.next) {
32942
+ case 0:
32943
+ payload = _args6.length > 0 && _args6[0] !== undefined ? _args6[0] : {};
32944
+ _ref12 = _args6.length > 1 ? _args6[1] : undefined, rejectWithValue = _ref12.rejectWithValue;
32945
+ _context6.prev = 2;
32946
+ status = payload.status, key = payload.key;
32947
+ _context6.next = 6;
32948
+ return fetchData({
32949
+ body: JSON.stringify(flexCriteriaQuery.flexCriteriaStatus(status, key))
32950
+ }, __uspsertUrl__);
32951
+
32952
+ case 6:
32953
+ data = _context6.sent;
32954
+ return _context6.abrupt("return", _objectSpread2(_objectSpread2({}, defaultState.List), {}, {
32955
+ data: data
32956
+ }));
32957
+
32958
+ case 10:
32959
+ _context6.prev = 10;
32960
+ _context6.t0 = _context6["catch"](2);
32961
+ return _context6.abrupt("return", rejectWithValue(_objectSpread2(_objectSpread2({}, defaultReject), {}, {
32962
+ message: _context6.t0.message
32963
+ })));
32964
+
32965
+ case 13:
32966
+ case "end":
32967
+ return _context6.stop();
32968
+ }
32969
+ }
32970
+ }, _callee6, null, [[2, 10]]);
32971
+ })));
32972
+ var FLEX_CRITERIA_EDIT = createAsyncThunk("flexCriteriaSlice/flexCriteriaEdit", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee7() {
32973
+ var payload,
32974
+ _ref14,
32975
+ rejectWithValue,
32976
+ list,
32977
+ data,
32978
+ _args7 = arguments;
32979
+
32980
+ return regeneratorRuntime.wrap(function _callee7$(_context7) {
32981
+ while (1) {
32982
+ switch (_context7.prev = _context7.next) {
32983
+ case 0:
32984
+ payload = _args7.length > 0 && _args7[0] !== undefined ? _args7[0] : {};
32985
+ _ref14 = _args7.length > 1 ? _args7[1] : undefined, rejectWithValue = _ref14.rejectWithValue;
32986
+ _context7.prev = 2;
32987
+ list = payload.list;
32988
+ _context7.next = 6;
32989
+ return fetchData({
32990
+ body: JSON.stringify(flexCriteriaQuery.flexCriteriaEdit(list))
32991
+ }, __uspsertUrl__);
32992
+
32993
+ case 6:
32994
+ data = _context7.sent;
32995
+ return _context7.abrupt("return", _objectSpread2(_objectSpread2({}, defaultState.List), {}, {
32996
+ data: data
32997
+ }));
32998
+
32999
+ case 10:
33000
+ _context7.prev = 10;
33001
+ _context7.t0 = _context7["catch"](2);
33002
+ return _context7.abrupt("return", rejectWithValue(_objectSpread2(_objectSpread2({}, defaultReject), {}, {
33003
+ message: _context7.t0.message
33004
+ })));
33005
+
33006
+ case 13:
33007
+ case "end":
33008
+ return _context7.stop();
33009
+ }
33010
+ }
33011
+ }, _callee7, null, [[2, 10]]);
33012
+ })));
33013
+ var FLEX_CRITERIA_SEARCH = createAsyncThunk("flexCriteriaSlice/flexCriteriaSearch", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee8() {
33014
+ var payload,
33015
+ _ref16,
33016
+ rejectWithValue,
33017
+ search,
33018
+ data,
33019
+ _args8 = arguments;
33020
+
33021
+ return regeneratorRuntime.wrap(function _callee8$(_context8) {
33022
+ while (1) {
33023
+ switch (_context8.prev = _context8.next) {
33024
+ case 0:
33025
+ payload = _args8.length > 0 && _args8[0] !== undefined ? _args8[0] : {};
33026
+ _ref16 = _args8.length > 1 ? _args8[1] : undefined, rejectWithValue = _ref16.rejectWithValue;
33027
+ _context8.prev = 2;
33028
+ search = payload.search;
33029
+ _context8.next = 6;
33030
+ return fetchData({
33031
+ body: JSON.stringify(flexCriteriaQuery.flexCriteriaSearch(search))
33032
+ }, __readDocumentUrl__);
33033
+
33034
+ case 6:
33035
+ data = _context8.sent;
33036
+ return _context8.abrupt("return", _objectSpread2(_objectSpread2({}, defaultState.List), {}, {
33037
+ data: data.result
33038
+ }));
33039
+
33040
+ case 10:
33041
+ _context8.prev = 10;
33042
+ _context8.t0 = _context8["catch"](2);
33043
+ return _context8.abrupt("return", rejectWithValue(_objectSpread2(_objectSpread2({}, defaultReject), {}, {
33044
+ message: _context8.t0.message
33045
+ })));
33046
+
33047
+ case 13:
33048
+ case "end":
33049
+ return _context8.stop();
33050
+ }
33051
+ }
33052
+ }, _callee8, null, [[2, 10]]);
33053
+ })));
33054
+ var flexCriteriaSlice = createSlice({
33055
+ name: "flexCriteriaSlice",
33056
+ initialState: {
33057
+ flex_criteria_dropdown: _objectSpread2({}, defaultState.List),
33058
+ flex_criteria_code_dropdown: _objectSpread2({}, defaultState.List),
33059
+ flex_criteria_fullRead: _objectSpread2({}, defaultState.List),
33060
+ flex_criteria_singleRead: _objectSpread2({}, defaultState.List),
33061
+ flex_criteria_insert: _objectSpread2({}, defaultState.List),
33062
+ flex_criteria_status: _objectSpread2({}, defaultState.List),
33063
+ flex_criteria_edit: _objectSpread2({}, defaultState.List),
33064
+ flex_criteria_search: _objectSpread2({}, defaultState.List)
33065
+ },
33066
+ extraReducers: (_extraReducers$8 = {}, _defineProperty(_extraReducers$8, FLEX_CRITERIA_DEFAULT_DROPDOWN.fulfilled, function (state, action) {
33067
+ state.flex_criteria_dropdown.loading = false, state.flex_criteria_dropdown.error = false, state.flex_criteria_dropdown = action.payload;
33068
+ }), _defineProperty(_extraReducers$8, FLEX_CRITERIA_DEFAULT_DROPDOWN.pending, function (state, action) {
33069
+ state.flex_criteria_dropdown.loading = true, state.flex_criteria_dropdown.error = false, state.flex_criteria_dropdown.loading = true;
33070
+ }), _defineProperty(_extraReducers$8, FLEX_CRITERIA_DEFAULT_DROPDOWN.rejected, function (state, action) {
33071
+ state.flex_criteria_dropdown.loading = false, state.flex_criteria_dropdown.error = true, state.flex_criteria_dropdown = action.payload;
33072
+ }), _defineProperty(_extraReducers$8, FLEX_CRITERIA_CODE.fulfilled, function (state, action) {
33073
+ state.flex_criteria_code_dropdown.loading = false, state.flex_criteria_code_dropdown.error = false, state.flex_criteria_code_dropdown = action.payload;
33074
+ }), _defineProperty(_extraReducers$8, FLEX_CRITERIA_CODE.pending, function (state, action) {
33075
+ state.flex_criteria_code_dropdown.loading = true, state.flex_criteria_code_dropdown.error = false, state.flex_criteria_code_dropdown.loading = true;
33076
+ }), _defineProperty(_extraReducers$8, FLEX_CRITERIA_CODE.rejected, function (state, action) {
33077
+ state.flex_criteria_code_dropdown.loading = false, state.flex_criteria_code_dropdown.error = true, state.flex_criteria_code_dropdown = action.payload;
33078
+ }), _defineProperty(_extraReducers$8, FLEX_CRITERIA_FULL_READ.fulfilled, function (state, action) {
33079
+ state.flex_criteria_fullRead.loading = false, state.flex_criteria_fullRead.error = false, state.flex_criteria_fullRead = action.payload;
33080
+ }), _defineProperty(_extraReducers$8, FLEX_CRITERIA_FULL_READ.pending, function (state, action) {
33081
+ state.flex_criteria_fullRead.loading = true, state.flex_criteria_fullRead.error = false, state.flex_criteria_fullRead.loading = true;
33082
+ }), _defineProperty(_extraReducers$8, FLEX_CRITERIA_FULL_READ.rejected, function (state, action) {
33083
+ state.flex_criteria_fullRead.loading = false, state.flex_criteria_fullRead.error = true, state.flex_criteria_fullRead = action.payload;
33084
+ }), _defineProperty(_extraReducers$8, FLEX_CRITERIA_SINGLE_READ.fulfilled, function (state, action) {
33085
+ state.flex_criteria_singleRead.loading = false, state.flex_criteria_singleRead.error = false, state.flex_criteria_singleRead = action.payload;
33086
+ }), _defineProperty(_extraReducers$8, FLEX_CRITERIA_SINGLE_READ.pending, function (state, action) {
33087
+ state.flex_criteria_singleRead.loading = true, state.flex_criteria_singleRead.error = false, state.flex_criteria_singleRead.loading = true;
33088
+ }), _defineProperty(_extraReducers$8, FLEX_CRITERIA_SINGLE_READ.rejected, function (state, action) {
33089
+ state.flex_criteria_singleRead.loading = false, state.flex_criteria_singleRead.error = true, state.flex_criteria_singleRead = action.payload;
33090
+ }), _defineProperty(_extraReducers$8, FLEX_CRITERIA_INSERT.fulfilled, function (state, action) {
33091
+ state.flex_criteria_insert.loading = false, state.flex_criteria_insert.error = false, state.flex_criteria_insert = action.payload;
33092
+ }), _defineProperty(_extraReducers$8, FLEX_CRITERIA_INSERT.pending, function (state, action) {
33093
+ state.flex_criteria_insert.loading = true, state.flex_criteria_insert.error = false, state.flex_criteria_insert.loading = true;
33094
+ }), _defineProperty(_extraReducers$8, FLEX_CRITERIA_INSERT.rejected, function (state, action) {
33095
+ state.flex_criteria_insert.loading = false, state.flex_criteria_insert.error = true, state.flex_criteria_insert = action.payload;
33096
+ }), _defineProperty(_extraReducers$8, FLEX_CRITERIA_STATUS.fulfilled, function (state, action) {
33097
+ state.flex_criteria_status.loading = false, state.flex_criteria_status.error = false, state.flex_criteria_status = action.payload;
33098
+ }), _defineProperty(_extraReducers$8, FLEX_CRITERIA_STATUS.pending, function (state, action) {
33099
+ state.flex_criteria_status.loading = true, state.flex_criteria_status.error = false, state.flex_criteria_status.loading = true;
33100
+ }), _defineProperty(_extraReducers$8, FLEX_CRITERIA_STATUS.rejected, function (state, action) {
33101
+ state.flex_criteria_status.loading = false, state.flex_criteria_status.error = true, state.flex_criteria_status = action.payload;
33102
+ }), _defineProperty(_extraReducers$8, FLEX_CRITERIA_EDIT.fulfilled, function (state, action) {
33103
+ state.flex_criteria_edit.loading = false, state.flex_criteria_edit.error = false, state.flex_criteria_edit = action.payload;
33104
+ }), _defineProperty(_extraReducers$8, FLEX_CRITERIA_EDIT.pending, function (state, action) {
33105
+ state.flex_criteria_edit.loading = true, state.flex_criteria_edit.error = false, state.flex_criteria_edit.loading = true;
33106
+ }), _defineProperty(_extraReducers$8, FLEX_CRITERIA_EDIT.rejected, function (state, action) {
33107
+ state.flex_criteria_edit.loading = false, state.flex_criteria_edit.error = true, state.flex_criteria_edit = action.payload;
33108
+ }), _defineProperty(_extraReducers$8, FLEX_CRITERIA_SEARCH.fulfilled, function (state, action) {
33109
+ state.flex_criteria_search.loading = false, state.flex_criteria_search.error = false, state.flex_criteria_search = action.payload;
33110
+ }), _defineProperty(_extraReducers$8, FLEX_CRITERIA_SEARCH.pending, function (state, action) {
33111
+ state.flex_criteria_search.loading = true, state.flex_criteria_search.error = false, state.flex_criteria_search.loading = true;
33112
+ }), _defineProperty(_extraReducers$8, FLEX_CRITERIA_SEARCH.rejected, function (state, action) {
33113
+ state.flex_criteria_search.loading = false, state.flex_criteria_search.error = true, state.flex_criteria_search = action.payload;
33114
+ }), _extraReducers$8)
33115
+ });
33116
+ var flexCriteriaActions = {
33117
+ FLEX_CRITERIA_DEFAULT_DROPDOWN: FLEX_CRITERIA_DEFAULT_DROPDOWN,
33118
+ FLEX_CRITERIA_CODE: FLEX_CRITERIA_CODE,
33119
+ FLEX_CRITERIA_FULL_READ: FLEX_CRITERIA_FULL_READ,
33120
+ FLEX_CRITERIA_SINGLE_READ: FLEX_CRITERIA_SINGLE_READ,
33121
+ FLEX_CRITERIA_INSERT: FLEX_CRITERIA_INSERT,
33122
+ FLEX_CRITERIA_STATUS: FLEX_CRITERIA_STATUS,
33123
+ FLEX_CRITERIA_EDIT: FLEX_CRITERIA_EDIT,
33124
+ FLEX_CRITERIA_SEARCH: FLEX_CRITERIA_SEARCH
33125
+ };
33126
+ var flexCriteriaSlice$1 = flexCriteriaSlice.reducer;
33127
+
33128
+ var flexCriteriaApp = _objectSpread2({}, flexCriteriaActions);
33129
+
33130
+ var query$2 = {
33131
+ diagnosisList: function diagnosisList(level, code) {
33132
+ // "db_name": `${dbName}`,
33133
+ // "filter": {
33134
+ // "icdcode": code??"",
33135
+ // "parentlvnum": parentvl,
33136
+ // "childlvnum": childvl
33137
+ // },
33138
+ // "queryid": "9fabdc11-1864-432d-9916-bf36c5d9cc57"
33139
+ // }
33140
+
33141
+ return {
33142
+ "db_name": "".concat(dbName),
33143
+ "entity": "Diagnosis",
33144
+ "filter": "Diagnosis.levelnumber == -1 && Diagnosis.activestatus == true",
33145
+ "return_fields": "Diagnosis",
33146
+ "sort": "Diagnosis.icdname"
33147
+ };
33148
+ },
33149
+ diagnosisListChild: function diagnosisListChild(level, code) {
33150
+ var childvl = level + 1;
33151
+ return {
33152
+ "db_name": "".concat(dbName),
33153
+ "entity": "Diagnosis",
33154
+ "filter": "Diagnosis.parenticdcode=='".concat(code, "' && Diagnosis.levelnumber == ").concat(childvl, " && Diagnosis.activestatus==true"),
33155
+ "return_fields": "Diagnosis",
33156
+ "sort": "Diagnosis.icdname"
33157
+ };
33158
+ },
33159
+ updateListeffTo: function updateListeffTo(data) {
33160
+ var _data$effTo;
33161
+
33162
+ return [{
33163
+ "db_name": "".concat(dbName),
33164
+ "entity": "Diagnosis",
33165
+ "is_metadata": true,
33166
+ "filter": {
33167
+ "_key": "".concat(data === null || data === void 0 ? void 0 : data.key)
33168
+ },
33169
+ "metadataId": "04ecb73d-f048-44ce-8563-c9be015812dd",
33170
+ "doc": {
33171
+ "effTo": (_data$effTo = data === null || data === void 0 ? void 0 : data.effTo) !== null && _data$effTo !== void 0 ? _data$effTo : null
33172
+ }
33173
+ }];
33174
+ },
33175
+ searchList: function searchList(text) {
33176
+ return {
33177
+ "db_name": "".concat(dbName),
33178
+ "entity": "Diagnosis",
33179
+ "filter": "(LIKE (Diagnosis.icdcode, '%".concat(text, "%', true) || LIKE (Diagnosis.icdname, '%").concat(text, "%', true)) && Diagnosis.activestatus==true limit 50"),
33180
+ "return_fields": "Diagnosis",
33181
+ "sort": "Diagnosis.icdname"
33182
+ };
33183
+ }
33184
+ };
33185
+
33186
+ var _extraReducers$7;
33187
+
33188
+ var GET_DIAGNOSIS_LIST = createAsyncThunk("diagnosisMasterApiSlice/diagnosis_master_list", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
33189
+ var payload,
33190
+ _ref2,
33191
+ rejectWithValue,
33192
+ _data$result,
33193
+ code,
33194
+ level,
33195
+ data,
33196
+ _args = arguments;
33197
+
33198
+ return regeneratorRuntime.wrap(function _callee$(_context) {
33199
+ while (1) {
33200
+ switch (_context.prev = _context.next) {
33201
+ case 0:
33202
+ payload = _args.length > 0 && _args[0] !== undefined ? _args[0] : {};
33203
+ _ref2 = _args.length > 1 ? _args[1] : undefined, rejectWithValue = _ref2.rejectWithValue;
33204
+ _context.prev = 2;
33205
+ code = payload.code, level = payload.level;
33206
+ _context.next = 6;
33207
+ return fetchData({
33208
+ body: JSON.stringify(query$2.diagnosisList(level, code))
33209
+ }, __readDocumentUrl__);
33210
+
33211
+ case 6:
33212
+ data = _context.sent;
32135
33213
  return _context.abrupt("return", _objectSpread2(_objectSpread2({}, defaultState.List), {}, {
32136
33214
  data: (_data$result = data === null || data === void 0 ? void 0 : data.result) !== null && _data$result !== void 0 ? _data$result : null
32137
33215
  }));
@@ -32236,13 +33314,57 @@ var UPDATE_DIAGNOSIS_LIST = createAsyncThunk("diagnosisMasterApiSlice/update_dia
32236
33314
  }
32237
33315
  }
32238
33316
  }, _callee3, null, [[2, 10]]);
33317
+ }))); // SEARCH_LIST
33318
+
33319
+ var SEARCH_LIST = createAsyncThunk("diagnosisMasterApiSlice/diagnosis_master_list_search", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee4() {
33320
+ var payload,
33321
+ _ref8,
33322
+ rejectWithValue,
33323
+ _data$result3,
33324
+ text,
33325
+ data,
33326
+ _args4 = arguments;
33327
+
33328
+ return regeneratorRuntime.wrap(function _callee4$(_context4) {
33329
+ while (1) {
33330
+ switch (_context4.prev = _context4.next) {
33331
+ case 0:
33332
+ payload = _args4.length > 0 && _args4[0] !== undefined ? _args4[0] : {};
33333
+ _ref8 = _args4.length > 1 ? _args4[1] : undefined, rejectWithValue = _ref8.rejectWithValue;
33334
+ _context4.prev = 2;
33335
+ text = payload.text;
33336
+ _context4.next = 6;
33337
+ return fetchData({
33338
+ body: JSON.stringify(query$2.searchList(text))
33339
+ }, __readDocumentUrl__);
33340
+
33341
+ case 6:
33342
+ data = _context4.sent;
33343
+ return _context4.abrupt("return", _objectSpread2(_objectSpread2({}, defaultState.List), {}, {
33344
+ data: (_data$result3 = data === null || data === void 0 ? void 0 : data.result) !== null && _data$result3 !== void 0 ? _data$result3 : null
33345
+ }));
33346
+
33347
+ case 10:
33348
+ _context4.prev = 10;
33349
+ _context4.t0 = _context4["catch"](2);
33350
+ return _context4.abrupt("return", rejectWithValue(_objectSpread2(_objectSpread2({}, defaultReject), {}, {
33351
+ message: _context4.t0.message
33352
+ })));
33353
+
33354
+ case 13:
33355
+ case "end":
33356
+ return _context4.stop();
33357
+ }
33358
+ }
33359
+ }, _callee4, null, [[2, 10]]);
32239
33360
  })));
32240
33361
  var diagnosisMasterSlice = createSlice({
32241
33362
  name: "diagnosisMasterApiSlice",
32242
33363
  initialState: {
32243
33364
  diagnosis_master_list: _objectSpread2({}, defaultState.List),
32244
33365
  diagnosis_master_list_child: _objectSpread2({}, defaultState.List),
32245
- update_diagnosis_list: _objectSpread2({}, defaultState.List)
33366
+ update_diagnosis_list: _objectSpread2({}, defaultState.List),
33367
+ diagnosis_master_list_search: _objectSpread2({}, defaultState.List)
32246
33368
  },
32247
33369
  extraReducers: (_extraReducers$7 = {}, _defineProperty(_extraReducers$7, GET_DIAGNOSIS_LIST.fulfilled, function (state, action) {
32248
33370
  state.diagnosis_master_list.loading = false, state.diagnosis_master_list.error = false, state.diagnosis_master_list = action.payload;
@@ -32262,16 +33384,23 @@ var diagnosisMasterSlice = createSlice({
32262
33384
  state.update_diagnosis_list.loading = true, state.update_diagnosis_list.error = false, state.update_diagnosis_list.loading = true;
32263
33385
  }), _defineProperty(_extraReducers$7, UPDATE_DIAGNOSIS_LIST.rejected, function (state, action) {
32264
33386
  state.update_diagnosis_list.loading = false, state.update_diagnosis_list.error = true, state.update_diagnosis_list = action.payload;
33387
+ }), _defineProperty(_extraReducers$7, SEARCH_LIST.fulfilled, function (state, action) {
33388
+ state.diagnosis_master_list_search.loading = false, state.diagnosis_master_list_search.error = false, state.diagnosis_master_list_search = action.payload;
33389
+ }), _defineProperty(_extraReducers$7, SEARCH_LIST.pending, function (state, action) {
33390
+ state.diagnosis_master_list_search.loading = true, state.diagnosis_master_list_search.error = false, state.diagnosis_master_list_search.loading = true;
33391
+ }), _defineProperty(_extraReducers$7, SEARCH_LIST.rejected, function (state, action) {
33392
+ state.diagnosis_master_list_search.loading = false, state.diagnosis_master_list_search.error = true, state.diagnosis_master_list_search = action.payload;
32265
33393
  }), _extraReducers$7)
32266
33394
  });
32267
33395
  var diagnosisMasterActions = {
32268
33396
  GET_DIAGNOSIS_LIST: GET_DIAGNOSIS_LIST,
32269
33397
  GET_DIAGNOSIS_LIST_CHILD: GET_DIAGNOSIS_LIST_CHILD,
32270
- UPDATE_DIAGNOSIS_LIST: UPDATE_DIAGNOSIS_LIST
33398
+ UPDATE_DIAGNOSIS_LIST: UPDATE_DIAGNOSIS_LIST,
33399
+ SEARCH_LIST: SEARCH_LIST
32271
33400
  };
32272
33401
  var diagnosisMasterSlice$1 = diagnosisMasterSlice.reducer;
32273
33402
 
32274
- var consultActions = _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, ageRangeMasterActions), vitalsMasters), orderMasters), drug_actions), orderSetMasterActions), orderSetApplicabilityActions), allergenMasterActions), diagnosisMasterActions);
33403
+ var consultActions = _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, ageRangeMasterActions), vitalsMasters), orderMasters), drug_actions), orderSetMasterActions), orderSetApplicabilityActions), allergenMasterActions), flexMaster), flexCriteriaApp), diagnosisMasterActions);
32275
33404
 
32276
33405
  var query$1 = {
32277
33406
  // pending list
@@ -35543,6 +36672,8 @@ var index = combineReducers({
35543
36672
  encounterTypeSlice: encounterTypeSlice,
35544
36673
  orderSetApplicabilitySlice: orderSetApplicabilitySlice$1,
35545
36674
  allergenMasterSlice: allergenMasterSlice$1,
36675
+ flexAttributeSlice: flexAttributeSlice$1,
36676
+ flexCriteriaSlice: flexCriteriaSlice$1,
35546
36677
  diagnosisMasterSlice: diagnosisMasterSlice$1
35547
36678
  });
35548
36679