bugfix - previous requests in screen, report, etc skipped any non-reported requests - fixed by making authorised_reports table a left join; fixed inability to delete trial & trial number in request edit - loads frozen data trial.id in absence of form input trial.id; 3411 tests pass
adapted bin/app.pl to take command-line args using getopts so port can be manually selected; added storage_racks.is_active col to syncona-14mg data feed
bugfix to M::History::_parse_patient_history_for_changes() - comparing original (NULL) & changed date vals caused uninitialized warning in DateTime module during auto-stringification, now vals are tested for existence (||= 'NULL') before comparison
changed HMRN::Data::hmrn() permissions to require edit_clinical_data as well as view_clinical_data, allowing simplification of HMRN permissions to edit_clinical_data OR view_clinical_data, not both
simplified layout of incomplete_requests.pl for clarity - easier to see what happens under ; bugfix to _get_authorised_requests() in incomplete_tests.pl where empty arrayref would kill query; minor adjustment to storage racks read_xtr_96.tt display
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