the invention presents techniques for identifying and guiding treatment for medical conditions , based upon the carbon dioxide concentration in the patient &# 39 ; s breath . in an exemplary application , the techniques of the invention may be used to distinguish obstructive lung disease from restrictive lung disease , even though the symptoms of the conditions are similar . the techniques of the invention may further be used to monitor the effectiveness of the treatment .