Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Error Handling
ADAMS will carefully screen each record uploaded in a file. If an error occurred during the processing of one line of the CSV file, the summary screen will display the error so that it may be corrected and the file re-transmitted. All other records will be imported.

CSV-file: The first record of the CSV-file (line 0) is reserved for column titles that should exactly match the prescribed spelling (see tables below). Otherwise errors will be displayed. Error messages pertaining to the content will tell on which line (>0) the value for which column is wrong or missing. Duplication of the sample code (for the same sample type) is checked. Only a sample record that causes an error will be rejected. The remainder of the file will still be accepted.

Biological Result Data Elements
This section will describe each data element that will be transmitted to ADAMS. Unless otherwise specified, the data element is considered to be mandatory.  

CSV file

...

: This file specifies the CSV file import format for BP lab results.  It has been designed to be as simple as possible, with only one line per sample and a minimum set of mandatory data per sample. The sequence of the columns is not relevant. One sample detail record, containing the required information, must be provided for each sample analyzed.

The seven mandatory fields per sample match the fields required in the ADAMS application. The status of each result record is determined by the user action (e.g. POST) taken immediately following import.
   

FIELDS

...

(Mandatory columns are in bold):

Field

Column header

Description

Example(s)

Sample Code

sample_code

This is the identifying number on the sample collection kit. 

The sample code must be unique throughout ADAMS (not just unique within one lab) or the record will be rejected.  Should this happen, the offending entry must be removed from the file and submitted manually.

"1479265"

Sample Type

sample_type

Only one sample type is supported "blood_passport"

 

Sample Collection Date

date_collection

Date of the sample collection (yyyy-MM-dd)

"2009-02-02"

Date Received by Lab

date_received

This specifies the date that the sample was received by the laboratory (yyyy-MM-dd)

"2008-01-13"
"2008-11-28"

Testing Authority

ta

This field contains the short-name identifier of the Testing Authority, which is generally the laboratory's customer.  Valid short-name identifiers can be retrieved from the Contact-link in the ADAMS-header.

"UCI"
"IAAF"

Sample Collection Authority

sca

This field contains the short-name identifier of the Sample Collection Authority. Valid short-name identifiers can be retrieved from the Contact-link in the ADAMS-header.

"UCI"
"IAAF"

Analysis Date

analysis_date

Date and time of the analysis (yyyy-MM-dd hh:mm)

"2009-02-02 14:12"

Test Type

test_type

This field is used to indicate whether the sample was collected in- or out-of-competition

"IC"
"OOC"

Sport

sport_code

This field is used to report the sport of the athlete who contributed the sample.  The WADA sport identifier code must be used in this field, not the sport's name. 

"AT"
"CY"

Discipline

discipline_code

The sport discipline's specific code.

"AT"

Lab

lab

 

"TESTLab"

Lab Internal Reference number

lin

The Lab internal reference number (e.g. the client's Id #). Alpha-numeric characters are allowed.

"123-a"

Analyser

analyser

The short code for the Analyser instrument. These short codes are defined by the ADAMS (super) Administrator. Contact WADA for the latest codes.

"sysmex"

Gender

gender

Possible values: M, F, X (default)

"M"

Mission order#

mo_number

The mission order number. Alpha-numeric characters are allowed.

"M-12345"

Country

country

The code of the country where the sample was collected.

"AL"

Region

region

The code of the region – linked to the country - where the sample was collected.

"AL-BR"

City

city

The name of the city (free text) where the sample was collected.

"Cairo"

Blood Parameters

<blood parameter specific code>

Blood parameters specific code.

"HCT"

...