test code for doctor notification code