def inclusive_length_of_stay?
      # lengthOfStay - EH111, EH108
      less_than_equal_los = attr_val('../cda:low/@nullFlavor') == 'NINF' &&
                            attr_val('../@highClosed') != 'false'

      greater_than_equal_los = attr_val('../cda:high/@nullFlavor') == 'PINF' &&
                               attr_val('../@lowClosed') != 'false'
      # Both less and greater require that the type is PQ
      (less_than_equal_los || greater_than_equal_los) && attr_val('@xsi:type') == 'PQ'
    end
def inclusive_length_of_stay?
      # lengthOfStay - EH111, EH108
      less_than_equal_los = attr_val('../cda:low/@nullFlavor') == 'NINF' &&
                            attr_val('../@highClosed') != 'false'

      greater_than_equal_los = attr_val('../cda:high/@nullFlavor') == 'PINF' &&
                               attr_val('../@lowClosed') != 'false'
      # Both less and greater require that the type is PQ
      (less_than_equal_los || greater_than_equal_los) && attr_val('@xsi:type') == 'PQ'
    end
Check whether the length of stay should be inclusive.