lib/generator/derived_data.js.erb in hqmf2js-1.1.0 vs lib/generator/derived_data.js.erb in hqmf2js-1.2.0
- old
+ new
@@ -1,5 +1,5 @@
var events = <%= criteria.derivation_operator %>(
<%- criteria.children_criteria.each_with_index do |child, index| -%>
- <%= "hqmfjs.#{child}(patient)" %><%= "," if index<criteria.children_criteria.length-1 %>
+ <%= "hqmfjs.#{child}(patient, initialSpecificContext)" %><%= "," if index<criteria.children_criteria.length-1 %>
<%- end -%>
);