<<%= population_element_prefix(criteria_id) %>Criteria classCode="OBS" moodCode="EVN">
<%- if population_criteria.preconditions.present? && population_criteria.preconditions.length > 0 -%>
<%- population_criteria.preconditions.each do |precondition| -%>
<%= xml_for_precondition(precondition) %>
<%- end -%>
<%- else -%>
<%- end -%>
<%= population_element_prefix(criteria_id) %>Criteria>