Major update to print run function: * print run returns single pdf instead of html page, to allow individual report page headers and numbers * avoided breaking section summaries across new page in report * moved report page numbering to footer.html * expanded horizontal space for "Amended report by" details * fixed error in PDF::WebKit->configure options format Other updates: * exempted print_run from Devel::Cycle code block in devel mode (already exempt in deployment) * debug() returns undef instead of '0' so .tt doesn't display return value * stopped logging process_size in QueryLog - was activated by script errors * moved notification about danger of using 2nd tab for record update to top of file * fixed time zone setting in new message notification log (was not allowing for BST) * fixed error in chart loading function, now only loads in required lab section instad of all Fix added 7th Nov: * added NCH PNH (PB) to turnaround times audit category (was included in PB category)
* fixed potential to update incorrect record if incomplete updates performed in 2 browser tabs. Fix invloves comparing expected request id with session-stored request id * new patient_case_edit.t test to test for above scenario - exempted test harness from stderr output * fixed genomics.t - required adapting lab tests to new schema (rare disease + cancer) * placed trend analysis charts inside bootstrap accordion blocks for more compact presentation
bugfixes - removed gross description from FISH worksheets; tested for presence of specimen date in session_store_request_edit_data(); hid morphology if authorisation request
patched C::Patient::_personal_demographic_service() to supply flag for tt to skip PDS lookup for edits to anonymised patients (HIV, etc); combined some SessionStore methods into generic session_store_hashref() method
changed user workload stats methods to store data in session to speed up chart generation, also changed (broken) RDBO method to dbix method - results should be correct now; quinitiles data bugfixes
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()