Major update to print run function: * print run returns single pdf instead of html page, to allow individual report page headers and numbers * avoided breaking section summaries across new page in report * moved report page numbering to footer.html * expanded horizontal space for "Amended report by" details * fixed error in PDF::WebKit->configure options format Other updates: * exempted print_run from Devel::Cycle code block in devel mode (already exempt in deployment) * debug() returns undef instead of '0' so .tt doesn't display return value * stopped logging process_size in QueryLog - was activated by script errors * moved notification about danger of using 2nd tab for record update to top of file * fixed time zone setting in new message notification log (was not allowing for BST) * fixed error in chart loading function, now only loads in required lab section instad of all Fix added 7th Nov: * added NCH PNH (PB) to turnaround times audit category (was included in PB category)
modified HMRN previous diagnoses list to only skip previous ICDO3 diagnoses if /3 or MGUS (not other /1 or /6); HMRN previous diagnosis list can retrieve records based on record id or patient.id; changed query_modifiers to an array instead of str in site/lab_number.tt; print report only highlights diagnosis if modified AFTER authorisation date
buxfix to print_run calculation of end_date - subtracted 1 min instead of 1 sec, so any relevant change to report in last minute of day would be ignored; added total count hidden field to print_run to allow calculation of last 'next 50' link
print_run only considers request_report.updated_at and not requests.updated_at which gets updated during unlock process; hilis3_convert History processes PID modifications for patient_edits table; added some retired GP's to hilis3_convert Referrers table
modified print_run to get initial calculation of total number of records requested, then present a list of smaller print runs if max print run size exceeded