def inclusive_temporal_ref?
      # FIXME: NINF is used instead of 0 sometimes...? (not in the IG)
      # FIXME: Given nullFlavor, but IG uses it and nullValue everywhere...
      less_than_equal_tr = attr_val('../@highClosed') == 'true' &&
                           (attr_val('../cda:low/@value') == '0' || attr_val('../cda:low/@nullFlavor') == 'NINF')
      greater_than_equal_tr = attr_val('../cda:high/@nullFlavor') == 'PINF' &&
                              attr_val('../cda:low/@value')
      # Both less and greater require lowClosed to be set to true
      (less_than_equal_tr || greater_than_equal_tr) && attr_val('../@lowClosed') == 'true'
    end
def inclusive_temporal_ref?
      # FIXME: NINF is used instead of 0 sometimes...? (not in the IG)
      # FIXME: Given nullFlavor, but IG uses it and nullValue everywhere...
      less_than_equal_tr = attr_val('../@highClosed') == 'true' &&
                           (attr_val('../cda:low/@value') == '0' || attr_val('../cda:low/@nullFlavor') == 'NINF')
      greater_than_equal_tr = attr_val('../cda:high/@nullFlavor') == 'PINF' &&
                              attr_val('../cda:low/@value')
      # Both less and greater require lowClosed to be set to true
      (less_than_equal_tr || greater_than_equal_tr) && attr_val('../@lowClosed') == 'true'
    end
Check whether the temporal reference should be marked as inclusive