eSRN file schema definition
Table of Contents
Target Namespace
|
http://www.escis.com.au/2013/XML/SRN
|
Element and Attribute Namespaces |
- Global element and attribute declarations belong to this schema's target namespace.
- By default, local element declarations belong to this schema's target namespace.
- By default, local attribute declarations have no namespace.
|
Schema Composition |
- This schema imports schema(s) from the following namespace(s):
- http://www.escis.com.au/2013/XML (at ESdatFileType.xsd)
|
Documentation |
When importing eCoC files and upon receiving the physical samples, the lab is expected to generate an eSRN (electronic sample receipt notification), containing all the information relative to the received samples.
This file should then be sent to LSPECS (by sending it as an email attachment to the designated LSPECS email address), that will match this information against the expected data (the eCoC entered previously in the system)
and alert the users to any discrepancies (in example: missing samples, missing containers…).
|
Declared Namespaces
Prefix |
Namespace |
xml
|
http://www.w3.org/XML/1998/namespace |
xsi
|
http://www.w3.org/2001/XMLSchema-instance |
xs
|
http://www.w3.org/2001/XMLSchema |
local
|
http://www.escis.com.au/2013/XML/SRN
|
Schema Component Representation
<
xs:schema attributeFormDefault="
unqualified"
elementFormDefault="
qualified"
targetNamespace="
http://www.escis.com.au/2013/XML/SRN">
<xs:import namespace="http://www.escis.com.au/2013/XML" schemaLocation="ESdatFileType.xsd"/>
...
</
xs:schema>
Super-types: |
None |
Sub-types: |
None |
Name |
Additional_Contacts |
Abstract
|
no |
Documentation |
Collection of additional client contacts.
All contacts will be notified of the reception of the eSRN and the eLabReport form the lab depending on the attribute flags.
|
Schema Component Representation
<
xs:complexType name="
Additional_Contacts">
<
xs:sequence>
<
xs:element name="
Contact"
type="
local:Contact"
minOccurs="
0"
maxOccurs="
unbounded"/>
</
xs:sequence>
</
xs:complexType>
Super-types: |
None |
Sub-types: |
None |
Name |
Analysis_Group |
Abstract
|
no |
Documentation |
First level of the hierarchy in terms of analysis organisation.
One analysis group can contain one or many suites.
|
XML Instance Representation
<...
WasSelectedAtThisLevel="xs:boolean [1] ?" Name="xs:string [1] ?" Description="xs:string [0..1] ?">
</...>
Schema Component Representation
<
xs:complexType name="
Analysis_Group">
<
xs:sequence>
</
xs:sequence>
<
xs:attribute name="
WasSelectedAtThisLevel"
type="
xs:boolean"
use="
required"/>
<
xs:attribute name="
Name"
type="
xs:string"
use="
required"/>
<
xs:attribute name="
Description"
type="
xs:string"
use="
optional"/>
</
xs:complexType>
Super-types: |
None |
Sub-types: |
None |
Schema Component Representation
<
xs:complexType name="
Analysis_Groups">
<
xs:sequence>
<
xs:element name="
Analysis_Group"
type="
local:Analysis_Group"
maxOccurs="
unbounded"
minOccurs="
0"/>
</
xs:sequence>
</
xs:complexType>
Super-types: |
None |
Sub-types: |
None |
Schema Component Representation
<
xs:complexType name="
Analysis_Request">
<
xs:sequence>
</
xs:sequence>
</
xs:complexType>
Super-types: |
None |
Sub-types: |
None |
Schema Component Representation
<
xs:complexType name="
Analysis_Requests">
<
xs:sequence>
</
xs:sequence>
</
xs:complexType>
Super-types: |
None |
Sub-types: |
None |
XML Instance Representation
<...
WasSelectedAtThisLevel="xs:boolean [1] ?" Name="xs:string [1] ?" ESdat_Code="xs:string [1] ?" Unit="xs:string [1] ?" Detection_Limit="xs:decimal [0..1] ?" Quatitiation_Limit="xs:decimal [0..1] ?" Quantitiation_Limit="xs:decimal [0..1] ?"/>
Schema Component Representation
<
xs:complexType name="
Analyte">
<
xs:attribute name="
WasSelectedAtThisLevel"
type="
xs:boolean"
use="
required"/>
<
xs:attribute name="
Name"
type="
xs:string"
use="
required"/>
<
xs:attribute name="
ESdat_Code"
type="
xs:string"
use="
required"/>
<
xs:attribute name="
Unit"
type="
xs:string"
use="
required"/>
<
xs:attribute name="
Detection_Limit"
type="
xs:decimal"
use="
optional"/>
<
xs:attribute name="
Quatitiation_Limit"
type="
xs:decimal"
use="
optional"/>
<
xs:attribute name="
Quantitiation_Limit"
type="
xs:decimal"
use="
optional"/>
</
xs:complexType>
Super-types: |
None |
Sub-types: |
None |
Schema Component Representation
<
xs:complexType name="
Analytes">
<
xs:sequence>
<
xs:element name="
Analyte"
type="
local:Analyte"
maxOccurs="
unbounded"
minOccurs="
0"/>
</
xs:sequence>
</
xs:complexType>
Super-types: |
None |
Sub-types: |
None |
XML Instance Representation
<...
Email="xs:string [1] ?" Send_SRN="xs:boolean [1] ?" Send_COA="xs:boolean [1] ?" Send_QC="xs:boolean [1] ?" Send_QCI="xs:boolean [1] ?"/>
Schema Component Representation
<
xs:complexType name="
Contact">
<
xs:attribute name="
Email"
type="
xs:string"
use="
required"/>
<
xs:attribute name="
Send_SRN"
type="
xs:boolean"
use="
required"/>
<
xs:attribute name="
Send_COA"
type="
xs:boolean"
use="
required"/>
<
xs:attribute name="
Send_QC"
type="
xs:boolean"
use="
required"/>
<
xs:attribute name="
Send_QCI"
type="
xs:boolean"
use="
required"/>
</
xs:complexType>
Super-types: |
None |
Sub-types: |
None |
XML Instance Representation
<...
Name="xs:string [1] ?" Lab_Ref="xs:string [0..1] ?" Colour="xs:string [0..1] ?" Preservative="xs:string [0..1] ?" Filtered="xs:boolean [0..1] ?" Holding_Time="xs:string [0..1] ?" Holding_Time_Units="xs:string [0..1] ?" Volume="xs:string [0..1] ?" ID="xs:string [0..1] ?"/>
Schema Component Representation
<
xs:complexType name="
Container">
<
xs:attribute name="
Name"
type="
xs:string"
use="
required"/>
<
xs:attribute name="
Lab_Ref"
type="
xs:string"
use="
optional"/>
<
xs:attribute name="
Colour"
type="
xs:string"
use="
optional"/>
<
xs:attribute name="
Preservative"
type="
xs:string"
use="
optional"/>
<
xs:attribute name="
Filtered"
type="
xs:boolean"
use="
optional"/>
<
xs:attribute name="
Holding_Time"
type="
xs:string"
use="
optional"/>
<
xs:attribute name="
Holding_Time_Units"
type="
xs:string"
use="
optional"/>
<
xs:attribute name="
Volume"
type="
xs:string"
use="
optional"/>
<
xs:attribute name="
ID"
type="
xs:string"
use="
optional"/>
</
xs:complexType>
Super-types: |
None |
Sub-types: |
None |
Schema Component Representation
<
xs:complexType name="
Containers">
<
xs:sequence>
<
xs:element name="
Container"
type="
local:Container"
maxOccurs="
unbounded"
minOccurs="
0"/>
</
xs:sequence>
</
xs:complexType>
Complex Type: eSRN
Super-types: |
None |
Sub-types: |
None |
XML Instance Representation
<...
Project_Number="xs:string [0..1] ?" Project_ID="xs:string [1] ?" SDG_ID="xs:unsignedInt [0..1] ?" CoC_Number="xs:string [1] ?" Destination_Lab="xs:string [1] ?" Lab_Contact_Name="xs:string [1] ?" Lab_Contact_Email="xs:string [1] ?" Lab_Contact_Phone="xs:string [0..1] ?" Client_Primary_Contact_Name="xs:string [0..1] ?" Client_Primary_Contact_Email="xs:string [0..1] ?" Client_Primary_Contact_Phone="xs:string [0..1] ?" Client_Secondary_Contact_Name="xs:string [0..1] ?" Client_Secondary_Contact_Email="xs:string [0..1] ?" Client_Secondary_Contact_Phone="xs:string [0..1] ?" Relinquished_By_Name="xs:string [1] ?" Relinquished_By_Date="xs:dateTime [1] ?" Relinquished_By_Company="xs:string [1] ?" Cooled="xs:string [0..1] ?" Number_Delivery_Boxes="xs:unsignedInt [0..1] ?" Conn_Note="xs:string [1] ?" Receipt_Temperature="xs:string [0..1] ?" Custody_Seal_Intact="xs:boolean [0..1] ?">
</...>
Schema Component Representation
<
xs:complexType name="
eSRN">
<
xs:sequence>
</
xs:sequence>
<
xs:attribute name="
Project_Number"
type="
xs:string"
use="
optional"/>
<
xs:attribute name="
Project_ID"
type="
xs:string"
use="
required"/>
<
xs:attribute name="
SDG_ID"
type="
xs:unsignedInt"
use="
optional"/>
<
xs:attribute name="
CoC_Number"
type="
xs:string"
use="
required"/>
<
xs:attribute name="
Destination_Lab"
type="
xs:string"
use="
required"/>
<
xs:attribute name="
Lab_Contact_Name"
type="
xs:string"
use="
required"/>
<
xs:attribute name="
Lab_Contact_Email"
type="
xs:string"
use="
required"/>
<
xs:attribute name="
Lab_Contact_Phone"
type="
xs:string"
use="
optional"/>
<
xs:attribute name="
Client_Primary_Contact_Name"
type="
xs:string"
use="
optional"/>
<
xs:attribute name="
Client_Primary_Contact_Email"
type="
xs:string"
use="
optional"/>
<
xs:attribute name="
Client_Primary_Contact_Phone"
type="
xs:string"
use="
optional"/>
<
xs:attribute name="
Client_Secondary_Contact_Name"
type="
xs:string"
use="
optional"/>
<
xs:attribute name="
Client_Secondary_Contact_Email"
type="
xs:string"
use="
optional"/>
<
xs:attribute name="
Client_Secondary_Contact_Phone"
type="
xs:string"
use="
optional"/>
<
xs:attribute name="
Relinquished_By_Name"
type="
xs:string"
use="
required"/>
<
xs:attribute name="
Relinquished_By_Date"
type="
xs:dateTime"
use="
required"/>
<
xs:attribute name="
Relinquished_By_Company"
type="
xs:string"
use="
required"/>
<
xs:attribute name="
Cooled"
type="
xs:string"
use="
optional"/>
<
xs:attribute name="
Number_Delivery_Boxes"
type="
xs:unsignedInt"
use="
optional"/>
<
xs:attribute name="
Conn_Note"
type="
xs:string"
use="
required"/>
<
xs:attribute name="
Receipt_Temperature"
type="
xs:string"
use="
optional"/>
<
xs:attribute name="
Custody_Seal_Intact"
type="
xs:boolean"
use="
optional"/>
</
xs:complexType>
Super-types: |
None |
Sub-types: |
None |
Name |
Lab_Request |
Abstract
|
no |
Documentation |
A lab request includes a user defined (in LSPECS) group of analyses to be performed on the samples.
User can send multiple lab (analyses) requests for the same batch of samples. This allow the user to request further analyses from the lab.
LSPECS also supports multiple versions of the same request, allowing the user to correct mistakes when requesting the samples.
|
XML Instance Representation
<...
ID="xs:unsignedInt [0..1] ?" Number="xs:unsignedInt [1] ?" Version="xs:unsignedInt [1] ?" Turnaround_Date="xs:string [0..1] ?" IsFastTurnaround="xs:boolean [0..1] ?" Purchase_Order_Number="xs:string [1] ?" Org_To_Be_Billed="xs:string [0..1] ?" Bill_To_Name="xs:string [0..1] ?" Bill_To_Email="xs:string [0..1] ?" Submitted_By_Name="xs:string [1] ?" Submitted_By_Org="xs:string [1] ?" Submitted_By_Date="xs:dateTime [1] ?" Special_Instructions="xs:string [0..1] ?">
</...>
Schema Component Representation
<
xs:complexType name="
Lab_Request">
<
xs:sequence>
</
xs:sequence>
<
xs:attribute name="
ID"
type="
xs:unsignedInt"
use="
optional"/>
<
xs:attribute name="
Number"
type="
xs:unsignedInt"
use="
required"/>
<
xs:attribute name="
Version"
type="
xs:unsignedInt"
use="
required"/>
<
xs:attribute name="
Turnaround_Date"
type="
xs:string"
use="
optional"/>
<
xs:attribute name="
IsFastTurnaround"
type="
xs:boolean"
use="
optional"/>
<
xs:attribute name="
Purchase_Order_Number"
type="
xs:string"
use="
required"/>
<
xs:attribute name="
Org_To_Be_Billed"
type="
xs:string"
use="
optional"/>
<
xs:attribute name="
Bill_To_Name"
type="
xs:string"
use="
optional"/>
<
xs:attribute name="
Bill_To_Email"
type="
xs:string"
use="
optional"/>
<
xs:attribute name="
Submitted_By_Name"
type="
xs:string"
use="
required"/>
<
xs:attribute name="
Submitted_By_Org"
type="
xs:string"
use="
required"/>
<
xs:attribute name="
Submitted_By_Date"
type="
xs:dateTime"
use="
required"/>
<
xs:attribute name="
Special_Instructions"
type="
xs:string"
use="
optional"/>
</
xs:complexType>
Super-types: |
None |
Sub-types: |
None |
Name |
Lab_Requests |
Abstract
|
no |
Documentation |
Collection of Lab Requests associated with the physical samples identified by this eCoC.
|
Schema Component Representation
<
xs:complexType name="
Lab_Requests">
<
xs:sequence>
<
xs:element name="
Lab_Request"
type="
local:Lab_Request"
maxOccurs="
unbounded"
minOccurs="
0"/>
</
xs:sequence>
</
xs:complexType>
Complex Type: Method
Super-types: |
None |
Sub-types: |
None |
XML Instance Representation
<...
Name="xs:string [1] ?" Code="xs:string [1] ?" Lab_Ref="xs:string [1] ?" Matrix="xs:string [1] ?" Description="xs:string [0..1] ?">
</...>
Schema Component Representation
<
xs:complexType name="
Method">
<
xs:sequence>
</
xs:sequence>
<
xs:attribute name="
Name"
type="
xs:string"
use="
required"/>
<
xs:attribute name="
Code"
type="
xs:string"
use="
required"/>
<
xs:attribute name="
Lab_Ref"
type="
xs:string"
use="
required"/>
<
xs:attribute name="
Matrix"
type="
xs:string"
use="
required"/>
<
xs:attribute name="
Description"
type="
xs:string"
use="
optional"/>
</
xs:complexType>
Super-types: |
None |
Sub-types: |
None |
Schema Component Representation
<
xs:complexType name="
Methods">
<
xs:sequence>
<
xs:element name="
Method"
type="
local:Method"
maxOccurs="
unbounded"
minOccurs="
0"/>
</
xs:sequence>
</
xs:complexType>
Complex Type: Quote
Super-types: |
None |
Sub-types: |
None |
XML Instance Representation
<...
Quote_Number="xs:string [1] ?" Quote_Name="xs:string [1] ?" Expiry_Date="xs:dateTime [0..1] ?" Created_Date="xs:dateTime [1] ?" Client_Name="xs:string [1] ?" Client_Ref="xs:string [1] ?" Client_Manager="xs:string [0..1] ?">
</...>
Schema Component Representation
<
xs:complexType name="
Quote">
<
xs:sequence>
</
xs:sequence>
<
xs:attribute name="
Quote_Number"
type="
xs:string"
use="
required"/>
<
xs:attribute name="
Quote_Name"
type="
xs:string"
use="
required"/>
<
xs:attribute name="
Expiry_Date"
type="
xs:dateTime"
use="
optional"/>
<
xs:attribute name="
Created_Date"
type="
xs:dateTime"
use="
required"/>
<
xs:attribute name="
Client_Name"
type="
xs:string"
use="
required"/>
<
xs:attribute name="
Client_Ref"
type="
xs:string"
use="
required"/>
<
xs:attribute name="
Client_Manager"
type="
xs:string"
use="
optional"/>
</
xs:complexType>
Complex Type: Quotes
Super-types: |
None |
Sub-types: |
None |
Name |
Quotes |
Abstract
|
no |
Documentation |
Any special instructions for the laboratory, associated with the analyses request.
|
Schema Component Representation
<
xs:complexType name="
Quotes">
<
xs:sequence>
<
xs:element name="
Quote"
type="
local:Quote"
maxOccurs="
unbounded"
minOccurs="
0"/>
</
xs:sequence>
</
xs:complexType>
Complex Type: Sample
Super-types: |
None |
Sub-types: |
None |
XML Instance Representation
<...
Sample_ID="xs:string [1] ?" Matrix_Type="xs:string [1] ?" DateTime="xs:dateTime [1] ?">
</...>
Schema Component Representation
<
xs:complexType name="
Sample">
<
xs:sequence>
</
xs:sequence>
<
xs:attribute name="
Sample_ID"
type="
xs:string"
use="
required"/>
<
xs:attribute name="
Matrix_Type"
type="
xs:string"
use="
required"/>
<
xs:attribute name="
DateTime"
type="
xs:dateTime"
use="
required"/>
</
xs:complexType>
Super-types: |
None |
Sub-types: |
None |
Schema Component Representation
<
xs:complexType name="
Samples">
<
xs:sequence>
<
xs:element name="
Sample"
type="
local:Sample"
maxOccurs="
unbounded"
minOccurs="
0"/>
</
xs:sequence>
</
xs:complexType>
Super-types: |
None |
Sub-types: |
None |
XML Instance Representation
<...
WasSelectedAtThisLevel="xs:boolean [1] ?" Name="xs:string [1] ?" Description="xs:string [0..1] ?">
</...>
Schema Component Representation
<
xs:complexType name="
Schedule_Suite">
<
xs:sequence>
</
xs:sequence>
<
xs:attribute name="
WasSelectedAtThisLevel"
type="
xs:boolean"
use="
required"/>
<
xs:attribute name="
Name"
type="
xs:string"
use="
required"/>
<
xs:attribute name="
Description"
type="
xs:string"
use="
optional"/>
</
xs:complexType>
Super-types: |
None |
Sub-types: |
None |
Name |
Schedule_Suites |
Abstract
|
no |
Documentation |
Collection of Analysis Suites in cluded in the Analysis Group.
|
Schema Component Representation
<
xs:complexType name="
Schedule_Suites">
<
xs:sequence>
<
xs:element name="
Schedule_Suite"
type="
local:Schedule_Suite"
maxOccurs="
unbounded"
minOccurs="
0"/>
</
xs:sequence>
</
xs:complexType>