amended new_referral_source.pl to examine request_history for changes to referral location to catch new locations 1st used when date of amendment != registration; patched activity_data script to use a branch-to-parent-practice map
reverted to original Text::CSV::Simple, but added new on_failure trigger with more explicit wanring - in Local::ExcelHandler; lantronix_socket has alter_admin function when data string appears corrupt - not working yet
C::Result::preview_datafile() callback function to load flow data PDF; moved @skip_orgs list from activity_data.pl & national_code_unknown.pl into cron settings.cfg
modified C::Patient::update_patient() to accept change of patient details for single records - NOT IMPLEMENTED YET - incomplete; patched error in M::Patient::update_patient() return hash; new teaching_cases cron; modified RXPB rules in activity_data cron
bugfixes - cannot use DateTime->now default in DB::Request for new request as DB classes loaded once so new request fails on turn of year unless server restarted; activity data requests without referral source list trial name if exists
incomplete_requests.pl sets request status to complete for any requests with status = authorised and no outstanding tests and not requiring diagnosis confirmation; new daily new_referral_sources.pl cron
added get_yaml_file() to ScriptHelpers; expanded null_nhs_numbers.pl to include all requests, and exempted clinical_trials section of nhs_numbers_exempt.yml
bugfixes to RequestUpdate::do_trial_number_update() - checks for patient/trial entry before trying to insert new one; unfixed_histology_samples.pl date range error