ESdat LSPECS Header File Definition

30 August 2013
The latest version of this document can be downloaded from here
ESdat LSPECS Header File Definition
This header file is a small xml file that contains information about the Lab Report, and the key data related
on the request. In particular the “Project”, “SDG/COC Number”, “Request” and “Version” will need to
match the values provided by the client when submitting their Laboratory Request.
If these values are all correct, the laboratory report will match the request.
If the Project ID is recognised, but the other values are not, the lab report will still be imported for the
project, but will not be matched against a request.
Generating the Header file from a LIMS
Laboratories can choose to auto-generate the Header file from their LIMS (Laboratory Information
Management System). This documentation should be referred to during development.
A xsd file “eLabReport.xsd” is available here:
The content of the xml file with example data is as follows. Items in yellow will vary by laboratory report:
<?xml version="1.0" encoding="utf-8"?>
<ESdat generated="2013-08-16T08:09:51.278+10:00"
fileType="eLabResultsHeader"
schemaVersion="1.0.1"
xmlns="http://www.escis.com.au/2013/XML">
<LabReport Lab_Report_Number="EB1104927"
Date_Reported="2011-05-16"
Project_ID="ClientsProjectID "
Project_Number="LabProjectNumber"
Lab_Name="Lab1"
Lab_Signatory="John Brown">
<Associated_Files xmlns="http://www.escis.com.au/2013/XML/LabReport"/>
<Copies_Sent_To xmlns="http://www.escis.com.au/2013/XML/LabReport"/>
<eCoCs xmlns="http://www.escis.com.au/2013/XML/LabReport">
<eCoC
SDG_ID="489"
CoC_Number="Test MR 1 for_ALS_22/10/2012_1:00 PM">
<Lab_Requests>
<Lab_Request ID=”414” Number="1" Version="1"/>
</Lab_Requests>
</eCoC>
</eCoCs>
</LabReport>
</ESdat>
Definitions
Lab_Report_Number
Date Reported
Project_ID
Project_Number
Lab_Name
Lab_Signatory
Associated Files
Copies_Sent_To
SDG_ID
COC_Number
Lab Request ID
Lab Request Number
Lab Request Version
As identifies a lab report, assigned by the laboratory.
The date the Lab report was issued.
A Client Project ID as indicated on the electronic Request.
A Lab Project Number.
Free text, the name of the laboratory.
The lab contact who has signed off on the results.
A list of all the files that accompany this file. Optional.
A list of people who have been sent these results. Optional.
A unique ID as provided in the Request XML. Optional but preferred.
The SDG/COC Number indicated on the electronic Request.
A unique ID as provided in the Request XML. Optional but preferred.
As indicated on the electronic Request. The Lab Request Number will typically
be 1, unless a client makes a request for additional analyses against the same
Samples.
As indicated on the electronic Request. The Lab Request Version will typically
be 1, unless a client has made a mistake and wishes to alter the request.