On the diagnosis and treatment of acute respiratory insufficency in neurologic and psychiatric diseases