def basic_setup
      @status = attr_val('./*/cda:statusCode/@code')
      @id_xpath = './*/cda:id/@extension'
      @id = "#{attr_val('./*/cda:id/@extension')}_#{attr_val('./*/cda:id/@root')}"
      @comments = @entry.xpath("./#{CRITERIA_GLOB}/cda:text/cda:xml/cda:qdmUserComments/cda:item/text()",
                               HQMF2::Document::NAMESPACES).map(&:content)
      @code_list_xpath = './*/cda:code'
      @value_xpath = './*/cda:value'
      @is_derived_specific_occurrence_variable = false
      simple_extractions = DataCriteriaBaseExtractions.new(@entry)
      @template_ids = simple_extractions.extract_template_ids
      @local_variable_name = simple_extractions.extract_local_variable_name
      @temporal_references = simple_extractions.extract_temporal_references
      @derivation_operator = simple_extractions.extract_derivation_operator
      @children_criteria = simple_extractions.extract_child_criteria
      @subset_operators = simple_extractions.extract_subset_operators
      @negation, @negation_code_list_id = simple_extractions.extract_negation
    end
def basic_setup
      @status = attr_val('./*/cda:statusCode/@code')
      @id_xpath = './*/cda:id/@extension'
      @id = "#{attr_val('./*/cda:id/@extension')}_#{attr_val('./*/cda:id/@root')}"
      @comments = @entry.xpath("./#{CRITERIA_GLOB}/cda:text/cda:xml/cda:qdmUserComments/cda:item/text()",
                               HQMF2::Document::NAMESPACES).map(&:content)
      @code_list_xpath = './*/cda:code'
      @value_xpath = './*/cda:value'
      @is_derived_specific_occurrence_variable = false
      simple_extractions = DataCriteriaBaseExtractions.new(@entry)
      @template_ids = simple_extractions.extract_template_ids
      @local_variable_name = simple_extractions.extract_local_variable_name
      @temporal_references = simple_extractions.extract_temporal_references
      @derivation_operator = simple_extractions.extract_derivation_operator
      @children_criteria = simple_extractions.extract_child_criteria
      @subset_operators = simple_extractions.extract_subset_operators
      @negation, @negation_code_list_id = simple_extractions.extract_negation
    end
Handles elments that can be extracted directly from the xml. Utilises the "BaseExtractions" class.