Converting ESdat Electronic Lab Data Format (ELDF) 2e to 4:

ELDF 4 extends 2e in order to accomodate additional QA information. To produce ELDF 4 Laboratories that are currently providing 2e can make the changes described below.

If all the below changes are made the files will conform with the full ELDF 4 specifications.

ELDF 4 comprises the same files as used by ELDF 2e, namely::

The file names are of the same format except the csv files reference "4" instead of "2e", ie : Project Name as provided by the users; a full stop; a laboratory file identifier; a full stop; the text "Header", "Sample4" or "Chemistry4" as appropriate and the file extension (".xml"or ".csv" as appropriate). An example of a file set would be

Header File:

The Header File xml specifications are updated, in particular:

The Header File specifications are fully described at Header File Specifications

Sample File:

The Sample File is unchanged (except for the file name)

Chemistry File:

Within the csv export files Line 1 lists the data fields, line 2 and onwards contains the data for those fields:

Additional Columns have been added after the last column (LCL) in ELDF 2e:

The columns marked with a * are required and cannot contain blank values. The remaining columns are able to be left blank or contain blank values as applicable.

The spike columns should be populated for a Sample_Type of MS (Matrix Type) and for all samples where the Result_Type is one of Sur, leached_Sur, MS (ie it's a Surrogate or Matrix Spike result)

If implementing ELDF 4 it is recommended the laboratory retire ELDF 2e, so that only one ESdat format is being issued from the laboratory. If the laboratory elects to retain both formats they should be fully consistent for columns that are common to both, and particularly the ChemCodes should reference a single common list that is used in both exports.