Diaphragmatic spasm can refer to: