changed method of calculating outstanding tests in C::R::RecordHandler::_get_outstanding_tests() to avoid using format_raw_lab_test_data() which triggered error in C::Screen::_load_initial_screen_data() which didn't load C::R::ResultHandler where format_raw_lab_test_data() lives - derive data directly from raw_lab_test_data now
consolidated separate get_ontstanding_tests logic into single method call from get_single_request_data(); guest users see 'has lab tests pending' on summary page
moved _get_outstanding_tests() from C::Report to C::R::RecordHandler for sharing with printing and displaying report; moved all additional comments, errors, etc to common section at foot of body of printed report
trivial change to C::Test::test_error(); ErrorHandler only sends email if ROSE_DEVINIT set to production db; mail_reports.pl retrieves request data object stashed in RecordHandler::_format_report() instead of calling Request model again - can now introduce skip rules eg on screening term if required
enabled bcr-abl auto-reporting function; added patient address to list of fields anonymised in emailing report to non-secure address; changed sessions & email_contacts tables to InnoDB following MyISAM corruption after system crash
added USE_FILE_SESSIONS flag to C::R::RecordHandler::_format_report() for use in chart url if called via cron, to force file sessions instead of creating new db session
bugfixes to C::Roles::RecordHandler - moved request_data stash from anonymise_report() to _format_report() as it's required by both methods; truncated 'action' string to 255 chars if greater
allowed emailing of anonymised reports to non-secure contact address - moved check_email_is_valid() from validation class to C::Request::_check_secure_recipient(); request log view/print links hidden from external user - caused confusion
added ability of reporter to amend own record before authorisation; retrieval of possible previous patient matches in screen/report pages uses same algorithm as HILIS3; re-formatted referrer field output in ppm_and_results
modified M::Audit::turnaround_times() and more chart functions to accept arrayref of screening terms; modified C::R::SessionStore::session_store() request_options data format (was incorrect format); bugfixes to M::Roles::RequestUpdate::do_trial_number_update(), MRRU::do_request_options_update(), MRRU::do_request_consent_update() and M::Patient::merge_patients()