No direct experience here, but afaik the solution is strict hygienic standards, constant testing and isolation of positive cases.
EDIT:// I am no doctor but did work in Hospitals. Doctor friends working in ER are telling me about those dangers. And also bigger Hospitals have less control about it.
[1] https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10263350/
HARI: Hospital-associated antibiotic-resistant infections
That's the goal.