var events = <%= criteria.derivation_operator %>( <%- criteria.children_criteria.each_with_index do |child, index| -%> <%= "hqmfjs.#{child}(patient, initialSpecificContext)" %><%= "," if index <%- end -%> ); <%- if criteria.variable -%> <%- if criteria.specific_occurrence -%> events.specific_occurrence = '<%= criteria.source_data_criteria%>'; <%- end -%> <%- end -%>