primary_care_admin_binder 0.1.20 → 0.1.24
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.
- package/dist/index.cjs.js +1942 -870
- 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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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:
|
|
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$
|
|
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() {
|
|
@@ -19927,8 +19942,11 @@ var SAVE_ORDER_CATALOG = createAsyncThunk("orderCatalogApiSlice/saveOrderCatalog
|
|
|
19927
19942
|
}, _callee8, null, [[2, 11]]);
|
|
19928
19943
|
})));
|
|
19929
19944
|
var READ_ORDER_CATALOG = createAsyncThunk("orderCatalogApiSlice/orderCatalogRead", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee9() {
|
|
19930
|
-
var
|
|
19945
|
+
var payload,
|
|
19946
|
+
_ref15,
|
|
19931
19947
|
rejectWithValue,
|
|
19948
|
+
page,
|
|
19949
|
+
perPage,
|
|
19932
19950
|
data,
|
|
19933
19951
|
res,
|
|
19934
19952
|
_args9 = arguments;
|
|
@@ -19937,33 +19955,41 @@ var READ_ORDER_CATALOG = createAsyncThunk("orderCatalogApiSlice/orderCatalogRead
|
|
|
19937
19955
|
while (1) {
|
|
19938
19956
|
switch (_context9.prev = _context9.next) {
|
|
19939
19957
|
case 0:
|
|
19958
|
+
payload = _args9.length > 0 && _args9[0] !== undefined ? _args9[0] : {};
|
|
19940
19959
|
_ref15 = _args9.length > 1 ? _args9[1] : undefined, rejectWithValue = _ref15.rejectWithValue;
|
|
19941
19960
|
_context9.prev = 2;
|
|
19942
|
-
|
|
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;
|
|
19943
19966
|
return fetchData({
|
|
19944
|
-
body: Query.order_catalog_read
|
|
19967
|
+
body: JSON.stringify(Query.order_catalog_read({
|
|
19968
|
+
page: page,
|
|
19969
|
+
perPage: perPage
|
|
19970
|
+
}))
|
|
19945
19971
|
}, __readDocumentUrl__);
|
|
19946
19972
|
|
|
19947
|
-
case
|
|
19973
|
+
case 6:
|
|
19948
19974
|
data = _context9.sent;
|
|
19949
19975
|
res = generateResJson(data.result);
|
|
19950
19976
|
return _context9.abrupt("return", _objectSpread2(_objectSpread2({}, defaultState.List), {}, {
|
|
19951
19977
|
data: res
|
|
19952
19978
|
}));
|
|
19953
19979
|
|
|
19954
|
-
case
|
|
19955
|
-
_context9.prev =
|
|
19980
|
+
case 11:
|
|
19981
|
+
_context9.prev = 11;
|
|
19956
19982
|
_context9.t0 = _context9["catch"](2);
|
|
19957
19983
|
return _context9.abrupt("return", rejectWithValue(_objectSpread2(_objectSpread2({}, defaultReject), {}, {
|
|
19958
19984
|
message: _context9.t0.message
|
|
19959
19985
|
})));
|
|
19960
19986
|
|
|
19961
|
-
case
|
|
19987
|
+
case 14:
|
|
19962
19988
|
case "end":
|
|
19963
19989
|
return _context9.stop();
|
|
19964
19990
|
}
|
|
19965
19991
|
}
|
|
19966
|
-
}, _callee9, null, [[2,
|
|
19992
|
+
}, _callee9, null, [[2, 11]]);
|
|
19967
19993
|
})));
|
|
19968
19994
|
var UPDATE_ORDER_CATALOG_STATUS = createAsyncThunk("orderCatalogApiSlice/orderCatalogUpdate", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee10() {
|
|
19969
19995
|
var payload,
|
|
@@ -20111,61 +20137,61 @@ var orderCatalogSlice = createSlice({
|
|
|
20111
20137
|
order_type_data: _objectSpread2({}, defaultState.List),
|
|
20112
20138
|
entityTypeName: _objectSpread2({}, defaultState.List)
|
|
20113
20139
|
},
|
|
20114
|
-
extraReducers: (_extraReducers$
|
|
20140
|
+
extraReducers: (_extraReducers$r = {}, _defineProperty(_extraReducers$r, ENTITY_NAME_DATA.fulfilled, function (state, action) {
|
|
20115
20141
|
state.entityTypeName.loading = false, state.entityTypeName.error = false, state.entityTypeName = action.payload;
|
|
20116
|
-
}), _defineProperty(_extraReducers$
|
|
20142
|
+
}), _defineProperty(_extraReducers$r, ENTITY_NAME_DATA.pending, function (state, action) {
|
|
20117
20143
|
state.entityTypeName.loading = true, state.entityTypeName.error = false, state.entityTypeName.loading = true;
|
|
20118
|
-
}), _defineProperty(_extraReducers$
|
|
20144
|
+
}), _defineProperty(_extraReducers$r, ENTITY_NAME_DATA.rejected, function (state, action) {
|
|
20119
20145
|
state.entityTypeName.loading = false, state.entityTypeName.error = true, state.entityTypeName = action.payload;
|
|
20120
|
-
}), _defineProperty(_extraReducers$
|
|
20146
|
+
}), _defineProperty(_extraReducers$r, ORDER_CATALOG_MASTERS.fulfilled, function (state, action) {
|
|
20121
20147
|
state.order_catalog_masters.loading = false, state.order_catalog_masters.error = false, state.order_catalog_masters = action.payload;
|
|
20122
|
-
}), _defineProperty(_extraReducers$
|
|
20148
|
+
}), _defineProperty(_extraReducers$r, ORDER_CATALOG_MASTERS.pending, function (state, action) {
|
|
20123
20149
|
state.order_catalog_masters.loading = true, state.order_catalog_masters.error = false, state.order_catalog_masters.loading = true;
|
|
20124
|
-
}), _defineProperty(_extraReducers$
|
|
20150
|
+
}), _defineProperty(_extraReducers$r, ORDER_CATALOG_MASTERS.rejected, function (state, action) {
|
|
20125
20151
|
state.order_catalog_masters.loading = false, state.order_catalog_masters.error = true, state.order_catalog_masters = action.payload;
|
|
20126
|
-
}), _defineProperty(_extraReducers$
|
|
20152
|
+
}), _defineProperty(_extraReducers$r, ORDER_TYPE_DATA.fulfilled, function (state, action) {
|
|
20127
20153
|
state.order_type_data.loading = false, state.order_type_data.error = false, state.order_type_data = action.payload;
|
|
20128
|
-
}), _defineProperty(_extraReducers$
|
|
20154
|
+
}), _defineProperty(_extraReducers$r, ORDER_TYPE_DATA.pending, function (state, action) {
|
|
20129
20155
|
state.order_type_data.loading = true, state.order_type_data.error = false, state.order_type_data.loading = true;
|
|
20130
|
-
}), _defineProperty(_extraReducers$
|
|
20156
|
+
}), _defineProperty(_extraReducers$r, ORDER_TYPE_DATA.rejected, function (state, action) {
|
|
20131
20157
|
state.order_type_data.loading = false, state.order_type_data.error = true, state.order_type_data = action.payload;
|
|
20132
|
-
}), _defineProperty(_extraReducers$
|
|
20158
|
+
}), _defineProperty(_extraReducers$r, AGE_RANGES_CATEGORY_CATALOG.fulfilled, function (state, action) {
|
|
20133
20159
|
state.ageranges_category_catalog.loading = false, state.ageranges_category_catalog.error = false, state.ageranges_category_catalog = action.payload;
|
|
20134
|
-
}), _defineProperty(_extraReducers$
|
|
20160
|
+
}), _defineProperty(_extraReducers$r, AGE_RANGES_CATEGORY_CATALOG.pending, function (state, action) {
|
|
20135
20161
|
state.ageranges_category_catalog.loading = true, state.ageranges_category_catalog.error = false, state.ageranges_category_catalog.loading = true;
|
|
20136
|
-
}), _defineProperty(_extraReducers$
|
|
20162
|
+
}), _defineProperty(_extraReducers$r, AGE_RANGES_CATEGORY_CATALOG.rejected, function (state, action) {
|
|
20137
20163
|
state.ageranges_category_catalog.loading = false, state.ageranges_category_catalog.error = true, state.ageranges_category_catalog = action.payload;
|
|
20138
|
-
}), _defineProperty(_extraReducers$
|
|
20164
|
+
}), _defineProperty(_extraReducers$r, SAVE_ORDER_CATALOG.fulfilled, function (state, action) {
|
|
20139
20165
|
state.save_order_catalog.loading = false, state.save_order_catalog.error = false, state.save_order_catalog = action.payload;
|
|
20140
|
-
}), _defineProperty(_extraReducers$
|
|
20166
|
+
}), _defineProperty(_extraReducers$r, SAVE_ORDER_CATALOG.pending, function (state, action) {
|
|
20141
20167
|
state.save_order_catalog.loading = true, state.save_order_catalog.error = false, state.save_order_catalog.loading = true;
|
|
20142
|
-
}), _defineProperty(_extraReducers$
|
|
20168
|
+
}), _defineProperty(_extraReducers$r, SAVE_ORDER_CATALOG.rejected, function (state, action) {
|
|
20143
20169
|
state.save_order_catalog.loading = false, state.save_order_catalog.error = true, state.save_order_catalog = action.payload;
|
|
20144
|
-
}), _defineProperty(_extraReducers$
|
|
20170
|
+
}), _defineProperty(_extraReducers$r, READ_ORDER_CATALOG.fulfilled, function (state, action) {
|
|
20145
20171
|
state.order_catalog_read.loading = false, state.order_catalog_read.error = false, state.order_catalog_read = action.payload;
|
|
20146
|
-
}), _defineProperty(_extraReducers$
|
|
20172
|
+
}), _defineProperty(_extraReducers$r, READ_ORDER_CATALOG.pending, function (state, action) {
|
|
20147
20173
|
state.order_catalog_read.loading = true, state.order_catalog_read.error = false, state.order_catalog_read.loading = true;
|
|
20148
|
-
}), _defineProperty(_extraReducers$
|
|
20174
|
+
}), _defineProperty(_extraReducers$r, READ_ORDER_CATALOG.rejected, function (state, action) {
|
|
20149
20175
|
state.order_catalog_read.loading = false, state.order_catalog_read.error = true, state.order_catalog_read = action.payload;
|
|
20150
|
-
}), _defineProperty(_extraReducers$
|
|
20176
|
+
}), _defineProperty(_extraReducers$r, UPDATE_ORDER_CATALOG_STATUS.fulfilled, function (state, action) {
|
|
20151
20177
|
state.order_catalog_status_update.loading = false, state.order_catalog_status_update.error = false, state.order_catalog_status_update = action.payload;
|
|
20152
|
-
}), _defineProperty(_extraReducers$
|
|
20178
|
+
}), _defineProperty(_extraReducers$r, UPDATE_ORDER_CATALOG_STATUS.pending, function (state, action) {
|
|
20153
20179
|
state.order_catalog_status_update.loading = true, state.order_catalog_status_update.error = false, state.order_catalog_status_update.loading = true;
|
|
20154
|
-
}), _defineProperty(_extraReducers$
|
|
20180
|
+
}), _defineProperty(_extraReducers$r, UPDATE_ORDER_CATALOG_STATUS.rejected, function (state, action) {
|
|
20155
20181
|
state.order_catalog_status_update.loading = false, state.order_catalog_status_update.error = true, state.order_catalog_status_update = action.payload;
|
|
20156
|
-
}), _defineProperty(_extraReducers$
|
|
20182
|
+
}), _defineProperty(_extraReducers$r, EDIT_ORDER_CATALOG.fulfilled, function (state, action) {
|
|
20157
20183
|
state.edit_order_catalog.loading = false, state.edit_order_catalog.error = false, state.edit_order_catalog = action.payload;
|
|
20158
|
-
}), _defineProperty(_extraReducers$
|
|
20184
|
+
}), _defineProperty(_extraReducers$r, EDIT_ORDER_CATALOG.pending, function (state, action) {
|
|
20159
20185
|
state.edit_order_catalog.loading = true, state.edit_order_catalog.error = false, state.edit_order_catalog.loading = true;
|
|
20160
|
-
}), _defineProperty(_extraReducers$
|
|
20186
|
+
}), _defineProperty(_extraReducers$r, EDIT_ORDER_CATALOG.rejected, function (state, action) {
|
|
20161
20187
|
state.edit_order_catalog.loading = false, state.edit_order_catalog.error = true, state.edit_order_catalog = action.payload;
|
|
20162
|
-
}), _defineProperty(_extraReducers$
|
|
20188
|
+
}), _defineProperty(_extraReducers$r, DELETE_ATTRIBUTE_DELETE.fulfilled, function (state, action) {
|
|
20163
20189
|
state.attribute_delete.loading = false, state.attribute_delete.error = false, state.attribute_delete = action.payload;
|
|
20164
|
-
}), _defineProperty(_extraReducers$
|
|
20190
|
+
}), _defineProperty(_extraReducers$r, DELETE_ATTRIBUTE_DELETE.pending, function (state, action) {
|
|
20165
20191
|
state.attribute_delete.loading = true, state.attribute_delete.error = false, state.attribute_delete.loading = true;
|
|
20166
|
-
}), _defineProperty(_extraReducers$
|
|
20192
|
+
}), _defineProperty(_extraReducers$r, DELETE_ATTRIBUTE_DELETE.rejected, function (state, action) {
|
|
20167
20193
|
state.attribute_delete.loading = false, state.attribute_delete.error = true, state.attribute_delete = action.payload;
|
|
20168
|
-
}), _extraReducers$
|
|
20194
|
+
}), _extraReducers$r)
|
|
20169
20195
|
});
|
|
20170
20196
|
var orderCatalogActions = {
|
|
20171
20197
|
ORDER_CATALOG_MASTERS: ORDER_CATALOG_MASTERS,
|
|
@@ -20268,7 +20294,7 @@ var generateJson$9 = function generateJson(data, _key) {
|
|
|
20268
20294
|
})];
|
|
20269
20295
|
};
|
|
20270
20296
|
|
|
20271
|
-
var _extraReducers$
|
|
20297
|
+
var _extraReducers$q;
|
|
20272
20298
|
var SOURCELOCATIONTYPE = createAsyncThunk("performLocationSlice/sourceLocationType", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
|
20273
20299
|
var _ref2,
|
|
20274
20300
|
rejectWithValue,
|
|
@@ -20627,49 +20653,49 @@ var performLocationSlice = createSlice({
|
|
|
20627
20653
|
read_performing_location: _objectSpread2({}, defaultState.Info),
|
|
20628
20654
|
read_performing_location_status: _objectSpread2({}, defaultState.Info)
|
|
20629
20655
|
},
|
|
20630
|
-
extraReducers: (_extraReducers$
|
|
20656
|
+
extraReducers: (_extraReducers$q = {}, _defineProperty(_extraReducers$q, SOURCELOCATIONTYPE.fulfilled, function (state, action) {
|
|
20631
20657
|
state.source_location_type.loading = false, state.source_location_type.error = false, state.source_location_type = action.payload;
|
|
20632
|
-
}), _defineProperty(_extraReducers$
|
|
20658
|
+
}), _defineProperty(_extraReducers$q, SOURCELOCATIONTYPE.pending, function (state, action) {
|
|
20633
20659
|
state.source_location_type.loading = true, state.source_location_type.error = false, state.source_location_type.loading = true;
|
|
20634
|
-
}), _defineProperty(_extraReducers$
|
|
20660
|
+
}), _defineProperty(_extraReducers$q, SOURCELOCATIONTYPE.rejected, function (state, action) {
|
|
20635
20661
|
state.source_location_type.loading = false, state.source_location_type.error = true, state.source_location_type = action.payload;
|
|
20636
|
-
}), _defineProperty(_extraReducers$
|
|
20662
|
+
}), _defineProperty(_extraReducers$q, ORDERINGFACILITY.fulfilled, function (state, action) {
|
|
20637
20663
|
state.order_facility.loading = false, state.order_facility.error = false, state.order_facility = action.payload;
|
|
20638
|
-
}), _defineProperty(_extraReducers$
|
|
20664
|
+
}), _defineProperty(_extraReducers$q, ORDERINGFACILITY.pending, function (state, action) {
|
|
20639
20665
|
state.order_facility.loading = true, state.order_facility.error = false, state.order_facility.loading = true;
|
|
20640
|
-
}), _defineProperty(_extraReducers$
|
|
20666
|
+
}), _defineProperty(_extraReducers$q, ORDERINGFACILITY.rejected, function (state, action) {
|
|
20641
20667
|
state.order_facility.loading = false, state.order_facility.error = true, state.order_facility = action.payload;
|
|
20642
|
-
}), _defineProperty(_extraReducers$
|
|
20668
|
+
}), _defineProperty(_extraReducers$q, PERFORMINGDETAILS.fulfilled, function (state, action) {
|
|
20643
20669
|
state.performing_details.loading = false, state.performing_details.error = false, state.performing_details = action.payload;
|
|
20644
|
-
}), _defineProperty(_extraReducers$
|
|
20670
|
+
}), _defineProperty(_extraReducers$q, PERFORMINGDETAILS.pending, function (state, action) {
|
|
20645
20671
|
state.performing_details.loading = true, state.performing_details.error = false, state.performing_details.loading = true;
|
|
20646
|
-
}), _defineProperty(_extraReducers$
|
|
20672
|
+
}), _defineProperty(_extraReducers$q, PERFORMINGDETAILS.rejected, function (state, action) {
|
|
20647
20673
|
state.performing_details.loading = false, state.performing_details.error = true, state.performing_details = action.payload;
|
|
20648
|
-
}), _defineProperty(_extraReducers$
|
|
20674
|
+
}), _defineProperty(_extraReducers$q, SOURCELOCATION.fulfilled, function (state, action) {
|
|
20649
20675
|
state.source_location.loading = false, state.source_location.error = false, state.source_location = action.payload;
|
|
20650
|
-
}), _defineProperty(_extraReducers$
|
|
20676
|
+
}), _defineProperty(_extraReducers$q, SOURCELOCATION.pending, function (state, action) {
|
|
20651
20677
|
state.source_location.loading = true, state.source_location.error = false, state.source_location.loading = true;
|
|
20652
|
-
}), _defineProperty(_extraReducers$
|
|
20678
|
+
}), _defineProperty(_extraReducers$q, SOURCELOCATION.rejected, function (state, action) {
|
|
20653
20679
|
state.source_location.loading = false, state.source_location.error = true, state.source_location = action.payload;
|
|
20654
|
-
}), _defineProperty(_extraReducers$
|
|
20680
|
+
}), _defineProperty(_extraReducers$q, UPSERT_PERFORMINGLOCATION.fulfilled, function (state, action) {
|
|
20655
20681
|
state.save_performing_location.loading = false, state.save_performing_location.error = false, state.save_performing_location = action.payload;
|
|
20656
|
-
}), _defineProperty(_extraReducers$
|
|
20682
|
+
}), _defineProperty(_extraReducers$q, UPSERT_PERFORMINGLOCATION.pending, function (state, action) {
|
|
20657
20683
|
state.save_performing_location.loading = true, state.save_performing_location.error = false, state.save_performing_location.loading = true;
|
|
20658
|
-
}), _defineProperty(_extraReducers$
|
|
20684
|
+
}), _defineProperty(_extraReducers$q, UPSERT_PERFORMINGLOCATION.rejected, function (state, action) {
|
|
20659
20685
|
state.save_performing_location.loading = false, state.save_performing_location.error = true, state.save_performing_location = action.payload;
|
|
20660
|
-
}), _defineProperty(_extraReducers$
|
|
20686
|
+
}), _defineProperty(_extraReducers$q, READ_PERFORMINGLOCATION.fulfilled, function (state, action) {
|
|
20661
20687
|
state.read_performing_location.loading = false, state.read_performing_location.error = false, state.read_performing_location = action.payload;
|
|
20662
|
-
}), _defineProperty(_extraReducers$
|
|
20688
|
+
}), _defineProperty(_extraReducers$q, READ_PERFORMINGLOCATION.pending, function (state, action) {
|
|
20663
20689
|
state.read_performing_location.loading = true, state.read_performing_location.error = false, state.read_performing_location.loading = true;
|
|
20664
|
-
}), _defineProperty(_extraReducers$
|
|
20690
|
+
}), _defineProperty(_extraReducers$q, READ_PERFORMINGLOCATION.rejected, function (state, action) {
|
|
20665
20691
|
state.read_performing_location.loading = false, state.read_performing_location.error = true, state.read_performing_location = action.payload;
|
|
20666
|
-
}), _defineProperty(_extraReducers$
|
|
20692
|
+
}), _defineProperty(_extraReducers$q, STATUS_PERFORMINGLOCATION.fulfilled, function (state, action) {
|
|
20667
20693
|
state.read_performing_location_status.loading = false, state.read_performing_location_status.error = false, state.read_performing_location_status = action.payload;
|
|
20668
|
-
}), _defineProperty(_extraReducers$
|
|
20694
|
+
}), _defineProperty(_extraReducers$q, STATUS_PERFORMINGLOCATION.pending, function (state, action) {
|
|
20669
20695
|
state.read_performing_location_status.loading = true, state.read_performing_location_status.error = false, state.read_performing_location_status.loading = true;
|
|
20670
|
-
}), _defineProperty(_extraReducers$
|
|
20696
|
+
}), _defineProperty(_extraReducers$q, STATUS_PERFORMINGLOCATION.rejected, function (state, action) {
|
|
20671
20697
|
state.read_performing_location_status.loading = false, state.read_performing_location_status.error = true, state.read_performing_location_status = action.payload;
|
|
20672
|
-
}), _extraReducers$
|
|
20698
|
+
}), _extraReducers$q)
|
|
20673
20699
|
});
|
|
20674
20700
|
var performLocationActions = {
|
|
20675
20701
|
SOURCELOCATIONTYPE: SOURCELOCATIONTYPE,
|
|
@@ -20733,7 +20759,7 @@ var query$8 = {
|
|
|
20733
20759
|
readQuery: function readQuery(_ref2) {
|
|
20734
20760
|
var entity_type = _ref2.entity_type,
|
|
20735
20761
|
entity_name = _ref2.entity_name;
|
|
20736
|
-
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 }");
|
|
20737
20763
|
},
|
|
20738
20764
|
readGroup: function readGroup() {
|
|
20739
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 }");
|
|
@@ -21329,7 +21355,7 @@ var generateSpecificSlots = function generateSpecificSlots(data) {
|
|
|
21329
21355
|
return arr;
|
|
21330
21356
|
};
|
|
21331
21357
|
|
|
21332
|
-
var _extraReducers$
|
|
21358
|
+
var _extraReducers$p;
|
|
21333
21359
|
var ROLE_TYPE = createAsyncThunk("scheduleManagementApiSlice/roleTpe", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
|
21334
21360
|
var _ref2,
|
|
21335
21361
|
rejectWithValue,
|
|
@@ -21724,55 +21750,55 @@ var scheduleManagementSlice = createSlice({
|
|
|
21724
21750
|
block_schedule_partial: _objectSpread2({}, defaultState.List),
|
|
21725
21751
|
release_slots: _objectSpread2({}, defaultState.List)
|
|
21726
21752
|
},
|
|
21727
|
-
extraReducers: (_extraReducers$
|
|
21753
|
+
extraReducers: (_extraReducers$p = {}, _defineProperty(_extraReducers$p, ROLE_TYPE.fulfilled, function (state, action) {
|
|
21728
21754
|
state.role_type.loading = false, state.role_type.error = false, state.role_type = action.payload;
|
|
21729
|
-
}), _defineProperty(_extraReducers$
|
|
21755
|
+
}), _defineProperty(_extraReducers$p, ROLE_TYPE.pending, function (state, action) {
|
|
21730
21756
|
state.role_type.loading = true, state.role_type.error = false, state.role_type.loading = true;
|
|
21731
|
-
}), _defineProperty(_extraReducers$
|
|
21757
|
+
}), _defineProperty(_extraReducers$p, ROLE_TYPE.rejected, function (state, action) {
|
|
21732
21758
|
state.role_type.loading = false, state.role_type.error = true, state.role_type = action.payload;
|
|
21733
|
-
}), _defineProperty(_extraReducers$
|
|
21759
|
+
}), _defineProperty(_extraReducers$p, ALL_PRACTITIONER.fulfilled, function (state, action) {
|
|
21734
21760
|
state.all_practitioner.loading = false, state.all_practitioner.error = false, state.all_practitioner = action.payload;
|
|
21735
|
-
}), _defineProperty(_extraReducers$
|
|
21761
|
+
}), _defineProperty(_extraReducers$p, ALL_PRACTITIONER.pending, function (state, action) {
|
|
21736
21762
|
state.all_practitioner.loading = true, state.all_practitioner.error = false, state.all_practitioner.loading = true;
|
|
21737
|
-
}), _defineProperty(_extraReducers$
|
|
21763
|
+
}), _defineProperty(_extraReducers$p, ALL_PRACTITIONER.rejected, function (state, action) {
|
|
21738
21764
|
state.all_practitioner.loading = false, state.all_practitioner.error = true, state.all_practitioner = action.payload;
|
|
21739
|
-
}), _defineProperty(_extraReducers$
|
|
21765
|
+
}), _defineProperty(_extraReducers$p, BLOCK_RELEASE_REASON.fulfilled, function (state, action) {
|
|
21740
21766
|
state.block_release_reason.loading = false, state.block_release_reason.error = false, state.block_release_reason = action.payload;
|
|
21741
|
-
}), _defineProperty(_extraReducers$
|
|
21767
|
+
}), _defineProperty(_extraReducers$p, BLOCK_RELEASE_REASON.pending, function (state, action) {
|
|
21742
21768
|
state.block_release_reason.loading = true, state.block_release_reason.error = false, state.block_release_reason.loading = true;
|
|
21743
|
-
}), _defineProperty(_extraReducers$
|
|
21769
|
+
}), _defineProperty(_extraReducers$p, BLOCK_RELEASE_REASON.rejected, function (state, action) {
|
|
21744
21770
|
state.block_release_reason.loading = false, state.block_release_reason.error = true, state.block_release_reason = action.payload;
|
|
21745
|
-
}), _defineProperty(_extraReducers$
|
|
21771
|
+
}), _defineProperty(_extraReducers$p, PRACTITIONER_SLOTS.fulfilled, function (state, action) {
|
|
21746
21772
|
state.practitioner_slots.loading = false, state.practitioner_slots.error = false, state.practitioner_slots = action.payload;
|
|
21747
|
-
}), _defineProperty(_extraReducers$
|
|
21773
|
+
}), _defineProperty(_extraReducers$p, PRACTITIONER_SLOTS.pending, function (state, action) {
|
|
21748
21774
|
state.practitioner_slots.loading = true, state.practitioner_slots.error = false, state.practitioner_slots.loading = true;
|
|
21749
|
-
}), _defineProperty(_extraReducers$
|
|
21775
|
+
}), _defineProperty(_extraReducers$p, PRACTITIONER_SLOTS.rejected, function (state, action) {
|
|
21750
21776
|
state.practitioner_slots.loading = false, state.practitioner_slots.error = true, state.practitioner_slots = action.payload;
|
|
21751
|
-
}), _defineProperty(_extraReducers$
|
|
21777
|
+
}), _defineProperty(_extraReducers$p, RELEASE_SLOTS.fulfilled, function (state, action) {
|
|
21752
21778
|
state.release_slots.loading = false, state.release_slots.error = false, state.release_slots = action.payload;
|
|
21753
|
-
}), _defineProperty(_extraReducers$
|
|
21779
|
+
}), _defineProperty(_extraReducers$p, RELEASE_SLOTS.pending, function (state, action) {
|
|
21754
21780
|
state.release_slots.loading = true, state.release_slots.error = false, state.release_slots.loading = true;
|
|
21755
|
-
}), _defineProperty(_extraReducers$
|
|
21781
|
+
}), _defineProperty(_extraReducers$p, RELEASE_SLOTS.rejected, function (state, action) {
|
|
21756
21782
|
state.release_slots.loading = false, state.release_slots.error = true, state.release_slots = action.payload;
|
|
21757
|
-
}), _defineProperty(_extraReducers$
|
|
21783
|
+
}), _defineProperty(_extraReducers$p, RELEASE_SCHEDULE.fulfilled, function (state, action) {
|
|
21758
21784
|
state.release_schedule.loading = false, state.release_schedule.error = false, state.release_schedule = action.payload;
|
|
21759
|
-
}), _defineProperty(_extraReducers$
|
|
21785
|
+
}), _defineProperty(_extraReducers$p, RELEASE_SCHEDULE.pending, function (state, action) {
|
|
21760
21786
|
state.release_schedule.loading = true, state.release_schedule.error = false, state.release_schedule.loading = true;
|
|
21761
|
-
}), _defineProperty(_extraReducers$
|
|
21787
|
+
}), _defineProperty(_extraReducers$p, RELEASE_SCHEDULE.rejected, function (state, action) {
|
|
21762
21788
|
state.release_schedule.loading = false, state.release_schedule.error = true, state.release_schedule = action.payload;
|
|
21763
|
-
}), _defineProperty(_extraReducers$
|
|
21789
|
+
}), _defineProperty(_extraReducers$p, BLOCK_SCHEDULE.fulfilled, function (state, action) {
|
|
21764
21790
|
state.block_schedule.loading = false, state.block_schedule.error = false, state.block_schedule = action.payload;
|
|
21765
|
-
}), _defineProperty(_extraReducers$
|
|
21791
|
+
}), _defineProperty(_extraReducers$p, BLOCK_SCHEDULE.pending, function (state, action) {
|
|
21766
21792
|
state.block_schedule.loading = true, state.block_schedule.error = false, state.block_schedule.loading = true;
|
|
21767
|
-
}), _defineProperty(_extraReducers$
|
|
21793
|
+
}), _defineProperty(_extraReducers$p, BLOCK_SCHEDULE.rejected, function (state, action) {
|
|
21768
21794
|
state.block_schedule.loading = false, state.block_schedule.error = true, state.block_schedule = action.payload;
|
|
21769
|
-
}), _defineProperty(_extraReducers$
|
|
21795
|
+
}), _defineProperty(_extraReducers$p, BLOCK_SCHEDULE_PARTIAL.fulfilled, function (state, action) {
|
|
21770
21796
|
state.block_schedule_partial.loading = false, state.block_schedule_partial.error = false, state.block_schedule_partial = action.payload;
|
|
21771
|
-
}), _defineProperty(_extraReducers$
|
|
21797
|
+
}), _defineProperty(_extraReducers$p, BLOCK_SCHEDULE_PARTIAL.pending, function (state, action) {
|
|
21772
21798
|
state.block_schedule_partial.loading = true, state.block_schedule_partial.error = false, state.block_schedule_partial.loading = true;
|
|
21773
|
-
}), _defineProperty(_extraReducers$
|
|
21799
|
+
}), _defineProperty(_extraReducers$p, BLOCK_SCHEDULE_PARTIAL.rejected, function (state, action) {
|
|
21774
21800
|
state.block_schedule_partial.loading = false, state.block_schedule_partial.error = true, state.block_schedule_partial = action.payload;
|
|
21775
|
-
}), _extraReducers$
|
|
21801
|
+
}), _extraReducers$p)
|
|
21776
21802
|
});
|
|
21777
21803
|
var scheduleManagementActions = {
|
|
21778
21804
|
ROLE_TYPE: ROLE_TYPE,
|
|
@@ -22559,7 +22585,7 @@ var generateReadJson$2 = {
|
|
|
22559
22585
|
}
|
|
22560
22586
|
};
|
|
22561
22587
|
|
|
22562
|
-
var _extraReducers$
|
|
22588
|
+
var _extraReducers$o;
|
|
22563
22589
|
var ORGANIZATION_TREE_READ = createAsyncThunk("organizationSlice/organizationTreeList", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
|
22564
22590
|
var payload,
|
|
22565
22591
|
_ref2,
|
|
@@ -23921,163 +23947,163 @@ var organizationSlice = createSlice({
|
|
|
23921
23947
|
getOrganization: _objectSpread2({}, defaultState.List),
|
|
23922
23948
|
specialtyDrop: _objectSpread2({}, defaultState.List)
|
|
23923
23949
|
},
|
|
23924
|
-
extraReducers: (_extraReducers$
|
|
23950
|
+
extraReducers: (_extraReducers$o = {}, _defineProperty(_extraReducers$o, ORGANIZATION_TREE_READ.fulfilled, function (state, action) {
|
|
23925
23951
|
state.organizationTreeList.loading = false, state.organizationTreeList.error = false, state.organizationTreeList = action.payload;
|
|
23926
|
-
}), _defineProperty(_extraReducers$
|
|
23952
|
+
}), _defineProperty(_extraReducers$o, ORGANIZATION_TREE_READ.pending, function (state, action) {
|
|
23927
23953
|
state.organizationTreeList.loading = true, state.organizationTreeList.error = false, state.organizationTreeList.loading = true;
|
|
23928
|
-
}), _defineProperty(_extraReducers$
|
|
23954
|
+
}), _defineProperty(_extraReducers$o, ORGANIZATION_TREE_READ.rejected, function (state, action) {
|
|
23929
23955
|
state.organizationTreeList.loading = false, state.organizationTreeList.error = true, state.organizationTreeList = action.payload;
|
|
23930
|
-
}), _defineProperty(_extraReducers$
|
|
23956
|
+
}), _defineProperty(_extraReducers$o, ORGANIZATION_READ_DETAILS.fulfilled, function (state, action) {
|
|
23931
23957
|
state.organizationReadDetails.loading = false, state.organizationReadDetails.error = false, state.organizationReadDetails = action.payload;
|
|
23932
|
-
}), _defineProperty(_extraReducers$
|
|
23958
|
+
}), _defineProperty(_extraReducers$o, ORGANIZATION_READ_DETAILS.pending, function (state, action) {
|
|
23933
23959
|
state.organizationReadDetails.loading = true, state.organizationReadDetails.error = false, state.organizationReadDetails.loading = true;
|
|
23934
|
-
}), _defineProperty(_extraReducers$
|
|
23960
|
+
}), _defineProperty(_extraReducers$o, ORGANIZATION_READ_DETAILS.rejected, function (state, action) {
|
|
23935
23961
|
state.organizationReadDetails.loading = false, state.organizationReadDetails.error = true, state.organizationReadDetails = action.payload;
|
|
23936
|
-
}), _defineProperty(_extraReducers$
|
|
23962
|
+
}), _defineProperty(_extraReducers$o, ORGANIZATION_READ_STATUS_UPSERT.fulfilled, function (state, action) {
|
|
23937
23963
|
state.organizationReadStatusUpsert.loading = false, state.organizationReadStatusUpsert.error = false, state.organizationReadStatusUpsert = action.payload;
|
|
23938
|
-
}), _defineProperty(_extraReducers$
|
|
23964
|
+
}), _defineProperty(_extraReducers$o, ORGANIZATION_READ_STATUS_UPSERT.pending, function (state, action) {
|
|
23939
23965
|
state.organizationReadStatusUpsert.loading = true, state.organizationReadStatusUpsert.error = false, state.organizationReadStatusUpsert.loading = true;
|
|
23940
|
-
}), _defineProperty(_extraReducers$
|
|
23966
|
+
}), _defineProperty(_extraReducers$o, ORGANIZATION_READ_STATUS_UPSERT.rejected, function (state, action) {
|
|
23941
23967
|
state.organizationReadStatusUpsert.loading = false, state.organizationReadStatusUpsert.error = true, state.organizationReadStatusUpsert = action.payload;
|
|
23942
|
-
}), _defineProperty(_extraReducers$
|
|
23968
|
+
}), _defineProperty(_extraReducers$o, ORGANIZATION_ENTITY_TYPE.fulfilled, function (state, action) {
|
|
23943
23969
|
state.organizationEntityType.loading = false, state.organizationEntityType.error = false, state.organizationEntityType = action.payload;
|
|
23944
|
-
}), _defineProperty(_extraReducers$
|
|
23970
|
+
}), _defineProperty(_extraReducers$o, ORGANIZATION_ENTITY_TYPE.pending, function (state, action) {
|
|
23945
23971
|
state.organizationEntityType.loading = true, state.organizationEntityType.error = false, state.organizationEntityType.loading = true;
|
|
23946
|
-
}), _defineProperty(_extraReducers$
|
|
23972
|
+
}), _defineProperty(_extraReducers$o, ORGANIZATION_ENTITY_TYPE.rejected, function (state, action) {
|
|
23947
23973
|
state.organizationEntityType.loading = false, state.organizationEntityType.error = true, state.organizationEntityType = action.payload;
|
|
23948
|
-
}), _defineProperty(_extraReducers$
|
|
23974
|
+
}), _defineProperty(_extraReducers$o, ORGANIZATION_GET_PARENT_ENTITY.fulfilled, function (state, action) {
|
|
23949
23975
|
state.orgParEntity.loading = false, state.orgParEntity.error = false, state.orgParEntity = action.payload;
|
|
23950
|
-
}), _defineProperty(_extraReducers$
|
|
23976
|
+
}), _defineProperty(_extraReducers$o, ORGANIZATION_GET_PARENT_ENTITY.pending, function (state, action) {
|
|
23951
23977
|
state.orgParEntity.loading = true, state.orgParEntity.error = false, state.orgParEntity.loading = true;
|
|
23952
|
-
}), _defineProperty(_extraReducers$
|
|
23978
|
+
}), _defineProperty(_extraReducers$o, ORGANIZATION_GET_PARENT_ENTITY.rejected, function (state, action) {
|
|
23953
23979
|
state.orgParEntity.loading = false, state.orgParEntity.error = true, state.orgParEntity = action.payload;
|
|
23954
|
-
}), _defineProperty(_extraReducers$
|
|
23980
|
+
}), _defineProperty(_extraReducers$o, ORGANIZATION_GET_LEVEL_CARE.fulfilled, function (state, action) {
|
|
23955
23981
|
state.orgLevelCare.loading = false, state.orgLevelCare.error = false, state.orgLevelCare = action.payload;
|
|
23956
|
-
}), _defineProperty(_extraReducers$
|
|
23982
|
+
}), _defineProperty(_extraReducers$o, ORGANIZATION_GET_LEVEL_CARE.pending, function (state, action) {
|
|
23957
23983
|
state.orgLevelCare.loading = true, state.orgLevelCare.error = false, state.orgLevelCare.loading = true;
|
|
23958
|
-
}), _defineProperty(_extraReducers$
|
|
23984
|
+
}), _defineProperty(_extraReducers$o, ORGANIZATION_GET_LEVEL_CARE.rejected, function (state, action) {
|
|
23959
23985
|
state.orgLevelCare.loading = false, state.orgLevelCare.error = true, state.orgLevelCare = action.payload;
|
|
23960
|
-
}), _defineProperty(_extraReducers$
|
|
23986
|
+
}), _defineProperty(_extraReducers$o, ORGANIZATION_GET_USE_IDENTIFICATION.fulfilled, function (state, action) {
|
|
23961
23987
|
state.orgUseIdenifi.loading = false, state.orgUseIdenifi.error = false, state.orgUseIdenifi = action.payload;
|
|
23962
|
-
}), _defineProperty(_extraReducers$
|
|
23988
|
+
}), _defineProperty(_extraReducers$o, ORGANIZATION_GET_USE_IDENTIFICATION.pending, function (state, action) {
|
|
23963
23989
|
state.orgUseIdenifi.loading = true, state.orgUseIdenifi.error = false, state.orgUseIdenifi.loading = true;
|
|
23964
|
-
}), _defineProperty(_extraReducers$
|
|
23990
|
+
}), _defineProperty(_extraReducers$o, ORGANIZATION_GET_USE_IDENTIFICATION.rejected, function (state, action) {
|
|
23965
23991
|
state.orgUseIdenifi.loading = false, state.orgUseIdenifi.error = true, state.orgUseIdenifi = action.payload;
|
|
23966
|
-
}), _defineProperty(_extraReducers$
|
|
23992
|
+
}), _defineProperty(_extraReducers$o, ORGANIZATION_GET_IDTYPE_IDENTIF.fulfilled, function (state, action) {
|
|
23967
23993
|
state.orgIdTypeIdenifi.loading = false, state.orgIdTypeIdenifi.error = false, state.orgIdTypeIdenifi = action.payload;
|
|
23968
|
-
}), _defineProperty(_extraReducers$
|
|
23994
|
+
}), _defineProperty(_extraReducers$o, ORGANIZATION_GET_IDTYPE_IDENTIF.pending, function (state, action) {
|
|
23969
23995
|
state.orgIdTypeIdenifi.loading = true, state.orgIdTypeIdenifi.error = false, state.orgIdTypeIdenifi.loading = true;
|
|
23970
|
-
}), _defineProperty(_extraReducers$
|
|
23996
|
+
}), _defineProperty(_extraReducers$o, ORGANIZATION_GET_IDTYPE_IDENTIF.rejected, function (state, action) {
|
|
23971
23997
|
state.orgIdTypeIdenifi.loading = false, state.orgIdTypeIdenifi.error = true, state.orgIdTypeIdenifi = action.payload;
|
|
23972
|
-
}), _defineProperty(_extraReducers$
|
|
23998
|
+
}), _defineProperty(_extraReducers$o, ORGANIZATION_GET_ALIAS_TYPE.fulfilled, function (state, action) {
|
|
23973
23999
|
state.aliastype.loading = false, state.aliastype.error = false, state.aliastype = action.payload;
|
|
23974
|
-
}), _defineProperty(_extraReducers$
|
|
24000
|
+
}), _defineProperty(_extraReducers$o, ORGANIZATION_GET_ALIAS_TYPE.pending, function (state, action) {
|
|
23975
24001
|
state.aliastype.loading = true, state.aliastype.error = false, state.aliastype.loading = true;
|
|
23976
|
-
}), _defineProperty(_extraReducers$
|
|
24002
|
+
}), _defineProperty(_extraReducers$o, ORGANIZATION_GET_ALIAS_TYPE.rejected, function (state, action) {
|
|
23977
24003
|
state.aliastype.loading = false, state.aliastype.error = true, state.aliastype = action.payload;
|
|
23978
|
-
}), _defineProperty(_extraReducers$
|
|
24004
|
+
}), _defineProperty(_extraReducers$o, ORGANIZATION_GET_ADD_TYPE.fulfilled, function (state, action) {
|
|
23979
24005
|
state.orgAddType.loading = false, state.orgAddType.error = false, state.orgAddType = action.payload;
|
|
23980
|
-
}), _defineProperty(_extraReducers$
|
|
24006
|
+
}), _defineProperty(_extraReducers$o, ORGANIZATION_GET_ADD_TYPE.pending, function (state, action) {
|
|
23981
24007
|
state.orgAddType.loading = true, state.orgAddType.error = false, state.orgAddType.loading = true;
|
|
23982
|
-
}), _defineProperty(_extraReducers$
|
|
24008
|
+
}), _defineProperty(_extraReducers$o, ORGANIZATION_GET_ADD_TYPE.rejected, function (state, action) {
|
|
23983
24009
|
state.orgAddType.loading = false, state.orgAddType.error = true, state.orgAddType = action.payload;
|
|
23984
|
-
}), _defineProperty(_extraReducers$
|
|
24010
|
+
}), _defineProperty(_extraReducers$o, ORGANIZATION_GET_ADD_USE.fulfilled, function (state, action) {
|
|
23985
24011
|
state.orgAddUSE.loading = false, state.orgAddUSE.error = false, state.orgAddUSE = action.payload;
|
|
23986
|
-
}), _defineProperty(_extraReducers$
|
|
24012
|
+
}), _defineProperty(_extraReducers$o, ORGANIZATION_GET_ADD_USE.pending, function (state, action) {
|
|
23987
24013
|
state.orgAddUSE.loading = true, state.orgAddUSE.error = false, state.orgAddUSE.loading = true;
|
|
23988
|
-
}), _defineProperty(_extraReducers$
|
|
24014
|
+
}), _defineProperty(_extraReducers$o, ORGANIZATION_GET_ADD_USE.rejected, function (state, action) {
|
|
23989
24015
|
state.orgAddUSE.loading = false, state.orgAddUSE.error = true, state.orgAddUSE = action.payload;
|
|
23990
|
-
}), _defineProperty(_extraReducers$
|
|
24016
|
+
}), _defineProperty(_extraReducers$o, ORGANIZATION_GET_ADD_City.fulfilled, function (state, action) {
|
|
23991
24017
|
state.orgAddCity.loading = false, state.orgAddCity.error = false, state.orgAddCity = action.payload;
|
|
23992
|
-
}), _defineProperty(_extraReducers$
|
|
24018
|
+
}), _defineProperty(_extraReducers$o, ORGANIZATION_GET_ADD_City.pending, function (state, action) {
|
|
23993
24019
|
state.orgAddCity.loading = true, state.orgAddCity.error = false, state.orgAddCity.loading = true;
|
|
23994
|
-
}), _defineProperty(_extraReducers$
|
|
24020
|
+
}), _defineProperty(_extraReducers$o, ORGANIZATION_GET_ADD_City.rejected, function (state, action) {
|
|
23995
24021
|
state.orgAddCity.loading = false, state.orgAddCity.error = true, state.orgAddCity = action.payload;
|
|
23996
|
-
}), _defineProperty(_extraReducers$
|
|
24022
|
+
}), _defineProperty(_extraReducers$o, ORGANIZATION_GET_ADD_DISTRICT.fulfilled, function (state, action) {
|
|
23997
24023
|
state.orgAddDISTRICT.loading = false, state.orgAddDISTRICT.error = false, state.orgAddDISTRICT = action.payload;
|
|
23998
|
-
}), _defineProperty(_extraReducers$
|
|
24024
|
+
}), _defineProperty(_extraReducers$o, ORGANIZATION_GET_ADD_DISTRICT.pending, function (state, action) {
|
|
23999
24025
|
state.orgAddDISTRICT.loading = true, state.orgAddDISTRICT.error = false, state.orgAddDISTRICT.loading = true;
|
|
24000
|
-
}), _defineProperty(_extraReducers$
|
|
24026
|
+
}), _defineProperty(_extraReducers$o, ORGANIZATION_GET_ADD_DISTRICT.rejected, function (state, action) {
|
|
24001
24027
|
state.orgAddDISTRICT.loading = false, state.orgAddDISTRICT.error = true, state.orgAddDISTRICT = action.payload;
|
|
24002
|
-
}), _defineProperty(_extraReducers$
|
|
24028
|
+
}), _defineProperty(_extraReducers$o, ORGANIZATION_GET_AddSTATE.fulfilled, function (state, action) {
|
|
24003
24029
|
state.orgAddSTATE.loading = false, state.orgAddSTATE.error = false, state.orgAddSTATE = action.payload;
|
|
24004
|
-
}), _defineProperty(_extraReducers$
|
|
24030
|
+
}), _defineProperty(_extraReducers$o, ORGANIZATION_GET_AddSTATE.pending, function (state, action) {
|
|
24005
24031
|
state.orgAddSTATE.loading = true, state.orgAddSTATE.error = false, state.orgAddSTATE.loading = true;
|
|
24006
|
-
}), _defineProperty(_extraReducers$
|
|
24032
|
+
}), _defineProperty(_extraReducers$o, ORGANIZATION_GET_AddSTATE.rejected, function (state, action) {
|
|
24007
24033
|
state.orgAddSTATE.loading = false, state.orgAddSTATE.error = true, state.orgAddSTATE = action.payload;
|
|
24008
|
-
}), _defineProperty(_extraReducers$
|
|
24034
|
+
}), _defineProperty(_extraReducers$o, ORGANIZATION_GET_COUNTRY.fulfilled, function (state, action) {
|
|
24009
24035
|
state.orgAddCOUNTRY.loading = false, state.orgAddCOUNTRY.error = false, state.orgAddCOUNTRY = action.payload;
|
|
24010
|
-
}), _defineProperty(_extraReducers$
|
|
24036
|
+
}), _defineProperty(_extraReducers$o, ORGANIZATION_GET_COUNTRY.pending, function (state, action) {
|
|
24011
24037
|
state.orgAddCOUNTRY.loading = true, state.orgAddCOUNTRY.error = false, state.orgAddCOUNTRY.loading = true;
|
|
24012
|
-
}), _defineProperty(_extraReducers$
|
|
24038
|
+
}), _defineProperty(_extraReducers$o, ORGANIZATION_GET_COUNTRY.rejected, function (state, action) {
|
|
24013
24039
|
state.orgAddCOUNTRY.loading = false, state.orgAddCOUNTRY.error = true, state.orgAddCOUNTRY = action.payload;
|
|
24014
|
-
}), _defineProperty(_extraReducers$
|
|
24040
|
+
}), _defineProperty(_extraReducers$o, ORGANIZATION_GET_PINCODE.fulfilled, function (state, action) {
|
|
24015
24041
|
state.orgAddPINCODE.loading = false, state.orgAddPINCODE.error = false, state.orgAddPINCODE = action.payload;
|
|
24016
|
-
}), _defineProperty(_extraReducers$
|
|
24042
|
+
}), _defineProperty(_extraReducers$o, ORGANIZATION_GET_PINCODE.pending, function (state, action) {
|
|
24017
24043
|
state.orgAddPINCODE.loading = true, state.orgAddPINCODE.error = false, state.orgAddPINCODE.loading = true;
|
|
24018
|
-
}), _defineProperty(_extraReducers$
|
|
24044
|
+
}), _defineProperty(_extraReducers$o, ORGANIZATION_GET_PINCODE.rejected, function (state, action) {
|
|
24019
24045
|
state.orgAddPINCODE.loading = false, state.orgAddPINCODE.error = true, state.orgAddPINCODE = action.payload;
|
|
24020
|
-
}), _defineProperty(_extraReducers$
|
|
24046
|
+
}), _defineProperty(_extraReducers$o, ORGANIZATION_GET_CONTACTDETAILMODE.fulfilled, function (state, action) {
|
|
24021
24047
|
state.orgContactDetailMode.loading = false, state.orgContactDetailMode.error = false, state.orgContactDetailMode = action.payload;
|
|
24022
|
-
}), _defineProperty(_extraReducers$
|
|
24048
|
+
}), _defineProperty(_extraReducers$o, ORGANIZATION_GET_CONTACTDETAILMODE.pending, function (state, action) {
|
|
24023
24049
|
state.orgContactDetailMode.loading = true, state.orgContactDetailMode.error = false, state.orgContactDetailMode.loading = true;
|
|
24024
|
-
}), _defineProperty(_extraReducers$
|
|
24050
|
+
}), _defineProperty(_extraReducers$o, ORGANIZATION_GET_CONTACTDETAILMODE.rejected, function (state, action) {
|
|
24025
24051
|
state.orgContactDetailMode.loading = false, state.orgContactDetailMode.error = true, state.orgContactDetailMode = action.payload;
|
|
24026
|
-
}), _defineProperty(_extraReducers$
|
|
24052
|
+
}), _defineProperty(_extraReducers$o, ORGANIZATION_GET_CONNTACTDETAILCODE.fulfilled, function (state, action) {
|
|
24027
24053
|
state.orgContactDetailCode.loading = false, state.orgContactDetailCode.error = false, state.orgContactDetailCode = action.payload;
|
|
24028
|
-
}), _defineProperty(_extraReducers$
|
|
24054
|
+
}), _defineProperty(_extraReducers$o, ORGANIZATION_GET_CONNTACTDETAILCODE.pending, function (state, action) {
|
|
24029
24055
|
state.orgContactDetailCode.loading = true, state.orgContactDetailCode.error = false, state.orgContactDetailCode.loading = true;
|
|
24030
|
-
}), _defineProperty(_extraReducers$
|
|
24056
|
+
}), _defineProperty(_extraReducers$o, ORGANIZATION_GET_CONNTACTDETAILCODE.rejected, function (state, action) {
|
|
24031
24057
|
state.orgContactDetailCode.loading = false, state.orgContactDetailCode.error = true, state.orgContactDetailCode = action.payload;
|
|
24032
|
-
}), _defineProperty(_extraReducers$
|
|
24058
|
+
}), _defineProperty(_extraReducers$o, ORGANIZATION_GET_CONTACTDETAILUSE.fulfilled, function (state, action) {
|
|
24033
24059
|
state.orgContactDetailUse.loading = false, state.orgContactDetailUse.error = false, state.orgContactDetailUse = action.payload;
|
|
24034
|
-
}), _defineProperty(_extraReducers$
|
|
24060
|
+
}), _defineProperty(_extraReducers$o, ORGANIZATION_GET_CONTACTDETAILUSE.pending, function (state, action) {
|
|
24035
24061
|
state.orgContactDetailUse.loading = true, state.orgContactDetailUse.error = false, state.orgContactDetailUse.loading = true;
|
|
24036
|
-
}), _defineProperty(_extraReducers$
|
|
24062
|
+
}), _defineProperty(_extraReducers$o, ORGANIZATION_GET_CONTACTDETAILUSE.rejected, function (state, action) {
|
|
24037
24063
|
state.orgContactDetailUse.loading = false, state.orgContactDetailUse.error = true, state.orgContactDetailUse = action.payload;
|
|
24038
|
-
}), _defineProperty(_extraReducers$
|
|
24064
|
+
}), _defineProperty(_extraReducers$o, ORGANIZATION_GET_CONTACTDETAILPRIORITY.fulfilled, function (state, action) {
|
|
24039
24065
|
state.orgContactDetailPriority.loading = false, state.orgContactDetailPriority.error = false, state.orgContactDetailPriority = action.payload;
|
|
24040
|
-
}), _defineProperty(_extraReducers$
|
|
24066
|
+
}), _defineProperty(_extraReducers$o, ORGANIZATION_GET_CONTACTDETAILPRIORITY.pending, function (state, action) {
|
|
24041
24067
|
state.orgContactDetailPriority.loading = true, state.orgContactDetailPriority.error = false, state.orgContactDetailPriority.loading = true;
|
|
24042
|
-
}), _defineProperty(_extraReducers$
|
|
24068
|
+
}), _defineProperty(_extraReducers$o, ORGANIZATION_GET_CONTACTDETAILPRIORITY.rejected, function (state, action) {
|
|
24043
24069
|
state.orgContactDetailPriority.loading = false, state.orgContactDetailPriority.error = true, state.orgContactDetailPriority = action.payload;
|
|
24044
|
-
}), _defineProperty(_extraReducers$
|
|
24070
|
+
}), _defineProperty(_extraReducers$o, ORGANIZATION_GET_CONTACT_PREFIX.fulfilled, function (state, action) {
|
|
24045
24071
|
state.orgNamePrefix.loading = false, state.orgNamePrefix.error = false, state.orgNamePrefix = action.payload;
|
|
24046
|
-
}), _defineProperty(_extraReducers$
|
|
24072
|
+
}), _defineProperty(_extraReducers$o, ORGANIZATION_GET_CONTACT_PREFIX.pending, function (state, action) {
|
|
24047
24073
|
state.orgNamePrefix.loading = true, state.orgNamePrefix.error = false, state.orgNamePrefix.loading = true;
|
|
24048
|
-
}), _defineProperty(_extraReducers$
|
|
24074
|
+
}), _defineProperty(_extraReducers$o, ORGANIZATION_GET_CONTACT_PREFIX.rejected, function (state, action) {
|
|
24049
24075
|
state.orgNamePrefix.loading = false, state.orgNamePrefix.error = true, state.orgNamePrefix = action.payload;
|
|
24050
|
-
}), _defineProperty(_extraReducers$
|
|
24076
|
+
}), _defineProperty(_extraReducers$o, ORGANIZATION_GET_CONTACT_SUFFIX.fulfilled, function (state, action) {
|
|
24051
24077
|
state.orgNameSuffix.loading = false, state.orgNameSuffix.error = false, state.orgNameSuffix = action.payload;
|
|
24052
|
-
}), _defineProperty(_extraReducers$
|
|
24078
|
+
}), _defineProperty(_extraReducers$o, ORGANIZATION_GET_CONTACT_SUFFIX.pending, function (state, action) {
|
|
24053
24079
|
state.orgNameSuffix.loading = true, state.orgNameSuffix.error = false, state.orgNameSuffix.loading = true;
|
|
24054
|
-
}), _defineProperty(_extraReducers$
|
|
24080
|
+
}), _defineProperty(_extraReducers$o, ORGANIZATION_GET_CONTACT_SUFFIX.rejected, function (state, action) {
|
|
24055
24081
|
state.orgNameSuffix.loading = false, state.orgNameSuffix.error = true, state.orgNameSuffix = action.payload;
|
|
24056
|
-
}), _defineProperty(_extraReducers$
|
|
24082
|
+
}), _defineProperty(_extraReducers$o, ORGANIZATION_GET_CONTACT_DESI.fulfilled, function (state, action) {
|
|
24057
24083
|
state.positionDesi.loading = false, state.positionDesi.error = false, state.positionDesi = action.payload;
|
|
24058
|
-
}), _defineProperty(_extraReducers$
|
|
24084
|
+
}), _defineProperty(_extraReducers$o, ORGANIZATION_GET_CONTACT_DESI.pending, function (state, action) {
|
|
24059
24085
|
state.positionDesi.loading = true, state.positionDesi.error = false, state.positionDesi.loading = true;
|
|
24060
|
-
}), _defineProperty(_extraReducers$
|
|
24086
|
+
}), _defineProperty(_extraReducers$o, ORGANIZATION_GET_CONTACT_DESI.rejected, function (state, action) {
|
|
24061
24087
|
state.positionDesi.loading = false, state.positionDesi.error = true, state.positionDesi = action.payload;
|
|
24062
|
-
}), _defineProperty(_extraReducers$
|
|
24088
|
+
}), _defineProperty(_extraReducers$o, SET_ORGANIZATION.fulfilled, function (state, action) {
|
|
24063
24089
|
state.setOrganization.loading = false, state.setOrganization.error = false, state.setOrganization = action.payload;
|
|
24064
|
-
}), _defineProperty(_extraReducers$
|
|
24090
|
+
}), _defineProperty(_extraReducers$o, SET_ORGANIZATION.pending, function (state, action) {
|
|
24065
24091
|
state.setOrganization.loading = true, state.setOrganization.error = false, state.setOrganization.loading = true;
|
|
24066
|
-
}), _defineProperty(_extraReducers$
|
|
24092
|
+
}), _defineProperty(_extraReducers$o, SET_ORGANIZATION.rejected, function (state, action) {
|
|
24067
24093
|
state.setOrganization.loading = false, state.setOrganization.error = true, state.setOrganization = action.payload;
|
|
24068
|
-
}), _defineProperty(_extraReducers$
|
|
24094
|
+
}), _defineProperty(_extraReducers$o, ORG_FROM_GET.fulfilled, function (state, action) {
|
|
24069
24095
|
state.getOrganization.loading = false, state.getOrganization.error = false, state.getOrganization = action.payload;
|
|
24070
|
-
}), _defineProperty(_extraReducers$
|
|
24096
|
+
}), _defineProperty(_extraReducers$o, ORG_FROM_GET.pending, function (state, action) {
|
|
24071
24097
|
state.getOrganization.loading = true, state.getOrganization.error = false, state.getOrganization.loading = true;
|
|
24072
|
-
}), _defineProperty(_extraReducers$
|
|
24098
|
+
}), _defineProperty(_extraReducers$o, ORG_FROM_GET.rejected, function (state, action) {
|
|
24073
24099
|
state.getOrganization.loading = false, state.getOrganization.error = true, state.getOrganization = action.payload;
|
|
24074
|
-
}), _defineProperty(_extraReducers$
|
|
24100
|
+
}), _defineProperty(_extraReducers$o, ORGANIZATION_GET_SPECIALTY_DROP.fulfilled, function (state, action) {
|
|
24075
24101
|
state.specialtyDrop.loading = false, state.specialtyDrop.error = false, state.specialtyDrop = action.payload;
|
|
24076
|
-
}), _defineProperty(_extraReducers$
|
|
24102
|
+
}), _defineProperty(_extraReducers$o, ORGANIZATION_GET_SPECIALTY_DROP.pending, function (state, action) {
|
|
24077
24103
|
state.specialtyDrop.loading = true, state.specialtyDrop.error = false, state.specialtyDrop.loading = true;
|
|
24078
|
-
}), _defineProperty(_extraReducers$
|
|
24104
|
+
}), _defineProperty(_extraReducers$o, ORGANIZATION_GET_SPECIALTY_DROP.rejected, function (state, action) {
|
|
24079
24105
|
state.specialtyDrop.loading = false, state.specialtyDrop.error = true, state.specialtyDrop = action.payload;
|
|
24080
|
-
}), _extraReducers$
|
|
24106
|
+
}), _extraReducers$o)
|
|
24081
24107
|
});
|
|
24082
24108
|
var organizationActions = {
|
|
24083
24109
|
ORGANIZATION_TREE_READ: ORGANIZATION_TREE_READ,
|
|
@@ -24493,7 +24519,7 @@ var masterQueryHealthCareService = {
|
|
|
24493
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 }"
|
|
24494
24520
|
};
|
|
24495
24521
|
|
|
24496
|
-
var _extraReducers$
|
|
24522
|
+
var _extraReducers$n;
|
|
24497
24523
|
//CARE TYPE READ
|
|
24498
24524
|
|
|
24499
24525
|
var CARE_TYPE_READ = createAsyncThunk("organizationConfigApiSlice/careTypeRead", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
|
@@ -25469,109 +25495,109 @@ var organizationConfigSlice = createSlice({
|
|
|
25469
25495
|
speciality_master_parent_speciality: _objectSpread2({}, defaultState.Info),
|
|
25470
25496
|
speciality_edit: _objectSpread2({}, defaultState.List)
|
|
25471
25497
|
},
|
|
25472
|
-
extraReducers: (_extraReducers$
|
|
25498
|
+
extraReducers: (_extraReducers$n = {}, _defineProperty(_extraReducers$n, SPECIALITY_MASTER_PARENT_SPECIALITY.fulfilled, function (state, action) {
|
|
25473
25499
|
state.speciality_master_parent_speciality.loading = false, state.speciality_master_parent_speciality.error = false, state.speciality_master_parent_speciality = action.payload;
|
|
25474
|
-
}), _defineProperty(_extraReducers$
|
|
25500
|
+
}), _defineProperty(_extraReducers$n, SPECIALITY_MASTER_PARENT_SPECIALITY.pending, function (state, action) {
|
|
25475
25501
|
state.speciality_master_parent_speciality.loading = true, state.speciality_master_parent_speciality.error = false, state.speciality_master_parent_speciality.loading = true;
|
|
25476
|
-
}), _defineProperty(_extraReducers$
|
|
25502
|
+
}), _defineProperty(_extraReducers$n, SPECIALITY_MASTER_PARENT_SPECIALITY.rejected, function (state, action) {
|
|
25477
25503
|
state.speciality_master_parent_speciality.loading = false, state.speciality_master_parent_speciality.error = true, state.speciality_master_parent_speciality = action.payload;
|
|
25478
|
-
}), _defineProperty(_extraReducers$
|
|
25504
|
+
}), _defineProperty(_extraReducers$n, SPECIALITY_MASTER_FACILITY.fulfilled, function (state, action) {
|
|
25479
25505
|
state.speciality_master_facility.loading = false, state.speciality_master_facility.error = false, state.speciality_master_facility = action.payload;
|
|
25480
|
-
}), _defineProperty(_extraReducers$
|
|
25506
|
+
}), _defineProperty(_extraReducers$n, SPECIALITY_MASTER_FACILITY.pending, function (state, action) {
|
|
25481
25507
|
state.speciality_master_facility.loading = true, state.speciality_master_facility.error = false, state.speciality_master_facility.loading = true;
|
|
25482
|
-
}), _defineProperty(_extraReducers$
|
|
25508
|
+
}), _defineProperty(_extraReducers$n, SPECIALITY_MASTER_FACILITY.rejected, function (state, action) {
|
|
25483
25509
|
state.speciality_master_facility.loading = false, state.speciality_master_facility.error = true, state.speciality_master_facility = action.payload;
|
|
25484
|
-
}), _defineProperty(_extraReducers$
|
|
25510
|
+
}), _defineProperty(_extraReducers$n, CARE_TYPE_READ.fulfilled, function (state, action) {
|
|
25485
25511
|
state.care_type_list.loading = false, state.care_type_list.error = false, state.care_type_list = action.payload;
|
|
25486
|
-
}), _defineProperty(_extraReducers$
|
|
25512
|
+
}), _defineProperty(_extraReducers$n, CARE_TYPE_READ.pending, function (state, action) {
|
|
25487
25513
|
state.care_type_list.loading = true, state.care_type_list.error = false, state.care_type_list.loading = true;
|
|
25488
|
-
}), _defineProperty(_extraReducers$
|
|
25514
|
+
}), _defineProperty(_extraReducers$n, CARE_TYPE_READ.rejected, function (state, action) {
|
|
25489
25515
|
state.care_type_list.loading = false, state.care_type_list.error = true, state.care_type_list = action.payload;
|
|
25490
|
-
}), _defineProperty(_extraReducers$
|
|
25516
|
+
}), _defineProperty(_extraReducers$n, LEVEL_OF_CARE_READ.fulfilled, function (state, action) {
|
|
25491
25517
|
state.level_of_care_list.loading = false, state.level_of_care_list.error = false, state.level_of_care_list = action.payload;
|
|
25492
|
-
}), _defineProperty(_extraReducers$
|
|
25518
|
+
}), _defineProperty(_extraReducers$n, LEVEL_OF_CARE_READ.pending, function (state, action) {
|
|
25493
25519
|
state.level_of_care_list.loading = true, state.level_of_care_list.error = false, state.level_of_care_list.loading = true;
|
|
25494
|
-
}), _defineProperty(_extraReducers$
|
|
25520
|
+
}), _defineProperty(_extraReducers$n, LEVEL_OF_CARE_READ.rejected, function (state, action) {
|
|
25495
25521
|
state.level_of_care_list.loading = false, state.level_of_care_list.error = true, state.level_of_care_list = action.payload;
|
|
25496
|
-
}), _defineProperty(_extraReducers$
|
|
25522
|
+
}), _defineProperty(_extraReducers$n, LEVEL_OF_CARE_STATUS_CHANGE.fulfilled, function (state, action) {
|
|
25497
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;
|
|
25498
|
-
}), _defineProperty(_extraReducers$
|
|
25524
|
+
}), _defineProperty(_extraReducers$n, LEVEL_OF_CARE_STATUS_CHANGE.pending, function (state, action) {
|
|
25499
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;
|
|
25500
|
-
}), _defineProperty(_extraReducers$
|
|
25526
|
+
}), _defineProperty(_extraReducers$n, LEVEL_OF_CARE_STATUS_CHANGE.rejected, function (state, action) {
|
|
25501
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;
|
|
25502
|
-
}), _defineProperty(_extraReducers$
|
|
25528
|
+
}), _defineProperty(_extraReducers$n, LEVEL_OF_CARE_INSERT.fulfilled, function (state, action) {
|
|
25503
25529
|
state.level_of_care_insert.loading = false, state.level_of_care_insert.error = false, state.level_of_care_insert = action.payload;
|
|
25504
|
-
}), _defineProperty(_extraReducers$
|
|
25530
|
+
}), _defineProperty(_extraReducers$n, LEVEL_OF_CARE_INSERT.pending, function (state, action) {
|
|
25505
25531
|
state.level_of_care_insert.loading = true, state.level_of_care_insert.error = false, state.level_of_care_insert.loading = true;
|
|
25506
|
-
}), _defineProperty(_extraReducers$
|
|
25532
|
+
}), _defineProperty(_extraReducers$n, LEVEL_OF_CARE_INSERT.rejected, function (state, action) {
|
|
25507
25533
|
state.level_of_care_insert.loading = false, state.level_of_care_insert.error = true, state.level_of_care_insert = action.payload;
|
|
25508
|
-
}), _defineProperty(_extraReducers$
|
|
25534
|
+
}), _defineProperty(_extraReducers$n, LEVEL_OF_CARE_SINGLE_READ.fulfilled, function (state, action) {
|
|
25509
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;
|
|
25510
|
-
}), _defineProperty(_extraReducers$
|
|
25536
|
+
}), _defineProperty(_extraReducers$n, LEVEL_OF_CARE_SINGLE_READ.pending, function (state, action) {
|
|
25511
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;
|
|
25512
|
-
}), _defineProperty(_extraReducers$
|
|
25538
|
+
}), _defineProperty(_extraReducers$n, LEVEL_OF_CARE_SINGLE_READ.rejected, function (state, action) {
|
|
25513
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;
|
|
25514
|
-
}), _defineProperty(_extraReducers$
|
|
25540
|
+
}), _defineProperty(_extraReducers$n, HEALTH_CARE_SERVICE_READ.fulfilled, function (state, action) {
|
|
25515
25541
|
state.health_care_service_read.loading = false, state.health_care_service_read.error = false, state.health_care_service_read = action.payload;
|
|
25516
|
-
}), _defineProperty(_extraReducers$
|
|
25542
|
+
}), _defineProperty(_extraReducers$n, HEALTH_CARE_SERVICE_READ.pending, function (state, action) {
|
|
25517
25543
|
state.health_care_service_read.loading = true, state.health_care_service_read.error = false, state.health_care_service_read.loading = true;
|
|
25518
|
-
}), _defineProperty(_extraReducers$
|
|
25544
|
+
}), _defineProperty(_extraReducers$n, HEALTH_CARE_SERVICE_READ.rejected, function (state, action) {
|
|
25519
25545
|
state.health_care_service_read.loading = false, state.health_care_service_read.error = true, state.health_care_service_read = action.payload;
|
|
25520
|
-
}), _defineProperty(_extraReducers$
|
|
25546
|
+
}), _defineProperty(_extraReducers$n, HEALTH_CARE_SERVICE_STATUS_CHANGE.fulfilled, function (state, action) {
|
|
25521
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;
|
|
25522
|
-
}), _defineProperty(_extraReducers$
|
|
25548
|
+
}), _defineProperty(_extraReducers$n, HEALTH_CARE_SERVICE_STATUS_CHANGE.pending, function (state, action) {
|
|
25523
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;
|
|
25524
|
-
}), _defineProperty(_extraReducers$
|
|
25550
|
+
}), _defineProperty(_extraReducers$n, HEALTH_CARE_SERVICE_STATUS_CHANGE.rejected, function (state, action) {
|
|
25525
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;
|
|
25526
|
-
}), _defineProperty(_extraReducers$
|
|
25552
|
+
}), _defineProperty(_extraReducers$n, HEALTH_CARE_SERVICE_INSERT.fulfilled, function (state, action) {
|
|
25527
25553
|
state.health_care_service_insert.loading = false, state.health_care_service_insert.error = false, state.health_care_service_insert = action.payload;
|
|
25528
|
-
}), _defineProperty(_extraReducers$
|
|
25554
|
+
}), _defineProperty(_extraReducers$n, HEALTH_CARE_SERVICE_INSERT.pending, function (state, action) {
|
|
25529
25555
|
state.health_care_service_insert.loading = true, state.health_care_service_insert.error = false, state.health_care_service_insert.loading = true;
|
|
25530
|
-
}), _defineProperty(_extraReducers$
|
|
25556
|
+
}), _defineProperty(_extraReducers$n, HEALTH_CARE_SERVICE_INSERT.rejected, function (state, action) {
|
|
25531
25557
|
state.health_care_service_insert.loading = false, state.health_care_service_insert.error = true, state.health_care_service_insert = action.payload;
|
|
25532
|
-
}), _defineProperty(_extraReducers$
|
|
25558
|
+
}), _defineProperty(_extraReducers$n, HEALTH_CARE_SERVICE_MASTER.fulfilled, function (state, action) {
|
|
25533
25559
|
state.health_care_service_master.loading = false, state.health_care_service_master.error = false, state.health_care_service_master = action.payload;
|
|
25534
|
-
}), _defineProperty(_extraReducers$
|
|
25560
|
+
}), _defineProperty(_extraReducers$n, HEALTH_CARE_SERVICE_MASTER.pending, function (state, action) {
|
|
25535
25561
|
state.health_care_service_master.loading = true, state.health_care_service_master.error = false, state.health_care_service_master.loading = true;
|
|
25536
|
-
}), _defineProperty(_extraReducers$
|
|
25562
|
+
}), _defineProperty(_extraReducers$n, HEALTH_CARE_SERVICE_MASTER.rejected, function (state, action) {
|
|
25537
25563
|
state.health_care_service_master.loading = false, state.health_care_service_master.error = true, state.health_care_service_master = action.payload;
|
|
25538
|
-
}), _defineProperty(_extraReducers$
|
|
25564
|
+
}), _defineProperty(_extraReducers$n, HEALTH_CARE_SERVICE_MASTER_LOCATION_DESCRIPTION.fulfilled, function (state, action) {
|
|
25539
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;
|
|
25540
|
-
}), _defineProperty(_extraReducers$
|
|
25566
|
+
}), _defineProperty(_extraReducers$n, HEALTH_CARE_SERVICE_MASTER_LOCATION_DESCRIPTION.pending, function (state, action) {
|
|
25541
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;
|
|
25542
|
-
}), _defineProperty(_extraReducers$
|
|
25568
|
+
}), _defineProperty(_extraReducers$n, HEALTH_CARE_SERVICE_MASTER_LOCATION_DESCRIPTION.rejected, function (state, action) {
|
|
25543
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;
|
|
25544
|
-
}), _defineProperty(_extraReducers$
|
|
25570
|
+
}), _defineProperty(_extraReducers$n, EDIT_HEALTH_CARE_SERVICE.fulfilled, function (state, action) {
|
|
25545
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;
|
|
25546
|
-
}), _defineProperty(_extraReducers$
|
|
25572
|
+
}), _defineProperty(_extraReducers$n, EDIT_HEALTH_CARE_SERVICE.pending, function (state, action) {
|
|
25547
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;
|
|
25548
|
-
}), _defineProperty(_extraReducers$
|
|
25574
|
+
}), _defineProperty(_extraReducers$n, EDIT_HEALTH_CARE_SERVICE.rejected, function (state, action) {
|
|
25549
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;
|
|
25550
|
-
}), _defineProperty(_extraReducers$
|
|
25576
|
+
}), _defineProperty(_extraReducers$n, SPECIALITY_READ.fulfilled, function (state, action) {
|
|
25551
25577
|
state.speciality_read.loading = false, state.speciality_read.error = false, state.speciality_read = action.payload;
|
|
25552
|
-
}), _defineProperty(_extraReducers$
|
|
25578
|
+
}), _defineProperty(_extraReducers$n, SPECIALITY_READ.pending, function (state, action) {
|
|
25553
25579
|
state.speciality_read.loading = true, state.speciality_read.error = false, state.speciality_read.loading = true;
|
|
25554
|
-
}), _defineProperty(_extraReducers$
|
|
25580
|
+
}), _defineProperty(_extraReducers$n, SPECIALITY_READ.rejected, function (state, action) {
|
|
25555
25581
|
state.speciality_read.loading = false, state.speciality_read.error = true, state.speciality_read = action.payload;
|
|
25556
|
-
}), _defineProperty(_extraReducers$
|
|
25582
|
+
}), _defineProperty(_extraReducers$n, SPECIALITY_CHILD_READ.fulfilled, function (state, action) {
|
|
25557
25583
|
state.speciality_child_read.loading = false, state.speciality_child_read.error = false, state.speciality_child_read = action.payload;
|
|
25558
|
-
}), _defineProperty(_extraReducers$
|
|
25584
|
+
}), _defineProperty(_extraReducers$n, SPECIALITY_CHILD_READ.pending, function (state, action) {
|
|
25559
25585
|
state.speciality_child_read.loading = true, state.speciality_child_read.error = false, state.speciality_child_read.loading = true;
|
|
25560
|
-
}), _defineProperty(_extraReducers$
|
|
25586
|
+
}), _defineProperty(_extraReducers$n, SPECIALITY_CHILD_READ.rejected, function (state, action) {
|
|
25561
25587
|
state.speciality_child_read.loading = false, state.speciality_child_read.error = true, state.speciality_child_read = action.payload;
|
|
25562
|
-
}), _defineProperty(_extraReducers$
|
|
25588
|
+
}), _defineProperty(_extraReducers$n, SPECIALTY_INSERT.fulfilled, function (state, action) {
|
|
25563
25589
|
state.speciality_insert.loading = false, state.speciality_insert.error = false, state.speciality_insert = action.payload;
|
|
25564
|
-
}), _defineProperty(_extraReducers$
|
|
25590
|
+
}), _defineProperty(_extraReducers$n, SPECIALTY_INSERT.pending, function (state, action) {
|
|
25565
25591
|
state.speciality_insert.loading = true, state.speciality_insert.error = false, state.speciality_insert.loading = true;
|
|
25566
|
-
}), _defineProperty(_extraReducers$
|
|
25592
|
+
}), _defineProperty(_extraReducers$n, SPECIALTY_INSERT.rejected, function (state, action) {
|
|
25567
25593
|
state.speciality_insert.loading = false, state.speciality_insert.error = true, state.speciality_insert = action.payload;
|
|
25568
|
-
}), _defineProperty(_extraReducers$
|
|
25594
|
+
}), _defineProperty(_extraReducers$n, EDIT_SPECIALITY.fulfilled, function (state, action) {
|
|
25569
25595
|
state.speciality_edit.loading = false, state.speciality_edit.error = false, state.speciality_edit = action.payload;
|
|
25570
|
-
}), _defineProperty(_extraReducers$
|
|
25596
|
+
}), _defineProperty(_extraReducers$n, EDIT_SPECIALITY.pending, function (state, action) {
|
|
25571
25597
|
state.speciality_edit.loading = true, state.speciality_edit.error = false, state.speciality_edit.loading = true;
|
|
25572
|
-
}), _defineProperty(_extraReducers$
|
|
25598
|
+
}), _defineProperty(_extraReducers$n, EDIT_SPECIALITY.rejected, function (state, action) {
|
|
25573
25599
|
state.speciality_edit.loading = false, state.speciality_edit.error = true, state.speciality_edit = action.payload;
|
|
25574
|
-
}), _extraReducers$
|
|
25600
|
+
}), _extraReducers$n)
|
|
25575
25601
|
});
|
|
25576
25602
|
var organizationConfigActions = {
|
|
25577
25603
|
CARE_TYPE_READ: CARE_TYPE_READ,
|
|
@@ -25594,7 +25620,7 @@ var organizationConfigActions = {
|
|
|
25594
25620
|
};
|
|
25595
25621
|
var organizationConfigSlice$1 = organizationConfigSlice.reducer;
|
|
25596
25622
|
|
|
25597
|
-
var _extraReducers$
|
|
25623
|
+
var _extraReducers$m;
|
|
25598
25624
|
var CARE_TYPE_MASTERS = createAsyncThunk("organizationConfigMasterAPISlice/care_type_master", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
|
25599
25625
|
var _ref2,
|
|
25600
25626
|
rejectWithValue,
|
|
@@ -25648,13 +25674,13 @@ var organizationConfigMasterSlice = createSlice({
|
|
|
25648
25674
|
initialState: {
|
|
25649
25675
|
care_type_master: _objectSpread2({}, defaultState.List)
|
|
25650
25676
|
},
|
|
25651
|
-
extraReducers: (_extraReducers$
|
|
25677
|
+
extraReducers: (_extraReducers$m = {}, _defineProperty(_extraReducers$m, CARE_TYPE_MASTERS.fulfilled, function (state, action) {
|
|
25652
25678
|
state.care_type_master.loading = false, state.care_type_master.error = false, state.care_type_master = action.payload;
|
|
25653
|
-
}), _defineProperty(_extraReducers$
|
|
25679
|
+
}), _defineProperty(_extraReducers$m, CARE_TYPE_MASTERS.pending, function (state, action) {
|
|
25654
25680
|
state.care_type_master.loading = true, state.care_type_master.error = false;
|
|
25655
|
-
}), _defineProperty(_extraReducers$
|
|
25681
|
+
}), _defineProperty(_extraReducers$m, CARE_TYPE_MASTERS.rejected, function (state, action) {
|
|
25656
25682
|
state.care_type_master.loading = false, state.care_type_master.error = true, state.care_type_master = action.payload;
|
|
25657
|
-
}), _extraReducers$
|
|
25683
|
+
}), _extraReducers$m)
|
|
25658
25684
|
});
|
|
25659
25685
|
var organizationConfigMasterActions = {
|
|
25660
25686
|
CARE_TYPE_MASTERS: CARE_TYPE_MASTERS
|
|
@@ -25683,7 +25709,7 @@ var query$6 = {
|
|
|
25683
25709
|
}
|
|
25684
25710
|
};
|
|
25685
25711
|
|
|
25686
|
-
var _extraReducers$
|
|
25712
|
+
var _extraReducers$l;
|
|
25687
25713
|
var __options = {
|
|
25688
25714
|
method: "POST",
|
|
25689
25715
|
headers: {
|
|
@@ -25962,35 +25988,35 @@ var signInSlice = createSlice({
|
|
|
25962
25988
|
SearchPractioner: _objectSpread2({}, defaultState.List),
|
|
25963
25989
|
refreshToken: _objectSpread2({}, defaultState.Info)
|
|
25964
25990
|
},
|
|
25965
|
-
extraReducers: (_extraReducers$
|
|
25991
|
+
extraReducers: (_extraReducers$l = {}, _defineProperty(_extraReducers$l, GET_PERMISSION_ROLE_DATA.fulfilled, function (state, action) {
|
|
25966
25992
|
state.getpermissiondata.loading = false, state.getpermissiondata.error = false, state.getpermissiondata = action.payload;
|
|
25967
|
-
}), _defineProperty(_extraReducers$
|
|
25993
|
+
}), _defineProperty(_extraReducers$l, GET_PERMISSION_ROLE_DATA.pending, function (state, action) {
|
|
25968
25994
|
state.getpermissiondata.loading = true, state.getpermissiondata.error = false, state.getpermissiondata.loading = true;
|
|
25969
|
-
}), _defineProperty(_extraReducers$
|
|
25995
|
+
}), _defineProperty(_extraReducers$l, GET_PERMISSION_ROLE_DATA.rejected, function (state, action) {
|
|
25970
25996
|
state.getpermissiondata.loading = false, state.getpermissiondata.error = true, state.getpermissiondata = action.payload;
|
|
25971
|
-
}), _defineProperty(_extraReducers$
|
|
25997
|
+
}), _defineProperty(_extraReducers$l, SEARCH_PRACTIONER.fulfilled, function (state, action) {
|
|
25972
25998
|
state.SearchPractioner.loading = false, state.SearchPractioner.error = false, state.SearchPractioner = action.payload;
|
|
25973
|
-
}), _defineProperty(_extraReducers$
|
|
25999
|
+
}), _defineProperty(_extraReducers$l, SEARCH_PRACTIONER.pending, function (state, action) {
|
|
25974
26000
|
state.SearchPractioner.loading = true, state.SearchPractioner.error = false, state.SearchPractioner.loading = true;
|
|
25975
|
-
}), _defineProperty(_extraReducers$
|
|
26001
|
+
}), _defineProperty(_extraReducers$l, SEARCH_PRACTIONER.rejected, function (state, action) {
|
|
25976
26002
|
state.SearchPractioner.loading = false, state.SearchPractioner.error = true, state.SearchPractioner = action.payload;
|
|
25977
|
-
}), _defineProperty(_extraReducers$
|
|
26003
|
+
}), _defineProperty(_extraReducers$l, SIGN_IN_READ.fulfilled, function (state, action) {
|
|
25978
26004
|
state.sign_in_read.loading = false, state.sign_in_read.error = false, state.sign_in_read = action.payload;
|
|
25979
|
-
}), _defineProperty(_extraReducers$
|
|
26005
|
+
}), _defineProperty(_extraReducers$l, SIGN_IN_READ.pending, function (state, action) {
|
|
25980
26006
|
state.sign_in_read.loading = true, state.sign_in_read.error = false, state.sign_in_read.loading = true;
|
|
25981
|
-
}), _defineProperty(_extraReducers$
|
|
26007
|
+
}), _defineProperty(_extraReducers$l, SIGN_IN_READ.rejected, function (state, action) {
|
|
25982
26008
|
state.sign_in_read.loading = false, state.sign_in_read.error = true, state.sign_in_read = action.payload;
|
|
25983
|
-
}), _defineProperty(_extraReducers$
|
|
26009
|
+
}), _defineProperty(_extraReducers$l, REFRESH_TOKEN.fulfilled, function (state, action) {
|
|
25984
26010
|
var _action$payload;
|
|
25985
26011
|
|
|
25986
26012
|
state.refreshToken = (_action$payload = action === null || action === void 0 ? void 0 : action.payload) !== null && _action$payload !== void 0 ? _action$payload : {};
|
|
25987
|
-
}), _defineProperty(_extraReducers$
|
|
26013
|
+
}), _defineProperty(_extraReducers$l, REFRESH_TOKEN.pending, function (state, action) {
|
|
25988
26014
|
state.refreshToken.loading = true;
|
|
25989
|
-
}), _defineProperty(_extraReducers$
|
|
26015
|
+
}), _defineProperty(_extraReducers$l, REFRESH_TOKEN.rejected, function (state, action) {
|
|
25990
26016
|
var _action$payload2;
|
|
25991
26017
|
|
|
25992
26018
|
state.refreshToken = (_action$payload2 = action === null || action === void 0 ? void 0 : action.payload) !== null && _action$payload2 !== void 0 ? _action$payload2 : {};
|
|
25993
|
-
}), _extraReducers$
|
|
26019
|
+
}), _extraReducers$l)
|
|
25994
26020
|
});
|
|
25995
26021
|
var signinActions = {
|
|
25996
26022
|
SIGN_IN_READ: SIGN_IN_READ,
|
|
@@ -26011,6 +26037,7 @@ var queries$a = {
|
|
|
26011
26037
|
"db_name": dbName,
|
|
26012
26038
|
"entity": "CodeableConceptMaster"
|
|
26013
26039
|
}, filter), {}, {
|
|
26040
|
+
"sort": "CodeableConceptMaster.createddate",
|
|
26014
26041
|
"return_fields": "MERGE(CodeableConceptMaster,{coding:(for cod IN TO_ARRAY(CodeableConceptMaster.coding) RETURN DOCUMENT(cod))})"
|
|
26015
26042
|
});
|
|
26016
26043
|
},
|
|
@@ -26114,7 +26141,7 @@ var queries$a = {
|
|
|
26114
26141
|
}
|
|
26115
26142
|
};
|
|
26116
26143
|
|
|
26117
|
-
var _extraReducers$
|
|
26144
|
+
var _extraReducers$k;
|
|
26118
26145
|
var PERMISSION_ROLE_UPSERT = createAsyncThunk("rolesSlice/permission_role_upsert", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
|
26119
26146
|
var payload,
|
|
26120
26147
|
_ref2,
|
|
@@ -26444,49 +26471,49 @@ var rolesSlice = createSlice({
|
|
|
26444
26471
|
codable_concept_delete: _objectSpread2({}, defaultState.List),
|
|
26445
26472
|
coding_upsert: _objectSpread2({}, defaultState.List)
|
|
26446
26473
|
},
|
|
26447
|
-
extraReducers: (_extraReducers$
|
|
26474
|
+
extraReducers: (_extraReducers$k = {}, _defineProperty(_extraReducers$k, PERMISSION_ROLE_UPSERT.fulfilled, function (state, action) {
|
|
26448
26475
|
state.permission_role_upsert.loading = false, state.permission_role_upsert.error = false, state.permission_role_upsert = action.payload;
|
|
26449
|
-
}), _defineProperty(_extraReducers$
|
|
26476
|
+
}), _defineProperty(_extraReducers$k, PERMISSION_ROLE_UPSERT.pending, function (state, action) {
|
|
26450
26477
|
state.permission_role_upsert.loading = true, state.permission_role_upsert.error = false, state.permission_role_upsert.loading = true;
|
|
26451
|
-
}), _defineProperty(_extraReducers$
|
|
26478
|
+
}), _defineProperty(_extraReducers$k, PERMISSION_ROLE_UPSERT.rejected, function (state, action) {
|
|
26452
26479
|
state.permission_role_upsert.loading = false, state.permission_role_upsert.error = true, state.permission_role_upsert = action.payload;
|
|
26453
|
-
}), _defineProperty(_extraReducers$
|
|
26480
|
+
}), _defineProperty(_extraReducers$k, CODABALE_CONCEPT_UPSERT.fulfilled, function (state, action) {
|
|
26454
26481
|
state.codable_concept_upsert.loading = false, state.codable_concept_upsert.error = false, state.codable_concept_upsert = action.payload;
|
|
26455
|
-
}), _defineProperty(_extraReducers$
|
|
26482
|
+
}), _defineProperty(_extraReducers$k, CODABALE_CONCEPT_UPSERT.pending, function (state, action) {
|
|
26456
26483
|
state.codable_concept_upsert.loading = true, state.codable_concept_upsert.error = false, state.codable_concept_upsert.loading = true;
|
|
26457
|
-
}), _defineProperty(_extraReducers$
|
|
26484
|
+
}), _defineProperty(_extraReducers$k, CODABALE_CONCEPT_UPSERT.rejected, function (state, action) {
|
|
26458
26485
|
state.codable_concept_upsert.loading = false, state.codable_concept_upsert.error = true, state.codable_concept_upsert = action.payload;
|
|
26459
|
-
}), _defineProperty(_extraReducers$
|
|
26486
|
+
}), _defineProperty(_extraReducers$k, PERMISSION_MANAGEMENT_READ.fulfilled, function (state, action) {
|
|
26460
26487
|
state.permission_management_read.loading = false, state.permission_management_read.error = false, state.permission_management_read = action.payload;
|
|
26461
|
-
}), _defineProperty(_extraReducers$
|
|
26488
|
+
}), _defineProperty(_extraReducers$k, PERMISSION_MANAGEMENT_READ.pending, function (state, action) {
|
|
26462
26489
|
state.permission_management_read.loading = true, state.permission_management_read.error = false, state.permission_management_read.loading = true;
|
|
26463
|
-
}), _defineProperty(_extraReducers$
|
|
26490
|
+
}), _defineProperty(_extraReducers$k, PERMISSION_MANAGEMENT_READ.rejected, function (state, action) {
|
|
26464
26491
|
state.permission_management_read.loading = false, state.permission_management_read.error = true, state.permission_management_read = action.payload;
|
|
26465
|
-
}), _defineProperty(_extraReducers$
|
|
26492
|
+
}), _defineProperty(_extraReducers$k, PERMISSION_MANAGEMENT_ROLE_READ.fulfilled, function (state, action) {
|
|
26466
26493
|
state.permission_management_role_read.loading = false, state.permission_management_role_read.error = false, state.permission_management_role_read = action.payload;
|
|
26467
|
-
}), _defineProperty(_extraReducers$
|
|
26494
|
+
}), _defineProperty(_extraReducers$k, PERMISSION_MANAGEMENT_ROLE_READ.pending, function (state, action) {
|
|
26468
26495
|
state.permission_management_role_read.loading = true, state.permission_management_role_read.error = false, state.permission_management_role_read.loading = true;
|
|
26469
|
-
}), _defineProperty(_extraReducers$
|
|
26496
|
+
}), _defineProperty(_extraReducers$k, PERMISSION_MANAGEMENT_ROLE_READ.rejected, function (state, action) {
|
|
26470
26497
|
state.permission_management_role_read.loading = false, state.permission_management_role_read.error = true, state.permission_management_role_read = action.payload;
|
|
26471
|
-
}), _defineProperty(_extraReducers$
|
|
26498
|
+
}), _defineProperty(_extraReducers$k, ROLE_READ.fulfilled, function (state, action) {
|
|
26472
26499
|
state.role_read.loading = false, state.role_read.error = false, state.role_read = action.payload;
|
|
26473
|
-
}), _defineProperty(_extraReducers$
|
|
26500
|
+
}), _defineProperty(_extraReducers$k, ROLE_READ.pending, function (state, action) {
|
|
26474
26501
|
state.role_read.loading = true, state.role_read.error = false, state.role_read.loading = true;
|
|
26475
|
-
}), _defineProperty(_extraReducers$
|
|
26502
|
+
}), _defineProperty(_extraReducers$k, ROLE_READ.rejected, function (state, action) {
|
|
26476
26503
|
state.role_read.loading = false, state.role_read.error = true, state.role_read = action.payload;
|
|
26477
|
-
}), _defineProperty(_extraReducers$
|
|
26504
|
+
}), _defineProperty(_extraReducers$k, CODABALE_CONCEPT_DELETE.fulfilled, function (state, action) {
|
|
26478
26505
|
state.role_read.loading = false, state.role_read.error = false, state.role_read = action.payload;
|
|
26479
|
-
}), _defineProperty(_extraReducers$
|
|
26506
|
+
}), _defineProperty(_extraReducers$k, CODABALE_CONCEPT_DELETE.pending, function (state, action) {
|
|
26480
26507
|
state.role_read.loading = true, state.role_read.error = false, state.role_read.loading = true;
|
|
26481
|
-
}), _defineProperty(_extraReducers$
|
|
26508
|
+
}), _defineProperty(_extraReducers$k, CODABALE_CONCEPT_DELETE.rejected, function (state, action) {
|
|
26482
26509
|
state.role_read.loading = false, state.role_read.error = true, state.role_read = action.payload;
|
|
26483
|
-
}), _defineProperty(_extraReducers$
|
|
26510
|
+
}), _defineProperty(_extraReducers$k, CODING_UPSERT.fulfilled, function (state, action) {
|
|
26484
26511
|
state.coding_upsert.loading = false, state.coding_upsert.error = false, state.coding_upsert = action.payload;
|
|
26485
|
-
}), _defineProperty(_extraReducers$
|
|
26512
|
+
}), _defineProperty(_extraReducers$k, CODING_UPSERT.pending, function (state, action) {
|
|
26486
26513
|
state.coding_upsert.loading = true, state.coding_upsert.error = false, state.coding_upsert.loading = true;
|
|
26487
|
-
}), _defineProperty(_extraReducers$
|
|
26514
|
+
}), _defineProperty(_extraReducers$k, CODING_UPSERT.rejected, function (state, action) {
|
|
26488
26515
|
state.coding_upsert.loading = false, state.coding_upsert.error = true, state.coding_upsert = action.payload;
|
|
26489
|
-
}), _extraReducers$
|
|
26516
|
+
}), _extraReducers$k)
|
|
26490
26517
|
});
|
|
26491
26518
|
var roleActions = {
|
|
26492
26519
|
CODING_UPSERT: CODING_UPSERT,
|
|
@@ -26548,7 +26575,7 @@ var queries$9 = {
|
|
|
26548
26575
|
}
|
|
26549
26576
|
};
|
|
26550
26577
|
|
|
26551
|
-
var _extraReducers$
|
|
26578
|
+
var _extraReducers$j;
|
|
26552
26579
|
var REPOSITORY_READ_DOCUMENT = createAsyncThunk("repositorySlice/repository_read", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
|
26553
26580
|
var payload,
|
|
26554
26581
|
_ref2,
|
|
@@ -26602,13 +26629,13 @@ var repositorySlice = createSlice({
|
|
|
26602
26629
|
initialState: {
|
|
26603
26630
|
repository_read: _objectSpread2({}, defaultState.List)
|
|
26604
26631
|
},
|
|
26605
|
-
extraReducers: (_extraReducers$
|
|
26632
|
+
extraReducers: (_extraReducers$j = {}, _defineProperty(_extraReducers$j, REPOSITORY_READ_DOCUMENT.fulfilled, function (state, action) {
|
|
26606
26633
|
state.repository_read.loading = false, state.repository_read.error = false, state.repository_read = action.payload;
|
|
26607
|
-
}), _defineProperty(_extraReducers$
|
|
26634
|
+
}), _defineProperty(_extraReducers$j, REPOSITORY_READ_DOCUMENT.pending, function (state, action) {
|
|
26608
26635
|
state.repository_read.loading = true, state.repository_read.error = false, state.repository_read.loading = true;
|
|
26609
|
-
}), _defineProperty(_extraReducers$
|
|
26636
|
+
}), _defineProperty(_extraReducers$j, REPOSITORY_READ_DOCUMENT.rejected, function (state, action) {
|
|
26610
26637
|
state.repository_read.loading = false, state.repository_read.error = true, state.repository_read = action.payload;
|
|
26611
|
-
}), _extraReducers$
|
|
26638
|
+
}), _extraReducers$j)
|
|
26612
26639
|
});
|
|
26613
26640
|
var repositoryActions = {
|
|
26614
26641
|
REPOSITORY_READ_DOCUMENT: REPOSITORY_READ_DOCUMENT
|
|
@@ -26667,7 +26694,7 @@ var queries$8 = {
|
|
|
26667
26694
|
}
|
|
26668
26695
|
};
|
|
26669
26696
|
|
|
26670
|
-
var _extraReducers$
|
|
26697
|
+
var _extraReducers$i;
|
|
26671
26698
|
var PERMISSION_UPSERT = createAsyncThunk("permissionSlice/permission_upsert", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
|
26672
26699
|
var payload,
|
|
26673
26700
|
_ref2,
|
|
@@ -26813,25 +26840,25 @@ var permissionSlice = createSlice({
|
|
|
26813
26840
|
permission_delete: _objectSpread2({}, defaultState.List),
|
|
26814
26841
|
permission_read: _objectSpread2({}, defaultState.List)
|
|
26815
26842
|
},
|
|
26816
|
-
extraReducers: (_extraReducers$
|
|
26843
|
+
extraReducers: (_extraReducers$i = {}, _defineProperty(_extraReducers$i, PERMISSION_UPSERT.fulfilled, function (state, action) {
|
|
26817
26844
|
state.permission_upsert.loading = false, state.permission_upsert.error = false, state.permission_upsert = action.payload;
|
|
26818
|
-
}), _defineProperty(_extraReducers$
|
|
26845
|
+
}), _defineProperty(_extraReducers$i, PERMISSION_UPSERT.pending, function (state, action) {
|
|
26819
26846
|
state.permission_upsert.loading = true, state.permission_upsert.error = false, state.permission_upsert.loading = true;
|
|
26820
|
-
}), _defineProperty(_extraReducers$
|
|
26847
|
+
}), _defineProperty(_extraReducers$i, PERMISSION_UPSERT.rejected, function (state, action) {
|
|
26821
26848
|
state.permission_upsert.loading = false, state.permission_upsert.error = true, state.permission_upsert = action.payload;
|
|
26822
|
-
}), _defineProperty(_extraReducers$
|
|
26849
|
+
}), _defineProperty(_extraReducers$i, PERMISSION_DELETE.fulfilled, function (state, action) {
|
|
26823
26850
|
state.permission_delete.loading = false, state.permission_delete.error = false, state.permission_delete = action.payload;
|
|
26824
|
-
}), _defineProperty(_extraReducers$
|
|
26851
|
+
}), _defineProperty(_extraReducers$i, PERMISSION_DELETE.pending, function (state, action) {
|
|
26825
26852
|
state.permission_delete.loading = true, state.permission_delete.error = false, state.permission_delete.loading = true;
|
|
26826
|
-
}), _defineProperty(_extraReducers$
|
|
26853
|
+
}), _defineProperty(_extraReducers$i, PERMISSION_DELETE.rejected, function (state, action) {
|
|
26827
26854
|
state.permission_delete.loading = false, state.permission_delete.error = true, state.permission_delete = action.payload;
|
|
26828
|
-
}), _defineProperty(_extraReducers$
|
|
26855
|
+
}), _defineProperty(_extraReducers$i, PERMISSION_READ.fulfilled, function (state, action) {
|
|
26829
26856
|
state.permission_read.loading = false, state.permission_read.error = false, state.permission_read = action.payload;
|
|
26830
|
-
}), _defineProperty(_extraReducers$
|
|
26857
|
+
}), _defineProperty(_extraReducers$i, PERMISSION_READ.pending, function (state, action) {
|
|
26831
26858
|
state.permission_read.loading = true, state.permission_read.error = false, state.permission_read.loading = true;
|
|
26832
|
-
}), _defineProperty(_extraReducers$
|
|
26859
|
+
}), _defineProperty(_extraReducers$i, PERMISSION_READ.rejected, function (state, action) {
|
|
26833
26860
|
state.permission_read.loading = false, state.permission_read.error = true, state.permission_read = action.payload;
|
|
26834
|
-
}), _extraReducers$
|
|
26861
|
+
}), _extraReducers$i)
|
|
26835
26862
|
});
|
|
26836
26863
|
var permissionActions = {
|
|
26837
26864
|
PERMISSION_READ: PERMISSION_READ,
|
|
@@ -26848,6 +26875,7 @@ var queries$7 = {
|
|
|
26848
26875
|
"db_name": "primarycare",
|
|
26849
26876
|
"entity": "Person",
|
|
26850
26877
|
"filter": "Person.activestatus==true",
|
|
26878
|
+
"sort": "Person.createddate",
|
|
26851
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)})"
|
|
26852
26880
|
};
|
|
26853
26881
|
},
|
|
@@ -26990,7 +27018,7 @@ var queries$7 = {
|
|
|
26990
27018
|
// }
|
|
26991
27019
|
// },
|
|
26992
27020
|
|
|
26993
|
-
var _extraReducers$
|
|
27021
|
+
var _extraReducers$h;
|
|
26994
27022
|
var PERSON_UPSERT = createAsyncThunk("personSlice/person_upsert", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
|
26995
27023
|
var payload,
|
|
26996
27024
|
_ref2,
|
|
@@ -27631,85 +27659,85 @@ var personSlice = createSlice({
|
|
|
27631
27659
|
use_master: _objectSpread2({}, defaultState.List),
|
|
27632
27660
|
single_read_person: _objectSpread2({}, defaultState.List)
|
|
27633
27661
|
},
|
|
27634
|
-
extraReducers: (_extraReducers$
|
|
27662
|
+
extraReducers: (_extraReducers$h = {}, _defineProperty(_extraReducers$h, PERSON_UPSERT.fulfilled, function (state, action) {
|
|
27635
27663
|
state.person_upsert.loading = false, state.person_upsert.error = false, state.person_upsert = action.payload;
|
|
27636
|
-
}), _defineProperty(_extraReducers$
|
|
27664
|
+
}), _defineProperty(_extraReducers$h, PERSON_UPSERT.pending, function (state, action) {
|
|
27637
27665
|
state.person_upsert.loading = true, state.person_upsert.error = false, state.person_upsert.loading = true;
|
|
27638
|
-
}), _defineProperty(_extraReducers$
|
|
27666
|
+
}), _defineProperty(_extraReducers$h, PERSON_UPSERT.rejected, function (state, action) {
|
|
27639
27667
|
state.person_upsert.loading = false, state.person_upsert.error = true, state.person_upsert = action.payload;
|
|
27640
|
-
}), _defineProperty(_extraReducers$
|
|
27668
|
+
}), _defineProperty(_extraReducers$h, PERSON_DELETE.fulfilled, function (state, action) {
|
|
27641
27669
|
state.person_delete.loading = false, state.person_delete.error = false, state.person_delete = action.payload;
|
|
27642
|
-
}), _defineProperty(_extraReducers$
|
|
27670
|
+
}), _defineProperty(_extraReducers$h, PERSON_DELETE.pending, function (state, action) {
|
|
27643
27671
|
state.person_delete.loading = true, state.person_delete.error = false, state.person_delete.loading = true;
|
|
27644
|
-
}), _defineProperty(_extraReducers$
|
|
27672
|
+
}), _defineProperty(_extraReducers$h, PERSON_DELETE.rejected, function (state, action) {
|
|
27645
27673
|
state.person_delete.loading = false, state.person_delete.error = true, state.person_delete = action.payload;
|
|
27646
|
-
}), _defineProperty(_extraReducers$
|
|
27674
|
+
}), _defineProperty(_extraReducers$h, PERSON_READ.fulfilled, function (state, action) {
|
|
27647
27675
|
state.person_read.loading = false, state.person_read.error = false, state.person_read = action.payload;
|
|
27648
|
-
}), _defineProperty(_extraReducers$
|
|
27676
|
+
}), _defineProperty(_extraReducers$h, PERSON_READ.pending, function (state, action) {
|
|
27649
27677
|
state.person_read.loading = true, state.person_read.error = false, state.person_read.loading = true;
|
|
27650
|
-
}), _defineProperty(_extraReducers$
|
|
27678
|
+
}), _defineProperty(_extraReducers$h, PERSON_READ.rejected, function (state, action) {
|
|
27651
27679
|
state.person_read.loading = false, state.person_read.error = true, state.person_read = action.payload;
|
|
27652
|
-
}), _defineProperty(_extraReducers$
|
|
27680
|
+
}), _defineProperty(_extraReducers$h, CONTACTSYSTEMMASTER.fulfilled, function (state, action) {
|
|
27653
27681
|
state.contact_system_master.loading = false, state.contact_system_master.error = false, state.contact_system_master = action.payload;
|
|
27654
|
-
}), _defineProperty(_extraReducers$
|
|
27682
|
+
}), _defineProperty(_extraReducers$h, CONTACTSYSTEMMASTER.pending, function (state, action) {
|
|
27655
27683
|
state.contact_system_master.loading = true, state.contact_system_master.error = false, state.contact_system_master.loading = true;
|
|
27656
|
-
}), _defineProperty(_extraReducers$
|
|
27684
|
+
}), _defineProperty(_extraReducers$h, CONTACTSYSTEMMASTER.rejected, function (state, action) {
|
|
27657
27685
|
state.contact_system_master.loading = false, state.contact_system_master.error = true, state.contact_system_master = action.payload;
|
|
27658
|
-
}), _defineProperty(_extraReducers$
|
|
27686
|
+
}), _defineProperty(_extraReducers$h, ENTITYNAMEMASTER.fulfilled, function (state, action) {
|
|
27659
27687
|
state.entity_name_master.loading = false, state.entity_name_master.error = false, state.entity_name_master = action.payload;
|
|
27660
|
-
}), _defineProperty(_extraReducers$
|
|
27688
|
+
}), _defineProperty(_extraReducers$h, ENTITYNAMEMASTER.pending, function (state, action) {
|
|
27661
27689
|
state.entity_name_master.loading = true, state.entity_name_master.error = false, state.entity_name_master.loading = true;
|
|
27662
|
-
}), _defineProperty(_extraReducers$
|
|
27690
|
+
}), _defineProperty(_extraReducers$h, ENTITYNAMEMASTER.rejected, function (state, action) {
|
|
27663
27691
|
state.entity_name_master.loading = false, state.entity_name_master.error = true, state.entity_name_master = action.payload;
|
|
27664
|
-
}), _defineProperty(_extraReducers$
|
|
27692
|
+
}), _defineProperty(_extraReducers$h, ENTITYTYPEMASTER.fulfilled, function (state, action) {
|
|
27665
27693
|
state.entity_type_master.loading = false, state.entity_type_master.error = false, state.entity_type_master = action.payload;
|
|
27666
|
-
}), _defineProperty(_extraReducers$
|
|
27694
|
+
}), _defineProperty(_extraReducers$h, ENTITYTYPEMASTER.pending, function (state, action) {
|
|
27667
27695
|
state.entity_type_master.loading = true, state.entity_type_master.error = false, state.entity_type_master.loading = true;
|
|
27668
|
-
}), _defineProperty(_extraReducers$
|
|
27696
|
+
}), _defineProperty(_extraReducers$h, ENTITYTYPEMASTER.rejected, function (state, action) {
|
|
27669
27697
|
state.entity_type_master.loading = false, state.entity_type_master.error = true, state.entity_type_master = action.payload;
|
|
27670
|
-
}), _defineProperty(_extraReducers$
|
|
27698
|
+
}), _defineProperty(_extraReducers$h, GENDERMASTER.fulfilled, function (state, action) {
|
|
27671
27699
|
state.gender_master.loading = false, state.gender_master.error = false, state.gender_master = action.payload;
|
|
27672
|
-
}), _defineProperty(_extraReducers$
|
|
27700
|
+
}), _defineProperty(_extraReducers$h, GENDERMASTER.pending, function (state, action) {
|
|
27673
27701
|
state.gender_master.loading = true, state.gender_master.error = false, state.gender_master.loading = true;
|
|
27674
|
-
}), _defineProperty(_extraReducers$
|
|
27702
|
+
}), _defineProperty(_extraReducers$h, GENDERMASTER.rejected, function (state, action) {
|
|
27675
27703
|
state.gender_master.loading = false, state.gender_master.error = true, state.gender_master = action.payload;
|
|
27676
|
-
}), _defineProperty(_extraReducers$
|
|
27704
|
+
}), _defineProperty(_extraReducers$h, IDTYPEMASTER.fulfilled, function (state, action) {
|
|
27677
27705
|
state.id_type_master.loading = false, state.id_type_master.error = false, state.id_type_master = action.payload;
|
|
27678
|
-
}), _defineProperty(_extraReducers$
|
|
27706
|
+
}), _defineProperty(_extraReducers$h, IDTYPEMASTER.pending, function (state, action) {
|
|
27679
27707
|
state.id_type_master.loading = true, state.id_type_master.error = false, state.id_type_master.loading = true;
|
|
27680
|
-
}), _defineProperty(_extraReducers$
|
|
27708
|
+
}), _defineProperty(_extraReducers$h, IDTYPEMASTER.rejected, function (state, action) {
|
|
27681
27709
|
state.id_type_master.loading = false, state.id_type_master.error = true, state.id_type_master = action.payload;
|
|
27682
|
-
}), _defineProperty(_extraReducers$
|
|
27710
|
+
}), _defineProperty(_extraReducers$h, PREFIXMASTER.fulfilled, function (state, action) {
|
|
27683
27711
|
state.prefix_master.loading = false, state.prefix_master.error = false, state.prefix_master = action.payload;
|
|
27684
|
-
}), _defineProperty(_extraReducers$
|
|
27712
|
+
}), _defineProperty(_extraReducers$h, PREFIXMASTER.pending, function (state, action) {
|
|
27685
27713
|
state.prefix_master.loading = true, state.prefix_master.error = false, state.prefix_master.loading = true;
|
|
27686
|
-
}), _defineProperty(_extraReducers$
|
|
27714
|
+
}), _defineProperty(_extraReducers$h, PREFIXMASTER.rejected, function (state, action) {
|
|
27687
27715
|
state.prefix_master.loading = false, state.prefix_master.error = true, state.prefix_master = action.payload;
|
|
27688
|
-
}), _defineProperty(_extraReducers$
|
|
27716
|
+
}), _defineProperty(_extraReducers$h, PRIORITYMASTER.fulfilled, function (state, action) {
|
|
27689
27717
|
state.priority_master.loading = false, state.priority_master.error = false, state.priority_master = action.payload;
|
|
27690
|
-
}), _defineProperty(_extraReducers$
|
|
27718
|
+
}), _defineProperty(_extraReducers$h, PRIORITYMASTER.pending, function (state, action) {
|
|
27691
27719
|
state.priority_master.loading = true, state.priority_master.error = false, state.priority_master.loading = true;
|
|
27692
|
-
}), _defineProperty(_extraReducers$
|
|
27720
|
+
}), _defineProperty(_extraReducers$h, PRIORITYMASTER.rejected, function (state, action) {
|
|
27693
27721
|
state.priority_master.loading = false, state.priority_master.error = true, state.priority_master = action.payload;
|
|
27694
|
-
}), _defineProperty(_extraReducers$
|
|
27722
|
+
}), _defineProperty(_extraReducers$h, SURFFIXMASTER.fulfilled, function (state, action) {
|
|
27695
27723
|
state.surffix_master.loading = false, state.surffix_master.error = false, state.surffix_master = action.payload;
|
|
27696
|
-
}), _defineProperty(_extraReducers$
|
|
27724
|
+
}), _defineProperty(_extraReducers$h, SURFFIXMASTER.pending, function (state, action) {
|
|
27697
27725
|
state.surffix_master.loading = true, state.surffix_master.error = false, state.surffix_master.loading = true;
|
|
27698
|
-
}), _defineProperty(_extraReducers$
|
|
27726
|
+
}), _defineProperty(_extraReducers$h, SURFFIXMASTER.rejected, function (state, action) {
|
|
27699
27727
|
state.surffix_master.loading = false, state.surffix_master.error = true, state.surffix_master = action.payload;
|
|
27700
|
-
}), _defineProperty(_extraReducers$
|
|
27728
|
+
}), _defineProperty(_extraReducers$h, USEMASTER.fulfilled, function (state, action) {
|
|
27701
27729
|
state.use_master.loading = false, state.use_master.error = false, state.use_master = action.payload;
|
|
27702
|
-
}), _defineProperty(_extraReducers$
|
|
27730
|
+
}), _defineProperty(_extraReducers$h, USEMASTER.pending, function (state, action) {
|
|
27703
27731
|
state.use_master.loading = true, state.use_master.error = false, state.use_master.loading = true;
|
|
27704
|
-
}), _defineProperty(_extraReducers$
|
|
27732
|
+
}), _defineProperty(_extraReducers$h, USEMASTER.rejected, function (state, action) {
|
|
27705
27733
|
state.use_master.loading = false, state.use_master.error = true, state.use_master = action.payload;
|
|
27706
|
-
}), _defineProperty(_extraReducers$
|
|
27734
|
+
}), _defineProperty(_extraReducers$h, SINGLE_PERSON_READ.fulfilled, function (state, action) {
|
|
27707
27735
|
state.single_read_person.loading = false, state.single_read_person.error = false, state.single_read_person = action.payload;
|
|
27708
|
-
}), _defineProperty(_extraReducers$
|
|
27736
|
+
}), _defineProperty(_extraReducers$h, SINGLE_PERSON_READ.pending, function (state, action) {
|
|
27709
27737
|
state.single_read_person.loading = true, state.single_read_person.error = false, state.single_read_person.loading = true;
|
|
27710
|
-
}), _defineProperty(_extraReducers$
|
|
27738
|
+
}), _defineProperty(_extraReducers$h, SINGLE_PERSON_READ.rejected, function (state, action) {
|
|
27711
27739
|
state.single_read_person.loading = false, state.single_read_person.error = true, state.single_read_person = action.payload;
|
|
27712
|
-
}), _extraReducers$
|
|
27740
|
+
}), _extraReducers$h)
|
|
27713
27741
|
});
|
|
27714
27742
|
var personActions = {
|
|
27715
27743
|
PERSON_READ: PERSON_READ,
|
|
@@ -27788,7 +27816,7 @@ var queries$6 = {
|
|
|
27788
27816
|
}
|
|
27789
27817
|
};
|
|
27790
27818
|
|
|
27791
|
-
var _extraReducers$
|
|
27819
|
+
var _extraReducers$g;
|
|
27792
27820
|
var USER_UPSERT = createAsyncThunk("userSlice/user_upsert", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
|
27793
27821
|
var payload,
|
|
27794
27822
|
_ref2,
|
|
@@ -27928,25 +27956,25 @@ var userSlice = createSlice({
|
|
|
27928
27956
|
user_delete: _objectSpread2({}, defaultState.List),
|
|
27929
27957
|
user_read: _objectSpread2({}, defaultState.List)
|
|
27930
27958
|
},
|
|
27931
|
-
extraReducers: (_extraReducers$
|
|
27959
|
+
extraReducers: (_extraReducers$g = {}, _defineProperty(_extraReducers$g, USER_UPSERT.fulfilled, function (state, action) {
|
|
27932
27960
|
state.user_upsert.loading = false, state.user_upsert.error = false, state.user_upsert = action.payload;
|
|
27933
|
-
}), _defineProperty(_extraReducers$
|
|
27961
|
+
}), _defineProperty(_extraReducers$g, USER_UPSERT.pending, function (state, action) {
|
|
27934
27962
|
state.user_upsert.loading = true, state.user_upsert.error = false, state.user_upsert.loading = true;
|
|
27935
|
-
}), _defineProperty(_extraReducers$
|
|
27963
|
+
}), _defineProperty(_extraReducers$g, USER_UPSERT.rejected, function (state, action) {
|
|
27936
27964
|
state.user_upsert.loading = false, state.user_upsert.error = true, state.user_upsert = action.payload;
|
|
27937
|
-
}), _defineProperty(_extraReducers$
|
|
27965
|
+
}), _defineProperty(_extraReducers$g, USER_DELETE.fulfilled, function (state, action) {
|
|
27938
27966
|
state.user_delete.loading = false, state.user_delete.error = false, state.user_delete = action.payload;
|
|
27939
|
-
}), _defineProperty(_extraReducers$
|
|
27967
|
+
}), _defineProperty(_extraReducers$g, USER_DELETE.pending, function (state, action) {
|
|
27940
27968
|
state.user_delete.loading = true, state.user_delete.error = false, state.user_delete.loading = true;
|
|
27941
|
-
}), _defineProperty(_extraReducers$
|
|
27969
|
+
}), _defineProperty(_extraReducers$g, USER_DELETE.rejected, function (state, action) {
|
|
27942
27970
|
state.user_delete.loading = false, state.user_delete.error = true, state.user_delete = action.payload;
|
|
27943
|
-
}), _defineProperty(_extraReducers$
|
|
27971
|
+
}), _defineProperty(_extraReducers$g, USER_READ.fulfilled, function (state, action) {
|
|
27944
27972
|
state.user_read.loading = false, state.user_read.error = false, state.user_read = action.payload;
|
|
27945
|
-
}), _defineProperty(_extraReducers$
|
|
27973
|
+
}), _defineProperty(_extraReducers$g, USER_READ.pending, function (state, action) {
|
|
27946
27974
|
state.user_read.loading = true, state.user_read.error = false, state.user_read.loading = true;
|
|
27947
|
-
}), _defineProperty(_extraReducers$
|
|
27975
|
+
}), _defineProperty(_extraReducers$g, USER_READ.rejected, function (state, action) {
|
|
27948
27976
|
state.user_read.loading = false, state.user_read.error = true, state.user_read = action.payload;
|
|
27949
|
-
}), _extraReducers$
|
|
27977
|
+
}), _extraReducers$g)
|
|
27950
27978
|
});
|
|
27951
27979
|
var userActions = {
|
|
27952
27980
|
USER_READ: USER_READ,
|
|
@@ -28001,7 +28029,7 @@ var generateJson$6 = function generateJson(data, _key) {
|
|
|
28001
28029
|
})];
|
|
28002
28030
|
};
|
|
28003
28031
|
|
|
28004
|
-
var _extraReducers$
|
|
28032
|
+
var _extraReducers$f;
|
|
28005
28033
|
var UPSERT_ALERT = createAsyncThunk("alertRestictionsMasterSlice/save_alert", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
|
28006
28034
|
var payload,
|
|
28007
28035
|
_ref2,
|
|
@@ -28321,31 +28349,31 @@ var alertRestictionsMasterSlice = createSlice({
|
|
|
28321
28349
|
read_alert: _objectSpread2({}, defaultState.Info),
|
|
28322
28350
|
read_alert_status: _objectSpread2({}, defaultState.Info)
|
|
28323
28351
|
},
|
|
28324
|
-
extraReducers: (_extraReducers$
|
|
28352
|
+
extraReducers: (_extraReducers$f = {}, _defineProperty(_extraReducers$f, GET_ALL_MASTER.fulfilled, function (state, action) {
|
|
28325
28353
|
state.get_all_masters.loading = false, state.get_all_masters.error = false, state.get_all_masters = action.payload;
|
|
28326
|
-
}), _defineProperty(_extraReducers$
|
|
28354
|
+
}), _defineProperty(_extraReducers$f, GET_ALL_MASTER.pending, function (state, action) {
|
|
28327
28355
|
state.get_all_masters.loading = true, state.get_all_masters.error = false, state.get_all_masters.loading = true;
|
|
28328
|
-
}), _defineProperty(_extraReducers$
|
|
28356
|
+
}), _defineProperty(_extraReducers$f, GET_ALL_MASTER.rejected, function (state, action) {
|
|
28329
28357
|
state.get_all_masters.loading = false, state.get_all_masters.error = true, state.get_all_masters = action.payload;
|
|
28330
|
-
}), _defineProperty(_extraReducers$
|
|
28358
|
+
}), _defineProperty(_extraReducers$f, UPSERT_ALERT.fulfilled, function (state, action) {
|
|
28331
28359
|
state.save_alert.loading = false, state.save_alert.error = false, state.save_alert = action.payload;
|
|
28332
|
-
}), _defineProperty(_extraReducers$
|
|
28360
|
+
}), _defineProperty(_extraReducers$f, UPSERT_ALERT.pending, function (state, action) {
|
|
28333
28361
|
state.save_alert.loading = true, state.save_alert.error = false, state.save_alert.loading = true;
|
|
28334
|
-
}), _defineProperty(_extraReducers$
|
|
28362
|
+
}), _defineProperty(_extraReducers$f, UPSERT_ALERT.rejected, function (state, action) {
|
|
28335
28363
|
state.save_alert.loading = false, state.save_alert.error = true, state.save_alert = action.payload;
|
|
28336
|
-
}), _defineProperty(_extraReducers$
|
|
28364
|
+
}), _defineProperty(_extraReducers$f, READ_ALERT.fulfilled, function (state, action) {
|
|
28337
28365
|
state.read_alert.loading = false, state.read_alert.error = false, state.read_alert = action.payload;
|
|
28338
|
-
}), _defineProperty(_extraReducers$
|
|
28366
|
+
}), _defineProperty(_extraReducers$f, READ_ALERT.pending, function (state, action) {
|
|
28339
28367
|
state.read_alert.loading = true, state.read_alert.error = false, state.read_alert.loading = true;
|
|
28340
|
-
}), _defineProperty(_extraReducers$
|
|
28368
|
+
}), _defineProperty(_extraReducers$f, READ_ALERT.rejected, function (state, action) {
|
|
28341
28369
|
state.read_alert.loading = false, state.read_alert.error = true, state.read_alert = action.payload;
|
|
28342
|
-
}), _defineProperty(_extraReducers$
|
|
28370
|
+
}), _defineProperty(_extraReducers$f, UPSERT_ALERT_STATUS.fulfilled, function (state, action) {
|
|
28343
28371
|
state.read_alert_status.loading = false, state.read_alert_status.error = false, state.read_alert_status = action.payload;
|
|
28344
|
-
}), _defineProperty(_extraReducers$
|
|
28372
|
+
}), _defineProperty(_extraReducers$f, UPSERT_ALERT_STATUS.pending, function (state, action) {
|
|
28345
28373
|
state.read_alert_status.loading = true, state.read_alert_status.error = false, state.read_alert_status.loading = true;
|
|
28346
|
-
}), _defineProperty(_extraReducers$
|
|
28374
|
+
}), _defineProperty(_extraReducers$f, UPSERT_ALERT_STATUS.rejected, function (state, action) {
|
|
28347
28375
|
state.read_alert_status.loading = false, state.read_alert_status.error = true, state.read_alert_status = action.payload;
|
|
28348
|
-
}), _extraReducers$
|
|
28376
|
+
}), _extraReducers$f)
|
|
28349
28377
|
});
|
|
28350
28378
|
var alertRestrictionsMasterActions = {
|
|
28351
28379
|
GET_ALL_MASTER: GET_ALL_MASTER,
|
|
@@ -28517,7 +28545,7 @@ var generateReadJson$1 = {
|
|
|
28517
28545
|
}
|
|
28518
28546
|
};
|
|
28519
28547
|
|
|
28520
|
-
var _extraReducers$
|
|
28548
|
+
var _extraReducers$e;
|
|
28521
28549
|
var DRUG_UOM_READ = createAsyncThunk("drugRoutesSlice/drug_uom_list", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
|
28522
28550
|
var _ref2,
|
|
28523
28551
|
rejectWithValue,
|
|
@@ -28824,43 +28852,43 @@ var drugMasterUOMSlice = createSlice({
|
|
|
28824
28852
|
drug_uom_read_line: _objectSpread2({}, defaultState.List),
|
|
28825
28853
|
drug_uom_code_status: _objectSpread2({}, defaultState.List)
|
|
28826
28854
|
},
|
|
28827
|
-
extraReducers: (_extraReducers$
|
|
28855
|
+
extraReducers: (_extraReducers$e = {}, _defineProperty(_extraReducers$e, DRUG_UOM_READ.fulfilled, function (state, action) {
|
|
28828
28856
|
state.drug_routes_direction_list.loading = false, state.drug_routes_direction_list.error = false, state.drug_routes_direction_list = action.payload;
|
|
28829
|
-
}), _defineProperty(_extraReducers$
|
|
28857
|
+
}), _defineProperty(_extraReducers$e, DRUG_UOM_READ.pending, function (state, action) {
|
|
28830
28858
|
state.drug_routes_direction_list.loading = true, state.drug_routes_direction_list.error = false, state.drug_routes_direction_list.loading = true;
|
|
28831
|
-
}), _defineProperty(_extraReducers$
|
|
28859
|
+
}), _defineProperty(_extraReducers$e, DRUG_UOM_READ.rejected, function (state, action) {
|
|
28832
28860
|
state.drug_routes_direction_list.loading = false, state.drug_routes_direction_list.error = true, state.drug_routes_direction_list = action.payload;
|
|
28833
|
-
}), _defineProperty(_extraReducers$
|
|
28861
|
+
}), _defineProperty(_extraReducers$e, DRUG_UOM_TYPE_DROP_DOWN.fulfilled, function (state, action) {
|
|
28834
28862
|
state.drug_uom_type_master.loading = false, state.drug_uom_type_master.error = false, state.drug_uom_type_master = action.payload;
|
|
28835
|
-
}), _defineProperty(_extraReducers$
|
|
28863
|
+
}), _defineProperty(_extraReducers$e, DRUG_UOM_TYPE_DROP_DOWN.pending, function (state, action) {
|
|
28836
28864
|
state.drug_uom_type_master.loading = true, state.drug_uom_type_master.error = false, state.drug_uom_type_master.loading = true;
|
|
28837
|
-
}), _defineProperty(_extraReducers$
|
|
28865
|
+
}), _defineProperty(_extraReducers$e, DRUG_UOM_TYPE_DROP_DOWN.rejected, function (state, action) {
|
|
28838
28866
|
state.drug_uom_type_master.loading = false, state.drug_uom_type_master.error = true, state.drug_uom_type_master = action.payload;
|
|
28839
|
-
}), _defineProperty(_extraReducers$
|
|
28867
|
+
}), _defineProperty(_extraReducers$e, TO_UDM_CODE_DROPDOWN.fulfilled, function (state, action) {
|
|
28840
28868
|
state.drug_uom_code_master.loading = false, state.drug_uom_code_master.error = false, state.drug_uom_code_master = action.payload;
|
|
28841
|
-
}), _defineProperty(_extraReducers$
|
|
28869
|
+
}), _defineProperty(_extraReducers$e, TO_UDM_CODE_DROPDOWN.pending, function (state, action) {
|
|
28842
28870
|
state.drug_uom_code_master.loading = true, state.drug_uom_code_master.error = false, state.drug_uom_code_master.loading = true;
|
|
28843
|
-
}), _defineProperty(_extraReducers$
|
|
28871
|
+
}), _defineProperty(_extraReducers$e, TO_UDM_CODE_DROPDOWN.rejected, function (state, action) {
|
|
28844
28872
|
state.drug_uom_code_master.loading = false, state.drug_uom_code_master.error = true, state.drug_uom_code_master = action.payload;
|
|
28845
|
-
}), _defineProperty(_extraReducers$
|
|
28873
|
+
}), _defineProperty(_extraReducers$e, UOM_CODE_INSERT.fulfilled, function (state, action) {
|
|
28846
28874
|
state.drug_uom_code_insert.loading = false, state.drug_uom_code_insert.error = false, state.drug_uom_code_insert = action.payload;
|
|
28847
|
-
}), _defineProperty(_extraReducers$
|
|
28875
|
+
}), _defineProperty(_extraReducers$e, UOM_CODE_INSERT.pending, function (state, action) {
|
|
28848
28876
|
state.drug_uom_code_insert.loading = true, state.drug_uom_code_insert.error = false, state.drug_uom_code_insert.loading = true;
|
|
28849
|
-
}), _defineProperty(_extraReducers$
|
|
28877
|
+
}), _defineProperty(_extraReducers$e, UOM_CODE_INSERT.rejected, function (state, action) {
|
|
28850
28878
|
state.drug_uom_code_insert.loading = false, state.drug_uom_code_insert.error = true, state.drug_uom_code_insert = action.payload;
|
|
28851
|
-
}), _defineProperty(_extraReducers$
|
|
28879
|
+
}), _defineProperty(_extraReducers$e, DRUG_UOM_LINE_READ.fulfilled, function (state, action) {
|
|
28852
28880
|
state.drug_uom_read_line.loading = false, state.drug_uom_read_line.error = false, state.drug_uom_read_line = action.payload;
|
|
28853
|
-
}), _defineProperty(_extraReducers$
|
|
28881
|
+
}), _defineProperty(_extraReducers$e, DRUG_UOM_LINE_READ.pending, function (state, action) {
|
|
28854
28882
|
state.drug_uom_read_line.loading = true, state.drug_uom_read_line.error = false, state.drug_uom_read_line.loading = true;
|
|
28855
|
-
}), _defineProperty(_extraReducers$
|
|
28883
|
+
}), _defineProperty(_extraReducers$e, DRUG_UOM_LINE_READ.rejected, function (state, action) {
|
|
28856
28884
|
state.drug_uom_read_line.loading = false, state.drug_uom_read_line.error = true, state.drug_uom_read_line = action.payload;
|
|
28857
|
-
}), _defineProperty(_extraReducers$
|
|
28885
|
+
}), _defineProperty(_extraReducers$e, To_UOM_UPDATE_STATUS_FUN.fulfilled, function (state, action) {
|
|
28858
28886
|
state.drug_uom_code_status.loading = false, state.drug_uom_code_status.error = false, state.drug_uom_code_status = action.payload;
|
|
28859
|
-
}), _defineProperty(_extraReducers$
|
|
28887
|
+
}), _defineProperty(_extraReducers$e, To_UOM_UPDATE_STATUS_FUN.pending, function (state, action) {
|
|
28860
28888
|
state.drug_uom_code_status.loading = true, state.drug_uom_code_status.error = false, state.drug_uom_code_status.loading = true;
|
|
28861
|
-
}), _defineProperty(_extraReducers$
|
|
28889
|
+
}), _defineProperty(_extraReducers$e, To_UOM_UPDATE_STATUS_FUN.rejected, function (state, action) {
|
|
28862
28890
|
state.drug_uom_code_status.loading = false, state.drug_uom_code_status.error = true, state.drug_uom_code_status = action.payload;
|
|
28863
|
-
}), _extraReducers$
|
|
28891
|
+
}), _extraReducers$e)
|
|
28864
28892
|
});
|
|
28865
28893
|
var drugMasterUomActions = {
|
|
28866
28894
|
DRUG_UOM_READ: DRUG_UOM_READ,
|
|
@@ -29045,7 +29073,7 @@ var generateReadJson = {
|
|
|
29045
29073
|
}
|
|
29046
29074
|
};
|
|
29047
29075
|
|
|
29048
|
-
var _extraReducers$
|
|
29076
|
+
var _extraReducers$d;
|
|
29049
29077
|
var DRUG_FREQUENCY_READ = createAsyncThunk("drugMasterFREQUENCYSlice/drug_frequncy_list", /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
|
29050
29078
|
var _ref2,
|
|
29051
29079
|
rejectWithValue,
|
|
@@ -29497,61 +29525,61 @@ var drugMasterFREQUENCYSlice = createSlice({
|
|
|
29497
29525
|
drug_uom_freq_status: _objectSpread2({}, defaultState.List),
|
|
29498
29526
|
drug_freq_read_single_yt: _objectSpread2({}, defaultState.List)
|
|
29499
29527
|
},
|
|
29500
|
-
extraReducers: (_extraReducers$
|
|
29528
|
+
extraReducers: (_extraReducers$d = {}, _defineProperty(_extraReducers$d, DRUG_FREQUENCY_READ.fulfilled, function (state, action) {
|
|
29501
29529
|
state.drug_frequncy_list.loading = false, state.drug_frequncy_list.error = false, state.drug_frequncy_list = action.payload;
|
|
29502
|
-
}), _defineProperty(_extraReducers$
|
|
29530
|
+
}), _defineProperty(_extraReducers$d, DRUG_FREQUENCY_READ.pending, function (state, action) {
|
|
29503
29531
|
state.drug_frequncy_list.loading = true, state.drug_frequncy_list.error = false, state.drug_frequncy_list.loading = true;
|
|
29504
|
-
}), _defineProperty(_extraReducers$
|
|
29532
|
+
}), _defineProperty(_extraReducers$d, DRUG_FREQUENCY_READ.rejected, function (state, action) {
|
|
29505
29533
|
state.drug_frequncy_list.loading = false, state.drug_frequncy_list.error = true, state.drug_frequncy_list = action.payload;
|
|
29506
|
-
}), _defineProperty(_extraReducers$
|
|
29534
|
+
}), _defineProperty(_extraReducers$d, DRUG_SCHEDULEBY_READ.fulfilled, function (state, action) {
|
|
29507
29535
|
state.drug_schedule_list.loading = false, state.drug_schedule_list.error = false, state.drug_schedule_list = action.payload;
|
|
29508
|
-
}), _defineProperty(_extraReducers$
|
|
29536
|
+
}), _defineProperty(_extraReducers$d, DRUG_SCHEDULEBY_READ.pending, function (state, action) {
|
|
29509
29537
|
state.drug_schedule_list.loading = true, state.drug_schedule_list.error = false, state.drug_schedule_list.loading = true;
|
|
29510
|
-
}), _defineProperty(_extraReducers$
|
|
29538
|
+
}), _defineProperty(_extraReducers$d, DRUG_SCHEDULEBY_READ.rejected, function (state, action) {
|
|
29511
29539
|
state.drug_schedule_list.loading = false, state.drug_schedule_list.error = true, state.drug_schedule_list = action.payload;
|
|
29512
|
-
}), _defineProperty(_extraReducers$
|
|
29540
|
+
}), _defineProperty(_extraReducers$d, DRUG_FREQUENCY_UOM_READ.fulfilled, function (state, action) {
|
|
29513
29541
|
state.drug_frequncy_uom_list.loading = false, state.drug_frequncy_uom_list.error = false, state.drug_frequncy_uom_list = action.payload;
|
|
29514
|
-
}), _defineProperty(_extraReducers$
|
|
29542
|
+
}), _defineProperty(_extraReducers$d, DRUG_FREQUENCY_UOM_READ.pending, function (state, action) {
|
|
29515
29543
|
state.drug_frequncy_uom_list.loading = true, state.drug_frequncy_uom_list.error = false, state.drug_frequncy_uom_list.loading = true;
|
|
29516
|
-
}), _defineProperty(_extraReducers$
|
|
29544
|
+
}), _defineProperty(_extraReducers$d, DRUG_FREQUENCY_UOM_READ.rejected, function (state, action) {
|
|
29517
29545
|
state.drug_frequncy_uom_list.loading = false, state.drug_frequncy_uom_list.error = true, state.drug_frequncy_uom_list = action.payload;
|
|
29518
|
-
}), _defineProperty(_extraReducers$
|
|
29546
|
+
}), _defineProperty(_extraReducers$d, DRUG_WEEKDAYS_READ.fulfilled, function (state, action) {
|
|
29519
29547
|
state.drug_weekdays_list.loading = false, state.drug_weekdays_list.error = false, state.drug_weekdays_list = action.payload;
|
|
29520
|
-
}), _defineProperty(_extraReducers$
|
|
29548
|
+
}), _defineProperty(_extraReducers$d, DRUG_WEEKDAYS_READ.pending, function (state, action) {
|
|
29521
29549
|
state.drug_weekdays_list.loading = true, state.drug_weekdays_list.error = false, state.drug_weekdays_list.loading = true;
|
|
29522
|
-
}), _defineProperty(_extraReducers$
|
|
29550
|
+
}), _defineProperty(_extraReducers$d, DRUG_WEEKDAYS_READ.rejected, function (state, action) {
|
|
29523
29551
|
state.drug_weekdays_list.loading = false, state.drug_weekdays_list.error = true, state.drug_weekdays_list = action.payload;
|
|
29524
|
-
}), _defineProperty(_extraReducers$
|
|
29552
|
+
}), _defineProperty(_extraReducers$d, DRUG_FIXEDDURATIONTYPE_READ.fulfilled, function (state, action) {
|
|
29525
29553
|
state.drug_fixeddurationType_list.loading = false, state.drug_fixeddurationType_list.error = false, state.drug_fixeddurationType_list = action.payload;
|
|
29526
|
-
}), _defineProperty(_extraReducers$
|
|
29554
|
+
}), _defineProperty(_extraReducers$d, DRUG_FIXEDDURATIONTYPE_READ.pending, function (state, action) {
|
|
29527
29555
|
state.drug_fixeddurationType_list.loading = true, state.drug_fixeddurationType_list.error = false, state.drug_fixeddurationType_list.loading = true;
|
|
29528
|
-
}), _defineProperty(_extraReducers$
|
|
29556
|
+
}), _defineProperty(_extraReducers$d, DRUG_FIXEDDURATIONTYPE_READ.rejected, function (state, action) {
|
|
29529
29557
|
state.drug_fixeddurationType_list.loading = false, state.drug_fixeddurationType_list.error = true, state.drug_fixeddurationType_list = action.payload;
|
|
29530
|
-
}), _defineProperty(_extraReducers$
|
|
29558
|
+
}), _defineProperty(_extraReducers$d, DRUG_FREQUENCYTYPE_READ.fulfilled, function (state, action) {
|
|
29531
29559
|
state.drug_frequnecyType_list.loading = false, state.drug_frequnecyType_list.error = false, state.drug_frequnecyType_list = action.payload;
|
|
29532
|
-
}), _defineProperty(_extraReducers$
|
|
29560
|
+
}), _defineProperty(_extraReducers$d, DRUG_FREQUENCYTYPE_READ.pending, function (state, action) {
|
|
29533
29561
|
state.drug_frequnecyType_list.loading = true, state.drug_frequnecyType_list.error = false, state.drug_frequnecyType_list.loading = true;
|
|
29534
|
-
}), _defineProperty(_extraReducers$
|
|
29562
|
+
}), _defineProperty(_extraReducers$d, DRUG_FREQUENCYTYPE_READ.rejected, function (state, action) {
|
|
29535
29563
|
state.drug_frequnecyType_list.loading = false, state.drug_frequnecyType_list.error = true, state.drug_frequnecyType_list = action.payload;
|
|
29536
|
-
}), _defineProperty(_extraReducers$
|
|
29564
|
+
}), _defineProperty(_extraReducers$d, UOM_DRUG_FREQ_INSERT.fulfilled, function (state, action) {
|
|
29537
29565
|
state.drug_uom_freq_insert.loading = false, state.drug_uom_freq_insert.error = false, state.drug_uom_freq_insert = action.payload;
|
|
29538
|
-
}), _defineProperty(_extraReducers$
|
|
29566
|
+
}), _defineProperty(_extraReducers$d, UOM_DRUG_FREQ_INSERT.pending, function (state, action) {
|
|
29539
29567
|
state.drug_uom_freq_insert.loading = true, state.drug_uom_freq_insert.error = false, state.drug_uom_freq_insert.loading = true;
|
|
29540
|
-
}), _defineProperty(_extraReducers$
|
|
29568
|
+
}), _defineProperty(_extraReducers$d, UOM_DRUG_FREQ_INSERT.rejected, function (state, action) {
|
|
29541
29569
|
state.drug_uom_freq_insert.loading = false, state.drug_uom_freq_insert.error = true, state.drug_uom_freq_insert = action.payload;
|
|
29542
|
-
}), _defineProperty(_extraReducers$
|
|
29570
|
+
}), _defineProperty(_extraReducers$d, UOM_DRUG_FREQ_STATUS.fulfilled, function (state, action) {
|
|
29543
29571
|
state.drug_uom_freq_status.loading = false, state.drug_uom_freq_status.error = false, state.drug_uom_freq_status = action.payload;
|
|
29544
|
-
}), _defineProperty(_extraReducers$
|
|
29572
|
+
}), _defineProperty(_extraReducers$d, UOM_DRUG_FREQ_STATUS.pending, function (state, action) {
|
|
29545
29573
|
state.drug_uom_freq_status.loading = true, state.drug_uom_freq_status.error = false, state.drug_uom_freq_status.loading = true;
|
|
29546
|
-
}), _defineProperty(_extraReducers$
|
|
29574
|
+
}), _defineProperty(_extraReducers$d, UOM_DRUG_FREQ_STATUS.rejected, function (state, action) {
|
|
29547
29575
|
state.drug_uom_freq_status.loading = false, state.drug_uom_freq_status.error = true, state.drug_uom_freq_status = action.payload;
|
|
29548
|
-
}), _defineProperty(_extraReducers$
|
|
29576
|
+
}), _defineProperty(_extraReducers$d, DRUG_FREQ_READ_SINGLE.fulfilled, function (state, action) {
|
|
29549
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;
|
|
29550
|
-
}), _defineProperty(_extraReducers$
|
|
29578
|
+
}), _defineProperty(_extraReducers$d, DRUG_FREQ_READ_SINGLE.pending, function (state, action) {
|
|
29551
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;
|
|
29552
|
-
}), _defineProperty(_extraReducers$
|
|
29580
|
+
}), _defineProperty(_extraReducers$d, DRUG_FREQ_READ_SINGLE.rejected, function (state, action) {
|
|
29553
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;
|
|
29554
|
-
}), _extraReducers$
|
|
29582
|
+
}), _extraReducers$d)
|
|
29555
29583
|
});
|
|
29556
29584
|
var drugMasterFrequencyActions = {
|
|
29557
29585
|
DRUG_FREQUENCY_READ: DRUG_FREQUENCY_READ,
|
|
@@ -29610,7 +29638,7 @@ var query$5 = {
|
|
|
29610
29638
|
|
|
29611
29639
|
var masterQuery$2 = {
|
|
29612
29640
|
orderCategory: "{\n \"db_name\": \"".concat(dbName, "\",\n \"entity\": \"OrderCategory\",\n \"filter\": \"OrderCategory.activestatus == true && OrderCategory.status==true\",\n \"return_fields\": \"keep(OrderCategory,'id','_id','_key','shortdesc','ordercategory','longdesc')\",\n \"sort\": \"OrderCategory.shortdesc\"\n }"),
|
|
29613
|
-
commonUOM: "{\n \"db_name\": \"".concat(dbName, "\",\n \"entity\": \"
|
|
29641
|
+
commonUOM: "{\n \"db_name\": \"".concat(dbName, "\",\n \"entity\": \"DrugUOM\",\n \"filter\": \"DrugUOM.status == true && DrugUOM.activestatus == true\",\n \"return_fields\": \"keep(DrugUOM,'_key','_id','UOM','shortdesc','longdesc','status')\"\n }"),
|
|
29614
29642
|
route: "{\n \"db_name\": \"".concat(dbName, "\",\n \"entity\": \"DrugRoutes\",\n \"filter\": \"DrugRoutes.activestatus==true && DrugRoutes.status==true\",\n \"return_fields\": \"keep(DrugRoutes,'id','_key','_id','longdesc','routeadverb','routecode','shortdesc')\",\n \"sort\": \"DrugRoutes.shortdesc\"\n }"),
|
|
29615
29643
|
drugFreqCode: "{\n \"db_name\": \"primarycare\",\n \"entity\": \"FrequencyMaster\",\n \"filter\": \"FrequencyMaster.activestatus == true && FrequencyMaster.status == true\",\n \"return_fields\": \"keep(FrequencyMaster,'id','_key','_id','longdesc','shortdesc','freqcode')\",\n \"sort\": \"FrequencyMaster.shortdesc\"\n }"
|
|
29616
29644
|
};
|
|
@@ -29907,34 +29935,34 @@ var constructTabelData = function constructTabelData(data) {
|
|
|
29907
29935
|
} : val !== null && val !== void 0 && (_val$orderCatalog5 = val.orderCatalog) !== null && _val$orderCatalog5 !== void 0 && _val$orderCatalog5._id && val !== null && val !== void 0 && (_val$orderCatalog6 = val.orderCatalog) !== null && _val$orderCatalog6 !== void 0 && _val$orderCatalog6.ShortDesc ? {
|
|
29908
29936
|
value: val === null || val === void 0 ? void 0 : (_val$orderCatalog7 = val.orderCatalog) === null || _val$orderCatalog7 === void 0 ? void 0 : _val$orderCatalog7._id,
|
|
29909
29937
|
label: val === null || val === void 0 ? void 0 : (_val$orderCatalog8 = val.orderCatalog) === null || _val$orderCatalog8 === void 0 ? void 0 : _val$orderCatalog8.ShortDesc
|
|
29910
|
-
} : {}), _defineProperty(_obj, "required", val !== null && val !== void 0 && val.required ? val === null || val === void 0 ? void 0 : val.required : false), _defineProperty(_obj, "requiredT", val !== null && val !== void 0 && val.required ? (val === null || val === void 0 ? void 0 : val.required) === true ? "Yes" : "No" : "No"), _defineProperty(_obj, "quantity_number", val !== null && val !== void 0 && val.dfltOrderQty ? val === null || val === void 0 ? void 0 : val.dfltOrderQty : ""), _defineProperty(_obj, "quantity_type", val !== null && val !== void 0 && (_val$dfltOrderUOM = val.dfltOrderUOM) !== null && _val$dfltOrderUOM !== void 0 && _val$dfltOrderUOM._id && val !== null && val !== void 0 && (_val$dfltOrderUOM2 = val.dfltOrderUOM) !== null && _val$dfltOrderUOM2 !== void 0 && _val$dfltOrderUOM2.
|
|
29938
|
+
} : {}), _defineProperty(_obj, "required", val !== null && val !== void 0 && val.required ? val === null || val === void 0 ? void 0 : val.required : false), _defineProperty(_obj, "requiredT", val !== null && val !== void 0 && val.required ? (val === null || val === void 0 ? void 0 : val.required) === true ? "Yes" : "No" : "No"), _defineProperty(_obj, "quantity_number", val !== null && val !== void 0 && val.dfltOrderQty ? val === null || val === void 0 ? void 0 : val.dfltOrderQty : ""), _defineProperty(_obj, "quantity_type", val !== null && val !== void 0 && (_val$dfltOrderUOM = val.dfltOrderUOM) !== null && _val$dfltOrderUOM !== void 0 && _val$dfltOrderUOM._id && val !== null && val !== void 0 && (_val$dfltOrderUOM2 = val.dfltOrderUOM) !== null && _val$dfltOrderUOM2 !== void 0 && _val$dfltOrderUOM2.shortdesc ? {
|
|
29911
29939
|
value: val === null || val === void 0 ? void 0 : (_val$dfltOrderUOM3 = val.dfltOrderUOM) === null || _val$dfltOrderUOM3 === void 0 ? void 0 : _val$dfltOrderUOM3._id,
|
|
29912
|
-
label: val === null || val === void 0 ? void 0 : (_val$dfltOrderUOM4 = val.dfltOrderUOM) === null || _val$dfltOrderUOM4 === void 0 ? void 0 : _val$dfltOrderUOM4.
|
|
29913
|
-
} : {}), _defineProperty(_obj, "quantityT", val !== null && val !== void 0 && (_val$dfltOrderUOM5 = val.dfltOrderUOM) !== null && _val$dfltOrderUOM5 !== void 0 && _val$dfltOrderUOM5.
|
|
29940
|
+
label: val === null || val === void 0 ? void 0 : (_val$dfltOrderUOM4 = val.dfltOrderUOM) === null || _val$dfltOrderUOM4 === void 0 ? void 0 : _val$dfltOrderUOM4.shortdesc
|
|
29941
|
+
} : {}), _defineProperty(_obj, "quantityT", val !== null && val !== void 0 && (_val$dfltOrderUOM5 = val.dfltOrderUOM) !== null && _val$dfltOrderUOM5 !== void 0 && _val$dfltOrderUOM5.shortdesc && val !== null && val !== void 0 && val.dfltOrderQty ? (val === null || val === void 0 ? void 0 : val.dfltOrderQty) + " " + (val === null || val === void 0 ? void 0 : (_val$dfltOrderUOM6 = val.dfltOrderUOM) === null || _val$dfltOrderUOM6 === void 0 ? void 0 : _val$dfltOrderUOM6.shortdesc) : "-"), _defineProperty(_obj, "in_infusion_rate_volume_number", (_val$IVInfusRateVol = val === null || val === void 0 ? void 0 : val.IVInfusRateVol) !== null && _val$IVInfusRateVol !== void 0 ? _val$IVInfusRateVol : ""), _defineProperty(_obj, "in_infusion_rate_volume_type", val !== null && val !== void 0 && (_val$IVInfusRateVolUO = val.IVInfusRateVolUOM) !== null && _val$IVInfusRateVolUO !== void 0 && _val$IVInfusRateVolUO._id && val !== null && val !== void 0 && (_val$IVInfusRateVolUO2 = val.IVInfusRateVolUOM) !== null && _val$IVInfusRateVolUO2 !== void 0 && _val$IVInfusRateVolUO2.shortdesc ? {
|
|
29914
29942
|
value: val === null || val === void 0 ? void 0 : (_val$IVInfusRateVolUO3 = val.IVInfusRateVolUOM) === null || _val$IVInfusRateVolUO3 === void 0 ? void 0 : _val$IVInfusRateVolUO3._id,
|
|
29915
|
-
label: val === null || val === void 0 ? void 0 : (_val$IVInfusRateVolUO4 = val.IVInfusRateVolUOM) === null || _val$IVInfusRateVolUO4 === void 0 ? void 0 : _val$IVInfusRateVolUO4.
|
|
29916
|
-
} : {}), _defineProperty(_obj, "in_infusion_rate_duration_number", (_val$IVDosDurValue = val === null || val === void 0 ? void 0 : val.IVDosDurValue) !== null && _val$IVDosDurValue !== void 0 ? _val$IVDosDurValue : ""), _defineProperty(_obj, "in_infusion_rate_duration_type", val !== null && val !== void 0 && (_val$IVDosDurUOM = val.IVDosDurUOM) !== null && _val$IVDosDurUOM !== void 0 && _val$IVDosDurUOM._id && val !== null && val !== void 0 && (_val$IVDosDurUOM2 = val.IVDosDurUOM) !== null && _val$IVDosDurUOM2 !== void 0 && _val$IVDosDurUOM2.
|
|
29943
|
+
label: val === null || val === void 0 ? void 0 : (_val$IVInfusRateVolUO4 = val.IVInfusRateVolUOM) === null || _val$IVInfusRateVolUO4 === void 0 ? void 0 : _val$IVInfusRateVolUO4.shortdesc
|
|
29944
|
+
} : {}), _defineProperty(_obj, "in_infusion_rate_duration_number", (_val$IVDosDurValue = val === null || val === void 0 ? void 0 : val.IVDosDurValue) !== null && _val$IVDosDurValue !== void 0 ? _val$IVDosDurValue : ""), _defineProperty(_obj, "in_infusion_rate_duration_type", val !== null && val !== void 0 && (_val$IVDosDurUOM = val.IVDosDurUOM) !== null && _val$IVDosDurUOM !== void 0 && _val$IVDosDurUOM._id && val !== null && val !== void 0 && (_val$IVDosDurUOM2 = val.IVDosDurUOM) !== null && _val$IVDosDurUOM2 !== void 0 && _val$IVDosDurUOM2.shortdesc ? {
|
|
29917
29945
|
value: val === null || val === void 0 ? void 0 : (_val$IVDosDurUOM3 = val.IVDosDurUOM) === null || _val$IVDosDurUOM3 === void 0 ? void 0 : _val$IVDosDurUOM3._id,
|
|
29918
|
-
label: val === null || val === void 0 ? void 0 : (_val$IVDosDurUOM4 = val.IVDosDurUOM) === null || _val$IVDosDurUOM4 === void 0 ? void 0 : _val$IVDosDurUOM4.
|
|
29919
|
-
} : {}), _defineProperty(_obj, "iv_dosage_duration_number", (_val$IVDosDurValue2 = val === null || val === void 0 ? void 0 : val.IVDosDurValue) !== null && _val$IVDosDurValue2 !== void 0 ? _val$IVDosDurValue2 : ""), _defineProperty(_obj, "iv_dosage_duration_type", val !== null && val !== void 0 && (_val$IVDosDurUOM5 = val.IVDosDurUOM) !== null && _val$IVDosDurUOM5 !== void 0 && _val$IVDosDurUOM5._id && val !== null && val !== void 0 && (_val$IVDosDurUOM6 = val.IVDosDurUOM) !== null && _val$IVDosDurUOM6 !== void 0 && _val$IVDosDurUOM6.
|
|
29946
|
+
label: val === null || val === void 0 ? void 0 : (_val$IVDosDurUOM4 = val.IVDosDurUOM) === null || _val$IVDosDurUOM4 === void 0 ? void 0 : _val$IVDosDurUOM4.shortdesc
|
|
29947
|
+
} : {}), _defineProperty(_obj, "iv_dosage_duration_number", (_val$IVDosDurValue2 = val === null || val === void 0 ? void 0 : val.IVDosDurValue) !== null && _val$IVDosDurValue2 !== void 0 ? _val$IVDosDurValue2 : ""), _defineProperty(_obj, "iv_dosage_duration_type", val !== null && val !== void 0 && (_val$IVDosDurUOM5 = val.IVDosDurUOM) !== null && _val$IVDosDurUOM5 !== void 0 && _val$IVDosDurUOM5._id && val !== null && val !== void 0 && (_val$IVDosDurUOM6 = val.IVDosDurUOM) !== null && _val$IVDosDurUOM6 !== void 0 && _val$IVDosDurUOM6.shortdesc ? {
|
|
29920
29948
|
value: val === null || val === void 0 ? void 0 : (_val$IVDosDurUOM7 = val.IVDosDurUOM) === null || _val$IVDosDurUOM7 === void 0 ? void 0 : _val$IVDosDurUOM7._id,
|
|
29921
|
-
label: val === null || val === void 0 ? void 0 : (_val$IVDosDurUOM8 = val.IVDosDurUOM) === null || _val$IVDosDurUOM8 === void 0 ? void 0 : _val$IVDosDurUOM8.
|
|
29949
|
+
label: val === null || val === void 0 ? void 0 : (_val$IVDosDurUOM8 = val.IVDosDurUOM) === null || _val$IVDosDurUOM8 === void 0 ? void 0 : _val$IVDosDurUOM8.shortdesc
|
|
29922
29950
|
} : {}), _defineProperty(_obj, "dosage_freq_code", val !== null && val !== void 0 && (_val$dosageFreqCode = val.dosageFreqCode) !== null && _val$dosageFreqCode !== void 0 && _val$dosageFreqCode._id && val !== null && val !== void 0 && (_val$dosageFreqCode2 = val.dosageFreqCode) !== null && _val$dosageFreqCode2 !== void 0 && _val$dosageFreqCode2.shortdesc ? {
|
|
29923
29951
|
value: val === null || val === void 0 ? void 0 : (_val$dosageFreqCode3 = val.dosageFreqCode) === null || _val$dosageFreqCode3 === void 0 ? void 0 : _val$dosageFreqCode3._id,
|
|
29924
29952
|
label: val === null || val === void 0 ? void 0 : (_val$dosageFreqCode4 = val.dosageFreqCode) === null || _val$dosageFreqCode4 === void 0 ? void 0 : _val$dosageFreqCode4.shortdesc
|
|
29925
|
-
} : {}), _defineProperty(_obj, "startDay", (_val$startDay = val === null || val === void 0 ? void 0 : val.startDay) !== null && _val$startDay !== void 0 ? _val$startDay : ""), _defineProperty(_obj, "duration_number", (_val$dfltDuration = val === null || val === void 0 ? void 0 : val.dfltDuration) !== null && _val$dfltDuration !== void 0 ? _val$dfltDuration : ""), _defineProperty(_obj, "duration_type", val !== null && val !== void 0 && (_val$dfltDurUOM = val.dfltDurUOM) !== null && _val$dfltDurUOM !== void 0 && _val$dfltDurUOM._id && val !== null && val !== void 0 && (_val$dfltDurUOM2 = val.dfltDurUOM) !== null && _val$dfltDurUOM2 !== void 0 && _val$dfltDurUOM2.
|
|
29953
|
+
} : {}), _defineProperty(_obj, "startDay", (_val$startDay = val === null || val === void 0 ? void 0 : val.startDay) !== null && _val$startDay !== void 0 ? _val$startDay : ""), _defineProperty(_obj, "duration_number", (_val$dfltDuration = val === null || val === void 0 ? void 0 : val.dfltDuration) !== null && _val$dfltDuration !== void 0 ? _val$dfltDuration : ""), _defineProperty(_obj, "duration_type", val !== null && val !== void 0 && (_val$dfltDurUOM = val.dfltDurUOM) !== null && _val$dfltDurUOM !== void 0 && _val$dfltDurUOM._id && val !== null && val !== void 0 && (_val$dfltDurUOM2 = val.dfltDurUOM) !== null && _val$dfltDurUOM2 !== void 0 && _val$dfltDurUOM2.shortdesc ? {
|
|
29926
29954
|
value: val === null || val === void 0 ? void 0 : (_val$dfltDurUOM3 = val.dfltDurUOM) === null || _val$dfltDurUOM3 === void 0 ? void 0 : _val$dfltDurUOM3._id,
|
|
29927
|
-
label: val === null || val === void 0 ? void 0 : (_val$dfltDurUOM4 = val.dfltDurUOM) === null || _val$dfltDurUOM4 === void 0 ? void 0 : _val$dfltDurUOM4.
|
|
29928
|
-
} : {}), _defineProperty(_obj, "durationT", val !== null && val !== void 0 && val.dfltDuration && val !== null && val !== void 0 && (_val$dfltDurUOM5 = val.dfltDurUOM) !== null && _val$dfltDurUOM5 !== void 0 && _val$dfltDurUOM5.
|
|
29955
|
+
label: val === null || val === void 0 ? void 0 : (_val$dfltDurUOM4 = val.dfltDurUOM) === null || _val$dfltDurUOM4 === void 0 ? void 0 : _val$dfltDurUOM4.shortdesc
|
|
29956
|
+
} : {}), _defineProperty(_obj, "durationT", val !== null && val !== void 0 && val.dfltDuration && val !== null && val !== void 0 && (_val$dfltDurUOM5 = val.dfltDurUOM) !== null && _val$dfltDurUOM5 !== void 0 && _val$dfltDurUOM5.shortdesc ? (val === null || val === void 0 ? void 0 : val.dfltDuration) + " " + (val === null || val === void 0 ? void 0 : (_val$dfltDurUOM6 = val.dfltDurUOM) === null || _val$dfltDurUOM6 === void 0 ? void 0 : _val$dfltDurUOM6.shortdesc) : "-"), _defineProperty(_obj, "route", val !== null && val !== void 0 && (_val$route = val.route) !== null && _val$route !== void 0 && _val$route._id && val !== null && val !== void 0 && (_val$route2 = val.route) !== null && _val$route2 !== void 0 && _val$route2.shortdesc ? {
|
|
29929
29957
|
value: val === null || val === void 0 ? void 0 : (_val$route3 = val.route) === null || _val$route3 === void 0 ? void 0 : _val$route3._id,
|
|
29930
29958
|
label: val === null || val === void 0 ? void 0 : (_val$route4 = val.route) === null || _val$route4 === void 0 ? void 0 : _val$route4.shortdesc
|
|
29931
|
-
} : {}), _defineProperty(_obj, "routeT", (_val$route$shortdesc = val === null || val === void 0 ? void 0 : (_val$route5 = val.route) === null || _val$route5 === void 0 ? void 0 : _val$route5.shortdesc) !== null && _val$route$shortdesc !== void 0 ? _val$route$shortdesc : "-"), _defineProperty(_obj, "frequency_number", (_val$dfltFreqVal = val === null || val === void 0 ? void 0 : val.dfltFreqVal) !== null && _val$dfltFreqVal !== void 0 ? _val$dfltFreqVal : 0), _defineProperty(_obj, "frequency_type", val !== null && val !== void 0 && (_val$dfltFreqValUnit = val.dfltFreqValUnit) !== null && _val$dfltFreqValUnit !== void 0 && _val$dfltFreqValUnit._id && val !== null && val !== void 0 && (_val$dfltFreqValUnit2 = val.dfltFreqValUnit) !== null && _val$dfltFreqValUnit2 !== void 0 && _val$dfltFreqValUnit2.
|
|
29959
|
+
} : {}), _defineProperty(_obj, "routeT", (_val$route$shortdesc = val === null || val === void 0 ? void 0 : (_val$route5 = val.route) === null || _val$route5 === void 0 ? void 0 : _val$route5.shortdesc) !== null && _val$route$shortdesc !== void 0 ? _val$route$shortdesc : "-"), _defineProperty(_obj, "frequency_number", (_val$dfltFreqVal = val === null || val === void 0 ? void 0 : val.dfltFreqVal) !== null && _val$dfltFreqVal !== void 0 ? _val$dfltFreqVal : 0), _defineProperty(_obj, "frequency_type", val !== null && val !== void 0 && (_val$dfltFreqValUnit = val.dfltFreqValUnit) !== null && _val$dfltFreqValUnit !== void 0 && _val$dfltFreqValUnit._id && val !== null && val !== void 0 && (_val$dfltFreqValUnit2 = val.dfltFreqValUnit) !== null && _val$dfltFreqValUnit2 !== void 0 && _val$dfltFreqValUnit2.shortdesc ? {
|
|
29932
29960
|
value: val === null || val === void 0 ? void 0 : (_val$dfltFreqValUnit3 = val.dfltFreqValUnit) === null || _val$dfltFreqValUnit3 === void 0 ? void 0 : _val$dfltFreqValUnit3._id,
|
|
29933
|
-
label: val === null || val === void 0 ? void 0 : (_val$dfltFreqValUnit4 = val.dfltFreqValUnit) === null || _val$dfltFreqValUnit4 === void 0 ? void 0 : _val$dfltFreqValUnit4.
|
|
29934
|
-
} : {}), _defineProperty(_obj, "frequencyT", val !== null && val !== void 0 && val.dfltFreqVal && val !== null && val !== void 0 && (_val$dfltFreqValUnit5 = val.dfltFreqValUnit) !== null && _val$dfltFreqValUnit5 !== void 0 && _val$dfltFreqValUnit5.
|
|
29961
|
+
label: val === null || val === void 0 ? void 0 : (_val$dfltFreqValUnit4 = val.dfltFreqValUnit) === null || _val$dfltFreqValUnit4 === void 0 ? void 0 : _val$dfltFreqValUnit4.shortdesc
|
|
29962
|
+
} : {}), _defineProperty(_obj, "frequencyT", val !== null && val !== void 0 && val.dfltFreqVal && val !== null && val !== void 0 && (_val$dfltFreqValUnit5 = val.dfltFreqValUnit) !== null && _val$dfltFreqValUnit5 !== void 0 && _val$dfltFreqValUnit5.shortdesc ? (val === null || val === void 0 ? void 0 : val.dfltFreqVal) + " " + (val === null || val === void 0 ? void 0 : (_val$dfltFreqValUnit6 = val.dfltFreqValUnit) === null || _val$dfltFreqValUnit6 === void 0 ? void 0 : _val$dfltFreqValUnit6.shortdesc) : "-"), _defineProperty(_obj, "rate_number", (_val$dfltFreqRate = val === null || val === void 0 ? void 0 : val.dfltFreqRate) !== null && _val$dfltFreqRate !== void 0 ? _val$dfltFreqRate : ""), _defineProperty(_obj, "rate_type", val !== null && val !== void 0 && (_val$dfltFreqRateUnit = val.dfltFreqRateUnit) !== null && _val$dfltFreqRateUnit !== void 0 && _val$dfltFreqRateUnit._id && val !== null && val !== void 0 && (_val$dfltFreqRateUnit2 = val.dfltFreqRateUnit) !== null && _val$dfltFreqRateUnit2 !== void 0 && _val$dfltFreqRateUnit2.shortdesc ? {
|
|
29935
29963
|
value: val === null || val === void 0 ? void 0 : (_val$dfltFreqRateUnit3 = val.dfltFreqRateUnit) === null || _val$dfltFreqRateUnit3 === void 0 ? void 0 : _val$dfltFreqRateUnit3._id,
|
|
29936
|
-
label: val === null || val === void 0 ? void 0 : (_val$dfltFreqRateUnit4 = val.dfltFreqRateUnit) === null || _val$dfltFreqRateUnit4 === void 0 ? void 0 : _val$dfltFreqRateUnit4.
|
|
29937
|
-
} : {}), _defineProperty(_obj, "rateT", val !== null && val !== void 0 && val.dfltFreqRate && val !== null && val !== void 0 && (_val$dfltFreqRateUnit5 = val.dfltFreqRateUnit) !== null && _val$dfltFreqRateUnit5 !== void 0 && _val$dfltFreqRateUnit5.
|
|
29964
|
+
label: val === null || val === void 0 ? void 0 : (_val$dfltFreqRateUnit4 = val.dfltFreqRateUnit) === null || _val$dfltFreqRateUnit4 === void 0 ? void 0 : _val$dfltFreqRateUnit4.shortdesc
|
|
29965
|
+
} : {}), _defineProperty(_obj, "rateT", val !== null && val !== void 0 && val.dfltFreqRate && val !== null && val !== void 0 && (_val$dfltFreqRateUnit5 = val.dfltFreqRateUnit) !== null && _val$dfltFreqRateUnit5 !== void 0 && _val$dfltFreqRateUnit5.shortdesc ? (val === null || val === void 0 ? void 0 : val.dfltFreqRate) + " " + (val === null || val === void 0 ? void 0 : (_val$dfltFreqRateUnit6 = val.dfltFreqRateUnit) === null || _val$dfltFreqRateUnit6 === void 0 ? void 0 : _val$dfltFreqRateUnit6.shortdesc) : "-"), _defineProperty(_obj, "additive", (_val$additive = val === null || val === void 0 ? void 0 : val.additive) !== null && _val$additive !== void 0 ? _val$additive : false), _defineProperty(_obj, "additivT", val !== null && val !== void 0 && val.additive ? (val === null || val === void 0 ? void 0 : val.additive) === true ? "Yes" : "No" : "No"), _defineProperty(_obj, "parentSequence", (_val$parentSequence = val === null || val === void 0 ? void 0 : val.parentSequence) !== null && _val$parentSequence !== void 0 ? _val$parentSequence : ""), _defineProperty(_obj, "parentSequenceT", (_val$parentSequence2 = val === null || val === void 0 ? void 0 : val.parentSequence) !== null && _val$parentSequence2 !== void 0 ? _val$parentSequence2 : "-"), _defineProperty(_obj, "explanatoryNote", (_val$explNote = val === null || val === void 0 ? void 0 : val.explNote) !== null && _val$explNote !== void 0 ? _val$explNote : ""), _defineProperty(_obj, "practitionerInstructions", (_val$practInstr = val === null || val === void 0 ? void 0 : val.practInstr) !== null && _val$practInstr !== void 0 ? _val$practInstr : ""), _defineProperty(_obj, "children", (_constructChildrenTab = constructChildrenTabelData(data, val === null || val === void 0 ? void 0 : val.seqNo)) !== null && _constructChildrenTab !== void 0 ? _constructChildrenTab : []), _obj);
|
|
29938
29966
|
arr.push(obj);
|
|
29939
29967
|
}
|
|
29940
29968
|
});
|
|
@@ -29969,34 +29997,34 @@ var constructChildrenTabelData = function constructChildrenTabelData(data, paren
|
|
|
29969
29997
|
} : val !== null && val !== void 0 && (_val$orderCatalog13 = val.orderCatalog) !== null && _val$orderCatalog13 !== void 0 && _val$orderCatalog13._id && val !== null && val !== void 0 && (_val$orderCatalog14 = val.orderCatalog) !== null && _val$orderCatalog14 !== void 0 && _val$orderCatalog14.ShortDesc ? {
|
|
29970
29998
|
value: val === null || val === void 0 ? void 0 : (_val$orderCatalog15 = val.orderCatalog) === null || _val$orderCatalog15 === void 0 ? void 0 : _val$orderCatalog15._id,
|
|
29971
29999
|
label: val === null || val === void 0 ? void 0 : (_val$orderCatalog16 = val.orderCatalog) === null || _val$orderCatalog16 === void 0 ? void 0 : _val$orderCatalog16.ShortDesc
|
|
29972
|
-
} : {}), _defineProperty(_obj_, "required", val !== null && val !== void 0 && val.required ? val === null || val === void 0 ? void 0 : val.required : false), _defineProperty(_obj_, "requiredT", val !== null && val !== void 0 && val.required ? (val === null || val === void 0 ? void 0 : val.required) === true ? "Yes" : "No" : "No"), _defineProperty(_obj_, "quantity_number", val !== null && val !== void 0 && val.dfltOrderQty ? val === null || val === void 0 ? void 0 : val.dfltOrderQty : ""), _defineProperty(_obj_, "quantity_type", val !== null && val !== void 0 && (_val$dfltOrderUOM7 = val.dfltOrderUOM) !== null && _val$dfltOrderUOM7 !== void 0 && _val$dfltOrderUOM7._id && val !== null && val !== void 0 && (_val$dfltOrderUOM8 = val.dfltOrderUOM) !== null && _val$dfltOrderUOM8 !== void 0 && _val$dfltOrderUOM8.
|
|
30000
|
+
} : {}), _defineProperty(_obj_, "required", val !== null && val !== void 0 && val.required ? val === null || val === void 0 ? void 0 : val.required : false), _defineProperty(_obj_, "requiredT", val !== null && val !== void 0 && val.required ? (val === null || val === void 0 ? void 0 : val.required) === true ? "Yes" : "No" : "No"), _defineProperty(_obj_, "quantity_number", val !== null && val !== void 0 && val.dfltOrderQty ? val === null || val === void 0 ? void 0 : val.dfltOrderQty : ""), _defineProperty(_obj_, "quantity_type", val !== null && val !== void 0 && (_val$dfltOrderUOM7 = val.dfltOrderUOM) !== null && _val$dfltOrderUOM7 !== void 0 && _val$dfltOrderUOM7._id && val !== null && val !== void 0 && (_val$dfltOrderUOM8 = val.dfltOrderUOM) !== null && _val$dfltOrderUOM8 !== void 0 && _val$dfltOrderUOM8.shortdesc ? {
|
|
29973
30001
|
value: val === null || val === void 0 ? void 0 : (_val$dfltOrderUOM9 = val.dfltOrderUOM) === null || _val$dfltOrderUOM9 === void 0 ? void 0 : _val$dfltOrderUOM9._id,
|
|
29974
|
-
label: val === null || val === void 0 ? void 0 : (_val$dfltOrderUOM10 = val.dfltOrderUOM) === null || _val$dfltOrderUOM10 === void 0 ? void 0 : _val$dfltOrderUOM10.
|
|
29975
|
-
} : {}), _defineProperty(_obj_, "quantityT", val !== null && val !== void 0 && (_val$dfltOrderUOM11 = val.dfltOrderUOM) !== null && _val$dfltOrderUOM11 !== void 0 && _val$dfltOrderUOM11.
|
|
30002
|
+
label: val === null || val === void 0 ? void 0 : (_val$dfltOrderUOM10 = val.dfltOrderUOM) === null || _val$dfltOrderUOM10 === void 0 ? void 0 : _val$dfltOrderUOM10.shortdesc
|
|
30003
|
+
} : {}), _defineProperty(_obj_, "quantityT", val !== null && val !== void 0 && (_val$dfltOrderUOM11 = val.dfltOrderUOM) !== null && _val$dfltOrderUOM11 !== void 0 && _val$dfltOrderUOM11.shortdesc && val !== null && val !== void 0 && val.dfltOrderQty ? (val === null || val === void 0 ? void 0 : val.dfltOrderQty) + " " + (val === null || val === void 0 ? void 0 : (_val$dfltOrderUOM12 = val.dfltOrderUOM) === null || _val$dfltOrderUOM12 === void 0 ? void 0 : _val$dfltOrderUOM12.shortdesc) : "-"), _defineProperty(_obj_, "in_infusion_rate_volume_number", (_val$IVInfusRateVol2 = val === null || val === void 0 ? void 0 : val.IVInfusRateVol) !== null && _val$IVInfusRateVol2 !== void 0 ? _val$IVInfusRateVol2 : ""), _defineProperty(_obj_, "in_infusion_rate_volume_type", val !== null && val !== void 0 && (_val$IVInfusRateVolUO5 = val.IVInfusRateVolUOM) !== null && _val$IVInfusRateVolUO5 !== void 0 && _val$IVInfusRateVolUO5._id && val !== null && val !== void 0 && (_val$IVInfusRateVolUO6 = val.IVInfusRateVolUOM) !== null && _val$IVInfusRateVolUO6 !== void 0 && _val$IVInfusRateVolUO6.shortdesc ? {
|
|
29976
30004
|
value: val === null || val === void 0 ? void 0 : (_val$IVInfusRateVolUO7 = val.IVInfusRateVolUOM) === null || _val$IVInfusRateVolUO7 === void 0 ? void 0 : _val$IVInfusRateVolUO7._id,
|
|
29977
|
-
label: val === null || val === void 0 ? void 0 : (_val$IVInfusRateVolUO8 = val.IVInfusRateVolUOM) === null || _val$IVInfusRateVolUO8 === void 0 ? void 0 : _val$IVInfusRateVolUO8.
|
|
29978
|
-
} : {}), _defineProperty(_obj_, "in_infusion_rate_duration_number", (_val$IVDosDurValue3 = val === null || val === void 0 ? void 0 : val.IVDosDurValue) !== null && _val$IVDosDurValue3 !== void 0 ? _val$IVDosDurValue3 : ""), _defineProperty(_obj_, "in_infusion_rate_duration_type", val !== null && val !== void 0 && (_val$IVDosDurUOM9 = val.IVDosDurUOM) !== null && _val$IVDosDurUOM9 !== void 0 && _val$IVDosDurUOM9._id && val !== null && val !== void 0 && (_val$IVDosDurUOM10 = val.IVDosDurUOM) !== null && _val$IVDosDurUOM10 !== void 0 && _val$IVDosDurUOM10.
|
|
30005
|
+
label: val === null || val === void 0 ? void 0 : (_val$IVInfusRateVolUO8 = val.IVInfusRateVolUOM) === null || _val$IVInfusRateVolUO8 === void 0 ? void 0 : _val$IVInfusRateVolUO8.shortdesc
|
|
30006
|
+
} : {}), _defineProperty(_obj_, "in_infusion_rate_duration_number", (_val$IVDosDurValue3 = val === null || val === void 0 ? void 0 : val.IVDosDurValue) !== null && _val$IVDosDurValue3 !== void 0 ? _val$IVDosDurValue3 : ""), _defineProperty(_obj_, "in_infusion_rate_duration_type", val !== null && val !== void 0 && (_val$IVDosDurUOM9 = val.IVDosDurUOM) !== null && _val$IVDosDurUOM9 !== void 0 && _val$IVDosDurUOM9._id && val !== null && val !== void 0 && (_val$IVDosDurUOM10 = val.IVDosDurUOM) !== null && _val$IVDosDurUOM10 !== void 0 && _val$IVDosDurUOM10.shortdesc ? {
|
|
29979
30007
|
value: val === null || val === void 0 ? void 0 : (_val$IVDosDurUOM11 = val.IVDosDurUOM) === null || _val$IVDosDurUOM11 === void 0 ? void 0 : _val$IVDosDurUOM11._id,
|
|
29980
|
-
label: val === null || val === void 0 ? void 0 : (_val$IVDosDurUOM12 = val.IVDosDurUOM) === null || _val$IVDosDurUOM12 === void 0 ? void 0 : _val$IVDosDurUOM12.
|
|
29981
|
-
} : {}), _defineProperty(_obj_, "iv_dosage_duration_number", (_val$IVDosDurValue4 = val === null || val === void 0 ? void 0 : val.IVDosDurValue) !== null && _val$IVDosDurValue4 !== void 0 ? _val$IVDosDurValue4 : ""), _defineProperty(_obj_, "iv_dosage_duration_type", val !== null && val !== void 0 && (_val$IVDosDurUOM13 = val.IVDosDurUOM) !== null && _val$IVDosDurUOM13 !== void 0 && _val$IVDosDurUOM13._id && val !== null && val !== void 0 && (_val$IVDosDurUOM14 = val.IVDosDurUOM) !== null && _val$IVDosDurUOM14 !== void 0 && _val$IVDosDurUOM14.
|
|
30008
|
+
label: val === null || val === void 0 ? void 0 : (_val$IVDosDurUOM12 = val.IVDosDurUOM) === null || _val$IVDosDurUOM12 === void 0 ? void 0 : _val$IVDosDurUOM12.shortdesc
|
|
30009
|
+
} : {}), _defineProperty(_obj_, "iv_dosage_duration_number", (_val$IVDosDurValue4 = val === null || val === void 0 ? void 0 : val.IVDosDurValue) !== null && _val$IVDosDurValue4 !== void 0 ? _val$IVDosDurValue4 : ""), _defineProperty(_obj_, "iv_dosage_duration_type", val !== null && val !== void 0 && (_val$IVDosDurUOM13 = val.IVDosDurUOM) !== null && _val$IVDosDurUOM13 !== void 0 && _val$IVDosDurUOM13._id && val !== null && val !== void 0 && (_val$IVDosDurUOM14 = val.IVDosDurUOM) !== null && _val$IVDosDurUOM14 !== void 0 && _val$IVDosDurUOM14.shortdesc ? {
|
|
29982
30010
|
value: val === null || val === void 0 ? void 0 : (_val$IVDosDurUOM15 = val.IVDosDurUOM) === null || _val$IVDosDurUOM15 === void 0 ? void 0 : _val$IVDosDurUOM15._id,
|
|
29983
|
-
label: val === null || val === void 0 ? void 0 : (_val$IVDosDurUOM16 = val.IVDosDurUOM) === null || _val$IVDosDurUOM16 === void 0 ? void 0 : _val$IVDosDurUOM16.
|
|
30011
|
+
label: val === null || val === void 0 ? void 0 : (_val$IVDosDurUOM16 = val.IVDosDurUOM) === null || _val$IVDosDurUOM16 === void 0 ? void 0 : _val$IVDosDurUOM16.shortdesc
|
|
29984
30012
|
} : {}), _defineProperty(_obj_, "dosage_freq_code", val !== null && val !== void 0 && (_val$dosageFreqCode5 = val.dosageFreqCode) !== null && _val$dosageFreqCode5 !== void 0 && _val$dosageFreqCode5._id && val !== null && val !== void 0 && (_val$dosageFreqCode6 = val.dosageFreqCode) !== null && _val$dosageFreqCode6 !== void 0 && _val$dosageFreqCode6.shortdesc ? {
|
|
29985
30013
|
value: val === null || val === void 0 ? void 0 : (_val$dosageFreqCode7 = val.dosageFreqCode) === null || _val$dosageFreqCode7 === void 0 ? void 0 : _val$dosageFreqCode7._id,
|
|
29986
30014
|
label: val === null || val === void 0 ? void 0 : (_val$dosageFreqCode8 = val.dosageFreqCode) === null || _val$dosageFreqCode8 === void 0 ? void 0 : _val$dosageFreqCode8.shortdesc
|
|
29987
|
-
} : {}), _defineProperty(_obj_, "startDay", (_val$startDay2 = val === null || val === void 0 ? void 0 : val.startDay) !== null && _val$startDay2 !== void 0 ? _val$startDay2 : ""), _defineProperty(_obj_, "duration_number", (_val$dfltDuration2 = val === null || val === void 0 ? void 0 : val.dfltDuration) !== null && _val$dfltDuration2 !== void 0 ? _val$dfltDuration2 : ""), _defineProperty(_obj_, "duration_type", val !== null && val !== void 0 && (_val$dfltDurUOM7 = val.dfltDurUOM) !== null && _val$dfltDurUOM7 !== void 0 && _val$dfltDurUOM7._id && val !== null && val !== void 0 && (_val$dfltDurUOM8 = val.dfltDurUOM) !== null && _val$dfltDurUOM8 !== void 0 && _val$dfltDurUOM8.
|
|
30015
|
+
} : {}), _defineProperty(_obj_, "startDay", (_val$startDay2 = val === null || val === void 0 ? void 0 : val.startDay) !== null && _val$startDay2 !== void 0 ? _val$startDay2 : ""), _defineProperty(_obj_, "duration_number", (_val$dfltDuration2 = val === null || val === void 0 ? void 0 : val.dfltDuration) !== null && _val$dfltDuration2 !== void 0 ? _val$dfltDuration2 : ""), _defineProperty(_obj_, "duration_type", val !== null && val !== void 0 && (_val$dfltDurUOM7 = val.dfltDurUOM) !== null && _val$dfltDurUOM7 !== void 0 && _val$dfltDurUOM7._id && val !== null && val !== void 0 && (_val$dfltDurUOM8 = val.dfltDurUOM) !== null && _val$dfltDurUOM8 !== void 0 && _val$dfltDurUOM8.shortdesc ? {
|
|
29988
30016
|
value: val === null || val === void 0 ? void 0 : (_val$dfltDurUOM9 = val.dfltDurUOM) === null || _val$dfltDurUOM9 === void 0 ? void 0 : _val$dfltDurUOM9._id,
|
|
29989
|
-
label: val === null || val === void 0 ? void 0 : (_val$dfltDurUOM10 = val.dfltDurUOM) === null || _val$dfltDurUOM10 === void 0 ? void 0 : _val$dfltDurUOM10.
|
|
29990
|
-
} : {}), _defineProperty(_obj_, "durationT", val !== null && val !== void 0 && val.dfltDuration && val !== null && val !== void 0 && (_val$dfltDurUOM11 = val.dfltDurUOM) !== null && _val$dfltDurUOM11 !== void 0 && _val$dfltDurUOM11.
|
|
30017
|
+
label: val === null || val === void 0 ? void 0 : (_val$dfltDurUOM10 = val.dfltDurUOM) === null || _val$dfltDurUOM10 === void 0 ? void 0 : _val$dfltDurUOM10.shortdesc
|
|
30018
|
+
} : {}), _defineProperty(_obj_, "durationT", val !== null && val !== void 0 && val.dfltDuration && val !== null && val !== void 0 && (_val$dfltDurUOM11 = val.dfltDurUOM) !== null && _val$dfltDurUOM11 !== void 0 && _val$dfltDurUOM11.shortdesc ? (val === null || val === void 0 ? void 0 : val.dfltDuration) + " " + (val === null || val === void 0 ? void 0 : (_val$dfltDurUOM12 = val.dfltDurUOM) === null || _val$dfltDurUOM12 === void 0 ? void 0 : _val$dfltDurUOM12.shortdesc) : "-"), _defineProperty(_obj_, "route", val !== null && val !== void 0 && (_val$route6 = val.route) !== null && _val$route6 !== void 0 && _val$route6._id && val !== null && val !== void 0 && (_val$route7 = val.route) !== null && _val$route7 !== void 0 && _val$route7.shortdesc ? {
|
|
29991
30019
|
value: val === null || val === void 0 ? void 0 : (_val$route8 = val.route) === null || _val$route8 === void 0 ? void 0 : _val$route8._id,
|
|
29992
30020
|
label: val === null || val === void 0 ? void 0 : (_val$route9 = val.route) === null || _val$route9 === void 0 ? void 0 : _val$route9.shortdesc
|
|
29993
|
-
} : {}), _defineProperty(_obj_, "routeT", (_val$route$shortdesc2 = val === null || val === void 0 ? void 0 : (_val$route10 = val.route) === null || _val$route10 === void 0 ? void 0 : _val$route10.shortdesc) !== null && _val$route$shortdesc2 !== void 0 ? _val$route$shortdesc2 : "-"), _defineProperty(_obj_, "frequency_number", (_val$dfltFreqVal2 = val === null || val === void 0 ? void 0 : val.dfltFreqVal) !== null && _val$dfltFreqVal2 !== void 0 ? _val$dfltFreqVal2 : 0), _defineProperty(_obj_, "frequency_type", val !== null && val !== void 0 && (_val$dfltFreqValUnit7 = val.dfltFreqValUnit) !== null && _val$dfltFreqValUnit7 !== void 0 && _val$dfltFreqValUnit7._id && val !== null && val !== void 0 && (_val$dfltFreqValUnit8 = val.dfltFreqValUnit) !== null && _val$dfltFreqValUnit8 !== void 0 && _val$dfltFreqValUnit8.
|
|
30021
|
+
} : {}), _defineProperty(_obj_, "routeT", (_val$route$shortdesc2 = val === null || val === void 0 ? void 0 : (_val$route10 = val.route) === null || _val$route10 === void 0 ? void 0 : _val$route10.shortdesc) !== null && _val$route$shortdesc2 !== void 0 ? _val$route$shortdesc2 : "-"), _defineProperty(_obj_, "frequency_number", (_val$dfltFreqVal2 = val === null || val === void 0 ? void 0 : val.dfltFreqVal) !== null && _val$dfltFreqVal2 !== void 0 ? _val$dfltFreqVal2 : 0), _defineProperty(_obj_, "frequency_type", val !== null && val !== void 0 && (_val$dfltFreqValUnit7 = val.dfltFreqValUnit) !== null && _val$dfltFreqValUnit7 !== void 0 && _val$dfltFreqValUnit7._id && val !== null && val !== void 0 && (_val$dfltFreqValUnit8 = val.dfltFreqValUnit) !== null && _val$dfltFreqValUnit8 !== void 0 && _val$dfltFreqValUnit8.shortdesc ? {
|
|
29994
30022
|
value: val === null || val === void 0 ? void 0 : (_val$dfltFreqValUnit9 = val.dfltFreqValUnit) === null || _val$dfltFreqValUnit9 === void 0 ? void 0 : _val$dfltFreqValUnit9._id,
|
|
29995
|
-
label: val === null || val === void 0 ? void 0 : (_val$dfltFreqValUnit10 = val.dfltFreqValUnit) === null || _val$dfltFreqValUnit10 === void 0 ? void 0 : _val$dfltFreqValUnit10.
|
|
29996
|
-
} : {}), _defineProperty(_obj_, "frequencyT", val !== null && val !== void 0 && val.dfltFreqVal && val !== null && val !== void 0 && (_val$dfltFreqValUnit11 = val.dfltFreqValUnit) !== null && _val$dfltFreqValUnit11 !== void 0 && _val$dfltFreqValUnit11.
|
|
30023
|
+
label: val === null || val === void 0 ? void 0 : (_val$dfltFreqValUnit10 = val.dfltFreqValUnit) === null || _val$dfltFreqValUnit10 === void 0 ? void 0 : _val$dfltFreqValUnit10.shortdesc
|
|
30024
|
+
} : {}), _defineProperty(_obj_, "frequencyT", val !== null && val !== void 0 && val.dfltFreqVal && val !== null && val !== void 0 && (_val$dfltFreqValUnit11 = val.dfltFreqValUnit) !== null && _val$dfltFreqValUnit11 !== void 0 && _val$dfltFreqValUnit11.shortdesc ? (val === null || val === void 0 ? void 0 : val.dfltFreqVal) + " " + (val === null || val === void 0 ? void 0 : (_val$dfltFreqValUnit12 = val.dfltFreqValUnit) === null || _val$dfltFreqValUnit12 === void 0 ? void 0 : _val$dfltFreqValUnit12.shortdesc) : "-"), _defineProperty(_obj_, "rate_number", (_val$dfltFreqRate2 = val === null || val === void 0 ? void 0 : val.dfltFreqRate) !== null && _val$dfltFreqRate2 !== void 0 ? _val$dfltFreqRate2 : ""), _defineProperty(_obj_, "rate_type", val !== null && val !== void 0 && (_val$dfltFreqRateUnit7 = val.dfltFreqRateUnit) !== null && _val$dfltFreqRateUnit7 !== void 0 && _val$dfltFreqRateUnit7._id && val !== null && val !== void 0 && (_val$dfltFreqRateUnit8 = val.dfltFreqRateUnit) !== null && _val$dfltFreqRateUnit8 !== void 0 && _val$dfltFreqRateUnit8.shortdesc ? {
|
|
29997
30025
|
value: val === null || val === void 0 ? void 0 : (_val$dfltFreqRateUnit9 = val.dfltFreqRateUnit) === null || _val$dfltFreqRateUnit9 === void 0 ? void 0 : _val$dfltFreqRateUnit9._id,
|
|
29998
|
-
label: val === null || val === void 0 ? void 0 : (_val$dfltFreqRateUnit10 = val.dfltFreqRateUnit) === null || _val$dfltFreqRateUnit10 === void 0 ? void 0 : _val$dfltFreqRateUnit10.
|
|
29999
|
-
} : {}), _defineProperty(_obj_, "rateT", val !== null && val !== void 0 && val.dfltFreqRate && val !== null && val !== void 0 && (_val$dfltFreqRateUnit11 = val.dfltFreqRateUnit) !== null && _val$dfltFreqRateUnit11 !== void 0 && _val$dfltFreqRateUnit11.
|
|
30026
|
+
label: val === null || val === void 0 ? void 0 : (_val$dfltFreqRateUnit10 = val.dfltFreqRateUnit) === null || _val$dfltFreqRateUnit10 === void 0 ? void 0 : _val$dfltFreqRateUnit10.shortdesc
|
|
30027
|
+
} : {}), _defineProperty(_obj_, "rateT", val !== null && val !== void 0 && val.dfltFreqRate && val !== null && val !== void 0 && (_val$dfltFreqRateUnit11 = val.dfltFreqRateUnit) !== null && _val$dfltFreqRateUnit11 !== void 0 && _val$dfltFreqRateUnit11.shortdesc ? (val === null || val === void 0 ? void 0 : val.dfltFreqRate) + " " + (val === null || val === void 0 ? void 0 : (_val$dfltFreqRateUnit12 = val.dfltFreqRateUnit) === null || _val$dfltFreqRateUnit12 === void 0 ? void 0 : _val$dfltFreqRateUnit12.shortdesc) : "-"), _defineProperty(_obj_, "additive", (_val$additive2 = val === null || val === void 0 ? void 0 : val.additive) !== null && _val$additive2 !== void 0 ? _val$additive2 : false), _defineProperty(_obj_, "additivT", val !== null && val !== void 0 && val.additive ? (val === null || val === void 0 ? void 0 : val.additive) === true ? "Yes" : "No" : "No"), _defineProperty(_obj_, "parentSequence", (_val$parentCatSeqNo = val === null || val === void 0 ? void 0 : val.parentCatSeqNo) !== null && _val$parentCatSeqNo !== void 0 ? _val$parentCatSeqNo : ""), _defineProperty(_obj_, "parentSequenceT", (_val$parentCatSeqNo2 = val === null || val === void 0 ? void 0 : val.parentCatSeqNo) !== null && _val$parentCatSeqNo2 !== void 0 ? _val$parentCatSeqNo2 : "-"), _defineProperty(_obj_, "explanatoryNote", (_val$explNote2 = val === null || val === void 0 ? void 0 : val.explNote) !== null && _val$explNote2 !== void 0 ? _val$explNote2 : ""), _defineProperty(_obj_, "practitionerInstructions", (_val$practInstr2 = val === null || val === void 0 ? void 0 : val.practInstr) !== null && _val$practInstr2 !== void 0 ? _val$practInstr2 : ""), _obj_);
|
|
30000
30028
|
arr_.push(obj_);
|
|
30001
30029
|
}
|
|
30002
30030
|
});
|
|
@@ -30005,7 +30033,7 @@ var constructChildrenTabelData = function constructChildrenTabelData(data, paren
|
|
|
30005
30033
|
return arr_;
|
|
30006
30034
|
};
|
|
30007
30035
|
|
|
30008
|
-
var _extraReducers$
|
|
30036
|
+
var _extraReducers$c;
|
|
30009
30037
|
var fileds$2 = ["orderCategory", //"orderDrugType",
|
|
30010
30038
|
//"orderDrugCatalog",
|
|
30011
30039
|
//"commonUOM",
|
|
@@ -30061,7 +30089,7 @@ var loopMasters$3 = function loopMasters() {
|
|
|
30061
30089
|
});
|
|
30062
30090
|
} else if ("commonUOM" === val.name) {
|
|
30063
30091
|
arr.push({
|
|
30064
|
-
label: value.
|
|
30092
|
+
label: value.shortdesc,
|
|
30065
30093
|
value: value._id
|
|
30066
30094
|
});
|
|
30067
30095
|
}
|
|
@@ -30677,79 +30705,79 @@ var orderSetMasterSlice = createSlice({
|
|
|
30677
30705
|
order_set_upsert: _objectSpread2({}, defaultState.List),
|
|
30678
30706
|
order_set_component_delete: _objectSpread2({}, defaultState.List)
|
|
30679
30707
|
},
|
|
30680
|
-
extraReducers: (_extraReducers$
|
|
30708
|
+
extraReducers: (_extraReducers$c = {}, _defineProperty(_extraReducers$c, DELETE_ORDER_SET_COMPONENT.fulfilled, function (state, action) {
|
|
30681
30709
|
state.order_set_component_delete.loading = false, state.order_set_component_delete.error = false, state.order_set_component_delete = action.payload;
|
|
30682
|
-
}), _defineProperty(_extraReducers$
|
|
30710
|
+
}), _defineProperty(_extraReducers$c, DELETE_ORDER_SET_COMPONENT.pending, function (state, action) {
|
|
30683
30711
|
state.order_set_component_delete.loading = true, state.order_set_component_delete.error = false, state.order_set_component_delete.loading = true;
|
|
30684
|
-
}), _defineProperty(_extraReducers$
|
|
30712
|
+
}), _defineProperty(_extraReducers$c, DELETE_ORDER_SET_COMPONENT.rejected, function (state, action) {
|
|
30685
30713
|
state.order_set_component_delete.loading = false, state.order_set_component_delete.error = true, state.order_set_component_delete = action.payload;
|
|
30686
|
-
}), _defineProperty(_extraReducers$
|
|
30714
|
+
}), _defineProperty(_extraReducers$c, GET_ORDER_SET_LIST.fulfilled, function (state, action) {
|
|
30687
30715
|
state.order_set_master_list.loading = false, state.order_set_master_list.error = false, state.order_set_master_list = action.payload;
|
|
30688
|
-
}), _defineProperty(_extraReducers$
|
|
30716
|
+
}), _defineProperty(_extraReducers$c, GET_ORDER_SET_LIST.pending, function (state, action) {
|
|
30689
30717
|
state.order_set_master_list.loading = true, state.order_set_master_list.error = false, state.order_set_master_list.loading = true;
|
|
30690
|
-
}), _defineProperty(_extraReducers$
|
|
30718
|
+
}), _defineProperty(_extraReducers$c, GET_ORDER_SET_LIST.rejected, function (state, action) {
|
|
30691
30719
|
state.order_set_master_list.loading = false, state.order_set_master_list.error = true, state.order_set_master_list = action.payload;
|
|
30692
|
-
}), _defineProperty(_extraReducers$
|
|
30720
|
+
}), _defineProperty(_extraReducers$c, ORDER_SET_SINGLE_READ.fulfilled, function (state, action) {
|
|
30693
30721
|
state.order_set_single_read.loading = false, state.order_set_single_read.error = false, state.order_set_single_read = action.payload;
|
|
30694
|
-
}), _defineProperty(_extraReducers$
|
|
30722
|
+
}), _defineProperty(_extraReducers$c, ORDER_SET_SINGLE_READ.pending, function (state, action) {
|
|
30695
30723
|
state.order_set_single_read.loading = true, state.order_set_single_read.error = false, state.order_set_single_read.loading = true;
|
|
30696
|
-
}), _defineProperty(_extraReducers$
|
|
30724
|
+
}), _defineProperty(_extraReducers$c, ORDER_SET_SINGLE_READ.rejected, function (state, action) {
|
|
30697
30725
|
state.order_set_single_read.loading = false, state.order_set_single_read.error = true, state.order_set_single_read = action.payload;
|
|
30698
|
-
}), _defineProperty(_extraReducers$
|
|
30726
|
+
}), _defineProperty(_extraReducers$c, ORDER_SET_MASTER_STATUS_CHANGE.fulfilled, function (state, action) {
|
|
30699
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;
|
|
30700
|
-
}), _defineProperty(_extraReducers$
|
|
30728
|
+
}), _defineProperty(_extraReducers$c, ORDER_SET_MASTER_STATUS_CHANGE.pending, function (state, action) {
|
|
30701
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;
|
|
30702
|
-
}), _defineProperty(_extraReducers$
|
|
30730
|
+
}), _defineProperty(_extraReducers$c, ORDER_SET_MASTER_STATUS_CHANGE.rejected, function (state, action) {
|
|
30703
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;
|
|
30704
|
-
}), _defineProperty(_extraReducers$
|
|
30732
|
+
}), _defineProperty(_extraReducers$c, ORDER_SET_MASTER_MASTER.fulfilled, function (state, action) {
|
|
30705
30733
|
state.order_set_masters.loading = false, state.order_set_masters.error = false, state.order_set_masters = action.payload;
|
|
30706
|
-
}), _defineProperty(_extraReducers$
|
|
30734
|
+
}), _defineProperty(_extraReducers$c, ORDER_SET_MASTER_MASTER.pending, function (state, action) {
|
|
30707
30735
|
state.order_set_masters.loading = true, state.order_set_masters.error = false, state.order_set_masters.loading = true;
|
|
30708
|
-
}), _defineProperty(_extraReducers$
|
|
30736
|
+
}), _defineProperty(_extraReducers$c, ORDER_SET_MASTER_MASTER.rejected, function (state, action) {
|
|
30709
30737
|
state.order_set_masters.loading = false, state.order_set_masters.error = true, state.order_set_masters = action.payload;
|
|
30710
|
-
}), _defineProperty(_extraReducers$
|
|
30738
|
+
}), _defineProperty(_extraReducers$c, ORDER__MASTER.fulfilled, function (state, action) {
|
|
30711
30739
|
state.order__masters.loading = false, state.order__masters.error = false, state.order__masters = action.payload;
|
|
30712
|
-
}), _defineProperty(_extraReducers$
|
|
30740
|
+
}), _defineProperty(_extraReducers$c, ORDER__MASTER.pending, function (state, action) {
|
|
30713
30741
|
state.order__masters.loading = true, state.order__masters.error = false, state.order__masters.loading = true;
|
|
30714
|
-
}), _defineProperty(_extraReducers$
|
|
30742
|
+
}), _defineProperty(_extraReducers$c, ORDER__MASTER.rejected, function (state, action) {
|
|
30715
30743
|
state.order__masters.loading = false, state.order__masters.error = true, state.order__masters = action.payload;
|
|
30716
|
-
}), _defineProperty(_extraReducers$
|
|
30744
|
+
}), _defineProperty(_extraReducers$c, DRUG__MASTER.fulfilled, function (state, action) {
|
|
30717
30745
|
state.drug__masters.loading = false, state.drug__masters.error = false, state.drug__masters = action.payload;
|
|
30718
|
-
}), _defineProperty(_extraReducers$
|
|
30746
|
+
}), _defineProperty(_extraReducers$c, DRUG__MASTER.pending, function (state, action) {
|
|
30719
30747
|
state.drug__masters.loading = true, state.drug__masters.error = false, state.drug__masters.loading = true;
|
|
30720
|
-
}), _defineProperty(_extraReducers$
|
|
30748
|
+
}), _defineProperty(_extraReducers$c, DRUG__MASTER.rejected, function (state, action) {
|
|
30721
30749
|
state.drug__masters.loading = false, state.drug__masters.error = true, state.drug__masters = action.payload;
|
|
30722
|
-
}), _defineProperty(_extraReducers$
|
|
30750
|
+
}), _defineProperty(_extraReducers$c, ORDER__CATALOG_MASTER.fulfilled, function (state, action) {
|
|
30723
30751
|
state.order__catalog_masters.loading = false, state.order__catalog_masters.error = false, state.order__catalog_masters = action.payload;
|
|
30724
|
-
}), _defineProperty(_extraReducers$
|
|
30752
|
+
}), _defineProperty(_extraReducers$c, ORDER__CATALOG_MASTER.pending, function (state, action) {
|
|
30725
30753
|
state.order__catalog_masters.loading = true, state.order__catalog_masters.error = false, state.order__catalog_masters.loading = true;
|
|
30726
|
-
}), _defineProperty(_extraReducers$
|
|
30754
|
+
}), _defineProperty(_extraReducers$c, ORDER__CATALOG_MASTER.rejected, function (state, action) {
|
|
30727
30755
|
state.order__catalog_masters.loading = false, state.order__catalog_masters.error = true, state.order__catalog_masters = action.payload;
|
|
30728
|
-
}), _defineProperty(_extraReducers$
|
|
30756
|
+
}), _defineProperty(_extraReducers$c, DRUG__CATALOG_MASTER.fulfilled, function (state, action) {
|
|
30729
30757
|
state.drug__catalog_masters.loading = false, state.drug__catalog_masters.error = false, state.drug__catalog_masters = action.payload;
|
|
30730
|
-
}), _defineProperty(_extraReducers$
|
|
30758
|
+
}), _defineProperty(_extraReducers$c, DRUG__CATALOG_MASTER.pending, function (state, action) {
|
|
30731
30759
|
state.drug__catalog_masters.loading = true, state.drug__catalog_masters.error = false, state.drug__catalog_masters.loading = true;
|
|
30732
|
-
}), _defineProperty(_extraReducers$
|
|
30760
|
+
}), _defineProperty(_extraReducers$c, DRUG__CATALOG_MASTER.rejected, function (state, action) {
|
|
30733
30761
|
state.drug__catalog_masters.loading = false, state.drug__catalog_masters.error = true, state.drug__catalog_masters = action.payload;
|
|
30734
|
-
}), _defineProperty(_extraReducers$
|
|
30762
|
+
}), _defineProperty(_extraReducers$c, ORDER_CATEGORY_MASTER.fulfilled, function (state, action) {
|
|
30735
30763
|
state.order_category_masters.loading = false, state.order_category_masters.error = false, state.order_category_masters = action.payload;
|
|
30736
|
-
}), _defineProperty(_extraReducers$
|
|
30764
|
+
}), _defineProperty(_extraReducers$c, ORDER_CATEGORY_MASTER.pending, function (state, action) {
|
|
30737
30765
|
state.order_category_masters.loading = true, state.order_category_masters.error = false, state.order_category_masters.loading = true;
|
|
30738
|
-
}), _defineProperty(_extraReducers$
|
|
30766
|
+
}), _defineProperty(_extraReducers$c, ORDER_CATEGORY_MASTER.rejected, function (state, action) {
|
|
30739
30767
|
state.order_category_masters.loading = false, state.order_category_masters.error = true, state.order_category_masters = action.payload;
|
|
30740
|
-
}), _defineProperty(_extraReducers$
|
|
30768
|
+
}), _defineProperty(_extraReducers$c, ORDER_CATEGORY_MASTER.fulfilled, function (state, action) {
|
|
30741
30769
|
state.order_category_masters.loading = false, state.order_category_masters.error = false, state.order_category_masters = action.payload;
|
|
30742
|
-
}), _defineProperty(_extraReducers$
|
|
30770
|
+
}), _defineProperty(_extraReducers$c, ORDER_CATEGORY_MASTER.pending, function (state, action) {
|
|
30743
30771
|
state.order_category_masters.loading = true, state.order_category_masters.error = false, state.order_category_masters.loading = true;
|
|
30744
|
-
}), _defineProperty(_extraReducers$
|
|
30772
|
+
}), _defineProperty(_extraReducers$c, ORDER_CATEGORY_MASTER.rejected, function (state, action) {
|
|
30745
30773
|
state.order_category_masters.loading = false, state.order_category_masters.error = true, state.order_category_masters = action.payload;
|
|
30746
|
-
}), _defineProperty(_extraReducers$
|
|
30774
|
+
}), _defineProperty(_extraReducers$c, UPSERT_ORDER_SET.fulfilled, function (state, action) {
|
|
30747
30775
|
state.order_set_upsert.loading = false, state.order_set_upsert.error = false, state.order_set_upsert = action.payload;
|
|
30748
|
-
}), _defineProperty(_extraReducers$
|
|
30776
|
+
}), _defineProperty(_extraReducers$c, UPSERT_ORDER_SET.pending, function (state, action) {
|
|
30749
30777
|
state.order_set_upsert.loading = true, state.order_set_upsert.error = false, state.order_set_upsert.loading = true;
|
|
30750
|
-
}), _defineProperty(_extraReducers$
|
|
30778
|
+
}), _defineProperty(_extraReducers$c, UPSERT_ORDER_SET.rejected, function (state, action) {
|
|
30751
30779
|
state.order_set_upsert.loading = false, state.order_set_upsert.error = true, state.order_set_upsert = action.payload;
|
|
30752
|
-
}), _extraReducers$
|
|
30780
|
+
}), _extraReducers$c)
|
|
30753
30781
|
});
|
|
30754
30782
|
var orderSetMasterActions = {
|
|
30755
30783
|
GET_ORDER_SET_LIST: GET_ORDER_SET_LIST,
|
|
@@ -31004,7 +31032,7 @@ var generateSingleReadJSON = function generateSingleReadJSON(data) {
|
|
|
31004
31032
|
return obj;
|
|
31005
31033
|
};
|
|
31006
31034
|
|
|
31007
|
-
var _extraReducers$
|
|
31035
|
+
var _extraReducers$b;
|
|
31008
31036
|
var fileds$1 = [//"facilityName",
|
|
31009
31037
|
"speciality", "practitionerType", //"codeSet",
|
|
31010
31038
|
"locationType"];
|
|
@@ -31574,61 +31602,61 @@ var orderSetApplicabilitySlice = createSlice({
|
|
|
31574
31602
|
order_set_app_location: _objectSpread2({}, defaultState.List),
|
|
31575
31603
|
order_set_applicability_upsert: _objectSpread2({}, defaultState.List)
|
|
31576
31604
|
},
|
|
31577
|
-
extraReducers: (_extraReducers$
|
|
31605
|
+
extraReducers: (_extraReducers$b = {}, _defineProperty(_extraReducers$b, GET_ORDER_SET_APPLICABILITY_LIST.fulfilled, function (state, action) {
|
|
31578
31606
|
state.order_set_applicability_list.loading = false, state.order_set_applicability_list.error = false, state.order_set_applicability_list = action.payload;
|
|
31579
|
-
}), _defineProperty(_extraReducers$
|
|
31607
|
+
}), _defineProperty(_extraReducers$b, GET_ORDER_SET_APPLICABILITY_LIST.pending, function (state, action) {
|
|
31580
31608
|
state.order_set_applicability_list.loading = true, state.order_set_applicability_list.error = false, state.order_set_applicability_list.loading = true;
|
|
31581
|
-
}), _defineProperty(_extraReducers$
|
|
31609
|
+
}), _defineProperty(_extraReducers$b, GET_ORDER_SET_APPLICABILITY_LIST.rejected, function (state, action) {
|
|
31582
31610
|
state.order_set_applicability_list.loading = false, state.order_set_applicability_list.error = true, state.order_set_applicability_list = action.payload;
|
|
31583
|
-
}), _defineProperty(_extraReducers$
|
|
31611
|
+
}), _defineProperty(_extraReducers$b, GET_ORDER_SET_APPLICABILITY_SINGLE_READ.fulfilled, function (state, action) {
|
|
31584
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;
|
|
31585
|
-
}), _defineProperty(_extraReducers$
|
|
31613
|
+
}), _defineProperty(_extraReducers$b, GET_ORDER_SET_APPLICABILITY_SINGLE_READ.pending, function (state, action) {
|
|
31586
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;
|
|
31587
|
-
}), _defineProperty(_extraReducers$
|
|
31615
|
+
}), _defineProperty(_extraReducers$b, GET_ORDER_SET_APPLICABILITY_SINGLE_READ.rejected, function (state, action) {
|
|
31588
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;
|
|
31589
|
-
}), _defineProperty(_extraReducers$
|
|
31617
|
+
}), _defineProperty(_extraReducers$b, ORDER_SET_APPLICABILITY_MASTER.fulfilled, function (state, action) {
|
|
31590
31618
|
state.order_set_applicability_master.loading = false, state.order_set_applicability_master.error = false, state.order_set_applicability_master = action.payload;
|
|
31591
|
-
}), _defineProperty(_extraReducers$
|
|
31619
|
+
}), _defineProperty(_extraReducers$b, ORDER_SET_APPLICABILITY_MASTER.pending, function (state, action) {
|
|
31592
31620
|
state.order_set_applicability_master.loading = true, state.order_set_applicability_master.error = false, state.order_set_applicability_master.loading = true;
|
|
31593
|
-
}), _defineProperty(_extraReducers$
|
|
31621
|
+
}), _defineProperty(_extraReducers$b, ORDER_SET_APPLICABILITY_MASTER.rejected, function (state, action) {
|
|
31594
31622
|
state.order_set_applicability_master.loading = false, state.order_set_applicability_master.error = true, state.order_set_applicability_master = action.payload;
|
|
31595
|
-
}), _defineProperty(_extraReducers$
|
|
31623
|
+
}), _defineProperty(_extraReducers$b, DELETE_ORDER_SET_APPLICABILITY.fulfilled, function (state, action) {
|
|
31596
31624
|
state.order_set_applicability_delete.loading = false, state.order_set_applicability_delete.error = false, state.order_set_applicability_delete = action.payload;
|
|
31597
|
-
}), _defineProperty(_extraReducers$
|
|
31625
|
+
}), _defineProperty(_extraReducers$b, DELETE_ORDER_SET_APPLICABILITY.pending, function (state, action) {
|
|
31598
31626
|
state.order_set_applicability_delete.loading = true, state.order_set_applicability_delete.error = false, state.order_set_applicability_delete.loading = true;
|
|
31599
|
-
}), _defineProperty(_extraReducers$
|
|
31627
|
+
}), _defineProperty(_extraReducers$b, DELETE_ORDER_SET_APPLICABILITY.rejected, function (state, action) {
|
|
31600
31628
|
state.order_set_applicability_delete.loading = false, state.order_set_applicability_delete.error = true, state.order_set_applicability_delete = action.payload;
|
|
31601
|
-
}), _defineProperty(_extraReducers$
|
|
31629
|
+
}), _defineProperty(_extraReducers$b, ORDER_SET_APP_PRACTITIONER.fulfilled, function (state, action) {
|
|
31602
31630
|
state.order_set_app_practitioner.loading = false, state.order_set_app_practitioner.error = false, state.order_set_app_practitioner = action.payload;
|
|
31603
|
-
}), _defineProperty(_extraReducers$
|
|
31631
|
+
}), _defineProperty(_extraReducers$b, ORDER_SET_APP_PRACTITIONER.pending, function (state, action) {
|
|
31604
31632
|
state.order_set_app_practitioner.loading = true, state.order_set_app_practitioner.error = false, state.order_set_app_practitioner.loading = true;
|
|
31605
|
-
}), _defineProperty(_extraReducers$
|
|
31633
|
+
}), _defineProperty(_extraReducers$b, ORDER_SET_APP_PRACTITIONER.rejected, function (state, action) {
|
|
31606
31634
|
state.order_set_app_practitioner.loading = false, state.order_set_app_practitioner.error = true, state.order_set_app_practitioner = action.payload;
|
|
31607
|
-
}), _defineProperty(_extraReducers$
|
|
31635
|
+
}), _defineProperty(_extraReducers$b, ORDER_SET_APP_DIAGNOSIS_GROUP.fulfilled, function (state, action) {
|
|
31608
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;
|
|
31609
|
-
}), _defineProperty(_extraReducers$
|
|
31637
|
+
}), _defineProperty(_extraReducers$b, ORDER_SET_APP_DIAGNOSIS_GROUP.pending, function (state, action) {
|
|
31610
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;
|
|
31611
|
-
}), _defineProperty(_extraReducers$
|
|
31639
|
+
}), _defineProperty(_extraReducers$b, ORDER_SET_APP_DIAGNOSIS_GROUP.rejected, function (state, action) {
|
|
31612
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;
|
|
31613
|
-
}), _defineProperty(_extraReducers$
|
|
31641
|
+
}), _defineProperty(_extraReducers$b, ORDER_SET_APP_DIAGNOSIS_CODE.fulfilled, function (state, action) {
|
|
31614
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;
|
|
31615
|
-
}), _defineProperty(_extraReducers$
|
|
31643
|
+
}), _defineProperty(_extraReducers$b, ORDER_SET_APP_DIAGNOSIS_CODE.pending, function (state, action) {
|
|
31616
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;
|
|
31617
|
-
}), _defineProperty(_extraReducers$
|
|
31645
|
+
}), _defineProperty(_extraReducers$b, ORDER_SET_APP_DIAGNOSIS_CODE.rejected, function (state, action) {
|
|
31618
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;
|
|
31619
|
-
}), _defineProperty(_extraReducers$
|
|
31647
|
+
}), _defineProperty(_extraReducers$b, ORDER_SET_APP_LOCATION.fulfilled, function (state, action) {
|
|
31620
31648
|
state.order_set_app_location.loading = false, state.order_set_app_location.error = false, state.order_set_app_location = action.payload;
|
|
31621
|
-
}), _defineProperty(_extraReducers$
|
|
31649
|
+
}), _defineProperty(_extraReducers$b, ORDER_SET_APP_LOCATION.pending, function (state, action) {
|
|
31622
31650
|
state.order_set_app_location.loading = true, state.order_set_app_location.error = false, state.order_set_app_location.loading = true;
|
|
31623
|
-
}), _defineProperty(_extraReducers$
|
|
31651
|
+
}), _defineProperty(_extraReducers$b, ORDER_SET_APP_LOCATION.rejected, function (state, action) {
|
|
31624
31652
|
state.order_set_app_location.loading = false, state.order_set_app_location.error = true, state.order_set_app_location = action.payload;
|
|
31625
|
-
}), _defineProperty(_extraReducers$
|
|
31653
|
+
}), _defineProperty(_extraReducers$b, ORDER_SET_APPLICABILITY_UPSERT.fulfilled, function (state, action) {
|
|
31626
31654
|
state.order_set_applicability_upsert.loading = false, state.order_set_applicability_upsert.error = false, state.order_set_applicability_upsert = action.payload;
|
|
31627
|
-
}), _defineProperty(_extraReducers$
|
|
31655
|
+
}), _defineProperty(_extraReducers$b, ORDER_SET_APPLICABILITY_UPSERT.pending, function (state, action) {
|
|
31628
31656
|
state.order_set_applicability_upsert.loading = true, state.order_set_applicability_upsert.error = false, state.order_set_applicability_upsert.loading = true;
|
|
31629
|
-
}), _defineProperty(_extraReducers$
|
|
31657
|
+
}), _defineProperty(_extraReducers$b, ORDER_SET_APPLICABILITY_UPSERT.rejected, function (state, action) {
|
|
31630
31658
|
state.order_set_applicability_upsert.loading = false, state.order_set_applicability_upsert.error = true, state.order_set_applicability_upsert = action.payload;
|
|
31631
|
-
}), _extraReducers$
|
|
31659
|
+
}), _extraReducers$b)
|
|
31632
31660
|
});
|
|
31633
31661
|
var orderSetApplicabilityActions = {
|
|
31634
31662
|
GET_ORDER_SET_APPLICABILITY_LIST: GET_ORDER_SET_APPLICABILITY_LIST,
|
|
@@ -31732,7 +31760,7 @@ var masterQuery = {
|
|
|
31732
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 }")
|
|
31733
31761
|
};
|
|
31734
31762
|
|
|
31735
|
-
var _extraReducers$
|
|
31763
|
+
var _extraReducers$a;
|
|
31736
31764
|
var fileds = ["allergyTypeIndicator", "conceptIdType", "extSystemSourceId"];
|
|
31737
31765
|
|
|
31738
31766
|
var loopMasters$1 = function loopMasters() {
|
|
@@ -32026,31 +32054,31 @@ var allergenMasterSlice = createSlice({
|
|
|
32026
32054
|
save_allergen_master: _objectSpread2({}, defaultState.Info),
|
|
32027
32055
|
update_allergen_master_status: _objectSpread2({}, defaultState.Info)
|
|
32028
32056
|
},
|
|
32029
|
-
extraReducers: (_extraReducers$
|
|
32057
|
+
extraReducers: (_extraReducers$a = {}, _defineProperty(_extraReducers$a, GET_ALLERGEN_MASTER.fulfilled, function (state, action) {
|
|
32030
32058
|
state.allergen_master_list.loading = false, state.allergen_master_list.error = false, state.allergen_master_list = action.payload;
|
|
32031
|
-
}), _defineProperty(_extraReducers$
|
|
32059
|
+
}), _defineProperty(_extraReducers$a, GET_ALLERGEN_MASTER.pending, function (state, action) {
|
|
32032
32060
|
state.allergen_master_list.loading = true, state.allergen_master_list.error = false, state.allergen_master_list.loading = true;
|
|
32033
|
-
}), _defineProperty(_extraReducers$
|
|
32061
|
+
}), _defineProperty(_extraReducers$a, GET_ALLERGEN_MASTER.rejected, function (state, action) {
|
|
32034
32062
|
state.allergen_master_list.loading = false, state.allergen_master_list.error = true, state.allergen_master_list = action.payload;
|
|
32035
|
-
}), _defineProperty(_extraReducers$
|
|
32063
|
+
}), _defineProperty(_extraReducers$a, ALLERGEN_MASTER_MASTER.fulfilled, function (state, action) {
|
|
32036
32064
|
state.allergen_master_master.loading = false, state.allergen_master_master.error = false, state.allergen_master_master = action.payload;
|
|
32037
|
-
}), _defineProperty(_extraReducers$
|
|
32065
|
+
}), _defineProperty(_extraReducers$a, ALLERGEN_MASTER_MASTER.pending, function (state, action) {
|
|
32038
32066
|
state.allergen_master_master.loading = true, state.allergen_master_master.error = false, state.allergen_master_master.loading = true;
|
|
32039
|
-
}), _defineProperty(_extraReducers$
|
|
32067
|
+
}), _defineProperty(_extraReducers$a, ALLERGEN_MASTER_MASTER.rejected, function (state, action) {
|
|
32040
32068
|
state.allergen_master_master.loading = false, state.allergen_master_master.error = true, state.allergen_master_master = action.payload;
|
|
32041
|
-
}), _defineProperty(_extraReducers$
|
|
32069
|
+
}), _defineProperty(_extraReducers$a, UPSERT_ALLERGEN_MASTER.fulfilled, function (state, action) {
|
|
32042
32070
|
state.save_allergen_master.loading = false, state.save_allergen_master.error = false, state.save_allergen_master = action.payload;
|
|
32043
|
-
}), _defineProperty(_extraReducers$
|
|
32071
|
+
}), _defineProperty(_extraReducers$a, UPSERT_ALLERGEN_MASTER.pending, function (state, action) {
|
|
32044
32072
|
state.save_allergen_master.loading = true, state.save_allergen_master.error = false, state.save_allergen_master.loading = true;
|
|
32045
|
-
}), _defineProperty(_extraReducers$
|
|
32073
|
+
}), _defineProperty(_extraReducers$a, UPSERT_ALLERGEN_MASTER.rejected, function (state, action) {
|
|
32046
32074
|
state.save_allergen_master.loading = false, state.save_allergen_master.error = true, state.save_allergen_master = action.payload;
|
|
32047
|
-
}), _defineProperty(_extraReducers$
|
|
32075
|
+
}), _defineProperty(_extraReducers$a, UPDATE_ALLERGEN_MASTER_STATUS.fulfilled, function (state, action) {
|
|
32048
32076
|
state.update_allergen_master_status.loading = false, state.update_allergen_master_status.error = false, state.update_allergen_master_status = action.payload;
|
|
32049
|
-
}), _defineProperty(_extraReducers$
|
|
32077
|
+
}), _defineProperty(_extraReducers$a, UPDATE_ALLERGEN_MASTER_STATUS.pending, function (state, action) {
|
|
32050
32078
|
state.update_allergen_master_status.loading = true, state.update_allergen_master_status.error = false, state.update_allergen_master_status.loading = true;
|
|
32051
|
-
}), _defineProperty(_extraReducers$
|
|
32079
|
+
}), _defineProperty(_extraReducers$a, UPDATE_ALLERGEN_MASTER_STATUS.rejected, function (state, action) {
|
|
32052
32080
|
state.update_allergen_master_status.loading = false, state.update_allergen_master_status.error = true, state.update_allergen_master_status = action.payload;
|
|
32053
|
-
}), _extraReducers$
|
|
32081
|
+
}), _extraReducers$a)
|
|
32054
32082
|
});
|
|
32055
32083
|
var allergenMasterActions = {
|
|
32056
32084
|
GET_ALLERGEN_MASTER: GET_ALLERGEN_MASTER,
|
|
@@ -32060,6 +32088,1048 @@ var allergenMasterActions = {
|
|
|
32060
32088
|
};
|
|
32061
32089
|
var allergenMasterSlice$1 = allergenMasterSlice.reducer;
|
|
32062
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
|
+
|
|
32063
33133
|
var query$2 = {
|
|
32064
33134
|
diagnosisList: function diagnosisList(level, code) {
|
|
32065
33135
|
// "db_name": `${dbName}`,
|
|
@@ -32333,7 +33403,7 @@ var diagnosisMasterActions = {
|
|
|
32333
33403
|
};
|
|
32334
33404
|
var diagnosisMasterSlice$1 = diagnosisMasterSlice.reducer;
|
|
32335
33405
|
|
|
32336
|
-
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);
|
|
32337
33407
|
|
|
32338
33408
|
var query$1 = {
|
|
32339
33409
|
// pending list
|
|
@@ -35605,6 +36675,8 @@ var index = combineReducers({
|
|
|
35605
36675
|
encounterTypeSlice: encounterTypeSlice,
|
|
35606
36676
|
orderSetApplicabilitySlice: orderSetApplicabilitySlice$1,
|
|
35607
36677
|
allergenMasterSlice: allergenMasterSlice$1,
|
|
36678
|
+
flexAttributeSlice: flexAttributeSlice$1,
|
|
36679
|
+
flexCriteriaSlice: flexCriteriaSlice$1,
|
|
35608
36680
|
diagnosisMasterSlice: diagnosisMasterSlice$1
|
|
35609
36681
|
});
|
|
35610
36682
|
|