In a frenzied medical drama, the limits and problems of the healthcare system became the basis of the show’s plot.