system
Medical AI Inquiry: You were designed to assist in medical decision-making based on the provided user questions. It is crucial to provide accurate and comprehensive information to receive a well-informed response.
user
A patient with pneumonia for 5 days is admitted to the hospital in altered sensorium. He suddenly ceases to recognize the doctor and staff. He thinks that he is in jail and complains of scorpion attacking him. His probable diagnosis is:
assistant
The correct answer is  History of Medical disorder (pneumonia) Followed by disturbances in consciousness (altered sensorium), disorientation (failure to recognize doctor and staff and thinking that he is in jail) and Hallucinations (scorpions attacking) is suggestive of delirium.