replaced results summary requesting of additional tests from additional_tests.yml to database tables - same as diagnosis generated tests; new static view results summary additional tests; moved auto-expand panels from yml to lab_sections table; redrafted additional_tests.t to work with changes to diagnosis & results summary requesting new tests
removed no warnings "XML::Simple" - caused error in XML::Simple < 2.21, replaced with remove_undef_values() sub and grepping only defined values in hash generation
added row counter to do_complete_selected_tests() so only 1st change of status to complete is logged in history file; split incomplete lab-tests display over new lines for genomics settings; added lab-test quick links; added some result-data-types links
new function to allow lab-test result entry to automatically set lab test status to complete - for genomics but adaptable to others; default 'no' for DB::LabSection has_labels; weekly notifications.pl sends message even when no data; patched screen.t to substitute datetime year for hard-coded lab-number yr value; modifications to specimen types and specimen field labels in admin section for genomics data; added genomics filters in data entry and display worklists
bugfix - failure to update request_result_summary timestamp col on result_summary update causing premature locking of records; action logged in request history when request status set to complete by incomplete_requests.pl or M::R::RequestUpdate::update_request_status; adapted incomplete_requests.pl to include status complete requests with diagnosis awaiting final diagnosis/review; ScriptHelpers::do_request_history renamed to log_diagnosis_alert to avoid conflict with M::R::HistoryAction method of same name; nav bar loads HMRN link if user has either view_outreach_data or edit_outreach_data permissions; L::Role::DiagnosisConfirm::diagnosis_confirmation_required hash of lab_sections renamed from %map to %required for clarity
aded ability to link lab tests; moved Moose attribute lab_test_map from M::Result to M::R::LabTestUpdate - also used by M::R::ResultUpdate, but relies on caller also loading M::R::LabTestUpdate; new test script to test linked lab-tests
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
fixed M::Result::update_results_summary() to reset history actions before running transaction to correct auto-incrementing 'reported' action for bcr-abl uploads; simplified generate_new_password() method
patched cgiapp_prerun to accept skip_redirect flag created during reset password using emailed link, so destination=change_password happens without re-direct; changed M::Roles::ResultsUpdate::history_params attr from lazy_build to std method - was not appropriate to have lazy_build & 'clear' for method called from within loop