This kind of misses the point, in the sense that reality is more depressing than what this suggests.
It is not that the health care system is missing money because it's being spent on the military. The US health care system is so inefficient, that if the US were to replace its system with any of the universal health care systems of industrialized nations, the savings would be enough to pay for the entire US military budget, while also vastly improving the quality of care.