The hospital leaned into Walmart's low margin, high volume approach to business and has found success.