def extract_code_list_path_and_result_value
      if @template_ids.empty? && @specific_occurrence
        template = @entry.document.at_xpath(
          "//cda:id[@root='#{@source_data_criteria_root}' and @extension='#{@source_data_criteria_extension}']/../cda:templateId/cda:item/@root")
        if template
          mapping = ValueSetHelper.get_mapping_for_template(template.to_s)
          handle_mapping_template(mapping)
        end
      end
      @template_ids.each do |t|
        mapping = ValueSetHelper.get_mapping_for_template(t)
        handle_mapping_template(mapping)
        break if mapping # quit if one template id with a mapping has set these values
      end
    end
def extract_code_list_path_and_result_value
      if @template_ids.empty? && @specific_occurrence
        template = @entry.document.at_xpath(
          "//cda:id[@root='#{@source_data_criteria_root}' and @extension='#{@source_data_criteria_extension}']/../cda:templateId/cda:item/@root")
        if template
          mapping = ValueSetHelper.get_mapping_for_template(template.to_s)
          handle_mapping_template(mapping)
        end
      end
      @template_ids.each do |t|
        mapping = ValueSetHelper.get_mapping_for_template(t)
        handle_mapping_template(mapping)
        break if mapping # quit if one template id with a mapping has set these values
      end
    end
Extract the code_list_xpath and the criteria's value from either the location related to the specific occurrence,
 or from any of the template ids (if multiple exist)