Tā zài zhùyuàn qījiān búxìng fāshēng le yīyuàngǎnrǎn.
She unfortunately contracted a hospital-acquired infection while hospitalized.
Tips
usage
Often abbreviated 院感 (yuàngǎn) in medical-administrative jargon. Hospitals have a 院感科 department responsible for monitoring and preventing such infections.