primary_care_admin_binder 0.1.175 → 0.1.176
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 +131 -64
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -43931,6 +43931,18 @@ var queries$1 = {
|
|
|
43931
43931
|
}
|
|
43932
43932
|
};
|
|
43933
43933
|
},
|
|
43934
|
+
formTypeMaster: function formTypeMaster() {
|
|
43935
|
+
return {
|
|
43936
|
+
appcode: dbName,
|
|
43937
|
+
requestid: query_ids.getCodingmasterByType,
|
|
43938
|
+
filter: {
|
|
43939
|
+
type: "FORMTYPE",
|
|
43940
|
+
code: "",
|
|
43941
|
+
status: true,
|
|
43942
|
+
sortField: "display"
|
|
43943
|
+
}
|
|
43944
|
+
};
|
|
43945
|
+
},
|
|
43934
43946
|
upsert: function upsert(data) {
|
|
43935
43947
|
var filter = {};
|
|
43936
43948
|
var metadata = {};
|
|
@@ -43990,7 +44002,7 @@ var queries$1 = {
|
|
|
43990
44002
|
form_name: data.form_name,
|
|
43991
44003
|
form_type_id: data.form_type_id,
|
|
43992
44004
|
is_active: data.is_active,
|
|
43993
|
-
attachment: data.attachment
|
|
44005
|
+
attachment: Array.isArray(data.attachment) ? data.attachment : data.attachment ? [data.attachment] : [],
|
|
43994
44006
|
assessment: data.assessment
|
|
43995
44007
|
}
|
|
43996
44008
|
})];
|
|
@@ -44307,46 +44319,53 @@ var SYMPTOM_AND_SPECIALTY_MASTERS = createAsyncThunk("symptomAndSpecialtySlice/s
|
|
|
44307
44319
|
}
|
|
44308
44320
|
}, _callee5, null, [[1, 4]]);
|
|
44309
44321
|
})));
|
|
44310
|
-
var
|
|
44311
|
-
var
|
|
44312
|
-
_ref10,
|
|
44322
|
+
var FORM_TYPE_MASTERS = createAsyncThunk("symptomAndSpecialtySlice/form_type_master", /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee6() {
|
|
44323
|
+
var _ref10,
|
|
44313
44324
|
rejectWithValue,
|
|
44314
|
-
|
|
44315
|
-
|
|
44325
|
+
data_arr,
|
|
44326
|
+
arry,
|
|
44316
44327
|
_args6 = arguments,
|
|
44317
44328
|
_t6;
|
|
44318
44329
|
return _regenerator().w(function (_context6) {
|
|
44319
44330
|
while (1) switch (_context6.p = _context6.n) {
|
|
44320
44331
|
case 0:
|
|
44321
|
-
payload = _args6.length > 0 && _args6[0] !== undefined ? _args6[0] : {};
|
|
44322
44332
|
_ref10 = _args6.length > 1 ? _args6[1] : undefined, rejectWithValue = _ref10.rejectWithValue;
|
|
44323
44333
|
_context6.p = 1;
|
|
44324
|
-
queriesjson = queries$1.form_upsert(payload);
|
|
44325
44334
|
_context6.n = 2;
|
|
44326
44335
|
return fetchData({
|
|
44327
|
-
body: JSON.stringify(
|
|
44328
|
-
},
|
|
44336
|
+
body: JSON.stringify(queries$1.formTypeMaster())
|
|
44337
|
+
}, __baseUrl__$1);
|
|
44329
44338
|
case 2:
|
|
44330
|
-
|
|
44339
|
+
data_arr = _context6.v;
|
|
44340
|
+
arry = [];
|
|
44341
|
+
_context6.n = 3;
|
|
44342
|
+
return data_arr.map(function (val) {
|
|
44343
|
+
var _val$display4, _val$_id3;
|
|
44344
|
+
arry.push(_objectSpread2(_objectSpread2({}, val), {}, {
|
|
44345
|
+
code: val === null || val === void 0 ? void 0 : val.code,
|
|
44346
|
+
label: (_val$display4 = val === null || val === void 0 ? void 0 : val.display) !== null && _val$display4 !== void 0 ? _val$display4 : "",
|
|
44347
|
+
value: (_val$_id3 = val === null || val === void 0 ? void 0 : val._id) !== null && _val$_id3 !== void 0 ? _val$_id3 : ""
|
|
44348
|
+
}));
|
|
44349
|
+
});
|
|
44350
|
+
case 3:
|
|
44331
44351
|
return _context6.a(2, _objectSpread2(_objectSpread2({}, defaultState.List), {}, {
|
|
44332
|
-
data:
|
|
44352
|
+
data: arry
|
|
44333
44353
|
}));
|
|
44334
|
-
case
|
|
44335
|
-
_context6.p =
|
|
44354
|
+
case 4:
|
|
44355
|
+
_context6.p = 4;
|
|
44336
44356
|
_t6 = _context6.v;
|
|
44337
44357
|
return _context6.a(2, rejectWithValue(_objectSpread2(_objectSpread2({}, defaultReject), {}, {
|
|
44338
44358
|
message: _t6.message
|
|
44339
44359
|
})));
|
|
44340
44360
|
}
|
|
44341
|
-
}, _callee6, null, [[1,
|
|
44361
|
+
}, _callee6, null, [[1, 4]]);
|
|
44342
44362
|
})));
|
|
44343
|
-
var
|
|
44363
|
+
var GUIDELINE_UPSERT = createAsyncThunk("symptomAndSpecialtySlice/guideline_upsert", /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee7() {
|
|
44344
44364
|
var payload,
|
|
44345
44365
|
_ref12,
|
|
44346
44366
|
rejectWithValue,
|
|
44347
44367
|
queriesjson,
|
|
44348
44368
|
data,
|
|
44349
|
-
record,
|
|
44350
44369
|
_args7 = arguments,
|
|
44351
44370
|
_t7;
|
|
44352
44371
|
return _regenerator().w(function (_context7) {
|
|
@@ -44355,17 +44374,15 @@ var GUIDELINE_READ = createAsyncThunk("symptomAndSpecialtySlice/guideline_read",
|
|
|
44355
44374
|
payload = _args7.length > 0 && _args7[0] !== undefined ? _args7[0] : {};
|
|
44356
44375
|
_ref12 = _args7.length > 1 ? _args7[1] : undefined, rejectWithValue = _ref12.rejectWithValue;
|
|
44357
44376
|
_context7.p = 1;
|
|
44358
|
-
queriesjson = queries$1.
|
|
44377
|
+
queriesjson = queries$1.form_upsert(payload);
|
|
44359
44378
|
_context7.n = 2;
|
|
44360
44379
|
return fetchData({
|
|
44361
44380
|
body: JSON.stringify(queriesjson)
|
|
44362
|
-
},
|
|
44381
|
+
}, __uspsertUrl__);
|
|
44363
44382
|
case 2:
|
|
44364
44383
|
data = _context7.v;
|
|
44365
|
-
// data is an array; return first match
|
|
44366
|
-
record = Array.isArray(data) ? data[0] : null;
|
|
44367
44384
|
return _context7.a(2, _objectSpread2(_objectSpread2({}, defaultState.List), {}, {
|
|
44368
|
-
data:
|
|
44385
|
+
data: data
|
|
44369
44386
|
}));
|
|
44370
44387
|
case 3:
|
|
44371
44388
|
_context7.p = 3;
|
|
@@ -44376,14 +44393,13 @@ var GUIDELINE_READ = createAsyncThunk("symptomAndSpecialtySlice/guideline_read",
|
|
|
44376
44393
|
}
|
|
44377
44394
|
}, _callee7, null, [[1, 3]]);
|
|
44378
44395
|
})));
|
|
44379
|
-
|
|
44380
|
-
/* ── FORM_UPSERT ── */
|
|
44381
|
-
var FORM_UPSERT = createAsyncThunk("symptomAndSpecialtySlice/form_upsert", /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee8() {
|
|
44396
|
+
var GUIDELINE_READ = createAsyncThunk("symptomAndSpecialtySlice/guideline_read", /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee8() {
|
|
44382
44397
|
var payload,
|
|
44383
44398
|
_ref14,
|
|
44384
44399
|
rejectWithValue,
|
|
44385
44400
|
queriesjson,
|
|
44386
44401
|
data,
|
|
44402
|
+
record,
|
|
44387
44403
|
_args8 = arguments,
|
|
44388
44404
|
_t8;
|
|
44389
44405
|
return _regenerator().w(function (_context8) {
|
|
@@ -44392,15 +44408,17 @@ var FORM_UPSERT = createAsyncThunk("symptomAndSpecialtySlice/form_upsert", /*#__
|
|
|
44392
44408
|
payload = _args8.length > 0 && _args8[0] !== undefined ? _args8[0] : {};
|
|
44393
44409
|
_ref14 = _args8.length > 1 ? _args8[1] : undefined, rejectWithValue = _ref14.rejectWithValue;
|
|
44394
44410
|
_context8.p = 1;
|
|
44395
|
-
queriesjson = queries$1.
|
|
44411
|
+
queriesjson = queries$1.form_read(payload.form_id);
|
|
44396
44412
|
_context8.n = 2;
|
|
44397
44413
|
return fetchData({
|
|
44398
44414
|
body: JSON.stringify(queriesjson)
|
|
44399
|
-
},
|
|
44415
|
+
}, __baseUrl__$1);
|
|
44400
44416
|
case 2:
|
|
44401
44417
|
data = _context8.v;
|
|
44418
|
+
// data is an array; return first match
|
|
44419
|
+
record = Array.isArray(data) ? data[0] : null;
|
|
44402
44420
|
return _context8.a(2, _objectSpread2(_objectSpread2({}, defaultState.List), {}, {
|
|
44403
|
-
data:
|
|
44421
|
+
data: record
|
|
44404
44422
|
}));
|
|
44405
44423
|
case 3:
|
|
44406
44424
|
_context8.p = 3;
|
|
@@ -44412,14 +44430,13 @@ var FORM_UPSERT = createAsyncThunk("symptomAndSpecialtySlice/form_upsert", /*#__
|
|
|
44412
44430
|
}, _callee8, null, [[1, 3]]);
|
|
44413
44431
|
})));
|
|
44414
44432
|
|
|
44415
|
-
/* ──
|
|
44416
|
-
var
|
|
44433
|
+
/* ── FORM_UPSERT ── */
|
|
44434
|
+
var FORM_UPSERT = createAsyncThunk("symptomAndSpecialtySlice/form_upsert", /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee9() {
|
|
44417
44435
|
var payload,
|
|
44418
44436
|
_ref16,
|
|
44419
44437
|
rejectWithValue,
|
|
44420
44438
|
queriesjson,
|
|
44421
44439
|
data,
|
|
44422
|
-
arry,
|
|
44423
44440
|
_args9 = arguments,
|
|
44424
44441
|
_t9;
|
|
44425
44442
|
return _regenerator().w(function (_context9) {
|
|
@@ -44428,34 +44445,15 @@ var FORM_LIST = createAsyncThunk("symptomAndSpecialtySlice/form_list", /*#__PURE
|
|
|
44428
44445
|
payload = _args9.length > 0 && _args9[0] !== undefined ? _args9[0] : {};
|
|
44429
44446
|
_ref16 = _args9.length > 1 ? _args9[1] : undefined, rejectWithValue = _ref16.rejectWithValue;
|
|
44430
44447
|
_context9.p = 1;
|
|
44431
|
-
queriesjson = queries$1.
|
|
44448
|
+
queriesjson = queries$1.form_upsert(payload);
|
|
44432
44449
|
_context9.n = 2;
|
|
44433
44450
|
return fetchData({
|
|
44434
44451
|
body: JSON.stringify(queriesjson)
|
|
44435
|
-
},
|
|
44452
|
+
}, __uspsertUrl__);
|
|
44436
44453
|
case 2:
|
|
44437
44454
|
data = _context9.v;
|
|
44438
|
-
arry = [];
|
|
44439
|
-
if (Array.isArray(data)) {
|
|
44440
|
-
data.forEach(function (val) {
|
|
44441
|
-
if (val.form_id || val._key) {
|
|
44442
|
-
var _val$TotalCount, _val$_id3, _val$_key, _val$form_id, _val$form_name, _val$form_type_id, _val$attachment;
|
|
44443
|
-
arry.push({
|
|
44444
|
-
TotalCount: (_val$TotalCount = val.TotalCount) !== null && _val$TotalCount !== void 0 ? _val$TotalCount : 0,
|
|
44445
|
-
_id: (_val$_id3 = val._id) !== null && _val$_id3 !== void 0 ? _val$_id3 : "",
|
|
44446
|
-
_key: (_val$_key = val._key) !== null && _val$_key !== void 0 ? _val$_key : "",
|
|
44447
|
-
form_id: (_val$form_id = val.form_id) !== null && _val$form_id !== void 0 ? _val$form_id : "",
|
|
44448
|
-
form_name: (_val$form_name = val.form_name) !== null && _val$form_name !== void 0 ? _val$form_name : "",
|
|
44449
|
-
form_type_id: (_val$form_type_id = val.form_type_id) !== null && _val$form_type_id !== void 0 ? _val$form_type_id : "",
|
|
44450
|
-
is_active: val.is_active,
|
|
44451
|
-
assessment: val.assessment,
|
|
44452
|
-
attachment: (_val$attachment = val.attachment) !== null && _val$attachment !== void 0 ? _val$attachment : null
|
|
44453
|
-
});
|
|
44454
|
-
}
|
|
44455
|
-
});
|
|
44456
|
-
}
|
|
44457
44455
|
return _context9.a(2, _objectSpread2(_objectSpread2({}, defaultState.List), {}, {
|
|
44458
|
-
data:
|
|
44456
|
+
data: data
|
|
44459
44457
|
}));
|
|
44460
44458
|
case 3:
|
|
44461
44459
|
_context9.p = 3;
|
|
@@ -44467,14 +44465,14 @@ var FORM_LIST = createAsyncThunk("symptomAndSpecialtySlice/form_list", /*#__PURE
|
|
|
44467
44465
|
}, _callee9, null, [[1, 3]]);
|
|
44468
44466
|
})));
|
|
44469
44467
|
|
|
44470
|
-
/* ──
|
|
44471
|
-
var
|
|
44468
|
+
/* ── FORM_LIST ── */
|
|
44469
|
+
var FORM_LIST = createAsyncThunk("symptomAndSpecialtySlice/form_list", /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee0() {
|
|
44472
44470
|
var payload,
|
|
44473
44471
|
_ref18,
|
|
44474
44472
|
rejectWithValue,
|
|
44475
44473
|
queriesjson,
|
|
44476
44474
|
data,
|
|
44477
|
-
|
|
44475
|
+
arry,
|
|
44478
44476
|
_args0 = arguments,
|
|
44479
44477
|
_t0;
|
|
44480
44478
|
return _regenerator().w(function (_context0) {
|
|
@@ -44483,16 +44481,35 @@ var FORM_READ = createAsyncThunk("symptomAndSpecialtySlice/form_read", /*#__PURE
|
|
|
44483
44481
|
payload = _args0.length > 0 && _args0[0] !== undefined ? _args0[0] : {};
|
|
44484
44482
|
_ref18 = _args0.length > 1 ? _args0[1] : undefined, rejectWithValue = _ref18.rejectWithValue;
|
|
44485
44483
|
_context0.p = 1;
|
|
44486
|
-
queriesjson = queries$1.
|
|
44484
|
+
queriesjson = queries$1.form_list(payload.offset, payload.count, payload.search);
|
|
44487
44485
|
_context0.n = 2;
|
|
44488
44486
|
return fetchData({
|
|
44489
44487
|
body: JSON.stringify(queriesjson)
|
|
44490
44488
|
}, __baseUrl__$1);
|
|
44491
44489
|
case 2:
|
|
44492
44490
|
data = _context0.v;
|
|
44493
|
-
|
|
44491
|
+
arry = [];
|
|
44492
|
+
if (Array.isArray(data)) {
|
|
44493
|
+
data.forEach(function (val) {
|
|
44494
|
+
if (val.form_id || val._key) {
|
|
44495
|
+
var _val$TotalCount, _val$_id4, _val$_key, _val$form_id, _val$form_name, _val$form_type_id, _val$form_type_id$dis, _val$form_type_id2, _val$attachment;
|
|
44496
|
+
arry.push({
|
|
44497
|
+
TotalCount: (_val$TotalCount = val.TotalCount) !== null && _val$TotalCount !== void 0 ? _val$TotalCount : 0,
|
|
44498
|
+
_id: (_val$_id4 = val._id) !== null && _val$_id4 !== void 0 ? _val$_id4 : "",
|
|
44499
|
+
_key: (_val$_key = val._key) !== null && _val$_key !== void 0 ? _val$_key : "",
|
|
44500
|
+
form_id: (_val$form_id = val.form_id) !== null && _val$form_id !== void 0 ? _val$form_id : "",
|
|
44501
|
+
form_name: (_val$form_name = val.form_name) !== null && _val$form_name !== void 0 ? _val$form_name : "",
|
|
44502
|
+
form_type_id: (_val$form_type_id = val === null || val === void 0 ? void 0 : val.form_type_id) !== null && _val$form_type_id !== void 0 ? _val$form_type_id : {},
|
|
44503
|
+
form_type_name: (_val$form_type_id$dis = val === null || val === void 0 || (_val$form_type_id2 = val.form_type_id) === null || _val$form_type_id2 === void 0 ? void 0 : _val$form_type_id2.display) !== null && _val$form_type_id$dis !== void 0 ? _val$form_type_id$dis : "",
|
|
44504
|
+
is_active: val.is_active,
|
|
44505
|
+
assessment: val.assessment,
|
|
44506
|
+
attachment: (_val$attachment = val.attachment) !== null && _val$attachment !== void 0 ? _val$attachment : null
|
|
44507
|
+
});
|
|
44508
|
+
}
|
|
44509
|
+
});
|
|
44510
|
+
}
|
|
44494
44511
|
return _context0.a(2, _objectSpread2(_objectSpread2({}, defaultState.List), {}, {
|
|
44495
|
-
data:
|
|
44512
|
+
data: arry
|
|
44496
44513
|
}));
|
|
44497
44514
|
case 3:
|
|
44498
44515
|
_context0.p = 3;
|
|
@@ -44503,6 +44520,43 @@ var FORM_READ = createAsyncThunk("symptomAndSpecialtySlice/form_read", /*#__PURE
|
|
|
44503
44520
|
}
|
|
44504
44521
|
}, _callee0, null, [[1, 3]]);
|
|
44505
44522
|
})));
|
|
44523
|
+
|
|
44524
|
+
/* ── FORM_READ ── */
|
|
44525
|
+
var FORM_READ = createAsyncThunk("symptomAndSpecialtySlice/form_read", /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee1() {
|
|
44526
|
+
var payload,
|
|
44527
|
+
_ref20,
|
|
44528
|
+
rejectWithValue,
|
|
44529
|
+
queriesjson,
|
|
44530
|
+
data,
|
|
44531
|
+
record,
|
|
44532
|
+
_args1 = arguments,
|
|
44533
|
+
_t1;
|
|
44534
|
+
return _regenerator().w(function (_context1) {
|
|
44535
|
+
while (1) switch (_context1.p = _context1.n) {
|
|
44536
|
+
case 0:
|
|
44537
|
+
payload = _args1.length > 0 && _args1[0] !== undefined ? _args1[0] : {};
|
|
44538
|
+
_ref20 = _args1.length > 1 ? _args1[1] : undefined, rejectWithValue = _ref20.rejectWithValue;
|
|
44539
|
+
_context1.p = 1;
|
|
44540
|
+
queriesjson = queries$1.form_read(payload.form_id);
|
|
44541
|
+
_context1.n = 2;
|
|
44542
|
+
return fetchData({
|
|
44543
|
+
body: JSON.stringify(queriesjson)
|
|
44544
|
+
}, __baseUrl__$1);
|
|
44545
|
+
case 2:
|
|
44546
|
+
data = _context1.v;
|
|
44547
|
+
record = Array.isArray(data) ? data[0] : null;
|
|
44548
|
+
return _context1.a(2, _objectSpread2(_objectSpread2({}, defaultState.List), {}, {
|
|
44549
|
+
data: record
|
|
44550
|
+
}));
|
|
44551
|
+
case 3:
|
|
44552
|
+
_context1.p = 3;
|
|
44553
|
+
_t1 = _context1.v;
|
|
44554
|
+
return _context1.a(2, rejectWithValue(_objectSpread2(_objectSpread2({}, defaultReject), {}, {
|
|
44555
|
+
message: _t1.message
|
|
44556
|
+
})));
|
|
44557
|
+
}
|
|
44558
|
+
}, _callee1, null, [[1, 3]]);
|
|
44559
|
+
})));
|
|
44506
44560
|
var symptomAndSpecialtySlice = createSlice({
|
|
44507
44561
|
name: "symptomAndSpecialtySlice",
|
|
44508
44562
|
initialState: {
|
|
@@ -44515,7 +44569,8 @@ var symptomAndSpecialtySlice = createSlice({
|
|
|
44515
44569
|
guideline_read: _objectSpread2({}, defaultState.List),
|
|
44516
44570
|
form_upsert: _objectSpread2({}, defaultState.List),
|
|
44517
44571
|
form_list: _objectSpread2({}, defaultState.List),
|
|
44518
|
-
form_read: _objectSpread2({}, defaultState.List)
|
|
44572
|
+
form_read: _objectSpread2({}, defaultState.List),
|
|
44573
|
+
form_type_master: _objectSpread2({}, defaultState.List)
|
|
44519
44574
|
},
|
|
44520
44575
|
extraReducers: (_extraReducers$4 = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_extraReducers$4, SYMPTOM_AND_SPECIALTY_STATUS_CHANGE.fulfilled, function (state, action) {
|
|
44521
44576
|
state.symptom_and_specialty_status_update.loading = false, state.symptom_and_specialty_status_update.error = false, state.symptom_and_specialty_status_update = action.payload;
|
|
@@ -44541,6 +44596,17 @@ var symptomAndSpecialtySlice = createSlice({
|
|
|
44541
44596
|
state.symptom_and_specialty_master.loading = true, state.symptom_and_specialty_master.error = false, state.symptom_and_specialty_master.loading = true;
|
|
44542
44597
|
}), SYMPTOM_AND_SPECIALTY_MASTERS.rejected, function (state, action) {
|
|
44543
44598
|
state.symptom_and_specialty_master.loading = false, state.symptom_and_specialty_master.error = true, state.symptom_and_specialty_master = action.payload;
|
|
44599
|
+
}), FORM_TYPE_MASTERS.fulfilled, function (state, action) {
|
|
44600
|
+
state.form_type_master.loading = false;
|
|
44601
|
+
state.form_type_master.error = false;
|
|
44602
|
+
state.form_type_master = action.payload;
|
|
44603
|
+
}), FORM_TYPE_MASTERS.pending, function (state) {
|
|
44604
|
+
state.form_type_master.loading = true;
|
|
44605
|
+
state.form_type_master.error = false;
|
|
44606
|
+
}), FORM_TYPE_MASTERS.rejected, function (state, action) {
|
|
44607
|
+
state.form_type_master.loading = false;
|
|
44608
|
+
state.form_type_master.error = true;
|
|
44609
|
+
state.form_type_master = action.payload;
|
|
44544
44610
|
}), SYMPTOM_AND_SPECIALTY_UPSERT.fulfilled, function (state, action) {
|
|
44545
44611
|
state.symptom_and_specialty_upsert.loading = false;
|
|
44546
44612
|
state.symptom_and_specialty_upsert.error = false;
|
|
@@ -44559,7 +44625,7 @@ var symptomAndSpecialtySlice = createSlice({
|
|
|
44559
44625
|
}), GUIDELINE_UPSERT.pending, function (state) {
|
|
44560
44626
|
state.guideline_upsert.loading = true;
|
|
44561
44627
|
state.guideline_upsert.error = false;
|
|
44562
|
-
}), GUIDELINE_UPSERT.rejected, function (state, action) {
|
|
44628
|
+
}), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_extraReducers$4, GUIDELINE_UPSERT.rejected, function (state, action) {
|
|
44563
44629
|
state.guideline_upsert.loading = false;
|
|
44564
44630
|
state.guideline_upsert.error = true;
|
|
44565
44631
|
state.guideline_upsert = action.payload;
|
|
@@ -44570,7 +44636,7 @@ var symptomAndSpecialtySlice = createSlice({
|
|
|
44570
44636
|
}), GUIDELINE_READ.pending, function (state) {
|
|
44571
44637
|
state.guideline_read.loading = true;
|
|
44572
44638
|
state.guideline_read.error = false;
|
|
44573
|
-
}),
|
|
44639
|
+
}), GUIDELINE_READ.rejected, function (state, action) {
|
|
44574
44640
|
state.guideline_read.loading = false;
|
|
44575
44641
|
state.guideline_read.error = true;
|
|
44576
44642
|
state.guideline_read = action.payload;
|
|
@@ -44596,7 +44662,7 @@ var symptomAndSpecialtySlice = createSlice({
|
|
|
44596
44662
|
state.form_list.loading = false;
|
|
44597
44663
|
state.form_list.error = true;
|
|
44598
44664
|
state.form_list = action.payload;
|
|
44599
|
-
}), FORM_READ.fulfilled, function (state, action) {
|
|
44665
|
+
}), _defineProperty(_defineProperty(_defineProperty(_extraReducers$4, FORM_READ.fulfilled, function (state, action) {
|
|
44600
44666
|
state.form_read.loading = false;
|
|
44601
44667
|
state.form_read.error = false;
|
|
44602
44668
|
state.form_read = action.payload;
|
|
@@ -44619,7 +44685,8 @@ var symptomAndSpecialtyActions = {
|
|
|
44619
44685
|
GUIDELINE_READ: GUIDELINE_READ,
|
|
44620
44686
|
FORM_UPSERT: FORM_UPSERT,
|
|
44621
44687
|
FORM_LIST: FORM_LIST,
|
|
44622
|
-
FORM_READ: FORM_READ
|
|
44688
|
+
FORM_READ: FORM_READ,
|
|
44689
|
+
FORM_TYPE_MASTERS: FORM_TYPE_MASTERS
|
|
44623
44690
|
};
|
|
44624
44691
|
var symptomAndSpecialtySlice$1 = symptomAndSpecialtySlice.reducer;
|
|
44625
44692
|
|