Before revision:  The solution presented in this work was implemented in the AioCare mobile spirometry system .
After revision:  The solution presented in this work is the first description of the automatic cough detection algorithm based totally on the air flow signals and the first cough detection implemented in the AioCare mobile spirometry system .