Medbridge interview question

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