Allscripts interview question

OOPS in advance.