def extract_code_list_path_and_result_value
      @template_ids.each do |t|
        # NOTE! (Adam 6/14): The following logic should absolutely be changed
        # when Bonnie CQL support goes production. The "try this then try
        # that" approach is an artifact of the template oids changing as of
        # MAT 5.3; we want to support measures exported using 5.3, but also
        # measures that were exported using previous versions of the MAT.

        # Try a lookup using the newer template oids.
        mapping = HQMF2CQL::ValueSetHelper.get_mapping_for_template(t)

        # If the new template oids didn't work, try a lookup using the older
        # template oids.
        mapping = HQMF2::ValueSetHelper.get_mapping_for_template(t)unless mapping

        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
      @template_ids.each do |t|
        # NOTE! (Adam 6/14): The following logic should absolutely be changed
        # when Bonnie CQL support goes production. The "try this then try
        # that" approach is an artifact of the template oids changing as of
        # MAT 5.3; we want to support measures exported using 5.3, but also
        # measures that were exported using previous versions of the MAT.

        # Try a lookup using the newer template oids.
        mapping = HQMF2CQL::ValueSetHelper.get_mapping_for_template(t)

        # If the new template oids didn't work, try a lookup using the older
        # template oids.
        mapping = HQMF2::ValueSetHelper.get_mapping_for_template(t)unless mapping

        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 any of the
 template ids (if multiple exist)