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
split outreach charts into 2 to accomodate CML outreach; added better date handling routine for charts; changed auto-screening handling of specimen code for CML outreach requests; bugfixes to HMRN to remove legacy 'chronologies' table entries; removed redundant code/queries for error_codes.pl script
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
integrated date_contraints.tt with user stats; chnaged outreach interim report to show diagnosis & comment when authorised, not just reported; ScriptHelpers::mail_admin() accepts 'subject' arg
MAJOR CHANGE: moved sql_lib() from M::Base to new M::Role::Query; moved all M::R::QueryFormatter methods into M::R::Query; removed sql_lib() from ScriptHelpers - using new M::Roles::Query method; removed lims_dbix() from M::Base - now loaded via M::Role::DBIxSimple on demand; moved get_sql_with_constraint() from M::R::DBIxSimple to M::R::Query; method gets dbh from lims_db not lims_dbix in M::LabSection::update_lab_sections() & M::Specimen::update_specimens(); added elements() to Local::QueryLibrary
simplified turnaround_times_specimen query; patched report/report.tt to test for use of authorisation status when displaying 'confirm final diagnosis' checkbox (for Bristol)