function to retrieve previous requests combined with get_single_request_data() so available to all views (search, results, report, etc); extended outstanding lab-tests display to unreported & unauthorised worklists
modified init_db to actually disconnect and return a new dbh; patient merge now handles patient notes - needs further work to handle demographics which are being deleted at present; switched log_process_size off