Doctors have various ways to assess your health. For example, they measure your heart rate and blood pressure to indirectly assess your heart function, or straightforwardly test a blood sample for iron content to diagnose anemia. But there are plenty of situations in which that sort of monitoring just isn't possible.
To test the health of muscle and bone in contact with a hip replacement, for example, requires a complicated – and expensive – procedure. And if problems are found, it's often too late to truly fix them. The same is true when dealing with deep wounds or internal incisions from surgery.