primary_care_admin_binder 0.1.19 → 0.1.23

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 +1911 -837
  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,
@@ -11839,6 +11839,7 @@ var queries$m = {
11839
11839
  entity: "LocationMaster,LocationMaster_CodeableConceptMaster_E,CodeableConceptMaster_CodingMaster_E,LocationMaster_LocationRoleType_E,LocationMaster_Organization_E,Organization_CodeableConceptMaster_E,LocationMaster_ContactPointMaster_E,LocationMaster_AddressMaster_E,LocationMaster_AttachmentMaster_E",
11840
11840
  filter: "LocationMaster.activestatus==true",
11841
11841
  isTraversal: "true",
11842
+ sort: "LocationMaster.createddate",
11842
11843
  return_fields: "{vertices:v,orginatedata:LocationMaster}"
11843
11844
  };
11844
11845
  },
@@ -12147,7 +12148,7 @@ var generateJSON = function generateJSON(data, _key) {
12147
12148
  return json;
12148
12149
  };
12149
12150
 
12150
- var _extraReducers$C;
12151
+ var _extraReducers$E;
12151
12152
  var LOCATION_READ = createAsyncThunk("locationSlice/locationlist", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
12152
12153
  var payload,
12153
12154
  _ref2,
@@ -12314,25 +12315,25 @@ var locationSlice = createSlice({
12314
12315
  location_list_upsert: _objectSpread2({}, defaultState.List),
12315
12316
  location_insert: _objectSpread2({}, defaultState.List)
12316
12317
  },
12317
- extraReducers: (_extraReducers$C = {}, _defineProperty(_extraReducers$C, LOCATION_READ.fulfilled, function (state, action) {
12318
+ extraReducers: (_extraReducers$E = {}, _defineProperty(_extraReducers$E, LOCATION_READ.fulfilled, function (state, action) {
12318
12319
  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) {
12320
+ }), _defineProperty(_extraReducers$E, LOCATION_READ.pending, function (state, action) {
12320
12321
  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) {
12322
+ }), _defineProperty(_extraReducers$E, LOCATION_READ.rejected, function (state, action) {
12322
12323
  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) {
12324
+ }), _defineProperty(_extraReducers$E, LOCATION_LIST_UPSERT.fulfilled, function (state, action) {
12324
12325
  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) {
12326
+ }), _defineProperty(_extraReducers$E, LOCATION_LIST_UPSERT.pending, function (state, action) {
12326
12327
  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) {
12328
+ }), _defineProperty(_extraReducers$E, LOCATION_LIST_UPSERT.rejected, function (state, action) {
12328
12329
  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) {
12330
+ }), _defineProperty(_extraReducers$E, LOCATION_MASTER_INSERT.fulfilled, function (state, action) {
12330
12331
  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) {
12332
+ }), _defineProperty(_extraReducers$E, LOCATION_MASTER_INSERT.pending, function (state, action) {
12332
12333
  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) {
12334
+ }), _defineProperty(_extraReducers$E, LOCATION_MASTER_INSERT.rejected, function (state, action) {
12334
12335
  state.location_insert.loading = false, state.location_insert.error = true, state.location_insert = action.payload;
12335
- }), _extraReducers$C)
12336
+ }), _extraReducers$E)
12336
12337
  });
12337
12338
  var locationActions$1 = {
12338
12339
  LOCATION_READ: LOCATION_READ,
@@ -12841,7 +12842,7 @@ var generateReadJSON$4 = function generateReadJSON(data, state) {
12841
12842
  return json;
12842
12843
  };
12843
12844
 
12844
- var _extraReducers$B;
12845
+ var _extraReducers$D;
12845
12846
  var LOCATION_MASTERS_ENTITYTYPE = createAsyncThunk("locationMasterSlice/location_masters_entitytype", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
12846
12847
  var _ref2,
12847
12848
  rejectWithValue,
@@ -13453,79 +13454,79 @@ var locationMasterSlice = createSlice({
13453
13454
  location_masters_priority: _objectSpread2({}, defaultState.List),
13454
13455
  locationmasterbyid: _objectSpread2({}, defaultState.List)
13455
13456
  },
13456
- extraReducers: (_extraReducers$B = {}, _defineProperty(_extraReducers$B, LOCATION_MASTERS_ENTITYTYPE.fulfilled, function (state, action) {
13457
+ extraReducers: (_extraReducers$D = {}, _defineProperty(_extraReducers$D, LOCATION_MASTERS_ENTITYTYPE.fulfilled, function (state, action) {
13457
13458
  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) {
13459
+ }), _defineProperty(_extraReducers$D, LOCATION_MASTERS_ENTITYTYPE.pending, function (state, action) {
13459
13460
  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) {
13461
+ }), _defineProperty(_extraReducers$D, LOCATION_MASTERS_ENTITYTYPE.rejected, function (state, action) {
13461
13462
  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) {
13463
+ }), _defineProperty(_extraReducers$D, LOCATION_MASTERS_ENTITYNAME.fulfilled, function (state, action) {
13463
13464
  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) {
13465
+ }), _defineProperty(_extraReducers$D, LOCATION_MASTERS_ENTITYNAME.pending, function (state, action) {
13465
13466
  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) {
13467
+ }), _defineProperty(_extraReducers$D, LOCATION_MASTERS_ENTITYNAME.rejected, function (state, action) {
13467
13468
  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) {
13469
+ }), _defineProperty(_extraReducers$D, LOCATION_MASTERS_LOCATIONTYPE.fulfilled, function (state, action) {
13469
13470
  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) {
13471
+ }), _defineProperty(_extraReducers$D, LOCATION_MASTERS_LOCATIONTYPE.pending, function (state, action) {
13471
13472
  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) {
13473
+ }), _defineProperty(_extraReducers$D, LOCATION_MASTERS_LOCATIONTYPE.rejected, function (state, action) {
13473
13474
  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) {
13475
+ }), _defineProperty(_extraReducers$D, LOCATION_MASTERS_OPERATIONALSTATUS.fulfilled, function (state, action) {
13475
13476
  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) {
13477
+ }), _defineProperty(_extraReducers$D, LOCATION_MASTERS_OPERATIONALSTATUS.pending, function (state, action) {
13477
13478
  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) {
13479
+ }), _defineProperty(_extraReducers$D, LOCATION_MASTERS_OPERATIONALSTATUS.rejected, function (state, action) {
13479
13480
  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) {
13481
+ }), _defineProperty(_extraReducers$D, LOCATION_MASTERS_PARENT_LOCATION_ID_DESCRIPTION.fulfilled, function (state, action) {
13481
13482
  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) {
13483
+ }), _defineProperty(_extraReducers$D, LOCATION_MASTERS_PARENT_LOCATION_ID_DESCRIPTION.pending, function (state, action) {
13483
13484
  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) {
13485
+ }), _defineProperty(_extraReducers$D, LOCATION_MASTERS_PARENT_LOCATION_ID_DESCRIPTION.rejected, function (state, action) {
13485
13486
  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) {
13487
+ }), _defineProperty(_extraReducers$D, LOCATION_MASTERS_LOCATIONROLETYPE.fulfilled, function (state, action) {
13487
13488
  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) {
13489
+ }), _defineProperty(_extraReducers$D, LOCATION_MASTERS_LOCATIONROLETYPE.pending, function (state, action) {
13489
13490
  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) {
13491
+ }), _defineProperty(_extraReducers$D, LOCATION_MASTERS_LOCATIONROLETYPE.rejected, function (state, action) {
13491
13492
  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) {
13493
+ }), _defineProperty(_extraReducers$D, LOCATION_MASTER_SPECIALITY.fulfilled, function (state, action) {
13493
13494
  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) {
13495
+ }), _defineProperty(_extraReducers$D, LOCATION_MASTER_SPECIALITY.pending, function (state, action) {
13495
13496
  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) {
13497
+ }), _defineProperty(_extraReducers$D, LOCATION_MASTER_SPECIALITY.rejected, function (state, action) {
13497
13498
  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) {
13499
+ }), _defineProperty(_extraReducers$D, LOCATION_MASTER_CONTACTMODE.fulfilled, function (state, action) {
13499
13500
  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) {
13501
+ }), _defineProperty(_extraReducers$D, LOCATION_MASTER_CONTACTMODE.pending, function (state, action) {
13501
13502
  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) {
13503
+ }), _defineProperty(_extraReducers$D, LOCATION_MASTER_CONTACTMODE.rejected, function (state, action) {
13503
13504
  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) {
13505
+ }), _defineProperty(_extraReducers$D, LOCATION_MASTER_ISD.fulfilled, function (state, action) {
13505
13506
  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) {
13507
+ }), _defineProperty(_extraReducers$D, LOCATION_MASTER_ISD.pending, function (state, action) {
13507
13508
  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) {
13509
+ }), _defineProperty(_extraReducers$D, LOCATION_MASTER_ISD.rejected, function (state, action) {
13509
13510
  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) {
13511
+ }), _defineProperty(_extraReducers$D, LOCATION_MASTER_USE.fulfilled, function (state, action) {
13511
13512
  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) {
13513
+ }), _defineProperty(_extraReducers$D, LOCATION_MASTER_USE.pending, function (state, action) {
13513
13514
  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) {
13515
+ }), _defineProperty(_extraReducers$D, LOCATION_MASTER_USE.rejected, function (state, action) {
13515
13516
  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) {
13517
+ }), _defineProperty(_extraReducers$D, LOCATION_MASTER_PRIORITY.fulfilled, function (state, action) {
13517
13518
  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) {
13519
+ }), _defineProperty(_extraReducers$D, LOCATION_MASTER_PRIORITY.pending, function (state, action) {
13519
13520
  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) {
13521
+ }), _defineProperty(_extraReducers$D, LOCATION_MASTER_PRIORITY.rejected, function (state, action) {
13521
13522
  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) {
13523
+ }), _defineProperty(_extraReducers$D, LOCATION_MASTER_GET_BY_ID.fulfilled, function (state, action) {
13523
13524
  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) {
13525
+ }), _defineProperty(_extraReducers$D, LOCATION_MASTER_GET_BY_ID.pending, function (state, action) {
13525
13526
  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) {
13527
+ }), _defineProperty(_extraReducers$D, LOCATION_MASTER_GET_BY_ID.rejected, function (state, action) {
13527
13528
  state.locationmasterbyid.loading = false, state.locationmasterbyid.error = true, state.locationmasterbyid = action.payload;
13528
- }), _extraReducers$B)
13529
+ }), _extraReducers$D)
13529
13530
  });
13530
13531
  var locationMasterActions = {
13531
13532
  LOCATION_MASTERS_ENTITYTYPE: LOCATION_MASTERS_ENTITYTYPE,
@@ -13624,7 +13625,7 @@ var queries$l = {
13624
13625
  }
13625
13626
  };
13626
13627
 
13627
- var _extraReducers$A;
13628
+ var _extraReducers$C;
13628
13629
  var ORDERTYPEREAD = createAsyncThunk("ordertypeSlice/ordertypeRead", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
13629
13630
  var _ref2,
13630
13631
  rejectWithValue,
@@ -13874,37 +13875,37 @@ var ordertypeSlice = createSlice({
13874
13875
  updateset_orrder_table: _objectSpread2({}, defaultState.List),
13875
13876
  insert_order_type: _objectSpread2({}, defaultState.List)
13876
13877
  },
13877
- extraReducers: (_extraReducers$A = {}, _defineProperty(_extraReducers$A, ORDERTYPEREAD.fulfilled, function (state, action) {
13878
+ extraReducers: (_extraReducers$C = {}, _defineProperty(_extraReducers$C, ORDERTYPEREAD.fulfilled, function (state, action) {
13878
13879
  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) {
13880
+ }), _defineProperty(_extraReducers$C, ORDERTYPEREAD.pending, function (state, action) {
13880
13881
  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) {
13882
+ }), _defineProperty(_extraReducers$C, ORDERTYPEREAD.rejected, function (state, action) {
13882
13883
  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) {
13884
+ }), _defineProperty(_extraReducers$C, ORDERCATEGORYMASTER.fulfilled, function (state, action) {
13884
13885
  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) {
13886
+ }), _defineProperty(_extraReducers$C, ORDERCATEGORYMASTER.pending, function (state, action) {
13886
13887
  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) {
13888
+ }), _defineProperty(_extraReducers$C, ORDERCATEGORYMASTER.rejected, function (state, action) {
13888
13889
  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) {
13890
+ }), _defineProperty(_extraReducers$C, UPDATEORDERTABLESTATE.fulfilled, function (state, action) {
13890
13891
  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) {
13892
+ }), _defineProperty(_extraReducers$C, UPDATEORDERTABLESTATE.pending, function (state, action) {
13892
13893
  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) {
13894
+ }), _defineProperty(_extraReducers$C, UPDATEORDERTABLESTATE.rejected, function (state, action) {
13894
13895
  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) {
13896
+ }), _defineProperty(_extraReducers$C, UPDATESETORDERTABLE.fulfilled, function (state, action) {
13896
13897
  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) {
13898
+ }), _defineProperty(_extraReducers$C, UPDATESETORDERTABLE.pending, function (state, action) {
13898
13899
  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) {
13900
+ }), _defineProperty(_extraReducers$C, UPDATESETORDERTABLE.rejected, function (state, action) {
13900
13901
  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) {
13902
+ }), _defineProperty(_extraReducers$C, INSERTORDERTABLE.fulfilled, function (state, action) {
13902
13903
  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) {
13904
+ }), _defineProperty(_extraReducers$C, INSERTORDERTABLE.pending, function (state, action) {
13904
13905
  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) {
13906
+ }), _defineProperty(_extraReducers$C, INSERTORDERTABLE.rejected, function (state, action) {
13906
13907
  state.insert_order_type.loading = false, state.insert_order_type.error = true, state.insert_order_type = action.payload;
13907
- }), _extraReducers$A)
13908
+ }), _extraReducers$C)
13908
13909
  });
13909
13910
  var ordertypeActions$1 = {
13910
13911
  ORDERTYPEREAD: ORDERTYPEREAD,
@@ -14016,7 +14017,7 @@ var queries$k = {
14016
14017
  }
14017
14018
  };
14018
14019
 
14019
- var _extraReducers$z;
14020
+ var _extraReducers$B;
14020
14021
  var ORDERNATUREREAD = createAsyncThunk("ordertypeSlice/ordernatureread", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
14021
14022
  var _ref2,
14022
14023
  rejectWithValue,
@@ -14211,31 +14212,31 @@ var ordernatureSlice = createSlice({
14211
14212
  updateset_orrder_nature_table: _objectSpread2({}, defaultState.List),
14212
14213
  insert_order_nature_type: _objectSpread2({}, defaultState.List)
14213
14214
  },
14214
- extraReducers: (_extraReducers$z = {}, _defineProperty(_extraReducers$z, ORDERNATUREREAD.fulfilled, function (state, action) {
14215
+ extraReducers: (_extraReducers$B = {}, _defineProperty(_extraReducers$B, ORDERNATUREREAD.fulfilled, function (state, action) {
14215
14216
  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) {
14217
+ }), _defineProperty(_extraReducers$B, ORDERNATUREREAD.pending, function (state, action) {
14217
14218
  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) {
14219
+ }), _defineProperty(_extraReducers$B, ORDERNATUREREAD.rejected, function (state, action) {
14219
14220
  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) {
14221
+ }), _defineProperty(_extraReducers$B, UPDATEORDERNATURETABLESTATE.fulfilled, function (state, action) {
14221
14222
  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) {
14223
+ }), _defineProperty(_extraReducers$B, UPDATEORDERNATURETABLESTATE.pending, function (state, action) {
14223
14224
  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) {
14225
+ }), _defineProperty(_extraReducers$B, UPDATEORDERNATURETABLESTATE.rejected, function (state, action) {
14225
14226
  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) {
14227
+ }), _defineProperty(_extraReducers$B, UPDATESETORDERNATURETABLE.fulfilled, function (state, action) {
14227
14228
  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) {
14229
+ }), _defineProperty(_extraReducers$B, UPDATESETORDERNATURETABLE.pending, function (state, action) {
14229
14230
  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) {
14231
+ }), _defineProperty(_extraReducers$B, UPDATESETORDERNATURETABLE.rejected, function (state, action) {
14231
14232
  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) {
14233
+ }), _defineProperty(_extraReducers$B, INSERTORDERNATURETABLE.fulfilled, function (state, action) {
14233
14234
  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) {
14235
+ }), _defineProperty(_extraReducers$B, INSERTORDERNATURETABLE.pending, function (state, action) {
14235
14236
  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) {
14237
+ }), _defineProperty(_extraReducers$B, INSERTORDERNATURETABLE.rejected, function (state, action) {
14237
14238
  state.insert_order_nature_type.loading = false, state.insert_order_nature_type.error = true, state.insert_order_nature_type = action.payload;
14238
- }), _extraReducers$z)
14239
+ }), _extraReducers$B)
14239
14240
  });
14240
14241
  var ordernatureActions$1 = {
14241
14242
  ORDERNATUREREAD: ORDERNATUREREAD,
@@ -14841,7 +14842,7 @@ var queries$i = {
14841
14842
  }
14842
14843
  };
14843
14844
 
14844
- var _extraReducers$y;
14845
+ var _extraReducers$A;
14845
14846
  var CODEABLE_CONCEPT_MASTER_STATUS_CHANGE = createAsyncThunk("availabilityManagementSlice/appointmentTypeStatus", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
14846
14847
  var payload,
14847
14848
  _ref2,
@@ -15001,25 +15002,25 @@ var availabilityManagementSlice = createSlice({
15001
15002
  appointment_type_list: _objectSpread2({}, defaultState.List),
15002
15003
  codeable_concept_master_upsert: _objectSpread2({}, defaultState.List)
15003
15004
  },
15004
- extraReducers: (_extraReducers$y = {}, _defineProperty(_extraReducers$y, CODEABLE_CONCEPT_MASTER_STATUS_CHANGE.fulfilled, function (state, action) {
15005
+ extraReducers: (_extraReducers$A = {}, _defineProperty(_extraReducers$A, CODEABLE_CONCEPT_MASTER_STATUS_CHANGE.fulfilled, function (state, action) {
15005
15006
  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) {
15007
+ }), _defineProperty(_extraReducers$A, CODEABLE_CONCEPT_MASTER_STATUS_CHANGE.pending, function (state, action) {
15007
15008
  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) {
15009
+ }), _defineProperty(_extraReducers$A, CODEABLE_CONCEPT_MASTER_STATUS_CHANGE.rejected, function (state, action) {
15009
15010
  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) {
15011
+ }), _defineProperty(_extraReducers$A, APPOINTMENT_TYPE_READ.fulfilled, function (state, action) {
15011
15012
  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) {
15013
+ }), _defineProperty(_extraReducers$A, APPOINTMENT_TYPE_READ.pending, function (state, action) {
15013
15014
  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) {
15015
+ }), _defineProperty(_extraReducers$A, APPOINTMENT_TYPE_READ.rejected, function (state, action) {
15015
15016
  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) {
15017
+ }), _defineProperty(_extraReducers$A, CODEABLE_CONCEPT_MASTER_UPSERT.fulfilled, function (state, action) {
15017
15018
  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) {
15019
+ }), _defineProperty(_extraReducers$A, CODEABLE_CONCEPT_MASTER_UPSERT.pending, function (state, action) {
15019
15020
  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) {
15021
+ }), _defineProperty(_extraReducers$A, CODEABLE_CONCEPT_MASTER_UPSERT.rejected, function (state, action) {
15021
15022
  state.codeable_concept_master_upsert.loading = false, state.codeable_concept_master_upsert.error = true, state.codeable_concept_master_upsert = action.payload;
15022
- }), _extraReducers$y)
15023
+ }), _extraReducers$A)
15023
15024
  });
15024
15025
  var availabilityManagementActions$1 = {
15025
15026
  CODEABLE_CONCEPT_MASTER_STATUS_CHANGE: CODEABLE_CONCEPT_MASTER_STATUS_CHANGE,
@@ -15028,7 +15029,7 @@ var availabilityManagementActions$1 = {
15028
15029
  };
15029
15030
  var availabilityManagementSlice$1 = availabilityManagementSlice.reducer;
15030
15031
 
15031
- var _extraReducers$x;
15032
+ var _extraReducers$z;
15032
15033
 
15033
15034
  var loopMasters$7 = function loopMasters() {
15034
15035
  return new es6Promise.Promise( /*#__PURE__*/function () {
@@ -15337,31 +15338,31 @@ var holidaySlice = createSlice({
15337
15338
  holiday_upsert: _objectSpread2({}, defaultState.List),
15338
15339
  holiday_master: _objectSpread2({}, defaultState.List)
15339
15340
  },
15340
- extraReducers: (_extraReducers$x = {}, _defineProperty(_extraReducers$x, HOLIDAY_STATUS_CHANGE.fulfilled, function (state, action) {
15341
+ extraReducers: (_extraReducers$z = {}, _defineProperty(_extraReducers$z, HOLIDAY_STATUS_CHANGE.fulfilled, function (state, action) {
15341
15342
  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) {
15343
+ }), _defineProperty(_extraReducers$z, HOLIDAY_STATUS_CHANGE.pending, function (state, action) {
15343
15344
  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) {
15345
+ }), _defineProperty(_extraReducers$z, HOLIDAY_STATUS_CHANGE.rejected, function (state, action) {
15345
15346
  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) {
15347
+ }), _defineProperty(_extraReducers$z, HOLIDAY_READ.fulfilled, function (state, action) {
15347
15348
  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) {
15349
+ }), _defineProperty(_extraReducers$z, HOLIDAY_READ.pending, function (state, action) {
15349
15350
  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) {
15351
+ }), _defineProperty(_extraReducers$z, HOLIDAY_READ.rejected, function (state, action) {
15351
15352
  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) {
15353
+ }), _defineProperty(_extraReducers$z, HOLIDAY_UPSERT.fulfilled, function (state, action) {
15353
15354
  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) {
15355
+ }), _defineProperty(_extraReducers$z, HOLIDAY_UPSERT.pending, function (state, action) {
15355
15356
  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) {
15357
+ }), _defineProperty(_extraReducers$z, HOLIDAY_UPSERT.rejected, function (state, action) {
15357
15358
  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) {
15359
+ }), _defineProperty(_extraReducers$z, HOLIDAY_MASTERS.fulfilled, function (state, action) {
15359
15360
  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) {
15361
+ }), _defineProperty(_extraReducers$z, HOLIDAY_MASTERS.pending, function (state, action) {
15361
15362
  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) {
15363
+ }), _defineProperty(_extraReducers$z, HOLIDAY_MASTERS.rejected, function (state, action) {
15363
15364
  state.holiday_master.loading = false, state.holiday_master.error = true, state.holiday_master = action.payload;
15364
- }), _extraReducers$x)
15365
+ }), _extraReducers$z)
15365
15366
  });
15366
15367
  var holidayActions = {
15367
15368
  HOLIDAY_STATUS_CHANGE: HOLIDAY_STATUS_CHANGE,
@@ -15616,7 +15617,7 @@ var generateReadJson$3 = {
15616
15617
  }
15617
15618
  };
15618
15619
 
15619
- var _extraReducers$w;
15620
+ var _extraReducers$y;
15620
15621
  var RESOURCE_BY_APPOINTMRNT_TYPES = createAsyncThunk("resourceByAppointmentTypesSlice/resource_appointment_type", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
15621
15622
  var _ref2,
15622
15623
  rejectWithValue,
@@ -16241,79 +16242,79 @@ var resourceByAppointmentTypesSlice = createSlice({
16241
16242
  res_upsert_new: _objectSpread2({}, defaultState.List),
16242
16243
  res_line_list_read_doc: _objectSpread2({}, defaultState.List)
16243
16244
  },
16244
- extraReducers: (_extraReducers$w = {}, _defineProperty(_extraReducers$w, RESOURCE_BY_APPOINTMRNT_TYPES.fulfilled, function (state, action) {
16245
+ extraReducers: (_extraReducers$y = {}, _defineProperty(_extraReducers$y, RESOURCE_BY_APPOINTMRNT_TYPES.fulfilled, function (state, action) {
16245
16246
  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) {
16247
+ }), _defineProperty(_extraReducers$y, RESOURCE_BY_APPOINTMRNT_TYPES.pending, function (state, action) {
16247
16248
  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) {
16249
+ }), _defineProperty(_extraReducers$y, RESOURCE_BY_APPOINTMRNT_TYPES.rejected, function (state, action) {
16249
16250
  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) {
16251
+ }), _defineProperty(_extraReducers$y, RESOURCE_BY_ENTITY_NAME_TYPES.fulfilled, function (state, action) {
16251
16252
  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) {
16253
+ }), _defineProperty(_extraReducers$y, RESOURCE_BY_ENTITY_NAME_TYPES.pending, function (state, action) {
16253
16254
  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) {
16255
+ }), _defineProperty(_extraReducers$y, RESOURCE_BY_ENTITY_NAME_TYPES.rejected, function (state, action) {
16255
16256
  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) {
16257
+ }), _defineProperty(_extraReducers$y, RESOURCE_BY_ENTITY_TYPE.fulfilled, function (state, action) {
16257
16258
  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) {
16259
+ }), _defineProperty(_extraReducers$y, RESOURCE_BY_ENTITY_TYPE.pending, function (state, action) {
16259
16260
  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) {
16261
+ }), _defineProperty(_extraReducers$y, RESOURCE_BY_ENTITY_TYPE.rejected, function (state, action) {
16261
16262
  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) {
16263
+ }), _defineProperty(_extraReducers$y, RESOURCE_BY_TABLE_DATA.fulfilled, function (state, action) {
16263
16264
  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) {
16265
+ }), _defineProperty(_extraReducers$y, RESOURCE_BY_TABLE_DATA.pending, function (state, action) {
16265
16266
  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) {
16267
+ }), _defineProperty(_extraReducers$y, RESOURCE_BY_TABLE_DATA.rejected, function (state, action) {
16267
16268
  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) {
16269
+ }), _defineProperty(_extraReducers$y, RESOURCE_TYPE_DROP_DOWN.fulfilled, function (state, action) {
16269
16270
  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) {
16271
+ }), _defineProperty(_extraReducers$y, RESOURCE_TYPE_DROP_DOWN.pending, function (state, action) {
16271
16272
  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) {
16273
+ }), _defineProperty(_extraReducers$y, RESOURCE_TYPE_DROP_DOWN.rejected, function (state, action) {
16273
16274
  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) {
16275
+ }), _defineProperty(_extraReducers$y, RESOURCE_ROLE_DROP_DOWN.fulfilled, function (state, action) {
16275
16276
  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) {
16277
+ }), _defineProperty(_extraReducers$y, RESOURCE_ROLE_DROP_DOWN.pending, function (state, action) {
16277
16278
  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) {
16279
+ }), _defineProperty(_extraReducers$y, RESOURCE_ROLE_DROP_DOWN.rejected, function (state, action) {
16279
16280
  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) {
16281
+ }), _defineProperty(_extraReducers$y, RES_GENERAL_INSTRUCTION.fulfilled, function (state, action) {
16281
16282
  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) {
16283
+ }), _defineProperty(_extraReducers$y, RES_GENERAL_INSTRUCTION.pending, function (state, action) {
16283
16284
  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) {
16285
+ }), _defineProperty(_extraReducers$y, RES_GENERAL_INSTRUCTION.rejected, function (state, action) {
16285
16286
  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) {
16287
+ }), _defineProperty(_extraReducers$y, RES_SPECIALINSTRUCTION.fulfilled, function (state, action) {
16287
16288
  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) {
16289
+ }), _defineProperty(_extraReducers$y, RES_SPECIALINSTRUCTION.pending, function (state, action) {
16289
16290
  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) {
16291
+ }), _defineProperty(_extraReducers$y, RES_SPECIALINSTRUCTION.rejected, function (state, action) {
16291
16292
  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) {
16293
+ }), _defineProperty(_extraReducers$y, RES_CRITERIA_INSTRUVTION.fulfilled, function (state, action) {
16293
16294
  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) {
16295
+ }), _defineProperty(_extraReducers$y, RES_CRITERIA_INSTRUVTION.pending, function (state, action) {
16295
16296
  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) {
16297
+ }), _defineProperty(_extraReducers$y, RES_CRITERIA_INSTRUVTION.rejected, function (state, action) {
16297
16298
  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) {
16299
+ }), _defineProperty(_extraReducers$y, UPDATE_STATUS_RES_LINE_LIST.fulfilled, function (state, action) {
16299
16300
  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) {
16301
+ }), _defineProperty(_extraReducers$y, UPDATE_STATUS_RES_LINE_LIST.pending, function (state, action) {
16301
16302
  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) {
16303
+ }), _defineProperty(_extraReducers$y, UPDATE_STATUS_RES_LINE_LIST.rejected, function (state, action) {
16303
16304
  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) {
16305
+ }), _defineProperty(_extraReducers$y, RES_UPSERT_INSER_NEW.fulfilled, function (state, action) {
16305
16306
  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) {
16307
+ }), _defineProperty(_extraReducers$y, RES_UPSERT_INSER_NEW.pending, function (state, action) {
16307
16308
  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) {
16309
+ }), _defineProperty(_extraReducers$y, RES_UPSERT_INSER_NEW.rejected, function (state, action) {
16309
16310
  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) {
16311
+ }), _defineProperty(_extraReducers$y, RES_LINE_LIST_READ_DOC.fulfilled, function (state, action) {
16311
16312
  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) {
16313
+ }), _defineProperty(_extraReducers$y, RES_LINE_LIST_READ_DOC.pending, function (state, action) {
16313
16314
  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) {
16315
+ }), _defineProperty(_extraReducers$y, RES_LINE_LIST_READ_DOC.rejected, function (state, action) {
16315
16316
  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)
16317
+ }), _extraReducers$y)
16317
16318
  });
16318
16319
  var resourceByAppointmentTypes = {
16319
16320
  RESOURCE_BY_APPOINTMRNT_TYPES: RESOURCE_BY_APPOINTMRNT_TYPES,
@@ -16460,7 +16461,7 @@ var queries$g = {
16460
16461
  }
16461
16462
  };
16462
16463
 
16463
- var _extraReducers$v;
16464
+ var _extraReducers$x;
16464
16465
  var DRUG_CATEGORY_READ = createAsyncThunk("drugCategorySlice/drug_category_list", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
16465
16466
  var _ref2,
16466
16467
  rejectWithValue,
@@ -16565,19 +16566,19 @@ var drugCategorySlice = createSlice({
16565
16566
  drug_category_list: _objectSpread2({}, defaultState.List),
16566
16567
  drug_type_list: _objectSpread2({}, defaultState.List)
16567
16568
  },
16568
- extraReducers: (_extraReducers$v = {}, _defineProperty(_extraReducers$v, DRUG_CATEGORY_READ.fulfilled, function (state, action) {
16569
+ extraReducers: (_extraReducers$x = {}, _defineProperty(_extraReducers$x, DRUG_CATEGORY_READ.fulfilled, function (state, action) {
16569
16570
  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) {
16571
+ }), _defineProperty(_extraReducers$x, DRUG_CATEGORY_READ.pending, function (state, action) {
16571
16572
  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) {
16573
+ }), _defineProperty(_extraReducers$x, DRUG_CATEGORY_READ.rejected, function (state, action) {
16573
16574
  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) {
16575
+ }), _defineProperty(_extraReducers$x, DRUG_TYPE_READ.fulfilled, function (state, action) {
16575
16576
  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) {
16577
+ }), _defineProperty(_extraReducers$x, DRUG_TYPE_READ.pending, function (state, action) {
16577
16578
  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) {
16579
+ }), _defineProperty(_extraReducers$x, DRUG_TYPE_READ.rejected, function (state, action) {
16579
16580
  state.drug_type_list.loading = false, state.drug_type_list.error = true, state.drug_type_list = action.payload;
16580
- }), _extraReducers$v)
16581
+ }), _extraReducers$x)
16581
16582
  });
16582
16583
  var drugCategoryActions = {
16583
16584
  DRUG_CATEGORY_READ: DRUG_CATEGORY_READ,
@@ -16585,7 +16586,7 @@ var drugCategoryActions = {
16585
16586
  };
16586
16587
  var drugCategorySlice$1 = drugCategorySlice.reducer;
16587
16588
 
16588
- var _extraReducers$u;
16589
+ var _extraReducers$w;
16589
16590
  var DRUG_DOSAGE_READ = createAsyncThunk("drugDosageSlice/drug_dosage_list", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
16590
16591
  var _ref2,
16591
16592
  rejectWithValue,
@@ -16738,25 +16739,25 @@ var drugDosageSlice = createSlice({
16738
16739
  drug_dosage_upsert: _objectSpread2({}, defaultState.List),
16739
16740
  drug_dosage_status: _objectSpread2({}, defaultState.List)
16740
16741
  },
16741
- extraReducers: (_extraReducers$u = {}, _defineProperty(_extraReducers$u, DRUG_DOSAGE_READ.fulfilled, function (state, action) {
16742
+ extraReducers: (_extraReducers$w = {}, _defineProperty(_extraReducers$w, DRUG_DOSAGE_READ.fulfilled, function (state, action) {
16742
16743
  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) {
16744
+ }), _defineProperty(_extraReducers$w, DRUG_DOSAGE_READ.pending, function (state, action) {
16744
16745
  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) {
16746
+ }), _defineProperty(_extraReducers$w, DRUG_DOSAGE_READ.rejected, function (state, action) {
16746
16747
  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) {
16748
+ }), _defineProperty(_extraReducers$w, DRUG_DOSAGE_UPSERT.fulfilled, function (state, action) {
16748
16749
  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) {
16750
+ }), _defineProperty(_extraReducers$w, DRUG_DOSAGE_UPSERT.pending, function (state, action) {
16750
16751
  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) {
16752
+ }), _defineProperty(_extraReducers$w, DRUG_DOSAGE_UPSERT.rejected, function (state, action) {
16752
16753
  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) {
16754
+ }), _defineProperty(_extraReducers$w, DRUG_DOSAGE_STATUS_CHANGE.fulfilled, function (state, action) {
16754
16755
  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) {
16756
+ }), _defineProperty(_extraReducers$w, DRUG_DOSAGE_STATUS_CHANGE.pending, function (state, action) {
16756
16757
  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) {
16758
+ }), _defineProperty(_extraReducers$w, DRUG_DOSAGE_STATUS_CHANGE.rejected, function (state, action) {
16758
16759
  state.drug_dosage_status.loading = false, state.drug_dosage_status.error = true, state.drug_dosage_status = action.payload;
16759
- }), _extraReducers$u)
16760
+ }), _extraReducers$w)
16760
16761
  });
16761
16762
  var drugDosageActions = {
16762
16763
  DRUG_DOSAGE_READ: DRUG_DOSAGE_READ,
@@ -16765,7 +16766,7 @@ var drugDosageActions = {
16765
16766
  };
16766
16767
  var drugDosageSlice$1 = drugDosageSlice.reducer;
16767
16768
 
16768
- var _extraReducers$t;
16769
+ var _extraReducers$v;
16769
16770
  var DRUG_CLASS_READ = createAsyncThunk("drugClassSlice/drug_class_list", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
16770
16771
  var _ref2,
16771
16772
  rejectWithValue,
@@ -16918,25 +16919,25 @@ var drugClassSlice = createSlice({
16918
16919
  drug_class_upsert: _objectSpread2({}, defaultState.List),
16919
16920
  drug_class_status: _objectSpread2({}, defaultState.List)
16920
16921
  },
16921
- extraReducers: (_extraReducers$t = {}, _defineProperty(_extraReducers$t, DRUG_CLASS_READ.fulfilled, function (state, action) {
16922
+ extraReducers: (_extraReducers$v = {}, _defineProperty(_extraReducers$v, DRUG_CLASS_READ.fulfilled, function (state, action) {
16922
16923
  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) {
16924
+ }), _defineProperty(_extraReducers$v, DRUG_CLASS_READ.pending, function (state, action) {
16924
16925
  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) {
16926
+ }), _defineProperty(_extraReducers$v, DRUG_CLASS_READ.rejected, function (state, action) {
16926
16927
  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) {
16928
+ }), _defineProperty(_extraReducers$v, DRUG_CLASS_UPSERT.fulfilled, function (state, action) {
16928
16929
  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) {
16930
+ }), _defineProperty(_extraReducers$v, DRUG_CLASS_UPSERT.pending, function (state, action) {
16930
16931
  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) {
16932
+ }), _defineProperty(_extraReducers$v, DRUG_CLASS_UPSERT.rejected, function (state, action) {
16932
16933
  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) {
16934
+ }), _defineProperty(_extraReducers$v, DRUG_CLASS_STATUS_CHANGE.fulfilled, function (state, action) {
16934
16935
  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) {
16936
+ }), _defineProperty(_extraReducers$v, DRUG_CLASS_STATUS_CHANGE.pending, function (state, action) {
16936
16937
  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) {
16938
+ }), _defineProperty(_extraReducers$v, DRUG_CLASS_STATUS_CHANGE.rejected, function (state, action) {
16938
16939
  state.drug_class_status.loading = false, state.drug_class_status.error = true, state.drug_class_status = action.payload;
16939
- }), _extraReducers$t)
16940
+ }), _extraReducers$v)
16940
16941
  });
16941
16942
  var drugClassActions = {
16942
16943
  DRUG_CLASS_READ: DRUG_CLASS_READ,
@@ -16945,7 +16946,7 @@ var drugClassActions = {
16945
16946
  };
16946
16947
  var drugClassSlice$1 = drugClassSlice.reducer;
16947
16948
 
16948
- var _extraReducers$s;
16949
+ var _extraReducers$u;
16949
16950
  var DRUG_ROUTES_READ = createAsyncThunk("drugRoutesSlice/drug_routes_list", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
16950
16951
  var _ref2,
16951
16952
  rejectWithValue,
@@ -17100,25 +17101,25 @@ var drugRoutesSlice = createSlice({
17100
17101
  drug_routes_upsert: _objectSpread2({}, defaultState.List),
17101
17102
  drug_routes_status: _objectSpread2({}, defaultState.List)
17102
17103
  },
17103
- extraReducers: (_extraReducers$s = {}, _defineProperty(_extraReducers$s, DRUG_ROUTES_READ.fulfilled, function (state, action) {
17104
+ extraReducers: (_extraReducers$u = {}, _defineProperty(_extraReducers$u, DRUG_ROUTES_READ.fulfilled, function (state, action) {
17104
17105
  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) {
17106
+ }), _defineProperty(_extraReducers$u, DRUG_ROUTES_READ.pending, function (state, action) {
17106
17107
  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) {
17108
+ }), _defineProperty(_extraReducers$u, DRUG_ROUTES_READ.rejected, function (state, action) {
17108
17109
  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) {
17110
+ }), _defineProperty(_extraReducers$u, DRUG_ROUTES_UPSERT.fulfilled, function (state, action) {
17110
17111
  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) {
17112
+ }), _defineProperty(_extraReducers$u, DRUG_ROUTES_UPSERT.pending, function (state, action) {
17112
17113
  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) {
17114
+ }), _defineProperty(_extraReducers$u, DRUG_ROUTES_UPSERT.rejected, function (state, action) {
17114
17115
  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) {
17116
+ }), _defineProperty(_extraReducers$u, DRUG_ROUTES_STATUS_CHANGE.fulfilled, function (state, action) {
17116
17117
  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) {
17118
+ }), _defineProperty(_extraReducers$u, DRUG_ROUTES_STATUS_CHANGE.pending, function (state, action) {
17118
17119
  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) {
17120
+ }), _defineProperty(_extraReducers$u, DRUG_ROUTES_STATUS_CHANGE.rejected, function (state, action) {
17120
17121
  state.drug_routes_status.loading = false, state.drug_routes_status.error = true, state.drug_routes_status = action.payload;
17121
- }), _extraReducers$s)
17122
+ }), _extraReducers$u)
17122
17123
  });
17123
17124
  var drugRoutesActions = {
17124
17125
  DRUG_ROUTES_READ: DRUG_ROUTES_READ,
@@ -18008,7 +18009,7 @@ var readDrugMasterJSON = function readDrugMasterJSON(data, state) {
18008
18009
  return json;
18009
18010
  };
18010
18011
 
18011
- var _extraReducers$r;
18012
+ var _extraReducers$t;
18012
18013
 
18013
18014
  var loopMasters$6 = function loopMasters() {
18014
18015
  return new es6Promise.Promise( /*#__PURE__*/function () {
@@ -18557,55 +18558,55 @@ var drugMasterSlice = createSlice({
18557
18558
  drug_form_read: _objectSpread2({}, defaultState.List),
18558
18559
  age_category_by_id: _objectSpread2({}, defaultState.List)
18559
18560
  },
18560
- extraReducers: (_extraReducers$r = {}, _defineProperty(_extraReducers$r, DRUG_MASTER_READ.fulfilled, function (state, action) {
18561
+ extraReducers: (_extraReducers$t = {}, _defineProperty(_extraReducers$t, DRUG_MASTER_READ.fulfilled, function (state, action) {
18561
18562
  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) {
18563
+ }), _defineProperty(_extraReducers$t, DRUG_MASTER_READ.pending, function (state, action) {
18563
18564
  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) {
18565
+ }), _defineProperty(_extraReducers$t, DRUG_MASTER_READ.rejected, function (state, action) {
18565
18566
  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) {
18567
+ }), _defineProperty(_extraReducers$t, DRUG_MASTER_UPSERT.fulfilled, function (state, action) {
18567
18568
  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) {
18569
+ }), _defineProperty(_extraReducers$t, DRUG_MASTER_UPSERT.pending, function (state, action) {
18569
18570
  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) {
18571
+ }), _defineProperty(_extraReducers$t, DRUG_MASTER_UPSERT.rejected, function (state, action) {
18571
18572
  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) {
18573
+ }), _defineProperty(_extraReducers$t, DRUG_MASTER_STATUS_CHANGE.fulfilled, function (state, action) {
18573
18574
  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) {
18575
+ }), _defineProperty(_extraReducers$t, DRUG_MASTER_STATUS_CHANGE.pending, function (state, action) {
18575
18576
  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) {
18577
+ }), _defineProperty(_extraReducers$t, DRUG_MASTER_STATUS_CHANGE.rejected, function (state, action) {
18577
18578
  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) {
18579
+ }), _defineProperty(_extraReducers$t, DRUG_MASTERS.fulfilled, function (state, action) {
18579
18580
  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) {
18581
+ }), _defineProperty(_extraReducers$t, DRUG_MASTERS.pending, function (state, action) {
18581
18582
  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) {
18583
+ }), _defineProperty(_extraReducers$t, DRUG_MASTERS.rejected, function (state, action) {
18583
18584
  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) {
18585
+ }), _defineProperty(_extraReducers$t, SAVE_DRUG_MASTER.fulfilled, function (state, action) {
18585
18586
  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) {
18587
+ }), _defineProperty(_extraReducers$t, SAVE_DRUG_MASTER.pending, function (state, action) {
18587
18588
  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) {
18589
+ }), _defineProperty(_extraReducers$t, SAVE_DRUG_MASTER.rejected, function (state, action) {
18589
18590
  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) {
18591
+ }), _defineProperty(_extraReducers$t, DRUG_FORM_TYPE.fulfilled, function (state, action) {
18591
18592
  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) {
18593
+ }), _defineProperty(_extraReducers$t, DRUG_FORM_TYPE.pending, function (state, action) {
18593
18594
  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) {
18595
+ }), _defineProperty(_extraReducers$t, DRUG_FORM_TYPE.rejected, function (state, action) {
18595
18596
  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) {
18597
+ }), _defineProperty(_extraReducers$t, DRUG_READ_FORM.fulfilled, function (state, action) {
18597
18598
  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) {
18599
+ }), _defineProperty(_extraReducers$t, DRUG_READ_FORM.pending, function (state, action) {
18599
18600
  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) {
18601
+ }), _defineProperty(_extraReducers$t, DRUG_READ_FORM.rejected, function (state, action) {
18601
18602
  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) {
18603
+ }), _defineProperty(_extraReducers$t, AGE_CATEGORY_BY_ID.fulfilled, function (state, action) {
18603
18604
  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) {
18605
+ }), _defineProperty(_extraReducers$t, AGE_CATEGORY_BY_ID.pending, function (state, action) {
18605
18606
  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) {
18607
+ }), _defineProperty(_extraReducers$t, AGE_CATEGORY_BY_ID.rejected, function (state, action) {
18607
18608
  state.age_category_by_id.loading = false, state.age_category_by_id.error = true, state.age_category_by_id = action.payload;
18608
- }), _extraReducers$r)
18609
+ }), _extraReducers$t)
18609
18610
  });
18610
18611
  var drugMasterActions = {
18611
18612
  DRUG_MASTER_READ: DRUG_MASTER_READ,
@@ -18690,7 +18691,7 @@ var queries$e = {
18690
18691
  }
18691
18692
  };
18692
18693
 
18693
- var _extraReducers$q;
18694
+ var _extraReducers$s;
18694
18695
  var DRUG_ROUTES_DIRECTION_READ = createAsyncThunk("drugRoutesSlice/drug_routes_direction_list", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
18695
18696
  var _ref2,
18696
18697
  rejectWithValue,
@@ -18935,37 +18936,37 @@ var drugRoutesDirectionSlice = createSlice({
18935
18936
  drug_routes_insert_list: _objectSpread2({}, defaultState.List),
18936
18937
  drug_routes_update_list: _objectSpread2({}, defaultState.List)
18937
18938
  },
18938
- extraReducers: (_extraReducers$q = {}, _defineProperty(_extraReducers$q, DRUG_ROUTES_DIRECTION_READ.fulfilled, function (state, action) {
18939
+ extraReducers: (_extraReducers$s = {}, _defineProperty(_extraReducers$s, DRUG_ROUTES_DIRECTION_READ.fulfilled, function (state, action) {
18939
18940
  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) {
18941
+ }), _defineProperty(_extraReducers$s, DRUG_ROUTES_DIRECTION_READ.pending, function (state, action) {
18941
18942
  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) {
18943
+ }), _defineProperty(_extraReducers$s, DRUG_ROUTES_DIRECTION_READ.rejected, function (state, action) {
18943
18944
  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) {
18945
+ }), _defineProperty(_extraReducers$s, DRUG_ROUTES_DIRECTION_MASTER.fulfilled, function (state, action) {
18945
18946
  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) {
18947
+ }), _defineProperty(_extraReducers$s, DRUG_ROUTES_DIRECTION_MASTER.pending, function (state, action) {
18947
18948
  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) {
18949
+ }), _defineProperty(_extraReducers$s, DRUG_ROUTES_DIRECTION_MASTER.rejected, function (state, action) {
18949
18950
  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) {
18951
+ }), _defineProperty(_extraReducers$s, DRUG_ROUTES_DIRECTION_STATUS.fulfilled, function (state, action) {
18951
18952
  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) {
18953
+ }), _defineProperty(_extraReducers$s, DRUG_ROUTES_DIRECTION_STATUS.pending, function (state, action) {
18953
18954
  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) {
18955
+ }), _defineProperty(_extraReducers$s, DRUG_ROUTES_DIRECTION_STATUS.rejected, function (state, action) {
18955
18956
  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) {
18957
+ }), _defineProperty(_extraReducers$s, DRUG_ROUTES_DIRECTION_INSERT.fulfilled, function (state, action) {
18957
18958
  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) {
18959
+ }), _defineProperty(_extraReducers$s, DRUG_ROUTES_DIRECTION_INSERT.pending, function (state, action) {
18959
18960
  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) {
18961
+ }), _defineProperty(_extraReducers$s, DRUG_ROUTES_DIRECTION_INSERT.rejected, function (state, action) {
18961
18962
  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) {
18963
+ }), _defineProperty(_extraReducers$s, DRUG_ROUTES_DIRECTION_UPDATE.fulfilled, function (state, action) {
18963
18964
  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) {
18965
+ }), _defineProperty(_extraReducers$s, DRUG_ROUTES_DIRECTION_UPDATE.pending, function (state, action) {
18965
18966
  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) {
18967
+ }), _defineProperty(_extraReducers$s, DRUG_ROUTES_DIRECTION_UPDATE.rejected, function (state, action) {
18967
18968
  state.drug_routes_insert_list.loading = false, state.drug_routes_insert_list.error = true, state.drug_routes_insert_list = action.payload;
18968
- }), _extraReducers$q)
18969
+ }), _extraReducers$s)
18969
18970
  });
18970
18971
  var drugDirectionRoutesActions = {
18971
18972
  DRUG_ROUTES_DIRECTION_READ: DRUG_ROUTES_DIRECTION_READ,
@@ -18998,7 +18999,7 @@ var masterQuery$4 = {
18998
18999
  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
19000
  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
19001
  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}"
19002
+ 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
19003
  };
19003
19004
  var orderTypedata = {
19004
19005
  ordertype: function ordertype(type) {
@@ -19024,7 +19025,21 @@ var Query = {
19024
19025
  return_fields: "DOCUMENT( AgeRanges.AgeCategory)"
19025
19026
  };
19026
19027
  },
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}",
19028
+ order_catalog_read: function order_catalog_read(_ref) {
19029
+ var page = _ref.page,
19030
+ perPage = _ref.perPage;
19031
+ return {
19032
+ "db_name": dbName,
19033
+ "entity": "OrderCatalog",
19034
+ "sort": "OrderCatalog.createddate ASC",
19035
+ "limit": {
19036
+ "offset": page,
19037
+ "count": perPage
19038
+ },
19039
+ "filter": "OrderCatalog.activestatus==true",
19040
+ "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)}))})"
19041
+ };
19042
+ },
19028
19043
  editOrderCatalog: function editOrderCatalog(id) {
19029
19044
  return {
19030
19045
  db_name: "primarycare",
@@ -19548,7 +19563,7 @@ var generatefaciltity = function generatefaciltity(data, state) {
19548
19563
  // return Category;
19549
19564
  // };
19550
19565
 
19551
- var _extraReducers$p;
19566
+ var _extraReducers$r;
19552
19567
  var fileds$4 = ["quantity", "gender", "checkaction", "entityType", "specimenType", "bodySite", "specimenContainer", "collectionMethod", "encounterType"];
19553
19568
 
19554
19569
  var loopMasters$5 = function loopMasters() {
@@ -19621,12 +19636,14 @@ var loopMasters$5 = function loopMasters() {
19621
19636
  value: value._id
19622
19637
  });
19623
19638
  } else if ("attrcode" === val.name) {
19639
+ var _value$AttribValidVal;
19640
+
19624
19641
  arr.push({
19625
19642
  label: value.attribcode,
19626
19643
  value: value._id,
19627
19644
  name: value.attriblabel,
19628
19645
  type: value.attribtype,
19629
- AttribValidValues: value.AttribValidValues.map(function (v) {
19646
+ AttribValidValues: ((_value$AttribValidVal = value.AttribValidValues) === null || _value$AttribValidVal === void 0 ? void 0 : _value$AttribValidVal.length) > 0 && value.AttribValidValues.map(function (v) {
19630
19647
  return {
19631
19648
  label: v.validCode,
19632
19649
  Dfltflag: v.Dfltflag
@@ -19925,8 +19942,11 @@ var SAVE_ORDER_CATALOG = createAsyncThunk("orderCatalogApiSlice/saveOrderCatalog
19925
19942
  }, _callee8, null, [[2, 11]]);
19926
19943
  })));
19927
19944
  var READ_ORDER_CATALOG = createAsyncThunk("orderCatalogApiSlice/orderCatalogRead", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee9() {
19928
- var _ref15,
19945
+ var payload,
19946
+ _ref15,
19929
19947
  rejectWithValue,
19948
+ page,
19949
+ perPage,
19930
19950
  data,
19931
19951
  res,
19932
19952
  _args9 = arguments;
@@ -19935,33 +19955,41 @@ var READ_ORDER_CATALOG = createAsyncThunk("orderCatalogApiSlice/orderCatalogRead
19935
19955
  while (1) {
19936
19956
  switch (_context9.prev = _context9.next) {
19937
19957
  case 0:
19958
+ payload = _args9.length > 0 && _args9[0] !== undefined ? _args9[0] : {};
19938
19959
  _ref15 = _args9.length > 1 ? _args9[1] : undefined, rejectWithValue = _ref15.rejectWithValue;
19939
19960
  _context9.prev = 2;
19940
- _context9.next = 5;
19961
+ // const { encounter_id } = payload;
19962
+ // let state = getState();
19963
+ // let ccState = state.DiagnosisMasterSlice;
19964
+ page = payload.page, perPage = payload.perPage;
19965
+ _context9.next = 6;
19941
19966
  return fetchData({
19942
- body: Query.order_catalog_read
19967
+ body: JSON.stringify(Query.order_catalog_read({
19968
+ page: page,
19969
+ perPage: perPage
19970
+ }))
19943
19971
  }, __readDocumentUrl__);
19944
19972
 
19945
- case 5:
19973
+ case 6:
19946
19974
  data = _context9.sent;
19947
19975
  res = generateResJson(data.result);
19948
19976
  return _context9.abrupt("return", _objectSpread2(_objectSpread2({}, defaultState.List), {}, {
19949
19977
  data: res
19950
19978
  }));
19951
19979
 
19952
- case 10:
19953
- _context9.prev = 10;
19980
+ case 11:
19981
+ _context9.prev = 11;
19954
19982
  _context9.t0 = _context9["catch"](2);
19955
19983
  return _context9.abrupt("return", rejectWithValue(_objectSpread2(_objectSpread2({}, defaultReject), {}, {
19956
19984
  message: _context9.t0.message
19957
19985
  })));
19958
19986
 
19959
- case 13:
19987
+ case 14:
19960
19988
  case "end":
19961
19989
  return _context9.stop();
19962
19990
  }
19963
19991
  }
19964
- }, _callee9, null, [[2, 10]]);
19992
+ }, _callee9, null, [[2, 11]]);
19965
19993
  })));
19966
19994
  var UPDATE_ORDER_CATALOG_STATUS = createAsyncThunk("orderCatalogApiSlice/orderCatalogUpdate", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee10() {
19967
19995
  var payload,
@@ -20109,61 +20137,61 @@ var orderCatalogSlice = createSlice({
20109
20137
  order_type_data: _objectSpread2({}, defaultState.List),
20110
20138
  entityTypeName: _objectSpread2({}, defaultState.List)
20111
20139
  },
20112
- extraReducers: (_extraReducers$p = {}, _defineProperty(_extraReducers$p, ENTITY_NAME_DATA.fulfilled, function (state, action) {
20140
+ extraReducers: (_extraReducers$r = {}, _defineProperty(_extraReducers$r, ENTITY_NAME_DATA.fulfilled, function (state, action) {
20113
20141
  state.entityTypeName.loading = false, state.entityTypeName.error = false, state.entityTypeName = action.payload;
20114
- }), _defineProperty(_extraReducers$p, ENTITY_NAME_DATA.pending, function (state, action) {
20142
+ }), _defineProperty(_extraReducers$r, ENTITY_NAME_DATA.pending, function (state, action) {
20115
20143
  state.entityTypeName.loading = true, state.entityTypeName.error = false, state.entityTypeName.loading = true;
20116
- }), _defineProperty(_extraReducers$p, ENTITY_NAME_DATA.rejected, function (state, action) {
20144
+ }), _defineProperty(_extraReducers$r, ENTITY_NAME_DATA.rejected, function (state, action) {
20117
20145
  state.entityTypeName.loading = false, state.entityTypeName.error = true, state.entityTypeName = action.payload;
20118
- }), _defineProperty(_extraReducers$p, ORDER_CATALOG_MASTERS.fulfilled, function (state, action) {
20146
+ }), _defineProperty(_extraReducers$r, ORDER_CATALOG_MASTERS.fulfilled, function (state, action) {
20119
20147
  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) {
20148
+ }), _defineProperty(_extraReducers$r, ORDER_CATALOG_MASTERS.pending, function (state, action) {
20121
20149
  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) {
20150
+ }), _defineProperty(_extraReducers$r, ORDER_CATALOG_MASTERS.rejected, function (state, action) {
20123
20151
  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) {
20152
+ }), _defineProperty(_extraReducers$r, ORDER_TYPE_DATA.fulfilled, function (state, action) {
20125
20153
  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) {
20154
+ }), _defineProperty(_extraReducers$r, ORDER_TYPE_DATA.pending, function (state, action) {
20127
20155
  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) {
20156
+ }), _defineProperty(_extraReducers$r, ORDER_TYPE_DATA.rejected, function (state, action) {
20129
20157
  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) {
20158
+ }), _defineProperty(_extraReducers$r, AGE_RANGES_CATEGORY_CATALOG.fulfilled, function (state, action) {
20131
20159
  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) {
20160
+ }), _defineProperty(_extraReducers$r, AGE_RANGES_CATEGORY_CATALOG.pending, function (state, action) {
20133
20161
  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) {
20162
+ }), _defineProperty(_extraReducers$r, AGE_RANGES_CATEGORY_CATALOG.rejected, function (state, action) {
20135
20163
  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) {
20164
+ }), _defineProperty(_extraReducers$r, SAVE_ORDER_CATALOG.fulfilled, function (state, action) {
20137
20165
  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) {
20166
+ }), _defineProperty(_extraReducers$r, SAVE_ORDER_CATALOG.pending, function (state, action) {
20139
20167
  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) {
20168
+ }), _defineProperty(_extraReducers$r, SAVE_ORDER_CATALOG.rejected, function (state, action) {
20141
20169
  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) {
20170
+ }), _defineProperty(_extraReducers$r, READ_ORDER_CATALOG.fulfilled, function (state, action) {
20143
20171
  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) {
20172
+ }), _defineProperty(_extraReducers$r, READ_ORDER_CATALOG.pending, function (state, action) {
20145
20173
  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) {
20174
+ }), _defineProperty(_extraReducers$r, READ_ORDER_CATALOG.rejected, function (state, action) {
20147
20175
  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) {
20176
+ }), _defineProperty(_extraReducers$r, UPDATE_ORDER_CATALOG_STATUS.fulfilled, function (state, action) {
20149
20177
  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) {
20178
+ }), _defineProperty(_extraReducers$r, UPDATE_ORDER_CATALOG_STATUS.pending, function (state, action) {
20151
20179
  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) {
20180
+ }), _defineProperty(_extraReducers$r, UPDATE_ORDER_CATALOG_STATUS.rejected, function (state, action) {
20153
20181
  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) {
20182
+ }), _defineProperty(_extraReducers$r, EDIT_ORDER_CATALOG.fulfilled, function (state, action) {
20155
20183
  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) {
20184
+ }), _defineProperty(_extraReducers$r, EDIT_ORDER_CATALOG.pending, function (state, action) {
20157
20185
  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) {
20186
+ }), _defineProperty(_extraReducers$r, EDIT_ORDER_CATALOG.rejected, function (state, action) {
20159
20187
  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) {
20188
+ }), _defineProperty(_extraReducers$r, DELETE_ATTRIBUTE_DELETE.fulfilled, function (state, action) {
20161
20189
  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) {
20190
+ }), _defineProperty(_extraReducers$r, DELETE_ATTRIBUTE_DELETE.pending, function (state, action) {
20163
20191
  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) {
20192
+ }), _defineProperty(_extraReducers$r, DELETE_ATTRIBUTE_DELETE.rejected, function (state, action) {
20165
20193
  state.attribute_delete.loading = false, state.attribute_delete.error = true, state.attribute_delete = action.payload;
20166
- }), _extraReducers$p)
20194
+ }), _extraReducers$r)
20167
20195
  });
20168
20196
  var orderCatalogActions = {
20169
20197
  ORDER_CATALOG_MASTERS: ORDER_CATALOG_MASTERS,
@@ -20266,7 +20294,7 @@ var generateJson$9 = function generateJson(data, _key) {
20266
20294
  })];
20267
20295
  };
20268
20296
 
20269
- var _extraReducers$o;
20297
+ var _extraReducers$q;
20270
20298
  var SOURCELOCATIONTYPE = createAsyncThunk("performLocationSlice/sourceLocationType", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
20271
20299
  var _ref2,
20272
20300
  rejectWithValue,
@@ -20625,49 +20653,49 @@ var performLocationSlice = createSlice({
20625
20653
  read_performing_location: _objectSpread2({}, defaultState.Info),
20626
20654
  read_performing_location_status: _objectSpread2({}, defaultState.Info)
20627
20655
  },
20628
- extraReducers: (_extraReducers$o = {}, _defineProperty(_extraReducers$o, SOURCELOCATIONTYPE.fulfilled, function (state, action) {
20656
+ extraReducers: (_extraReducers$q = {}, _defineProperty(_extraReducers$q, SOURCELOCATIONTYPE.fulfilled, function (state, action) {
20629
20657
  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) {
20658
+ }), _defineProperty(_extraReducers$q, SOURCELOCATIONTYPE.pending, function (state, action) {
20631
20659
  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) {
20660
+ }), _defineProperty(_extraReducers$q, SOURCELOCATIONTYPE.rejected, function (state, action) {
20633
20661
  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) {
20662
+ }), _defineProperty(_extraReducers$q, ORDERINGFACILITY.fulfilled, function (state, action) {
20635
20663
  state.order_facility.loading = false, state.order_facility.error = false, state.order_facility = action.payload;
20636
- }), _defineProperty(_extraReducers$o, ORDERINGFACILITY.pending, function (state, action) {
20664
+ }), _defineProperty(_extraReducers$q, ORDERINGFACILITY.pending, function (state, action) {
20637
20665
  state.order_facility.loading = true, state.order_facility.error = false, state.order_facility.loading = true;
20638
- }), _defineProperty(_extraReducers$o, ORDERINGFACILITY.rejected, function (state, action) {
20666
+ }), _defineProperty(_extraReducers$q, ORDERINGFACILITY.rejected, function (state, action) {
20639
20667
  state.order_facility.loading = false, state.order_facility.error = true, state.order_facility = action.payload;
20640
- }), _defineProperty(_extraReducers$o, PERFORMINGDETAILS.fulfilled, function (state, action) {
20668
+ }), _defineProperty(_extraReducers$q, PERFORMINGDETAILS.fulfilled, function (state, action) {
20641
20669
  state.performing_details.loading = false, state.performing_details.error = false, state.performing_details = action.payload;
20642
- }), _defineProperty(_extraReducers$o, PERFORMINGDETAILS.pending, function (state, action) {
20670
+ }), _defineProperty(_extraReducers$q, PERFORMINGDETAILS.pending, function (state, action) {
20643
20671
  state.performing_details.loading = true, state.performing_details.error = false, state.performing_details.loading = true;
20644
- }), _defineProperty(_extraReducers$o, PERFORMINGDETAILS.rejected, function (state, action) {
20672
+ }), _defineProperty(_extraReducers$q, PERFORMINGDETAILS.rejected, function (state, action) {
20645
20673
  state.performing_details.loading = false, state.performing_details.error = true, state.performing_details = action.payload;
20646
- }), _defineProperty(_extraReducers$o, SOURCELOCATION.fulfilled, function (state, action) {
20674
+ }), _defineProperty(_extraReducers$q, SOURCELOCATION.fulfilled, function (state, action) {
20647
20675
  state.source_location.loading = false, state.source_location.error = false, state.source_location = action.payload;
20648
- }), _defineProperty(_extraReducers$o, SOURCELOCATION.pending, function (state, action) {
20676
+ }), _defineProperty(_extraReducers$q, SOURCELOCATION.pending, function (state, action) {
20649
20677
  state.source_location.loading = true, state.source_location.error = false, state.source_location.loading = true;
20650
- }), _defineProperty(_extraReducers$o, SOURCELOCATION.rejected, function (state, action) {
20678
+ }), _defineProperty(_extraReducers$q, SOURCELOCATION.rejected, function (state, action) {
20651
20679
  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) {
20680
+ }), _defineProperty(_extraReducers$q, UPSERT_PERFORMINGLOCATION.fulfilled, function (state, action) {
20653
20681
  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) {
20682
+ }), _defineProperty(_extraReducers$q, UPSERT_PERFORMINGLOCATION.pending, function (state, action) {
20655
20683
  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) {
20684
+ }), _defineProperty(_extraReducers$q, UPSERT_PERFORMINGLOCATION.rejected, function (state, action) {
20657
20685
  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) {
20686
+ }), _defineProperty(_extraReducers$q, READ_PERFORMINGLOCATION.fulfilled, function (state, action) {
20659
20687
  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) {
20688
+ }), _defineProperty(_extraReducers$q, READ_PERFORMINGLOCATION.pending, function (state, action) {
20661
20689
  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) {
20690
+ }), _defineProperty(_extraReducers$q, READ_PERFORMINGLOCATION.rejected, function (state, action) {
20663
20691
  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) {
20692
+ }), _defineProperty(_extraReducers$q, STATUS_PERFORMINGLOCATION.fulfilled, function (state, action) {
20665
20693
  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) {
20694
+ }), _defineProperty(_extraReducers$q, STATUS_PERFORMINGLOCATION.pending, function (state, action) {
20667
20695
  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) {
20696
+ }), _defineProperty(_extraReducers$q, STATUS_PERFORMINGLOCATION.rejected, function (state, action) {
20669
20697
  state.read_performing_location_status.loading = false, state.read_performing_location_status.error = true, state.read_performing_location_status = action.payload;
20670
- }), _extraReducers$o)
20698
+ }), _extraReducers$q)
20671
20699
  });
20672
20700
  var performLocationActions = {
20673
20701
  SOURCELOCATIONTYPE: SOURCELOCATIONTYPE,
@@ -20731,7 +20759,7 @@ var query$8 = {
20731
20759
  readQuery: function readQuery(_ref2) {
20732
20760
  var entity_type = _ref2.entity_type,
20733
20761
  entity_name = _ref2.entity_name;
20734
- return "{\n \"db_name\": \"".concat(dbName, "\",\n \"entity\": \"ResourceTimeTable\",\n \"filter\": \"ResourceTimeTable.activestatus==true ").concat(entity_type ? "&& ResourceTimeTable.entityType=='".concat(entity_type.value, "'") : "", " ").concat(entity_name ? "&& ResourceTimeTable.organization_id=='".concat(entity_name.value, "'") : "", "\",\n \"return_fields\": \"MERGE(ResourceTimeTable,{organization_id:DOCUMENT(ResourceTimeTable.organization_id),ResourceRole:DOCUMENT(ResourceTimeTable.ResourceRole) ,ResourceType:DOCUMENT(ResourceTimeTable.ResourceType) ,applicable_app_type:(FOR apptype IN TO_ARRAY(ResourceTimeTable.applicable_app_type) RETURN DOCUMENT(apptype)) ,AppointmentDuration:(FOR appdur IN TO_ARRAY(ResourceTimeTable.AppointmentDuration) RETURN MERGE(appdur, {DayType:DOCUMENT(appdur.DayType),consultType:DOCUMENT(appdur.consultType)} )) })\"\n }");
20762
+ return "{\n \"db_name\": \"".concat(dbName, "\",\n \"entity\": \"ResourceTimeTable\",\n \"filter\": \"ResourceTimeTable.activestatus==true ").concat(entity_type ? "&& ResourceTimeTable.entityType=='".concat(entity_type.value, "'") : "", " ").concat(entity_name ? "&& ResourceTimeTable.organization_id=='".concat(entity_name.value, "'") : "", "\",\n \"sort\": \"ResourceTimeTable.createddate\",\n \"return_fields\": \"MERGE(ResourceTimeTable,{organization_id:DOCUMENT(ResourceTimeTable.organization_id),ResourceRole:DOCUMENT(ResourceTimeTable.ResourceRole) ,ResourceType:DOCUMENT(ResourceTimeTable.ResourceType) ,applicable_app_type:(FOR apptype IN TO_ARRAY(ResourceTimeTable.applicable_app_type) RETURN DOCUMENT(apptype)) ,AppointmentDuration:(FOR appdur IN TO_ARRAY(ResourceTimeTable.AppointmentDuration) RETURN MERGE(appdur, {DayType:DOCUMENT(appdur.DayType),consultType:DOCUMENT(appdur.consultType)} )) })\"\n }");
20735
20763
  },
20736
20764
  readGroup: function readGroup() {
20737
20765
  return "{\n \"db_name\": \"".concat(ruleDBName, "\",\n \"entity\": \"Groups\",\n \"filter\": \"Groups.activestatus==true\",\n \"return_fields\": \"{label : Groups.name, value:Groups.id}\"\n }");
@@ -21327,7 +21355,7 @@ var generateSpecificSlots = function generateSpecificSlots(data) {
21327
21355
  return arr;
21328
21356
  };
21329
21357
 
21330
- var _extraReducers$n;
21358
+ var _extraReducers$p;
21331
21359
  var ROLE_TYPE = createAsyncThunk("scheduleManagementApiSlice/roleTpe", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
21332
21360
  var _ref2,
21333
21361
  rejectWithValue,
@@ -21722,55 +21750,55 @@ var scheduleManagementSlice = createSlice({
21722
21750
  block_schedule_partial: _objectSpread2({}, defaultState.List),
21723
21751
  release_slots: _objectSpread2({}, defaultState.List)
21724
21752
  },
21725
- extraReducers: (_extraReducers$n = {}, _defineProperty(_extraReducers$n, ROLE_TYPE.fulfilled, function (state, action) {
21753
+ extraReducers: (_extraReducers$p = {}, _defineProperty(_extraReducers$p, ROLE_TYPE.fulfilled, function (state, action) {
21726
21754
  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) {
21755
+ }), _defineProperty(_extraReducers$p, ROLE_TYPE.pending, function (state, action) {
21728
21756
  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) {
21757
+ }), _defineProperty(_extraReducers$p, ROLE_TYPE.rejected, function (state, action) {
21730
21758
  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) {
21759
+ }), _defineProperty(_extraReducers$p, ALL_PRACTITIONER.fulfilled, function (state, action) {
21732
21760
  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) {
21761
+ }), _defineProperty(_extraReducers$p, ALL_PRACTITIONER.pending, function (state, action) {
21734
21762
  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) {
21763
+ }), _defineProperty(_extraReducers$p, ALL_PRACTITIONER.rejected, function (state, action) {
21736
21764
  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) {
21765
+ }), _defineProperty(_extraReducers$p, BLOCK_RELEASE_REASON.fulfilled, function (state, action) {
21738
21766
  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) {
21767
+ }), _defineProperty(_extraReducers$p, BLOCK_RELEASE_REASON.pending, function (state, action) {
21740
21768
  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) {
21769
+ }), _defineProperty(_extraReducers$p, BLOCK_RELEASE_REASON.rejected, function (state, action) {
21742
21770
  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) {
21771
+ }), _defineProperty(_extraReducers$p, PRACTITIONER_SLOTS.fulfilled, function (state, action) {
21744
21772
  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) {
21773
+ }), _defineProperty(_extraReducers$p, PRACTITIONER_SLOTS.pending, function (state, action) {
21746
21774
  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) {
21775
+ }), _defineProperty(_extraReducers$p, PRACTITIONER_SLOTS.rejected, function (state, action) {
21748
21776
  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) {
21777
+ }), _defineProperty(_extraReducers$p, RELEASE_SLOTS.fulfilled, function (state, action) {
21750
21778
  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) {
21779
+ }), _defineProperty(_extraReducers$p, RELEASE_SLOTS.pending, function (state, action) {
21752
21780
  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) {
21781
+ }), _defineProperty(_extraReducers$p, RELEASE_SLOTS.rejected, function (state, action) {
21754
21782
  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) {
21783
+ }), _defineProperty(_extraReducers$p, RELEASE_SCHEDULE.fulfilled, function (state, action) {
21756
21784
  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) {
21785
+ }), _defineProperty(_extraReducers$p, RELEASE_SCHEDULE.pending, function (state, action) {
21758
21786
  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) {
21787
+ }), _defineProperty(_extraReducers$p, RELEASE_SCHEDULE.rejected, function (state, action) {
21760
21788
  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) {
21789
+ }), _defineProperty(_extraReducers$p, BLOCK_SCHEDULE.fulfilled, function (state, action) {
21762
21790
  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) {
21791
+ }), _defineProperty(_extraReducers$p, BLOCK_SCHEDULE.pending, function (state, action) {
21764
21792
  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) {
21793
+ }), _defineProperty(_extraReducers$p, BLOCK_SCHEDULE.rejected, function (state, action) {
21766
21794
  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) {
21795
+ }), _defineProperty(_extraReducers$p, BLOCK_SCHEDULE_PARTIAL.fulfilled, function (state, action) {
21768
21796
  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) {
21797
+ }), _defineProperty(_extraReducers$p, BLOCK_SCHEDULE_PARTIAL.pending, function (state, action) {
21770
21798
  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) {
21799
+ }), _defineProperty(_extraReducers$p, BLOCK_SCHEDULE_PARTIAL.rejected, function (state, action) {
21772
21800
  state.block_schedule_partial.loading = false, state.block_schedule_partial.error = true, state.block_schedule_partial = action.payload;
21773
- }), _extraReducers$n)
21801
+ }), _extraReducers$p)
21774
21802
  });
21775
21803
  var scheduleManagementActions = {
21776
21804
  ROLE_TYPE: ROLE_TYPE,
@@ -22557,7 +22585,7 @@ var generateReadJson$2 = {
22557
22585
  }
22558
22586
  };
22559
22587
 
22560
- var _extraReducers$m;
22588
+ var _extraReducers$o;
22561
22589
  var ORGANIZATION_TREE_READ = createAsyncThunk("organizationSlice/organizationTreeList", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
22562
22590
  var payload,
22563
22591
  _ref2,
@@ -23919,163 +23947,163 @@ var organizationSlice = createSlice({
23919
23947
  getOrganization: _objectSpread2({}, defaultState.List),
23920
23948
  specialtyDrop: _objectSpread2({}, defaultState.List)
23921
23949
  },
23922
- extraReducers: (_extraReducers$m = {}, _defineProperty(_extraReducers$m, ORGANIZATION_TREE_READ.fulfilled, function (state, action) {
23950
+ extraReducers: (_extraReducers$o = {}, _defineProperty(_extraReducers$o, ORGANIZATION_TREE_READ.fulfilled, function (state, action) {
23923
23951
  state.organizationTreeList.loading = false, state.organizationTreeList.error = false, state.organizationTreeList = action.payload;
23924
- }), _defineProperty(_extraReducers$m, ORGANIZATION_TREE_READ.pending, function (state, action) {
23952
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_TREE_READ.pending, function (state, action) {
23925
23953
  state.organizationTreeList.loading = true, state.organizationTreeList.error = false, state.organizationTreeList.loading = true;
23926
- }), _defineProperty(_extraReducers$m, ORGANIZATION_TREE_READ.rejected, function (state, action) {
23954
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_TREE_READ.rejected, function (state, action) {
23927
23955
  state.organizationTreeList.loading = false, state.organizationTreeList.error = true, state.organizationTreeList = action.payload;
23928
- }), _defineProperty(_extraReducers$m, ORGANIZATION_READ_DETAILS.fulfilled, function (state, action) {
23956
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_READ_DETAILS.fulfilled, function (state, action) {
23929
23957
  state.organizationReadDetails.loading = false, state.organizationReadDetails.error = false, state.organizationReadDetails = action.payload;
23930
- }), _defineProperty(_extraReducers$m, ORGANIZATION_READ_DETAILS.pending, function (state, action) {
23958
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_READ_DETAILS.pending, function (state, action) {
23931
23959
  state.organizationReadDetails.loading = true, state.organizationReadDetails.error = false, state.organizationReadDetails.loading = true;
23932
- }), _defineProperty(_extraReducers$m, ORGANIZATION_READ_DETAILS.rejected, function (state, action) {
23960
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_READ_DETAILS.rejected, function (state, action) {
23933
23961
  state.organizationReadDetails.loading = false, state.organizationReadDetails.error = true, state.organizationReadDetails = action.payload;
23934
- }), _defineProperty(_extraReducers$m, ORGANIZATION_READ_STATUS_UPSERT.fulfilled, function (state, action) {
23962
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_READ_STATUS_UPSERT.fulfilled, function (state, action) {
23935
23963
  state.organizationReadStatusUpsert.loading = false, state.organizationReadStatusUpsert.error = false, state.organizationReadStatusUpsert = action.payload;
23936
- }), _defineProperty(_extraReducers$m, ORGANIZATION_READ_STATUS_UPSERT.pending, function (state, action) {
23964
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_READ_STATUS_UPSERT.pending, function (state, action) {
23937
23965
  state.organizationReadStatusUpsert.loading = true, state.organizationReadStatusUpsert.error = false, state.organizationReadStatusUpsert.loading = true;
23938
- }), _defineProperty(_extraReducers$m, ORGANIZATION_READ_STATUS_UPSERT.rejected, function (state, action) {
23966
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_READ_STATUS_UPSERT.rejected, function (state, action) {
23939
23967
  state.organizationReadStatusUpsert.loading = false, state.organizationReadStatusUpsert.error = true, state.organizationReadStatusUpsert = action.payload;
23940
- }), _defineProperty(_extraReducers$m, ORGANIZATION_ENTITY_TYPE.fulfilled, function (state, action) {
23968
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_ENTITY_TYPE.fulfilled, function (state, action) {
23941
23969
  state.organizationEntityType.loading = false, state.organizationEntityType.error = false, state.organizationEntityType = action.payload;
23942
- }), _defineProperty(_extraReducers$m, ORGANIZATION_ENTITY_TYPE.pending, function (state, action) {
23970
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_ENTITY_TYPE.pending, function (state, action) {
23943
23971
  state.organizationEntityType.loading = true, state.organizationEntityType.error = false, state.organizationEntityType.loading = true;
23944
- }), _defineProperty(_extraReducers$m, ORGANIZATION_ENTITY_TYPE.rejected, function (state, action) {
23972
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_ENTITY_TYPE.rejected, function (state, action) {
23945
23973
  state.organizationEntityType.loading = false, state.organizationEntityType.error = true, state.organizationEntityType = action.payload;
23946
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_PARENT_ENTITY.fulfilled, function (state, action) {
23974
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_PARENT_ENTITY.fulfilled, function (state, action) {
23947
23975
  state.orgParEntity.loading = false, state.orgParEntity.error = false, state.orgParEntity = action.payload;
23948
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_PARENT_ENTITY.pending, function (state, action) {
23976
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_PARENT_ENTITY.pending, function (state, action) {
23949
23977
  state.orgParEntity.loading = true, state.orgParEntity.error = false, state.orgParEntity.loading = true;
23950
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_PARENT_ENTITY.rejected, function (state, action) {
23978
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_PARENT_ENTITY.rejected, function (state, action) {
23951
23979
  state.orgParEntity.loading = false, state.orgParEntity.error = true, state.orgParEntity = action.payload;
23952
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_LEVEL_CARE.fulfilled, function (state, action) {
23980
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_LEVEL_CARE.fulfilled, function (state, action) {
23953
23981
  state.orgLevelCare.loading = false, state.orgLevelCare.error = false, state.orgLevelCare = action.payload;
23954
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_LEVEL_CARE.pending, function (state, action) {
23982
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_LEVEL_CARE.pending, function (state, action) {
23955
23983
  state.orgLevelCare.loading = true, state.orgLevelCare.error = false, state.orgLevelCare.loading = true;
23956
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_LEVEL_CARE.rejected, function (state, action) {
23984
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_LEVEL_CARE.rejected, function (state, action) {
23957
23985
  state.orgLevelCare.loading = false, state.orgLevelCare.error = true, state.orgLevelCare = action.payload;
23958
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_USE_IDENTIFICATION.fulfilled, function (state, action) {
23986
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_USE_IDENTIFICATION.fulfilled, function (state, action) {
23959
23987
  state.orgUseIdenifi.loading = false, state.orgUseIdenifi.error = false, state.orgUseIdenifi = action.payload;
23960
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_USE_IDENTIFICATION.pending, function (state, action) {
23988
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_USE_IDENTIFICATION.pending, function (state, action) {
23961
23989
  state.orgUseIdenifi.loading = true, state.orgUseIdenifi.error = false, state.orgUseIdenifi.loading = true;
23962
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_USE_IDENTIFICATION.rejected, function (state, action) {
23990
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_USE_IDENTIFICATION.rejected, function (state, action) {
23963
23991
  state.orgUseIdenifi.loading = false, state.orgUseIdenifi.error = true, state.orgUseIdenifi = action.payload;
23964
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_IDTYPE_IDENTIF.fulfilled, function (state, action) {
23992
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_IDTYPE_IDENTIF.fulfilled, function (state, action) {
23965
23993
  state.orgIdTypeIdenifi.loading = false, state.orgIdTypeIdenifi.error = false, state.orgIdTypeIdenifi = action.payload;
23966
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_IDTYPE_IDENTIF.pending, function (state, action) {
23994
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_IDTYPE_IDENTIF.pending, function (state, action) {
23967
23995
  state.orgIdTypeIdenifi.loading = true, state.orgIdTypeIdenifi.error = false, state.orgIdTypeIdenifi.loading = true;
23968
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_IDTYPE_IDENTIF.rejected, function (state, action) {
23996
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_IDTYPE_IDENTIF.rejected, function (state, action) {
23969
23997
  state.orgIdTypeIdenifi.loading = false, state.orgIdTypeIdenifi.error = true, state.orgIdTypeIdenifi = action.payload;
23970
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_ALIAS_TYPE.fulfilled, function (state, action) {
23998
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_ALIAS_TYPE.fulfilled, function (state, action) {
23971
23999
  state.aliastype.loading = false, state.aliastype.error = false, state.aliastype = action.payload;
23972
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_ALIAS_TYPE.pending, function (state, action) {
24000
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_ALIAS_TYPE.pending, function (state, action) {
23973
24001
  state.aliastype.loading = true, state.aliastype.error = false, state.aliastype.loading = true;
23974
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_ALIAS_TYPE.rejected, function (state, action) {
24002
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_ALIAS_TYPE.rejected, function (state, action) {
23975
24003
  state.aliastype.loading = false, state.aliastype.error = true, state.aliastype = action.payload;
23976
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_ADD_TYPE.fulfilled, function (state, action) {
24004
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_ADD_TYPE.fulfilled, function (state, action) {
23977
24005
  state.orgAddType.loading = false, state.orgAddType.error = false, state.orgAddType = action.payload;
23978
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_ADD_TYPE.pending, function (state, action) {
24006
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_ADD_TYPE.pending, function (state, action) {
23979
24007
  state.orgAddType.loading = true, state.orgAddType.error = false, state.orgAddType.loading = true;
23980
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_ADD_TYPE.rejected, function (state, action) {
24008
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_ADD_TYPE.rejected, function (state, action) {
23981
24009
  state.orgAddType.loading = false, state.orgAddType.error = true, state.orgAddType = action.payload;
23982
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_ADD_USE.fulfilled, function (state, action) {
24010
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_ADD_USE.fulfilled, function (state, action) {
23983
24011
  state.orgAddUSE.loading = false, state.orgAddUSE.error = false, state.orgAddUSE = action.payload;
23984
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_ADD_USE.pending, function (state, action) {
24012
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_ADD_USE.pending, function (state, action) {
23985
24013
  state.orgAddUSE.loading = true, state.orgAddUSE.error = false, state.orgAddUSE.loading = true;
23986
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_ADD_USE.rejected, function (state, action) {
24014
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_ADD_USE.rejected, function (state, action) {
23987
24015
  state.orgAddUSE.loading = false, state.orgAddUSE.error = true, state.orgAddUSE = action.payload;
23988
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_ADD_City.fulfilled, function (state, action) {
24016
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_ADD_City.fulfilled, function (state, action) {
23989
24017
  state.orgAddCity.loading = false, state.orgAddCity.error = false, state.orgAddCity = action.payload;
23990
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_ADD_City.pending, function (state, action) {
24018
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_ADD_City.pending, function (state, action) {
23991
24019
  state.orgAddCity.loading = true, state.orgAddCity.error = false, state.orgAddCity.loading = true;
23992
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_ADD_City.rejected, function (state, action) {
24020
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_ADD_City.rejected, function (state, action) {
23993
24021
  state.orgAddCity.loading = false, state.orgAddCity.error = true, state.orgAddCity = action.payload;
23994
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_ADD_DISTRICT.fulfilled, function (state, action) {
24022
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_ADD_DISTRICT.fulfilled, function (state, action) {
23995
24023
  state.orgAddDISTRICT.loading = false, state.orgAddDISTRICT.error = false, state.orgAddDISTRICT = action.payload;
23996
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_ADD_DISTRICT.pending, function (state, action) {
24024
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_ADD_DISTRICT.pending, function (state, action) {
23997
24025
  state.orgAddDISTRICT.loading = true, state.orgAddDISTRICT.error = false, state.orgAddDISTRICT.loading = true;
23998
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_ADD_DISTRICT.rejected, function (state, action) {
24026
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_ADD_DISTRICT.rejected, function (state, action) {
23999
24027
  state.orgAddDISTRICT.loading = false, state.orgAddDISTRICT.error = true, state.orgAddDISTRICT = action.payload;
24000
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_AddSTATE.fulfilled, function (state, action) {
24028
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_AddSTATE.fulfilled, function (state, action) {
24001
24029
  state.orgAddSTATE.loading = false, state.orgAddSTATE.error = false, state.orgAddSTATE = action.payload;
24002
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_AddSTATE.pending, function (state, action) {
24030
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_AddSTATE.pending, function (state, action) {
24003
24031
  state.orgAddSTATE.loading = true, state.orgAddSTATE.error = false, state.orgAddSTATE.loading = true;
24004
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_AddSTATE.rejected, function (state, action) {
24032
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_AddSTATE.rejected, function (state, action) {
24005
24033
  state.orgAddSTATE.loading = false, state.orgAddSTATE.error = true, state.orgAddSTATE = action.payload;
24006
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_COUNTRY.fulfilled, function (state, action) {
24034
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_COUNTRY.fulfilled, function (state, action) {
24007
24035
  state.orgAddCOUNTRY.loading = false, state.orgAddCOUNTRY.error = false, state.orgAddCOUNTRY = action.payload;
24008
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_COUNTRY.pending, function (state, action) {
24036
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_COUNTRY.pending, function (state, action) {
24009
24037
  state.orgAddCOUNTRY.loading = true, state.orgAddCOUNTRY.error = false, state.orgAddCOUNTRY.loading = true;
24010
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_COUNTRY.rejected, function (state, action) {
24038
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_COUNTRY.rejected, function (state, action) {
24011
24039
  state.orgAddCOUNTRY.loading = false, state.orgAddCOUNTRY.error = true, state.orgAddCOUNTRY = action.payload;
24012
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_PINCODE.fulfilled, function (state, action) {
24040
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_PINCODE.fulfilled, function (state, action) {
24013
24041
  state.orgAddPINCODE.loading = false, state.orgAddPINCODE.error = false, state.orgAddPINCODE = action.payload;
24014
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_PINCODE.pending, function (state, action) {
24042
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_PINCODE.pending, function (state, action) {
24015
24043
  state.orgAddPINCODE.loading = true, state.orgAddPINCODE.error = false, state.orgAddPINCODE.loading = true;
24016
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_PINCODE.rejected, function (state, action) {
24044
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_PINCODE.rejected, function (state, action) {
24017
24045
  state.orgAddPINCODE.loading = false, state.orgAddPINCODE.error = true, state.orgAddPINCODE = action.payload;
24018
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_CONTACTDETAILMODE.fulfilled, function (state, action) {
24046
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_CONTACTDETAILMODE.fulfilled, function (state, action) {
24019
24047
  state.orgContactDetailMode.loading = false, state.orgContactDetailMode.error = false, state.orgContactDetailMode = action.payload;
24020
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_CONTACTDETAILMODE.pending, function (state, action) {
24048
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_CONTACTDETAILMODE.pending, function (state, action) {
24021
24049
  state.orgContactDetailMode.loading = true, state.orgContactDetailMode.error = false, state.orgContactDetailMode.loading = true;
24022
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_CONTACTDETAILMODE.rejected, function (state, action) {
24050
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_CONTACTDETAILMODE.rejected, function (state, action) {
24023
24051
  state.orgContactDetailMode.loading = false, state.orgContactDetailMode.error = true, state.orgContactDetailMode = action.payload;
24024
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_CONNTACTDETAILCODE.fulfilled, function (state, action) {
24052
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_CONNTACTDETAILCODE.fulfilled, function (state, action) {
24025
24053
  state.orgContactDetailCode.loading = false, state.orgContactDetailCode.error = false, state.orgContactDetailCode = action.payload;
24026
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_CONNTACTDETAILCODE.pending, function (state, action) {
24054
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_CONNTACTDETAILCODE.pending, function (state, action) {
24027
24055
  state.orgContactDetailCode.loading = true, state.orgContactDetailCode.error = false, state.orgContactDetailCode.loading = true;
24028
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_CONNTACTDETAILCODE.rejected, function (state, action) {
24056
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_CONNTACTDETAILCODE.rejected, function (state, action) {
24029
24057
  state.orgContactDetailCode.loading = false, state.orgContactDetailCode.error = true, state.orgContactDetailCode = action.payload;
24030
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_CONTACTDETAILUSE.fulfilled, function (state, action) {
24058
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_CONTACTDETAILUSE.fulfilled, function (state, action) {
24031
24059
  state.orgContactDetailUse.loading = false, state.orgContactDetailUse.error = false, state.orgContactDetailUse = action.payload;
24032
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_CONTACTDETAILUSE.pending, function (state, action) {
24060
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_CONTACTDETAILUSE.pending, function (state, action) {
24033
24061
  state.orgContactDetailUse.loading = true, state.orgContactDetailUse.error = false, state.orgContactDetailUse.loading = true;
24034
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_CONTACTDETAILUSE.rejected, function (state, action) {
24062
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_CONTACTDETAILUSE.rejected, function (state, action) {
24035
24063
  state.orgContactDetailUse.loading = false, state.orgContactDetailUse.error = true, state.orgContactDetailUse = action.payload;
24036
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_CONTACTDETAILPRIORITY.fulfilled, function (state, action) {
24064
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_CONTACTDETAILPRIORITY.fulfilled, function (state, action) {
24037
24065
  state.orgContactDetailPriority.loading = false, state.orgContactDetailPriority.error = false, state.orgContactDetailPriority = action.payload;
24038
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_CONTACTDETAILPRIORITY.pending, function (state, action) {
24066
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_CONTACTDETAILPRIORITY.pending, function (state, action) {
24039
24067
  state.orgContactDetailPriority.loading = true, state.orgContactDetailPriority.error = false, state.orgContactDetailPriority.loading = true;
24040
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_CONTACTDETAILPRIORITY.rejected, function (state, action) {
24068
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_CONTACTDETAILPRIORITY.rejected, function (state, action) {
24041
24069
  state.orgContactDetailPriority.loading = false, state.orgContactDetailPriority.error = true, state.orgContactDetailPriority = action.payload;
24042
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_CONTACT_PREFIX.fulfilled, function (state, action) {
24070
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_CONTACT_PREFIX.fulfilled, function (state, action) {
24043
24071
  state.orgNamePrefix.loading = false, state.orgNamePrefix.error = false, state.orgNamePrefix = action.payload;
24044
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_CONTACT_PREFIX.pending, function (state, action) {
24072
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_CONTACT_PREFIX.pending, function (state, action) {
24045
24073
  state.orgNamePrefix.loading = true, state.orgNamePrefix.error = false, state.orgNamePrefix.loading = true;
24046
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_CONTACT_PREFIX.rejected, function (state, action) {
24074
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_CONTACT_PREFIX.rejected, function (state, action) {
24047
24075
  state.orgNamePrefix.loading = false, state.orgNamePrefix.error = true, state.orgNamePrefix = action.payload;
24048
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_CONTACT_SUFFIX.fulfilled, function (state, action) {
24076
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_CONTACT_SUFFIX.fulfilled, function (state, action) {
24049
24077
  state.orgNameSuffix.loading = false, state.orgNameSuffix.error = false, state.orgNameSuffix = action.payload;
24050
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_CONTACT_SUFFIX.pending, function (state, action) {
24078
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_CONTACT_SUFFIX.pending, function (state, action) {
24051
24079
  state.orgNameSuffix.loading = true, state.orgNameSuffix.error = false, state.orgNameSuffix.loading = true;
24052
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_CONTACT_SUFFIX.rejected, function (state, action) {
24080
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_CONTACT_SUFFIX.rejected, function (state, action) {
24053
24081
  state.orgNameSuffix.loading = false, state.orgNameSuffix.error = true, state.orgNameSuffix = action.payload;
24054
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_CONTACT_DESI.fulfilled, function (state, action) {
24082
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_CONTACT_DESI.fulfilled, function (state, action) {
24055
24083
  state.positionDesi.loading = false, state.positionDesi.error = false, state.positionDesi = action.payload;
24056
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_CONTACT_DESI.pending, function (state, action) {
24084
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_CONTACT_DESI.pending, function (state, action) {
24057
24085
  state.positionDesi.loading = true, state.positionDesi.error = false, state.positionDesi.loading = true;
24058
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_CONTACT_DESI.rejected, function (state, action) {
24086
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_CONTACT_DESI.rejected, function (state, action) {
24059
24087
  state.positionDesi.loading = false, state.positionDesi.error = true, state.positionDesi = action.payload;
24060
- }), _defineProperty(_extraReducers$m, SET_ORGANIZATION.fulfilled, function (state, action) {
24088
+ }), _defineProperty(_extraReducers$o, SET_ORGANIZATION.fulfilled, function (state, action) {
24061
24089
  state.setOrganization.loading = false, state.setOrganization.error = false, state.setOrganization = action.payload;
24062
- }), _defineProperty(_extraReducers$m, SET_ORGANIZATION.pending, function (state, action) {
24090
+ }), _defineProperty(_extraReducers$o, SET_ORGANIZATION.pending, function (state, action) {
24063
24091
  state.setOrganization.loading = true, state.setOrganization.error = false, state.setOrganization.loading = true;
24064
- }), _defineProperty(_extraReducers$m, SET_ORGANIZATION.rejected, function (state, action) {
24092
+ }), _defineProperty(_extraReducers$o, SET_ORGANIZATION.rejected, function (state, action) {
24065
24093
  state.setOrganization.loading = false, state.setOrganization.error = true, state.setOrganization = action.payload;
24066
- }), _defineProperty(_extraReducers$m, ORG_FROM_GET.fulfilled, function (state, action) {
24094
+ }), _defineProperty(_extraReducers$o, ORG_FROM_GET.fulfilled, function (state, action) {
24067
24095
  state.getOrganization.loading = false, state.getOrganization.error = false, state.getOrganization = action.payload;
24068
- }), _defineProperty(_extraReducers$m, ORG_FROM_GET.pending, function (state, action) {
24096
+ }), _defineProperty(_extraReducers$o, ORG_FROM_GET.pending, function (state, action) {
24069
24097
  state.getOrganization.loading = true, state.getOrganization.error = false, state.getOrganization.loading = true;
24070
- }), _defineProperty(_extraReducers$m, ORG_FROM_GET.rejected, function (state, action) {
24098
+ }), _defineProperty(_extraReducers$o, ORG_FROM_GET.rejected, function (state, action) {
24071
24099
  state.getOrganization.loading = false, state.getOrganization.error = true, state.getOrganization = action.payload;
24072
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_SPECIALTY_DROP.fulfilled, function (state, action) {
24100
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_SPECIALTY_DROP.fulfilled, function (state, action) {
24073
24101
  state.specialtyDrop.loading = false, state.specialtyDrop.error = false, state.specialtyDrop = action.payload;
24074
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_SPECIALTY_DROP.pending, function (state, action) {
24102
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_SPECIALTY_DROP.pending, function (state, action) {
24075
24103
  state.specialtyDrop.loading = true, state.specialtyDrop.error = false, state.specialtyDrop.loading = true;
24076
- }), _defineProperty(_extraReducers$m, ORGANIZATION_GET_SPECIALTY_DROP.rejected, function (state, action) {
24104
+ }), _defineProperty(_extraReducers$o, ORGANIZATION_GET_SPECIALTY_DROP.rejected, function (state, action) {
24077
24105
  state.specialtyDrop.loading = false, state.specialtyDrop.error = true, state.specialtyDrop = action.payload;
24078
- }), _extraReducers$m)
24106
+ }), _extraReducers$o)
24079
24107
  });
24080
24108
  var organizationActions = {
24081
24109
  ORGANIZATION_TREE_READ: ORGANIZATION_TREE_READ,
@@ -24491,7 +24519,7 @@ var masterQueryHealthCareService = {
24491
24519
  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
24520
  };
24493
24521
 
24494
- var _extraReducers$l;
24522
+ var _extraReducers$n;
24495
24523
  //CARE TYPE READ
24496
24524
 
24497
24525
  var CARE_TYPE_READ = createAsyncThunk("organizationConfigApiSlice/careTypeRead", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
@@ -25467,109 +25495,109 @@ var organizationConfigSlice = createSlice({
25467
25495
  speciality_master_parent_speciality: _objectSpread2({}, defaultState.Info),
25468
25496
  speciality_edit: _objectSpread2({}, defaultState.List)
25469
25497
  },
25470
- extraReducers: (_extraReducers$l = {}, _defineProperty(_extraReducers$l, SPECIALITY_MASTER_PARENT_SPECIALITY.fulfilled, function (state, action) {
25498
+ extraReducers: (_extraReducers$n = {}, _defineProperty(_extraReducers$n, SPECIALITY_MASTER_PARENT_SPECIALITY.fulfilled, function (state, action) {
25471
25499
  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) {
25500
+ }), _defineProperty(_extraReducers$n, SPECIALITY_MASTER_PARENT_SPECIALITY.pending, function (state, action) {
25473
25501
  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) {
25502
+ }), _defineProperty(_extraReducers$n, SPECIALITY_MASTER_PARENT_SPECIALITY.rejected, function (state, action) {
25475
25503
  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) {
25504
+ }), _defineProperty(_extraReducers$n, SPECIALITY_MASTER_FACILITY.fulfilled, function (state, action) {
25477
25505
  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) {
25506
+ }), _defineProperty(_extraReducers$n, SPECIALITY_MASTER_FACILITY.pending, function (state, action) {
25479
25507
  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) {
25508
+ }), _defineProperty(_extraReducers$n, SPECIALITY_MASTER_FACILITY.rejected, function (state, action) {
25481
25509
  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) {
25510
+ }), _defineProperty(_extraReducers$n, CARE_TYPE_READ.fulfilled, function (state, action) {
25483
25511
  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) {
25512
+ }), _defineProperty(_extraReducers$n, CARE_TYPE_READ.pending, function (state, action) {
25485
25513
  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) {
25514
+ }), _defineProperty(_extraReducers$n, CARE_TYPE_READ.rejected, function (state, action) {
25487
25515
  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) {
25516
+ }), _defineProperty(_extraReducers$n, LEVEL_OF_CARE_READ.fulfilled, function (state, action) {
25489
25517
  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) {
25518
+ }), _defineProperty(_extraReducers$n, LEVEL_OF_CARE_READ.pending, function (state, action) {
25491
25519
  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) {
25520
+ }), _defineProperty(_extraReducers$n, LEVEL_OF_CARE_READ.rejected, function (state, action) {
25493
25521
  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) {
25522
+ }), _defineProperty(_extraReducers$n, LEVEL_OF_CARE_STATUS_CHANGE.fulfilled, function (state, action) {
25495
25523
  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) {
25524
+ }), _defineProperty(_extraReducers$n, LEVEL_OF_CARE_STATUS_CHANGE.pending, function (state, action) {
25497
25525
  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) {
25526
+ }), _defineProperty(_extraReducers$n, LEVEL_OF_CARE_STATUS_CHANGE.rejected, function (state, action) {
25499
25527
  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) {
25528
+ }), _defineProperty(_extraReducers$n, LEVEL_OF_CARE_INSERT.fulfilled, function (state, action) {
25501
25529
  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) {
25530
+ }), _defineProperty(_extraReducers$n, LEVEL_OF_CARE_INSERT.pending, function (state, action) {
25503
25531
  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) {
25532
+ }), _defineProperty(_extraReducers$n, LEVEL_OF_CARE_INSERT.rejected, function (state, action) {
25505
25533
  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) {
25534
+ }), _defineProperty(_extraReducers$n, LEVEL_OF_CARE_SINGLE_READ.fulfilled, function (state, action) {
25507
25535
  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) {
25536
+ }), _defineProperty(_extraReducers$n, LEVEL_OF_CARE_SINGLE_READ.pending, function (state, action) {
25509
25537
  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) {
25538
+ }), _defineProperty(_extraReducers$n, LEVEL_OF_CARE_SINGLE_READ.rejected, function (state, action) {
25511
25539
  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) {
25540
+ }), _defineProperty(_extraReducers$n, HEALTH_CARE_SERVICE_READ.fulfilled, function (state, action) {
25513
25541
  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) {
25542
+ }), _defineProperty(_extraReducers$n, HEALTH_CARE_SERVICE_READ.pending, function (state, action) {
25515
25543
  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) {
25544
+ }), _defineProperty(_extraReducers$n, HEALTH_CARE_SERVICE_READ.rejected, function (state, action) {
25517
25545
  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) {
25546
+ }), _defineProperty(_extraReducers$n, HEALTH_CARE_SERVICE_STATUS_CHANGE.fulfilled, function (state, action) {
25519
25547
  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) {
25548
+ }), _defineProperty(_extraReducers$n, HEALTH_CARE_SERVICE_STATUS_CHANGE.pending, function (state, action) {
25521
25549
  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) {
25550
+ }), _defineProperty(_extraReducers$n, HEALTH_CARE_SERVICE_STATUS_CHANGE.rejected, function (state, action) {
25523
25551
  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) {
25552
+ }), _defineProperty(_extraReducers$n, HEALTH_CARE_SERVICE_INSERT.fulfilled, function (state, action) {
25525
25553
  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) {
25554
+ }), _defineProperty(_extraReducers$n, HEALTH_CARE_SERVICE_INSERT.pending, function (state, action) {
25527
25555
  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) {
25556
+ }), _defineProperty(_extraReducers$n, HEALTH_CARE_SERVICE_INSERT.rejected, function (state, action) {
25529
25557
  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) {
25558
+ }), _defineProperty(_extraReducers$n, HEALTH_CARE_SERVICE_MASTER.fulfilled, function (state, action) {
25531
25559
  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) {
25560
+ }), _defineProperty(_extraReducers$n, HEALTH_CARE_SERVICE_MASTER.pending, function (state, action) {
25533
25561
  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) {
25562
+ }), _defineProperty(_extraReducers$n, HEALTH_CARE_SERVICE_MASTER.rejected, function (state, action) {
25535
25563
  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) {
25564
+ }), _defineProperty(_extraReducers$n, HEALTH_CARE_SERVICE_MASTER_LOCATION_DESCRIPTION.fulfilled, function (state, action) {
25537
25565
  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) {
25566
+ }), _defineProperty(_extraReducers$n, HEALTH_CARE_SERVICE_MASTER_LOCATION_DESCRIPTION.pending, function (state, action) {
25539
25567
  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) {
25568
+ }), _defineProperty(_extraReducers$n, HEALTH_CARE_SERVICE_MASTER_LOCATION_DESCRIPTION.rejected, function (state, action) {
25541
25569
  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) {
25570
+ }), _defineProperty(_extraReducers$n, EDIT_HEALTH_CARE_SERVICE.fulfilled, function (state, action) {
25543
25571
  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) {
25572
+ }), _defineProperty(_extraReducers$n, EDIT_HEALTH_CARE_SERVICE.pending, function (state, action) {
25545
25573
  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) {
25574
+ }), _defineProperty(_extraReducers$n, EDIT_HEALTH_CARE_SERVICE.rejected, function (state, action) {
25547
25575
  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) {
25576
+ }), _defineProperty(_extraReducers$n, SPECIALITY_READ.fulfilled, function (state, action) {
25549
25577
  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) {
25578
+ }), _defineProperty(_extraReducers$n, SPECIALITY_READ.pending, function (state, action) {
25551
25579
  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) {
25580
+ }), _defineProperty(_extraReducers$n, SPECIALITY_READ.rejected, function (state, action) {
25553
25581
  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) {
25582
+ }), _defineProperty(_extraReducers$n, SPECIALITY_CHILD_READ.fulfilled, function (state, action) {
25555
25583
  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) {
25584
+ }), _defineProperty(_extraReducers$n, SPECIALITY_CHILD_READ.pending, function (state, action) {
25557
25585
  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) {
25586
+ }), _defineProperty(_extraReducers$n, SPECIALITY_CHILD_READ.rejected, function (state, action) {
25559
25587
  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) {
25588
+ }), _defineProperty(_extraReducers$n, SPECIALTY_INSERT.fulfilled, function (state, action) {
25561
25589
  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) {
25590
+ }), _defineProperty(_extraReducers$n, SPECIALTY_INSERT.pending, function (state, action) {
25563
25591
  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) {
25592
+ }), _defineProperty(_extraReducers$n, SPECIALTY_INSERT.rejected, function (state, action) {
25565
25593
  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) {
25594
+ }), _defineProperty(_extraReducers$n, EDIT_SPECIALITY.fulfilled, function (state, action) {
25567
25595
  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) {
25596
+ }), _defineProperty(_extraReducers$n, EDIT_SPECIALITY.pending, function (state, action) {
25569
25597
  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) {
25598
+ }), _defineProperty(_extraReducers$n, EDIT_SPECIALITY.rejected, function (state, action) {
25571
25599
  state.speciality_edit.loading = false, state.speciality_edit.error = true, state.speciality_edit = action.payload;
25572
- }), _extraReducers$l)
25600
+ }), _extraReducers$n)
25573
25601
  });
25574
25602
  var organizationConfigActions = {
25575
25603
  CARE_TYPE_READ: CARE_TYPE_READ,
@@ -25592,7 +25620,7 @@ var organizationConfigActions = {
25592
25620
  };
25593
25621
  var organizationConfigSlice$1 = organizationConfigSlice.reducer;
25594
25622
 
25595
- var _extraReducers$k;
25623
+ var _extraReducers$m;
25596
25624
  var CARE_TYPE_MASTERS = createAsyncThunk("organizationConfigMasterAPISlice/care_type_master", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
25597
25625
  var _ref2,
25598
25626
  rejectWithValue,
@@ -25646,13 +25674,13 @@ var organizationConfigMasterSlice = createSlice({
25646
25674
  initialState: {
25647
25675
  care_type_master: _objectSpread2({}, defaultState.List)
25648
25676
  },
25649
- extraReducers: (_extraReducers$k = {}, _defineProperty(_extraReducers$k, CARE_TYPE_MASTERS.fulfilled, function (state, action) {
25677
+ extraReducers: (_extraReducers$m = {}, _defineProperty(_extraReducers$m, CARE_TYPE_MASTERS.fulfilled, function (state, action) {
25650
25678
  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) {
25679
+ }), _defineProperty(_extraReducers$m, CARE_TYPE_MASTERS.pending, function (state, action) {
25652
25680
  state.care_type_master.loading = true, state.care_type_master.error = false;
25653
- }), _defineProperty(_extraReducers$k, CARE_TYPE_MASTERS.rejected, function (state, action) {
25681
+ }), _defineProperty(_extraReducers$m, CARE_TYPE_MASTERS.rejected, function (state, action) {
25654
25682
  state.care_type_master.loading = false, state.care_type_master.error = true, state.care_type_master = action.payload;
25655
- }), _extraReducers$k)
25683
+ }), _extraReducers$m)
25656
25684
  });
25657
25685
  var organizationConfigMasterActions = {
25658
25686
  CARE_TYPE_MASTERS: CARE_TYPE_MASTERS
@@ -25681,7 +25709,7 @@ var query$6 = {
25681
25709
  }
25682
25710
  };
25683
25711
 
25684
- var _extraReducers$j;
25712
+ var _extraReducers$l;
25685
25713
  var __options = {
25686
25714
  method: "POST",
25687
25715
  headers: {
@@ -25960,35 +25988,35 @@ var signInSlice = createSlice({
25960
25988
  SearchPractioner: _objectSpread2({}, defaultState.List),
25961
25989
  refreshToken: _objectSpread2({}, defaultState.Info)
25962
25990
  },
25963
- extraReducers: (_extraReducers$j = {}, _defineProperty(_extraReducers$j, GET_PERMISSION_ROLE_DATA.fulfilled, function (state, action) {
25991
+ extraReducers: (_extraReducers$l = {}, _defineProperty(_extraReducers$l, GET_PERMISSION_ROLE_DATA.fulfilled, function (state, action) {
25964
25992
  state.getpermissiondata.loading = false, state.getpermissiondata.error = false, state.getpermissiondata = action.payload;
25965
- }), _defineProperty(_extraReducers$j, GET_PERMISSION_ROLE_DATA.pending, function (state, action) {
25993
+ }), _defineProperty(_extraReducers$l, GET_PERMISSION_ROLE_DATA.pending, function (state, action) {
25966
25994
  state.getpermissiondata.loading = true, state.getpermissiondata.error = false, state.getpermissiondata.loading = true;
25967
- }), _defineProperty(_extraReducers$j, GET_PERMISSION_ROLE_DATA.rejected, function (state, action) {
25995
+ }), _defineProperty(_extraReducers$l, GET_PERMISSION_ROLE_DATA.rejected, function (state, action) {
25968
25996
  state.getpermissiondata.loading = false, state.getpermissiondata.error = true, state.getpermissiondata = action.payload;
25969
- }), _defineProperty(_extraReducers$j, SEARCH_PRACTIONER.fulfilled, function (state, action) {
25997
+ }), _defineProperty(_extraReducers$l, SEARCH_PRACTIONER.fulfilled, function (state, action) {
25970
25998
  state.SearchPractioner.loading = false, state.SearchPractioner.error = false, state.SearchPractioner = action.payload;
25971
- }), _defineProperty(_extraReducers$j, SEARCH_PRACTIONER.pending, function (state, action) {
25999
+ }), _defineProperty(_extraReducers$l, SEARCH_PRACTIONER.pending, function (state, action) {
25972
26000
  state.SearchPractioner.loading = true, state.SearchPractioner.error = false, state.SearchPractioner.loading = true;
25973
- }), _defineProperty(_extraReducers$j, SEARCH_PRACTIONER.rejected, function (state, action) {
26001
+ }), _defineProperty(_extraReducers$l, SEARCH_PRACTIONER.rejected, function (state, action) {
25974
26002
  state.SearchPractioner.loading = false, state.SearchPractioner.error = true, state.SearchPractioner = action.payload;
25975
- }), _defineProperty(_extraReducers$j, SIGN_IN_READ.fulfilled, function (state, action) {
26003
+ }), _defineProperty(_extraReducers$l, SIGN_IN_READ.fulfilled, function (state, action) {
25976
26004
  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) {
26005
+ }), _defineProperty(_extraReducers$l, SIGN_IN_READ.pending, function (state, action) {
25978
26006
  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) {
26007
+ }), _defineProperty(_extraReducers$l, SIGN_IN_READ.rejected, function (state, action) {
25980
26008
  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) {
26009
+ }), _defineProperty(_extraReducers$l, REFRESH_TOKEN.fulfilled, function (state, action) {
25982
26010
  var _action$payload;
25983
26011
 
25984
26012
  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) {
26013
+ }), _defineProperty(_extraReducers$l, REFRESH_TOKEN.pending, function (state, action) {
25986
26014
  state.refreshToken.loading = true;
25987
- }), _defineProperty(_extraReducers$j, REFRESH_TOKEN.rejected, function (state, action) {
26015
+ }), _defineProperty(_extraReducers$l, REFRESH_TOKEN.rejected, function (state, action) {
25988
26016
  var _action$payload2;
25989
26017
 
25990
26018
  state.refreshToken = (_action$payload2 = action === null || action === void 0 ? void 0 : action.payload) !== null && _action$payload2 !== void 0 ? _action$payload2 : {};
25991
- }), _extraReducers$j)
26019
+ }), _extraReducers$l)
25992
26020
  });
25993
26021
  var signinActions = {
25994
26022
  SIGN_IN_READ: SIGN_IN_READ,
@@ -26009,6 +26037,7 @@ var queries$a = {
26009
26037
  "db_name": dbName,
26010
26038
  "entity": "CodeableConceptMaster"
26011
26039
  }, filter), {}, {
26040
+ "sort": "CodeableConceptMaster.createddate",
26012
26041
  "return_fields": "MERGE(CodeableConceptMaster,{coding:(for cod IN TO_ARRAY(CodeableConceptMaster.coding) RETURN DOCUMENT(cod))})"
26013
26042
  });
26014
26043
  },
@@ -26112,7 +26141,7 @@ var queries$a = {
26112
26141
  }
26113
26142
  };
26114
26143
 
26115
- var _extraReducers$i;
26144
+ var _extraReducers$k;
26116
26145
  var PERMISSION_ROLE_UPSERT = createAsyncThunk("rolesSlice/permission_role_upsert", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
26117
26146
  var payload,
26118
26147
  _ref2,
@@ -26442,49 +26471,49 @@ var rolesSlice = createSlice({
26442
26471
  codable_concept_delete: _objectSpread2({}, defaultState.List),
26443
26472
  coding_upsert: _objectSpread2({}, defaultState.List)
26444
26473
  },
26445
- extraReducers: (_extraReducers$i = {}, _defineProperty(_extraReducers$i, PERMISSION_ROLE_UPSERT.fulfilled, function (state, action) {
26474
+ extraReducers: (_extraReducers$k = {}, _defineProperty(_extraReducers$k, PERMISSION_ROLE_UPSERT.fulfilled, function (state, action) {
26446
26475
  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) {
26476
+ }), _defineProperty(_extraReducers$k, PERMISSION_ROLE_UPSERT.pending, function (state, action) {
26448
26477
  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) {
26478
+ }), _defineProperty(_extraReducers$k, PERMISSION_ROLE_UPSERT.rejected, function (state, action) {
26450
26479
  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) {
26480
+ }), _defineProperty(_extraReducers$k, CODABALE_CONCEPT_UPSERT.fulfilled, function (state, action) {
26452
26481
  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) {
26482
+ }), _defineProperty(_extraReducers$k, CODABALE_CONCEPT_UPSERT.pending, function (state, action) {
26454
26483
  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) {
26484
+ }), _defineProperty(_extraReducers$k, CODABALE_CONCEPT_UPSERT.rejected, function (state, action) {
26456
26485
  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) {
26486
+ }), _defineProperty(_extraReducers$k, PERMISSION_MANAGEMENT_READ.fulfilled, function (state, action) {
26458
26487
  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) {
26488
+ }), _defineProperty(_extraReducers$k, PERMISSION_MANAGEMENT_READ.pending, function (state, action) {
26460
26489
  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) {
26490
+ }), _defineProperty(_extraReducers$k, PERMISSION_MANAGEMENT_READ.rejected, function (state, action) {
26462
26491
  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) {
26492
+ }), _defineProperty(_extraReducers$k, PERMISSION_MANAGEMENT_ROLE_READ.fulfilled, function (state, action) {
26464
26493
  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) {
26494
+ }), _defineProperty(_extraReducers$k, PERMISSION_MANAGEMENT_ROLE_READ.pending, function (state, action) {
26466
26495
  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) {
26496
+ }), _defineProperty(_extraReducers$k, PERMISSION_MANAGEMENT_ROLE_READ.rejected, function (state, action) {
26468
26497
  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) {
26498
+ }), _defineProperty(_extraReducers$k, ROLE_READ.fulfilled, function (state, action) {
26470
26499
  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) {
26500
+ }), _defineProperty(_extraReducers$k, ROLE_READ.pending, function (state, action) {
26472
26501
  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) {
26502
+ }), _defineProperty(_extraReducers$k, ROLE_READ.rejected, function (state, action) {
26474
26503
  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) {
26504
+ }), _defineProperty(_extraReducers$k, CODABALE_CONCEPT_DELETE.fulfilled, function (state, action) {
26476
26505
  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) {
26506
+ }), _defineProperty(_extraReducers$k, CODABALE_CONCEPT_DELETE.pending, function (state, action) {
26478
26507
  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) {
26508
+ }), _defineProperty(_extraReducers$k, CODABALE_CONCEPT_DELETE.rejected, function (state, action) {
26480
26509
  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) {
26510
+ }), _defineProperty(_extraReducers$k, CODING_UPSERT.fulfilled, function (state, action) {
26482
26511
  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) {
26512
+ }), _defineProperty(_extraReducers$k, CODING_UPSERT.pending, function (state, action) {
26484
26513
  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) {
26514
+ }), _defineProperty(_extraReducers$k, CODING_UPSERT.rejected, function (state, action) {
26486
26515
  state.coding_upsert.loading = false, state.coding_upsert.error = true, state.coding_upsert = action.payload;
26487
- }), _extraReducers$i)
26516
+ }), _extraReducers$k)
26488
26517
  });
26489
26518
  var roleActions = {
26490
26519
  CODING_UPSERT: CODING_UPSERT,
@@ -26546,7 +26575,7 @@ var queries$9 = {
26546
26575
  }
26547
26576
  };
26548
26577
 
26549
- var _extraReducers$h;
26578
+ var _extraReducers$j;
26550
26579
  var REPOSITORY_READ_DOCUMENT = createAsyncThunk("repositorySlice/repository_read", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
26551
26580
  var payload,
26552
26581
  _ref2,
@@ -26600,13 +26629,13 @@ var repositorySlice = createSlice({
26600
26629
  initialState: {
26601
26630
  repository_read: _objectSpread2({}, defaultState.List)
26602
26631
  },
26603
- extraReducers: (_extraReducers$h = {}, _defineProperty(_extraReducers$h, REPOSITORY_READ_DOCUMENT.fulfilled, function (state, action) {
26632
+ extraReducers: (_extraReducers$j = {}, _defineProperty(_extraReducers$j, REPOSITORY_READ_DOCUMENT.fulfilled, function (state, action) {
26604
26633
  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) {
26634
+ }), _defineProperty(_extraReducers$j, REPOSITORY_READ_DOCUMENT.pending, function (state, action) {
26606
26635
  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) {
26636
+ }), _defineProperty(_extraReducers$j, REPOSITORY_READ_DOCUMENT.rejected, function (state, action) {
26608
26637
  state.repository_read.loading = false, state.repository_read.error = true, state.repository_read = action.payload;
26609
- }), _extraReducers$h)
26638
+ }), _extraReducers$j)
26610
26639
  });
26611
26640
  var repositoryActions = {
26612
26641
  REPOSITORY_READ_DOCUMENT: REPOSITORY_READ_DOCUMENT
@@ -26665,7 +26694,7 @@ var queries$8 = {
26665
26694
  }
26666
26695
  };
26667
26696
 
26668
- var _extraReducers$g;
26697
+ var _extraReducers$i;
26669
26698
  var PERMISSION_UPSERT = createAsyncThunk("permissionSlice/permission_upsert", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
26670
26699
  var payload,
26671
26700
  _ref2,
@@ -26811,25 +26840,25 @@ var permissionSlice = createSlice({
26811
26840
  permission_delete: _objectSpread2({}, defaultState.List),
26812
26841
  permission_read: _objectSpread2({}, defaultState.List)
26813
26842
  },
26814
- extraReducers: (_extraReducers$g = {}, _defineProperty(_extraReducers$g, PERMISSION_UPSERT.fulfilled, function (state, action) {
26843
+ extraReducers: (_extraReducers$i = {}, _defineProperty(_extraReducers$i, PERMISSION_UPSERT.fulfilled, function (state, action) {
26815
26844
  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) {
26845
+ }), _defineProperty(_extraReducers$i, PERMISSION_UPSERT.pending, function (state, action) {
26817
26846
  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) {
26847
+ }), _defineProperty(_extraReducers$i, PERMISSION_UPSERT.rejected, function (state, action) {
26819
26848
  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) {
26849
+ }), _defineProperty(_extraReducers$i, PERMISSION_DELETE.fulfilled, function (state, action) {
26821
26850
  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) {
26851
+ }), _defineProperty(_extraReducers$i, PERMISSION_DELETE.pending, function (state, action) {
26823
26852
  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) {
26853
+ }), _defineProperty(_extraReducers$i, PERMISSION_DELETE.rejected, function (state, action) {
26825
26854
  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) {
26855
+ }), _defineProperty(_extraReducers$i, PERMISSION_READ.fulfilled, function (state, action) {
26827
26856
  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) {
26857
+ }), _defineProperty(_extraReducers$i, PERMISSION_READ.pending, function (state, action) {
26829
26858
  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) {
26859
+ }), _defineProperty(_extraReducers$i, PERMISSION_READ.rejected, function (state, action) {
26831
26860
  state.permission_read.loading = false, state.permission_read.error = true, state.permission_read = action.payload;
26832
- }), _extraReducers$g)
26861
+ }), _extraReducers$i)
26833
26862
  });
26834
26863
  var permissionActions = {
26835
26864
  PERMISSION_READ: PERMISSION_READ,
@@ -26846,6 +26875,7 @@ var queries$7 = {
26846
26875
  "db_name": "primarycare",
26847
26876
  "entity": "Person",
26848
26877
  "filter": "Person.activestatus==true",
26878
+ "sort": "Person.createddate",
26849
26879
  "return_fields": "merge(Person,{name:(for nam in HumanNameMaster filter nam._id in Person.name return merge(nam,{use:document(nam.use),suffix:document(nam.suffix),prefix:document(nam.prefix)}))},{gender:document(Person.gender)},{telecom:(for con in ContactPointMaster filter con._id in Person.telecom return merge(con,{use:document(con.use),rank:document(con.rank)}))},{photo:document(Person.photo)},{address:document(Person.address)},{identifier:(for iden in IdentifierMaster filter iden._id in Person.identifier return merge(iden,{user:document(iden.user),Type:document(iden.Type)}))},{OrgID:document(Person.OrgID)},{orgType:document(Person.orgType)})"
26850
26880
  };
26851
26881
  },
@@ -26988,7 +27018,7 @@ var queries$7 = {
26988
27018
  // }
26989
27019
  // },
26990
27020
 
26991
- var _extraReducers$f;
27021
+ var _extraReducers$h;
26992
27022
  var PERSON_UPSERT = createAsyncThunk("personSlice/person_upsert", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
26993
27023
  var payload,
26994
27024
  _ref2,
@@ -27629,85 +27659,85 @@ var personSlice = createSlice({
27629
27659
  use_master: _objectSpread2({}, defaultState.List),
27630
27660
  single_read_person: _objectSpread2({}, defaultState.List)
27631
27661
  },
27632
- extraReducers: (_extraReducers$f = {}, _defineProperty(_extraReducers$f, PERSON_UPSERT.fulfilled, function (state, action) {
27662
+ extraReducers: (_extraReducers$h = {}, _defineProperty(_extraReducers$h, PERSON_UPSERT.fulfilled, function (state, action) {
27633
27663
  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) {
27664
+ }), _defineProperty(_extraReducers$h, PERSON_UPSERT.pending, function (state, action) {
27635
27665
  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) {
27666
+ }), _defineProperty(_extraReducers$h, PERSON_UPSERT.rejected, function (state, action) {
27637
27667
  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) {
27668
+ }), _defineProperty(_extraReducers$h, PERSON_DELETE.fulfilled, function (state, action) {
27639
27669
  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) {
27670
+ }), _defineProperty(_extraReducers$h, PERSON_DELETE.pending, function (state, action) {
27641
27671
  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) {
27672
+ }), _defineProperty(_extraReducers$h, PERSON_DELETE.rejected, function (state, action) {
27643
27673
  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) {
27674
+ }), _defineProperty(_extraReducers$h, PERSON_READ.fulfilled, function (state, action) {
27645
27675
  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) {
27676
+ }), _defineProperty(_extraReducers$h, PERSON_READ.pending, function (state, action) {
27647
27677
  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) {
27678
+ }), _defineProperty(_extraReducers$h, PERSON_READ.rejected, function (state, action) {
27649
27679
  state.person_read.loading = false, state.person_read.error = true, state.person_read = action.payload;
27650
- }), _defineProperty(_extraReducers$f, CONTACTSYSTEMMASTER.fulfilled, function (state, action) {
27680
+ }), _defineProperty(_extraReducers$h, CONTACTSYSTEMMASTER.fulfilled, function (state, action) {
27651
27681
  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) {
27682
+ }), _defineProperty(_extraReducers$h, CONTACTSYSTEMMASTER.pending, function (state, action) {
27653
27683
  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) {
27684
+ }), _defineProperty(_extraReducers$h, CONTACTSYSTEMMASTER.rejected, function (state, action) {
27655
27685
  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) {
27686
+ }), _defineProperty(_extraReducers$h, ENTITYNAMEMASTER.fulfilled, function (state, action) {
27657
27687
  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) {
27688
+ }), _defineProperty(_extraReducers$h, ENTITYNAMEMASTER.pending, function (state, action) {
27659
27689
  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) {
27690
+ }), _defineProperty(_extraReducers$h, ENTITYNAMEMASTER.rejected, function (state, action) {
27661
27691
  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) {
27692
+ }), _defineProperty(_extraReducers$h, ENTITYTYPEMASTER.fulfilled, function (state, action) {
27663
27693
  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) {
27694
+ }), _defineProperty(_extraReducers$h, ENTITYTYPEMASTER.pending, function (state, action) {
27665
27695
  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) {
27696
+ }), _defineProperty(_extraReducers$h, ENTITYTYPEMASTER.rejected, function (state, action) {
27667
27697
  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) {
27698
+ }), _defineProperty(_extraReducers$h, GENDERMASTER.fulfilled, function (state, action) {
27669
27699
  state.gender_master.loading = false, state.gender_master.error = false, state.gender_master = action.payload;
27670
- }), _defineProperty(_extraReducers$f, GENDERMASTER.pending, function (state, action) {
27700
+ }), _defineProperty(_extraReducers$h, GENDERMASTER.pending, function (state, action) {
27671
27701
  state.gender_master.loading = true, state.gender_master.error = false, state.gender_master.loading = true;
27672
- }), _defineProperty(_extraReducers$f, GENDERMASTER.rejected, function (state, action) {
27702
+ }), _defineProperty(_extraReducers$h, GENDERMASTER.rejected, function (state, action) {
27673
27703
  state.gender_master.loading = false, state.gender_master.error = true, state.gender_master = action.payload;
27674
- }), _defineProperty(_extraReducers$f, IDTYPEMASTER.fulfilled, function (state, action) {
27704
+ }), _defineProperty(_extraReducers$h, IDTYPEMASTER.fulfilled, function (state, action) {
27675
27705
  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) {
27706
+ }), _defineProperty(_extraReducers$h, IDTYPEMASTER.pending, function (state, action) {
27677
27707
  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) {
27708
+ }), _defineProperty(_extraReducers$h, IDTYPEMASTER.rejected, function (state, action) {
27679
27709
  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) {
27710
+ }), _defineProperty(_extraReducers$h, PREFIXMASTER.fulfilled, function (state, action) {
27681
27711
  state.prefix_master.loading = false, state.prefix_master.error = false, state.prefix_master = action.payload;
27682
- }), _defineProperty(_extraReducers$f, PREFIXMASTER.pending, function (state, action) {
27712
+ }), _defineProperty(_extraReducers$h, PREFIXMASTER.pending, function (state, action) {
27683
27713
  state.prefix_master.loading = true, state.prefix_master.error = false, state.prefix_master.loading = true;
27684
- }), _defineProperty(_extraReducers$f, PREFIXMASTER.rejected, function (state, action) {
27714
+ }), _defineProperty(_extraReducers$h, PREFIXMASTER.rejected, function (state, action) {
27685
27715
  state.prefix_master.loading = false, state.prefix_master.error = true, state.prefix_master = action.payload;
27686
- }), _defineProperty(_extraReducers$f, PRIORITYMASTER.fulfilled, function (state, action) {
27716
+ }), _defineProperty(_extraReducers$h, PRIORITYMASTER.fulfilled, function (state, action) {
27687
27717
  state.priority_master.loading = false, state.priority_master.error = false, state.priority_master = action.payload;
27688
- }), _defineProperty(_extraReducers$f, PRIORITYMASTER.pending, function (state, action) {
27718
+ }), _defineProperty(_extraReducers$h, PRIORITYMASTER.pending, function (state, action) {
27689
27719
  state.priority_master.loading = true, state.priority_master.error = false, state.priority_master.loading = true;
27690
- }), _defineProperty(_extraReducers$f, PRIORITYMASTER.rejected, function (state, action) {
27720
+ }), _defineProperty(_extraReducers$h, PRIORITYMASTER.rejected, function (state, action) {
27691
27721
  state.priority_master.loading = false, state.priority_master.error = true, state.priority_master = action.payload;
27692
- }), _defineProperty(_extraReducers$f, SURFFIXMASTER.fulfilled, function (state, action) {
27722
+ }), _defineProperty(_extraReducers$h, SURFFIXMASTER.fulfilled, function (state, action) {
27693
27723
  state.surffix_master.loading = false, state.surffix_master.error = false, state.surffix_master = action.payload;
27694
- }), _defineProperty(_extraReducers$f, SURFFIXMASTER.pending, function (state, action) {
27724
+ }), _defineProperty(_extraReducers$h, SURFFIXMASTER.pending, function (state, action) {
27695
27725
  state.surffix_master.loading = true, state.surffix_master.error = false, state.surffix_master.loading = true;
27696
- }), _defineProperty(_extraReducers$f, SURFFIXMASTER.rejected, function (state, action) {
27726
+ }), _defineProperty(_extraReducers$h, SURFFIXMASTER.rejected, function (state, action) {
27697
27727
  state.surffix_master.loading = false, state.surffix_master.error = true, state.surffix_master = action.payload;
27698
- }), _defineProperty(_extraReducers$f, USEMASTER.fulfilled, function (state, action) {
27728
+ }), _defineProperty(_extraReducers$h, USEMASTER.fulfilled, function (state, action) {
27699
27729
  state.use_master.loading = false, state.use_master.error = false, state.use_master = action.payload;
27700
- }), _defineProperty(_extraReducers$f, USEMASTER.pending, function (state, action) {
27730
+ }), _defineProperty(_extraReducers$h, USEMASTER.pending, function (state, action) {
27701
27731
  state.use_master.loading = true, state.use_master.error = false, state.use_master.loading = true;
27702
- }), _defineProperty(_extraReducers$f, USEMASTER.rejected, function (state, action) {
27732
+ }), _defineProperty(_extraReducers$h, USEMASTER.rejected, function (state, action) {
27703
27733
  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) {
27734
+ }), _defineProperty(_extraReducers$h, SINGLE_PERSON_READ.fulfilled, function (state, action) {
27705
27735
  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) {
27736
+ }), _defineProperty(_extraReducers$h, SINGLE_PERSON_READ.pending, function (state, action) {
27707
27737
  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) {
27738
+ }), _defineProperty(_extraReducers$h, SINGLE_PERSON_READ.rejected, function (state, action) {
27709
27739
  state.single_read_person.loading = false, state.single_read_person.error = true, state.single_read_person = action.payload;
27710
- }), _extraReducers$f)
27740
+ }), _extraReducers$h)
27711
27741
  });
27712
27742
  var personActions = {
27713
27743
  PERSON_READ: PERSON_READ,
@@ -27786,7 +27816,7 @@ var queries$6 = {
27786
27816
  }
27787
27817
  };
27788
27818
 
27789
- var _extraReducers$e;
27819
+ var _extraReducers$g;
27790
27820
  var USER_UPSERT = createAsyncThunk("userSlice/user_upsert", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
27791
27821
  var payload,
27792
27822
  _ref2,
@@ -27926,25 +27956,25 @@ var userSlice = createSlice({
27926
27956
  user_delete: _objectSpread2({}, defaultState.List),
27927
27957
  user_read: _objectSpread2({}, defaultState.List)
27928
27958
  },
27929
- extraReducers: (_extraReducers$e = {}, _defineProperty(_extraReducers$e, USER_UPSERT.fulfilled, function (state, action) {
27959
+ extraReducers: (_extraReducers$g = {}, _defineProperty(_extraReducers$g, USER_UPSERT.fulfilled, function (state, action) {
27930
27960
  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) {
27961
+ }), _defineProperty(_extraReducers$g, USER_UPSERT.pending, function (state, action) {
27932
27962
  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) {
27963
+ }), _defineProperty(_extraReducers$g, USER_UPSERT.rejected, function (state, action) {
27934
27964
  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) {
27965
+ }), _defineProperty(_extraReducers$g, USER_DELETE.fulfilled, function (state, action) {
27936
27966
  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) {
27967
+ }), _defineProperty(_extraReducers$g, USER_DELETE.pending, function (state, action) {
27938
27968
  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) {
27969
+ }), _defineProperty(_extraReducers$g, USER_DELETE.rejected, function (state, action) {
27940
27970
  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) {
27971
+ }), _defineProperty(_extraReducers$g, USER_READ.fulfilled, function (state, action) {
27942
27972
  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) {
27973
+ }), _defineProperty(_extraReducers$g, USER_READ.pending, function (state, action) {
27944
27974
  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) {
27975
+ }), _defineProperty(_extraReducers$g, USER_READ.rejected, function (state, action) {
27946
27976
  state.user_read.loading = false, state.user_read.error = true, state.user_read = action.payload;
27947
- }), _extraReducers$e)
27977
+ }), _extraReducers$g)
27948
27978
  });
27949
27979
  var userActions = {
27950
27980
  USER_READ: USER_READ,
@@ -27999,7 +28029,7 @@ var generateJson$6 = function generateJson(data, _key) {
27999
28029
  })];
28000
28030
  };
28001
28031
 
28002
- var _extraReducers$d;
28032
+ var _extraReducers$f;
28003
28033
  var UPSERT_ALERT = createAsyncThunk("alertRestictionsMasterSlice/save_alert", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
28004
28034
  var payload,
28005
28035
  _ref2,
@@ -28319,31 +28349,31 @@ var alertRestictionsMasterSlice = createSlice({
28319
28349
  read_alert: _objectSpread2({}, defaultState.Info),
28320
28350
  read_alert_status: _objectSpread2({}, defaultState.Info)
28321
28351
  },
28322
- extraReducers: (_extraReducers$d = {}, _defineProperty(_extraReducers$d, GET_ALL_MASTER.fulfilled, function (state, action) {
28352
+ extraReducers: (_extraReducers$f = {}, _defineProperty(_extraReducers$f, GET_ALL_MASTER.fulfilled, function (state, action) {
28323
28353
  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) {
28354
+ }), _defineProperty(_extraReducers$f, GET_ALL_MASTER.pending, function (state, action) {
28325
28355
  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) {
28356
+ }), _defineProperty(_extraReducers$f, GET_ALL_MASTER.rejected, function (state, action) {
28327
28357
  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) {
28358
+ }), _defineProperty(_extraReducers$f, UPSERT_ALERT.fulfilled, function (state, action) {
28329
28359
  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) {
28360
+ }), _defineProperty(_extraReducers$f, UPSERT_ALERT.pending, function (state, action) {
28331
28361
  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) {
28362
+ }), _defineProperty(_extraReducers$f, UPSERT_ALERT.rejected, function (state, action) {
28333
28363
  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) {
28364
+ }), _defineProperty(_extraReducers$f, READ_ALERT.fulfilled, function (state, action) {
28335
28365
  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) {
28366
+ }), _defineProperty(_extraReducers$f, READ_ALERT.pending, function (state, action) {
28337
28367
  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) {
28368
+ }), _defineProperty(_extraReducers$f, READ_ALERT.rejected, function (state, action) {
28339
28369
  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) {
28370
+ }), _defineProperty(_extraReducers$f, UPSERT_ALERT_STATUS.fulfilled, function (state, action) {
28341
28371
  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) {
28372
+ }), _defineProperty(_extraReducers$f, UPSERT_ALERT_STATUS.pending, function (state, action) {
28343
28373
  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) {
28374
+ }), _defineProperty(_extraReducers$f, UPSERT_ALERT_STATUS.rejected, function (state, action) {
28345
28375
  state.read_alert_status.loading = false, state.read_alert_status.error = true, state.read_alert_status = action.payload;
28346
- }), _extraReducers$d)
28376
+ }), _extraReducers$f)
28347
28377
  });
28348
28378
  var alertRestrictionsMasterActions = {
28349
28379
  GET_ALL_MASTER: GET_ALL_MASTER,
@@ -28515,7 +28545,7 @@ var generateReadJson$1 = {
28515
28545
  }
28516
28546
  };
28517
28547
 
28518
- var _extraReducers$c;
28548
+ var _extraReducers$e;
28519
28549
  var DRUG_UOM_READ = createAsyncThunk("drugRoutesSlice/drug_uom_list", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
28520
28550
  var _ref2,
28521
28551
  rejectWithValue,
@@ -28822,43 +28852,43 @@ var drugMasterUOMSlice = createSlice({
28822
28852
  drug_uom_read_line: _objectSpread2({}, defaultState.List),
28823
28853
  drug_uom_code_status: _objectSpread2({}, defaultState.List)
28824
28854
  },
28825
- extraReducers: (_extraReducers$c = {}, _defineProperty(_extraReducers$c, DRUG_UOM_READ.fulfilled, function (state, action) {
28855
+ extraReducers: (_extraReducers$e = {}, _defineProperty(_extraReducers$e, DRUG_UOM_READ.fulfilled, function (state, action) {
28826
28856
  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) {
28857
+ }), _defineProperty(_extraReducers$e, DRUG_UOM_READ.pending, function (state, action) {
28828
28858
  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) {
28859
+ }), _defineProperty(_extraReducers$e, DRUG_UOM_READ.rejected, function (state, action) {
28830
28860
  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) {
28861
+ }), _defineProperty(_extraReducers$e, DRUG_UOM_TYPE_DROP_DOWN.fulfilled, function (state, action) {
28832
28862
  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) {
28863
+ }), _defineProperty(_extraReducers$e, DRUG_UOM_TYPE_DROP_DOWN.pending, function (state, action) {
28834
28864
  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) {
28865
+ }), _defineProperty(_extraReducers$e, DRUG_UOM_TYPE_DROP_DOWN.rejected, function (state, action) {
28836
28866
  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) {
28867
+ }), _defineProperty(_extraReducers$e, TO_UDM_CODE_DROPDOWN.fulfilled, function (state, action) {
28838
28868
  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) {
28869
+ }), _defineProperty(_extraReducers$e, TO_UDM_CODE_DROPDOWN.pending, function (state, action) {
28840
28870
  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) {
28871
+ }), _defineProperty(_extraReducers$e, TO_UDM_CODE_DROPDOWN.rejected, function (state, action) {
28842
28872
  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) {
28873
+ }), _defineProperty(_extraReducers$e, UOM_CODE_INSERT.fulfilled, function (state, action) {
28844
28874
  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) {
28875
+ }), _defineProperty(_extraReducers$e, UOM_CODE_INSERT.pending, function (state, action) {
28846
28876
  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) {
28877
+ }), _defineProperty(_extraReducers$e, UOM_CODE_INSERT.rejected, function (state, action) {
28848
28878
  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) {
28879
+ }), _defineProperty(_extraReducers$e, DRUG_UOM_LINE_READ.fulfilled, function (state, action) {
28850
28880
  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) {
28881
+ }), _defineProperty(_extraReducers$e, DRUG_UOM_LINE_READ.pending, function (state, action) {
28852
28882
  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) {
28883
+ }), _defineProperty(_extraReducers$e, DRUG_UOM_LINE_READ.rejected, function (state, action) {
28854
28884
  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) {
28885
+ }), _defineProperty(_extraReducers$e, To_UOM_UPDATE_STATUS_FUN.fulfilled, function (state, action) {
28856
28886
  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) {
28887
+ }), _defineProperty(_extraReducers$e, To_UOM_UPDATE_STATUS_FUN.pending, function (state, action) {
28858
28888
  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) {
28889
+ }), _defineProperty(_extraReducers$e, To_UOM_UPDATE_STATUS_FUN.rejected, function (state, action) {
28860
28890
  state.drug_uom_code_status.loading = false, state.drug_uom_code_status.error = true, state.drug_uom_code_status = action.payload;
28861
- }), _extraReducers$c)
28891
+ }), _extraReducers$e)
28862
28892
  });
28863
28893
  var drugMasterUomActions = {
28864
28894
  DRUG_UOM_READ: DRUG_UOM_READ,
@@ -29043,7 +29073,7 @@ var generateReadJson = {
29043
29073
  }
29044
29074
  };
29045
29075
 
29046
- var _extraReducers$b;
29076
+ var _extraReducers$d;
29047
29077
  var DRUG_FREQUENCY_READ = createAsyncThunk("drugMasterFREQUENCYSlice/drug_frequncy_list", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
29048
29078
  var _ref2,
29049
29079
  rejectWithValue,
@@ -29495,61 +29525,61 @@ var drugMasterFREQUENCYSlice = createSlice({
29495
29525
  drug_uom_freq_status: _objectSpread2({}, defaultState.List),
29496
29526
  drug_freq_read_single_yt: _objectSpread2({}, defaultState.List)
29497
29527
  },
29498
- extraReducers: (_extraReducers$b = {}, _defineProperty(_extraReducers$b, DRUG_FREQUENCY_READ.fulfilled, function (state, action) {
29528
+ extraReducers: (_extraReducers$d = {}, _defineProperty(_extraReducers$d, DRUG_FREQUENCY_READ.fulfilled, function (state, action) {
29499
29529
  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) {
29530
+ }), _defineProperty(_extraReducers$d, DRUG_FREQUENCY_READ.pending, function (state, action) {
29501
29531
  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) {
29532
+ }), _defineProperty(_extraReducers$d, DRUG_FREQUENCY_READ.rejected, function (state, action) {
29503
29533
  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) {
29534
+ }), _defineProperty(_extraReducers$d, DRUG_SCHEDULEBY_READ.fulfilled, function (state, action) {
29505
29535
  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) {
29536
+ }), _defineProperty(_extraReducers$d, DRUG_SCHEDULEBY_READ.pending, function (state, action) {
29507
29537
  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) {
29538
+ }), _defineProperty(_extraReducers$d, DRUG_SCHEDULEBY_READ.rejected, function (state, action) {
29509
29539
  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) {
29540
+ }), _defineProperty(_extraReducers$d, DRUG_FREQUENCY_UOM_READ.fulfilled, function (state, action) {
29511
29541
  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) {
29542
+ }), _defineProperty(_extraReducers$d, DRUG_FREQUENCY_UOM_READ.pending, function (state, action) {
29513
29543
  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) {
29544
+ }), _defineProperty(_extraReducers$d, DRUG_FREQUENCY_UOM_READ.rejected, function (state, action) {
29515
29545
  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) {
29546
+ }), _defineProperty(_extraReducers$d, DRUG_WEEKDAYS_READ.fulfilled, function (state, action) {
29517
29547
  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) {
29548
+ }), _defineProperty(_extraReducers$d, DRUG_WEEKDAYS_READ.pending, function (state, action) {
29519
29549
  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) {
29550
+ }), _defineProperty(_extraReducers$d, DRUG_WEEKDAYS_READ.rejected, function (state, action) {
29521
29551
  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) {
29552
+ }), _defineProperty(_extraReducers$d, DRUG_FIXEDDURATIONTYPE_READ.fulfilled, function (state, action) {
29523
29553
  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) {
29554
+ }), _defineProperty(_extraReducers$d, DRUG_FIXEDDURATIONTYPE_READ.pending, function (state, action) {
29525
29555
  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) {
29556
+ }), _defineProperty(_extraReducers$d, DRUG_FIXEDDURATIONTYPE_READ.rejected, function (state, action) {
29527
29557
  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) {
29558
+ }), _defineProperty(_extraReducers$d, DRUG_FREQUENCYTYPE_READ.fulfilled, function (state, action) {
29529
29559
  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) {
29560
+ }), _defineProperty(_extraReducers$d, DRUG_FREQUENCYTYPE_READ.pending, function (state, action) {
29531
29561
  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) {
29562
+ }), _defineProperty(_extraReducers$d, DRUG_FREQUENCYTYPE_READ.rejected, function (state, action) {
29533
29563
  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) {
29564
+ }), _defineProperty(_extraReducers$d, UOM_DRUG_FREQ_INSERT.fulfilled, function (state, action) {
29535
29565
  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) {
29566
+ }), _defineProperty(_extraReducers$d, UOM_DRUG_FREQ_INSERT.pending, function (state, action) {
29537
29567
  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) {
29568
+ }), _defineProperty(_extraReducers$d, UOM_DRUG_FREQ_INSERT.rejected, function (state, action) {
29539
29569
  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) {
29570
+ }), _defineProperty(_extraReducers$d, UOM_DRUG_FREQ_STATUS.fulfilled, function (state, action) {
29541
29571
  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) {
29572
+ }), _defineProperty(_extraReducers$d, UOM_DRUG_FREQ_STATUS.pending, function (state, action) {
29543
29573
  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) {
29574
+ }), _defineProperty(_extraReducers$d, UOM_DRUG_FREQ_STATUS.rejected, function (state, action) {
29545
29575
  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) {
29576
+ }), _defineProperty(_extraReducers$d, DRUG_FREQ_READ_SINGLE.fulfilled, function (state, action) {
29547
29577
  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) {
29578
+ }), _defineProperty(_extraReducers$d, DRUG_FREQ_READ_SINGLE.pending, function (state, action) {
29549
29579
  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) {
29580
+ }), _defineProperty(_extraReducers$d, DRUG_FREQ_READ_SINGLE.rejected, function (state, action) {
29551
29581
  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)
29582
+ }), _extraReducers$d)
29553
29583
  });
29554
29584
  var drugMasterFrequencyActions = {
29555
29585
  DRUG_FREQUENCY_READ: DRUG_FREQUENCY_READ,
@@ -30003,7 +30033,7 @@ var constructChildrenTabelData = function constructChildrenTabelData(data, paren
30003
30033
  return arr_;
30004
30034
  };
30005
30035
 
30006
- var _extraReducers$a;
30036
+ var _extraReducers$c;
30007
30037
  var fileds$2 = ["orderCategory", //"orderDrugType",
30008
30038
  //"orderDrugCatalog",
30009
30039
  //"commonUOM",
@@ -30675,79 +30705,79 @@ var orderSetMasterSlice = createSlice({
30675
30705
  order_set_upsert: _objectSpread2({}, defaultState.List),
30676
30706
  order_set_component_delete: _objectSpread2({}, defaultState.List)
30677
30707
  },
30678
- extraReducers: (_extraReducers$a = {}, _defineProperty(_extraReducers$a, DELETE_ORDER_SET_COMPONENT.fulfilled, function (state, action) {
30708
+ extraReducers: (_extraReducers$c = {}, _defineProperty(_extraReducers$c, DELETE_ORDER_SET_COMPONENT.fulfilled, function (state, action) {
30679
30709
  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) {
30710
+ }), _defineProperty(_extraReducers$c, DELETE_ORDER_SET_COMPONENT.pending, function (state, action) {
30681
30711
  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) {
30712
+ }), _defineProperty(_extraReducers$c, DELETE_ORDER_SET_COMPONENT.rejected, function (state, action) {
30683
30713
  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) {
30714
+ }), _defineProperty(_extraReducers$c, GET_ORDER_SET_LIST.fulfilled, function (state, action) {
30685
30715
  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) {
30716
+ }), _defineProperty(_extraReducers$c, GET_ORDER_SET_LIST.pending, function (state, action) {
30687
30717
  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) {
30718
+ }), _defineProperty(_extraReducers$c, GET_ORDER_SET_LIST.rejected, function (state, action) {
30689
30719
  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) {
30720
+ }), _defineProperty(_extraReducers$c, ORDER_SET_SINGLE_READ.fulfilled, function (state, action) {
30691
30721
  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) {
30722
+ }), _defineProperty(_extraReducers$c, ORDER_SET_SINGLE_READ.pending, function (state, action) {
30693
30723
  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) {
30724
+ }), _defineProperty(_extraReducers$c, ORDER_SET_SINGLE_READ.rejected, function (state, action) {
30695
30725
  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) {
30726
+ }), _defineProperty(_extraReducers$c, ORDER_SET_MASTER_STATUS_CHANGE.fulfilled, function (state, action) {
30697
30727
  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) {
30728
+ }), _defineProperty(_extraReducers$c, ORDER_SET_MASTER_STATUS_CHANGE.pending, function (state, action) {
30699
30729
  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) {
30730
+ }), _defineProperty(_extraReducers$c, ORDER_SET_MASTER_STATUS_CHANGE.rejected, function (state, action) {
30701
30731
  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) {
30732
+ }), _defineProperty(_extraReducers$c, ORDER_SET_MASTER_MASTER.fulfilled, function (state, action) {
30703
30733
  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) {
30734
+ }), _defineProperty(_extraReducers$c, ORDER_SET_MASTER_MASTER.pending, function (state, action) {
30705
30735
  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) {
30736
+ }), _defineProperty(_extraReducers$c, ORDER_SET_MASTER_MASTER.rejected, function (state, action) {
30707
30737
  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) {
30738
+ }), _defineProperty(_extraReducers$c, ORDER__MASTER.fulfilled, function (state, action) {
30709
30739
  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) {
30740
+ }), _defineProperty(_extraReducers$c, ORDER__MASTER.pending, function (state, action) {
30711
30741
  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) {
30742
+ }), _defineProperty(_extraReducers$c, ORDER__MASTER.rejected, function (state, action) {
30713
30743
  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) {
30744
+ }), _defineProperty(_extraReducers$c, DRUG__MASTER.fulfilled, function (state, action) {
30715
30745
  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) {
30746
+ }), _defineProperty(_extraReducers$c, DRUG__MASTER.pending, function (state, action) {
30717
30747
  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) {
30748
+ }), _defineProperty(_extraReducers$c, DRUG__MASTER.rejected, function (state, action) {
30719
30749
  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) {
30750
+ }), _defineProperty(_extraReducers$c, ORDER__CATALOG_MASTER.fulfilled, function (state, action) {
30721
30751
  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) {
30752
+ }), _defineProperty(_extraReducers$c, ORDER__CATALOG_MASTER.pending, function (state, action) {
30723
30753
  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) {
30754
+ }), _defineProperty(_extraReducers$c, ORDER__CATALOG_MASTER.rejected, function (state, action) {
30725
30755
  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) {
30756
+ }), _defineProperty(_extraReducers$c, DRUG__CATALOG_MASTER.fulfilled, function (state, action) {
30727
30757
  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) {
30758
+ }), _defineProperty(_extraReducers$c, DRUG__CATALOG_MASTER.pending, function (state, action) {
30729
30759
  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) {
30760
+ }), _defineProperty(_extraReducers$c, DRUG__CATALOG_MASTER.rejected, function (state, action) {
30731
30761
  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) {
30762
+ }), _defineProperty(_extraReducers$c, ORDER_CATEGORY_MASTER.fulfilled, function (state, action) {
30733
30763
  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) {
30764
+ }), _defineProperty(_extraReducers$c, ORDER_CATEGORY_MASTER.pending, function (state, action) {
30735
30765
  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) {
30766
+ }), _defineProperty(_extraReducers$c, ORDER_CATEGORY_MASTER.rejected, function (state, action) {
30737
30767
  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) {
30768
+ }), _defineProperty(_extraReducers$c, ORDER_CATEGORY_MASTER.fulfilled, function (state, action) {
30739
30769
  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) {
30770
+ }), _defineProperty(_extraReducers$c, ORDER_CATEGORY_MASTER.pending, function (state, action) {
30741
30771
  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) {
30772
+ }), _defineProperty(_extraReducers$c, ORDER_CATEGORY_MASTER.rejected, function (state, action) {
30743
30773
  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) {
30774
+ }), _defineProperty(_extraReducers$c, UPSERT_ORDER_SET.fulfilled, function (state, action) {
30745
30775
  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) {
30776
+ }), _defineProperty(_extraReducers$c, UPSERT_ORDER_SET.pending, function (state, action) {
30747
30777
  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) {
30778
+ }), _defineProperty(_extraReducers$c, UPSERT_ORDER_SET.rejected, function (state, action) {
30749
30779
  state.order_set_upsert.loading = false, state.order_set_upsert.error = true, state.order_set_upsert = action.payload;
30750
- }), _extraReducers$a)
30780
+ }), _extraReducers$c)
30751
30781
  });
30752
30782
  var orderSetMasterActions = {
30753
30783
  GET_ORDER_SET_LIST: GET_ORDER_SET_LIST,
@@ -31002,7 +31032,7 @@ var generateSingleReadJSON = function generateSingleReadJSON(data) {
31002
31032
  return obj;
31003
31033
  };
31004
31034
 
31005
- var _extraReducers$9;
31035
+ var _extraReducers$b;
31006
31036
  var fileds$1 = [//"facilityName",
31007
31037
  "speciality", "practitionerType", //"codeSet",
31008
31038
  "locationType"];
@@ -31572,61 +31602,61 @@ var orderSetApplicabilitySlice = createSlice({
31572
31602
  order_set_app_location: _objectSpread2({}, defaultState.List),
31573
31603
  order_set_applicability_upsert: _objectSpread2({}, defaultState.List)
31574
31604
  },
31575
- extraReducers: (_extraReducers$9 = {}, _defineProperty(_extraReducers$9, GET_ORDER_SET_APPLICABILITY_LIST.fulfilled, function (state, action) {
31605
+ extraReducers: (_extraReducers$b = {}, _defineProperty(_extraReducers$b, GET_ORDER_SET_APPLICABILITY_LIST.fulfilled, function (state, action) {
31576
31606
  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) {
31607
+ }), _defineProperty(_extraReducers$b, GET_ORDER_SET_APPLICABILITY_LIST.pending, function (state, action) {
31578
31608
  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) {
31609
+ }), _defineProperty(_extraReducers$b, GET_ORDER_SET_APPLICABILITY_LIST.rejected, function (state, action) {
31580
31610
  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) {
31611
+ }), _defineProperty(_extraReducers$b, GET_ORDER_SET_APPLICABILITY_SINGLE_READ.fulfilled, function (state, action) {
31582
31612
  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) {
31613
+ }), _defineProperty(_extraReducers$b, GET_ORDER_SET_APPLICABILITY_SINGLE_READ.pending, function (state, action) {
31584
31614
  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) {
31615
+ }), _defineProperty(_extraReducers$b, GET_ORDER_SET_APPLICABILITY_SINGLE_READ.rejected, function (state, action) {
31586
31616
  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) {
31617
+ }), _defineProperty(_extraReducers$b, ORDER_SET_APPLICABILITY_MASTER.fulfilled, function (state, action) {
31588
31618
  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) {
31619
+ }), _defineProperty(_extraReducers$b, ORDER_SET_APPLICABILITY_MASTER.pending, function (state, action) {
31590
31620
  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) {
31621
+ }), _defineProperty(_extraReducers$b, ORDER_SET_APPLICABILITY_MASTER.rejected, function (state, action) {
31592
31622
  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) {
31623
+ }), _defineProperty(_extraReducers$b, DELETE_ORDER_SET_APPLICABILITY.fulfilled, function (state, action) {
31594
31624
  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) {
31625
+ }), _defineProperty(_extraReducers$b, DELETE_ORDER_SET_APPLICABILITY.pending, function (state, action) {
31596
31626
  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) {
31627
+ }), _defineProperty(_extraReducers$b, DELETE_ORDER_SET_APPLICABILITY.rejected, function (state, action) {
31598
31628
  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) {
31629
+ }), _defineProperty(_extraReducers$b, ORDER_SET_APP_PRACTITIONER.fulfilled, function (state, action) {
31600
31630
  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) {
31631
+ }), _defineProperty(_extraReducers$b, ORDER_SET_APP_PRACTITIONER.pending, function (state, action) {
31602
31632
  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) {
31633
+ }), _defineProperty(_extraReducers$b, ORDER_SET_APP_PRACTITIONER.rejected, function (state, action) {
31604
31634
  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) {
31635
+ }), _defineProperty(_extraReducers$b, ORDER_SET_APP_DIAGNOSIS_GROUP.fulfilled, function (state, action) {
31606
31636
  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) {
31637
+ }), _defineProperty(_extraReducers$b, ORDER_SET_APP_DIAGNOSIS_GROUP.pending, function (state, action) {
31608
31638
  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) {
31639
+ }), _defineProperty(_extraReducers$b, ORDER_SET_APP_DIAGNOSIS_GROUP.rejected, function (state, action) {
31610
31640
  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) {
31641
+ }), _defineProperty(_extraReducers$b, ORDER_SET_APP_DIAGNOSIS_CODE.fulfilled, function (state, action) {
31612
31642
  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) {
31643
+ }), _defineProperty(_extraReducers$b, ORDER_SET_APP_DIAGNOSIS_CODE.pending, function (state, action) {
31614
31644
  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) {
31645
+ }), _defineProperty(_extraReducers$b, ORDER_SET_APP_DIAGNOSIS_CODE.rejected, function (state, action) {
31616
31646
  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) {
31647
+ }), _defineProperty(_extraReducers$b, ORDER_SET_APP_LOCATION.fulfilled, function (state, action) {
31618
31648
  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) {
31649
+ }), _defineProperty(_extraReducers$b, ORDER_SET_APP_LOCATION.pending, function (state, action) {
31620
31650
  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) {
31651
+ }), _defineProperty(_extraReducers$b, ORDER_SET_APP_LOCATION.rejected, function (state, action) {
31622
31652
  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) {
31653
+ }), _defineProperty(_extraReducers$b, ORDER_SET_APPLICABILITY_UPSERT.fulfilled, function (state, action) {
31624
31654
  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) {
31655
+ }), _defineProperty(_extraReducers$b, ORDER_SET_APPLICABILITY_UPSERT.pending, function (state, action) {
31626
31656
  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) {
31657
+ }), _defineProperty(_extraReducers$b, ORDER_SET_APPLICABILITY_UPSERT.rejected, function (state, action) {
31628
31658
  state.order_set_applicability_upsert.loading = false, state.order_set_applicability_upsert.error = true, state.order_set_applicability_upsert = action.payload;
31629
- }), _extraReducers$9)
31659
+ }), _extraReducers$b)
31630
31660
  });
31631
31661
  var orderSetApplicabilityActions = {
31632
31662
  GET_ORDER_SET_APPLICABILITY_LIST: GET_ORDER_SET_APPLICABILITY_LIST,
@@ -31730,7 +31760,7 @@ var masterQuery = {
31730
31760
  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
31761
  };
31732
31762
 
31733
- var _extraReducers$8;
31763
+ var _extraReducers$a;
31734
31764
  var fileds = ["allergyTypeIndicator", "conceptIdType", "extSystemSourceId"];
31735
31765
 
31736
31766
  var loopMasters$1 = function loopMasters() {
@@ -32024,31 +32054,31 @@ var allergenMasterSlice = createSlice({
32024
32054
  save_allergen_master: _objectSpread2({}, defaultState.Info),
32025
32055
  update_allergen_master_status: _objectSpread2({}, defaultState.Info)
32026
32056
  },
32027
- extraReducers: (_extraReducers$8 = {}, _defineProperty(_extraReducers$8, GET_ALLERGEN_MASTER.fulfilled, function (state, action) {
32057
+ extraReducers: (_extraReducers$a = {}, _defineProperty(_extraReducers$a, GET_ALLERGEN_MASTER.fulfilled, function (state, action) {
32028
32058
  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) {
32059
+ }), _defineProperty(_extraReducers$a, GET_ALLERGEN_MASTER.pending, function (state, action) {
32030
32060
  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) {
32061
+ }), _defineProperty(_extraReducers$a, GET_ALLERGEN_MASTER.rejected, function (state, action) {
32032
32062
  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) {
32063
+ }), _defineProperty(_extraReducers$a, ALLERGEN_MASTER_MASTER.fulfilled, function (state, action) {
32034
32064
  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) {
32065
+ }), _defineProperty(_extraReducers$a, ALLERGEN_MASTER_MASTER.pending, function (state, action) {
32036
32066
  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) {
32067
+ }), _defineProperty(_extraReducers$a, ALLERGEN_MASTER_MASTER.rejected, function (state, action) {
32038
32068
  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) {
32069
+ }), _defineProperty(_extraReducers$a, UPSERT_ALLERGEN_MASTER.fulfilled, function (state, action) {
32040
32070
  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) {
32071
+ }), _defineProperty(_extraReducers$a, UPSERT_ALLERGEN_MASTER.pending, function (state, action) {
32042
32072
  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) {
32073
+ }), _defineProperty(_extraReducers$a, UPSERT_ALLERGEN_MASTER.rejected, function (state, action) {
32044
32074
  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) {
32075
+ }), _defineProperty(_extraReducers$a, UPDATE_ALLERGEN_MASTER_STATUS.fulfilled, function (state, action) {
32046
32076
  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) {
32077
+ }), _defineProperty(_extraReducers$a, UPDATE_ALLERGEN_MASTER_STATUS.pending, function (state, action) {
32048
32078
  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) {
32079
+ }), _defineProperty(_extraReducers$a, UPDATE_ALLERGEN_MASTER_STATUS.rejected, function (state, action) {
32050
32080
  state.update_allergen_master_status.loading = false, state.update_allergen_master_status.error = true, state.update_allergen_master_status = action.payload;
32051
- }), _extraReducers$8)
32081
+ }), _extraReducers$a)
32052
32082
  });
32053
32083
  var allergenMasterActions = {
32054
32084
  GET_ALLERGEN_MASTER: GET_ALLERGEN_MASTER,
@@ -32058,6 +32088,1048 @@ var allergenMasterActions = {
32058
32088
  };
32059
32089
  var allergenMasterSlice$1 = allergenMasterSlice.reducer;
32060
32090
 
32091
+ var flexQuery = {
32092
+ 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 }"),
32093
+ 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 }"),
32094
+ 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 }"),
32095
+ flexAttrFullRead: function flexAttrFullRead(page, perpage, search) {
32096
+ return {
32097
+ db_name: dbName,
32098
+ entity: "CA_OrderAttribMaster",
32099
+ filter: "(like (CA_OrderAttribMaster.attribcode,'%".concat(search, "%',true)) && CA_OrderAttribMaster.activestatus==true"),
32100
+ limit: {
32101
+ offset: page,
32102
+ count: perpage
32103
+ },
32104
+ 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)})",
32105
+ sort: "CA_OrderAttribMaster.createddate desc"
32106
+ };
32107
+ },
32108
+ flexStatusChange: function flexStatusChange(list, key) {
32109
+ return [{
32110
+ db_name: dbName,
32111
+ entity: "CA_OrderAttribMaster",
32112
+ is_metadata: true,
32113
+ filter: {
32114
+ _key: "".concat(key)
32115
+ },
32116
+ metadataId: "04ecb73d-f048-44ce-8563-c9be015812dd",
32117
+ doc: {
32118
+ status: list
32119
+ }
32120
+ }];
32121
+ },
32122
+ flexAttrSingleRead: function flexAttrSingleRead(key) {
32123
+ return {
32124
+ db_name: dbName,
32125
+ entity: "CA_OrderAttribMaster",
32126
+ filter: "CA_OrderAttribMaster._key=='".concat(key, "' && CA_OrderAttribMaster.activestatus==true"),
32127
+ return_fields: "merge(CA_OrderAttribMaster,{attribtype:document(CA_OrderAttribMaster.attribtype)},{attribnumUOM:(document(CA_OrderAttribMaster.attribnumUOM))})"
32128
+ };
32129
+ },
32130
+ flexAttrSearch: function flexAttrSearch(search) {
32131
+ return {
32132
+ db_name: dbName,
32133
+ entity: "CA_OrderAttribMaster",
32134
+ filter: "(like (CA_OrderAttribMaster.attribcode,'%".concat(search, "%',true)) && CA_OrderAttribMaster.activestatus==true"),
32135
+ return_fields: "merge(CA_OrderAttribMaster,{attribtype:document(CA_OrderAttribMaster.attribtype).display},{attribnumUOM:to_array(document(CA_OrderAttribMaster.attribnumUOM).display)})"
32136
+ };
32137
+ },
32138
+ flexAttrInsert: function flexAttrInsert(list, key) {
32139
+ var _list$attributeType, _list$attributeType3, _list$attributeType5, _list$attributeType7;
32140
+
32141
+ var object = {};
32142
+ var filter = {};
32143
+
32144
+ if (key) {
32145
+ filter = {
32146
+ filter: {
32147
+ _key: key
32148
+ }
32149
+ };
32150
+ }
32151
+
32152
+ if ((list === null || list === void 0 ? void 0 : (_list$attributeType = list.attributeType) === null || _list$attributeType === void 0 ? void 0 : _list$attributeType.label) === "Numeric") {
32153
+ var _list$attributeType2, _list$numberMin, _list$numberMax, _list$numberUOM$value, _list$numberUOM;
32154
+
32155
+ object = {
32156
+ id: 1,
32157
+ attribcode: list === null || list === void 0 ? void 0 : list.attributeCode,
32158
+ attriblabel: list === null || list === void 0 ? void 0 : list.attributeLable,
32159
+ attribtype: list === null || list === void 0 ? void 0 : (_list$attributeType2 = list.attributeType) === null || _list$attributeType2 === void 0 ? void 0 : _list$attributeType2.value,
32160
+ attribsize: list === null || list === void 0 ? void 0 : list.attributeSize,
32161
+ attribnumMin: (_list$numberMin = list === null || list === void 0 ? void 0 : list.numberMin) !== null && _list$numberMin !== void 0 ? _list$numberMin : 0,
32162
+ attribnumMax: (_list$numberMax = list === null || list === void 0 ? void 0 : list.numberMax) !== null && _list$numberMax !== void 0 ? _list$numberMax : 0,
32163
+ 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 : "",
32164
+ status: true
32165
+ };
32166
+ }
32167
+
32168
+ if ((list === null || list === void 0 ? void 0 : (_list$attributeType3 = list.attributeType) === null || _list$attributeType3 === void 0 ? void 0 : _list$attributeType3.label) === "Text Box") {
32169
+ var _list$attributeType4;
32170
+
32171
+ object = {
32172
+ id: 1,
32173
+ attribcode: list === null || list === void 0 ? void 0 : list.attributeCode,
32174
+ attriblabel: list === null || list === void 0 ? void 0 : list.attributeLable,
32175
+ attribtype: list === null || list === void 0 ? void 0 : (_list$attributeType4 = list.attributeType) === null || _list$attributeType4 === void 0 ? void 0 : _list$attributeType4.value,
32176
+ attribsize: list === null || list === void 0 ? void 0 : list.attributeSize,
32177
+ status: true
32178
+ };
32179
+ }
32180
+
32181
+ if ((list === null || list === void 0 ? void 0 : (_list$attributeType5 = list.attributeType) === null || _list$attributeType5 === void 0 ? void 0 : _list$attributeType5.label) === "Boolean") {
32182
+ var _list$attributeType6;
32183
+
32184
+ object = {
32185
+ id: 1,
32186
+ attribcode: list === null || list === void 0 ? void 0 : list.attributeCode,
32187
+ attriblabel: list === null || list === void 0 ? void 0 : list.attributeLable,
32188
+ attribtype: list === null || list === void 0 ? void 0 : (_list$attributeType6 = list.attributeType) === null || _list$attributeType6 === void 0 ? void 0 : _list$attributeType6.value,
32189
+ AttribValidValues: list === null || list === void 0 ? void 0 : list["boolean"].map(function (val) {
32190
+ return {
32191
+ dispSeq: val === null || val === void 0 ? void 0 : val.seqNo,
32192
+ validCode: val === null || val === void 0 ? void 0 : val.validCode,
32193
+ validdisplayValue: val === null || val === void 0 ? void 0 : val.displayValidCode,
32194
+ Dfltflag: val === null || val === void 0 ? void 0 : val.active
32195
+ };
32196
+ }),
32197
+ status: true
32198
+ };
32199
+ }
32200
+
32201
+ if ((list === null || list === void 0 ? void 0 : (_list$attributeType7 = list.attributeType) === null || _list$attributeType7 === void 0 ? void 0 : _list$attributeType7.label) === "List") {
32202
+ var _list$attributeType8;
32203
+
32204
+ object = {
32205
+ id: 1,
32206
+ attribcode: list === null || list === void 0 ? void 0 : list.attributeCode,
32207
+ attriblabel: list === null || list === void 0 ? void 0 : list.attributeLable,
32208
+ attribtype: list === null || list === void 0 ? void 0 : (_list$attributeType8 = list.attributeType) === null || _list$attributeType8 === void 0 ? void 0 : _list$attributeType8.value,
32209
+ AttribValidValues: list === null || list === void 0 ? void 0 : list.forText.map(function (val) {
32210
+ return {
32211
+ dispSeq: val === null || val === void 0 ? void 0 : val.seqNo,
32212
+ validCode: val === null || val === void 0 ? void 0 : val.validCode,
32213
+ validdisplayValue: val === null || val === void 0 ? void 0 : val.displayValidCode,
32214
+ Dfltflag: val === null || val === void 0 ? void 0 : val.active
32215
+ };
32216
+ }),
32217
+ status: true
32218
+ };
32219
+ }
32220
+
32221
+ return [_objectSpread2(_objectSpread2({
32222
+ db_name: dbName,
32223
+ entity: "CA_OrderAttribMaster",
32224
+ is_metadata: true,
32225
+ metadataId: "04ecb73d-f048-44ce-8563-c9be015812dd"
32226
+ }, filter), {}, {
32227
+ doc: _objectSpread2({}, object)
32228
+ })];
32229
+ }
32230
+ };
32231
+
32232
+ var _extraReducers$9;
32233
+ var ATTRIBUTE_TYPE_DROPDOWN = createAsyncThunk("flexAttributeApiSlice/attriuteTypeDropDown", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
32234
+ var _ref2,
32235
+ rejectWithValue,
32236
+ data,
32237
+ arr,
32238
+ _args = arguments;
32239
+
32240
+ return regeneratorRuntime.wrap(function _callee$(_context) {
32241
+ while (1) {
32242
+ switch (_context.prev = _context.next) {
32243
+ case 0:
32244
+ _ref2 = _args.length > 1 ? _args[1] : undefined, rejectWithValue = _ref2.rejectWithValue;
32245
+ _context.prev = 2;
32246
+ _context.next = 5;
32247
+ return fetchData({
32248
+ body: flexQuery.attributeTypeDropDown
32249
+ }, __readDocumentUrl__);
32250
+
32251
+ case 5:
32252
+ data = _context.sent;
32253
+ arr = [];
32254
+ data && data.result.map(function (val) {
32255
+ arr.push({
32256
+ value: val._id,
32257
+ label: val.display
32258
+ });
32259
+ });
32260
+ return _context.abrupt("return", _objectSpread2(_objectSpread2({}, defaultState.List), {}, {
32261
+ data: arr
32262
+ }));
32263
+
32264
+ case 11:
32265
+ _context.prev = 11;
32266
+ _context.t0 = _context["catch"](2);
32267
+ return _context.abrupt("return", rejectWithValue(_objectSpread2(_objectSpread2({}, defaultReject), {}, {
32268
+ message: _context.t0.message
32269
+ })));
32270
+
32271
+ case 14:
32272
+ case "end":
32273
+ return _context.stop();
32274
+ }
32275
+ }
32276
+ }, _callee, null, [[2, 11]]);
32277
+ })));
32278
+ var UOM_NUM_DROPDOWN = createAsyncThunk("flexAttributeApiSlice/numUOMDropDown", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2() {
32279
+ var _ref4,
32280
+ rejectWithValue,
32281
+ data,
32282
+ arr,
32283
+ _args2 = arguments;
32284
+
32285
+ return regeneratorRuntime.wrap(function _callee2$(_context2) {
32286
+ while (1) {
32287
+ switch (_context2.prev = _context2.next) {
32288
+ case 0:
32289
+ _ref4 = _args2.length > 1 ? _args2[1] : undefined, rejectWithValue = _ref4.rejectWithValue;
32290
+ _context2.prev = 2;
32291
+ _context2.next = 5;
32292
+ return fetchData({
32293
+ body: flexQuery.numUomDropDown
32294
+ }, __readDocumentUrl__);
32295
+
32296
+ case 5:
32297
+ data = _context2.sent;
32298
+ arr = [];
32299
+ data && data.result.map(function (val) {
32300
+ arr.push({
32301
+ value: val._id,
32302
+ label: val.display
32303
+ });
32304
+ });
32305
+ return _context2.abrupt("return", _objectSpread2(_objectSpread2({}, defaultState.List), {}, {
32306
+ data: arr
32307
+ }));
32308
+
32309
+ case 11:
32310
+ _context2.prev = 11;
32311
+ _context2.t0 = _context2["catch"](2);
32312
+ return _context2.abrupt("return", rejectWithValue(_objectSpread2(_objectSpread2({}, defaultReject), {}, {
32313
+ message: _context2.t0.message
32314
+ })));
32315
+
32316
+ case 14:
32317
+ case "end":
32318
+ return _context2.stop();
32319
+ }
32320
+ }
32321
+ }, _callee2, null, [[2, 11]]);
32322
+ })));
32323
+ var FLEX_ATTRIBUTE_READ = createAsyncThunk("flexAttributeApiSlice/flexFullRead", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee3() {
32324
+ var payload,
32325
+ _ref6,
32326
+ rejectWithValue,
32327
+ page,
32328
+ perpage,
32329
+ search,
32330
+ data,
32331
+ _args3 = arguments;
32332
+
32333
+ return regeneratorRuntime.wrap(function _callee3$(_context3) {
32334
+ while (1) {
32335
+ switch (_context3.prev = _context3.next) {
32336
+ case 0:
32337
+ payload = _args3.length > 0 && _args3[0] !== undefined ? _args3[0] : {};
32338
+ _ref6 = _args3.length > 1 ? _args3[1] : undefined, rejectWithValue = _ref6.rejectWithValue;
32339
+ _context3.prev = 2;
32340
+ page = payload.page, perpage = payload.perpage, search = payload.search;
32341
+ _context3.next = 6;
32342
+ return fetchData({
32343
+ body: JSON.stringify(flexQuery.flexAttrFullRead(page, perpage, search))
32344
+ }, __readDocumentUrl__);
32345
+
32346
+ case 6:
32347
+ data = _context3.sent;
32348
+ return _context3.abrupt("return", _objectSpread2(_objectSpread2({}, defaultState.List), {}, {
32349
+ data: data
32350
+ }));
32351
+
32352
+ case 10:
32353
+ _context3.prev = 10;
32354
+ _context3.t0 = _context3["catch"](2);
32355
+ return _context3.abrupt("return", rejectWithValue(_objectSpread2(_objectSpread2({}, defaultReject), {}, {
32356
+ message: _context3.t0.message
32357
+ })));
32358
+
32359
+ case 13:
32360
+ case "end":
32361
+ return _context3.stop();
32362
+ }
32363
+ }
32364
+ }, _callee3, null, [[2, 10]]);
32365
+ })));
32366
+ var FLEX_ATTRIBUTE_SINGLE_READ = createAsyncThunk("flexAttributeApiSlice/flexSingleRead", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee4() {
32367
+ var payload,
32368
+ _ref8,
32369
+ rejectWithValue,
32370
+ key,
32371
+ data,
32372
+ _args4 = arguments;
32373
+
32374
+ return regeneratorRuntime.wrap(function _callee4$(_context4) {
32375
+ while (1) {
32376
+ switch (_context4.prev = _context4.next) {
32377
+ case 0:
32378
+ payload = _args4.length > 0 && _args4[0] !== undefined ? _args4[0] : {};
32379
+ _ref8 = _args4.length > 1 ? _args4[1] : undefined, rejectWithValue = _ref8.rejectWithValue;
32380
+ _context4.prev = 2;
32381
+ key = payload.key;
32382
+ _context4.next = 6;
32383
+ return fetchData({
32384
+ body: JSON.stringify(flexQuery.flexAttrSingleRead(key))
32385
+ }, __readDocumentUrl__);
32386
+
32387
+ case 6:
32388
+ data = _context4.sent;
32389
+ return _context4.abrupt("return", _objectSpread2(_objectSpread2({}, defaultState.List), {}, {
32390
+ data: data.result
32391
+ }));
32392
+
32393
+ case 10:
32394
+ _context4.prev = 10;
32395
+ _context4.t0 = _context4["catch"](2);
32396
+ return _context4.abrupt("return", rejectWithValue(_objectSpread2(_objectSpread2({}, defaultReject), {}, {
32397
+ message: _context4.t0.message
32398
+ })));
32399
+
32400
+ case 13:
32401
+ case "end":
32402
+ return _context4.stop();
32403
+ }
32404
+ }
32405
+ }, _callee4, null, [[2, 10]]);
32406
+ })));
32407
+ var FLEX_ATTRIBUTE_SEARCH = createAsyncThunk("flexAttributeApiSlice/flexSearch", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee5() {
32408
+ var payload,
32409
+ _ref10,
32410
+ rejectWithValue,
32411
+ search,
32412
+ data,
32413
+ _args5 = arguments;
32414
+
32415
+ return regeneratorRuntime.wrap(function _callee5$(_context5) {
32416
+ while (1) {
32417
+ switch (_context5.prev = _context5.next) {
32418
+ case 0:
32419
+ payload = _args5.length > 0 && _args5[0] !== undefined ? _args5[0] : {};
32420
+ _ref10 = _args5.length > 1 ? _args5[1] : undefined, rejectWithValue = _ref10.rejectWithValue;
32421
+ _context5.prev = 2;
32422
+ search = payload.search;
32423
+ _context5.next = 6;
32424
+ return fetchData({
32425
+ body: JSON.stringify(flexQuery.flexAttrSearch(search))
32426
+ }, __readDocumentUrl__);
32427
+
32428
+ case 6:
32429
+ data = _context5.sent;
32430
+ return _context5.abrupt("return", _objectSpread2(_objectSpread2({}, defaultState.List), {}, {
32431
+ data: data.result
32432
+ }));
32433
+
32434
+ case 10:
32435
+ _context5.prev = 10;
32436
+ _context5.t0 = _context5["catch"](2);
32437
+ return _context5.abrupt("return", rejectWithValue(_objectSpread2(_objectSpread2({}, defaultReject), {}, {
32438
+ message: _context5.t0.message
32439
+ })));
32440
+
32441
+ case 13:
32442
+ case "end":
32443
+ return _context5.stop();
32444
+ }
32445
+ }
32446
+ }, _callee5, null, [[2, 10]]);
32447
+ })));
32448
+ var FLEX_ATTRIBUTE_INSERT = createAsyncThunk("flexAttributeApiSlice/flexInsert", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee6() {
32449
+ var payload,
32450
+ _ref12,
32451
+ rejectWithValue,
32452
+ list,
32453
+ key,
32454
+ data,
32455
+ _args6 = arguments;
32456
+
32457
+ return regeneratorRuntime.wrap(function _callee6$(_context6) {
32458
+ while (1) {
32459
+ switch (_context6.prev = _context6.next) {
32460
+ case 0:
32461
+ payload = _args6.length > 0 && _args6[0] !== undefined ? _args6[0] : {};
32462
+ _ref12 = _args6.length > 1 ? _args6[1] : undefined, rejectWithValue = _ref12.rejectWithValue;
32463
+ _context6.prev = 2;
32464
+ list = payload.list, key = payload.key;
32465
+ _context6.next = 6;
32466
+ return fetchData({
32467
+ body: JSON.stringify(flexQuery.flexAttrInsert(list, key))
32468
+ }, __uspsertUrl__);
32469
+
32470
+ case 6:
32471
+ data = _context6.sent;
32472
+ return _context6.abrupt("return", _objectSpread2(_objectSpread2({}, defaultState.List), {}, {
32473
+ data: data
32474
+ }));
32475
+
32476
+ case 10:
32477
+ _context6.prev = 10;
32478
+ _context6.t0 = _context6["catch"](2);
32479
+ return _context6.abrupt("return", rejectWithValue(_objectSpread2(_objectSpread2({}, defaultReject), {}, {
32480
+ message: _context6.t0.message
32481
+ })));
32482
+
32483
+ case 13:
32484
+ case "end":
32485
+ return _context6.stop();
32486
+ }
32487
+ }
32488
+ }, _callee6, null, [[2, 10]]);
32489
+ })));
32490
+ var FLEX_ATTRIBUTE_STATUS = createAsyncThunk("flexAttributeApiSlice/flexStatus", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee7() {
32491
+ var payload,
32492
+ _ref14,
32493
+ rejectWithValue,
32494
+ list,
32495
+ key,
32496
+ data,
32497
+ _args7 = arguments;
32498
+
32499
+ return regeneratorRuntime.wrap(function _callee7$(_context7) {
32500
+ while (1) {
32501
+ switch (_context7.prev = _context7.next) {
32502
+ case 0:
32503
+ payload = _args7.length > 0 && _args7[0] !== undefined ? _args7[0] : {};
32504
+ _ref14 = _args7.length > 1 ? _args7[1] : undefined, rejectWithValue = _ref14.rejectWithValue;
32505
+ _context7.prev = 2;
32506
+ list = payload.list, key = payload.key;
32507
+ _context7.next = 6;
32508
+ return fetchData({
32509
+ body: JSON.stringify(flexQuery.flexStatusChange(list, key))
32510
+ }, __uspsertUrl__);
32511
+
32512
+ case 6:
32513
+ data = _context7.sent;
32514
+ return _context7.abrupt("return", _objectSpread2(_objectSpread2({}, defaultState.List), {}, {
32515
+ data: data
32516
+ }));
32517
+
32518
+ case 10:
32519
+ _context7.prev = 10;
32520
+ _context7.t0 = _context7["catch"](2);
32521
+ return _context7.abrupt("return", rejectWithValue(_objectSpread2(_objectSpread2({}, defaultReject), {}, {
32522
+ message: _context7.t0.message
32523
+ })));
32524
+
32525
+ case 13:
32526
+ case "end":
32527
+ return _context7.stop();
32528
+ }
32529
+ }
32530
+ }, _callee7, null, [[2, 10]]);
32531
+ })));
32532
+ var flexAttributeSlice = createSlice({
32533
+ name: "flexAttributeApiSlice",
32534
+ initialState: {
32535
+ attributeType_DropDown: _objectSpread2({}, defaultState.List),
32536
+ numUOM_DropDown: _objectSpread2({}, defaultState.List),
32537
+ flexFull_Read: _objectSpread2({}, defaultState.List),
32538
+ flex_Insert: _objectSpread2({}, defaultState.List),
32539
+ flex_single_read: _objectSpread2({}, defaultState.List),
32540
+ flex_status_change: _objectSpread2({}, defaultState.List),
32541
+ flex_search: _objectSpread2({}, defaultState.List)
32542
+ },
32543
+ extraReducers: (_extraReducers$9 = {}, _defineProperty(_extraReducers$9, ATTRIBUTE_TYPE_DROPDOWN.fulfilled, function (state, action) {
32544
+ state.attributeType_DropDown.loading = false, state.attributeType_DropDown.error = false, state.attributeType_DropDown = action.payload;
32545
+ }), _defineProperty(_extraReducers$9, ATTRIBUTE_TYPE_DROPDOWN.pending, function (state, action) {
32546
+ state.attributeType_DropDown.loading = true, state.attributeType_DropDown.error = false, state.attributeType_DropDown.loading = true;
32547
+ }), _defineProperty(_extraReducers$9, ATTRIBUTE_TYPE_DROPDOWN.rejected, function (state, action) {
32548
+ state.attributeType_DropDown.loading = false, state.attributeType_DropDown.error = true, state.attributeType_DropDown = action.payload;
32549
+ }), _defineProperty(_extraReducers$9, UOM_NUM_DROPDOWN.fulfilled, function (state, action) {
32550
+ state.numUOM_DropDown.loading = false, state.numUOM_DropDown.error = false, state.numUOM_DropDown = action.payload;
32551
+ }), _defineProperty(_extraReducers$9, UOM_NUM_DROPDOWN.pending, function (state, action) {
32552
+ state.numUOM_DropDown.loading = true, state.numUOM_DropDown.error = false, state.numUOM_DropDown.loading = true;
32553
+ }), _defineProperty(_extraReducers$9, UOM_NUM_DROPDOWN.rejected, function (state, action) {
32554
+ state.numUOM_DropDown.loading = false, state.numUOM_DropDown.error = true, state.numUOM_DropDown = action.payload;
32555
+ }), _defineProperty(_extraReducers$9, FLEX_ATTRIBUTE_READ.fulfilled, function (state, action) {
32556
+ state.flexFull_Read.loading = false, state.flexFull_Read.error = false, state.flexFull_Read = action.payload;
32557
+ }), _defineProperty(_extraReducers$9, FLEX_ATTRIBUTE_READ.pending, function (state, action) {
32558
+ state.flexFull_Read.loading = true, state.flexFull_Read.error = false, state.flexFull_Read.loading = true;
32559
+ }), _defineProperty(_extraReducers$9, FLEX_ATTRIBUTE_READ.rejected, function (state, action) {
32560
+ state.flexFull_Read.loading = false, state.flexFull_Read.error = true, state.flexFull_Read = action.payload;
32561
+ }), _defineProperty(_extraReducers$9, FLEX_ATTRIBUTE_INSERT.fulfilled, function (state, action) {
32562
+ state.flex_Insert.loading = false, state.flex_Insert.error = false, state.flex_Insert = action.payload;
32563
+ }), _defineProperty(_extraReducers$9, FLEX_ATTRIBUTE_INSERT.pending, function (state, action) {
32564
+ state.flex_Insert.loading = true, state.flex_Insert.error = false, state.flex_Insert.loading = true;
32565
+ }), _defineProperty(_extraReducers$9, FLEX_ATTRIBUTE_INSERT.rejected, function (state, action) {
32566
+ state.flex_Insert.loading = false, state.flex_Insert.error = true, state.flex_Insert = action.payload;
32567
+ }), _defineProperty(_extraReducers$9, FLEX_ATTRIBUTE_SINGLE_READ.fulfilled, function (state, action) {
32568
+ state.flex_single_read.loading = false, state.flex_single_read.error = false, state.flex_single_read = action.payload;
32569
+ }), _defineProperty(_extraReducers$9, FLEX_ATTRIBUTE_SINGLE_READ.pending, function (state, action) {
32570
+ state.flex_single_read.loading = true, state.flex_single_read.error = false, state.flex_single_read.loading = true;
32571
+ }), _defineProperty(_extraReducers$9, FLEX_ATTRIBUTE_SINGLE_READ.rejected, function (state, action) {
32572
+ state.flex_single_read.loading = false, state.flex_single_read.error = true, state.flex_single_read = action.payload;
32573
+ }), _defineProperty(_extraReducers$9, FLEX_ATTRIBUTE_STATUS.fulfilled, function (state, action) {
32574
+ state.flex_status_change.loading = false, state.flex_status_change.error = false, state.flex_status_change = action.payload;
32575
+ }), _defineProperty(_extraReducers$9, FLEX_ATTRIBUTE_STATUS.pending, function (state, action) {
32576
+ state.flex_status_change.loading = true, state.flex_status_change.error = false, state.flex_status_change.loading = true;
32577
+ }), _defineProperty(_extraReducers$9, FLEX_ATTRIBUTE_STATUS.rejected, function (state, action) {
32578
+ state.flex_status_change.loading = false, state.flex_status_change.error = true, state.flex_status_change = action.payload;
32579
+ }), _defineProperty(_extraReducers$9, FLEX_ATTRIBUTE_SEARCH.fulfilled, function (state, action) {
32580
+ state.flex_search.loading = false, state.flex_search.error = false, state.flex_search = action.payload;
32581
+ }), _defineProperty(_extraReducers$9, FLEX_ATTRIBUTE_SEARCH.pending, function (state, action) {
32582
+ state.flex_search.loading = true, state.flex_search.error = false, state.flex_search.loading = true;
32583
+ }), _defineProperty(_extraReducers$9, FLEX_ATTRIBUTE_SEARCH.rejected, function (state, action) {
32584
+ state.flex_search.loading = false, state.flex_search.error = true, state.flex_search = action.payload;
32585
+ }), _extraReducers$9)
32586
+ });
32587
+ var flexAttributeActions = {
32588
+ ATTRIBUTE_TYPE_DROPDOWN: ATTRIBUTE_TYPE_DROPDOWN,
32589
+ UOM_NUM_DROPDOWN: UOM_NUM_DROPDOWN,
32590
+ FLEX_ATTRIBUTE_READ: FLEX_ATTRIBUTE_READ,
32591
+ FLEX_ATTRIBUTE_INSERT: FLEX_ATTRIBUTE_INSERT,
32592
+ FLEX_ATTRIBUTE_SINGLE_READ: FLEX_ATTRIBUTE_SINGLE_READ,
32593
+ FLEX_ATTRIBUTE_STATUS: FLEX_ATTRIBUTE_STATUS
32594
+ };
32595
+ var flexAttributeSlice$1 = flexAttributeSlice.reducer;
32596
+
32597
+ var flexMaster = _objectSpread2({}, flexAttributeActions);
32598
+
32599
+ var flexCriteriaQuery = {
32600
+ flexCriteriaDropDown: function flexCriteriaDropDown(list, id) {
32601
+ return {
32602
+ db_name: dbName,
32603
+ entity: "CA_OrderAttribMaster",
32604
+ filter: "CA_OrderAttribMaster.attribcode=='".concat(list, "' && CA_OrderAttribMaster.attribtype=='").concat(id, "' && CA_OrderAttribMaster.status==true && CA_OrderAttribMaster.activestatus==true"),
32605
+ 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})"
32606
+ };
32607
+ },
32608
+ flexCriteriaCodeDropDown: function flexCriteriaCodeDropDown() {
32609
+ return {
32610
+ db_name: dbName,
32611
+ entity: "CA_OrderAttribMaster",
32612
+ filter: "CA_OrderAttribMaster.status == true && CA_OrderAttribMaster.activestatus == true",
32613
+ return_fields: "keep(CA_OrderAttribMaster,'_key','_id','attribcode','attriblabel','status','attribtype')",
32614
+ sort: "CA_OrderAttribMaster.attriblabel"
32615
+ };
32616
+ },
32617
+ flexCriteriaFullRead: function flexCriteriaFullRead(page, perpage, search) {
32618
+ return {
32619
+ db_name: "primarycare",
32620
+ entity: "CA_FlexAttribApplicability",
32621
+ filter: "(LIKE (CA_FlexAttribApplicability.winlabelName,'%".concat(search, "%', true)) && CA_FlexAttribApplicability.activestatus == true"),
32622
+ limit: {
32623
+ offset: page,
32624
+ count: perpage
32625
+ },
32626
+ 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)})}) )})",
32627
+ sort: "CA_FlexAttribApplicability.createddate desc"
32628
+ };
32629
+ },
32630
+ flexCriteriaSingleRead: function flexCriteriaSingleRead(key) {
32631
+ return {
32632
+ db_name: dbName,
32633
+ entity: "CA_FlexAttribApplicability",
32634
+ filter: "CA_FlexAttribApplicability._key == '".concat(key, "' && CA_FlexAttribApplicability.activestatus == true"),
32635
+ return_fields: "merge(CA_FlexAttribApplicability,{AttribComponents:(for att in CA_FlexAttribApplicability.AttribComponents return merge(att,{attribCode:document((CA_FlexAttribApplicability.AttribComponents)[*].attribCode)}))})"
32636
+ };
32637
+ },
32638
+ flexCriteriaInsert: function flexCriteriaInsert(list) {
32639
+ var _list$attributeLableN, _list$attributeCompon;
32640
+
32641
+ return [{
32642
+ db_name: dbName,
32643
+ entity: "CA_FlexAttribApplicability",
32644
+ is_metadata: true,
32645
+ metadataId: "04ecb73d-f048-44ce-8563-c9be015812dd",
32646
+ doc: {
32647
+ id: 1,
32648
+ attribusageCriteria: [list === null || list === void 0 ? void 0 : list.attributeLableName],
32649
+ winlabelName: (_list$attributeLableN = list === null || list === void 0 ? void 0 : list.attributeLableName) !== null && _list$attributeLableN !== void 0 ? _list$attributeLableN : "",
32650
+ AttribComponents: list === null || list === void 0 ? void 0 : (_list$attributeCompon = list.attributeComponents) === null || _list$attributeCompon === void 0 ? void 0 : _list$attributeCompon.map(function (val) {
32651
+ var _val$code, _val$defaultValue$lab, _val$defaultValue;
32652
+
32653
+ return {
32654
+ attribSeq: val === null || val === void 0 ? void 0 : val.seqNo,
32655
+ attribCode: val === null || val === void 0 ? void 0 : (_val$code = val.code) === null || _val$code === void 0 ? void 0 : _val$code.value,
32656
+ 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 : ""
32657
+ };
32658
+ }),
32659
+ status: true
32660
+ }
32661
+ }];
32662
+ },
32663
+ flexCriteriaStatus: function flexCriteriaStatus(status, key) {
32664
+ return [{
32665
+ db_name: dbName,
32666
+ entity: "CA_FlexAttribApplicability",
32667
+ filter: {
32668
+ _key: key
32669
+ },
32670
+ is_metadata: true,
32671
+ metadataId: "04ecb73d-f048-44ce-8563-c9be015812dd",
32672
+ doc: {
32673
+ status: status
32674
+ }
32675
+ }];
32676
+ },
32677
+ flexCriteriaEdit: function flexCriteriaEdit(list) {
32678
+ var _list$attributeLableN2, _list$status;
32679
+
32680
+ return [{
32681
+ db_name: "primarycare",
32682
+ entity: "CA_FlexAttribApplicability",
32683
+ filter: {
32684
+ _key: list === null || list === void 0 ? void 0 : list.key
32685
+ },
32686
+ is_metadata: true,
32687
+ metadataId: "04ecb73d-f048-44ce-8563-c9be015812dd",
32688
+ doc: {
32689
+ winlabelName: (_list$attributeLableN2 = list === null || list === void 0 ? void 0 : list.attributeLableName) !== null && _list$attributeLableN2 !== void 0 ? _list$attributeLableN2 : "",
32690
+ // AttribComponents: [
32691
+ // {
32692
+ // attribCode: "string",
32693
+ // attribdefaultVal: "string",
32694
+ // },
32695
+ // ],
32696
+ AttribComponents: list === null || list === void 0 ? void 0 : list.attributeComponents.map(function (val) {
32697
+ var _val$code2, _val$defaultValue$lab2, _val$defaultValue2;
32698
+
32699
+ return {
32700
+ attribCode: val === null || val === void 0 ? void 0 : (_val$code2 = val.code) === null || _val$code2 === void 0 ? void 0 : _val$code2.value,
32701
+ 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 : ""
32702
+ };
32703
+ }),
32704
+ status: (_list$status = list === null || list === void 0 ? void 0 : list.status) !== null && _list$status !== void 0 ? _list$status : true
32705
+ }
32706
+ }];
32707
+ },
32708
+ flexCriteriaSearch: function flexCriteriaSearch(search) {
32709
+ return {
32710
+ db_name: dbName,
32711
+ entity: "CA_FlexAttribApplicability",
32712
+ filter: "(LIKE (CA_FlexAttribApplicability.winlabelName,'%".concat(search, "%', true)) && CA_FlexAttribApplicability.activestatus == true"),
32713
+ return_fields: "merge(CA_FlexAttribApplicability,{AttribComponents:(for att in CA_FlexAttribApplicability.AttribComponents return merge(att,{attribCode:document((CA_FlexAttribApplicability.AttribComponents)[*].attribCode)}))})"
32714
+ };
32715
+ }
32716
+ };
32717
+
32718
+ var _extraReducers$8;
32719
+ var FLEX_CRITERIA_DEFAULT_DROPDOWN = createAsyncThunk("flexCriteriaSlice/flexCriteriaDropDown", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
32720
+ var payload,
32721
+ _ref2,
32722
+ rejectWithValue,
32723
+ list,
32724
+ id,
32725
+ data,
32726
+ _args = arguments;
32727
+
32728
+ return regeneratorRuntime.wrap(function _callee$(_context) {
32729
+ while (1) {
32730
+ switch (_context.prev = _context.next) {
32731
+ case 0:
32732
+ payload = _args.length > 0 && _args[0] !== undefined ? _args[0] : {};
32733
+ _ref2 = _args.length > 1 ? _args[1] : undefined, rejectWithValue = _ref2.rejectWithValue;
32734
+ _context.prev = 2;
32735
+ list = payload.list, id = payload.id;
32736
+ _context.next = 6;
32737
+ return fetchData({
32738
+ body: JSON.stringify(flexCriteriaQuery.flexCriteriaDropDown(list, id))
32739
+ }, __readDocumentUrl__);
32740
+
32741
+ case 6:
32742
+ data = _context.sent;
32743
+ return _context.abrupt("return", _objectSpread2(_objectSpread2({}, defaultState.List), {}, {
32744
+ data: data === null || data === void 0 ? void 0 : data.result
32745
+ }));
32746
+
32747
+ case 10:
32748
+ _context.prev = 10;
32749
+ _context.t0 = _context["catch"](2);
32750
+ return _context.abrupt("return", rejectWithValue(_objectSpread2(_objectSpread2({}, defaultReject), {}, {
32751
+ message: _context.t0.message
32752
+ })));
32753
+
32754
+ case 13:
32755
+ case "end":
32756
+ return _context.stop();
32757
+ }
32758
+ }
32759
+ }, _callee, null, [[2, 10]]);
32760
+ })));
32761
+ var FLEX_CRITERIA_CODE = createAsyncThunk("flexCriteriaSlice/flexCriteriaCodeDropDown", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2() {
32762
+ var _ref4,
32763
+ rejectWithValue,
32764
+ data,
32765
+ arr,
32766
+ _args2 = arguments;
32767
+
32768
+ return regeneratorRuntime.wrap(function _callee2$(_context2) {
32769
+ while (1) {
32770
+ switch (_context2.prev = _context2.next) {
32771
+ case 0:
32772
+ _ref4 = _args2.length > 1 ? _args2[1] : undefined, rejectWithValue = _ref4.rejectWithValue;
32773
+ _context2.prev = 2;
32774
+ _context2.next = 5;
32775
+ return fetchData({
32776
+ body: JSON.stringify(flexCriteriaQuery.flexCriteriaCodeDropDown())
32777
+ }, __readDocumentUrl__);
32778
+
32779
+ case 5:
32780
+ data = _context2.sent;
32781
+ arr = [];
32782
+ data && data.result.map(function (val) {
32783
+ arr.push({
32784
+ label: (val === null || val === void 0 ? void 0 : val.attriblabel) + " (" + (val === null || val === void 0 ? void 0 : val.attribcode) + ")",
32785
+ value: val === null || val === void 0 ? void 0 : val._id,
32786
+ type: val === null || val === void 0 ? void 0 : val.attribtype,
32787
+ code: val === null || val === void 0 ? void 0 : val.attribcode
32788
+ });
32789
+ });
32790
+ return _context2.abrupt("return", _objectSpread2(_objectSpread2({}, defaultState.List), {}, {
32791
+ data: arr
32792
+ }));
32793
+
32794
+ case 11:
32795
+ _context2.prev = 11;
32796
+ _context2.t0 = _context2["catch"](2);
32797
+ return _context2.abrupt("return", rejectWithValue(_objectSpread2(_objectSpread2({}, defaultReject), {}, {
32798
+ message: _context2.t0.message
32799
+ })));
32800
+
32801
+ case 14:
32802
+ case "end":
32803
+ return _context2.stop();
32804
+ }
32805
+ }
32806
+ }, _callee2, null, [[2, 11]]);
32807
+ })));
32808
+ var FLEX_CRITERIA_FULL_READ = createAsyncThunk("flexCriteriaSlice/flexCriteriaFullRead", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee3() {
32809
+ var payload,
32810
+ _ref6,
32811
+ rejectWithValue,
32812
+ page,
32813
+ perpage,
32814
+ search,
32815
+ data,
32816
+ _args3 = arguments;
32817
+
32818
+ return regeneratorRuntime.wrap(function _callee3$(_context3) {
32819
+ while (1) {
32820
+ switch (_context3.prev = _context3.next) {
32821
+ case 0:
32822
+ payload = _args3.length > 0 && _args3[0] !== undefined ? _args3[0] : {};
32823
+ _ref6 = _args3.length > 1 ? _args3[1] : undefined, rejectWithValue = _ref6.rejectWithValue;
32824
+ _context3.prev = 2;
32825
+ page = payload.page, perpage = payload.perpage, search = payload.search;
32826
+ _context3.next = 6;
32827
+ return fetchData({
32828
+ body: JSON.stringify(flexCriteriaQuery.flexCriteriaFullRead(page, perpage, search))
32829
+ }, __readDocumentUrl__);
32830
+
32831
+ case 6:
32832
+ data = _context3.sent;
32833
+ return _context3.abrupt("return", _objectSpread2(_objectSpread2({}, defaultState.List), {}, {
32834
+ data: data === null || data === void 0 ? void 0 : data.result
32835
+ }));
32836
+
32837
+ case 10:
32838
+ _context3.prev = 10;
32839
+ _context3.t0 = _context3["catch"](2);
32840
+ return _context3.abrupt("return", rejectWithValue(_objectSpread2(_objectSpread2({}, defaultReject), {}, {
32841
+ message: _context3.t0.message
32842
+ })));
32843
+
32844
+ case 13:
32845
+ case "end":
32846
+ return _context3.stop();
32847
+ }
32848
+ }
32849
+ }, _callee3, null, [[2, 10]]);
32850
+ })));
32851
+ var FLEX_CRITERIA_SINGLE_READ = createAsyncThunk("flexCriteriaSlice/flexCriteriaSigleRead", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee4() {
32852
+ var payload,
32853
+ _ref8,
32854
+ rejectWithValue,
32855
+ key,
32856
+ data,
32857
+ _args4 = arguments;
32858
+
32859
+ return regeneratorRuntime.wrap(function _callee4$(_context4) {
32860
+ while (1) {
32861
+ switch (_context4.prev = _context4.next) {
32862
+ case 0:
32863
+ payload = _args4.length > 0 && _args4[0] !== undefined ? _args4[0] : {};
32864
+ _ref8 = _args4.length > 1 ? _args4[1] : undefined, rejectWithValue = _ref8.rejectWithValue;
32865
+ _context4.prev = 2;
32866
+ key = payload.key;
32867
+ _context4.next = 6;
32868
+ return fetchData({
32869
+ body: JSON.stringify(flexCriteriaQuery.flexCriteriaSingleRead(key))
32870
+ }, __readDocumentUrl__);
32871
+
32872
+ case 6:
32873
+ data = _context4.sent;
32874
+ return _context4.abrupt("return", _objectSpread2(_objectSpread2({}, defaultState.List), {}, {
32875
+ data: data === null || data === void 0 ? void 0 : data.result
32876
+ }));
32877
+
32878
+ case 10:
32879
+ _context4.prev = 10;
32880
+ _context4.t0 = _context4["catch"](2);
32881
+ return _context4.abrupt("return", rejectWithValue(_objectSpread2(_objectSpread2({}, defaultReject), {}, {
32882
+ message: _context4.t0.message
32883
+ })));
32884
+
32885
+ case 13:
32886
+ case "end":
32887
+ return _context4.stop();
32888
+ }
32889
+ }
32890
+ }, _callee4, null, [[2, 10]]);
32891
+ })));
32892
+ var FLEX_CRITERIA_INSERT = createAsyncThunk("flexCriteriaSlice/flexCriteriaInsert", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee5() {
32893
+ var payload,
32894
+ _ref10,
32895
+ rejectWithValue,
32896
+ list,
32897
+ data,
32898
+ _args5 = arguments;
32899
+
32900
+ return regeneratorRuntime.wrap(function _callee5$(_context5) {
32901
+ while (1) {
32902
+ switch (_context5.prev = _context5.next) {
32903
+ case 0:
32904
+ payload = _args5.length > 0 && _args5[0] !== undefined ? _args5[0] : {};
32905
+ _ref10 = _args5.length > 1 ? _args5[1] : undefined, rejectWithValue = _ref10.rejectWithValue;
32906
+ _context5.prev = 2;
32907
+ list = payload.list;
32908
+ _context5.next = 6;
32909
+ return fetchData({
32910
+ body: JSON.stringify(flexCriteriaQuery.flexCriteriaInsert(list))
32911
+ }, __uspsertUrl__);
32912
+
32913
+ case 6:
32914
+ data = _context5.sent;
32915
+ return _context5.abrupt("return", _objectSpread2(_objectSpread2({}, defaultState.List), {}, {
32916
+ data: data
32917
+ }));
32918
+
32919
+ case 10:
32920
+ _context5.prev = 10;
32921
+ _context5.t0 = _context5["catch"](2);
32922
+ return _context5.abrupt("return", rejectWithValue(_objectSpread2(_objectSpread2({}, defaultReject), {}, {
32923
+ message: _context5.t0.message
32924
+ })));
32925
+
32926
+ case 13:
32927
+ case "end":
32928
+ return _context5.stop();
32929
+ }
32930
+ }
32931
+ }, _callee5, null, [[2, 10]]);
32932
+ })));
32933
+ var FLEX_CRITERIA_STATUS = createAsyncThunk("flexCriteriaSlice/flexCriteriaStatus", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee6() {
32934
+ var payload,
32935
+ _ref12,
32936
+ rejectWithValue,
32937
+ status,
32938
+ key,
32939
+ data,
32940
+ _args6 = arguments;
32941
+
32942
+ return regeneratorRuntime.wrap(function _callee6$(_context6) {
32943
+ while (1) {
32944
+ switch (_context6.prev = _context6.next) {
32945
+ case 0:
32946
+ payload = _args6.length > 0 && _args6[0] !== undefined ? _args6[0] : {};
32947
+ _ref12 = _args6.length > 1 ? _args6[1] : undefined, rejectWithValue = _ref12.rejectWithValue;
32948
+ _context6.prev = 2;
32949
+ status = payload.status, key = payload.key;
32950
+ _context6.next = 6;
32951
+ return fetchData({
32952
+ body: JSON.stringify(flexCriteriaQuery.flexCriteriaStatus(status, key))
32953
+ }, __uspsertUrl__);
32954
+
32955
+ case 6:
32956
+ data = _context6.sent;
32957
+ return _context6.abrupt("return", _objectSpread2(_objectSpread2({}, defaultState.List), {}, {
32958
+ data: data
32959
+ }));
32960
+
32961
+ case 10:
32962
+ _context6.prev = 10;
32963
+ _context6.t0 = _context6["catch"](2);
32964
+ return _context6.abrupt("return", rejectWithValue(_objectSpread2(_objectSpread2({}, defaultReject), {}, {
32965
+ message: _context6.t0.message
32966
+ })));
32967
+
32968
+ case 13:
32969
+ case "end":
32970
+ return _context6.stop();
32971
+ }
32972
+ }
32973
+ }, _callee6, null, [[2, 10]]);
32974
+ })));
32975
+ var FLEX_CRITERIA_EDIT = createAsyncThunk("flexCriteriaSlice/flexCriteriaEdit", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee7() {
32976
+ var payload,
32977
+ _ref14,
32978
+ rejectWithValue,
32979
+ list,
32980
+ data,
32981
+ _args7 = arguments;
32982
+
32983
+ return regeneratorRuntime.wrap(function _callee7$(_context7) {
32984
+ while (1) {
32985
+ switch (_context7.prev = _context7.next) {
32986
+ case 0:
32987
+ payload = _args7.length > 0 && _args7[0] !== undefined ? _args7[0] : {};
32988
+ _ref14 = _args7.length > 1 ? _args7[1] : undefined, rejectWithValue = _ref14.rejectWithValue;
32989
+ _context7.prev = 2;
32990
+ list = payload.list;
32991
+ _context7.next = 6;
32992
+ return fetchData({
32993
+ body: JSON.stringify(flexCriteriaQuery.flexCriteriaEdit(list))
32994
+ }, __uspsertUrl__);
32995
+
32996
+ case 6:
32997
+ data = _context7.sent;
32998
+ return _context7.abrupt("return", _objectSpread2(_objectSpread2({}, defaultState.List), {}, {
32999
+ data: data
33000
+ }));
33001
+
33002
+ case 10:
33003
+ _context7.prev = 10;
33004
+ _context7.t0 = _context7["catch"](2);
33005
+ return _context7.abrupt("return", rejectWithValue(_objectSpread2(_objectSpread2({}, defaultReject), {}, {
33006
+ message: _context7.t0.message
33007
+ })));
33008
+
33009
+ case 13:
33010
+ case "end":
33011
+ return _context7.stop();
33012
+ }
33013
+ }
33014
+ }, _callee7, null, [[2, 10]]);
33015
+ })));
33016
+ var FLEX_CRITERIA_SEARCH = createAsyncThunk("flexCriteriaSlice/flexCriteriaSearch", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee8() {
33017
+ var payload,
33018
+ _ref16,
33019
+ rejectWithValue,
33020
+ search,
33021
+ data,
33022
+ _args8 = arguments;
33023
+
33024
+ return regeneratorRuntime.wrap(function _callee8$(_context8) {
33025
+ while (1) {
33026
+ switch (_context8.prev = _context8.next) {
33027
+ case 0:
33028
+ payload = _args8.length > 0 && _args8[0] !== undefined ? _args8[0] : {};
33029
+ _ref16 = _args8.length > 1 ? _args8[1] : undefined, rejectWithValue = _ref16.rejectWithValue;
33030
+ _context8.prev = 2;
33031
+ search = payload.search;
33032
+ _context8.next = 6;
33033
+ return fetchData({
33034
+ body: JSON.stringify(flexCriteriaQuery.flexCriteriaSearch(search))
33035
+ }, __readDocumentUrl__);
33036
+
33037
+ case 6:
33038
+ data = _context8.sent;
33039
+ return _context8.abrupt("return", _objectSpread2(_objectSpread2({}, defaultState.List), {}, {
33040
+ data: data.result
33041
+ }));
33042
+
33043
+ case 10:
33044
+ _context8.prev = 10;
33045
+ _context8.t0 = _context8["catch"](2);
33046
+ return _context8.abrupt("return", rejectWithValue(_objectSpread2(_objectSpread2({}, defaultReject), {}, {
33047
+ message: _context8.t0.message
33048
+ })));
33049
+
33050
+ case 13:
33051
+ case "end":
33052
+ return _context8.stop();
33053
+ }
33054
+ }
33055
+ }, _callee8, null, [[2, 10]]);
33056
+ })));
33057
+ var flexCriteriaSlice = createSlice({
33058
+ name: "flexCriteriaSlice",
33059
+ initialState: {
33060
+ flex_criteria_dropdown: _objectSpread2({}, defaultState.List),
33061
+ flex_criteria_code_dropdown: _objectSpread2({}, defaultState.List),
33062
+ flex_criteria_fullRead: _objectSpread2({}, defaultState.List),
33063
+ flex_criteria_singleRead: _objectSpread2({}, defaultState.List),
33064
+ flex_criteria_insert: _objectSpread2({}, defaultState.List),
33065
+ flex_criteria_status: _objectSpread2({}, defaultState.List),
33066
+ flex_criteria_edit: _objectSpread2({}, defaultState.List),
33067
+ flex_criteria_search: _objectSpread2({}, defaultState.List)
33068
+ },
33069
+ extraReducers: (_extraReducers$8 = {}, _defineProperty(_extraReducers$8, FLEX_CRITERIA_DEFAULT_DROPDOWN.fulfilled, function (state, action) {
33070
+ state.flex_criteria_dropdown.loading = false, state.flex_criteria_dropdown.error = false, state.flex_criteria_dropdown = action.payload;
33071
+ }), _defineProperty(_extraReducers$8, FLEX_CRITERIA_DEFAULT_DROPDOWN.pending, function (state, action) {
33072
+ state.flex_criteria_dropdown.loading = true, state.flex_criteria_dropdown.error = false, state.flex_criteria_dropdown.loading = true;
33073
+ }), _defineProperty(_extraReducers$8, FLEX_CRITERIA_DEFAULT_DROPDOWN.rejected, function (state, action) {
33074
+ state.flex_criteria_dropdown.loading = false, state.flex_criteria_dropdown.error = true, state.flex_criteria_dropdown = action.payload;
33075
+ }), _defineProperty(_extraReducers$8, FLEX_CRITERIA_CODE.fulfilled, function (state, action) {
33076
+ state.flex_criteria_code_dropdown.loading = false, state.flex_criteria_code_dropdown.error = false, state.flex_criteria_code_dropdown = action.payload;
33077
+ }), _defineProperty(_extraReducers$8, FLEX_CRITERIA_CODE.pending, function (state, action) {
33078
+ state.flex_criteria_code_dropdown.loading = true, state.flex_criteria_code_dropdown.error = false, state.flex_criteria_code_dropdown.loading = true;
33079
+ }), _defineProperty(_extraReducers$8, FLEX_CRITERIA_CODE.rejected, function (state, action) {
33080
+ state.flex_criteria_code_dropdown.loading = false, state.flex_criteria_code_dropdown.error = true, state.flex_criteria_code_dropdown = action.payload;
33081
+ }), _defineProperty(_extraReducers$8, FLEX_CRITERIA_FULL_READ.fulfilled, function (state, action) {
33082
+ state.flex_criteria_fullRead.loading = false, state.flex_criteria_fullRead.error = false, state.flex_criteria_fullRead = action.payload;
33083
+ }), _defineProperty(_extraReducers$8, FLEX_CRITERIA_FULL_READ.pending, function (state, action) {
33084
+ state.flex_criteria_fullRead.loading = true, state.flex_criteria_fullRead.error = false, state.flex_criteria_fullRead.loading = true;
33085
+ }), _defineProperty(_extraReducers$8, FLEX_CRITERIA_FULL_READ.rejected, function (state, action) {
33086
+ state.flex_criteria_fullRead.loading = false, state.flex_criteria_fullRead.error = true, state.flex_criteria_fullRead = action.payload;
33087
+ }), _defineProperty(_extraReducers$8, FLEX_CRITERIA_SINGLE_READ.fulfilled, function (state, action) {
33088
+ state.flex_criteria_singleRead.loading = false, state.flex_criteria_singleRead.error = false, state.flex_criteria_singleRead = action.payload;
33089
+ }), _defineProperty(_extraReducers$8, FLEX_CRITERIA_SINGLE_READ.pending, function (state, action) {
33090
+ state.flex_criteria_singleRead.loading = true, state.flex_criteria_singleRead.error = false, state.flex_criteria_singleRead.loading = true;
33091
+ }), _defineProperty(_extraReducers$8, FLEX_CRITERIA_SINGLE_READ.rejected, function (state, action) {
33092
+ state.flex_criteria_singleRead.loading = false, state.flex_criteria_singleRead.error = true, state.flex_criteria_singleRead = action.payload;
33093
+ }), _defineProperty(_extraReducers$8, FLEX_CRITERIA_INSERT.fulfilled, function (state, action) {
33094
+ state.flex_criteria_insert.loading = false, state.flex_criteria_insert.error = false, state.flex_criteria_insert = action.payload;
33095
+ }), _defineProperty(_extraReducers$8, FLEX_CRITERIA_INSERT.pending, function (state, action) {
33096
+ state.flex_criteria_insert.loading = true, state.flex_criteria_insert.error = false, state.flex_criteria_insert.loading = true;
33097
+ }), _defineProperty(_extraReducers$8, FLEX_CRITERIA_INSERT.rejected, function (state, action) {
33098
+ state.flex_criteria_insert.loading = false, state.flex_criteria_insert.error = true, state.flex_criteria_insert = action.payload;
33099
+ }), _defineProperty(_extraReducers$8, FLEX_CRITERIA_STATUS.fulfilled, function (state, action) {
33100
+ state.flex_criteria_status.loading = false, state.flex_criteria_status.error = false, state.flex_criteria_status = action.payload;
33101
+ }), _defineProperty(_extraReducers$8, FLEX_CRITERIA_STATUS.pending, function (state, action) {
33102
+ state.flex_criteria_status.loading = true, state.flex_criteria_status.error = false, state.flex_criteria_status.loading = true;
33103
+ }), _defineProperty(_extraReducers$8, FLEX_CRITERIA_STATUS.rejected, function (state, action) {
33104
+ state.flex_criteria_status.loading = false, state.flex_criteria_status.error = true, state.flex_criteria_status = action.payload;
33105
+ }), _defineProperty(_extraReducers$8, FLEX_CRITERIA_EDIT.fulfilled, function (state, action) {
33106
+ state.flex_criteria_edit.loading = false, state.flex_criteria_edit.error = false, state.flex_criteria_edit = action.payload;
33107
+ }), _defineProperty(_extraReducers$8, FLEX_CRITERIA_EDIT.pending, function (state, action) {
33108
+ state.flex_criteria_edit.loading = true, state.flex_criteria_edit.error = false, state.flex_criteria_edit.loading = true;
33109
+ }), _defineProperty(_extraReducers$8, FLEX_CRITERIA_EDIT.rejected, function (state, action) {
33110
+ state.flex_criteria_edit.loading = false, state.flex_criteria_edit.error = true, state.flex_criteria_edit = action.payload;
33111
+ }), _defineProperty(_extraReducers$8, FLEX_CRITERIA_SEARCH.fulfilled, function (state, action) {
33112
+ state.flex_criteria_search.loading = false, state.flex_criteria_search.error = false, state.flex_criteria_search = action.payload;
33113
+ }), _defineProperty(_extraReducers$8, FLEX_CRITERIA_SEARCH.pending, function (state, action) {
33114
+ state.flex_criteria_search.loading = true, state.flex_criteria_search.error = false, state.flex_criteria_search.loading = true;
33115
+ }), _defineProperty(_extraReducers$8, FLEX_CRITERIA_SEARCH.rejected, function (state, action) {
33116
+ state.flex_criteria_search.loading = false, state.flex_criteria_search.error = true, state.flex_criteria_search = action.payload;
33117
+ }), _extraReducers$8)
33118
+ });
33119
+ var flexCriteriaActions = {
33120
+ FLEX_CRITERIA_DEFAULT_DROPDOWN: FLEX_CRITERIA_DEFAULT_DROPDOWN,
33121
+ FLEX_CRITERIA_CODE: FLEX_CRITERIA_CODE,
33122
+ FLEX_CRITERIA_FULL_READ: FLEX_CRITERIA_FULL_READ,
33123
+ FLEX_CRITERIA_SINGLE_READ: FLEX_CRITERIA_SINGLE_READ,
33124
+ FLEX_CRITERIA_INSERT: FLEX_CRITERIA_INSERT,
33125
+ FLEX_CRITERIA_STATUS: FLEX_CRITERIA_STATUS,
33126
+ FLEX_CRITERIA_EDIT: FLEX_CRITERIA_EDIT,
33127
+ FLEX_CRITERIA_SEARCH: FLEX_CRITERIA_SEARCH
33128
+ };
33129
+ var flexCriteriaSlice$1 = flexCriteriaSlice.reducer;
33130
+
33131
+ var flexCriteriaApp = _objectSpread2({}, flexCriteriaActions);
33132
+
32061
33133
  var query$2 = {
32062
33134
  diagnosisList: function diagnosisList(level, code) {
32063
33135
  // "db_name": `${dbName}`,
@@ -32331,7 +33403,7 @@ var diagnosisMasterActions = {
32331
33403
  };
32332
33404
  var diagnosisMasterSlice$1 = diagnosisMasterSlice.reducer;
32333
33405
 
32334
- var consultActions = _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, ageRangeMasterActions), vitalsMasters), orderMasters), drug_actions), orderSetMasterActions), orderSetApplicabilityActions), allergenMasterActions), diagnosisMasterActions);
33406
+ var consultActions = _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, ageRangeMasterActions), vitalsMasters), orderMasters), drug_actions), orderSetMasterActions), orderSetApplicabilityActions), allergenMasterActions), flexMaster), flexCriteriaApp), diagnosisMasterActions);
32335
33407
 
32336
33408
  var query$1 = {
32337
33409
  // pending list
@@ -35603,6 +36675,8 @@ var index = combineReducers({
35603
36675
  encounterTypeSlice: encounterTypeSlice,
35604
36676
  orderSetApplicabilitySlice: orderSetApplicabilitySlice$1,
35605
36677
  allergenMasterSlice: allergenMasterSlice$1,
36678
+ flexAttributeSlice: flexAttributeSlice$1,
36679
+ flexCriteriaSlice: flexCriteriaSlice$1,
35606
36680
  diagnosisMasterSlice: diagnosisMasterSlice$1
35607
36681
  });
35608
36682