Spending money is what drives the economy. No diverse expensive healthcare software means thousands of employees don't get paid and don't spend earned money within the economy.
How can it stimulate the economy? That's just lack of consideration of cost of opportunity. Hospitals paying for more of similar software is hospitals not paying for something else that could actually improve care.
"Broken windows" can help to jumpstart a stalled economy, that exists in a state of depressed spending. In modern economies, this state is immediately apparent when the interest rate goes down to near zero.
E.g. the US in 2008. Or Europe and the US in 1930.
The fallacy is not that it doesn't create work or money circulation, it's that you are taking money and forcing it to be spent badly. The $100 someone spends on a windows you broke would've spent better spent on literally anything. And if it's not being spent, there's a reason for that as well.
To bring things back to the original point, there's always a way for health centers to spend money improving patient care. They could hire more nurses and give the existing ones more sleep, for example. In the context of the analogy, a broken window is diverting resources from the broken plumbing and refrigerator motor instead of creating an incentive to spend where none existed.