primary_care_admin_binder 0.1.161 → 0.1.163
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 +565 -564
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -2389,6 +2389,7 @@ process.env.REACT_APP_TENANTID;
|
|
|
2389
2389
|
*/
|
|
2390
2390
|
function getBinderUrls() {
|
|
2391
2391
|
var arangoApi = getBinderEnv("REACT_APP_ARANGO_API");
|
|
2392
|
+
var commonApi = getBinderEnv("REACT_APP_AIQOE_COMMON_API_URL");
|
|
2392
2393
|
var keyClockApi = getBinderEnv("REACT_APP_KEY_CLOCK_API");
|
|
2393
2394
|
var nifiApi = getBinderEnv("REACT_APP_NIFI_API");
|
|
2394
2395
|
var tokenApi = getBinderEnv("REACT_APP_TOKEN_URL");
|
|
@@ -2407,10 +2408,10 @@ function getBinderUrls() {
|
|
|
2407
2408
|
tenantId: getBinderEnv("REACT_APP_TENANTID"),
|
|
2408
2409
|
// Arango APIs
|
|
2409
2410
|
baseUrl: function baseUrl() {
|
|
2410
|
-
return "".concat(
|
|
2411
|
+
return "".concat(commonApi, "/api/read_qdmqueries");
|
|
2411
2412
|
},
|
|
2412
2413
|
upsertUrl: function upsertUrl() {
|
|
2413
|
-
return "".concat(
|
|
2414
|
+
return "".concat(commonApi, "/api/upsert_document");
|
|
2414
2415
|
},
|
|
2415
2416
|
updateUrl: function updateUrl() {
|
|
2416
2417
|
return "".concat(arangoApi, "/api/updatedocument");
|
|
@@ -8258,7 +8259,7 @@ var moment = createCommonjsModule(function (module, exports) {
|
|
|
8258
8259
|
var fetchData = /*#__PURE__*/function () {
|
|
8259
8260
|
var _ref3 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(input) {
|
|
8260
8261
|
var url,
|
|
8261
|
-
|
|
8262
|
+
jwtTokenFromStorage,
|
|
8262
8263
|
__options,
|
|
8263
8264
|
res,
|
|
8264
8265
|
data,
|
|
@@ -8267,12 +8268,12 @@ var fetchData = /*#__PURE__*/function () {
|
|
|
8267
8268
|
while (1) switch (_context.n) {
|
|
8268
8269
|
case 0:
|
|
8269
8270
|
url = _args.length > 1 && _args[1] !== undefined ? _args[1] : __baseUrl__;
|
|
8270
|
-
|
|
8271
|
+
jwtTokenFromStorage = localStorage.getItem("token");
|
|
8271
8272
|
__options = {
|
|
8272
8273
|
method: "POST",
|
|
8273
|
-
headers:
|
|
8274
|
+
headers: jwtTokenFromStorage ? {
|
|
8274
8275
|
"Content-Type": "application/json",
|
|
8275
|
-
"jwtToken":
|
|
8276
|
+
"jwtToken": jwtTokenFromStorage
|
|
8276
8277
|
} : {
|
|
8277
8278
|
"Content-Type": "application/json"
|
|
8278
8279
|
},
|
|
@@ -8403,7 +8404,7 @@ var fetchDataApi = /*#__PURE__*/function () {
|
|
|
8403
8404
|
var queries$o = {
|
|
8404
8405
|
rolelist: function rolelist(type, page, perPage, search) {
|
|
8405
8406
|
return {
|
|
8406
|
-
|
|
8407
|
+
appcode: dbName,
|
|
8407
8408
|
entity: "CodeableConceptMaster",
|
|
8408
8409
|
filter: "CodeableConceptMaster.Type=='".concat(type, "' && (like(document(CodeableConceptMaster.coding[0]).code,'%").concat(search, "%',true) || like(document(CodeableConceptMaster.coding[0]).shortdesc,'%").concat(search, "%',true) || like(document(CodeableConceptMaster.coding[0]).display,'%").concat(search, "%',true)) && CodeableConceptMaster.activestatus==true"),
|
|
8409
8410
|
limit: {
|
|
@@ -8415,7 +8416,7 @@ var queries$o = {
|
|
|
8415
8416
|
};
|
|
8416
8417
|
|
|
8417
8418
|
// {
|
|
8418
|
-
// "
|
|
8419
|
+
// "appcode": "primarycare",
|
|
8419
8420
|
// "entity": "CodeableConceptMaster",
|
|
8420
8421
|
// "filter": "CodeableConceptMaster.Type == '@type' && (like(document(CodeableConceptMaster.coding[0]).code,'%%',true) || like(document(CodeableConceptMaster.coding[0]).shortdesc,'%%',true) || like(document(CodeableConceptMaster.coding[0]).display,'%%',true) ) && CodeableConceptMaster.activestatus==true",
|
|
8421
8422
|
// "return_fields": "MERGE(CodeableConceptMaster,{coding:(FOR cod IN CodeableConceptMaster.coding RETURN DOCUMENT(cod))},{ TotalCount:count( FOR code IN CodeableConceptMaster FILTER code.Type == '@type' && (like(document(code.coding[0]).code,'%%',true) || like(document(code.coding[0]).shortdesc,'%%',true) || like(document(code.coding[0]).display,'%%',true) ) && code.activestatus==true return code._id)})",
|
|
@@ -8447,7 +8448,7 @@ var queries$o = {
|
|
|
8447
8448
|
});
|
|
8448
8449
|
}
|
|
8449
8450
|
return [_objectSpread2(_objectSpread2({
|
|
8450
|
-
|
|
8451
|
+
appcode: dbName,
|
|
8451
8452
|
entity: "CodeableConceptMaster",
|
|
8452
8453
|
is_metadata: true,
|
|
8453
8454
|
metadataId: metaDataId$1,
|
|
@@ -8474,8 +8475,8 @@ var queries$o = {
|
|
|
8474
8475
|
},
|
|
8475
8476
|
practitioner_by_id: function practitioner_by_id(id) {
|
|
8476
8477
|
return {
|
|
8477
|
-
|
|
8478
|
-
|
|
8478
|
+
appcode: dbName,
|
|
8479
|
+
requestid: "4daba280-4b41-40a5-94bc-75b2ae38e8db",
|
|
8479
8480
|
filter: {
|
|
8480
8481
|
key: "".concat(id),
|
|
8481
8482
|
activestatus: true
|
|
@@ -8487,8 +8488,8 @@ var queries$o = {
|
|
|
8487
8488
|
var perPage = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 10;
|
|
8488
8489
|
var search = arguments.length > 2 ? arguments[2] : undefined;
|
|
8489
8490
|
return {
|
|
8490
|
-
|
|
8491
|
-
|
|
8491
|
+
appcode: dbName,
|
|
8492
|
+
requestid: "b1b6a289-71c1-449a-be57-c6b7cddff699",
|
|
8492
8493
|
filter: {
|
|
8493
8494
|
search: "".concat(search),
|
|
8494
8495
|
offset: page,
|
|
@@ -8498,7 +8499,7 @@ var queries$o = {
|
|
|
8498
8499
|
},
|
|
8499
8500
|
status_update_practitioner: function status_update_practitioner(data) {
|
|
8500
8501
|
return [{
|
|
8501
|
-
|
|
8502
|
+
appcode: dbName,
|
|
8502
8503
|
entity: "Practitioner",
|
|
8503
8504
|
filter: {
|
|
8504
8505
|
_key: data._key
|
|
@@ -8513,8 +8514,8 @@ var queries$o = {
|
|
|
8513
8514
|
},
|
|
8514
8515
|
get_entity_by_id: function get_entity_by_id(id) {
|
|
8515
8516
|
return {
|
|
8516
|
-
|
|
8517
|
-
|
|
8517
|
+
appcode: dbName,
|
|
8518
|
+
requestid: "3265e287-5a0e-482d-a2e9-d6ee96e83c9a",
|
|
8518
8519
|
filter: {
|
|
8519
8520
|
activestatus: true,
|
|
8520
8521
|
orgType: "".concat(id)
|
|
@@ -8879,8 +8880,8 @@ var practitionerSlice$1 = practitionerSlice.reducer;
|
|
|
8879
8880
|
|
|
8880
8881
|
var codingMasterFilter = function codingMasterFilter(type) {
|
|
8881
8882
|
return {
|
|
8882
|
-
|
|
8883
|
-
|
|
8883
|
+
appcode: _dbName,
|
|
8884
|
+
requestid: "95931016-caf1-413c-8bf5-96f05c5709fb",
|
|
8884
8885
|
filter: {
|
|
8885
8886
|
type: type,
|
|
8886
8887
|
status: true,
|
|
@@ -8907,15 +8908,15 @@ var masterQuery$8 = {
|
|
|
8907
8908
|
position: JSON.stringify(codingMasterFilter("POSITION")),
|
|
8908
8909
|
employee_type: JSON.stringify(codingMasterFilter("EMPSTATUS")),
|
|
8909
8910
|
marital_status: JSON.stringify(codingMasterFilter("MARITALSTATUS")),
|
|
8910
|
-
entity_name: "{\n \"
|
|
8911
|
-
location: "{\n \"
|
|
8912
|
-
nationality: "{\n \"
|
|
8913
|
-
country_code: "{\n \"
|
|
8911
|
+
entity_name: "{\n \"appcode\": \"".concat(_dbName, "\",\n \"requestid\": \"9f065c19-10c9-41e1-b925-53458964974f\", \n \"filter\": {\n \"activestatus\": true,\n \"id\": \"\",\n \"sortByName\": false,\n \"active\": \"\"\n }\n }"),
|
|
8912
|
+
location: "{\n \"appcode\": \"".concat(_dbName, "\",\n \"requestid\": \"c27d71be-6c29-4024-aab3-1dd0a0a88c32\", \n \"filter\": {\n \"activestatus\": true, \n \"status\": \"active\", \n \"parentLocationId\": \"\",\n \"locationtype\": null,\n \"organizationId\":\"\" \n }\n }"),
|
|
8913
|
+
nationality: "{\n \"appcode\": \"".concat(_dbName, "\",\n \"requestid\": \"d3659637-f0aa-4e0d-86d6-61fd445f7dd5\",\n \"filter\":{\n \"display\": \"country\",\n \"activestatus\": true,\n \"active\": true,\n \"sort\":\"geogLevelName\"\n }\n }"),
|
|
8914
|
+
country_code: "{\n \"appcode\": \"".concat(_dbName, "\",\n \"requestid\": \"d3659637-f0aa-4e0d-86d6-61fd445f7dd5\",\n \"filter\":{\n \"display\": \"country\",\n \"activestatus\": true,\n \"active\": true,\n \"sort\":\"GeoLocationISDCode\"\n }\n }")
|
|
8914
8915
|
};
|
|
8915
8916
|
var geoQuery = function geoQuery(display, geogLevelCode) {
|
|
8916
8917
|
return {
|
|
8917
|
-
|
|
8918
|
-
|
|
8918
|
+
appcode: _dbName,
|
|
8919
|
+
requestid: "ad647bcf-edcc-44ac-9ca9-67c3b277b8df",
|
|
8919
8920
|
filter: _objectSpread2({
|
|
8920
8921
|
activestatus: true,
|
|
8921
8922
|
display: display
|
|
@@ -8927,8 +8928,8 @@ var geoQuery = function geoQuery(display, geogLevelCode) {
|
|
|
8927
8928
|
var masterqueries = {
|
|
8928
8929
|
country: function country() {
|
|
8929
8930
|
return {
|
|
8930
|
-
|
|
8931
|
-
|
|
8931
|
+
appcode: _dbName,
|
|
8932
|
+
requestid: "2daa7e4a-bff4-4d1c-a5f9-d0fa6c82bd4a",
|
|
8932
8933
|
filter: {
|
|
8933
8934
|
code: "GE002",
|
|
8934
8935
|
activestatus: true
|
|
@@ -9795,7 +9796,7 @@ var generateJson$c = function generateJson(data) {
|
|
|
9795
9796
|
};
|
|
9796
9797
|
}
|
|
9797
9798
|
return [_objectSpread2(_objectSpread2({
|
|
9798
|
-
"
|
|
9799
|
+
"appcode": dbName
|
|
9799
9800
|
}, filter), {}, {
|
|
9800
9801
|
"entity": "AgeRanges",
|
|
9801
9802
|
"is_metadata": true,
|
|
@@ -9882,7 +9883,7 @@ var UPDATE_AGE_RANGE = createAsyncThunk("ageRangeMasterApiSlice/update_age_range
|
|
|
9882
9883
|
_context2.p = 1;
|
|
9883
9884
|
editId = payload.editId, status = payload.status;
|
|
9884
9885
|
queriesjson = [{
|
|
9885
|
-
"
|
|
9886
|
+
"appcode": dbName,
|
|
9886
9887
|
"entity": "AgeRanges",
|
|
9887
9888
|
"filter": "AgeRanges._id==\"".concat(editId, "\""),
|
|
9888
9889
|
"metadataId": metaDataId$1,
|
|
@@ -10026,7 +10027,7 @@ var ageRangeMasterSlice$1 = ageRangeMasterSlice.reducer;
|
|
|
10026
10027
|
var query$b = {
|
|
10027
10028
|
getList: function getList(page, perPage, search) {
|
|
10028
10029
|
return {
|
|
10029
|
-
|
|
10030
|
+
appcode: dbName,
|
|
10030
10031
|
entity: "VitalsMeasureCodes",
|
|
10031
10032
|
sort: "VitalsMeasureCodes.createddate",
|
|
10032
10033
|
limit: {
|
|
@@ -10051,7 +10052,7 @@ var generateJson$b = function generateJson(data) {
|
|
|
10051
10052
|
};
|
|
10052
10053
|
}
|
|
10053
10054
|
return [_objectSpread2(_objectSpread2({
|
|
10054
|
-
"
|
|
10055
|
+
"appcode": dbName
|
|
10055
10056
|
}, filter), {}, {
|
|
10056
10057
|
"metadataId": metaDataId$1,
|
|
10057
10058
|
"metadata_dbname": metaDatadbName$1,
|
|
@@ -10157,7 +10158,7 @@ var UPDATE_MEASURE_CODE_STATUS = createAsyncThunk("ageRangeMasterApiSlice/update
|
|
|
10157
10158
|
_context3.p = 1;
|
|
10158
10159
|
editId = payload.editId, status = payload.status;
|
|
10159
10160
|
queriesjson = [{
|
|
10160
|
-
"
|
|
10161
|
+
"appcode": dbName,
|
|
10161
10162
|
"entity": "VitalsMeasureCodes",
|
|
10162
10163
|
"filter": "VitalsMeasureCodes._id==\"".concat(editId, "\""),
|
|
10163
10164
|
"metadataId": metaDataId$1,
|
|
@@ -10313,7 +10314,7 @@ var generateSaveJSON$1 = function generateSaveJSON(data) {
|
|
|
10313
10314
|
};
|
|
10314
10315
|
}
|
|
10315
10316
|
return [_objectSpread2(_objectSpread2({
|
|
10316
|
-
|
|
10317
|
+
appcode: dbName,
|
|
10317
10318
|
entity: "VitalsApplbyPatAtrrib"
|
|
10318
10319
|
}, filter), {}, {
|
|
10319
10320
|
is_metadata: true,
|
|
@@ -10385,7 +10386,7 @@ var GetDiagnosis = function GetDiagnosis(diag, state) {
|
|
|
10385
10386
|
//for status update
|
|
10386
10387
|
var generateApplicableUpdateJSON = function generateApplicableUpdateJSON(editID, Status) {
|
|
10387
10388
|
return [{
|
|
10388
|
-
|
|
10389
|
+
appcode: dbName,
|
|
10389
10390
|
entity: "VitalsApplbyPatAtrrib",
|
|
10390
10391
|
filter: {
|
|
10391
10392
|
_id: editID
|
|
@@ -11185,7 +11186,7 @@ var query$9 = {
|
|
|
11185
11186
|
ageRanges: "{\n \"db_name\": \"".concat(_dbName, "\",\n \"entity\": \"AgeRanges\",\n \"filter\": {\n \"AgeRanges\":\"AgeRanges.activestatus==true \"\n },\n \"return_fields\": \"{'AgeRangesDtl':AgeRanges,'AgeCategoryDtl':DOCUMENT(AgeRanges.AgeCategory)}\"\n }"),
|
|
11186
11187
|
ageCategory: function ageCategory(ageRangeId) {
|
|
11187
11188
|
return {
|
|
11188
|
-
|
|
11189
|
+
appcode: _dbName,
|
|
11189
11190
|
entity: "AgeRanges",
|
|
11190
11191
|
filter: {
|
|
11191
11192
|
AgeRanges: "AgeRanges.activestatus==true && AgeRanges._id=='".concat(ageRangeId, "' ")
|
|
@@ -11196,7 +11197,7 @@ var query$9 = {
|
|
|
11196
11197
|
category: "{\n \"db_name\": \"".concat(_dbName, "\",\n \"entity\": \"AgeCategory\",\n \"filter\": \"AgeCategory.activestatus==true\",\n \"return_fields\": \"{_id:AgeCategory._id, id:AgeCategory.id, code:AgeCategory.code, age_minimum:AgeCategory.age_minimum, age_maximum:AgeCategory.age_maximum, UOM:AgeCategory.UOM}\"\n}"),
|
|
11197
11198
|
defaultUnit: function defaultUnit(AllowedUnit) {
|
|
11198
11199
|
return {
|
|
11199
|
-
|
|
11200
|
+
appcode: _dbName,
|
|
11200
11201
|
entity: "VitalsMeasureCodes",
|
|
11201
11202
|
filter: "VitalsMeasureCodes.activestatus==true && VitalsMeasureCodes._id IN ['".concat(AllowedUnit.join("','"), "']"),
|
|
11202
11203
|
return_fields: "VitalsMeasureCodes"
|
|
@@ -11204,28 +11205,28 @@ var query$9 = {
|
|
|
11204
11205
|
},
|
|
11205
11206
|
VitalReadSearch: function VitalReadSearch(page, perPage, search) {
|
|
11206
11207
|
return {
|
|
11207
|
-
|
|
11208
|
+
appcode: _dbName,
|
|
11208
11209
|
filter: {
|
|
11209
11210
|
searchval: search,
|
|
11210
11211
|
page: page,
|
|
11211
11212
|
perPage: perPage
|
|
11212
11213
|
},
|
|
11213
|
-
|
|
11214
|
+
requestid: query_ids["VitalReadSearch"]
|
|
11214
11215
|
};
|
|
11215
11216
|
},
|
|
11216
11217
|
VitalRead: function VitalRead(page, perPage) {
|
|
11217
11218
|
return {
|
|
11218
|
-
|
|
11219
|
+
appcode: _dbName,
|
|
11219
11220
|
filter: {
|
|
11220
11221
|
page: page,
|
|
11221
11222
|
perPage: perPage
|
|
11222
11223
|
},
|
|
11223
|
-
|
|
11224
|
+
requestid: query_ids["VitalRead"]
|
|
11224
11225
|
};
|
|
11225
11226
|
},
|
|
11226
11227
|
deleteVitalMaster: function deleteVitalMaster(id) {
|
|
11227
11228
|
return {
|
|
11228
|
-
|
|
11229
|
+
appcode: _dbName,
|
|
11229
11230
|
entity: "VitalsCodes",
|
|
11230
11231
|
filter: "VitalsCodes._id=='".concat(id, "'")
|
|
11231
11232
|
};
|
|
@@ -11277,7 +11278,7 @@ var generateJSON$1 = function generateJSON(data) {
|
|
|
11277
11278
|
};
|
|
11278
11279
|
}
|
|
11279
11280
|
return [_objectSpread2(_objectSpread2({
|
|
11280
|
-
|
|
11281
|
+
appcode: dbName,
|
|
11281
11282
|
entity: "VitalsCodes"
|
|
11282
11283
|
}, filter), {}, {
|
|
11283
11284
|
is_metadata: true,
|
|
@@ -11350,7 +11351,7 @@ var generateResJson$1 = function generateResJson(data) {
|
|
|
11350
11351
|
//for status update
|
|
11351
11352
|
var generateUpdateJSON$1 = function generateUpdateJSON(editID, Status) {
|
|
11352
11353
|
return [{
|
|
11353
|
-
|
|
11354
|
+
appcode: dbName,
|
|
11354
11355
|
entity: "VitalsCodes",
|
|
11355
11356
|
filter: {
|
|
11356
11357
|
_id: editID
|
|
@@ -11898,14 +11899,14 @@ var GET_GENERAL_DATA_VITAL_TYPE = createAsyncThunk("vitalsMasterSectionApiSlice/
|
|
|
11898
11899
|
_context10.p = 1;
|
|
11899
11900
|
// const { type = [], tenantid ="", facilityid="",lang="", allData = false } = payload;
|
|
11900
11901
|
body = {
|
|
11901
|
-
"
|
|
11902
|
+
"appcode": dbName,
|
|
11902
11903
|
"filter": {
|
|
11903
11904
|
"type": [payload],
|
|
11904
11905
|
"tenantid": "",
|
|
11905
11906
|
"facilityid": "",
|
|
11906
11907
|
"lang": ""
|
|
11907
11908
|
},
|
|
11908
|
-
"
|
|
11909
|
+
"requestid": "5c46abcb-a1d6-4c2f-ae4f-93ae551a0c6e"
|
|
11909
11910
|
};
|
|
11910
11911
|
_context10.n = 2;
|
|
11911
11912
|
return fetchData({
|
|
@@ -11951,14 +11952,14 @@ var GET_GENERAL_DATA_LOAD_TYPE = createAsyncThunk("vitalsMasterSectionApiSlice/g
|
|
|
11951
11952
|
_context11.p = 1;
|
|
11952
11953
|
// const { type = [], tenantid ="", facilityid="",lang="", allData = false } = payload;
|
|
11953
11954
|
body = {
|
|
11954
|
-
"
|
|
11955
|
+
"appcode": dbName,
|
|
11955
11956
|
"filter": {
|
|
11956
11957
|
"type": [payload],
|
|
11957
11958
|
"tenantid": "",
|
|
11958
11959
|
"facilityid": "",
|
|
11959
11960
|
"lang": ""
|
|
11960
11961
|
},
|
|
11961
|
-
"
|
|
11962
|
+
"requestid": query_ids["gmLoadQuery"]
|
|
11962
11963
|
};
|
|
11963
11964
|
_context11.n = 2;
|
|
11964
11965
|
return fetchData({
|
|
@@ -12004,14 +12005,14 @@ var GET_GENERAL_DATA_CONTROL_TYPE = createAsyncThunk("vitalsMasterSectionApiSlic
|
|
|
12004
12005
|
_context12.p = 1;
|
|
12005
12006
|
// const { type = [], tenantid ="", facilityid="",lang="", allData = false } = payload;
|
|
12006
12007
|
body = {
|
|
12007
|
-
"
|
|
12008
|
+
"appcode": dbName,
|
|
12008
12009
|
"filter": {
|
|
12009
12010
|
"type": [payload],
|
|
12010
12011
|
"tenantid": "",
|
|
12011
12012
|
"facilityid": "",
|
|
12012
12013
|
"lang": ""
|
|
12013
12014
|
},
|
|
12014
|
-
"
|
|
12015
|
+
"requestid": "5c46abcb-a1d6-4c2f-ae4f-93ae551a0c6e"
|
|
12015
12016
|
};
|
|
12016
12017
|
_context12.n = 2;
|
|
12017
12018
|
return fetchData({
|
|
@@ -12179,7 +12180,7 @@ var getLocationSort = function getLocationSort(sort) {
|
|
|
12179
12180
|
var queries$n = {
|
|
12180
12181
|
// locationlist: (type,page,perPage,search,sort, direction) => {
|
|
12181
12182
|
// return {
|
|
12182
|
-
//
|
|
12183
|
+
// appcode: dbName,
|
|
12183
12184
|
// entity: "LocationMaster",
|
|
12184
12185
|
// limit: { "offset": page, "count": perPage },
|
|
12185
12186
|
// filter: `(LIKE(LocationMaster.shortdesc,'%${search ?? ''}%',true) || LIKE(LocationMaster.longdesc,'%${search ?? ''}%',true) || LIKE(LocationMaster.locationID,'%${search ?? ''}%',true) || LIKE(document(LocationMaster.locationRoletype).display,'%${search ?? ''}%',true) ) && LocationMaster.activestatus==true`,
|
|
@@ -12190,8 +12191,8 @@ var queries$n = {
|
|
|
12190
12191
|
|
|
12191
12192
|
locationlist: function locationlist(type, page, perPage, search, sort, direction) {
|
|
12192
12193
|
return {
|
|
12193
|
-
|
|
12194
|
-
|
|
12194
|
+
appcode: dbName,
|
|
12195
|
+
requestid: "1482a15c-4eb0-48f8-9ce3-8a95f89dbdd0",
|
|
12195
12196
|
filter: {
|
|
12196
12197
|
search: "%".concat(search, "%"),
|
|
12197
12198
|
sort: {
|
|
@@ -12216,7 +12217,7 @@ var queries$n = {
|
|
|
12216
12217
|
};
|
|
12217
12218
|
}
|
|
12218
12219
|
return [_objectSpread2(_objectSpread2({
|
|
12219
|
-
|
|
12220
|
+
appcode: dbName,
|
|
12220
12221
|
entity: "LocationMaster",
|
|
12221
12222
|
is_metadata: true,
|
|
12222
12223
|
metadataId: metaDataId$1,
|
|
@@ -12230,7 +12231,7 @@ var queries$n = {
|
|
|
12230
12231
|
},
|
|
12231
12232
|
// location_by_id: (id) => {
|
|
12232
12233
|
// return {
|
|
12233
|
-
//
|
|
12234
|
+
// appcode: dbName,
|
|
12234
12235
|
// entity: "LocationMaster",
|
|
12235
12236
|
// filter: `LocationMaster._key == '${id}'`,
|
|
12236
12237
|
// return_fields:
|
|
@@ -12240,8 +12241,8 @@ var queries$n = {
|
|
|
12240
12241
|
|
|
12241
12242
|
location_by_id: function location_by_id(id) {
|
|
12242
12243
|
return {
|
|
12243
|
-
|
|
12244
|
-
|
|
12244
|
+
appcode: dbName,
|
|
12245
|
+
requestid: "134481f2-3c15-4165-8aec-1f92d99f3f2d",
|
|
12245
12246
|
filter: {
|
|
12246
12247
|
_key: "".concat(id)
|
|
12247
12248
|
}
|
|
@@ -12256,7 +12257,7 @@ var queries$n = {
|
|
|
12256
12257
|
};
|
|
12257
12258
|
}
|
|
12258
12259
|
return [_objectSpread2({
|
|
12259
|
-
|
|
12260
|
+
appcode: dbName,
|
|
12260
12261
|
entity: "LocationMaster",
|
|
12261
12262
|
is_metadata: true,
|
|
12262
12263
|
metadataId: metaDataId$1,
|
|
@@ -12396,7 +12397,7 @@ var generateJSON = function generateJSON(data, _key) {
|
|
|
12396
12397
|
}
|
|
12397
12398
|
});
|
|
12398
12399
|
var json = [_objectSpread2(_objectSpread2({
|
|
12399
|
-
|
|
12400
|
+
appcode: dbName,
|
|
12400
12401
|
entity: "LocationMaster",
|
|
12401
12402
|
is_metadata: true,
|
|
12402
12403
|
metadataId: metaDataId$1,
|
|
@@ -15070,7 +15071,7 @@ if (process.env.NODE_ENV === 'production') {
|
|
|
15070
15071
|
var masterQuery$7 = {
|
|
15071
15072
|
// locationMasterEntityType: () => {
|
|
15072
15073
|
// return {
|
|
15073
|
-
//
|
|
15074
|
+
// appcode: _dbName,
|
|
15074
15075
|
|
|
15075
15076
|
// entity: "CodeableConceptMaster",
|
|
15076
15077
|
// sort: "document(CodeableConceptMaster.coding[0]).display",
|
|
@@ -15082,8 +15083,8 @@ var masterQuery$7 = {
|
|
|
15082
15083
|
// },
|
|
15083
15084
|
locationMasterEntityType: function locationMasterEntityType() {
|
|
15084
15085
|
return {
|
|
15085
|
-
|
|
15086
|
-
|
|
15086
|
+
appcode: _dbName,
|
|
15087
|
+
requestid: "b283129b-9841-419b-bdfc-de5105ebbad7",
|
|
15087
15088
|
filter: {
|
|
15088
15089
|
type: "ORGTYPE",
|
|
15089
15090
|
code: "",
|
|
@@ -15094,7 +15095,7 @@ var masterQuery$7 = {
|
|
|
15094
15095
|
},
|
|
15095
15096
|
// locationMasterEntityName: (type) => {
|
|
15096
15097
|
// return {
|
|
15097
|
-
//
|
|
15098
|
+
// appcode: _dbName,
|
|
15098
15099
|
// entity: "Organization",
|
|
15099
15100
|
// sort: "Organization.name",
|
|
15100
15101
|
// filter: `Organization.OrgType==['${type}'] && Organization.activestatus==true`,
|
|
@@ -15105,8 +15106,8 @@ var masterQuery$7 = {
|
|
|
15105
15106
|
|
|
15106
15107
|
locationMasterEntityName: function locationMasterEntityName(type) {
|
|
15107
15108
|
return {
|
|
15108
|
-
|
|
15109
|
-
|
|
15109
|
+
appcode: _dbName,
|
|
15110
|
+
requestid: "3265e287-5a0e-482d-a2e9-d6ee96e83c9a",
|
|
15110
15111
|
filter: {
|
|
15111
15112
|
orgType: type,
|
|
15112
15113
|
activestatus: true
|
|
@@ -15115,7 +15116,7 @@ var masterQuery$7 = {
|
|
|
15115
15116
|
},
|
|
15116
15117
|
// locationMasterLocationType: () => {
|
|
15117
15118
|
// return {
|
|
15118
|
-
//
|
|
15119
|
+
// appcode: _dbName,
|
|
15119
15120
|
// entity: "CodeableConceptMaster",
|
|
15120
15121
|
// sort: "document(CodeableConceptMaster.coding[0]).display",
|
|
15121
15122
|
// filter:
|
|
@@ -15127,8 +15128,8 @@ var masterQuery$7 = {
|
|
|
15127
15128
|
|
|
15128
15129
|
locationMasterLocationType: function locationMasterLocationType() {
|
|
15129
15130
|
return {
|
|
15130
|
-
|
|
15131
|
-
|
|
15131
|
+
appcode: _dbName,
|
|
15132
|
+
requestid: "b283129b-9841-419b-bdfc-de5105ebbad7",
|
|
15132
15133
|
filter: {
|
|
15133
15134
|
type: "LOCATIONTYPE",
|
|
15134
15135
|
code: "",
|
|
@@ -15139,7 +15140,7 @@ var masterQuery$7 = {
|
|
|
15139
15140
|
},
|
|
15140
15141
|
// locationMasterOperationalStatus: () => {
|
|
15141
15142
|
// return {
|
|
15142
|
-
//
|
|
15143
|
+
// appcode: _dbName,
|
|
15143
15144
|
// entity: "CodeableConceptMaster",
|
|
15144
15145
|
// sort: "document(CodeableConceptMaster.coding[0]).display",
|
|
15145
15146
|
// filter:
|
|
@@ -15151,8 +15152,8 @@ var masterQuery$7 = {
|
|
|
15151
15152
|
|
|
15152
15153
|
locationMasterOperationalStatus: function locationMasterOperationalStatus() {
|
|
15153
15154
|
return {
|
|
15154
|
-
|
|
15155
|
-
|
|
15155
|
+
appcode: _dbName,
|
|
15156
|
+
requestid: "b283129b-9841-419b-bdfc-de5105ebbad7",
|
|
15156
15157
|
filter: {
|
|
15157
15158
|
type: "OPERATIONSTATUS",
|
|
15158
15159
|
code: "",
|
|
@@ -15163,7 +15164,7 @@ var masterQuery$7 = {
|
|
|
15163
15164
|
},
|
|
15164
15165
|
// locationMasterParentLocationIdDescription: () => {
|
|
15165
15166
|
// return {
|
|
15166
|
-
//
|
|
15167
|
+
// appcode: _dbName,
|
|
15167
15168
|
// entity: "LocationMaster",
|
|
15168
15169
|
// sort: "LocationMaster.locationID",
|
|
15169
15170
|
// filter: "LocationMaster.activestatus==true",
|
|
@@ -15174,8 +15175,8 @@ var masterQuery$7 = {
|
|
|
15174
15175
|
|
|
15175
15176
|
locationMasterParentLocationIdDescription: function locationMasterParentLocationIdDescription() {
|
|
15176
15177
|
return {
|
|
15177
|
-
|
|
15178
|
-
|
|
15178
|
+
appcode: _dbName,
|
|
15179
|
+
requestid: "ceb2a6c1-864f-4ea8-9308-6135d9355410",
|
|
15179
15180
|
filter: {
|
|
15180
15181
|
activestatus: true,
|
|
15181
15182
|
sort: "locationID"
|
|
@@ -15184,7 +15185,7 @@ var masterQuery$7 = {
|
|
|
15184
15185
|
},
|
|
15185
15186
|
// locationMasterLocationRoleType: () => {
|
|
15186
15187
|
// return {
|
|
15187
|
-
//
|
|
15188
|
+
// appcode: _dbName,
|
|
15188
15189
|
// entity: "LocationRoleType",
|
|
15189
15190
|
// filter: "LocationRoleType.activestatus==true",
|
|
15190
15191
|
// return_fields:
|
|
@@ -15194,7 +15195,7 @@ var masterQuery$7 = {
|
|
|
15194
15195
|
|
|
15195
15196
|
// locationMasterLocationRoleType: () => {
|
|
15196
15197
|
// return {
|
|
15197
|
-
//
|
|
15198
|
+
// appcode: _dbName,
|
|
15198
15199
|
// entity: "CodingMaster",
|
|
15199
15200
|
// sort: "CodingMaster.display",
|
|
15200
15201
|
// filter:
|
|
@@ -15206,8 +15207,8 @@ var masterQuery$7 = {
|
|
|
15206
15207
|
|
|
15207
15208
|
locationMasterLocationRoleType: function locationMasterLocationRoleType() {
|
|
15208
15209
|
return {
|
|
15209
|
-
|
|
15210
|
-
|
|
15210
|
+
appcode: _dbName,
|
|
15211
|
+
requestid: "a277b5c8-e89b-4a7e-acd7-8548991e936b",
|
|
15211
15212
|
filter: {
|
|
15212
15213
|
TYPE: "LOCATIONROLE",
|
|
15213
15214
|
sort: "display"
|
|
@@ -15216,7 +15217,7 @@ var masterQuery$7 = {
|
|
|
15216
15217
|
},
|
|
15217
15218
|
// locationMasterSpeciality: (id) => {
|
|
15218
15219
|
// return {
|
|
15219
|
-
//
|
|
15220
|
+
// appcode: _dbName,
|
|
15220
15221
|
// entity: "Organization",
|
|
15221
15222
|
// filter: `Organization.id==${id} && Organization.activestatus==true`,
|
|
15222
15223
|
// return_fields: " DOCUMENT(Organization.specialtyDetails[*].specialty)",
|
|
@@ -15225,8 +15226,8 @@ var masterQuery$7 = {
|
|
|
15225
15226
|
|
|
15226
15227
|
locationMasterSpeciality: function locationMasterSpeciality(id) {
|
|
15227
15228
|
return {
|
|
15228
|
-
|
|
15229
|
-
|
|
15229
|
+
appcode: _dbName,
|
|
15230
|
+
requestid: "15115591-3cf9-4b18-95ed-1d8e8ff0ad39",
|
|
15230
15231
|
filter: {
|
|
15231
15232
|
id: id,
|
|
15232
15233
|
activestatus: true
|
|
@@ -15235,7 +15236,7 @@ var masterQuery$7 = {
|
|
|
15235
15236
|
},
|
|
15236
15237
|
// locationMasterContactMode: () => {
|
|
15237
15238
|
// return {
|
|
15238
|
-
//
|
|
15239
|
+
// appcode: _dbName,
|
|
15239
15240
|
// entity: "CodeableConceptMaster",
|
|
15240
15241
|
// sort: "document(CodeableConceptMaster.coding[0]).display",
|
|
15241
15242
|
// filter:
|
|
@@ -15247,8 +15248,8 @@ var masterQuery$7 = {
|
|
|
15247
15248
|
|
|
15248
15249
|
locationMasterContactMode: function locationMasterContactMode() {
|
|
15249
15250
|
return {
|
|
15250
|
-
|
|
15251
|
-
|
|
15251
|
+
appcode: _dbName,
|
|
15252
|
+
requestid: "b283129b-9841-419b-bdfc-de5105ebbad7",
|
|
15252
15253
|
filter: {
|
|
15253
15254
|
type: "CONTACTSYSTEM",
|
|
15254
15255
|
code: "",
|
|
@@ -15259,7 +15260,7 @@ var masterQuery$7 = {
|
|
|
15259
15260
|
},
|
|
15260
15261
|
// locationMasterISD: () => {
|
|
15261
15262
|
// return {
|
|
15262
|
-
//
|
|
15263
|
+
// appcode: _dbName,
|
|
15263
15264
|
// entity: "SMGeographicMaster",
|
|
15264
15265
|
// sort: "SMGeographicMaster.geogLevelName",
|
|
15265
15266
|
// filter:
|
|
@@ -15271,8 +15272,8 @@ var masterQuery$7 = {
|
|
|
15271
15272
|
|
|
15272
15273
|
locationMasterISD: function locationMasterISD() {
|
|
15273
15274
|
return {
|
|
15274
|
-
|
|
15275
|
-
|
|
15275
|
+
appcode: _dbName,
|
|
15276
|
+
requestid: "d3659637-f0aa-4e0d-86d6-61fd445f7dd5",
|
|
15276
15277
|
filter: {
|
|
15277
15278
|
display: "country",
|
|
15278
15279
|
activestatus: true,
|
|
@@ -15283,7 +15284,7 @@ var masterQuery$7 = {
|
|
|
15283
15284
|
},
|
|
15284
15285
|
// locationMasterUse: () => {
|
|
15285
15286
|
// return {
|
|
15286
|
-
//
|
|
15287
|
+
// appcode: _dbName,
|
|
15287
15288
|
// entity: "CodeableConceptMaster",
|
|
15288
15289
|
// sort: "document(CodeableConceptMaster.coding[0]).display",
|
|
15289
15290
|
// filter:
|
|
@@ -15295,8 +15296,8 @@ var masterQuery$7 = {
|
|
|
15295
15296
|
|
|
15296
15297
|
locationMasterUse: function locationMasterUse() {
|
|
15297
15298
|
return {
|
|
15298
|
-
|
|
15299
|
-
|
|
15299
|
+
appcode: _dbName,
|
|
15300
|
+
requestid: "b283129b-9841-419b-bdfc-de5105ebbad7",
|
|
15300
15301
|
filter: {
|
|
15301
15302
|
type: "ADDRESSUSE",
|
|
15302
15303
|
code: "",
|
|
@@ -15307,7 +15308,7 @@ var masterQuery$7 = {
|
|
|
15307
15308
|
},
|
|
15308
15309
|
// locationMasterPriority: () => {
|
|
15309
15310
|
// return {
|
|
15310
|
-
//
|
|
15311
|
+
// appcode: _dbName,
|
|
15311
15312
|
// entity: "CodeableConceptMaster",
|
|
15312
15313
|
// sort: "document(CodeableConceptMaster.coding[0]).display",
|
|
15313
15314
|
// filter:
|
|
@@ -15319,8 +15320,8 @@ var masterQuery$7 = {
|
|
|
15319
15320
|
|
|
15320
15321
|
locationMasterPriority: function locationMasterPriority() {
|
|
15321
15322
|
return {
|
|
15322
|
-
|
|
15323
|
-
|
|
15323
|
+
appcode: _dbName,
|
|
15324
|
+
requestid: "b283129b-9841-419b-bdfc-de5105ebbad7",
|
|
15324
15325
|
filter: {
|
|
15325
15326
|
type: "RANK",
|
|
15326
15327
|
code: "",
|
|
@@ -15331,8 +15332,8 @@ var masterQuery$7 = {
|
|
|
15331
15332
|
},
|
|
15332
15333
|
speciality_data: function speciality_data() {
|
|
15333
15334
|
return {
|
|
15334
|
-
|
|
15335
|
-
|
|
15335
|
+
appcode: _dbName,
|
|
15336
|
+
requestid: "b283129b-9841-419b-bdfc-de5105ebbad7",
|
|
15336
15337
|
filter: {
|
|
15337
15338
|
type: "SPECIALTY",
|
|
15338
15339
|
code: "",
|
|
@@ -15343,15 +15344,15 @@ var masterQuery$7 = {
|
|
|
15343
15344
|
},
|
|
15344
15345
|
locationMasterForms: function locationMasterForms() {
|
|
15345
15346
|
return {
|
|
15346
|
-
|
|
15347
|
+
appcode: _dbName,
|
|
15347
15348
|
filter: {},
|
|
15348
|
-
|
|
15349
|
+
requestid: query_ids.locationmasterFormId
|
|
15349
15350
|
};
|
|
15350
15351
|
},
|
|
15351
15352
|
locationMasterTypeOfCare: function locationMasterTypeOfCare() {
|
|
15352
15353
|
return {
|
|
15353
|
-
|
|
15354
|
-
|
|
15354
|
+
appcode: _dbName,
|
|
15355
|
+
requestid: "b283129b-9841-419b-bdfc-de5105ebbad7",
|
|
15355
15356
|
filter: {
|
|
15356
15357
|
type: "TYPEOFCARE",
|
|
15357
15358
|
code: "",
|
|
@@ -16460,7 +16461,7 @@ var queries$m = {
|
|
|
16460
16461
|
},
|
|
16461
16462
|
Insert: function Insert(data) {
|
|
16462
16463
|
return [{
|
|
16463
|
-
|
|
16464
|
+
appcode: dbName,
|
|
16464
16465
|
entity: "OrderType",
|
|
16465
16466
|
is_metadata: true,
|
|
16466
16467
|
metadataId: metaDataId$1,
|
|
@@ -16486,14 +16487,14 @@ var queries$m = {
|
|
|
16486
16487
|
},
|
|
16487
16488
|
SoftDelete: function SoftDelete() {
|
|
16488
16489
|
return {
|
|
16489
|
-
|
|
16490
|
+
appcode: dbName,
|
|
16490
16491
|
entity: "OrderType",
|
|
16491
16492
|
filter: "OrderType._key == '10018'"
|
|
16492
16493
|
};
|
|
16493
16494
|
},
|
|
16494
16495
|
StatusUpdate: function StatusUpdate(key, getstatus) {
|
|
16495
16496
|
return [{
|
|
16496
|
-
|
|
16497
|
+
appcode: dbName,
|
|
16497
16498
|
entity: "OrderType",
|
|
16498
16499
|
filter: {
|
|
16499
16500
|
_key: key
|
|
@@ -16508,7 +16509,7 @@ var queries$m = {
|
|
|
16508
16509
|
},
|
|
16509
16510
|
UpdateORModify: function UpdateORModify(data) {
|
|
16510
16511
|
return [{
|
|
16511
|
-
|
|
16512
|
+
appcode: dbName,
|
|
16512
16513
|
entity: "OrderType",
|
|
16513
16514
|
is_metadata: true,
|
|
16514
16515
|
filter: {
|
|
@@ -16808,7 +16809,7 @@ var queries$l = {
|
|
|
16808
16809
|
},
|
|
16809
16810
|
Insert: function Insert(data) {
|
|
16810
16811
|
return [{
|
|
16811
|
-
|
|
16812
|
+
appcode: dbName,
|
|
16812
16813
|
entity: "CodeableConceptMaster",
|
|
16813
16814
|
is_metadata: true,
|
|
16814
16815
|
// metadataId: "04ecb73d-f048-44ce-8563-c9be015812dd",
|
|
@@ -16834,7 +16835,7 @@ var queries$l = {
|
|
|
16834
16835
|
},
|
|
16835
16836
|
StatusUpdate: function StatusUpdate(key, getstatus) {
|
|
16836
16837
|
return [{
|
|
16837
|
-
|
|
16838
|
+
appcode: dbName,
|
|
16838
16839
|
entity: "CodeableConceptMaster",
|
|
16839
16840
|
filter: {
|
|
16840
16841
|
_key: key
|
|
@@ -16850,7 +16851,7 @@ var queries$l = {
|
|
|
16850
16851
|
UpdateORModify: function UpdateORModify(data) {
|
|
16851
16852
|
// return [
|
|
16852
16853
|
// {
|
|
16853
|
-
//
|
|
16854
|
+
// appcode: dbName,
|
|
16854
16855
|
// entity: "CodeableConceptMaster",
|
|
16855
16856
|
// filter: {
|
|
16856
16857
|
// _key: data?._key,
|
|
@@ -16878,7 +16879,7 @@ var queries$l = {
|
|
|
16878
16879
|
// },
|
|
16879
16880
|
// ];
|
|
16880
16881
|
return [{
|
|
16881
|
-
|
|
16882
|
+
appcode: dbName,
|
|
16882
16883
|
entity: "CodingMaster",
|
|
16883
16884
|
is_metadata: true,
|
|
16884
16885
|
// metadataId: "04ecb73d-f048-44ce-8563-c9be015812dd",
|
|
@@ -17106,7 +17107,7 @@ var queries$k = {
|
|
|
17106
17107
|
var perPage = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 10;
|
|
17107
17108
|
var search = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : "";
|
|
17108
17109
|
return {
|
|
17109
|
-
|
|
17110
|
+
appcode: dbName,
|
|
17110
17111
|
entity: "OrderCategory",
|
|
17111
17112
|
sort: "OrderCategory.createddate",
|
|
17112
17113
|
filter: "OrderCategory.activestatus == true ".concat(search ? "&& (UPPER(OrderCategory.ordercategory) LIKE '%".concat(search.toUpperCase(), "%' || UPPER(OrderCategory.shortdesc) LIKE '%").concat(search.toUpperCase(), "%' || UPPER(OrderCategory.longdesc) LIKE '%").concat(search.toUpperCase(), "%')") : ""),
|
|
@@ -17120,7 +17121,7 @@ var queries$k = {
|
|
|
17120
17121
|
orderCategoryInsert: function orderCategoryInsert(data) {
|
|
17121
17122
|
var _data$status, _data$id;
|
|
17122
17123
|
return [{
|
|
17123
|
-
|
|
17124
|
+
appcode: dbName,
|
|
17124
17125
|
entity: "OrderCategory",
|
|
17125
17126
|
is_metadata: true,
|
|
17126
17127
|
metadataId: metaDataId$1,
|
|
@@ -17136,7 +17137,7 @@ var queries$k = {
|
|
|
17136
17137
|
},
|
|
17137
17138
|
orderCategoryStatusUpdate: function orderCategoryStatusUpdate(key, status) {
|
|
17138
17139
|
return [{
|
|
17139
|
-
|
|
17140
|
+
appcode: dbName,
|
|
17140
17141
|
entity: "OrderCategory",
|
|
17141
17142
|
is_metadata: true,
|
|
17142
17143
|
metadataId: metaDataId$1,
|
|
@@ -17151,7 +17152,7 @@ var queries$k = {
|
|
|
17151
17152
|
},
|
|
17152
17153
|
orderCategoryModify: function orderCategoryModify(data) {
|
|
17153
17154
|
return [{
|
|
17154
|
-
|
|
17155
|
+
appcode: dbName,
|
|
17155
17156
|
entity: "OrderCategory",
|
|
17156
17157
|
is_metadata: true,
|
|
17157
17158
|
metadataId: metaDataId$1,
|
|
@@ -17212,7 +17213,7 @@ var queries$k = {
|
|
|
17212
17213
|
_ref2$key = _ref2.key,
|
|
17213
17214
|
key = _ref2$key === void 0 ? "" : _ref2$key;
|
|
17214
17215
|
var newData = [{
|
|
17215
|
-
|
|
17216
|
+
appcode: dbName,
|
|
17216
17217
|
entity: "CodeableConceptMaster",
|
|
17217
17218
|
is_metadata: true,
|
|
17218
17219
|
metadataId: metaDataId$1,
|
|
@@ -17236,7 +17237,7 @@ var queries$k = {
|
|
|
17236
17237
|
}];
|
|
17237
17238
|
if (isUpdate) {
|
|
17238
17239
|
newData = [{
|
|
17239
|
-
|
|
17240
|
+
appcode: dbName,
|
|
17240
17241
|
entity: "CodingMaster",
|
|
17241
17242
|
is_metadata: true,
|
|
17242
17243
|
filter: {
|
|
@@ -17671,7 +17672,7 @@ var orderMasterSlice$1 = orderMasterSlice.reducer;
|
|
|
17671
17672
|
var queries$j = {
|
|
17672
17673
|
status_update_practitioner: function status_update_practitioner(data) {
|
|
17673
17674
|
return [{
|
|
17674
|
-
|
|
17675
|
+
appcode: dbName,
|
|
17675
17676
|
entity: "CodeableConceptMaster",
|
|
17676
17677
|
filter: {
|
|
17677
17678
|
_key: data._key
|
|
@@ -17686,7 +17687,7 @@ var queries$j = {
|
|
|
17686
17687
|
},
|
|
17687
17688
|
status_update_holiday: function status_update_holiday(data) {
|
|
17688
17689
|
return [{
|
|
17689
|
-
|
|
17690
|
+
appcode: dbName,
|
|
17690
17691
|
entity: "Holiday",
|
|
17691
17692
|
filter: {
|
|
17692
17693
|
_key: data._key
|
|
@@ -17702,8 +17703,8 @@ var queries$j = {
|
|
|
17702
17703
|
entity_read: function entity_read(data) {
|
|
17703
17704
|
if (data) {
|
|
17704
17705
|
return {
|
|
17705
|
-
|
|
17706
|
-
|
|
17706
|
+
appcode: dbName,
|
|
17707
|
+
requestid: "0b8a7da6-736f-4dc1-88da-672a887fd72b",
|
|
17707
17708
|
filter: {
|
|
17708
17709
|
holidayid: dbType == "postgresadapter" ? "10064" : "Holiday/10064",
|
|
17709
17710
|
calyear: 2022,
|
|
@@ -17712,8 +17713,8 @@ var queries$j = {
|
|
|
17712
17713
|
};
|
|
17713
17714
|
} else {
|
|
17714
17715
|
return {
|
|
17715
|
-
|
|
17716
|
-
|
|
17716
|
+
appcode: dbName,
|
|
17717
|
+
requestid: "0b8a7da6-736f-4dc1-88da-672a887fd72b",
|
|
17717
17718
|
filter: {
|
|
17718
17719
|
holidayid: dbType == "postgresadapter" ? "10064" : "Holiday/10064",
|
|
17719
17720
|
calyear: 2022,
|
|
@@ -17756,7 +17757,7 @@ var queries$j = {
|
|
|
17756
17757
|
});
|
|
17757
17758
|
}
|
|
17758
17759
|
return [_objectSpread2(_objectSpread2({
|
|
17759
|
-
|
|
17760
|
+
appcode: dbName,
|
|
17760
17761
|
entity: "Holiday",
|
|
17761
17762
|
is_metadata: true
|
|
17762
17763
|
}, filter), {}, {
|
|
@@ -17837,21 +17838,21 @@ var queries$j = {
|
|
|
17837
17838
|
},
|
|
17838
17839
|
// holiday_master: {
|
|
17839
17840
|
// holiday_type: `{
|
|
17840
|
-
// "
|
|
17841
|
+
// "appcode": "${_dbName}",
|
|
17841
17842
|
// "entity": "CodingMaster",
|
|
17842
17843
|
// "filter": "CodingMaster.Type=='HOLIDAYTYPE' && CodingMaster.activestatus==true && CodingMaster.status==true",
|
|
17843
17844
|
// "return_fields": "KEEP(CodingMaster,'_id','id','_key','code','display','Type','status')",
|
|
17844
17845
|
// "sort": "CodingMaster.display"
|
|
17845
17846
|
// }`,
|
|
17846
17847
|
// entity_name: `{
|
|
17847
|
-
// "
|
|
17848
|
+
// "appcode":"${_dbName}",
|
|
17848
17849
|
// "entity": "Organization",
|
|
17849
17850
|
// "sort":"Organization.name",
|
|
17850
17851
|
// "filter": "'Hospital' IN Organization.OrgType",
|
|
17851
17852
|
// "return_fields": "{OrgID:Organization.id,name:Organization.name,_id:Organization._id,OrgType:Organization.OrgType}"
|
|
17852
17853
|
// }`,
|
|
17853
17854
|
// entity_type: `{
|
|
17854
|
-
// "
|
|
17855
|
+
// "appcode":"${_dbName}",
|
|
17855
17856
|
// "entity": "CodeableConceptMaster",
|
|
17856
17857
|
// "sort": "document(CodeableConceptMaster.coding[0]).display",
|
|
17857
17858
|
// "filter": "CodeableConceptMaster.Type=='ORGTYPE' && CodeableConceptMaster.activestatus==true",
|
|
@@ -17860,9 +17861,9 @@ var queries$j = {
|
|
|
17860
17861
|
// },
|
|
17861
17862
|
|
|
17862
17863
|
holiday_master: {
|
|
17863
|
-
holiday_type: "{\n \"
|
|
17864
|
-
entity_name: "{\n \"
|
|
17865
|
-
entity_type: "{\n \"
|
|
17864
|
+
holiday_type: "{\n \"appcode\": \"".concat(_dbName, "\",\n \"requestid\": \"49d3a86e-226d-4d76-9160-0e93e56c9dea\",\n \"filter\": {\n \"type\": \"HOLIDAYTYPE\"\n } \n }"),
|
|
17865
|
+
entity_name: "{\n \"appcode\":\"".concat(_dbName, "\",\n \"requestid\": \"79a77938-7200-48db-8f69-462c46ffd447\" \n }"),
|
|
17866
|
+
entity_type: "{\n \"appcode\":\"".concat(_dbName, "\",\n \"requestid\": \"09335a68-08b0-48b2-ad47-58ffbb5fef33\",\n \"filter\": {\n \"type\": \"ORGTYPE\"\n }\n }")
|
|
17866
17867
|
},
|
|
17867
17868
|
appointment_type_read: function appointment_type_read(page, perPage, search) {
|
|
17868
17869
|
return "{\n \"db_name\": \"".concat(dbName, "\",\n \"entity\": \"CodeableConceptMaster\",\n \"filter\": \" CodeableConceptMaster.Type == 'APPTYPE' &&(LIKE(document(CodeableConceptMaster.coding[0]).code,'%").concat(search ? search : "", "%',true) ||LIKE(document(CodeableConceptMaster.coding[0]).shortdesc,'%").concat(search ? search : "", "%',true) || LIKE(document(CodeableConceptMaster.coding[0]).longdesc,'%").concat(search ? search : "", "%',true)) && CodeableConceptMaster.status == true && CodeableConceptMaster.activestatus == true\",\n \"limit\": {\n \"offset\": ").concat(page, ",\n \"count\": ").concat(perPage, "\n },\n \"return_fields\": \"MERGE(CodeableConceptMaster,{coding:document(CodeableConceptMaster.coding)},{TotalCount:COUNT(FOR cnt IN CodeableConceptMaster filter cnt.Type=='APPTYPE' filter cnt.activestatus==true RETURN cnt._key)})\"\n}");
|
|
@@ -17889,7 +17890,7 @@ var queries$j = {
|
|
|
17889
17890
|
};
|
|
17890
17891
|
}
|
|
17891
17892
|
return [_objectSpread2(_objectSpread2({
|
|
17892
|
-
|
|
17893
|
+
appcode: dbName,
|
|
17893
17894
|
entity: "CodeableConceptMaster",
|
|
17894
17895
|
is_metadata: true,
|
|
17895
17896
|
metadataId: metaDataId$1,
|
|
@@ -18095,14 +18096,14 @@ var GET_HOLIDAY_TYPE = createAsyncThunk("holidaySlice/holidayTypeqdm", /*#__PURE
|
|
|
18095
18096
|
_context.p = 1;
|
|
18096
18097
|
// const { type = [], tenantid ="", facilityid="",lang="", allData = false } = payload;
|
|
18097
18098
|
body = {
|
|
18098
|
-
"
|
|
18099
|
+
"appcode": dbName,
|
|
18099
18100
|
"filter": {
|
|
18100
18101
|
"type": ["HOLIDAYTYPE"],
|
|
18101
18102
|
"tenantid": "",
|
|
18102
18103
|
"facilityid": "",
|
|
18103
18104
|
"lang": ""
|
|
18104
18105
|
},
|
|
18105
|
-
"
|
|
18106
|
+
"requestid": "5c46abcb-a1d6-4c2f-ae4f-93ae551a0c6e"
|
|
18106
18107
|
};
|
|
18107
18108
|
_context.n = 2;
|
|
18108
18109
|
return fetchData({
|
|
@@ -18146,11 +18147,11 @@ var HOLIDAY_SINGLE_READ_QDM = createAsyncThunk("holidaySlice/holidaySinglereadqd
|
|
|
18146
18147
|
_context2.p = 1;
|
|
18147
18148
|
// const { holidayid ="" , allData = false } = _id;
|
|
18148
18149
|
body = {
|
|
18149
|
-
"
|
|
18150
|
+
"appcode": dbName,
|
|
18150
18151
|
"filter": {
|
|
18151
18152
|
"holidayid": payload
|
|
18152
18153
|
},
|
|
18153
|
-
"
|
|
18154
|
+
"requestid": "d7f170d0-f1f0-4f92-bec6-2171f5bbf358"
|
|
18154
18155
|
};
|
|
18155
18156
|
_context2.n = 2;
|
|
18156
18157
|
return fetchData({
|
|
@@ -18187,11 +18188,11 @@ var HOLIDAY_ENTITY_MASTERS_QDM = createAsyncThunk("holidaySlice/entity_read_qdm"
|
|
|
18187
18188
|
_context3.p = 1;
|
|
18188
18189
|
// const { holidayid ="" , allData = false } = _id;
|
|
18189
18190
|
body = {
|
|
18190
|
-
"
|
|
18191
|
+
"appcode": dbName,
|
|
18191
18192
|
"filter": {
|
|
18192
18193
|
"holidayid": payload ? payload : ""
|
|
18193
18194
|
},
|
|
18194
|
-
"
|
|
18195
|
+
"requestid": "80ccd827-16da-42f5-ac4d-e94b25834229"
|
|
18195
18196
|
};
|
|
18196
18197
|
_context3.n = 2;
|
|
18197
18198
|
return fetchData({
|
|
@@ -18228,11 +18229,11 @@ var HOLIDAY_SINGLE_READ_SELECTED_QDM = createAsyncThunk("holidaySlice/holidaySin
|
|
|
18228
18229
|
_context4.p = 1;
|
|
18229
18230
|
_id = payload; // const { holidayid ="" , allData = false } = _id;
|
|
18230
18231
|
body = {
|
|
18231
|
-
"
|
|
18232
|
+
"appcode": dbName,
|
|
18232
18233
|
"filter": {
|
|
18233
18234
|
"holidayid": _id
|
|
18234
18235
|
},
|
|
18235
|
-
"
|
|
18236
|
+
"requestid": "184fb879-244f-495e-a1dd-31f5eae6faf7"
|
|
18236
18237
|
};
|
|
18237
18238
|
_context4.n = 2;
|
|
18238
18239
|
return fetchData({
|
|
@@ -18440,13 +18441,13 @@ var HOLIDAY_READ_QDM = createAsyncThunk("holidaySlice/holiday_qdm", /*#__PURE__*
|
|
|
18440
18441
|
_context9.p = 1;
|
|
18441
18442
|
_payload$CalYear = payload.CalYear, CalYear = _payload$CalYear === void 0 ? "" : _payload$CalYear, _payload$page = payload.page, page = _payload$page === void 0 ? "" : _payload$page, _payload$perPage = payload.perPage, perPage = _payload$perPage === void 0 ? "" : _payload$perPage, payload.allData;
|
|
18442
18443
|
body = {
|
|
18443
|
-
"
|
|
18444
|
+
"appcode": dbName,
|
|
18444
18445
|
"filter": {
|
|
18445
18446
|
"year": CalYear,
|
|
18446
18447
|
"page": page,
|
|
18447
18448
|
"perPage": perPage
|
|
18448
18449
|
},
|
|
18449
|
-
"
|
|
18450
|
+
"requestid": "e8a3d9b8-2503-47e2-9b02-b6abeebef45f"
|
|
18450
18451
|
}; // let readqueries = qdmQueries.holiday_read_qdm(payload);
|
|
18451
18452
|
_context9.n = 2;
|
|
18452
18453
|
return fetchData({
|
|
@@ -18762,14 +18763,14 @@ var HOLIDAY_STATUS_REASON_QDM = createAsyncThunk("holidaySlice/holidayStatusReas
|
|
|
18762
18763
|
_context13.p = 1;
|
|
18763
18764
|
// const { type = [], tenantid ="", facilityid="",lang="", allData = false } = payload;
|
|
18764
18765
|
body = {
|
|
18765
|
-
"
|
|
18766
|
+
"appcode": dbName,
|
|
18766
18767
|
"filter": {
|
|
18767
18768
|
"type": [payload],
|
|
18768
18769
|
"tenantid": "",
|
|
18769
18770
|
"facilityid": "",
|
|
18770
18771
|
"lang": ""
|
|
18771
18772
|
},
|
|
18772
|
-
"
|
|
18773
|
+
"requestid": "5c46abcb-a1d6-4c2f-ae4f-93ae551a0c6e"
|
|
18773
18774
|
};
|
|
18774
18775
|
_context13.n = 2;
|
|
18775
18776
|
return fetchData({
|
|
@@ -18813,14 +18814,14 @@ var GET_HOLIDAY_ALL_WEEKDAYS_QDM = createAsyncThunk("holidaySlice/holidayAllWeek
|
|
|
18813
18814
|
_context14.p = 1;
|
|
18814
18815
|
// const { type = [], tenantid ="", facilityid="",lang="", allData = false } = payload;
|
|
18815
18816
|
body = {
|
|
18816
|
-
"
|
|
18817
|
+
"appcode": dbName,
|
|
18817
18818
|
"filter": {
|
|
18818
18819
|
"type": ["WEEKDAYS"],
|
|
18819
18820
|
"tenantid": "",
|
|
18820
18821
|
"facilityid": "",
|
|
18821
18822
|
"lang": ""
|
|
18822
18823
|
},
|
|
18823
|
-
"
|
|
18824
|
+
"requestid": "5c46abcb-a1d6-4c2f-ae4f-93ae551a0c6e"
|
|
18824
18825
|
};
|
|
18825
18826
|
_context14.n = 2;
|
|
18826
18827
|
return fetchData({
|
|
@@ -19213,7 +19214,7 @@ var queries$i = {
|
|
|
19213
19214
|
},
|
|
19214
19215
|
res_upsert_appointment: function res_upsert_appointment(key) {
|
|
19215
19216
|
return [{
|
|
19216
|
-
|
|
19217
|
+
appcode: dbName,
|
|
19217
19218
|
entity: "ResourcebyApptType",
|
|
19218
19219
|
is_metadata: true,
|
|
19219
19220
|
metadataId: metaDataId$1,
|
|
@@ -19340,7 +19341,7 @@ var generateJson$a = {
|
|
|
19340
19341
|
};
|
|
19341
19342
|
}
|
|
19342
19343
|
return [_objectSpread2(_objectSpread2({
|
|
19343
|
-
|
|
19344
|
+
appcode: dbName,
|
|
19344
19345
|
entity: "ResourcebyApptType",
|
|
19345
19346
|
is_metadata: true,
|
|
19346
19347
|
metadataId: metaDataId$1,
|
|
@@ -19800,14 +19801,14 @@ var RES_CRITERIA_INSTRUCTION_QDM = createAsyncThunk("resourceByAppointmentTypesS
|
|
|
19800
19801
|
_context9.p = 1;
|
|
19801
19802
|
// const { type = [], tenantid ="", facilityid="",lang="", allData = false } = payload;
|
|
19802
19803
|
body = {
|
|
19803
|
-
|
|
19804
|
+
appcode: dbName,
|
|
19804
19805
|
filter: {
|
|
19805
19806
|
type: ["HEALTHISSUES"],
|
|
19806
19807
|
tenantid: "",
|
|
19807
19808
|
facilityid: "",
|
|
19808
19809
|
lang: ""
|
|
19809
19810
|
},
|
|
19810
|
-
|
|
19811
|
+
requestid: "5c46abcb-a1d6-4c2f-ae4f-93ae551a0c6e"
|
|
19811
19812
|
};
|
|
19812
19813
|
_context9.n = 2;
|
|
19813
19814
|
return fetchData({
|
|
@@ -20006,14 +20007,14 @@ var RES_PATIENT_CATEGORY_LIST_DOC_QDM = createAsyncThunk("resourceByAppointmentT
|
|
|
20006
20007
|
_context12.p = 1;
|
|
20007
20008
|
// const { type = [], tenantid ="", facilityid="",lang="", allData = false } = payload;
|
|
20008
20009
|
body = {
|
|
20009
|
-
|
|
20010
|
+
appcode: dbName,
|
|
20010
20011
|
filter: {
|
|
20011
20012
|
type: ["PATIENTIMPORTANCETYPE"],
|
|
20012
20013
|
tenantid: "",
|
|
20013
20014
|
facilityid: "",
|
|
20014
20015
|
lang: ""
|
|
20015
20016
|
},
|
|
20016
|
-
|
|
20017
|
+
requestid: "5c46abcb-a1d6-4c2f-ae4f-93ae551a0c6e"
|
|
20017
20018
|
};
|
|
20018
20019
|
_context12.n = 2;
|
|
20019
20020
|
return fetchData({
|
|
@@ -20097,14 +20098,14 @@ var RES_RESOURCE_TYPE_LIST_DOC_QDM = createAsyncThunk("resourceByAppointmentType
|
|
|
20097
20098
|
_context14.p = 1;
|
|
20098
20099
|
// const { type = [], tenantid ="", facilityid="",lang="", allData = false } = payload;
|
|
20099
20100
|
body = {
|
|
20100
|
-
|
|
20101
|
+
appcode: dbName,
|
|
20101
20102
|
filter: {
|
|
20102
20103
|
type: ["RESOURCETYPE"],
|
|
20103
20104
|
tenantid: "",
|
|
20104
20105
|
facilityid: "",
|
|
20105
20106
|
lang: ""
|
|
20106
20107
|
},
|
|
20107
|
-
|
|
20108
|
+
requestid: "5c46abcb-a1d6-4c2f-ae4f-93ae551a0c6e"
|
|
20108
20109
|
};
|
|
20109
20110
|
_context14.n = 2;
|
|
20110
20111
|
return fetchData({
|
|
@@ -20190,11 +20191,11 @@ var RES_RESOURCE_ROLE_LIST_DOC_QDM = createAsyncThunk("resourceByAppointmentType
|
|
|
20190
20191
|
// const { type = [], tenantid ="", facilityid="",lang="", allData = false } = payload;
|
|
20191
20192
|
resourcetypeId = payload;
|
|
20192
20193
|
body = {
|
|
20193
|
-
|
|
20194
|
+
appcode: dbName,
|
|
20194
20195
|
filter: {
|
|
20195
20196
|
resourcetype: resourcetypeId
|
|
20196
20197
|
},
|
|
20197
|
-
|
|
20198
|
+
requestid: "133cbcbf-90b2-4739-9d1e-b89de4189d66"
|
|
20198
20199
|
};
|
|
20199
20200
|
_context16.n = 2;
|
|
20200
20201
|
return fetchData({
|
|
@@ -20279,12 +20280,12 @@ var RES_RESOURCE_DEPARTMENT_LIST_DOC_QDM = createAsyncThunk("resourceByAppointme
|
|
|
20279
20280
|
_context18.p = 1;
|
|
20280
20281
|
// const { type = [], tenantid ="", facilityid="",lang="", allData = false } = payload;
|
|
20281
20282
|
body = {
|
|
20282
|
-
|
|
20283
|
+
appcode: dbName,
|
|
20283
20284
|
filter: {
|
|
20284
20285
|
resourcetype: payload === null || payload === void 0 ? void 0 : payload.resourcetypeId,
|
|
20285
20286
|
roletype: payload === null || payload === void 0 ? void 0 : payload.resourceroleId
|
|
20286
20287
|
},
|
|
20287
|
-
|
|
20288
|
+
requestid: "377c3f68-3454-49bb-86c7-4d856dda932e"
|
|
20288
20289
|
};
|
|
20289
20290
|
_context18.n = 2;
|
|
20290
20291
|
return fetchData({
|
|
@@ -20369,13 +20370,13 @@ var RES_RESOURCE_NAME_LIST_DOC_QDM = createAsyncThunk("resourceByAppointmentType
|
|
|
20369
20370
|
_context20.p = 1;
|
|
20370
20371
|
// const { type = [], tenantid ="", facilityid="",lang="", allData = false } = payload;
|
|
20371
20372
|
body = {
|
|
20372
|
-
|
|
20373
|
+
appcode: dbName,
|
|
20373
20374
|
filter: {
|
|
20374
20375
|
resourcetype: payload === null || payload === void 0 ? void 0 : payload.resourcetypeId,
|
|
20375
20376
|
roletype: payload === null || payload === void 0 ? void 0 : payload.resourceroleId,
|
|
20376
20377
|
deptid: payload === null || payload === void 0 ? void 0 : payload.resourcedepartmentId
|
|
20377
20378
|
},
|
|
20378
|
-
|
|
20379
|
+
requestid: "2159f59b-00e5-436d-9daa-7b09f1ff840d"
|
|
20379
20380
|
};
|
|
20380
20381
|
_context20.n = 2;
|
|
20381
20382
|
return fetchData({
|
|
@@ -20457,8 +20458,8 @@ var RES_SPECIAL_INSTRUCTION_LIST_DOC_QDM = createAsyncThunk("resourceByAppointme
|
|
|
20457
20458
|
_context22.p = 1;
|
|
20458
20459
|
// const { type = [], tenantid ="", facilityid="",lang="", allData = false } = payload;
|
|
20459
20460
|
body = {
|
|
20460
|
-
|
|
20461
|
-
|
|
20461
|
+
appcode: dbName,
|
|
20462
|
+
requestid: "be26a8ae-2181-4a08-bcbc-d0b07632fe84"
|
|
20462
20463
|
};
|
|
20463
20464
|
_context22.n = 2;
|
|
20464
20465
|
return fetchData({
|
|
@@ -20584,8 +20585,8 @@ var RES_GENERAL_INSTRUCTION_DROPDOWN_QDM = createAsyncThunk("resourceByAppointme
|
|
|
20584
20585
|
_context25.p = 1;
|
|
20585
20586
|
// const { type = [], tenantid ="", facilityid="",lang="", allData = false } = payload;
|
|
20586
20587
|
body = {
|
|
20587
|
-
|
|
20588
|
-
|
|
20588
|
+
appcode: dbName,
|
|
20589
|
+
requestid: "d9fef26c-9ac6-4921-9cce-b776c185f529"
|
|
20589
20590
|
};
|
|
20590
20591
|
_context25.n = 2;
|
|
20591
20592
|
return fetchData({
|
|
@@ -20665,11 +20666,11 @@ var RES_SERVICE_GROUP_QDM = createAsyncThunk("resourceByAppointmentTypesSlice/re
|
|
|
20665
20666
|
_context27.p = 1;
|
|
20666
20667
|
// const { type = [], tenantid ="", facilityid="",lang="", allData = false } = payload;
|
|
20667
20668
|
body = {
|
|
20668
|
-
|
|
20669
|
+
appcode: dbName,
|
|
20669
20670
|
filter: {
|
|
20670
20671
|
ordercategory: payload
|
|
20671
20672
|
},
|
|
20672
|
-
|
|
20673
|
+
requestid: "1b67302c-680a-4350-9b04-b10217b8fdea"
|
|
20673
20674
|
};
|
|
20674
20675
|
_context27.n = 2;
|
|
20675
20676
|
return fetchData({
|
|
@@ -20755,8 +20756,8 @@ var RES_SERVICE_CATEGORY_QDM = createAsyncThunk("resourceByAppointmentTypesSlice
|
|
|
20755
20756
|
_context29.p = 1;
|
|
20756
20757
|
// const { type = [], tenantid ="", facilityid="",lang="", allData = false } = payload;
|
|
20757
20758
|
body = {
|
|
20758
|
-
|
|
20759
|
-
|
|
20759
|
+
appcode: dbName,
|
|
20760
|
+
requestid: "60bf981d-06b9-4412-a4c1-46f5edaa3681"
|
|
20760
20761
|
};
|
|
20761
20762
|
_context29.n = 2;
|
|
20762
20763
|
return fetchData({
|
|
@@ -20839,14 +20840,14 @@ var RES_SERVICE_CODE_QDM = createAsyncThunk("resourceByAppointmentTypesSlice/res
|
|
|
20839
20840
|
_context31.p = 1;
|
|
20840
20841
|
// const { type = [], tenantid ="", facilityid="",lang="", allData = false } = payload;
|
|
20841
20842
|
body = {
|
|
20842
|
-
|
|
20843
|
+
appcode: dbName,
|
|
20843
20844
|
filter: {
|
|
20844
20845
|
type: ["SERVICE"],
|
|
20845
20846
|
tenantid: "",
|
|
20846
20847
|
facilityid: "",
|
|
20847
20848
|
lang: ""
|
|
20848
20849
|
},
|
|
20849
|
-
|
|
20850
|
+
requestid: "5c46abcb-a1d6-4c2f-ae4f-93ae551a0c6e"
|
|
20850
20851
|
};
|
|
20851
20852
|
_context31.n = 2;
|
|
20852
20853
|
return fetchData({
|
|
@@ -20930,13 +20931,13 @@ var RES_APPOINTMENT_LIST_QDM = createAsyncThunk("resourceByAppointmentTypesSlice
|
|
|
20930
20931
|
_context33.p = 1;
|
|
20931
20932
|
// const { type = [], tenantid ="", facilityid="",lang="", allData = false } = payload;
|
|
20932
20933
|
body = {
|
|
20933
|
-
|
|
20934
|
+
appcode: dbName,
|
|
20934
20935
|
filter: {
|
|
20935
20936
|
searchname: payload === null || payload === void 0 ? void 0 : payload.search,
|
|
20936
20937
|
page: payload === null || payload === void 0 ? void 0 : payload.page,
|
|
20937
20938
|
perPage: payload === null || payload === void 0 ? void 0 : payload.perPage
|
|
20938
20939
|
},
|
|
20939
|
-
|
|
20940
|
+
requestid: "84520dac-03e2-4321-bc99-ce6fe51ad15e"
|
|
20940
20941
|
};
|
|
20941
20942
|
_context33.n = 2;
|
|
20942
20943
|
return fetchData({
|
|
@@ -21103,11 +21104,11 @@ var RES_APPOINTMENT_SINGLE_READ_QDM = createAsyncThunk("resourceByAppointmentTyp
|
|
|
21103
21104
|
_context37.p = 1;
|
|
21104
21105
|
// const { type = [], tenantid ="", facilityid="",lang="", allData = false } = payload;
|
|
21105
21106
|
body = {
|
|
21106
|
-
|
|
21107
|
+
appcode: dbName,
|
|
21107
21108
|
filter: {
|
|
21108
21109
|
_id: payload
|
|
21109
21110
|
},
|
|
21110
|
-
|
|
21111
|
+
requestid: "dac48901-4ef7-4dbd-93d0-a8716d732aba"
|
|
21111
21112
|
};
|
|
21112
21113
|
_context37.n = 2;
|
|
21113
21114
|
return fetchData({
|
|
@@ -21177,8 +21178,8 @@ var RES_APPOINTMENT_VITAL_CODE = createAsyncThunk("resourceByAppointmentTypesSli
|
|
|
21177
21178
|
_context39.p = 1;
|
|
21178
21179
|
// const { type = [], tenantid ="", facilityid="",lang="", allData = false } = payload;
|
|
21179
21180
|
body = {
|
|
21180
|
-
|
|
21181
|
-
|
|
21181
|
+
appcode: dbName,
|
|
21182
|
+
requestid: "79d8750b-851d-488f-846a-5253722c4588"
|
|
21182
21183
|
};
|
|
21183
21184
|
_context39.n = 2;
|
|
21184
21185
|
return fetchData({
|
|
@@ -21229,14 +21230,14 @@ var RES_APPOINTMENT_BOOKING_TYPE = createAsyncThunk("resourceByAppointmentTypesS
|
|
|
21229
21230
|
_context40.p = 1;
|
|
21230
21231
|
// const { type = [], tenantid ="", facilityid="",lang="", allData = false } = payload;
|
|
21231
21232
|
body = {
|
|
21232
|
-
|
|
21233
|
+
appcode: dbName,
|
|
21233
21234
|
"filter": {
|
|
21234
21235
|
"type": ["BOOKTYPE"],
|
|
21235
21236
|
"tenantid": "",
|
|
21236
21237
|
"facilityid": "",
|
|
21237
21238
|
"lang": ""
|
|
21238
21239
|
},
|
|
21239
|
-
"
|
|
21240
|
+
"requestid": "5c46abcb-a1d6-4c2f-ae4f-93ae551a0c6e"
|
|
21240
21241
|
};
|
|
21241
21242
|
_context40.n = 2;
|
|
21242
21243
|
return fetchData({
|
|
@@ -21280,14 +21281,14 @@ var RES_APPOINTMENT_DYNAMIC_DATA_LOAD = createAsyncThunk("resourceByAppointmentT
|
|
|
21280
21281
|
_context41.p = 1;
|
|
21281
21282
|
// const { type = [], tenantid ="", facilityid="",lang="", allData = false } = payload;
|
|
21282
21283
|
body = {
|
|
21283
|
-
|
|
21284
|
+
appcode: dbName,
|
|
21284
21285
|
"filter": {
|
|
21285
21286
|
"type": [payload],
|
|
21286
21287
|
"tenantid": "",
|
|
21287
21288
|
"facilityid": "",
|
|
21288
21289
|
"lang": ""
|
|
21289
21290
|
},
|
|
21290
|
-
"
|
|
21291
|
+
"requestid": "5c46abcb-a1d6-4c2f-ae4f-93ae551a0c6e"
|
|
21291
21292
|
};
|
|
21292
21293
|
_context41.n = 2;
|
|
21293
21294
|
return fetchData({
|
|
@@ -21323,8 +21324,8 @@ var RES_APPOINTMENT_DYNAMIC_QUERYDATA_LOAD = createAsyncThunk("resourceByAppoint
|
|
|
21323
21324
|
_context42.p = 1;
|
|
21324
21325
|
// const { type = [], tenantid ="", facilityid="",lang="", allData = false } = payload;
|
|
21325
21326
|
body = {
|
|
21326
|
-
|
|
21327
|
-
"
|
|
21327
|
+
appcode: dbName,
|
|
21328
|
+
"requestid": payload
|
|
21328
21329
|
};
|
|
21329
21330
|
_context42.n = 2;
|
|
21330
21331
|
return fetchData({
|
|
@@ -21362,14 +21363,14 @@ var RES_APPOINTMENT_GENERALPRIORITY_LOAD = createAsyncThunk("resourceByAppointme
|
|
|
21362
21363
|
_context43.p = 1;
|
|
21363
21364
|
// const { type = [], tenantid ="", facilityid="",lang="", allData = false } = payload;
|
|
21364
21365
|
body = {
|
|
21365
|
-
|
|
21366
|
+
appcode: dbName,
|
|
21366
21367
|
"filter": {
|
|
21367
21368
|
"type": [payload],
|
|
21368
21369
|
"tenantid": "",
|
|
21369
21370
|
"facilityid": "",
|
|
21370
21371
|
"lang": ""
|
|
21371
21372
|
},
|
|
21372
|
-
"
|
|
21373
|
+
"requestid": "5c46abcb-a1d6-4c2f-ae4f-93ae551a0c6e"
|
|
21373
21374
|
};
|
|
21374
21375
|
_context43.n = 2;
|
|
21375
21376
|
return fetchData({
|
|
@@ -21413,14 +21414,14 @@ var RES_APPOINTMENT_APPROUTEURL_LOAD = createAsyncThunk("resourceByAppointmentTy
|
|
|
21413
21414
|
_context44.p = 1;
|
|
21414
21415
|
// const { type = [], tenantid ="", facilityid="",lang="", allData = false } = payload;
|
|
21415
21416
|
body = {
|
|
21416
|
-
|
|
21417
|
+
appcode: dbName,
|
|
21417
21418
|
"filter": {
|
|
21418
21419
|
"type": ["APPTYPEROUTEURL"],
|
|
21419
21420
|
"tenantid": "",
|
|
21420
21421
|
"facilityid": "",
|
|
21421
21422
|
"lang": ""
|
|
21422
21423
|
},
|
|
21423
|
-
"
|
|
21424
|
+
"requestid": "5c46abcb-a1d6-4c2f-ae4f-93ae551a0c6e"
|
|
21424
21425
|
};
|
|
21425
21426
|
_context44.n = 2;
|
|
21426
21427
|
return fetchData({
|
|
@@ -21829,7 +21830,7 @@ var resourceByAppointmentTypesSlice$1 = resourceByAppointmentTypesSlice.reducer;
|
|
|
21829
21830
|
var queries$h = {
|
|
21830
21831
|
// drug_category_read: (page, perPage, search) => {
|
|
21831
21832
|
// return {
|
|
21832
|
-
//
|
|
21833
|
+
// appcode: dbName,
|
|
21833
21834
|
// entity: "DrugCategory",
|
|
21834
21835
|
// filter: `(LIKE(DrugCategory.drugcategory,'%${search}%',true) || LIKE(DrugCategory.shortdesc,'%${search}%',true) || LIKE(DrugCategory.longdesc,'%${search}%',true)) && DrugCategory.activestatus == true`,
|
|
21835
21836
|
// limit: { offset: page, count: perPage },
|
|
@@ -21839,7 +21840,7 @@ var queries$h = {
|
|
|
21839
21840
|
// },
|
|
21840
21841
|
// drug_type_read: (page, perPage, search) => {
|
|
21841
21842
|
// return {
|
|
21842
|
-
//
|
|
21843
|
+
// appcode: dbName,
|
|
21843
21844
|
// entity: "DrugType",
|
|
21844
21845
|
// filter: `(LIKE(DrugType.drugtype,'%${search}%',true) || LIKE(DrugType.shortdesc,'%${search}%',true) || LIKE(DrugType.longdesc,'%${search}%',true)) && DrugType.activestatus == true`,
|
|
21845
21846
|
// limit: { offset: page, count: perPage },
|
|
@@ -21850,7 +21851,7 @@ var queries$h = {
|
|
|
21850
21851
|
// },
|
|
21851
21852
|
// drug_dosage: (page, perPage,search) => {
|
|
21852
21853
|
// return {
|
|
21853
|
-
//
|
|
21854
|
+
// appcode: dbName,
|
|
21854
21855
|
// entity: "DosageForm",
|
|
21855
21856
|
// sort: "DosageForm.dosageform",
|
|
21856
21857
|
// filter: `(LIKE(DosageForm.dosageform,'%${search}%',true) || LIKE(DosageForm.UOM,'%${search}%',true) || LIKE(DosageForm.longdesc,'%${search}%',true)) && DosageForm.activestatus == true`,
|
|
@@ -21861,8 +21862,8 @@ var queries$h = {
|
|
|
21861
21862
|
// },
|
|
21862
21863
|
drug_category_read: function drug_category_read(page, perPage, search) {
|
|
21863
21864
|
return {
|
|
21864
|
-
|
|
21865
|
-
|
|
21865
|
+
appcode: dbName,
|
|
21866
|
+
requestid: "9aa27f3c-f346-4ac3-ad20-b434824d219d",
|
|
21866
21867
|
filter: {
|
|
21867
21868
|
search: "%".concat(search, "%"),
|
|
21868
21869
|
offset: page,
|
|
@@ -21872,8 +21873,8 @@ var queries$h = {
|
|
|
21872
21873
|
},
|
|
21873
21874
|
drug_type_read: function drug_type_read(page, perPage, search) {
|
|
21874
21875
|
return {
|
|
21875
|
-
|
|
21876
|
-
|
|
21876
|
+
appcode: dbName,
|
|
21877
|
+
requestid: "7bececc5-5fd3-45b6-936b-361104171b2d",
|
|
21877
21878
|
filter: {
|
|
21878
21879
|
search: "%".concat(search, "%"),
|
|
21879
21880
|
offset: page,
|
|
@@ -21883,8 +21884,8 @@ var queries$h = {
|
|
|
21883
21884
|
},
|
|
21884
21885
|
drug_dosage: function drug_dosage(page, perPage, search) {
|
|
21885
21886
|
return {
|
|
21886
|
-
|
|
21887
|
-
|
|
21887
|
+
appcode: dbName,
|
|
21888
|
+
requestid: "6b3f4821-1622-4090-8a8d-2cc769113955",
|
|
21888
21889
|
filter: {
|
|
21889
21890
|
search: "%".concat(search, "%"),
|
|
21890
21891
|
offset: page,
|
|
@@ -21902,7 +21903,7 @@ var queries$h = {
|
|
|
21902
21903
|
};
|
|
21903
21904
|
}
|
|
21904
21905
|
return [_objectSpread2(_objectSpread2({
|
|
21905
|
-
|
|
21906
|
+
appcode: dbName,
|
|
21906
21907
|
entity: "DosageForm",
|
|
21907
21908
|
is_metadata: true
|
|
21908
21909
|
}, filter), {}, {
|
|
@@ -21919,7 +21920,7 @@ var queries$h = {
|
|
|
21919
21920
|
},
|
|
21920
21921
|
status_update_drug_dosage: function status_update_drug_dosage(data) {
|
|
21921
21922
|
return [{
|
|
21922
|
-
|
|
21923
|
+
appcode: dbName,
|
|
21923
21924
|
entity: "DosageForm",
|
|
21924
21925
|
filter: {
|
|
21925
21926
|
_key: data._key
|
|
@@ -21934,7 +21935,7 @@ var queries$h = {
|
|
|
21934
21935
|
},
|
|
21935
21936
|
// drug_class: (page, perPage, search) => {
|
|
21936
21937
|
// return {
|
|
21937
|
-
//
|
|
21938
|
+
// appcode: dbName,
|
|
21938
21939
|
// entity: "DrugClass",
|
|
21939
21940
|
// filter: `(LIKE(DrugClass.drugclass,'%${search}%',true) || LIKE(DrugClass.longdesc,'%${search}%',true) || LIKE(DrugClass.shortdesc,'%${search}%',true)) && DrugClass.activestatus == true`,
|
|
21940
21941
|
// limit: { offset: page, count: perPage },
|
|
@@ -21944,8 +21945,8 @@ var queries$h = {
|
|
|
21944
21945
|
// },
|
|
21945
21946
|
drug_class: function drug_class(page, perPage, search) {
|
|
21946
21947
|
return {
|
|
21947
|
-
|
|
21948
|
-
|
|
21948
|
+
appcode: dbName,
|
|
21949
|
+
requestid: "59a97bea-507d-4f96-82dc-6d5f1e04bde8",
|
|
21949
21950
|
filter: {
|
|
21950
21951
|
search: "%".concat(search, "%"),
|
|
21951
21952
|
offset: page,
|
|
@@ -21963,7 +21964,7 @@ var queries$h = {
|
|
|
21963
21964
|
};
|
|
21964
21965
|
}
|
|
21965
21966
|
return [_objectSpread2(_objectSpread2({
|
|
21966
|
-
|
|
21967
|
+
appcode: dbName,
|
|
21967
21968
|
entity: "DrugClass",
|
|
21968
21969
|
is_metadata: true
|
|
21969
21970
|
}, filter), {}, {
|
|
@@ -21980,7 +21981,7 @@ var queries$h = {
|
|
|
21980
21981
|
},
|
|
21981
21982
|
status_update_drug_class: function status_update_drug_class(data) {
|
|
21982
21983
|
return [{
|
|
21983
|
-
|
|
21984
|
+
appcode: dbName,
|
|
21984
21985
|
entity: "DrugClass",
|
|
21985
21986
|
filter: {
|
|
21986
21987
|
_key: data._key
|
|
@@ -21995,7 +21996,7 @@ var queries$h = {
|
|
|
21995
21996
|
},
|
|
21996
21997
|
// drug_routes: (page, perPage, search) => {
|
|
21997
21998
|
// return {
|
|
21998
|
-
//
|
|
21999
|
+
// appcode: dbName,
|
|
21999
22000
|
// entity: "DrugRoutes",
|
|
22000
22001
|
// sort: "DrugRoutes.routecode",
|
|
22001
22002
|
// filter: `(LIKE(DrugRoutes.routecode,'%${search}%',true) || LIKE(DrugRoutes.UOM,'%${search}%',true) || LIKE(DrugRoutes.longdesc,'%${search}%',true)) && DrugRoutes.activestatus == true`,
|
|
@@ -22005,8 +22006,8 @@ var queries$h = {
|
|
|
22005
22006
|
// },
|
|
22006
22007
|
drug_routes: function drug_routes(page, perPage, search) {
|
|
22007
22008
|
return {
|
|
22008
|
-
|
|
22009
|
-
|
|
22009
|
+
appcode: dbName,
|
|
22010
|
+
requestid: "f86ecb46-8fbf-4f52-a35b-778568220b35",
|
|
22010
22011
|
filter: {
|
|
22011
22012
|
search: "%".concat(search, "%"),
|
|
22012
22013
|
offset: page,
|
|
@@ -22016,7 +22017,7 @@ var queries$h = {
|
|
|
22016
22017
|
},
|
|
22017
22018
|
status_update_drug_routes: function status_update_drug_routes(data) {
|
|
22018
22019
|
return [{
|
|
22019
|
-
|
|
22020
|
+
appcode: dbName,
|
|
22020
22021
|
entity: "DrugRoutes",
|
|
22021
22022
|
filter: {
|
|
22022
22023
|
_key: data._key
|
|
@@ -22039,7 +22040,7 @@ var queries$h = {
|
|
|
22039
22040
|
};
|
|
22040
22041
|
}
|
|
22041
22042
|
return [_objectSpread2(_objectSpread2({
|
|
22042
|
-
|
|
22043
|
+
appcode: dbName,
|
|
22043
22044
|
entity: "DrugRoutes",
|
|
22044
22045
|
is_metadata: true
|
|
22045
22046
|
}, filter), {}, {
|
|
@@ -22681,7 +22682,7 @@ var queries$g = {
|
|
|
22681
22682
|
drug_master_upsert: function drug_master_upsert() {
|
|
22682
22683
|
var _doc;
|
|
22683
22684
|
return [{
|
|
22684
|
-
|
|
22685
|
+
appcode: _dbName,
|
|
22685
22686
|
entity: "DrugMaster",
|
|
22686
22687
|
is_metadata: true,
|
|
22687
22688
|
metadataId: metaDataId$1,
|
|
@@ -22789,7 +22790,7 @@ var queries$g = {
|
|
|
22789
22790
|
},
|
|
22790
22791
|
status_update_drug_master: function status_update_drug_master(key, status) {
|
|
22791
22792
|
return [{
|
|
22792
|
-
|
|
22793
|
+
appcode: dbName,
|
|
22793
22794
|
entity: "DrugMaster",
|
|
22794
22795
|
filter: {
|
|
22795
22796
|
_key: key
|
|
@@ -23113,7 +23114,7 @@ var drugCatalogMasterQuery$1 = {
|
|
|
23113
23114
|
},
|
|
23114
23115
|
status_update: function status_update(key, status) {
|
|
23115
23116
|
return [{
|
|
23116
|
-
|
|
23117
|
+
appcode: dbName,
|
|
23117
23118
|
entity: "DrugMaster",
|
|
23118
23119
|
filter: {
|
|
23119
23120
|
_key: key
|
|
@@ -23369,7 +23370,7 @@ var generateDrugMasterJSON = function generateDrugMasterJSON(data, _key, draft)
|
|
|
23369
23370
|
});
|
|
23370
23371
|
}
|
|
23371
23372
|
var json = [_objectSpread2(_objectSpread2({
|
|
23372
|
-
"
|
|
23373
|
+
"appcode": dbName,
|
|
23373
23374
|
"entity": "DrugMaster",
|
|
23374
23375
|
"is_metadata": true
|
|
23375
23376
|
}, filter), {}, {
|
|
@@ -23787,7 +23788,7 @@ var GenerateUpsert$1 = function GenerateUpsert(data) {
|
|
|
23787
23788
|
};
|
|
23788
23789
|
}
|
|
23789
23790
|
return [_objectSpread2(_objectSpread2({
|
|
23790
|
-
|
|
23791
|
+
appcode: dbName,
|
|
23791
23792
|
entity: "DrugMaster",
|
|
23792
23793
|
is_metadata: true,
|
|
23793
23794
|
metadataId: metaDataId$1,
|
|
@@ -23861,7 +23862,7 @@ var GenerateAlertRestrictionUpsert$1 = function GenerateAlertRestrictionUpsert(d
|
|
|
23861
23862
|
};
|
|
23862
23863
|
}
|
|
23863
23864
|
return [_objectSpread2(_objectSpread2({
|
|
23864
|
-
|
|
23865
|
+
appcode: dbName,
|
|
23865
23866
|
entity: "CA_OrderCatalogPrivilegeLevel",
|
|
23866
23867
|
is_metadata: true,
|
|
23867
23868
|
metadataId: metaDataId$1,
|
|
@@ -24055,8 +24056,8 @@ var DRUG_MASTER_READ = createAsyncThunk("drugMasterSlice/drug_master_list", /*#_
|
|
|
24055
24056
|
}
|
|
24056
24057
|
};
|
|
24057
24058
|
fullReadQDMQuery = _objectSpread2({
|
|
24058
|
-
|
|
24059
|
-
|
|
24059
|
+
appcode: dbName,
|
|
24060
|
+
requestid: queryId
|
|
24060
24061
|
}, withLimitFilter);
|
|
24061
24062
|
_context4.n = 2;
|
|
24062
24063
|
return fetchData({
|
|
@@ -25049,7 +25050,7 @@ var drugMasterSlice$1 = drugMasterSlice.reducer;
|
|
|
25049
25050
|
var queries$f = {
|
|
25050
25051
|
// fullread: (page, perPage, search) => {
|
|
25051
25052
|
// return {
|
|
25052
|
-
//
|
|
25053
|
+
// appcode: dbName,
|
|
25053
25054
|
// entity: "DrugRouteDirection",
|
|
25054
25055
|
// sort: "DrugRouteDirection.RouteDirectionCode",
|
|
25055
25056
|
// filter: `(LIKE(DrugRouteDirection.RouteDirectionCode,'%${search}%',true) || LIKE(DrugRouteDirection.UOM,'%${search}%',true) || LIKE(DrugRouteDirection.longdesc,'%${search}%',true)) && DrugRouteDirection.activestatus == true`,
|
|
@@ -25059,8 +25060,8 @@ var queries$f = {
|
|
|
25059
25060
|
// },
|
|
25060
25061
|
fullread: function fullread(page, perPage, search) {
|
|
25061
25062
|
return {
|
|
25062
|
-
|
|
25063
|
-
|
|
25063
|
+
appcode: dbName,
|
|
25064
|
+
requestid: "2b2da59b-f224-4fed-8c14-1c910babb031",
|
|
25064
25065
|
filter: {
|
|
25065
25066
|
search: search !== null && search !== void 0 ? search : "%%",
|
|
25066
25067
|
offset: page,
|
|
@@ -25070,7 +25071,7 @@ var queries$f = {
|
|
|
25070
25071
|
},
|
|
25071
25072
|
// DosageFormDropDown: () => {
|
|
25072
25073
|
// return {
|
|
25073
|
-
//
|
|
25074
|
+
// appcode: dbName,
|
|
25074
25075
|
// entity: "DosageForm",
|
|
25075
25076
|
// sort: "DosageForm.longdesc",
|
|
25076
25077
|
// filter: "DosageForm.activestatus == true && DosageForm.status == true",
|
|
@@ -25079,8 +25080,8 @@ var queries$f = {
|
|
|
25079
25080
|
// },
|
|
25080
25081
|
DosageFormDropDown: function DosageFormDropDown() {
|
|
25081
25082
|
return {
|
|
25082
|
-
|
|
25083
|
-
|
|
25083
|
+
appcode: dbName,
|
|
25084
|
+
requestid: "6a035ef7-a2d7-4f0f-acb9-246aa1df9f3d",
|
|
25084
25085
|
filter: {
|
|
25085
25086
|
activestatus: true,
|
|
25086
25087
|
status: true
|
|
@@ -25089,7 +25090,7 @@ var queries$f = {
|
|
|
25089
25090
|
},
|
|
25090
25091
|
// RoutesDirectionActionDropDown: () => {
|
|
25091
25092
|
// return {
|
|
25092
|
-
//
|
|
25093
|
+
// appcode: dbName,
|
|
25093
25094
|
// entity: "CodingMaster",
|
|
25094
25095
|
// filter: `CodingMaster.Type== 'ROUTEDIRECTIONACTION' && CodingMaster.activestatus==true && CodingMaster.status==true`,
|
|
25095
25096
|
// return_fields:
|
|
@@ -25098,8 +25099,8 @@ var queries$f = {
|
|
|
25098
25099
|
// },
|
|
25099
25100
|
RoutesDirectionActionDropDown: function RoutesDirectionActionDropDown() {
|
|
25100
25101
|
return {
|
|
25101
|
-
|
|
25102
|
-
|
|
25102
|
+
appcode: dbName,
|
|
25103
|
+
requestid: "95931016-caf1-413c-8bf5-96f05c5709fb",
|
|
25103
25104
|
filter: {
|
|
25104
25105
|
type: "ROUTEDIRECTIONACTION",
|
|
25105
25106
|
activestatus: true,
|
|
@@ -25109,7 +25110,7 @@ var queries$f = {
|
|
|
25109
25110
|
},
|
|
25110
25111
|
Insert: function Insert(data) {
|
|
25111
25112
|
return [{
|
|
25112
|
-
|
|
25113
|
+
appcode: dbName,
|
|
25113
25114
|
entity: "DrugRouteDirection",
|
|
25114
25115
|
is_metadata: true,
|
|
25115
25116
|
metadataId: metaDataId$1,
|
|
@@ -25127,7 +25128,7 @@ var queries$f = {
|
|
|
25127
25128
|
},
|
|
25128
25129
|
StatusUpdate: function StatusUpdate(key, getstatus) {
|
|
25129
25130
|
return [{
|
|
25130
|
-
|
|
25131
|
+
appcode: dbName,
|
|
25131
25132
|
entity: "DrugRouteDirection",
|
|
25132
25133
|
filter: {
|
|
25133
25134
|
_key: key
|
|
@@ -25142,7 +25143,7 @@ var queries$f = {
|
|
|
25142
25143
|
},
|
|
25143
25144
|
UpdateORModify: function UpdateORModify(data) {
|
|
25144
25145
|
return [{
|
|
25145
|
-
|
|
25146
|
+
appcode: dbName,
|
|
25146
25147
|
entity: "DrugRouteDirection",
|
|
25147
25148
|
filter: {
|
|
25148
25149
|
_key: data.key
|
|
@@ -25495,11 +25496,11 @@ var masterQuery$6 = {
|
|
|
25495
25496
|
var orderTypedata = {
|
|
25496
25497
|
ordertype: function ordertype(type) {
|
|
25497
25498
|
return {
|
|
25498
|
-
"
|
|
25499
|
+
"appcode": _dbName,
|
|
25499
25500
|
"filter": {
|
|
25500
25501
|
"ordercategoryId": type
|
|
25501
25502
|
},
|
|
25502
|
-
"
|
|
25503
|
+
"requestid": "b4c429f4-45d0-438d-89b8-3ca31134ae4a"
|
|
25503
25504
|
};
|
|
25504
25505
|
}
|
|
25505
25506
|
};
|
|
@@ -25520,12 +25521,12 @@ var Query = {
|
|
|
25520
25521
|
var page = _ref.page,
|
|
25521
25522
|
perPage = _ref.perPage;
|
|
25522
25523
|
return {
|
|
25523
|
-
"
|
|
25524
|
+
"appcode": dbName,
|
|
25524
25525
|
"filter": {
|
|
25525
25526
|
"page": page,
|
|
25526
25527
|
"perPage": perPage
|
|
25527
25528
|
},
|
|
25528
|
-
"
|
|
25529
|
+
"requestid": "0b70b829-2e3e-49b2-85e4-1be22332f351"
|
|
25529
25530
|
};
|
|
25530
25531
|
},
|
|
25531
25532
|
order_catalog_read_search: function order_catalog_read_search(_ref2) {
|
|
@@ -25533,38 +25534,38 @@ var Query = {
|
|
|
25533
25534
|
perPage = _ref2.perPage,
|
|
25534
25535
|
search = _ref2.search;
|
|
25535
25536
|
return {
|
|
25536
|
-
"
|
|
25537
|
+
"appcode": dbName,
|
|
25537
25538
|
"filter": {
|
|
25538
25539
|
"searchval": search,
|
|
25539
25540
|
"page": page,
|
|
25540
25541
|
"perPage": perPage
|
|
25541
25542
|
},
|
|
25542
|
-
"
|
|
25543
|
+
"requestid": "603d2995-cff2-4cd3-b89d-13d21be3c79f"
|
|
25543
25544
|
};
|
|
25544
25545
|
},
|
|
25545
25546
|
editOrderCatalog: function editOrderCatalog(id) {
|
|
25546
25547
|
return {
|
|
25547
|
-
"
|
|
25548
|
+
"appcode": dbName,
|
|
25548
25549
|
"filter": {
|
|
25549
25550
|
"id": id
|
|
25550
25551
|
},
|
|
25551
|
-
"
|
|
25552
|
+
"requestid": "d2d0ea53-0a1c-4569-a033-f2a3716e3f1d"
|
|
25552
25553
|
};
|
|
25553
25554
|
},
|
|
25554
25555
|
attributeDelete: function attributeDelete(id) {
|
|
25555
25556
|
return {
|
|
25556
|
-
|
|
25557
|
+
appcode: dbName,
|
|
25557
25558
|
entity: "CA_OrderAttribApplicability",
|
|
25558
25559
|
filter: "CA_OrderAttribApplicability._key=='".concat(id, "'")
|
|
25559
25560
|
};
|
|
25560
25561
|
},
|
|
25561
25562
|
entityTypeName: function entityTypeName(name) {
|
|
25562
25563
|
return {
|
|
25563
|
-
"
|
|
25564
|
+
"appcode": dbName,
|
|
25564
25565
|
"filter": {
|
|
25565
25566
|
"Orgname": name
|
|
25566
25567
|
},
|
|
25567
|
-
"
|
|
25568
|
+
"requestid": "b0931347-d3eb-4627-b799-cc701cb8f6c9"
|
|
25568
25569
|
};
|
|
25569
25570
|
}
|
|
25570
25571
|
};
|
|
@@ -25586,7 +25587,7 @@ var generateSaveChargeCode = function generateSaveChargeCode(data) {
|
|
|
25586
25587
|
};
|
|
25587
25588
|
}
|
|
25588
25589
|
return [_objectSpread2(_objectSpread2({
|
|
25589
|
-
|
|
25590
|
+
appcode: dbName,
|
|
25590
25591
|
entity: "RC_ChargeCode",
|
|
25591
25592
|
is_metadata: true,
|
|
25592
25593
|
metadataId: metaDataId$1,
|
|
@@ -25618,7 +25619,7 @@ var generateSaveChargeRate = function generateSaveChargeRate(data, rcchargeData,
|
|
|
25618
25619
|
};
|
|
25619
25620
|
}
|
|
25620
25621
|
return [_objectSpread2(_objectSpread2({
|
|
25621
|
-
|
|
25622
|
+
appcode: dbName,
|
|
25622
25623
|
entity: "RC_ChargeRates",
|
|
25623
25624
|
is_metadata: true,
|
|
25624
25625
|
metadataId: metaDataId$1,
|
|
@@ -25671,7 +25672,7 @@ var generateSaveJSON = function generateSaveJSON(data, rcchargeCode) {
|
|
|
25671
25672
|
};
|
|
25672
25673
|
}
|
|
25673
25674
|
return [_objectSpread2(_objectSpread2({
|
|
25674
|
-
|
|
25675
|
+
appcode: dbName,
|
|
25675
25676
|
entity: "OrderCatalog",
|
|
25676
25677
|
is_metadata: true,
|
|
25677
25678
|
metadataId: metaDataId$1,
|
|
@@ -25982,7 +25983,7 @@ var generateResJson = function generateResJson(data) {
|
|
|
25982
25983
|
//for status update
|
|
25983
25984
|
var generateUpdateJSON = function generateUpdateJSON(editID, Status) {
|
|
25984
25985
|
return [{
|
|
25985
|
-
|
|
25986
|
+
appcode: dbName,
|
|
25986
25987
|
entity: "OrderCatalog",
|
|
25987
25988
|
filter: {
|
|
25988
25989
|
_key: editID
|
|
@@ -26685,14 +26686,14 @@ var ORDER_CATALOG_CODING_MASTERS = createAsyncThunk("orderCatalogApiSlice/order_
|
|
|
26685
26686
|
_context5.p = 1;
|
|
26686
26687
|
payload.type;
|
|
26687
26688
|
body = {
|
|
26688
|
-
"
|
|
26689
|
+
"appcode": dbName,
|
|
26689
26690
|
"filter": {
|
|
26690
26691
|
"type": payload,
|
|
26691
26692
|
"tenantid": "",
|
|
26692
26693
|
"facilityid": "",
|
|
26693
26694
|
"lang": ""
|
|
26694
26695
|
},
|
|
26695
|
-
"
|
|
26696
|
+
"requestid": "5c46abcb-a1d6-4c2f-ae4f-93ae551a0c6e"
|
|
26696
26697
|
};
|
|
26697
26698
|
_context5.n = 2;
|
|
26698
26699
|
return fetchData({
|
|
@@ -26729,8 +26730,8 @@ var ORDER_CATALOG_ATTRCODE = createAsyncThunk("orderCatalogApiSlice/order_catalo
|
|
|
26729
26730
|
_context6.p = 1;
|
|
26730
26731
|
payload.type;
|
|
26731
26732
|
body = {
|
|
26732
|
-
"
|
|
26733
|
-
"
|
|
26733
|
+
"appcode": dbName,
|
|
26734
|
+
"requestid": "def95574-656e-40c7-928e-b544f2b2f801"
|
|
26734
26735
|
};
|
|
26735
26736
|
_context6.n = 2;
|
|
26736
26737
|
return fetchData({
|
|
@@ -26783,8 +26784,8 @@ var ORDER_CATALOG_AGEGROUP = createAsyncThunk("orderCatalogApiSlice/order_catalo
|
|
|
26783
26784
|
_context7.p = 1;
|
|
26784
26785
|
payload.type;
|
|
26785
26786
|
body = {
|
|
26786
|
-
"
|
|
26787
|
-
"
|
|
26787
|
+
"appcode": dbName,
|
|
26788
|
+
"requestid": "869e5895-b0e0-4657-ad31-6ed02294f691"
|
|
26788
26789
|
};
|
|
26789
26790
|
_context7.n = 2;
|
|
26790
26791
|
return fetchData({
|
|
@@ -26828,8 +26829,8 @@ var ORDER_CATALOG_ORDERCATEGORY = createAsyncThunk("orderCatalogApiSlice/order_c
|
|
|
26828
26829
|
_context8.p = 1;
|
|
26829
26830
|
payload.type;
|
|
26830
26831
|
body = {
|
|
26831
|
-
"
|
|
26832
|
-
"
|
|
26832
|
+
"appcode": dbName,
|
|
26833
|
+
"requestid": "df53fb0d-dd4c-4e65-9067-f5917563625b"
|
|
26833
26834
|
};
|
|
26834
26835
|
_context8.n = 2;
|
|
26835
26836
|
return fetchData({
|
|
@@ -26866,14 +26867,14 @@ var ORDER_CATALOG_GRPORIND = createAsyncThunk("orderCatalogApiSlice/order_catalo
|
|
|
26866
26867
|
_context9.p = 1;
|
|
26867
26868
|
// const { type = [], tenantid ="", facilityid="",lang="", allData = false } = payload;
|
|
26868
26869
|
body = {
|
|
26869
|
-
"
|
|
26870
|
+
"appcode": dbName,
|
|
26870
26871
|
"filter": {
|
|
26871
26872
|
"type": ["GRPORIND"],
|
|
26872
26873
|
"tenantid": "",
|
|
26873
26874
|
"facilityid": "",
|
|
26874
26875
|
"lang": ""
|
|
26875
26876
|
},
|
|
26876
|
-
"
|
|
26877
|
+
"requestid": "5c46abcb-a1d6-4c2f-ae4f-93ae551a0c6e"
|
|
26877
26878
|
};
|
|
26878
26879
|
_context9.n = 2;
|
|
26879
26880
|
return fetchData({
|
|
@@ -26915,14 +26916,14 @@ var ORDER_CATALOG_SERVICEITEM = createAsyncThunk("orderCatalogApiSlice/order_cat
|
|
|
26915
26916
|
_context0.p = 1;
|
|
26916
26917
|
// const { type = [], tenantid ="", facilityid="",lang="", allData = false } = payload;
|
|
26917
26918
|
body = {
|
|
26918
|
-
"
|
|
26919
|
+
"appcode": dbName,
|
|
26919
26920
|
"filter": {
|
|
26920
26921
|
"type": ["ORDERITEMSERVICE"],
|
|
26921
26922
|
"tenantid": "",
|
|
26922
26923
|
"facilityid": "",
|
|
26923
26924
|
"lang": ""
|
|
26924
26925
|
},
|
|
26925
|
-
"
|
|
26926
|
+
"requestid": "5c46abcb-a1d6-4c2f-ae4f-93ae551a0c6e"
|
|
26926
26927
|
};
|
|
26927
26928
|
_context0.n = 2;
|
|
26928
26929
|
return fetchData({
|
|
@@ -26972,11 +26973,11 @@ var ENTITY_NAME_DATA = createAsyncThunk("orderCatalogApiSlice/entity_name_data",
|
|
|
26972
26973
|
_context1.p = 1;
|
|
26973
26974
|
type = payload.type;
|
|
26974
26975
|
queriesjson = Query.entityTypeName(type); // let payloadData= {
|
|
26975
|
-
// "
|
|
26976
|
+
// "appcode": dbName,
|
|
26976
26977
|
// "filter": {
|
|
26977
26978
|
// "Orgname":type
|
|
26978
26979
|
// },
|
|
26979
|
-
// "
|
|
26980
|
+
// "requestid": "b0931347-d3eb-4627-b799-cc701cb8f6c9"
|
|
26980
26981
|
// }
|
|
26981
26982
|
_context1.n = 2;
|
|
26982
26983
|
return fetchData({
|
|
@@ -27179,11 +27180,11 @@ var RC_CHARGERATE_SEARCH = createAsyncThunk("orderCatalogApiSlice/rcchargeRateSe
|
|
|
27179
27180
|
_context14.p = 1;
|
|
27180
27181
|
search = payload.search;
|
|
27181
27182
|
body = {
|
|
27182
|
-
"
|
|
27183
|
+
"appcode": dbName,
|
|
27183
27184
|
"filter": {
|
|
27184
27185
|
"rcChargecode": search
|
|
27185
27186
|
},
|
|
27186
|
-
"
|
|
27187
|
+
"requestid": query_ids["rcChargeRateSearch"]
|
|
27187
27188
|
};
|
|
27188
27189
|
_context14.n = 2;
|
|
27189
27190
|
return fetchData({
|
|
@@ -27418,11 +27419,11 @@ var RES_ORDERCATALOG_VITAL_CODE = createAsyncThunk("orderCatalogApiSlice/res_ord
|
|
|
27418
27419
|
_ref39 = _args20.length > 1 ? _args20[1] : undefined, rejectWithValue = _ref39.rejectWithValue;
|
|
27419
27420
|
_context20.p = 1;
|
|
27420
27421
|
body = {
|
|
27421
|
-
|
|
27422
|
+
appcode: dbName,
|
|
27422
27423
|
filter: {
|
|
27423
27424
|
OrderType: (_payload$label = payload === null || payload === void 0 ? void 0 : payload.label) !== null && _payload$label !== void 0 ? _payload$label : ""
|
|
27424
27425
|
},
|
|
27425
|
-
|
|
27426
|
+
requestid: query_ids["resOrderCatalogVitalCode"]
|
|
27426
27427
|
};
|
|
27427
27428
|
_context20.n = 2;
|
|
27428
27429
|
return fetchData({
|
|
@@ -27692,7 +27693,7 @@ var generateJson$9 = function generateJson(data, _key) {
|
|
|
27692
27693
|
});
|
|
27693
27694
|
}
|
|
27694
27695
|
return [_objectSpread2(_objectSpread2({
|
|
27695
|
-
"
|
|
27696
|
+
"appcode": dbName
|
|
27696
27697
|
}, filter), {}, {
|
|
27697
27698
|
"entity": "CA_PerformingLocationforOrdLocn",
|
|
27698
27699
|
"is_metadata": true,
|
|
@@ -27978,7 +27979,7 @@ var STATUS_PERFORMINGLOCATION = createAsyncThunk("performLocationSlice/changeSta
|
|
|
27978
27979
|
_context7.p = 1;
|
|
27979
27980
|
list = payload.list, _key = payload._key;
|
|
27980
27981
|
queriesjson = [{
|
|
27981
|
-
"
|
|
27982
|
+
"appcode": dbName,
|
|
27982
27983
|
"entity": "CA_PerformingLocationforOrdLocn",
|
|
27983
27984
|
"is_metadata": true,
|
|
27984
27985
|
"metadataId": metaDataId$1,
|
|
@@ -28084,7 +28085,7 @@ var ordernature_role_actions = _objectSpread2({}, ordernatureActions$1);
|
|
|
28084
28085
|
|
|
28085
28086
|
var query$8 = {
|
|
28086
28087
|
entityType: function entityType() {
|
|
28087
|
-
return "{\n \"
|
|
28088
|
+
return "{\n \"appcode\": \"".concat(dbName, "\",\n \"entity\": \"CodeableConceptMaster\",\n \"sort\": \"document(CodeableConceptMaster.coding[0]).display\",\n \"filter\": \"CodeableConceptMaster.Type=='ORGTYPE' AND CodeableConceptMaster.activestatus==true\",\n \"return_fields\": \"MERGE(CodeableConceptMaster,{coding:(FOR cod IN TO_ARRAY(CodeableConceptMaster.coding) RETURN DOCUMENT(cod))})\"\n }");
|
|
28088
28089
|
},
|
|
28089
28090
|
entitynamewithType: function entitynamewithType(_ref) {
|
|
28090
28091
|
var name = _ref.name;
|
|
@@ -28150,11 +28151,11 @@ var query$8 = {
|
|
|
28150
28151
|
},
|
|
28151
28152
|
affectedList: function affectedList(_ref4) {
|
|
28152
28153
|
var timeTableId = _ref4.timeTableId;
|
|
28153
|
-
return "{\n \"
|
|
28154
|
+
return "{\n \"appcode\": \"".concat(dbName, "\",\n \"filter\": {\n \"Resourcettid\": \"").concat(timeTableId, "\"\n },\n \"requestid\": \"912ee8b2-9f50-4b2f-92ef-8133993f82ab\"\n }");
|
|
28154
28155
|
},
|
|
28155
28156
|
applicableAppTypes_: function applicableAppTypes_() {
|
|
28156
28157
|
return {
|
|
28157
|
-
|
|
28158
|
+
appcode: dbName,
|
|
28158
28159
|
entity: "CodingMaster",
|
|
28159
28160
|
filter: "CodingMaster.Type == 'APPTYPE' && CodingMaster.status == true && CodingMaster.activestatus == true",
|
|
28160
28161
|
return_fields: "KEEP(CodingMaster,'_id','id','_key','code','display','Type','status','activestatus')",
|
|
@@ -28204,7 +28205,7 @@ var query$8 = {
|
|
|
28204
28205
|
};
|
|
28205
28206
|
}
|
|
28206
28207
|
return [_objectSpread2(_objectSpread2({
|
|
28207
|
-
|
|
28208
|
+
appcode: dbName,
|
|
28208
28209
|
entity: "ResourceTimeTable",
|
|
28209
28210
|
is_metadata: true,
|
|
28210
28211
|
metadataId: metaDataId$1,
|
|
@@ -28244,7 +28245,7 @@ var query$8 = {
|
|
|
28244
28245
|
},
|
|
28245
28246
|
editTimeTable: function editTimeTable(id, data) {
|
|
28246
28247
|
return {
|
|
28247
|
-
|
|
28248
|
+
appcode: dbName,
|
|
28248
28249
|
entity: "ResourceTimeTable",
|
|
28249
28250
|
filter: {
|
|
28250
28251
|
_id: id
|
|
@@ -28285,7 +28286,7 @@ var upsertData = function upsertData(payload) {
|
|
|
28285
28286
|
});
|
|
28286
28287
|
}
|
|
28287
28288
|
return [_objectSpread2(_objectSpread2({
|
|
28288
|
-
|
|
28289
|
+
appcode: dbName,
|
|
28289
28290
|
entity: "ResourceTimeTable",
|
|
28290
28291
|
is_metadata: true
|
|
28291
28292
|
}, filter), {}, {
|
|
@@ -28362,7 +28363,7 @@ var appointmentDurationArr = function appointmentDurationArr(lisy) {
|
|
|
28362
28363
|
};
|
|
28363
28364
|
var ruleExcutionPayload = function ruleExcutionPayload(payload) {
|
|
28364
28365
|
// return {
|
|
28365
|
-
// "
|
|
28366
|
+
// "appcode": dbName,
|
|
28366
28367
|
// "scheduleStartDate": payload?.data?.scheduleStartDate,
|
|
28367
28368
|
// "scheduleEndDate": payload?.data?.scheduleEndDate,
|
|
28368
28369
|
// "OrgId": payload?.data?.OrgId,
|
|
@@ -28588,7 +28589,7 @@ var actionsList = [{
|
|
|
28588
28589
|
var editId = _ref.editId,
|
|
28589
28590
|
status = _ref.status;
|
|
28590
28591
|
var body = [{
|
|
28591
|
-
|
|
28592
|
+
appcode: dbName,
|
|
28592
28593
|
entity: "ResourceTimeTable",
|
|
28593
28594
|
filter: "ResourceTimeTable._id==\"".concat(editId, "\""),
|
|
28594
28595
|
metadataId: metaDataId$1,
|
|
@@ -29156,18 +29157,18 @@ var query$7 = {
|
|
|
29156
29157
|
all_practitioner: "{\n \"db_name\": \"".concat(_dbName, "\",\n \"entity\": \"Practitioner\",\n \"filter\": \"Practitioner.status==true\",\n \"return_fields\": \"MERGE(KEEP(Practitioner,'_id','id','name','_key','practitioner_role'),{name:(for hu in HumanNameMaster filter hu._id in Practitioner.name return merge(hu,{use:(for us in CodeableConceptMaster filter us._id == hu.use return merge(us,{coding:document(us.coding)}))},{prefix:(for pre in CodeableConceptMaster filter pre._id == hu.prefix return merge(pre,{coding:document(pre.coding)}))},{suffix:(for suf in CodeableConceptMaster filter suf._id == hu.suffix return merge(suf,{coding:document(suf.coding)}))}))},{practitioner_role:(for prac in PractitionerRole filter prac._id in Practitioner.practitioner_role return merge (keep(prac,'role'),{role:(for rol in CodeableConceptMaster filter rol._id == prac.role return merge(rol,{coding:document(rol.coding)}))}))})\"\n}"),
|
|
29157
29158
|
practitoner_slot: function practitoner_slot(startDate, endDate, practitonerId) {
|
|
29158
29159
|
return {
|
|
29159
|
-
|
|
29160
|
+
appcode: _dbName,
|
|
29160
29161
|
filter: {
|
|
29161
29162
|
start: parseInt("".concat(startDate)),
|
|
29162
29163
|
end: parseInt("".concat(endDate)),
|
|
29163
29164
|
practitionerID: parseInt("".concat(practitonerId))
|
|
29164
29165
|
},
|
|
29165
|
-
|
|
29166
|
+
requestid: query_ids["scheduleManagementApiSlice/practitionerSlots"]
|
|
29166
29167
|
};
|
|
29167
29168
|
},
|
|
29168
29169
|
release_schedule: function release_schedule(startDate, endDate, practitonerId, reason) {
|
|
29169
29170
|
return {
|
|
29170
|
-
|
|
29171
|
+
appcode: _dbName,
|
|
29171
29172
|
practitionerId: parseInt("".concat(practitonerId)),
|
|
29172
29173
|
start: parseInt("".concat(startDate)),
|
|
29173
29174
|
end: parseInt("".concat(endDate)),
|
|
@@ -29176,7 +29177,7 @@ var query$7 = {
|
|
|
29176
29177
|
},
|
|
29177
29178
|
block_schedule: function block_schedule(startDate, endDate, practitonerId, reason) {
|
|
29178
29179
|
return {
|
|
29179
|
-
|
|
29180
|
+
appcode: _dbName,
|
|
29180
29181
|
practitionerId: parseInt("".concat(practitonerId)),
|
|
29181
29182
|
start: parseInt("".concat(startDate)),
|
|
29182
29183
|
end: parseInt("".concat(endDate)),
|
|
@@ -29185,7 +29186,7 @@ var query$7 = {
|
|
|
29185
29186
|
},
|
|
29186
29187
|
block_partial: function block_partial(startDate, endDate, starttime, endtime, practitonerId, days, reason) {
|
|
29187
29188
|
return {
|
|
29188
|
-
|
|
29189
|
+
appcode: _dbName,
|
|
29189
29190
|
practitionerId: parseInt("".concat(practitonerId)),
|
|
29190
29191
|
startDate: "".concat(startDate),
|
|
29191
29192
|
endDate: "".concat(endDate),
|
|
@@ -29649,8 +29650,8 @@ var availability_management_actions = _objectSpread2(_objectSpread2(_objectSprea
|
|
|
29649
29650
|
var queries$d = {
|
|
29650
29651
|
getTreeStuct: function getTreeStuct(type) {
|
|
29651
29652
|
return {
|
|
29652
|
-
|
|
29653
|
-
|
|
29653
|
+
appcode: dbName,
|
|
29654
|
+
requestid: "1016e960-4f36-45f1-8e3e-c24e94de4e5b",
|
|
29654
29655
|
filter: {
|
|
29655
29656
|
ParentOrgID: [],
|
|
29656
29657
|
activestatus: true,
|
|
@@ -29660,8 +29661,8 @@ var queries$d = {
|
|
|
29660
29661
|
},
|
|
29661
29662
|
entityType: function entityType() {
|
|
29662
29663
|
return {
|
|
29663
|
-
|
|
29664
|
-
|
|
29664
|
+
appcode: dbName,
|
|
29665
|
+
requestid: "506a5dd7-e07d-4218-af28-10bd2e4c0016",
|
|
29665
29666
|
filter: {
|
|
29666
29667
|
type: "ORGTYPE",
|
|
29667
29668
|
activestatus: true
|
|
@@ -29670,8 +29671,8 @@ var queries$d = {
|
|
|
29670
29671
|
},
|
|
29671
29672
|
getParentEntityFull: function getParentEntityFull() {
|
|
29672
29673
|
return {
|
|
29673
|
-
|
|
29674
|
-
|
|
29674
|
+
appcode: dbName,
|
|
29675
|
+
requestid: "9f065c19-10c9-41e1-b925-53458964974f",
|
|
29675
29676
|
filter: {
|
|
29676
29677
|
id: '',
|
|
29677
29678
|
activestatus: true,
|
|
@@ -29682,7 +29683,7 @@ var queries$d = {
|
|
|
29682
29683
|
},
|
|
29683
29684
|
getParentEntity: function getParentEntity(type) {
|
|
29684
29685
|
// return {
|
|
29685
|
-
//
|
|
29686
|
+
// appcode: dbName,
|
|
29686
29687
|
// entity: "Organization",
|
|
29687
29688
|
// sort: "Organization.name",
|
|
29688
29689
|
// filter: `Organization.activestatus==true AND Organization.active==true && Organization.isExternal==${type.isexternal} && Organization.OrgType === '${type.entityType}'`,
|
|
@@ -29708,8 +29709,8 @@ var queries$d = {
|
|
|
29708
29709
|
},
|
|
29709
29710
|
orgUseIdenifi: function orgUseIdenifi() {
|
|
29710
29711
|
return {
|
|
29711
|
-
|
|
29712
|
-
|
|
29712
|
+
appcode: dbName,
|
|
29713
|
+
requestid: "506a5dd7-e07d-4218-af28-10bd2e4c0016",
|
|
29713
29714
|
filter: {
|
|
29714
29715
|
type: "USE",
|
|
29715
29716
|
activestatus: true
|
|
@@ -29718,8 +29719,8 @@ var queries$d = {
|
|
|
29718
29719
|
},
|
|
29719
29720
|
orgIdTypeIdenifi: function orgIdTypeIdenifi() {
|
|
29720
29721
|
return {
|
|
29721
|
-
|
|
29722
|
-
|
|
29722
|
+
appcode: dbName,
|
|
29723
|
+
requestid: "506a5dd7-e07d-4218-af28-10bd2e4c0016",
|
|
29723
29724
|
filter: {
|
|
29724
29725
|
type: "ORGIDENTIFICATIONTYPE",
|
|
29725
29726
|
activestatus: true
|
|
@@ -29728,8 +29729,8 @@ var queries$d = {
|
|
|
29728
29729
|
},
|
|
29729
29730
|
aliastype: function aliastype() {
|
|
29730
29731
|
return {
|
|
29731
|
-
|
|
29732
|
-
|
|
29732
|
+
appcode: dbName,
|
|
29733
|
+
requestid: "506a5dd7-e07d-4218-af28-10bd2e4c0016",
|
|
29733
29734
|
filter: {
|
|
29734
29735
|
type: "ACCOUNTENTITYTYPE",
|
|
29735
29736
|
activestatus: true
|
|
@@ -29738,8 +29739,8 @@ var queries$d = {
|
|
|
29738
29739
|
},
|
|
29739
29740
|
getTreeDetails: function getTreeDetails(_key) {
|
|
29740
29741
|
return {
|
|
29741
|
-
|
|
29742
|
-
|
|
29742
|
+
appcode: dbName,
|
|
29743
|
+
requestid: "05588edb-1b7b-48a1-ab85-d2f8281c4c96",
|
|
29743
29744
|
filter: {
|
|
29744
29745
|
key: "".concat(_key)
|
|
29745
29746
|
}
|
|
@@ -29748,7 +29749,7 @@ var queries$d = {
|
|
|
29748
29749
|
//GET PARENT ORG NAME BY ID
|
|
29749
29750
|
// getParentOrgNameById: (_key) => {
|
|
29750
29751
|
// return {
|
|
29751
|
-
//
|
|
29752
|
+
// appcode: dbName,
|
|
29752
29753
|
// entity: "Organization",
|
|
29753
29754
|
// filter: `Organization.id == ${_key}`,
|
|
29754
29755
|
// return_fields:
|
|
@@ -29757,8 +29758,8 @@ var queries$d = {
|
|
|
29757
29758
|
// },
|
|
29758
29759
|
getParentOrgNameById: function getParentOrgNameById(_key) {
|
|
29759
29760
|
return {
|
|
29760
|
-
|
|
29761
|
-
|
|
29761
|
+
appcode: dbName,
|
|
29762
|
+
requestid: "9f065c19-10c9-41e1-b925-53458964974f",
|
|
29762
29763
|
filter: {
|
|
29763
29764
|
id: _key,
|
|
29764
29765
|
activestatus: true,
|
|
@@ -29770,7 +29771,7 @@ var queries$d = {
|
|
|
29770
29771
|
//UPSERT STATUS
|
|
29771
29772
|
upsertSatus: function upsertSatus(key, status) {
|
|
29772
29773
|
return [{
|
|
29773
|
-
|
|
29774
|
+
appcode: dbName,
|
|
29774
29775
|
entity: "Organization",
|
|
29775
29776
|
is_metadata: true,
|
|
29776
29777
|
metadata_dbname: metaDatadbName$1,
|
|
@@ -30226,7 +30227,7 @@ var generateJson$8 = {
|
|
|
30226
30227
|
id = {};
|
|
30227
30228
|
}
|
|
30228
30229
|
return [_objectSpread2(_objectSpread2({
|
|
30229
|
-
|
|
30230
|
+
appcode: dbName,
|
|
30230
30231
|
entity: "Organization",
|
|
30231
30232
|
is_metadata: true,
|
|
30232
30233
|
metadata_dbname: metaDatadbName$1,
|
|
@@ -30578,14 +30579,14 @@ var ORGANIZATION_ENTITY_TYPE = createAsyncThunk("organizationSlice/organizationE
|
|
|
30578
30579
|
_ref4 = _args2.length > 1 ? _args2[1] : undefined, rejectWithValue = _ref4.rejectWithValue;
|
|
30579
30580
|
_context2.p = 1;
|
|
30580
30581
|
body = {
|
|
30581
|
-
"
|
|
30582
|
+
"appcode": dbName,
|
|
30582
30583
|
"filter": {
|
|
30583
30584
|
"type": ["ORGTYPE"],
|
|
30584
30585
|
"tenantid": "",
|
|
30585
30586
|
"facilityid": "",
|
|
30586
30587
|
"lang": ""
|
|
30587
30588
|
},
|
|
30588
|
-
"
|
|
30589
|
+
"requestid": "5c46abcb-a1d6-4c2f-ae4f-93ae551a0c6e"
|
|
30589
30590
|
};
|
|
30590
30591
|
_context2.n = 2;
|
|
30591
30592
|
return fetchData({
|
|
@@ -30630,12 +30631,12 @@ var ORGANIZATION_GET_PARENT_ENTITY = createAsyncThunk("organizationSlice/orgParE
|
|
|
30630
30631
|
_ref6 = _args3.length > 1 ? _args3[1] : undefined, rejectWithValue = _ref6.rejectWithValue;
|
|
30631
30632
|
_context3.p = 1;
|
|
30632
30633
|
body = {
|
|
30633
|
-
"
|
|
30634
|
+
"appcode": dbName,
|
|
30634
30635
|
"filter": {
|
|
30635
30636
|
"entityparentcode": payload.entityType,
|
|
30636
30637
|
"isexternal": payload.isexternal
|
|
30637
30638
|
},
|
|
30638
|
-
"
|
|
30639
|
+
"requestid": "cb3c355a-e383-4fb5-ad82-6ca3f3473524"
|
|
30639
30640
|
};
|
|
30640
30641
|
_context3.n = 2;
|
|
30641
30642
|
return fetchData({
|
|
@@ -30676,11 +30677,11 @@ var ORGANIZATION_GET_LEVEL_CARE = createAsyncThunk("organizationSlice/orgLevelCa
|
|
|
30676
30677
|
_ref8 = _args4.length > 1 ? _args4[1] : undefined, rejectWithValue = _ref8.rejectWithValue;
|
|
30677
30678
|
_context4.p = 1;
|
|
30678
30679
|
body = {
|
|
30679
|
-
"
|
|
30680
|
+
"appcode": dbName,
|
|
30680
30681
|
"filter": {
|
|
30681
30682
|
"tenantid": ""
|
|
30682
30683
|
},
|
|
30683
|
-
"
|
|
30684
|
+
"requestid": "6b8e483c-69e3-47a2-a0e1-8eb4ecb550df"
|
|
30684
30685
|
};
|
|
30685
30686
|
_context4.n = 2;
|
|
30686
30687
|
return fetchData({
|
|
@@ -30722,14 +30723,14 @@ var ORGANIZATION_GET_USE_IDENTIFICATION = createAsyncThunk("organizationSlice/or
|
|
|
30722
30723
|
_ref0 = _args5.length > 1 ? _args5[1] : undefined, rejectWithValue = _ref0.rejectWithValue;
|
|
30723
30724
|
_context5.p = 1;
|
|
30724
30725
|
body = {
|
|
30725
|
-
"
|
|
30726
|
+
"appcode": dbName,
|
|
30726
30727
|
"filter": {
|
|
30727
30728
|
"type": ["USE"],
|
|
30728
30729
|
"tenantid": "",
|
|
30729
30730
|
"facilityid": "",
|
|
30730
30731
|
"lang": ""
|
|
30731
30732
|
},
|
|
30732
|
-
"
|
|
30733
|
+
"requestid": "5c46abcb-a1d6-4c2f-ae4f-93ae551a0c6e"
|
|
30733
30734
|
};
|
|
30734
30735
|
_context5.n = 2;
|
|
30735
30736
|
return fetchData({
|
|
@@ -30773,14 +30774,14 @@ var ORGANIZATION_GET_IDTYPE_IDENTIF = createAsyncThunk("organizationSlice/orgIdT
|
|
|
30773
30774
|
_ref10 = _args6.length > 1 ? _args6[1] : undefined, rejectWithValue = _ref10.rejectWithValue;
|
|
30774
30775
|
_context6.p = 1;
|
|
30775
30776
|
body = {
|
|
30776
|
-
"
|
|
30777
|
+
"appcode": dbName,
|
|
30777
30778
|
"filter": {
|
|
30778
30779
|
"type": ["ORGIDENTIFICATIONTYPE"],
|
|
30779
30780
|
"tenantid": "",
|
|
30780
30781
|
"facilityid": "",
|
|
30781
30782
|
"lang": ""
|
|
30782
30783
|
},
|
|
30783
|
-
"
|
|
30784
|
+
"requestid": "5c46abcb-a1d6-4c2f-ae4f-93ae551a0c6e"
|
|
30784
30785
|
};
|
|
30785
30786
|
_context6.n = 2;
|
|
30786
30787
|
return fetchData({
|
|
@@ -30824,14 +30825,14 @@ var ORGANIZATION_GET_ALIAS_TYPE = createAsyncThunk("organizationSlice/aliastype"
|
|
|
30824
30825
|
_ref12 = _args7.length > 1 ? _args7[1] : undefined, rejectWithValue = _ref12.rejectWithValue;
|
|
30825
30826
|
_context7.p = 1;
|
|
30826
30827
|
body = {
|
|
30827
|
-
"
|
|
30828
|
+
"appcode": dbName,
|
|
30828
30829
|
"filter": {
|
|
30829
30830
|
"type": ["ACCOUNTENTITYTYPE"],
|
|
30830
30831
|
"tenantid": "",
|
|
30831
30832
|
"facilityid": "",
|
|
30832
30833
|
"lang": ""
|
|
30833
30834
|
},
|
|
30834
|
-
"
|
|
30835
|
+
"requestid": "5c46abcb-a1d6-4c2f-ae4f-93ae551a0c6e"
|
|
30835
30836
|
};
|
|
30836
30837
|
_context7.n = 2;
|
|
30837
30838
|
return fetchData({
|
|
@@ -30966,14 +30967,14 @@ var ORGANIZATION_GET_ADD_TYPE = createAsyncThunk("organizationSlice/orgAddType",
|
|
|
30966
30967
|
_ref18 = _args0.length > 1 ? _args0[1] : undefined, rejectWithValue = _ref18.rejectWithValue;
|
|
30967
30968
|
_context0.p = 1;
|
|
30968
30969
|
body = {
|
|
30969
|
-
"
|
|
30970
|
+
"appcode": dbName,
|
|
30970
30971
|
"filter": {
|
|
30971
30972
|
"type": ["ADDRESSTYPE"],
|
|
30972
30973
|
"tenantid": "",
|
|
30973
30974
|
"facilityid": "",
|
|
30974
30975
|
"lang": ""
|
|
30975
30976
|
},
|
|
30976
|
-
"
|
|
30977
|
+
"requestid": "5c46abcb-a1d6-4c2f-ae4f-93ae551a0c6e"
|
|
30977
30978
|
};
|
|
30978
30979
|
_context0.n = 2;
|
|
30979
30980
|
return fetchData({
|
|
@@ -31017,14 +31018,14 @@ var ORGANIZATION_GET_ADD_USE = createAsyncThunk("organizationSlice/orgAddUSE", /
|
|
|
31017
31018
|
_ref20 = _args1.length > 1 ? _args1[1] : undefined, rejectWithValue = _ref20.rejectWithValue;
|
|
31018
31019
|
_context1.p = 1;
|
|
31019
31020
|
body = {
|
|
31020
|
-
"
|
|
31021
|
+
"appcode": dbName,
|
|
31021
31022
|
"filter": {
|
|
31022
31023
|
"type": ["ADDRESSUSE"],
|
|
31023
31024
|
"tenantid": "",
|
|
31024
31025
|
"facilityid": "",
|
|
31025
31026
|
"lang": ""
|
|
31026
31027
|
},
|
|
31027
|
-
"
|
|
31028
|
+
"requestid": "5c46abcb-a1d6-4c2f-ae4f-93ae551a0c6e"
|
|
31028
31029
|
};
|
|
31029
31030
|
_context1.n = 2;
|
|
31030
31031
|
return fetchData({
|
|
@@ -31067,13 +31068,13 @@ var ORGANIZATION_GET_ADD_City = createAsyncThunk("organizationSlice/orgAddCity",
|
|
|
31067
31068
|
_ref22 = _args10.length > 1 ? _args10[1] : undefined, rejectWithValue = _ref22.rejectWithValue;
|
|
31068
31069
|
_context10.p = 1;
|
|
31069
31070
|
body = {
|
|
31070
|
-
"
|
|
31071
|
+
"appcode": dbName,
|
|
31071
31072
|
"filter": {
|
|
31072
31073
|
"tenantid": "",
|
|
31073
31074
|
"facilityid": "",
|
|
31074
31075
|
"lang": ""
|
|
31075
31076
|
},
|
|
31076
|
-
"
|
|
31077
|
+
"requestid": "af7bc0f4-8ae8-47b2-b9e4-cc6559c76375"
|
|
31077
31078
|
};
|
|
31078
31079
|
_context10.n = 2;
|
|
31079
31080
|
return fetchData({
|
|
@@ -31118,14 +31119,14 @@ var ORGANIZATION_GET_ADD_DISTRICT = createAsyncThunk("organizationSlice/orgAddDI
|
|
|
31118
31119
|
_ref24 = _args11.length > 1 ? _args11[1] : undefined, rejectWithValue = _ref24.rejectWithValue;
|
|
31119
31120
|
_context11.p = 1;
|
|
31120
31121
|
body = {
|
|
31121
|
-
"
|
|
31122
|
+
"appcode": dbName,
|
|
31122
31123
|
"filter": {
|
|
31123
31124
|
"_id": payload.val,
|
|
31124
31125
|
"tenantid": "",
|
|
31125
31126
|
"facilityid": "",
|
|
31126
31127
|
"lang": ""
|
|
31127
31128
|
},
|
|
31128
|
-
"
|
|
31129
|
+
"requestid": "7cb0f69c-ddd1-482f-8b60-6cf05d7a60c6"
|
|
31129
31130
|
};
|
|
31130
31131
|
_context11.n = 2;
|
|
31131
31132
|
return fetchData({
|
|
@@ -31169,14 +31170,14 @@ var ORGANIZATION_GET_AddSTATE = createAsyncThunk("organizationSlice/orgAddSTATE"
|
|
|
31169
31170
|
_ref26 = _args12.length > 1 ? _args12[1] : undefined, rejectWithValue = _ref26.rejectWithValue;
|
|
31170
31171
|
_context12.p = 1;
|
|
31171
31172
|
body = {
|
|
31172
|
-
"
|
|
31173
|
+
"appcode": dbName,
|
|
31173
31174
|
"filter": {
|
|
31174
31175
|
"_id": payload.val,
|
|
31175
31176
|
"tenantid": "",
|
|
31176
31177
|
"facilityid": "",
|
|
31177
31178
|
"lang": ""
|
|
31178
31179
|
},
|
|
31179
|
-
"
|
|
31180
|
+
"requestid": "1242cdfa-cb20-47ec-83a8-54d49900cecb"
|
|
31180
31181
|
};
|
|
31181
31182
|
_context12.n = 2;
|
|
31182
31183
|
return fetchData({
|
|
@@ -31220,14 +31221,14 @@ var ORGANIZATION_GET_COUNTRY = createAsyncThunk("organizationSlice/orgAddCOUNTRY
|
|
|
31220
31221
|
_ref28 = _args13.length > 1 ? _args13[1] : undefined, rejectWithValue = _ref28.rejectWithValue;
|
|
31221
31222
|
_context13.p = 1;
|
|
31222
31223
|
body = {
|
|
31223
|
-
"
|
|
31224
|
+
"appcode": dbName,
|
|
31224
31225
|
"filter": {
|
|
31225
31226
|
"_id": payload.val,
|
|
31226
31227
|
"tenantid": "",
|
|
31227
31228
|
"facilityid": "",
|
|
31228
31229
|
"lang": ""
|
|
31229
31230
|
},
|
|
31230
|
-
"
|
|
31231
|
+
"requestid": "56b0cfa3-c2c0-4267-88fe-2795f72f1259"
|
|
31231
31232
|
};
|
|
31232
31233
|
_context13.n = 2;
|
|
31233
31234
|
return fetchData({
|
|
@@ -31271,14 +31272,14 @@ var ORGANIZATION_GET_PINCODE = createAsyncThunk("organizationSlice/orgAddPINCODE
|
|
|
31271
31272
|
_ref30 = _args14.length > 1 ? _args14[1] : undefined, rejectWithValue = _ref30.rejectWithValue;
|
|
31272
31273
|
_context14.p = 1;
|
|
31273
31274
|
body = {
|
|
31274
|
-
"
|
|
31275
|
+
"appcode": dbName,
|
|
31275
31276
|
"filter": {
|
|
31276
31277
|
"_id": payload.val,
|
|
31277
31278
|
"tenantid": "",
|
|
31278
31279
|
"facilityid": "",
|
|
31279
31280
|
"lang": ""
|
|
31280
31281
|
},
|
|
31281
|
-
"
|
|
31282
|
+
"requestid": "5afb6789-1bce-4302-9387-91dcba3a8d1b"
|
|
31282
31283
|
};
|
|
31283
31284
|
_context14.n = 2;
|
|
31284
31285
|
return fetchData({
|
|
@@ -31321,14 +31322,14 @@ var ORGANIZATION_GET_CONTACTDETAILMODE = createAsyncThunk("organizationSlice/org
|
|
|
31321
31322
|
_ref32 = _args15.length > 1 ? _args15[1] : undefined, rejectWithValue = _ref32.rejectWithValue;
|
|
31322
31323
|
_context15.p = 1;
|
|
31323
31324
|
body = {
|
|
31324
|
-
"
|
|
31325
|
+
"appcode": dbName,
|
|
31325
31326
|
"filter": {
|
|
31326
31327
|
"type": ["CONTACTSYSTEM"],
|
|
31327
31328
|
"tenantid": "",
|
|
31328
31329
|
"facilityid": "",
|
|
31329
31330
|
"lang": ""
|
|
31330
31331
|
},
|
|
31331
|
-
"
|
|
31332
|
+
"requestid": "5c46abcb-a1d6-4c2f-ae4f-93ae551a0c6e"
|
|
31332
31333
|
};
|
|
31333
31334
|
_context15.n = 2;
|
|
31334
31335
|
return fetchData({
|
|
@@ -31371,12 +31372,12 @@ var ORGANIZATION_GET_CONNTACTDETAILCODE = createAsyncThunk("organizationSlice/or
|
|
|
31371
31372
|
_ref34 = _args16.length > 1 ? _args16[1] : undefined, rejectWithValue = _ref34.rejectWithValue;
|
|
31372
31373
|
_context16.p = 1;
|
|
31373
31374
|
body = {
|
|
31374
|
-
"
|
|
31375
|
+
"appcode": dbName,
|
|
31375
31376
|
"filter": {
|
|
31376
31377
|
"tenantid": "",
|
|
31377
31378
|
"facilityid": ""
|
|
31378
31379
|
},
|
|
31379
|
-
"
|
|
31380
|
+
"requestid": "0d3eb54a-1b21-4e05-8db0-ce5bd6f7841e"
|
|
31380
31381
|
};
|
|
31381
31382
|
_context16.n = 2;
|
|
31382
31383
|
return fetchData({
|
|
@@ -31418,14 +31419,14 @@ var ORGANIZATION_GET_CONTACTDETAILUSE = createAsyncThunk("organizationSlice/orgC
|
|
|
31418
31419
|
_ref36 = _args17.length > 1 ? _args17[1] : undefined, rejectWithValue = _ref36.rejectWithValue;
|
|
31419
31420
|
_context17.p = 1;
|
|
31420
31421
|
body = {
|
|
31421
|
-
"
|
|
31422
|
+
"appcode": dbName,
|
|
31422
31423
|
"filter": {
|
|
31423
31424
|
"type": ["USE"],
|
|
31424
31425
|
"tenantid": "",
|
|
31425
31426
|
"facilityid": "",
|
|
31426
31427
|
"lang": ""
|
|
31427
31428
|
},
|
|
31428
|
-
"
|
|
31429
|
+
"requestid": "5c46abcb-a1d6-4c2f-ae4f-93ae551a0c6e"
|
|
31429
31430
|
};
|
|
31430
31431
|
_context17.n = 2;
|
|
31431
31432
|
return fetchData({
|
|
@@ -31468,8 +31469,8 @@ var ORGANIZATION_GET_CONTACTTENANT = createAsyncThunk("organizationSlice/orgSett
|
|
|
31468
31469
|
_ref38 = _args18.length > 1 ? _args18[1] : undefined, rejectWithValue = _ref38.rejectWithValue;
|
|
31469
31470
|
_context18.p = 1;
|
|
31470
31471
|
body = {
|
|
31471
|
-
"
|
|
31472
|
-
"
|
|
31472
|
+
"appcode": dbName,
|
|
31473
|
+
"requestid": "cb346b53-7018-4007-9a28-50c9c59e2741"
|
|
31473
31474
|
};
|
|
31474
31475
|
_context18.n = 2;
|
|
31475
31476
|
return fetchData({
|
|
@@ -31513,8 +31514,8 @@ var ORGANIZATION_GET_CURRENCY = createAsyncThunk("organizationSlice/orgSettingsC
|
|
|
31513
31514
|
_ref40 = _args19.length > 1 ? _args19[1] : undefined, rejectWithValue = _ref40.rejectWithValue;
|
|
31514
31515
|
_context19.p = 1;
|
|
31515
31516
|
body = {
|
|
31516
|
-
"
|
|
31517
|
-
"
|
|
31517
|
+
"appcode": dbName,
|
|
31518
|
+
"requestid": "0b3567ce-f714-40da-bdcf-5ae626ab6a41"
|
|
31518
31519
|
};
|
|
31519
31520
|
_context19.n = 2;
|
|
31520
31521
|
return fetchData({
|
|
@@ -31558,8 +31559,8 @@ var ORGANIZATION_GET_TIMEZONE = createAsyncThunk("organizationSlice/orgSettingsT
|
|
|
31558
31559
|
_ref42 = _args20.length > 1 ? _args20[1] : undefined, rejectWithValue = _ref42.rejectWithValue;
|
|
31559
31560
|
_context20.p = 1;
|
|
31560
31561
|
body = {
|
|
31561
|
-
"
|
|
31562
|
-
"
|
|
31562
|
+
"appcode": dbName,
|
|
31563
|
+
"requestid": "f8af620d-1ceb-49c0-a418-32166421d2ca"
|
|
31563
31564
|
};
|
|
31564
31565
|
_context20.n = 2;
|
|
31565
31566
|
return fetchData({
|
|
@@ -31604,14 +31605,14 @@ var ORGANIZATION_GET_CONTACTDETAILPRIORITY = createAsyncThunk("organizationSlice
|
|
|
31604
31605
|
_ref44 = _args21.length > 1 ? _args21[1] : undefined, rejectWithValue = _ref44.rejectWithValue;
|
|
31605
31606
|
_context21.p = 1;
|
|
31606
31607
|
body = {
|
|
31607
|
-
"
|
|
31608
|
+
"appcode": dbName,
|
|
31608
31609
|
"filter": {
|
|
31609
31610
|
"type": ["PRIORITY"],
|
|
31610
31611
|
"tenantid": "",
|
|
31611
31612
|
"facilityid": "",
|
|
31612
31613
|
"lang": ""
|
|
31613
31614
|
},
|
|
31614
|
-
"
|
|
31615
|
+
"requestid": "5c46abcb-a1d6-4c2f-ae4f-93ae551a0c6e"
|
|
31615
31616
|
};
|
|
31616
31617
|
_context21.n = 2;
|
|
31617
31618
|
return fetchData({
|
|
@@ -31655,14 +31656,14 @@ var ORGANIZATION_GET_CONTACT_PREFIX = createAsyncThunk("organizationSlice/orgNam
|
|
|
31655
31656
|
_ref46 = _args22.length > 1 ? _args22[1] : undefined, rejectWithValue = _ref46.rejectWithValue;
|
|
31656
31657
|
_context22.p = 1;
|
|
31657
31658
|
body = {
|
|
31658
|
-
"
|
|
31659
|
+
"appcode": dbName,
|
|
31659
31660
|
"filter": {
|
|
31660
31661
|
"type": ["NAMEPREFIX"],
|
|
31661
31662
|
"tenantid": "",
|
|
31662
31663
|
"facilityid": "",
|
|
31663
31664
|
"lang": ""
|
|
31664
31665
|
},
|
|
31665
|
-
"
|
|
31666
|
+
"requestid": "5c46abcb-a1d6-4c2f-ae4f-93ae551a0c6e"
|
|
31666
31667
|
};
|
|
31667
31668
|
_context22.n = 2;
|
|
31668
31669
|
return fetchData({
|
|
@@ -31706,14 +31707,14 @@ var ORGANIZATION_GET_CONTACT_SUFFIX = createAsyncThunk("organizationSlice/orgNam
|
|
|
31706
31707
|
_ref48 = _args23.length > 1 ? _args23[1] : undefined, rejectWithValue = _ref48.rejectWithValue;
|
|
31707
31708
|
_context23.p = 1;
|
|
31708
31709
|
body = {
|
|
31709
|
-
"
|
|
31710
|
+
"appcode": dbName,
|
|
31710
31711
|
"filter": {
|
|
31711
31712
|
"type": ["NAMESUFFIX"],
|
|
31712
31713
|
"tenantid": "",
|
|
31713
31714
|
"facilityid": "",
|
|
31714
31715
|
"lang": ""
|
|
31715
31716
|
},
|
|
31716
|
-
"
|
|
31717
|
+
"requestid": "5c46abcb-a1d6-4c2f-ae4f-93ae551a0c6e"
|
|
31717
31718
|
};
|
|
31718
31719
|
_context23.n = 2;
|
|
31719
31720
|
return fetchData({
|
|
@@ -31757,14 +31758,14 @@ var ORGANIZATION_GET_CONTACT_DESI = createAsyncThunk("organizationSlice/position
|
|
|
31757
31758
|
_ref50 = _args24.length > 1 ? _args24[1] : undefined, rejectWithValue = _ref50.rejectWithValue;
|
|
31758
31759
|
_context24.p = 1;
|
|
31759
31760
|
body = {
|
|
31760
|
-
"
|
|
31761
|
+
"appcode": dbName,
|
|
31761
31762
|
"filter": {
|
|
31762
31763
|
"type": ["DESIGNATION"],
|
|
31763
31764
|
"tenantid": "",
|
|
31764
31765
|
"facilityid": "",
|
|
31765
31766
|
"lang": ""
|
|
31766
31767
|
},
|
|
31767
|
-
"
|
|
31768
|
+
"requestid": "5c46abcb-a1d6-4c2f-ae4f-93ae551a0c6e"
|
|
31768
31769
|
};
|
|
31769
31770
|
_context24.n = 2;
|
|
31770
31771
|
return fetchData({
|
|
@@ -31900,8 +31901,8 @@ var ORGANIZATION_GET_SPECIALTY_DROP = createAsyncThunk("organizationSlice/specia
|
|
|
31900
31901
|
_ref56 = _args27.length > 1 ? _args27[1] : undefined, rejectWithValue = _ref56.rejectWithValue;
|
|
31901
31902
|
_context27.p = 1;
|
|
31902
31903
|
body = {
|
|
31903
|
-
"
|
|
31904
|
-
"
|
|
31904
|
+
"appcode": dbName,
|
|
31905
|
+
"requestid": "1d4c8251-2f08-4ee1-846e-3c3319b3a061"
|
|
31905
31906
|
};
|
|
31906
31907
|
_context27.n = 2;
|
|
31907
31908
|
return fetchData({
|
|
@@ -31945,14 +31946,14 @@ var ORGANIZATION_GET_CONTACTDETAILROUNDOFFMODE = createAsyncThunk("organizationS
|
|
|
31945
31946
|
_ref58 = _args28.length > 1 ? _args28[1] : undefined, rejectWithValue = _ref58.rejectWithValue;
|
|
31946
31947
|
_context28.p = 1;
|
|
31947
31948
|
body = {
|
|
31948
|
-
|
|
31949
|
+
appcode: dbName,
|
|
31949
31950
|
filter: {
|
|
31950
31951
|
type: ["ROUNDOFFMODE"],
|
|
31951
31952
|
tenantid: "",
|
|
31952
31953
|
facilityid: "",
|
|
31953
31954
|
lang: ""
|
|
31954
31955
|
},
|
|
31955
|
-
|
|
31956
|
+
requestid: "b25c3e12-8c9e-49fe-ad90-c1e142975aa6"
|
|
31956
31957
|
};
|
|
31957
31958
|
_context28.n = 2;
|
|
31958
31959
|
return fetchData({
|
|
@@ -32272,7 +32273,7 @@ var queries$c = {
|
|
|
32272
32273
|
},
|
|
32273
32274
|
status_update_level_of_care: function status_update_level_of_care(data) {
|
|
32274
32275
|
return [{
|
|
32275
|
-
|
|
32276
|
+
appcode: dbName,
|
|
32276
32277
|
entity: "LevelOfCare",
|
|
32277
32278
|
filter: {
|
|
32278
32279
|
_key: data._key
|
|
@@ -32295,7 +32296,7 @@ var queries$c = {
|
|
|
32295
32296
|
};
|
|
32296
32297
|
}
|
|
32297
32298
|
return [_objectSpread2(_objectSpread2({
|
|
32298
|
-
|
|
32299
|
+
appcode: dbName,
|
|
32299
32300
|
entity: "LevelOfCare"
|
|
32300
32301
|
}, filter), {}, {
|
|
32301
32302
|
is_metadata: true,
|
|
@@ -32327,7 +32328,7 @@ var queries$c = {
|
|
|
32327
32328
|
//HEALTH CARE SERVICE STATUS CHANGE
|
|
32328
32329
|
healthCareServiceStatusChange: function healthCareServiceStatusChange(data) {
|
|
32329
32330
|
return [{
|
|
32330
|
-
|
|
32331
|
+
appcode: dbName,
|
|
32331
32332
|
entity: "HealthcareService",
|
|
32332
32333
|
filter: {
|
|
32333
32334
|
_key: data._key
|
|
@@ -32397,7 +32398,7 @@ var generateJson$7 = function generateJson(data) {
|
|
|
32397
32398
|
};
|
|
32398
32399
|
}
|
|
32399
32400
|
var arr = [_objectSpread2(_objectSpread2({
|
|
32400
|
-
"
|
|
32401
|
+
"appcode": dbName,
|
|
32401
32402
|
"entity": "HealthcareService"
|
|
32402
32403
|
}, filter), {}, {
|
|
32403
32404
|
"is_metadata": true,
|
|
@@ -32441,7 +32442,7 @@ var generateJsonSpeciality = function generateJsonSpeciality(data) {
|
|
|
32441
32442
|
};
|
|
32442
32443
|
}
|
|
32443
32444
|
var arr = [_objectSpread2(_objectSpread2({
|
|
32444
|
-
"
|
|
32445
|
+
"appcode": dbName,
|
|
32445
32446
|
"entity": "Specialty"
|
|
32446
32447
|
}, filter), {}, {
|
|
32447
32448
|
"is_metadata": true,
|
|
@@ -33717,8 +33718,8 @@ var SEARCH_PRACTIONER = createAsyncThunk("signInApiSlice/SearchPractioner", /*#_
|
|
|
33717
33718
|
_context2.p = 1;
|
|
33718
33719
|
_payload$email = payload.email, email = _payload$email === void 0 ? "" : _payload$email;
|
|
33719
33720
|
body = {
|
|
33720
|
-
|
|
33721
|
-
|
|
33721
|
+
appcode: dbName,
|
|
33722
|
+
requestid: query_ids["signInApiSlice/SearchPractioner"],
|
|
33722
33723
|
filter: {
|
|
33723
33724
|
emailId: email
|
|
33724
33725
|
}
|
|
@@ -33758,8 +33759,8 @@ var GET_PERMISSION_ROLE_DATA = createAsyncThunk("signInApiSlice/getpermissiondat
|
|
|
33758
33759
|
_context3.p = 1;
|
|
33759
33760
|
id = payload.id;
|
|
33760
33761
|
body = {
|
|
33761
|
-
|
|
33762
|
-
|
|
33762
|
+
appcode: dbName,
|
|
33763
|
+
requestid: query_ids["signInApiSlice/getpermissiondata"],
|
|
33763
33764
|
filter: {
|
|
33764
33765
|
roleId: id
|
|
33765
33766
|
}
|
|
@@ -34026,7 +34027,7 @@ var queries$b = {
|
|
|
34026
34027
|
};
|
|
34027
34028
|
}
|
|
34028
34029
|
return [_objectSpread2(_objectSpread2({
|
|
34029
|
-
"
|
|
34030
|
+
"appcode": dbName,
|
|
34030
34031
|
"entity": "PermissionRoleMapping",
|
|
34031
34032
|
"is_metadata": true,
|
|
34032
34033
|
"metadataId": metaDataId$1,
|
|
@@ -34045,7 +34046,7 @@ var queries$b = {
|
|
|
34045
34046
|
};
|
|
34046
34047
|
}
|
|
34047
34048
|
return [_objectSpread2(_objectSpread2({
|
|
34048
|
-
"
|
|
34049
|
+
"appcode": dbName,
|
|
34049
34050
|
"entity": "CodeableConceptMaster",
|
|
34050
34051
|
"is_metadata": true,
|
|
34051
34052
|
"metadataId": metaDataId$1,
|
|
@@ -34424,7 +34425,7 @@ var queries$a = {
|
|
|
34424
34425
|
"filter": "CodeableConceptMaster.Type == 'PRACTROLE' && CodeableConceptMaster.status == true"
|
|
34425
34426
|
};
|
|
34426
34427
|
return _objectSpread2(_objectSpread2({
|
|
34427
|
-
"
|
|
34428
|
+
"appcode": dbName,
|
|
34428
34429
|
"entity": "CodeableConceptMaster"
|
|
34429
34430
|
}, filter), {}, {
|
|
34430
34431
|
"return_fields": "MERGE(CodeableConceptMaster,{coding:(for cod IN TO_ARRAY(CodeableConceptMaster.coding) RETURN DOCUMENT(cod))})"
|
|
@@ -34530,7 +34531,7 @@ var queries$9 = {
|
|
|
34530
34531
|
"filter": "PermissionManagement.activestatus==true"
|
|
34531
34532
|
};
|
|
34532
34533
|
return _objectSpread2(_objectSpread2({
|
|
34533
|
-
"
|
|
34534
|
+
"appcode": dbName,
|
|
34534
34535
|
"entity": "PermissionManagement"
|
|
34535
34536
|
}, filter), {}, {
|
|
34536
34537
|
"return_fields": "{PermissionManagement}"
|
|
@@ -34561,7 +34562,7 @@ var queries$9 = {
|
|
|
34561
34562
|
};
|
|
34562
34563
|
}
|
|
34563
34564
|
return [_objectSpread2(_objectSpread2({
|
|
34564
|
-
"
|
|
34565
|
+
"appcode": dbName,
|
|
34565
34566
|
"entity": "PermissionManagement",
|
|
34566
34567
|
"is_metadata": true,
|
|
34567
34568
|
"metadataId": metaDataId$1,
|
|
@@ -34779,7 +34780,7 @@ var queries$8 = {
|
|
|
34779
34780
|
}
|
|
34780
34781
|
delete data._key;
|
|
34781
34782
|
return [_objectSpread2(_objectSpread2({
|
|
34782
|
-
"
|
|
34783
|
+
"appcode": dbName,
|
|
34783
34784
|
"entity": "Person",
|
|
34784
34785
|
"is_metadata": true,
|
|
34785
34786
|
"metadataId": metaDataId$1,
|
|
@@ -34876,7 +34877,7 @@ var queries$8 = {
|
|
|
34876
34877
|
"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:(for add in AddressMaster filter add._id in Person.address return merge(add,{use:document(add.use),Type:document(add.Type),city:document(add.city),district:document(add.district),state:document(add.state),country:document(add.country),postalCode:document(add.postalCode)}))},{identifier:(for iden in IdentifierMaster filter iden._id in Person.identifier return merge(iden,{user:document(iden.user),Type:document(iden.Type),period:document(iden.period)}))},{OrgID:document(Person.OrgID)},{orgType:document(Person.orgType)})"
|
|
34877
34878
|
};
|
|
34878
34879
|
// return {
|
|
34879
|
-
// "
|
|
34880
|
+
// "appcode": dbName,
|
|
34880
34881
|
// "entity": "Person",
|
|
34881
34882
|
// "filter": `Person.activestatus==true && Person._key=='${data._key}'`,
|
|
34882
34883
|
// "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),system:document(con.system)}))},{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)})"
|
|
@@ -34887,7 +34888,7 @@ var queries$8 = {
|
|
|
34887
34888
|
// person_read: (data) => {
|
|
34888
34889
|
// let filter = {};
|
|
34889
34890
|
// return {
|
|
34890
|
-
// "
|
|
34891
|
+
// "appcode": dbName,
|
|
34891
34892
|
// "entity": "Person",
|
|
34892
34893
|
// "filter": "Person.activestatus==true",
|
|
34893
34894
|
// "limit": {
|
|
@@ -35634,7 +35635,7 @@ var queries$7 = {
|
|
|
35634
35635
|
};
|
|
35635
35636
|
}
|
|
35636
35637
|
return [_objectSpread2(_objectSpread2({
|
|
35637
|
-
"
|
|
35638
|
+
"appcode": dbName,
|
|
35638
35639
|
"entity": "Practitioner",
|
|
35639
35640
|
"is_metadata": true,
|
|
35640
35641
|
"metadataId": metaDataId$1,
|
|
@@ -35853,7 +35854,7 @@ var queries$6 = {
|
|
|
35853
35854
|
};
|
|
35854
35855
|
}
|
|
35855
35856
|
return [_objectSpread2(_objectSpread2({
|
|
35856
|
-
|
|
35857
|
+
appcode: dbName,
|
|
35857
35858
|
entity: "EntityParametersSetup",
|
|
35858
35859
|
is_metadata: true
|
|
35859
35860
|
}, filter), {}, {
|
|
@@ -36313,7 +36314,7 @@ var generateJson$6 = function generateJson(data, _key) {
|
|
|
36313
36314
|
};
|
|
36314
36315
|
});
|
|
36315
36316
|
return [_objectSpread2(_objectSpread2({
|
|
36316
|
-
"
|
|
36317
|
+
"appcode": dbName
|
|
36317
36318
|
}, filter), {}, {
|
|
36318
36319
|
"entity": "CA_OrderCatalogPrivilegeLevel",
|
|
36319
36320
|
"is_metadata": true,
|
|
@@ -36390,7 +36391,7 @@ var UPSERT_ALERT_STATUS = createAsyncThunk("alertRestictionsMasterSlice/save_ale
|
|
|
36390
36391
|
_context2.p = 1;
|
|
36391
36392
|
list = payload.list, _key = payload._key;
|
|
36392
36393
|
queriesjson = [{
|
|
36393
|
-
"
|
|
36394
|
+
"appcode": dbName,
|
|
36394
36395
|
"entity": "CA_OrderCatalogPrivilegeLevel",
|
|
36395
36396
|
"is_metadata": true,
|
|
36396
36397
|
"metadataId": metaDataId$1,
|
|
@@ -36668,7 +36669,7 @@ var vitalsMasters = _objectSpread2(_objectSpread2(_objectSpread2({}, vitalsMeasu
|
|
|
36668
36669
|
var queries$5 = {
|
|
36669
36670
|
// fullread: (page, perPage,search) => {
|
|
36670
36671
|
// return {
|
|
36671
|
-
//
|
|
36672
|
+
// appcode: dbName,
|
|
36672
36673
|
// entity: "DrugUOM",
|
|
36673
36674
|
// filter: `(LIKE(document(DrugUOM.UOMType).display,'%${search}%',true) || LIKE(DrugUOM.UOM,'%${search}%',true) || LIKE(DrugUOM.longdesc,'%${search}%',true) || LIKE(DrugUOM.shortdesc,'%${search}%',true) ) && DrugUOM.activestatus == true`,
|
|
36674
36675
|
// limit: { offset: page, count: perPage },
|
|
@@ -36679,8 +36680,8 @@ var queries$5 = {
|
|
|
36679
36680
|
// },
|
|
36680
36681
|
fullread: function fullread(page, perPage, search) {
|
|
36681
36682
|
return {
|
|
36682
|
-
|
|
36683
|
-
|
|
36683
|
+
appcode: dbName,
|
|
36684
|
+
requestid: "f2a4a870-23f0-47af-8743-f0ed607d5129",
|
|
36684
36685
|
filter: {
|
|
36685
36686
|
search: search !== null && search !== void 0 ? search : "%%",
|
|
36686
36687
|
offset: page,
|
|
@@ -36690,7 +36691,7 @@ var queries$5 = {
|
|
|
36690
36691
|
},
|
|
36691
36692
|
// DRUG_UOM_TYPE: () => {
|
|
36692
36693
|
// return {
|
|
36693
|
-
//
|
|
36694
|
+
// appcode: dbName,
|
|
36694
36695
|
// entity: "CodeableConceptMaster",
|
|
36695
36696
|
// sort: "document(CodeableConceptMaster.coding[0]).display",
|
|
36696
36697
|
// filter:
|
|
@@ -36701,8 +36702,8 @@ var queries$5 = {
|
|
|
36701
36702
|
// },
|
|
36702
36703
|
DRUG_UOM_TYPE: function DRUG_UOM_TYPE() {
|
|
36703
36704
|
return {
|
|
36704
|
-
|
|
36705
|
-
|
|
36705
|
+
appcode: dbName,
|
|
36706
|
+
requestid: "09335a68-08b0-48b2-ad47-58ffbb5fef33",
|
|
36706
36707
|
filter: {
|
|
36707
36708
|
activestatus: true,
|
|
36708
36709
|
type: "DRUGUOMTYPE",
|
|
@@ -36713,7 +36714,7 @@ var queries$5 = {
|
|
|
36713
36714
|
// To_UOM_code: (id, type) => {
|
|
36714
36715
|
|
|
36715
36716
|
// return {
|
|
36716
|
-
//
|
|
36717
|
+
// appcode: dbName,
|
|
36717
36718
|
// entity: "DrugUOM",
|
|
36718
36719
|
// filter: `DrugUOM.activestatus == true && DrugUOM.UOMType == '${id}' && LOWER(DrugUOM.UOM) !=LOWER('${type}') && DrugUOM.status==true`,
|
|
36719
36720
|
// return_fields:
|
|
@@ -36722,7 +36723,7 @@ var queries$5 = {
|
|
|
36722
36723
|
// },
|
|
36723
36724
|
// To_UOM_Read_line: (key) => {
|
|
36724
36725
|
// return {
|
|
36725
|
-
//
|
|
36726
|
+
// appcode: dbName,
|
|
36726
36727
|
// entity: "DrugUOM",
|
|
36727
36728
|
// filter: `DrugUOM.activestatus == true && DrugUOM._key == '${key}'`,
|
|
36728
36729
|
// return_fields:
|
|
@@ -36732,8 +36733,8 @@ var queries$5 = {
|
|
|
36732
36733
|
|
|
36733
36734
|
To_UOM_code: function To_UOM_code(id, type) {
|
|
36734
36735
|
return {
|
|
36735
|
-
|
|
36736
|
-
|
|
36736
|
+
appcode: dbName,
|
|
36737
|
+
requestid: "aa5f41bc-41de-425a-b076-0c10765dc23e",
|
|
36737
36738
|
filter: {
|
|
36738
36739
|
UOMId: id,
|
|
36739
36740
|
UOMType: type
|
|
@@ -36742,8 +36743,8 @@ var queries$5 = {
|
|
|
36742
36743
|
},
|
|
36743
36744
|
To_UOM_Read_line: function To_UOM_Read_line(key) {
|
|
36744
36745
|
return {
|
|
36745
|
-
|
|
36746
|
-
|
|
36746
|
+
appcode: dbName,
|
|
36747
|
+
requestid: "3faa8e6f-9bff-4696-b03f-c35c490590ec",
|
|
36747
36748
|
filter: {
|
|
36748
36749
|
drugKey: key
|
|
36749
36750
|
}
|
|
@@ -36751,7 +36752,7 @@ var queries$5 = {
|
|
|
36751
36752
|
},
|
|
36752
36753
|
To_UOM_UPDATE_STATUS: function To_UOM_UPDATE_STATUS(status, key) {
|
|
36753
36754
|
return [{
|
|
36754
|
-
|
|
36755
|
+
appcode: dbName,
|
|
36755
36756
|
entity: "DrugUOM",
|
|
36756
36757
|
filter: {
|
|
36757
36758
|
_key: "".concat(key)
|
|
@@ -36785,7 +36786,7 @@ var generateJson$5 = {
|
|
|
36785
36786
|
};
|
|
36786
36787
|
});
|
|
36787
36788
|
return [_objectSpread2(_objectSpread2({
|
|
36788
|
-
|
|
36789
|
+
appcode: dbName,
|
|
36789
36790
|
entity: "DrugUOM",
|
|
36790
36791
|
is_metadata: true
|
|
36791
36792
|
}, filter), {}, {
|
|
@@ -37284,7 +37285,7 @@ var generateJson$4 = {
|
|
|
37284
37285
|
};
|
|
37285
37286
|
}
|
|
37286
37287
|
return [_objectSpread2(_objectSpread2({
|
|
37287
|
-
|
|
37288
|
+
appcode: dbName,
|
|
37288
37289
|
entity: "FrequencyMaster",
|
|
37289
37290
|
is_metadata: true
|
|
37290
37291
|
}, filter), {}, {
|
|
@@ -37853,7 +37854,7 @@ var query$5 = {
|
|
|
37853
37854
|
},
|
|
37854
37855
|
status_update_order_set_master: function status_update_order_set_master(data) {
|
|
37855
37856
|
return [{
|
|
37856
|
-
|
|
37857
|
+
appcode: "".concat(dbName),
|
|
37857
37858
|
entity: "CA_OrderSet",
|
|
37858
37859
|
is_metadata: true,
|
|
37859
37860
|
metadataId: metaDataId$1,
|
|
@@ -37868,7 +37869,7 @@ var query$5 = {
|
|
|
37868
37869
|
},
|
|
37869
37870
|
orderSetComponentDelete: function orderSetComponentDelete(_key) {
|
|
37870
37871
|
return {
|
|
37871
|
-
|
|
37872
|
+
appcode: "".concat(dbName),
|
|
37872
37873
|
entity: "CA_OrderSet_Components",
|
|
37873
37874
|
filter: "CA_OrderSet_Components._key== '".concat(_key, "'")
|
|
37874
37875
|
};
|
|
@@ -37943,7 +37944,7 @@ var generateJson$3 = function generateJson(data) {
|
|
|
37943
37944
|
};
|
|
37944
37945
|
}
|
|
37945
37946
|
return [_objectSpread2(_objectSpread2({
|
|
37946
|
-
|
|
37947
|
+
appcode: dbName,
|
|
37947
37948
|
entity: "CA_OrderSet",
|
|
37948
37949
|
is_metadata: true,
|
|
37949
37950
|
metadataId: metaDataId,
|
|
@@ -38929,7 +38930,7 @@ var query$4 = {
|
|
|
38929
38930
|
},
|
|
38930
38931
|
status_update_order_set_master: function status_update_order_set_master(data) {
|
|
38931
38932
|
return [{
|
|
38932
|
-
|
|
38933
|
+
appcode: "".concat(dbName),
|
|
38933
38934
|
entity: "CA_OrderSet",
|
|
38934
38935
|
is_metadata: true,
|
|
38935
38936
|
metadataId: metaDataId$1,
|
|
@@ -38944,7 +38945,7 @@ var query$4 = {
|
|
|
38944
38945
|
},
|
|
38945
38946
|
orderSetApplicabilityDelete: function orderSetApplicabilityDelete(_key) {
|
|
38946
38947
|
return {
|
|
38947
|
-
|
|
38948
|
+
appcode: "".concat(dbName),
|
|
38948
38949
|
entity: "CA_OrderSet_Applicability",
|
|
38949
38950
|
filter: "CA_OrderSet_Applicability._key== '".concat(_key, "'")
|
|
38950
38951
|
};
|
|
@@ -39041,7 +39042,7 @@ var generateJson$2 = function generateJson(data, orderSetKey) {
|
|
|
39041
39042
|
};
|
|
39042
39043
|
}
|
|
39043
39044
|
var arr = [_objectSpread2(_objectSpread2({
|
|
39044
|
-
|
|
39045
|
+
appcode: dbName,
|
|
39045
39046
|
entity: "CA_OrderSet_Applicability",
|
|
39046
39047
|
is_metadata: true,
|
|
39047
39048
|
metadataId: metaDataId$1,
|
|
@@ -39779,8 +39780,8 @@ var orderSetApplicabilitySlice$1 = orderSetApplicabilitySlice.reducer;
|
|
|
39779
39780
|
var query$3 = {
|
|
39780
39781
|
getList: function getList(page, perpage, search) {
|
|
39781
39782
|
return {
|
|
39782
|
-
|
|
39783
|
-
|
|
39783
|
+
appcode: dbName,
|
|
39784
|
+
requestid: query_ids.getAllergyList,
|
|
39784
39785
|
filter: {
|
|
39785
39786
|
search: "%".concat(search, "%"),
|
|
39786
39787
|
page: page,
|
|
@@ -39801,7 +39802,7 @@ var generateJson$1 = function generateJson(data) {
|
|
|
39801
39802
|
};
|
|
39802
39803
|
}
|
|
39803
39804
|
return [_objectSpread2(_objectSpread2({
|
|
39804
|
-
|
|
39805
|
+
appcode: "".concat(dbName),
|
|
39805
39806
|
entity: "AllergyMaster",
|
|
39806
39807
|
is_metadata: true,
|
|
39807
39808
|
metadataId: metaDataId$1,
|
|
@@ -40036,7 +40037,7 @@ var UPDATE_ALLERGEN_MASTER_STATUS = createAsyncThunk("allergenMasterApiSlice/upd
|
|
|
40036
40037
|
_context6.p = 1;
|
|
40037
40038
|
_key = payload._key, status = payload.status;
|
|
40038
40039
|
queriesjson = [{
|
|
40039
|
-
|
|
40040
|
+
appcode: dbName,
|
|
40040
40041
|
entity: "AllergyMaster",
|
|
40041
40042
|
is_metadata: true,
|
|
40042
40043
|
metadataId: metaDataId$1,
|
|
@@ -40273,7 +40274,7 @@ var flexQuery = {
|
|
|
40273
40274
|
};
|
|
40274
40275
|
}
|
|
40275
40276
|
return [_objectSpread2(_objectSpread2({
|
|
40276
|
-
|
|
40277
|
+
appcode: dbName,
|
|
40277
40278
|
entity: "CA_OrderAttribMaster",
|
|
40278
40279
|
is_metadata: true,
|
|
40279
40280
|
metadataId: metaDataId$1,
|
|
@@ -40639,7 +40640,7 @@ var flexCriteriaQuery = {
|
|
|
40639
40640
|
flexCriteriaInsert: function flexCriteriaInsert(list) {
|
|
40640
40641
|
var _list$attributeLableN, _list$attributeCompon;
|
|
40641
40642
|
return [{
|
|
40642
|
-
|
|
40643
|
+
appcode: dbName,
|
|
40643
40644
|
entity: "CA_FlexAttribApplicability",
|
|
40644
40645
|
is_metadata: true,
|
|
40645
40646
|
metadataId: metaDataId$1,
|
|
@@ -40662,7 +40663,7 @@ var flexCriteriaQuery = {
|
|
|
40662
40663
|
},
|
|
40663
40664
|
flexCriteriaStatus: function flexCriteriaStatus(status, key) {
|
|
40664
40665
|
return [{
|
|
40665
|
-
|
|
40666
|
+
appcode: dbName,
|
|
40666
40667
|
entity: "CA_FlexAttribApplicability",
|
|
40667
40668
|
filter: {
|
|
40668
40669
|
_key: key
|
|
@@ -40678,7 +40679,7 @@ var flexCriteriaQuery = {
|
|
|
40678
40679
|
flexCriteriaEdit: function flexCriteriaEdit(list) {
|
|
40679
40680
|
var _list$attributeLableN2, _list$status;
|
|
40680
40681
|
return [{
|
|
40681
|
-
|
|
40682
|
+
appcode: dbName,
|
|
40682
40683
|
entity: "CA_FlexAttribApplicability",
|
|
40683
40684
|
filter: {
|
|
40684
40685
|
_key: list === null || list === void 0 ? void 0 : list.key
|
|
@@ -41069,7 +41070,7 @@ var flexCriteriaApp = _objectSpread2({}, flexCriteriaActions);
|
|
|
41069
41070
|
var query$2 = {
|
|
41070
41071
|
diagnosisList: function diagnosisList(level, code) {
|
|
41071
41072
|
return {
|
|
41072
|
-
"
|
|
41073
|
+
"appcode": "".concat(dbName),
|
|
41073
41074
|
"entity": "Diagnosis",
|
|
41074
41075
|
"filter": "Diagnosis.levelnumber == ".concat(level, " && Diagnosis.activestatus == true"),
|
|
41075
41076
|
"return_fields": "Diagnosis",
|
|
@@ -41089,7 +41090,7 @@ var query$2 = {
|
|
|
41089
41090
|
updateListeffTo: function updateListeffTo(data) {
|
|
41090
41091
|
var _data$effTo, _data$islastlevel;
|
|
41091
41092
|
return [{
|
|
41092
|
-
"
|
|
41093
|
+
"appcode": "".concat(dbName),
|
|
41093
41094
|
"entity": "Diagnosis",
|
|
41094
41095
|
"is_metadata": true,
|
|
41095
41096
|
"filter": {
|
|
@@ -41307,11 +41308,11 @@ var consultActions = _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2
|
|
|
41307
41308
|
|
|
41308
41309
|
var query$1 = {
|
|
41309
41310
|
// pending list
|
|
41310
|
-
getList: "{\n \"
|
|
41311
|
+
getList: "{\n \"appcode\": \"".concat(_dbName, "\",\n \"requestid\": \"2b8b8013-75da-43c0-b2f8-c6f411e7e630\"\n }"),
|
|
41311
41312
|
// view pending detials
|
|
41312
41313
|
getPendingPatientList: function getPendingPatientList(data) {
|
|
41313
41314
|
// return`{
|
|
41314
|
-
// "
|
|
41315
|
+
// "appcode": "${dbName}",
|
|
41315
41316
|
// "entity": "Appointment,Patient",
|
|
41316
41317
|
// "filter": {
|
|
41317
41318
|
// "Appointment":"${data?.id} IN Appointment.practitionerID AND Appointment.start>=DATE_TIMESTAMP(DATE_NOW()/1000) AND Appointment.appstatus == 'pending'",
|
|
@@ -41324,7 +41325,7 @@ var query$1 = {
|
|
|
41324
41325
|
getPractitionerAgainstSpeciality: function getPractitionerAgainstSpeciality(data) {
|
|
41325
41326
|
// return`
|
|
41326
41327
|
// {
|
|
41327
|
-
// "
|
|
41328
|
+
// "appcode": "${dbName}",
|
|
41328
41329
|
// "entity": "Appointment,Practitioner",
|
|
41329
41330
|
// "filter": {"Appointment":"Appointment.id==${data?.appId}"
|
|
41330
41331
|
// ,"Practitioner":"Practitioner.id IN Appointment.practitionerID "
|
|
@@ -41563,8 +41564,8 @@ var queries$3 = {
|
|
|
41563
41564
|
geoMasterTypeRead: function geoMasterTypeRead() {
|
|
41564
41565
|
var filterType = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : "GEOCODE";
|
|
41565
41566
|
return {
|
|
41566
|
-
|
|
41567
|
-
|
|
41567
|
+
appcode: dbName,
|
|
41568
|
+
requestid: "b283129b-9841-419b-bdfc-de5105ebbad7",
|
|
41568
41569
|
filter: {
|
|
41569
41570
|
type: filterType,
|
|
41570
41571
|
code: "",
|
|
@@ -41576,8 +41577,8 @@ var queries$3 = {
|
|
|
41576
41577
|
geoHierarchicalRead: function geoHierarchicalRead(displayLevel) {
|
|
41577
41578
|
var parentCode = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : "";
|
|
41578
41579
|
return {
|
|
41579
|
-
|
|
41580
|
-
|
|
41580
|
+
appcode: dbName,
|
|
41581
|
+
requestid: "ad647bcf-edcc-44ac-9ca9-67c3b277b8df",
|
|
41581
41582
|
filter: {
|
|
41582
41583
|
activestatus: true,
|
|
41583
41584
|
display: displayLevel.toUpperCase(),
|
|
@@ -41587,8 +41588,8 @@ var queries$3 = {
|
|
|
41587
41588
|
},
|
|
41588
41589
|
geoCountryRead: function geoCountryRead() {
|
|
41589
41590
|
return {
|
|
41590
|
-
|
|
41591
|
-
|
|
41591
|
+
appcode: dbName,
|
|
41592
|
+
requestid: "e2cb9d5c-3491-40da-8a5b-c8f90c39e286",
|
|
41592
41593
|
filter: {
|
|
41593
41594
|
Leveltype: "country",
|
|
41594
41595
|
activestatus: true
|
|
@@ -41597,7 +41598,7 @@ var queries$3 = {
|
|
|
41597
41598
|
},
|
|
41598
41599
|
geoStatusChange: function geoStatusChange(data) {
|
|
41599
41600
|
return [{
|
|
41600
|
-
|
|
41601
|
+
appcode: dbName,
|
|
41601
41602
|
entity: "SMGeographicMaster",
|
|
41602
41603
|
filter: {
|
|
41603
41604
|
_key: data._key
|
|
@@ -41612,8 +41613,8 @@ var queries$3 = {
|
|
|
41612
41613
|
},
|
|
41613
41614
|
editGeoGraphicSingleRead: function editGeoGraphicSingleRead(id) {
|
|
41614
41615
|
return {
|
|
41615
|
-
|
|
41616
|
-
|
|
41616
|
+
appcode: dbName,
|
|
41617
|
+
requestid: "be0b63d3-9d9a-46e3-8073-94a66c050541",
|
|
41617
41618
|
filter: {
|
|
41618
41619
|
activestatus: true,
|
|
41619
41620
|
key: id || ""
|
|
@@ -41622,8 +41623,8 @@ var queries$3 = {
|
|
|
41622
41623
|
},
|
|
41623
41624
|
geoMasterParentCode: function geoMasterParentCode(id) {
|
|
41624
41625
|
return {
|
|
41625
|
-
|
|
41626
|
-
|
|
41626
|
+
appcode: dbName,
|
|
41627
|
+
requestid: "063ee1f3-c2ea-4cb9-bcf5-75e434b7e583",
|
|
41627
41628
|
filter: {
|
|
41628
41629
|
activestatus: true,
|
|
41629
41630
|
Leveltype: id || "",
|
|
@@ -41635,8 +41636,8 @@ var queries$3 = {
|
|
|
41635
41636
|
var levelType = _ref.levelType,
|
|
41636
41637
|
geoLevelCode = _ref.geoLevelCode;
|
|
41637
41638
|
return {
|
|
41638
|
-
|
|
41639
|
-
|
|
41639
|
+
appcode: dbName,
|
|
41640
|
+
requestid: "063ee1f3-c2ea-4cb9-bcf5-75e434b7e583",
|
|
41640
41641
|
filter: {
|
|
41641
41642
|
Leveltype: levelType,
|
|
41642
41643
|
code: geoLevelCode,
|
|
@@ -41668,7 +41669,7 @@ var generateJson = function generateJson(data) {
|
|
|
41668
41669
|
}
|
|
41669
41670
|
});
|
|
41670
41671
|
var payloadItem = {
|
|
41671
|
-
|
|
41672
|
+
appcode: dbName,
|
|
41672
41673
|
entity: "SMGeographicMaster",
|
|
41673
41674
|
is_metadata: true,
|
|
41674
41675
|
metadataId: metaDataId$1,
|
|
@@ -42387,7 +42388,7 @@ var queries$2 = {
|
|
|
42387
42388
|
};
|
|
42388
42389
|
},
|
|
42389
42390
|
// column_type: `{
|
|
42390
|
-
// "
|
|
42391
|
+
// "appcode": "${dbName}",
|
|
42391
42392
|
// "entity": "CodingMaster",
|
|
42392
42393
|
// "sort":"CodingMaster.display",
|
|
42393
42394
|
// "filter": "CodingMaster.Type=='QDMDATATYPE' && CodingMaster.activestatus==true",
|
|
@@ -42405,7 +42406,7 @@ var queries$2 = {
|
|
|
42405
42406
|
}
|
|
42406
42407
|
};
|
|
42407
42408
|
return [_objectSpread2(_objectSpread2({
|
|
42408
|
-
|
|
42409
|
+
appcode: _dbName,
|
|
42409
42410
|
entity: "GMdefinition",
|
|
42410
42411
|
is_metadata: true
|
|
42411
42412
|
}, filter), {}, {
|
|
@@ -42418,7 +42419,7 @@ var queries$2 = {
|
|
|
42418
42419
|
} else {
|
|
42419
42420
|
var _datas$general_type, _datas$general_name, _datas$additional_col2;
|
|
42420
42421
|
return [_objectSpread2(_objectSpread2({
|
|
42421
|
-
|
|
42422
|
+
appcode: _dbName,
|
|
42422
42423
|
entity: "GMdefinition",
|
|
42423
42424
|
is_metadata: true
|
|
42424
42425
|
}, filter), {}, {
|
|
@@ -42451,7 +42452,7 @@ var queries$2 = {
|
|
|
42451
42452
|
var _data$code, _data$code$trim, _data$code2, _data$long_descriptio, _data$type, _data$short_descripti, _data$addition, _data$type2;
|
|
42452
42453
|
// return [
|
|
42453
42454
|
// {
|
|
42454
|
-
// "
|
|
42455
|
+
// "appcode": dbName,
|
|
42455
42456
|
// "entity": "CodingMaster",
|
|
42456
42457
|
// "is_metadata": true,
|
|
42457
42458
|
// "metadataId": "04ecb73d-f048-44ce-8563-c9be015812dd",
|
|
@@ -42471,7 +42472,7 @@ var queries$2 = {
|
|
|
42471
42472
|
// }
|
|
42472
42473
|
// ]
|
|
42473
42474
|
return [{
|
|
42474
|
-
|
|
42475
|
+
appcode: _dbName,
|
|
42475
42476
|
entity: "CodeableConceptMaster",
|
|
42476
42477
|
is_metadata: true,
|
|
42477
42478
|
metadataId: metaDataId$1,
|
|
@@ -42499,7 +42500,7 @@ var queries$2 = {
|
|
|
42499
42500
|
update_general_type: function update_general_type(edit_data) {
|
|
42500
42501
|
var _edit_data$_key, _edit_data$code$trim, _edit_data$code, _edit_data$long_descr, _edit_data$short_desc, _edit_data$addition;
|
|
42501
42502
|
return [{
|
|
42502
|
-
|
|
42503
|
+
appcode: _dbName,
|
|
42503
42504
|
entity: "CodingMaster",
|
|
42504
42505
|
is_metadata: true,
|
|
42505
42506
|
filter: {
|
|
@@ -42525,7 +42526,7 @@ var queries$2 = {
|
|
|
42525
42526
|
var _data$status, _data$status2;
|
|
42526
42527
|
// return [
|
|
42527
42528
|
// {
|
|
42528
|
-
// "
|
|
42529
|
+
// "appcode": dbName,
|
|
42529
42530
|
// "entity": "CodingMaster",
|
|
42530
42531
|
// "filter": {
|
|
42531
42532
|
// "_key": data?._key
|
|
@@ -42538,7 +42539,7 @@ var queries$2 = {
|
|
|
42538
42539
|
// }
|
|
42539
42540
|
// ]
|
|
42540
42541
|
return [{
|
|
42541
|
-
|
|
42542
|
+
appcode: _dbName,
|
|
42542
42543
|
entity: "CodeableConceptMaster",
|
|
42543
42544
|
is_metadata: true,
|
|
42544
42545
|
metadataId: metaDataId$1,
|
|
@@ -42557,8 +42558,8 @@ var queries$2 = {
|
|
|
42557
42558
|
},
|
|
42558
42559
|
codingMasterQuery: function codingMasterQuery(name) {
|
|
42559
42560
|
return {
|
|
42560
|
-
|
|
42561
|
-
|
|
42561
|
+
appcode: _dbName,
|
|
42562
|
+
requestid: "95931016-caf1-413c-8bf5-96f05c5709fb",
|
|
42562
42563
|
filter: {
|
|
42563
42564
|
type: "".concat(name),
|
|
42564
42565
|
status: true,
|
|
@@ -42717,11 +42718,11 @@ var GENERAL_MASTERS_READ = createAsyncThunk("generalMasterSlice/generalMastersRe
|
|
|
42717
42718
|
_context4.p = 1;
|
|
42718
42719
|
// let queriesjson = queries.generalMasterlist(payload.search);
|
|
42719
42720
|
body = {
|
|
42720
|
-
"
|
|
42721
|
+
"appcode": dbName,
|
|
42721
42722
|
"filter": {
|
|
42722
42723
|
"searchVal": (_payload$search = payload.search) !== null && _payload$search !== void 0 ? _payload$search : ""
|
|
42723
42724
|
},
|
|
42724
|
-
"
|
|
42725
|
+
"requestid": query_ids["generalMasterSearch"]
|
|
42725
42726
|
}; // alert(JSON.stringify(queriesjson))
|
|
42726
42727
|
_context4.n = 2;
|
|
42727
42728
|
return fetchData({
|
|
@@ -42764,8 +42765,8 @@ var COLUMN_TYPE_MASTERS = createAsyncThunk("generalMasterSlice/column_type", /*#
|
|
|
42764
42765
|
_ref7 = _args5.length > 1 ? _args5[1] : undefined, rejectWithValue = _ref7.rejectWithValue;
|
|
42765
42766
|
_context5.p = 1;
|
|
42766
42767
|
body = {
|
|
42767
|
-
"
|
|
42768
|
-
"
|
|
42768
|
+
"appcode": dbName,
|
|
42769
|
+
"requestid": query_ids["getQDMDataType"]
|
|
42769
42770
|
};
|
|
42770
42771
|
_context5.n = 2;
|
|
42771
42772
|
return fetchData({
|
|
@@ -43135,7 +43136,7 @@ var generalMasterSlice$1 = generalMasterSlice.reducer;
|
|
|
43135
43136
|
var queries$1 = {
|
|
43136
43137
|
status_update_practitioner: function status_update_practitioner(data) {
|
|
43137
43138
|
return [{
|
|
43138
|
-
|
|
43139
|
+
appcode: dbName,
|
|
43139
43140
|
entity: "CodeableConceptMaster",
|
|
43140
43141
|
filter: {
|
|
43141
43142
|
_key: data._key
|
|
@@ -43150,7 +43151,7 @@ var queries$1 = {
|
|
|
43150
43151
|
},
|
|
43151
43152
|
status_update_symptom_and_specialty: function status_update_symptom_and_specialty(data) {
|
|
43152
43153
|
return [{
|
|
43153
|
-
|
|
43154
|
+
appcode: dbName,
|
|
43154
43155
|
entity: "SymptomsMapping",
|
|
43155
43156
|
filter: {
|
|
43156
43157
|
_key: data._key
|
|
@@ -43184,7 +43185,7 @@ var queries$1 = {
|
|
|
43184
43185
|
}
|
|
43185
43186
|
};
|
|
43186
43187
|
return [_objectSpread2(_objectSpread2({
|
|
43187
|
-
|
|
43188
|
+
appcode: dbName,
|
|
43188
43189
|
entity: "SymptomsMapping"
|
|
43189
43190
|
}, filter), {}, {
|
|
43190
43191
|
is_metadata: true,
|
|
@@ -43207,8 +43208,8 @@ var queries$1 = {
|
|
|
43207
43208
|
},
|
|
43208
43209
|
symptom_and_specialty_read: function symptom_and_specialty_read(search, page, perPage) {
|
|
43209
43210
|
return {
|
|
43210
|
-
|
|
43211
|
-
|
|
43211
|
+
appcode: dbName,
|
|
43212
|
+
requestid: query_ids.symptom_and_specialty_read,
|
|
43212
43213
|
filter: {
|
|
43213
43214
|
search: "".concat(search),
|
|
43214
43215
|
offset: page,
|
|
@@ -43218,8 +43219,8 @@ var queries$1 = {
|
|
|
43218
43219
|
},
|
|
43219
43220
|
symptom_and_specialty_single_read: function symptom_and_specialty_single_read(_key) {
|
|
43220
43221
|
return {
|
|
43221
|
-
|
|
43222
|
-
|
|
43222
|
+
appcode: dbName,
|
|
43223
|
+
requestid: query_ids.symptom_and_specialty_single_read,
|
|
43223
43224
|
filter: {
|
|
43224
43225
|
_key: _key
|
|
43225
43226
|
}
|
|
@@ -43227,8 +43228,8 @@ var queries$1 = {
|
|
|
43227
43228
|
},
|
|
43228
43229
|
specialtyMaster: function specialtyMaster() {
|
|
43229
43230
|
return {
|
|
43230
|
-
|
|
43231
|
-
|
|
43231
|
+
appcode: dbName,
|
|
43232
|
+
requestid: query_ids.getCodingmasterByType,
|
|
43232
43233
|
filter: {
|
|
43233
43234
|
type: "SPECIALTY",
|
|
43234
43235
|
code: "",
|
|
@@ -43253,7 +43254,7 @@ var queries$1 = {
|
|
|
43253
43254
|
};
|
|
43254
43255
|
}
|
|
43255
43256
|
return [_objectSpread2(_objectSpread2({
|
|
43256
|
-
|
|
43257
|
+
appcode: dbName,
|
|
43257
43258
|
entity: "CodeableConceptMaster",
|
|
43258
43259
|
is_metadata: true,
|
|
43259
43260
|
mmetadataId: metaDataId$1,
|
|
@@ -43634,7 +43635,7 @@ var queries = {
|
|
|
43634
43635
|
//STATUS CHANGE
|
|
43635
43636
|
encouterStatusChange: function encouterStatusChange(data) {
|
|
43636
43637
|
return [{
|
|
43637
|
-
"
|
|
43638
|
+
"appcode": dbName,
|
|
43638
43639
|
"entity": "AMPatientClass",
|
|
43639
43640
|
"filter": {
|
|
43640
43641
|
_key: data._key
|
|
@@ -43800,13 +43801,13 @@ var TARGET_REVENUE_READ = createAsyncThunk("targetRevenueSlice/targetRevenueRead
|
|
|
43800
43801
|
_context.p = 1;
|
|
43801
43802
|
payload.searchname, payload.page, payload.perPage;
|
|
43802
43803
|
body = {
|
|
43803
|
-
"
|
|
43804
|
+
"appcode": dbName,
|
|
43804
43805
|
"filter": {
|
|
43805
43806
|
"searchname": payload.searchname,
|
|
43806
43807
|
"page": payload.page,
|
|
43807
43808
|
"perPage": payload.perPage
|
|
43808
43809
|
},
|
|
43809
|
-
"
|
|
43810
|
+
"requestid": "5aacaab0-25f8-439d-ad4b-b4dc27096ea5"
|
|
43810
43811
|
};
|
|
43811
43812
|
_context.n = 2;
|
|
43812
43813
|
return fetchData({
|
|
@@ -43872,11 +43873,11 @@ var TARGET_REVENUE_EDIT = createAsyncThunk("targetRevenueSlice/targetRevenueEdit
|
|
|
43872
43873
|
_ref7 = _args3.length > 1 ? _args3[1] : undefined, rejectWithValue = _ref7.rejectWithValue;
|
|
43873
43874
|
_context3.p = 1;
|
|
43874
43875
|
body = {
|
|
43875
|
-
"
|
|
43876
|
+
"appcode": dbName,
|
|
43876
43877
|
"filter": {
|
|
43877
43878
|
"_id": payload
|
|
43878
43879
|
},
|
|
43879
|
-
"
|
|
43880
|
+
"requestid": "866b11c9-aa3c-4116-936e-03705f25062e"
|
|
43880
43881
|
};
|
|
43881
43882
|
_context3.n = 2;
|
|
43882
43883
|
return fetchData({
|
|
@@ -43911,7 +43912,7 @@ var TARGET_REVENUE_DELETE = createAsyncThunk("targetRevenueSlice/targetRevenueDe
|
|
|
43911
43912
|
_ref9 = _args4.length > 1 ? _args4[1] : undefined, rejectWithValue = _ref9.rejectWithValue;
|
|
43912
43913
|
_context4.p = 1;
|
|
43913
43914
|
body = {
|
|
43914
|
-
|
|
43915
|
+
appcode: dbName,
|
|
43915
43916
|
entity: "targetrevenue",
|
|
43916
43917
|
filter: "targetrevenue._id == '".concat(payload._id, "'"),
|
|
43917
43918
|
metadataId: metaDataId$1,
|
|
@@ -43956,11 +43957,11 @@ var TARGET_NAME_VALIDATION = createAsyncThunk("targetRevenueSlice/targetNameVali
|
|
|
43956
43957
|
_ref1 = _args5.length > 1 ? _args5[1] : undefined, rejectWithValue = _ref1.rejectWithValue;
|
|
43957
43958
|
_context5.p = 1;
|
|
43958
43959
|
body = {
|
|
43959
|
-
"
|
|
43960
|
+
"appcode": dbName,
|
|
43960
43961
|
"filter": {
|
|
43961
43962
|
"targetname": payload
|
|
43962
43963
|
},
|
|
43963
|
-
"
|
|
43964
|
+
"requestid": "cc3720c8-4cc6-4d66-b7a0-bad5f427576b"
|
|
43964
43965
|
};
|
|
43965
43966
|
_context5.n = 2;
|
|
43966
43967
|
return fetchData({
|
|
@@ -44124,8 +44125,8 @@ var SLOT_AVAILABILITY = createAsyncThunk("slotAvailabilityApiSlice/slotAvailabil
|
|
|
44124
44125
|
_context2.p = 1;
|
|
44125
44126
|
_payload$slotId = payload.slotId, slotId = _payload$slotId === void 0 ? "" : _payload$slotId;
|
|
44126
44127
|
body = {
|
|
44127
|
-
"
|
|
44128
|
-
"
|
|
44128
|
+
"appcode": dbName,
|
|
44129
|
+
"requestid": query_ids["slotAvailabilityApiSlice/slotAvailability"],
|
|
44129
44130
|
"filter": {
|
|
44130
44131
|
slotid: slotId
|
|
44131
44132
|
}
|
|
@@ -44177,7 +44178,7 @@ var slotAvailabilityApiSlice$1 = slotAvailabilityApiSlice.reducer;
|
|
|
44177
44178
|
var query = {
|
|
44178
44179
|
modifyStatusAppointment: function modifyStatusAppointment(data) {
|
|
44179
44180
|
return [{
|
|
44180
|
-
"
|
|
44181
|
+
"appcode": dbName,
|
|
44181
44182
|
"entity": "Appointment",
|
|
44182
44183
|
"filter": {
|
|
44183
44184
|
"id": data === null || data === void 0 ? void 0 : data.id
|
|
@@ -44207,8 +44208,8 @@ var APPOINTMENT_READ = createAsyncThunk("appointmentApiSlice/readAppointment", /
|
|
|
44207
44208
|
_context.p = 1;
|
|
44208
44209
|
_payload$appointmentI = payload.appointmentId, appointmentId = _payload$appointmentI === void 0 ? "" : _payload$appointmentI;
|
|
44209
44210
|
body = {
|
|
44210
|
-
|
|
44211
|
-
|
|
44211
|
+
appcode: dbName,
|
|
44212
|
+
requestid: query_ids["appointmentApiSlice/readAppointment"],
|
|
44212
44213
|
filter: {
|
|
44213
44214
|
appointment_id: appointmentId
|
|
44214
44215
|
}
|
|
@@ -44248,7 +44249,7 @@ var APPOINTMENT_DELETE = createAsyncThunk("appointmentApiSlice/deleteAppointment
|
|
|
44248
44249
|
_ref4 = _args2.length > 1 ? _args2[1] : undefined, rejectWithValue = _ref4.rejectWithValue;
|
|
44249
44250
|
_context2.p = 1;
|
|
44250
44251
|
body = [{
|
|
44251
|
-
|
|
44252
|
+
appcode: dbName,
|
|
44252
44253
|
entity: "Appointment",
|
|
44253
44254
|
is_metadata: true,
|
|
44254
44255
|
metadataId: metaDataId$1,
|
|
@@ -44299,7 +44300,7 @@ var APPOINTMENT_UPDATE = createAsyncThunk("appointmentApiSlice/updateAppointment
|
|
|
44299
44300
|
_context3.p = 1;
|
|
44300
44301
|
// start end slotId
|
|
44301
44302
|
body = [{
|
|
44302
|
-
|
|
44303
|
+
appcode: dbName,
|
|
44303
44304
|
entity: "Appointment",
|
|
44304
44305
|
is_metadata: true,
|
|
44305
44306
|
metadataId: metaDataId$1,
|
|
@@ -44486,8 +44487,8 @@ var parameterSetupMasterActions = _objectSpread2({}, parameter_setup_master_acti
|
|
|
44486
44487
|
var drugCatalogMasterQuery = {
|
|
44487
44488
|
drugCatalogMasterSingleRead: function drugCatalogMasterSingleRead(id) {
|
|
44488
44489
|
return {
|
|
44489
|
-
|
|
44490
|
-
|
|
44490
|
+
appcode: dbName,
|
|
44491
|
+
requestid: "6a5b38b4-239d-4480-9aa3-1a8b45154c91",
|
|
44491
44492
|
filter: {
|
|
44492
44493
|
_id: "".concat(id),
|
|
44493
44494
|
activestatus: true
|
|
@@ -44496,7 +44497,7 @@ var drugCatalogMasterQuery = {
|
|
|
44496
44497
|
},
|
|
44497
44498
|
status_update: function status_update(key, status) {
|
|
44498
44499
|
return [{
|
|
44499
|
-
|
|
44500
|
+
appcode: dbName,
|
|
44500
44501
|
entity: "DrugMaster",
|
|
44501
44502
|
filter: {
|
|
44502
44503
|
_key: key
|
|
@@ -44510,8 +44511,8 @@ var drugCatalogMasterQuery = {
|
|
|
44510
44511
|
},
|
|
44511
44512
|
drugRuleType: function drugRuleType() {
|
|
44512
44513
|
return {
|
|
44513
|
-
|
|
44514
|
-
|
|
44514
|
+
appcode: dbName,
|
|
44515
|
+
requestid: "b283129b-9841-419b-bdfc-de5105ebbad7",
|
|
44515
44516
|
filter: {
|
|
44516
44517
|
status: true,
|
|
44517
44518
|
type: "RULETYPE",
|
|
@@ -44522,8 +44523,8 @@ var drugCatalogMasterQuery = {
|
|
|
44522
44523
|
},
|
|
44523
44524
|
drugPrivilegeType: function drugPrivilegeType() {
|
|
44524
44525
|
return {
|
|
44525
|
-
|
|
44526
|
-
|
|
44526
|
+
appcode: dbName,
|
|
44527
|
+
requestid: "b283129b-9841-419b-bdfc-de5105ebbad7",
|
|
44527
44528
|
filter: {
|
|
44528
44529
|
status: true,
|
|
44529
44530
|
type: "PRIVILEGETYPE",
|
|
@@ -44534,8 +44535,8 @@ var drugCatalogMasterQuery = {
|
|
|
44534
44535
|
},
|
|
44535
44536
|
drugServiceApplicabilityType: function drugServiceApplicabilityType() {
|
|
44536
44537
|
return {
|
|
44537
|
-
|
|
44538
|
-
|
|
44538
|
+
appcode: dbName,
|
|
44539
|
+
requestid: "b283129b-9841-419b-bdfc-de5105ebbad7",
|
|
44539
44540
|
filter: {
|
|
44540
44541
|
status: true,
|
|
44541
44542
|
type: "SERVICEAPPLICABILITY",
|
|
@@ -44546,8 +44547,8 @@ var drugCatalogMasterQuery = {
|
|
|
44546
44547
|
},
|
|
44547
44548
|
drugFacilityOptions: function drugFacilityOptions() {
|
|
44548
44549
|
return {
|
|
44549
|
-
|
|
44550
|
-
|
|
44550
|
+
appcode: dbName,
|
|
44551
|
+
requestid: "d87f5ab9-e6e1-4d0f-b2e6-adccf9bb0ef9",
|
|
44551
44552
|
filter: {
|
|
44552
44553
|
orgTypeCode: "OT003"
|
|
44553
44554
|
}
|
|
@@ -44555,8 +44556,8 @@ var drugCatalogMasterQuery = {
|
|
|
44555
44556
|
},
|
|
44556
44557
|
drugApprovalWorkflowOptions: function drugApprovalWorkflowOptions() {
|
|
44557
44558
|
return {
|
|
44558
|
-
|
|
44559
|
-
|
|
44559
|
+
appcode: dbName,
|
|
44560
|
+
requestid: "0b3bf966-1180-427f-95d4-7ae5318be2b6",
|
|
44560
44561
|
filter: {
|
|
44561
44562
|
status: true
|
|
44562
44563
|
}
|
|
@@ -44564,8 +44565,8 @@ var drugCatalogMasterQuery = {
|
|
|
44564
44565
|
},
|
|
44565
44566
|
drugalertRestrictionSingleRead: function drugalertRestrictionSingleRead(id) {
|
|
44566
44567
|
return {
|
|
44567
|
-
|
|
44568
|
-
|
|
44568
|
+
appcode: dbName,
|
|
44569
|
+
requestid: "d34abdb2-8f38-4d33-99bf-2b28b6b4209a",
|
|
44569
44570
|
filter: {
|
|
44570
44571
|
relationId: id,
|
|
44571
44572
|
status: true,
|
|
@@ -44575,8 +44576,8 @@ var drugCatalogMasterQuery = {
|
|
|
44575
44576
|
},
|
|
44576
44577
|
drugMappedDispensableRead: function drugMappedDispensableRead(_id) {
|
|
44577
44578
|
return {
|
|
44578
|
-
|
|
44579
|
-
|
|
44579
|
+
appcode: dbName,
|
|
44580
|
+
requestid: "6a5b38b4-239d-4480-9aa3-1a8b45154c91",
|
|
44580
44581
|
filter: {
|
|
44581
44582
|
_id: "".concat(_id),
|
|
44582
44583
|
activestatus: true
|
|
@@ -44587,286 +44588,286 @@ var drugCatalogMasterQuery = {
|
|
|
44587
44588
|
var masterQuery = {
|
|
44588
44589
|
code_standara: function code_standara() {
|
|
44589
44590
|
return {
|
|
44590
|
-
|
|
44591
|
+
appcode: dbName,
|
|
44591
44592
|
filter: {
|
|
44592
44593
|
type: "DBSOURCE",
|
|
44593
44594
|
code: "",
|
|
44594
44595
|
status: true,
|
|
44595
44596
|
sortField: "shortdesc"
|
|
44596
44597
|
},
|
|
44597
|
-
|
|
44598
|
+
requestid: "b283129b-9841-419b-bdfc-de5105ebbad7"
|
|
44598
44599
|
};
|
|
44599
44600
|
},
|
|
44600
44601
|
drug_category: function drug_category() {
|
|
44601
44602
|
return {
|
|
44602
|
-
|
|
44603
|
+
appcode: dbName,
|
|
44603
44604
|
filter: {
|
|
44604
44605
|
status: true,
|
|
44605
44606
|
sortField: "longdesc"
|
|
44606
44607
|
},
|
|
44607
|
-
|
|
44608
|
+
requestid: "6a8f4b6d-f8f6-4e42-b98b-08a9e5321612"
|
|
44608
44609
|
};
|
|
44609
44610
|
},
|
|
44610
44611
|
drug_class: function drug_class() {
|
|
44611
44612
|
return {
|
|
44612
|
-
|
|
44613
|
+
appcode: dbName,
|
|
44613
44614
|
filter: {
|
|
44614
44615
|
status: true,
|
|
44615
44616
|
sortField: "longdesc"
|
|
44616
44617
|
},
|
|
44617
|
-
|
|
44618
|
+
requestid: "38b17850-1d9c-4c53-9f7e-f205f5472459"
|
|
44618
44619
|
};
|
|
44619
44620
|
},
|
|
44620
44621
|
drug_generic: function drug_generic() {
|
|
44621
44622
|
return {
|
|
44622
|
-
|
|
44623
|
+
appcode: dbName,
|
|
44623
44624
|
filter: {
|
|
44624
44625
|
count: 20,
|
|
44625
44626
|
offset: 0,
|
|
44626
44627
|
sortField: "shortdesc"
|
|
44627
44628
|
},
|
|
44628
|
-
|
|
44629
|
+
requestid: "83a30f26-fe99-44f6-b487-f1c59331bcc2"
|
|
44629
44630
|
};
|
|
44630
44631
|
},
|
|
44631
44632
|
drug_type: function drug_type() {
|
|
44632
44633
|
return {
|
|
44633
|
-
|
|
44634
|
+
appcode: dbName,
|
|
44634
44635
|
filter: {
|
|
44635
44636
|
status: true,
|
|
44636
44637
|
sortField: "longdesc"
|
|
44637
44638
|
},
|
|
44638
|
-
|
|
44639
|
+
requestid: "36c55e4b-2052-4c7b-883c-d302abdcc414"
|
|
44639
44640
|
};
|
|
44640
44641
|
},
|
|
44641
44642
|
form: function form() {
|
|
44642
44643
|
return {
|
|
44643
|
-
|
|
44644
|
+
appcode: dbName,
|
|
44644
44645
|
filter: {
|
|
44645
44646
|
activestatus: true,
|
|
44646
44647
|
status: true
|
|
44647
44648
|
},
|
|
44648
|
-
|
|
44649
|
+
requestid: "6a035ef7-a2d7-4f0f-acb9-246aa1df9f3d"
|
|
44649
44650
|
};
|
|
44650
44651
|
},
|
|
44651
44652
|
synonym_type: function synonym_type() {
|
|
44652
44653
|
return {
|
|
44653
|
-
|
|
44654
|
+
appcode: dbName,
|
|
44654
44655
|
filter: {
|
|
44655
44656
|
activestatus: true,
|
|
44656
44657
|
status: true,
|
|
44657
44658
|
type: "SYNONYMTYPE"
|
|
44658
44659
|
},
|
|
44659
|
-
|
|
44660
|
+
requestid: "95931016-caf1-413c-8bf5-96f05c5709fb"
|
|
44660
44661
|
};
|
|
44661
44662
|
},
|
|
44662
44663
|
source: function source() {
|
|
44663
44664
|
return {
|
|
44664
|
-
|
|
44665
|
+
appcode: dbName,
|
|
44665
44666
|
filter: {
|
|
44666
44667
|
activestatus: true,
|
|
44667
44668
|
status: true,
|
|
44668
44669
|
type: "ALIASSOURCE"
|
|
44669
44670
|
},
|
|
44670
|
-
|
|
44671
|
+
requestid: "95931016-caf1-413c-8bf5-96f05c5709fb"
|
|
44671
44672
|
};
|
|
44672
44673
|
},
|
|
44673
44674
|
drug_uom: function drug_uom() {
|
|
44674
44675
|
return {
|
|
44675
|
-
|
|
44676
|
+
appcode: dbName,
|
|
44676
44677
|
filter: {
|
|
44677
44678
|
status: true,
|
|
44678
44679
|
code: "",
|
|
44679
44680
|
type: "DRUGUOMCODE",
|
|
44680
44681
|
sortField: "shortdesc"
|
|
44681
44682
|
},
|
|
44682
|
-
|
|
44683
|
+
requestid: "b283129b-9841-419b-bdfc-de5105ebbad7"
|
|
44683
44684
|
};
|
|
44684
44685
|
},
|
|
44685
44686
|
default_route: function default_route() {
|
|
44686
44687
|
return {
|
|
44687
|
-
|
|
44688
|
+
appcode: dbName,
|
|
44688
44689
|
filter: {
|
|
44689
44690
|
status: true,
|
|
44690
44691
|
sortField: "shortdesc"
|
|
44691
44692
|
},
|
|
44692
|
-
|
|
44693
|
+
requestid: "b54da513-2e28-4da0-835b-37282ef4a855"
|
|
44693
44694
|
};
|
|
44694
44695
|
},
|
|
44695
44696
|
frequency: function frequency() {
|
|
44696
44697
|
return {
|
|
44697
|
-
|
|
44698
|
+
appcode: dbName,
|
|
44698
44699
|
filter: {
|
|
44699
44700
|
status: true,
|
|
44700
44701
|
sortField: "shortdesc",
|
|
44701
44702
|
IsBaseFreq: ""
|
|
44702
44703
|
},
|
|
44703
|
-
|
|
44704
|
+
requestid: "bc340eaa-a2e8-4b94-ae33-9e00b4884fd9"
|
|
44704
44705
|
};
|
|
44705
44706
|
},
|
|
44706
44707
|
routes_allowed: function routes_allowed() {
|
|
44707
44708
|
return {
|
|
44708
|
-
|
|
44709
|
+
appcode: dbName,
|
|
44709
44710
|
filter: {
|
|
44710
44711
|
status: true,
|
|
44711
44712
|
sortField: "shortdesc"
|
|
44712
44713
|
},
|
|
44713
|
-
|
|
44714
|
+
requestid: "b54da513-2e28-4da0-835b-37282ef4a855"
|
|
44714
44715
|
};
|
|
44715
44716
|
},
|
|
44716
44717
|
drug_followUom: function drug_followUom() {
|
|
44717
44718
|
return {
|
|
44718
|
-
|
|
44719
|
+
appcode: dbName,
|
|
44719
44720
|
filter: {
|
|
44720
44721
|
status: true,
|
|
44721
44722
|
type: "FOLLOWUOM",
|
|
44722
44723
|
code: "",
|
|
44723
44724
|
sortField: "shortdesc"
|
|
44724
44725
|
},
|
|
44725
|
-
|
|
44726
|
+
requestid: "b283129b-9841-419b-bdfc-de5105ebbad7"
|
|
44726
44727
|
};
|
|
44727
44728
|
},
|
|
44728
44729
|
action: function action() {
|
|
44729
44730
|
return {
|
|
44730
|
-
|
|
44731
|
+
appcode: dbName,
|
|
44731
44732
|
filter: {
|
|
44732
44733
|
status: true,
|
|
44733
44734
|
type: "DRUGACTION",
|
|
44734
44735
|
code: "",
|
|
44735
44736
|
sortField: "shortdesc"
|
|
44736
44737
|
},
|
|
44737
|
-
|
|
44738
|
+
requestid: "b283129b-9841-419b-bdfc-de5105ebbad7"
|
|
44738
44739
|
};
|
|
44739
44740
|
},
|
|
44740
44741
|
instruction_type: function instruction_type() {
|
|
44741
44742
|
return {
|
|
44742
|
-
|
|
44743
|
+
appcode: dbName,
|
|
44743
44744
|
filter: {
|
|
44744
44745
|
activestatus: true,
|
|
44745
44746
|
status: true,
|
|
44746
44747
|
type: "INSTRUCTIONTYPE"
|
|
44747
44748
|
},
|
|
44748
|
-
|
|
44749
|
+
requestid: "95931016-caf1-413c-8bf5-96f05c5709fb"
|
|
44749
44750
|
};
|
|
44750
44751
|
},
|
|
44751
44752
|
drug_status: function drug_status() {
|
|
44752
44753
|
return {
|
|
44753
|
-
|
|
44754
|
+
appcode: dbName,
|
|
44754
44755
|
filter: {
|
|
44755
44756
|
activestatus: true,
|
|
44756
44757
|
status: true,
|
|
44757
44758
|
type: "DRUGSTATUS"
|
|
44758
44759
|
},
|
|
44759
|
-
|
|
44760
|
+
requestid: "95931016-caf1-413c-8bf5-96f05c5709fb"
|
|
44760
44761
|
};
|
|
44761
44762
|
},
|
|
44762
44763
|
entity_type: function entity_type() {
|
|
44763
44764
|
return {
|
|
44764
|
-
|
|
44765
|
+
appcode: dbName,
|
|
44765
44766
|
filter: {
|
|
44766
44767
|
activestatus: true,
|
|
44767
44768
|
status: true,
|
|
44768
44769
|
type: "ORGTYPE"
|
|
44769
44770
|
},
|
|
44770
|
-
|
|
44771
|
+
requestid: "95931016-caf1-413c-8bf5-96f05c5709fb"
|
|
44771
44772
|
};
|
|
44772
44773
|
},
|
|
44773
44774
|
applicability: function applicability() {
|
|
44774
44775
|
return {
|
|
44775
|
-
|
|
44776
|
+
appcode: dbName,
|
|
44776
44777
|
filter: {
|
|
44777
44778
|
activestatus: true,
|
|
44778
44779
|
status: true,
|
|
44779
44780
|
type: "APPLICABLEUOM"
|
|
44780
44781
|
},
|
|
44781
|
-
|
|
44782
|
+
requestid: "95931016-caf1-413c-8bf5-96f05c5709fb"
|
|
44782
44783
|
};
|
|
44783
44784
|
},
|
|
44784
44785
|
privilege_type: function privilege_type() {
|
|
44785
44786
|
return {
|
|
44786
|
-
|
|
44787
|
+
appcode: dbName,
|
|
44787
44788
|
filter: {
|
|
44788
44789
|
status: true,
|
|
44789
44790
|
type: "PRIVILEGETYPE",
|
|
44790
44791
|
sortField: "shortdesc",
|
|
44791
44792
|
code: ""
|
|
44792
44793
|
},
|
|
44793
|
-
|
|
44794
|
+
requestid: "b283129b-9841-419b-bdfc-de5105ebbad7"
|
|
44794
44795
|
};
|
|
44795
44796
|
},
|
|
44796
44797
|
rule_type: function rule_type() {
|
|
44797
44798
|
return {
|
|
44798
|
-
|
|
44799
|
+
appcode: dbName,
|
|
44799
44800
|
filter: {
|
|
44800
44801
|
status: true,
|
|
44801
44802
|
type: "RULETYPE",
|
|
44802
44803
|
sortField: "shortdesc",
|
|
44803
44804
|
code: ""
|
|
44804
44805
|
},
|
|
44805
|
-
|
|
44806
|
+
requestid: "b283129b-9841-419b-bdfc-de5105ebbad7"
|
|
44806
44807
|
};
|
|
44807
44808
|
},
|
|
44808
44809
|
round_off_type: function round_off_type() {
|
|
44809
44810
|
return {
|
|
44810
|
-
|
|
44811
|
+
appcode: dbName,
|
|
44811
44812
|
filter: {
|
|
44812
44813
|
status: true,
|
|
44813
44814
|
type: "ROUNDOFFTYPE",
|
|
44814
44815
|
sortField: "display",
|
|
44815
44816
|
code: ""
|
|
44816
44817
|
},
|
|
44817
|
-
|
|
44818
|
+
requestid: "b283129b-9841-419b-bdfc-de5105ebbad7"
|
|
44818
44819
|
};
|
|
44819
44820
|
},
|
|
44820
44821
|
drug_code: function drug_code() {
|
|
44821
44822
|
return {
|
|
44822
|
-
|
|
44823
|
+
appcode: dbName,
|
|
44823
44824
|
filter: {
|
|
44824
44825
|
ApplicableForCompounding: true,
|
|
44825
44826
|
count: 20,
|
|
44826
44827
|
offset: 0,
|
|
44827
44828
|
sortField: "shortdesc"
|
|
44828
44829
|
},
|
|
44829
|
-
|
|
44830
|
+
requestid: "a353afbd-1882-4a4b-8711-2577898f6e10"
|
|
44830
44831
|
};
|
|
44831
44832
|
},
|
|
44832
44833
|
item_code: function item_code(_ref) {
|
|
44833
44834
|
var id = _ref.id;
|
|
44834
44835
|
return {
|
|
44835
|
-
|
|
44836
|
+
appcode: dbName,
|
|
44836
44837
|
filter: {
|
|
44837
44838
|
_id: id,
|
|
44838
44839
|
IsDispensible: true
|
|
44839
44840
|
},
|
|
44840
|
-
|
|
44841
|
+
requestid: "09d4114d-273d-497c-9c69-ae4da26a4a07"
|
|
44841
44842
|
};
|
|
44842
44843
|
},
|
|
44843
44844
|
return_reason: function return_reason() {
|
|
44844
44845
|
return {
|
|
44845
|
-
|
|
44846
|
+
appcode: dbName,
|
|
44846
44847
|
filter: {
|
|
44847
44848
|
status: true,
|
|
44848
44849
|
type: "MEDRETURNREASON",
|
|
44849
44850
|
sortField: "display",
|
|
44850
44851
|
code: ""
|
|
44851
44852
|
},
|
|
44852
|
-
|
|
44853
|
+
requestid: "b283129b-9841-419b-bdfc-de5105ebbad7"
|
|
44853
44854
|
};
|
|
44854
44855
|
},
|
|
44855
44856
|
duration_uom: function duration_uom() {
|
|
44856
44857
|
return {
|
|
44857
|
-
|
|
44858
|
+
appcode: dbName,
|
|
44858
44859
|
filter: {
|
|
44859
44860
|
status: true,
|
|
44860
44861
|
type: "DURATIONUOM",
|
|
44861
44862
|
sortField: "shortdesc",
|
|
44862
44863
|
code: ""
|
|
44863
44864
|
},
|
|
44864
|
-
|
|
44865
|
+
requestid: "b283129b-9841-419b-bdfc-de5105ebbad7"
|
|
44865
44866
|
};
|
|
44866
44867
|
},
|
|
44867
44868
|
pack_drug_uom: function pack_drug_uom() {
|
|
44868
44869
|
return {
|
|
44869
|
-
|
|
44870
|
+
appcode: dbName,
|
|
44870
44871
|
filter: {
|
|
44871
44872
|
status: true,
|
|
44872
44873
|
UOM: "",
|
|
@@ -44874,12 +44875,12 @@ var masterQuery = {
|
|
|
44874
44875
|
IsDosageQuantityUOM: "",
|
|
44875
44876
|
IsDosageStrengthUOM: ""
|
|
44876
44877
|
},
|
|
44877
|
-
|
|
44878
|
+
requestid: "11732e1b-1eaa-421e-abc8-1647709a7572"
|
|
44878
44879
|
};
|
|
44879
44880
|
},
|
|
44880
44881
|
strength_uom: function strength_uom() {
|
|
44881
44882
|
return {
|
|
44882
|
-
|
|
44883
|
+
appcode: dbName,
|
|
44883
44884
|
filter: {
|
|
44884
44885
|
status: true,
|
|
44885
44886
|
uomTypeCodes: ["DU013", "DU012", "DU010", "DU008"],
|
|
@@ -44887,12 +44888,12 @@ var masterQuery = {
|
|
|
44887
44888
|
IsDosageQuantityUOM: "",
|
|
44888
44889
|
IsDosageStrengthUOM: ""
|
|
44889
44890
|
},
|
|
44890
|
-
|
|
44891
|
+
requestid: "11732e1b-1eaa-421e-abc8-1647709a7572"
|
|
44891
44892
|
};
|
|
44892
44893
|
},
|
|
44893
44894
|
order_default_duration_uom: function order_default_duration_uom() {
|
|
44894
44895
|
return {
|
|
44895
|
-
|
|
44896
|
+
appcode: dbName,
|
|
44896
44897
|
filter: {
|
|
44897
44898
|
status: true,
|
|
44898
44899
|
uomTypeCodes: ["DU010"],
|
|
@@ -44900,12 +44901,12 @@ var masterQuery = {
|
|
|
44900
44901
|
IsDosageQuantityUOM: "",
|
|
44901
44902
|
IsDosageStrengthUOM: ""
|
|
44902
44903
|
},
|
|
44903
|
-
|
|
44904
|
+
requestid: "11732e1b-1eaa-421e-abc8-1647709a7572"
|
|
44904
44905
|
};
|
|
44905
44906
|
},
|
|
44906
44907
|
duration_day_only: function duration_day_only() {
|
|
44907
44908
|
return {
|
|
44908
|
-
|
|
44909
|
+
appcode: dbName,
|
|
44909
44910
|
filter: {
|
|
44910
44911
|
status: true,
|
|
44911
44912
|
uomTypeCodes: ["DU010"],
|
|
@@ -44913,12 +44914,12 @@ var masterQuery = {
|
|
|
44913
44914
|
IsDosageQuantityUOM: "",
|
|
44914
44915
|
IsDosageStrengthUOM: ""
|
|
44915
44916
|
},
|
|
44916
|
-
|
|
44917
|
+
requestid: "11732e1b-1eaa-421e-abc8-1647709a7572"
|
|
44917
44918
|
};
|
|
44918
44919
|
},
|
|
44919
44920
|
compound_quantity_uom: function compound_quantity_uom() {
|
|
44920
44921
|
return {
|
|
44921
|
-
|
|
44922
|
+
appcode: dbName,
|
|
44922
44923
|
filter: {
|
|
44923
44924
|
status: true,
|
|
44924
44925
|
uomTypeCodes: ["DU008"],
|
|
@@ -44926,24 +44927,24 @@ var masterQuery = {
|
|
|
44926
44927
|
IsDosageQuantityUOM: "",
|
|
44927
44928
|
IsDosageStrengthUOM: ""
|
|
44928
44929
|
},
|
|
44929
|
-
|
|
44930
|
+
requestid: "11732e1b-1eaa-421e-abc8-1647709a7572"
|
|
44930
44931
|
};
|
|
44931
44932
|
},
|
|
44932
44933
|
dispense_type: function dispense_type() {
|
|
44933
44934
|
return {
|
|
44934
|
-
|
|
44935
|
+
appcode: dbName,
|
|
44935
44936
|
filter: {
|
|
44936
44937
|
status: true,
|
|
44937
44938
|
type: "DISPENSETYPE",
|
|
44938
44939
|
sortField: "display",
|
|
44939
44940
|
code: ""
|
|
44940
44941
|
},
|
|
44941
|
-
|
|
44942
|
+
requestid: "b283129b-9841-419b-bdfc-de5105ebbad7"
|
|
44942
44943
|
};
|
|
44943
44944
|
},
|
|
44944
44945
|
uom_time_type: function uom_time_type() {
|
|
44945
44946
|
return {
|
|
44946
|
-
|
|
44947
|
+
appcode: dbName,
|
|
44947
44948
|
filter: {
|
|
44948
44949
|
status: true,
|
|
44949
44950
|
uomTypeCodes: ["DU010"],
|
|
@@ -44951,31 +44952,31 @@ var masterQuery = {
|
|
|
44951
44952
|
IsDosageQuantityUOM: "",
|
|
44952
44953
|
IsDosageStrengthUOM: ""
|
|
44953
44954
|
},
|
|
44954
|
-
|
|
44955
|
+
requestid: "11732e1b-1eaa-421e-abc8-1647709a7572"
|
|
44955
44956
|
};
|
|
44956
44957
|
},
|
|
44957
44958
|
tags: function tags() {
|
|
44958
44959
|
return {
|
|
44959
|
-
|
|
44960
|
+
appcode: dbName,
|
|
44960
44961
|
filter: {
|
|
44961
44962
|
status: true,
|
|
44962
44963
|
type: "TAGTYPE",
|
|
44963
44964
|
sortField: "shortdesc",
|
|
44964
44965
|
code: ""
|
|
44965
44966
|
},
|
|
44966
|
-
|
|
44967
|
+
requestid: "b283129b-9841-419b-bdfc-de5105ebbad7"
|
|
44967
44968
|
};
|
|
44968
44969
|
}
|
|
44969
44970
|
};
|
|
44970
44971
|
var entityNameOptionsQuery = function entityNameOptionsQuery() {
|
|
44971
44972
|
var entityTypeCode = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : "OT003";
|
|
44972
44973
|
return {
|
|
44973
|
-
|
|
44974
|
+
appcode: dbName,
|
|
44974
44975
|
filter: {
|
|
44975
44976
|
code: "".concat(entityTypeCode),
|
|
44976
44977
|
active: true
|
|
44977
44978
|
},
|
|
44978
|
-
|
|
44979
|
+
requestid: "8b9c2857-89d9-41b9-8c43-08d34d641ed3"
|
|
44979
44980
|
};
|
|
44980
44981
|
};
|
|
44981
44982
|
|
|
@@ -45103,7 +45104,7 @@ var GenerateUpsert = function GenerateUpsert(data) {
|
|
|
45103
45104
|
};
|
|
45104
45105
|
}
|
|
45105
45106
|
return [_objectSpread2(_objectSpread2({
|
|
45106
|
-
|
|
45107
|
+
appcode: dbName,
|
|
45107
45108
|
entity: "DrugMaster",
|
|
45108
45109
|
is_metadata: true,
|
|
45109
45110
|
metadataId: "88b23ef1-7199-4503-b631-2de82ace6e03"
|
|
@@ -45164,7 +45165,7 @@ var GenerateAlertRestrictionUpsert = function GenerateAlertRestrictionUpsert(dat
|
|
|
45164
45165
|
};
|
|
45165
45166
|
}
|
|
45166
45167
|
return [_objectSpread2(_objectSpread2({
|
|
45167
|
-
|
|
45168
|
+
appcode: dbName,
|
|
45168
45169
|
entity: "CA_OrderCatalogPrivilegeLevel",
|
|
45169
45170
|
is_metadata: true,
|
|
45170
45171
|
metadataId: "88b23ef1-7199-4503-b631-2de82ace6e03"
|
|
@@ -45195,7 +45196,7 @@ var GenerateMappedItemUpsert = function GenerateMappedItemUpsert(data) {
|
|
|
45195
45196
|
};
|
|
45196
45197
|
}
|
|
45197
45198
|
return [_objectSpread2(_objectSpread2({
|
|
45198
|
-
|
|
45199
|
+
appcode: dbName,
|
|
45199
45200
|
entity: "DrugMaster"
|
|
45200
45201
|
}, filter), {}, {
|
|
45201
45202
|
is_metadata: true,
|
|
@@ -45238,8 +45239,8 @@ var DRUG_CATALOG_MASTER_FULL_READ = createAsyncThunk("drugCatalogMasterApiSlice/
|
|
|
45238
45239
|
}
|
|
45239
45240
|
};
|
|
45240
45241
|
fullReadQDMQuery = _objectSpread2({
|
|
45241
|
-
|
|
45242
|
-
|
|
45242
|
+
appcode: dbName,
|
|
45243
|
+
requestid: queryId
|
|
45243
45244
|
}, withLimitFilter);
|
|
45244
45245
|
_context.n = 2;
|
|
45245
45246
|
return fetchData({
|
|
@@ -46244,13 +46245,13 @@ var schedule_line_day_dropdown$1 = createAsyncThunk("schedule_line_day_dropdownR
|
|
|
46244
46245
|
rejectWithValue = _ref.rejectWithValue;
|
|
46245
46246
|
_context.p = 1;
|
|
46246
46247
|
body = JSON.stringify({
|
|
46247
|
-
|
|
46248
|
+
appcode: dbName,
|
|
46248
46249
|
filter: {
|
|
46249
46250
|
activestatus: true,
|
|
46250
46251
|
status: true,
|
|
46251
46252
|
type: "WEEKDAYS"
|
|
46252
46253
|
},
|
|
46253
|
-
|
|
46254
|
+
requestid: "95931016-caf1-413c-8bf5-96f05c5709fb"
|
|
46254
46255
|
});
|
|
46255
46256
|
_context.n = 2;
|
|
46256
46257
|
return fetchData({
|
|
@@ -46306,7 +46307,7 @@ var drugUpsert = createAsyncThunk("drugReducer/upsert", /*#__PURE__*/function ()
|
|
|
46306
46307
|
body = data.map(function (v) {
|
|
46307
46308
|
var _v$facility, _v$locationType;
|
|
46308
46309
|
return {
|
|
46309
|
-
|
|
46310
|
+
appcode: dbName,
|
|
46310
46311
|
entity: "CA_PerformingLocationforOrdLocn",
|
|
46311
46312
|
is_metadata: true,
|
|
46312
46313
|
metadataId: "88b23ef1-7199-4503-b631-2de82ace6e03",
|
|
@@ -46380,7 +46381,7 @@ var drugUpdate = createAsyncThunk("drugReducer/update", /*#__PURE__*/function ()
|
|
|
46380
46381
|
body = data.map(function (v) {
|
|
46381
46382
|
var _v$facility2, _v$locationType2;
|
|
46382
46383
|
var Json = {
|
|
46383
|
-
|
|
46384
|
+
appcode: dbName,
|
|
46384
46385
|
entity: "CA_PerformingLocationforOrdLocn",
|
|
46385
46386
|
is_metadata: true,
|
|
46386
46387
|
metadataId: "88b23ef1-7199-4503-b631-2de82ace6e03",
|
|
@@ -46546,51 +46547,51 @@ var drugReducer$1 = drugReducer.reducer;
|
|
|
46546
46547
|
var frequencyMasterQuery = {
|
|
46547
46548
|
singleRead: function singleRead(_key) {
|
|
46548
46549
|
return {
|
|
46549
|
-
|
|
46550
|
+
appcode: dbName,
|
|
46550
46551
|
filter: {
|
|
46551
46552
|
activestatus: true,
|
|
46552
46553
|
_key: _key
|
|
46553
46554
|
},
|
|
46554
|
-
|
|
46555
|
+
requestid: "5d6850f1-0379-444e-a217-0a0821f21647"
|
|
46555
46556
|
};
|
|
46556
46557
|
},
|
|
46557
46558
|
addnewfrequency_orgfrequencymaster_days_dropdown: function addnewfrequency_orgfrequencymaster_days_dropdown() {
|
|
46558
46559
|
return {
|
|
46559
|
-
|
|
46560
|
+
appcode: dbName,
|
|
46560
46561
|
filter: {
|
|
46561
46562
|
activestatus: true,
|
|
46562
46563
|
status: true,
|
|
46563
46564
|
type: "WEEKDAYS"
|
|
46564
46565
|
},
|
|
46565
|
-
|
|
46566
|
+
requestid: "95931016-caf1-413c-8bf5-96f05c5709fb"
|
|
46566
46567
|
};
|
|
46567
46568
|
},
|
|
46568
46569
|
addnewfrequency_orgfrequencymaster_frequencytype_dropdown: function addnewfrequency_orgfrequencymaster_frequencytype_dropdown() {
|
|
46569
46570
|
return {
|
|
46570
|
-
|
|
46571
|
+
appcode: dbName,
|
|
46571
46572
|
filter: {
|
|
46572
46573
|
activestatus: true,
|
|
46573
46574
|
status: true,
|
|
46574
46575
|
type: "CLMMFREQTYPE"
|
|
46575
46576
|
},
|
|
46576
|
-
|
|
46577
|
+
requestid: "95931016-caf1-413c-8bf5-96f05c5709fb"
|
|
46577
46578
|
};
|
|
46578
46579
|
},
|
|
46579
46580
|
addnewfrequency_orgfrequencymaster_uom_dropdown: function addnewfrequency_orgfrequencymaster_uom_dropdown() {
|
|
46580
46581
|
return {
|
|
46581
|
-
|
|
46582
|
+
appcode: dbName,
|
|
46582
46583
|
filter: {
|
|
46583
46584
|
activestatus: true,
|
|
46584
46585
|
status: true,
|
|
46585
46586
|
type: "FREQUOM"
|
|
46586
46587
|
},
|
|
46587
|
-
|
|
46588
|
+
requestid: "95931016-caf1-413c-8bf5-96f05c5709fb"
|
|
46588
46589
|
};
|
|
46589
46590
|
},
|
|
46590
46591
|
base_frequency_dropdown: function base_frequency_dropdown() {
|
|
46591
46592
|
return {
|
|
46592
|
-
|
|
46593
|
-
|
|
46593
|
+
appcode: dbName,
|
|
46594
|
+
requestid: "bc340eaa-a2e8-4b94-ae33-9e00b4884fd9",
|
|
46594
46595
|
filter: {
|
|
46595
46596
|
status: true,
|
|
46596
46597
|
IsBaseFreq: true,
|
|
@@ -46608,14 +46609,14 @@ var frequencyMasterQuery = {
|
|
|
46608
46609
|
}
|
|
46609
46610
|
};
|
|
46610
46611
|
return _objectSpread2({
|
|
46611
|
-
|
|
46612
|
-
|
|
46612
|
+
appcode: dbName,
|
|
46613
|
+
requestid: queryId
|
|
46613
46614
|
}, withLimitFilter);
|
|
46614
46615
|
}
|
|
46615
46616
|
};
|
|
46616
46617
|
var uom_time_type = function uom_time_type() {
|
|
46617
46618
|
return {
|
|
46618
|
-
"
|
|
46619
|
+
"appcode": dbName,
|
|
46619
46620
|
filter: {
|
|
46620
46621
|
status: true,
|
|
46621
46622
|
uomTypeCodes: ["DU010"],
|
|
@@ -46623,7 +46624,7 @@ var uom_time_type = function uom_time_type() {
|
|
|
46623
46624
|
IsDosageQuantityUOM: "",
|
|
46624
46625
|
IsDosageStrengthUOM: ""
|
|
46625
46626
|
},
|
|
46626
|
-
|
|
46627
|
+
requestid: "11732e1b-1eaa-421e-abc8-1647709a7572"
|
|
46627
46628
|
};
|
|
46628
46629
|
};
|
|
46629
46630
|
|
|
@@ -46893,7 +46894,7 @@ var addnewfrequency_orgfrequencymaster_insert = createAsyncThunk("frequencyMaste
|
|
|
46893
46894
|
rejectWithValue = _ref15.rejectWithValue;
|
|
46894
46895
|
_context9.p = 1;
|
|
46895
46896
|
body = JSON.stringify([{
|
|
46896
|
-
|
|
46897
|
+
appcode: dbName,
|
|
46897
46898
|
entity: "FrequencyMaster",
|
|
46898
46899
|
is_metadata: true,
|
|
46899
46900
|
metadataId: "88b23ef1-7199-4503-b631-2de82ace6e03",
|
|
@@ -46945,7 +46946,7 @@ var EditNewFrequency_orgfrequencymaster_update = createAsyncThunk("frequencyMast
|
|
|
46945
46946
|
rejectWithValue = _ref17.rejectWithValue;
|
|
46946
46947
|
_context0.p = 1;
|
|
46947
46948
|
body = JSON.stringify([{
|
|
46948
|
-
|
|
46949
|
+
appcode: dbName,
|
|
46949
46950
|
entity: "FrequencyMaster",
|
|
46950
46951
|
is_metadata: true,
|
|
46951
46952
|
filter: {
|
|
@@ -47000,13 +47001,13 @@ var schedule_line_day_dropdown = createAsyncThunk("schedule_line_day_dropdownRed
|
|
|
47000
47001
|
rejectWithValue = _ref19.rejectWithValue;
|
|
47001
47002
|
_context1.p = 1;
|
|
47002
47003
|
body = JSON.stringify({
|
|
47003
|
-
|
|
47004
|
+
appcode: dbName,
|
|
47004
47005
|
filter: {
|
|
47005
47006
|
activestatus: true,
|
|
47006
47007
|
status: true,
|
|
47007
47008
|
type: "WEEKDAYS"
|
|
47008
47009
|
},
|
|
47009
|
-
|
|
47010
|
+
requestid: "95931016-caf1-413c-8bf5-96f05c5709fb"
|
|
47010
47011
|
});
|
|
47011
47012
|
_context1.n = 2;
|
|
47012
47013
|
return fetchData({
|
|
@@ -47157,7 +47158,7 @@ var frequencyMasterSlice$1 = frequencyMasterSlice.reducer;
|
|
|
47157
47158
|
var pharmacy = {
|
|
47158
47159
|
// Pharmacy_Rule_Group: () => {
|
|
47159
47160
|
// return {
|
|
47160
|
-
//
|
|
47161
|
+
// appcode: "RuleBuilder",
|
|
47161
47162
|
// entity: "Groups",
|
|
47162
47163
|
// filter: "Groups.activestatus==true",
|
|
47163
47164
|
// return_fields: "{label : Groups.name, value:Groups.id}",
|
|
@@ -47165,7 +47166,7 @@ var pharmacy = {
|
|
|
47165
47166
|
// },
|
|
47166
47167
|
// Pharmacy_Rule: (groupId) => {
|
|
47167
47168
|
// return {
|
|
47168
|
-
//
|
|
47169
|
+
// appcode: `${dbName}`,
|
|
47169
47170
|
// entity: "Rules",
|
|
47170
47171
|
// filter: `Rules.activestatus==true && Rules.groupId == ${groupId}`,
|
|
47171
47172
|
// return_fields: "{ label: Rules.ruleName, value: Rules._id }",
|
|
@@ -47174,14 +47175,14 @@ var pharmacy = {
|
|
|
47174
47175
|
|
|
47175
47176
|
Pharmacy_Rule_Group: function Pharmacy_Rule_Group() {
|
|
47176
47177
|
return {
|
|
47177
|
-
|
|
47178
|
-
|
|
47178
|
+
appcode: "".concat(dbName),
|
|
47179
|
+
requestid: "99a7f010-b6ec-458a-aec7-b40064f892fc"
|
|
47179
47180
|
};
|
|
47180
47181
|
},
|
|
47181
47182
|
Pharmacy_Rule: function Pharmacy_Rule() {
|
|
47182
47183
|
return {
|
|
47183
|
-
|
|
47184
|
-
|
|
47184
|
+
appcode: "".concat(dbName),
|
|
47185
|
+
requestid: "d42ebd6b-c62a-4a4c-89a9-d01ae103f5ab"
|
|
47185
47186
|
};
|
|
47186
47187
|
}
|
|
47187
47188
|
};
|