An inline water trap including a filter component and a panel connector configured to interface with a patient gas monitor. In one embodiment the inline water trap indicates to the patient gas monitor that it is in place and that the patient gas monitor may begin intaking and analyzing the filtered patient sample. The inline water trap receives a patient sample and filters water and contaminants from the sample before allowing the remaining gas portion of the sample to pass through to the patient gas monitor, thereby protecting the patient gas monitor from damage. One embodiment of the inline water trap additionally contains an RFID tag to indicate to the patient gas monitor that the correct type of inline water trap is engaged.