UnitedHealth Group interview question

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