lib/generator/observation_criteria.js.erb in hqmf2js-1.2.1 vs lib/generator/observation_criteria.js.erb in hqmf2js-1.3.0
- old
+ new
@@ -1,4 +1,4 @@
hqmfjs.<%= type %> = function(patient, initialSpecificContext) {
- return <%= js_for_precondition(criteria.preconditions()[0], 0, true) -%>;
+ return <%= js_for_precondition(criteria.preconditions()[0], 0, true) -%>(patient, initialSpecificContext);
};