ESdat Header File
ESdat Laboratory Report header file is a small xml file that contains information about the Laboratory Report.
It allows Laboratory Reports to be automatically imported into Projects or to be matched to a eRequest (eCoC) sent from LSPECS.
Updates to the Header File
The header file schema was extended in December 2020. The extended schema applies to ESdat Laboratory Data Formats 2e and 4. Key changes are:
- Laboratories can provide a comment that applies to the entire lab report in the Header file.
- Primary Recipient Org has been added and refers to the primary organisation the results are sent to.
- A lab report can be explicitly specified as ï¿½Preliminaryï¿½ or ï¿½Finalï¿½.
- Definitions for Laboratory Qualifiers can be entered, which allows laboratories to flag results with laboratory defined qualifiers and to provide clients with the meaning of those qualifiers.
Generating the Header file
Laboratories should auto-generate the Header file from their LIMS (Laboratory Information Management System).
A xsd file “eLabReport.xsd” is available here.
A sample xml file "eLabReport_sample.xml" is available here.
A validation tool for the xml files can be downloaded here.
The content of an xml file with example data is as below.
Values in yellow will vary by
<?xml version="1.0" encoding="utf-8"?>
Project_ID="Clients Project Number"
Project_Number="Labs Project Number"
Lab_Contact_Email="lab contact email for an error notification"
Comments="Laboratory Comment applicable to the entire laboratory report.">
<eCoC CoC_Number="Test MR 1 for_Lab1_22/10/2012">
<Lab_Request Number="1" Version="1"/>
<Lab_Qualifier Code="J+" Description="The analyte was positively identified; the associated numerical value is the approximate concentration of the analyte in the sample, and may have a potential positive bias. "/>
<Lab_Qualifier Code="J-" Description="The analyte was positively identified; the associated numerical value is the approximate concentration of the analyte in the sample, and may have a potential negative bias. "/>
||The date the Laboratory report was issued.
||A Client Project ID as indicated on the electronic Request..
||Valid values are "Preliminary" and "Final". This allows ESdat users to know if a lab report imported into ESdat is preliminary or the final report.
||The primary organisation the results are sent to. Often issued files are forwarded to clients or other organisations and this information allows the initial main receiving organisation of the data to be known.
||A Laboratory Project Number.
||Error reports will be sent to this email as well as to the sending email
||Free text, the name of the laboratory.
||The Laboratory contact who has signed off on the results.
||Comments made about the lab report, often made by the lab signatory.
||A list of all the files that accompany this file. Optional.
||A list of people who have been sent these results. Optional.
||The SDG/COC Number indicated on the electronic Request.
|Laboratory Request Number
||As indicated on the electronic Request. The Laboratory Request Number will typically be 1, unless a client makes a request for additional analyses against the same Samples.
|Laboratory Request Version
||As indicated on the electronic Request. The Laboratory Request Version will typically be 1, unless a client has made a mistake and wishes to alter the request.
View XSD file schema reference