primary_care_admin_binder 0.1.156 → 0.1.158

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.cjs.js +21 -4
  2. package/package.json +1 -1
package/dist/index.cjs.js CHANGED
@@ -16340,7 +16340,7 @@ var queries$m = {
16340
16340
  offset: page,
16341
16341
  count: perPage
16342
16342
  },
16343
- return_fields: "MERGE(OrderType,{TotalCount:COUNT(FOR cnt IN OrderType RETURN cnt._key),ordercategory:(DOCUMENT(OrderType.ordercategory))})"
16343
+ return_fields: "MERGE( adqolcOrderType, { TotalCount: COUNT(FOR cnt IN OrderType RETURN cnt._key), ordercategory: DOCUMENT(adqolcOrderType.ordercategory), aliasDtls: ( FOR alias IN (adqolcOrderType.aliasDtls || []) LET aliasTypeDoc = DOCUMENT(alias.aliasType) RETURN MERGE( alias, { aliasType: { label: aliasTypeDoc.display, value: aliasTypeDoc._id, code: aliasTypeDoc.code } } ) ) } )"
16344
16344
  };
16345
16345
  },
16346
16346
  OrderCategory: function OrderCategory() {
@@ -16366,6 +16366,14 @@ var queries$m = {
16366
16366
  longdesc: data === null || data === void 0 ? void 0 : data.longdesc,
16367
16367
  ordercategory: data === null || data === void 0 ? void 0 : data.ordercategory,
16368
16368
  registrationReq: data === null || data === void 0 ? void 0 : data.registrationReq,
16369
+ aliasDtls: ((data === null || data === void 0 ? void 0 : data.aliasMapping) || []).map(function (item) {
16370
+ var _item$aliasType;
16371
+ return {
16372
+ aliasType: (item === null || item === void 0 || (_item$aliasType = item.aliasType) === null || _item$aliasType === void 0 ? void 0 : _item$aliasType.value) || (item === null || item === void 0 ? void 0 : item.aliasType) || "",
16373
+ aliasCode: (item === null || item === void 0 ? void 0 : item.aliasCode) || "",
16374
+ aliasName: (item === null || item === void 0 ? void 0 : item.aliasName) || ""
16375
+ };
16376
+ }),
16369
16377
  status: data === null || data === void 0 ? void 0 : data.status
16370
16378
  }
16371
16379
  }];
@@ -16410,6 +16418,14 @@ var queries$m = {
16410
16418
  longdesc: data === null || data === void 0 ? void 0 : data.longdesc,
16411
16419
  ordercategory: data === null || data === void 0 ? void 0 : data.ordercategory,
16412
16420
  registrationReq: data === null || data === void 0 ? void 0 : data.registrationReq,
16421
+ aliasDtls: ((data === null || data === void 0 ? void 0 : data.aliasMapping) || []).map(function (item) {
16422
+ var _item$aliasType2;
16423
+ return {
16424
+ aliasType: (item === null || item === void 0 || (_item$aliasType2 = item.aliasType) === null || _item$aliasType2 === void 0 ? void 0 : _item$aliasType2.value) || (item === null || item === void 0 ? void 0 : item.aliasType) || "",
16425
+ aliasCode: (item === null || item === void 0 ? void 0 : item.aliasCode) || "",
16426
+ aliasName: (item === null || item === void 0 ? void 0 : item.aliasName) || ""
16427
+ };
16428
+ }),
16413
16429
  status: data === null || data === void 0 ? void 0 : data.status
16414
16430
  }
16415
16431
  }];
@@ -16456,7 +16472,8 @@ var ORDERTYPEREAD = createAsyncThunk("ordertypeSlice/ordertypeRead", /*#__PURE__
16456
16472
  registrationReq: val === null || val === void 0 ? void 0 : val.registrationReq,
16457
16473
  _id: val === null || val === void 0 ? void 0 : val._id,
16458
16474
  ordercategory_id: val === null || val === void 0 || (_val$ordercategory6 = val.ordercategory) === null || _val$ordercategory6 === void 0 ? void 0 : _val$ordercategory6._id,
16459
- ordertype: val === null || val === void 0 ? void 0 : val.ordertype
16475
+ ordertype: val === null || val === void 0 ? void 0 : val.ordertype,
16476
+ aliasMapping: (val === null || val === void 0 ? void 0 : val.aliasDtls) || []
16460
16477
  });
16461
16478
  }
16462
16479
  });
@@ -43266,7 +43283,7 @@ var SYMPTOM_AND_SPECIALTY_READ = createAsyncThunk("symptomAndSpecialtySlice/symp
43266
43283
  case 3:
43267
43284
  _context2.p = 3;
43268
43285
  _t2 = _context2.v;
43269
- return _context2.a(2, rejectWithValue(_objectSpread2(_objectSpread2({}, defaultReject.List), {}, {
43286
+ return _context2.a(2, rejectWithValue(_objectSpread2(_objectSpread2({}, defaultReject), {}, {
43270
43287
  message: _t2.message
43271
43288
  })));
43272
43289
  }
@@ -43364,7 +43381,7 @@ var SYMPTOM_AND_SPECIALTY_SINGLE_READ = createAsyncThunk("symptomAndSpecialtySli
43364
43381
  case 3:
43365
43382
  _context3.p = 3;
43366
43383
  _t3 = _context3.v;
43367
- return _context3.a(2, rejectWithValue(_objectSpread2(_objectSpread2({}, defaultReject.List), {}, {
43384
+ return _context3.a(2, rejectWithValue(_objectSpread2(_objectSpread2({}, defaultReject), {}, {
43368
43385
  message: _t3.message
43369
43386
  })));
43370
43387
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "primary_care_admin_binder",
3
- "version": "0.1.156",
3
+ "version": "0.1.158",
4
4
  "description": "",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",