bugfixes - new_request validation was broken by having 2 msg keys; fixed issue_diagnosis_revision_alert() in previous version caused test scripts to trigger messaging
exempted Outreach report from requesting additional tests based on diagnosis; modified M::R::ScreenUpdate::do_auto_screen() to add lab test details if configured for screening term
MAJOR CHANGES: search form uses jQuery watermark instead of dd-mm-yyyy display - changed date-field validation to accommodate; moved do_new_lab_test() method out of M::Role::ScreenUpdate to new M::Role::LabTestUpdate to share function with auto-requesting tests at diagnosis/authorissation; changed 'teaching' field to radio button in report page and changed handling of report_option fields in M::Roles::ReportUpdate::do_additional_options() - all request_options were being cleared during report stage; added updated_at timestamp field in M::Roles::ReportUpdate::do_request_report() to any unchanged request_report object to trigger mail_report.pl on authorised cases - were being missed as updated_at col was not being modified
reporting function issues diagnosis revision alerts; replaced all controller calls to authen->store->fetch('yooza_profile') and session->dataref->{UserProfile} with LIMS::user_profile() function; L::Local::Mail::_verify_service_status() requires 'devel' or 'prod' ROSEDB_DEVINIT flags to permit email sending
print report function calculates composite immunohistochemistry p21/p53 result; replaced M::Request::get_previous_diagnosis_count() with get_previous_diagnoses() to supply data instead of just count, replacing redundant previous_diagnosis_data from C::Report::load(); printed reports now display 'amended report' details and highlights changed diagnosis; QueryLog creates separate logfiles for dev server user, to avoid lack of write permissions if files opened by Apache user & also to avoid polluting production logs with dev data
patched C::Report::preview_report() to handle Outreach requests; refactored some M::Outreach code into new M::Roles::Outreach role for sharing between reporting function and followup option editing