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