def handle_derived_specific_occurrence_variable
      # If the first child is all the exists, and it has been marked as a "group" element, switch this over to map to
      # the new element.
      if !@data_criteria_references["GROUP_#{@children_criteria.first}"].nil? && @children_criteria.length == 1
        @children_criteria[0] = "GROUP_#{@children_criteria.first}"
      # If the group element is not found, extract the information from the child and force it into the variable.
      elsif @children_criteria.length == 1 && @children_criteria.first.present?
        reference_criteria = @data_criteria_references[@children_criteria.first]
        return if reference_criteria.nil?
        duplicate_child_info(reference_criteria)
        @children_criteria = reference_criteria.children_criteria
      end
    end
def handle_derived_specific_occurrence_variable
      # If the first child is all the exists, and it has been marked as a "group" element, switch this over to map to
      # the new element.
      if !@data_criteria_references["GROUP_#{@children_criteria.first}"].nil? && @children_criteria.length == 1
        @children_criteria[0] = "GROUP_#{@children_criteria.first}"
      # If the group element is not found, extract the information from the child and force it into the variable.
      elsif @children_criteria.length == 1 && @children_criteria.first.present?
        reference_criteria = @data_criteria_references[@children_criteria.first]
        return if reference_criteria.nil?
        duplicate_child_info(reference_criteria)
        @children_criteria = reference_criteria.children_criteria
      end
    end
Handle elements that are marked as variable groupers that should not be turned into a "holding element"
 (defined as a data criteria that encapsulates the calculation material for other data criteria elements,
 where the other data criteria elements reference the holding element as a child element)