Skip to main content

LabTestSample

A test condition reading and the samples it applies to.

datastringnullable

The reading recorded for these samples.

Example: Grade 4-5
resultstringrequired

The outcome recorded for these samples.

Possible values: [pass, fail, data]

Example: pass
sampleNumbersinteger[]

Samples identified by position in the Product's sample list, counting from 1. A number greater than the Product's sample size is rejected.

Example: [1,2]
sampleNamesstring[]

Samples identified by their sampleName on the Product. Each name must match one of the Product's samples: names are checked against the samples sent in the same request when the request carries the Product, and against the Product's stored samples otherwise.

Example: ["Lot A","Lot B"]
LabTestSample
{
"data": "Grade 4-5",
"result": "pass",
"sampleNumbers": [
1,
2
],
"sampleNames": [
"Lot A",
"Lot B"
]
}