patched pack_dispatches query to return 0 for NULL section_data_count to avoid tt undefined value error; patched _autoinflate_dates() to handle zero values (ie false but still defined); changed method of formatting year from String plugin - test script can't handle it; new test script to grep 'current pack status' content for all patients
first commit for adaptation to use HILIS4 export database - replaced D2::Plugin::Database with Local::DB, uses HILIS to print report, uses HILIS patient.id as username, enabled querylogger output to console, amended pack.tt logic to handle 'live' situations
removed code block to retrieve results from outreach db - not using it for demo; removed redundant patient_edit.tt - function performed by ajax now; query for new HILIS4 method to retrieve most recent request_id for logged-in user
set development Email::Sender transport to Mbox; highlight changes in patient demographics email; set keyword 'fail' in email param to trigger email failure message; success message to form replaces rather than appends to previous message(s)