fixed M::Request::get_new_and_relapsed_cases() to correctly handle org_code as scalar or arrayref; simplified print-run section to retrieve request ids from excluded locations; refactored & speeded up some slow audit queries
patched M::Request::get_print_run_request_ids() to pass 'sort_by' to _print_run_restricted(), and cloned args to prevent RDBO modification of original hashref 'sort_by' param persisting
changed print-run model logic to speed up slow initial request count - separated restrictions on locations into a separate query in M::Request::get_print_run_request_ids()
added new function to require confirmation when reporting with outstanding test results; moved C::Report::_get_requested_tests() to C::Roles::ResultHandler; converted some template data objects to as_tree hashrefs to prevent db lookups when empty; fixed some tests to comply with new confirm_outstanding_results flag
minor re-arrangement in M::Result::get_section_lab_test_results(); switched new_referral_source and new_referrers scripts JUST_TESTING flag on and switched new_national_code JUST_TESTING off
patched C::Result::do_export_test_results() to only split $vars{category_id} if var supplied; added specimen type and result summary to export test results function; added specimen to unscreened.pl script
patched new_national_code.pl to use other CfH data files if location not found in hospital or practice lists; patched activity_data.pl to set Outreach requests to ST code
refactored user_workload to allocate 1 unit per request, not 1 unit per specimen; added totals and percentages cdata to user_workload; moved user_workload query back to RDBO from dbix
removed link to survey from 'home' page & added info about cookies; moved blank label control to yml file for immunocytochemistry labels; adjusted popup + chart dimensions for outreach params; replaced decimal = 3 with sigfigs = 3 in outreach charts; initial changes to lantronix script to accomodate 1-2-many request results for haem data