separated validation profiles for new user created by a) copy/paste application message and b) user manager - username param now handled differently; 6 new tests for duplicate user first & last names
separated parsing of new user form params from creation of unique username; removed username from param validation as it's now generated and validated inside the new user function; validation fails on duplicate full name; new username only generated after successful param validation; appends unique numbers on auto-generated username until it is unique; TODO: editing existing user requires adjustment to validation function
added ability for user to update report status (new/all) for report notifications; request_details (clinical details field) is an optional or required field delegated to config; mail_rports.pl now replaced by email_reports for UCLH & Leeds; preserve line-breaks for patient notes display
adapted email_contacts table to accept department code and report status values (setup/schema/email_reports.sql); redesigned mail_reports.pl -> email_reports.pl to allow multiple departments per hospital/organisation (not supported by mail_reports), and department and report status info now derived from email_contacts tbl, not hard-coded into script; reverted referrer_department => {updated some tests with year change or change of html tag
2 unimplemented changes a) delete patient with request if no other associated requests - delayed pending review of conseqeunces for Outreach/HMRN, etc b) message 'from' header change to prevent blocking due to non-existant leedsth.nhs.uk domain - pending confirmation of receipt from some sources; added epithelial tumour to histopathology notifications; Comodo secure seal on login page
moved storage vial deletion validation to DFV method and added 'reason for deletion' form field; added centre id to mail_reports.pl cron log entry; ppm_and_results.pl uses IPC::System::Simple to capture more explicit tar error (was returning 'cannot stat file' msg without script name & location info); added inadequate unfixed specimen to weekly notifications
bugfix: failing datetime validation using placeholder 'min' in IE11; storage module expands hidden fields (volume, etc) for plasma samples; attempt to supply valid 'from' address for messages addressed to leeds.ac.uk - still not working
added username validation to admin new user function; added specimen type to trial cases alert; revised genomics schema to reclaim unused sections & tests
provided direct link from results page to worklist for individual test status changes; prevented file deletion in genomics_xml.pl if ftp server returns error