I’m going to assume you haven’t used many bits of medical equipment, because doing it for a job leads me to conclude that the software is more flakey than standard commercial software used day to day. Low sales volumes do not make for budgets high enough to support good debugging and development I guess.
I haven't worked in a medical lab (where our instruments were generally used). But I was a software developer for various medical devices for over 15 years and my conclusion was exactly the opposite: the software was far, far more robust than most commercial software.
It wasn’t radiology then (which would be the rough limit of my knowledge). PACs, MRI, CT, RIS, Angio gear, image intensifiers etc. All used over many years with weird glitches, reproducible errors including complete system crashes that take hours to get back and across several vendors.