@openmrs/ngx-formentry 3.0.1-pre.85 → 3.0.1-pre.87
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/bundles/openmrs-ngx-formentry.umd.js +8 -10
- package/bundles/openmrs-ngx-formentry.umd.js.map +1 -1
- package/esm2015/form-entry/helpers/historical-expression-helper-service.js +9 -11
- package/fesm2015/openmrs-ngx-formentry.js +8 -10
- package/fesm2015/openmrs-ngx-formentry.js.map +1 -1
- package/form-entry/helpers/historical-expression-helper-service.d.ts +1 -1
- package/package.json +1 -1
|
@@ -12734,18 +12734,16 @@
|
|
|
12734
12734
|
var HistoricalHelperService = /** @class */ (function () {
|
|
12735
12735
|
function HistoricalHelperService() {
|
|
12736
12736
|
}
|
|
12737
|
-
HistoricalHelperService.prototype.evaluate = function (expr, dataSources,
|
|
12737
|
+
HistoricalHelperService.prototype.evaluate = function (expr, dataSources, additionalScopevalues) {
|
|
12738
12738
|
var HD = new HistoricalEncounterDataService();
|
|
12739
12739
|
HD.registerEncounters('prevEnc', dataSources['rawPrevEnc']);
|
|
12740
|
-
|
|
12741
|
-
HD
|
|
12742
|
-
}
|
|
12743
|
-
|
|
12744
|
-
|
|
12745
|
-
|
|
12746
|
-
|
|
12747
|
-
if (typeof value !== 'undefined' && value !== null) {
|
|
12748
|
-
deps[o] = value;
|
|
12740
|
+
var deps = {
|
|
12741
|
+
HD: HD
|
|
12742
|
+
};
|
|
12743
|
+
if (additionalScopevalues) {
|
|
12744
|
+
for (var o in additionalScopevalues) {
|
|
12745
|
+
if (additionalScopevalues[o]) {
|
|
12746
|
+
deps[o] = additionalScopevalues[o];
|
|
12749
12747
|
}
|
|
12750
12748
|
}
|
|
12751
12749
|
}
|