retired 'Outreach' screening term and replaced with separate outreach categories (ready to switch off auto-screening Outreach); stopped retrieveing outreach data in C::Report::outreach as it's (re)fetched in downstream load() function; defined pnh, hiv, outreach & molecular screening terms as global vars in Model::Audit - easier to amend categories; new simple SQL search field Request Notes
bugfix to nhs_number compliance audit - query required rquest to be in clinical trial - should be 'trial_name IS NULL OR trial_name NOT IN (..)'; added summary section to dashboard request status
adjusted M::Audit::_lab_test_data() to return timestamps instead of dates for lab_test_audit.pl script - does not affect lab test turnaround times resource
new lab-test audit script; moved common M::Audit::turnaround_times_lab_tests() functions into M::Audit::_lab_test_data() for share with new lab_test_turnaround_export() function; lab test turnaround times sets correct start time of tests auto-requested at registration (eg histology stains), previously assumed to be at screening; M::Roles::Query::_set_search_constraints() accepts DateTime objects for date_from & date_to params
moved Spreadsheet::WriteExcel::Simple function in Audit M & C classes to Local::Excelhander::generate_spreadsheet(); mail_reports.pl includes filename in stdout to identify potential report failures in cron.log
added lab-tests signed-off to Resources audit section; added results summary updates to ppm & results server feed; results summary textbox & select entries joined by new-line not semi-colon
standardised all Model classes using Moose to read 'extends' then 'with'; moved M::R::ReportUpdate::_do_additional_tests to M::R::LabTest::Update::auto_request_additional_tests() for sharing with M::R::ResultsUpdate::do_results_summary_update() so result summary input can auto-request new lab tests - required reconfiguration of additional_tests.yml; changed order of result summary drop-down and textbox entries when joined to form single string
replaced loading of Local::DBIxSimple in individual model classes with single loading in Model::Base; renamed DBIxSimple::get_meta to dbix_get_meta to avoid clash with Model::Base::get_meta (now renamed get_meta_data); fixed report.t - new method report_diff replaced comment
logic to determine whether to set request status to complete considers result summary datetime relative to authorisation datetime; replaced io unlink() with system unlink in render_pdf - was giving occasional errors; replaced M::Base::does_authorisation method with Moose attr to save repeat db queries; fixed oversight in _archive_report_details() causing history log to record amended specimen_date at every authorisation; gallium_data.pl checks for comment field to prevent fatal error; more report_status.t tests to test for status change on delayed result summary entry