Skip to content

Commit

Permalink
Updated package version and created new browser.js after merge from m…
Browse files Browse the repository at this point in the history
…aster
  • Loading branch information
RohitKandimalla committed Feb 12, 2024
1 parent b211070 commit 0f322a9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions dist/browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,12 +122,14 @@ module.exports = class CalculatorHelpers {
}
if ('observation_values' in populationResults) {
// DENOM observation will be the first of 2 observations
populationResultsHandled.observation_values[1] = populationResultsHandled.observation_values[0];
populationResultsHandled.observation_values[0] = 0;
}
}
if (populationResults.DENEX != null && !this.isValueZero('DENEX', populationResults) && populationResults.DENEX >= populationResults.DENOM) {
if ('observation_values' in populationResults) {
// DENOM observation will be the first of 2 observations
populationResultsHandled.observation_values[1] = populationResultsHandled.observation_values[0];
populationResultsHandled.observation_values[0] = 0;
}
}
Expand Down Expand Up @@ -317,6 +319,7 @@ module.exports = class CalculatorHelpers {
});
}
}

if ((observationDefs != null ? observationDefs.length : undefined) > 0) {
// Handle observations using the names of the define statements that
// were added to the ELM to call the observation functions.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cqm-execution",
"version": "4.1.5",
"version": "4.1.6",
"description": "NPM module for calculating eCQMs (electronic clinical quality measures) written in CQL (clinical quality language).",
"main": "lib/index.js",
"scripts": {
Expand Down

0 comments on commit 0f322a9

Please sign in to comment.