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
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
outreach charts don't plot unless 2 or more datasets; added find GP by practice function to outreach demographics; set permissions mode on all crons so svk revert on production doesn't revert to 644; set results summary to default open on report page - correctly this time
added _parse_data_val() function to C::Roles::Chart to return ::NoValue for null vals, so setGapColor() works as intended; moved make_chart logic from report/default.tt and record/body.tt to separate site/make_chart.tt; some tweaks to cron scripts
more patches to cron scripts - all date subtractions performed on a new time_now() object in ScriptHelpers::date_subtract(), NOT on the local object in case it's used again after the DT subtract() function performed
amended all cron scripts which used DateTime directly to use L::Local::Utils::time_now() instead, so time calculated correctly at day rollover (ie considers BST); patched Utils::time_now() to accept args for DT constructor (eg formatter)