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
incomplete_requests script includes reporter/authorisor info; new_national_code script patched to skip instances of requests where new referrer registered then amended on same day
refactored L::Utils::get_yaml to only require args needed for construction of path/to/yaml_dir/filename to remove duplication from components requiring a get_yaml_file() method (Controllers, Model & ScriptHelpers)
moved diagnosis_confirmation_required from Local::Utils to new Local::Role::DiagnosisConfirm - didn't belong in Utils class, and function now needs to access LIMS config to load yaml files dir dynamically depending on CENTRE env param
incomplete_requests.pl sets request status to complete for any requests with status = authorised and no outstanding tests and not requiring diagnosis confirmation; new daily new_referral_sources.pl cron
outreach charts don't plot unless 2 or more datasets; added find GP by practice function to outreach demographics; set permissions mode on all crons so svk revert on production doesn't revert to 644; set results summary to default open on report page - correctly this time
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()