A system and method of monitoring a patient, that in one embodiment, comprises determining a flow of gas generated by respiration of the patient, identifying a respiratory event entry and a respiratory event exit based on the flow of gas generated by respiration of the patient, and identifying a respiratory event when the identification of the respiratory event entry is followed by the identification of respiratory event exit.