Medbridge Interview Question

Please present a solution to this problem we're facing.