primary_care_admin_binder 0.1.55 → 0.1.56
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 +11 -4
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -11519,7 +11519,14 @@ var vitalsApplicableSlice$1 = vitalsApplicableSlice.reducer;
|
|
|
11519
11519
|
var query$9 = {
|
|
11520
11520
|
gender: "{\n \"db_name\": \"".concat(dbName$1, "\",\n \"entity\": \"CodeableConceptMaster\",\n \"sort\": \"document(CodeableConceptMaster.coding[0]).display\",\n \"filter\": \"CodeableConceptMaster.Type=='GENDER'\",\n \"return_fields\": \"MERGE(CodeableConceptMaster,{coding:(FOR cod IN CodeableConceptMaster.coding RETURN DOCUMENT(cod))})\"\n }"),
|
|
11521
11521
|
unitAllowed: "{\n \"db_name\": \"".concat(dbName$1, "\",\n \"entity\": \"VitalsMeasureCodes\",\n \"sort\":\"VitalsMeasureCodes.ObsValMeasCode\",\n \"filter\": \"VitalsMeasureCodes.activestatus==true && VitalsMeasureCodes.status==true\",\n \"return_fields\": \"VitalsMeasureCodes\"\n }"),
|
|
11522
|
-
referenceUnitAllowed:
|
|
11522
|
+
// referenceUnitAllowed: `{
|
|
11523
|
+
// "db_name": "${dbName}",
|
|
11524
|
+
// "entity": "CodeableConceptMaster",
|
|
11525
|
+
// "sort": "document(CodeableConceptMaster.coding[0]).display",
|
|
11526
|
+
// "filter": "CodeableConceptMaster.Type=='VITALSUOM'",
|
|
11527
|
+
// "return_fields": "MERGE(CodeableConceptMaster,{coding:(FOR cod IN CodeableConceptMaster.coding RETURN DOCUMENT(cod))})"
|
|
11528
|
+
// }`,
|
|
11529
|
+
referenceUnitAllowed: "{\n \"db_name\": \"".concat(dbName$1, "\",\n \"entity\": \"CodingMaster\",\n \"filter\": \"CodingMaster.Type == 'VITALSUOM' && CodingMaster.status == true && CodingMaster.activestatus == true\",\n \"return_fields\": \"KEEP(CodingMaster,'_id','id','_key','code','display','Type','status','shortdesc','longdesc','activestatus')\",\n \"sort\": \"CodingMaster.display\"\n }"),
|
|
11523
11530
|
ageRanges: "{\n \"db_name\": \"".concat(dbName$1, "\",\n \"entity\": \"AgeRanges\",\n \"filter\": {\n \"AgeRanges\":\"AgeRanges.activestatus==true \"\n },\n \"return_fields\": \"{'AgeRangesDtl':AgeRanges,'AgeCategoryDtl':DOCUMENT(AgeRanges.AgeCategory)}\"\n }"),
|
|
11524
11531
|
ageCategory: function ageCategory(ageRangeId) {
|
|
11525
11532
|
return {
|
|
@@ -11821,8 +11828,8 @@ var REFERENCE_UNIT_ALLOWED = createAsyncThunk("vitalsMasterSectionApiSlice/refer
|
|
|
11821
11828
|
arr = [];
|
|
11822
11829
|
data && data.result.map(function (val) {
|
|
11823
11830
|
arr.push({
|
|
11824
|
-
value: val._id,
|
|
11825
|
-
label: val
|
|
11831
|
+
value: val === null || val === void 0 ? void 0 : val._id,
|
|
11832
|
+
label: val === null || val === void 0 ? void 0 : val.display
|
|
11826
11833
|
});
|
|
11827
11834
|
});
|
|
11828
11835
|
return _context2.abrupt("return", _objectSpread2(_objectSpread2({}, defaultState.List), {}, {
|
|
@@ -35110,7 +35117,7 @@ var query$2 = {
|
|
|
35110
35117
|
return {
|
|
35111
35118
|
"db_name": "".concat(dbName$1),
|
|
35112
35119
|
"entity": "Diagnosis",
|
|
35113
|
-
"filter": "Diagnosis.levelnumber ==
|
|
35120
|
+
"filter": "Diagnosis.levelnumber == ".concat(level, " && Diagnosis.activestatus == true"),
|
|
35114
35121
|
"return_fields": "Diagnosis",
|
|
35115
35122
|
"sort": "Diagnosis.icdname"
|
|
35116
35123
|
};
|