UnitedHealth Group Interview Question

How would you apply this coding question situation (from Codility) into a medical setting?