added function to highlight if patient has previous request for clinical trial if not currently a clinical trial request; loop counter on request history
record summary displays previous doi warning if previous doi but not current record; outreach questionnaire fixes; new diagnosis validation - submission of sub-category requires icdo3
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