Hospitals and insurers are buying doctors’ practices, and patients are landing in pricier settings. What to check before you schedule care.