for UCLH: arranged sort order of previous records by registration date then lab number - done by Perl sort function as RDBO forces t1.id 1st if using DATE(requests.created_at) in sort options
simplified generation of participant id - moved patient_case_id lookup into main requests query, skipped patient_case_id field when creating %required_fields; updated genomics.t so tests pass
genomics participant id only created/updated if record screened and unit number still at default UNKNOWN, previously had to lookup unit number every time
patched genomics_xml.pl to update unit number with participant id at any time, not just within of screening, in case of script error on 1st run after screening, in which case opportunity for unit number update lost
bugfixes a) auto-vivification in genomics_xml.pl, b) auto-vivification didn't cause validation failure in xml_validate.pl as params validated after xml created - changed to same order as in genomics_xml.pl; applied same fix as genomics_xml.pl to return value from validate_params() in xml_validate.pl
bugfix: genomics_xml validate_params always returned arrayref (so evaluated to true) even when empty; changed new_user.tt group_label to group_name for case-insensitivity of 'guest' user; field name change for genomics
moved xtr_96 dummy data to Roles::Storage; adapted xtr-96 functions to handle 24, 48 or 96 well racks - controller supplies dimensions toi .tt to draw table; changed configurdation for ftp_file() method to use cwd if supplied and ability to override binary mode; syncona-14mg script logs datetime; new genomics xsd after field changes; disabled some labels in genomics cancer blood SLF
new barcodes function; re-arranged get_object_by_param() to accept simpler 2-element args (then didn't use it for barcodes function); bugfix to genomics xml validator & generator scripts - method of camelcasing section_name altered original array after 1st cycle of loop; EQA samples flagged as ST for billing; extended xsd for cancer dataset
added request.id & patient_case.id to registration_search to override precedence given by RDBO; updated xml generation & validation with changes for cancer dataset - should still work for rare diseases
provided direct link from results page to worklist for individual test status changes; prevented file deletion in genomics_xml.pl if ftp server returns error