NCRS COSD script * use XML::LibXML & XML::Compile::Schema from xsd to allow ordered elements * alternative function to generate xml using Template - easier layout control * add xml validator * remove some invalid header text * change most nested elements to inline to match supplied (inconsistent) example * use Encoding::FixLatin 'fix_latin' on free-text entries (result summaries, clinical details) to avoid encoding problems (non-ascii characters in NBT reports) * supply -uft8 flag to IO::All to prevent 'wide character' warning * suspend TopographySNOMEDPathology item, they don't want it * replace hard-coded NHSNumberStatusIndicator with value relating to NHS number presence * only 1 of SampleCollectionDate / SampleReceiptDate * skip *EQAS records and single-character last_name's * skip anonymised clinical trials
* add utility scripts for extracting data from xl/csv files * remove default '0' from 2 request_storage cols for external scripts which omit these cols