simplified turnaround_times_specimen query; patched report/report.tt to test for use of authorisation status when displaying 'confirm final diagnosis' checkbox (for Bristol)
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
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
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
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
excluded exempt nhs number categories from M::Audit::nhs_number_supplied(); changed M::R::DBIxSimple::constraint (Str) to ::constraints(Array) to handle multiple constraints; included a skip list in mail_reports.pl; placed constraints list in forms in toggleviw container
fixed Dispatch error_document - was passed in args_to_new by mistake; added 500.html error document for Apache; added new 500 error test to Resources/Test