validate secondary diagnosis to prevent duplication of primary diagnosis * leads to loss of duplicate diagnosis data on rendering of Rose object by template or as_tree() * rename ConstraintMethods 'check_eq_with' to 'check_vial_id' for consistency with 'check_secondary_diagnosis' validation method
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