primarycare-binder 1.1.63 → 1.1.64
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 +12 -2
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -15080,6 +15080,8 @@ var MASTER_SEARCH = createAsyncThunk("searhcApiSlice/masterSearch", /*#__PURE__*
|
|
|
15080
15080
|
_yield$Promise$all2$,
|
|
15081
15081
|
encounterData,
|
|
15082
15082
|
returnData,
|
|
15083
|
+
_encounterData$result,
|
|
15084
|
+
encounterClass,
|
|
15083
15085
|
encounterRes,
|
|
15084
15086
|
_args9 = arguments;
|
|
15085
15087
|
|
|
@@ -15149,15 +15151,23 @@ var MASTER_SEARCH = createAsyncThunk("searhcApiSlice/masterSearch", /*#__PURE__*
|
|
|
15149
15151
|
}
|
|
15150
15152
|
|
|
15151
15153
|
if (fetchEncounter) {
|
|
15152
|
-
|
|
15154
|
+
encounterClass = {};
|
|
15155
|
+
encounterRes = encounterData === null || encounterData === void 0 ? void 0 : (_encounterData$result = encounterData.result) === null || _encounterData$result === void 0 ? void 0 : _encounterData$result.map(function (enc) {
|
|
15156
|
+
encounterClass[enc._id] = enc === null || enc === void 0 ? void 0 : enc.encClsByTypes.map(function (cls) {
|
|
15157
|
+
return {
|
|
15158
|
+
_id: cls === null || cls === void 0 ? void 0 : cls.encClsType,
|
|
15159
|
+
value: cls === null || cls === void 0 ? void 0 : cls.shortDesc
|
|
15160
|
+
};
|
|
15161
|
+
});
|
|
15153
15162
|
return {
|
|
15154
15163
|
data: enc,
|
|
15155
15164
|
coding: {
|
|
15156
15165
|
_id: enc._id,
|
|
15157
|
-
display: enc.
|
|
15166
|
+
display: enc.shortDesc
|
|
15158
15167
|
}
|
|
15159
15168
|
};
|
|
15160
15169
|
});
|
|
15170
|
+
returnData['ENCOUNTERCLASS'] = encounterClass;
|
|
15161
15171
|
returnData['ENCOUNTERTYPE'] = encounterRes;
|
|
15162
15172
|
}
|
|
15163
15173
|
|