Diagnosing a respiratory tract infection