Measuring exacerbations in obstructive lung disease