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
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
added ability to close record without triggering amended report, to allow archived records to have new tests requested (eg DNA extraction) without triggering new report generation
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
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
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
added datetime specimen taken to registration and print_view pages; removed CPA icon from report display (interferes with messaging lionks); changed colours on additional comments display
removed request_gross_description from app; added request_secondary_diagnosis definition; replaced underscores with spaces in history display; morphology and comment optional displays in request summary view; more tests in report.t
refactored request_report table again - replaced 'vertical' request_specimen_detail and request_report_detail tables with conventional 1-2-1 mapping with request table