LabTestCreateResponse
Lab test case number
LT-2024-001Lab test uuid
b04ed17c-0253-40a1-bc3c-5df13864305710-digit encoded lab test ID
ABC1234567The status of the lab test once it is created, after the Lab Test Form's automatic confirmation or completion. For example "confirmed" instead of "new" when the Lab Test Form confirms tests automatically, and "completed" instead of "submitted" when it completes tests automatically.
Possible values: [draft, new, confirmed, submitted, completed]
Lists the data that was sent and discarded when the lab test is created as new or draft, with discarded Test Packages and Test Properties listed with their IDs. Omitted when nothing that was sent was discarded.
Insufficient lab test result data. The following data has been discarded (if any): reportNumber, testPackages (PKG-9), testProperties (TP-3, TP-7)discarded object
Only when the Test Program set the tests and at least one entry is listed (see "Tests Set by the Test Program"). A list with no entry is left out. message then ends with "The tests were set by the Test Program of the Lab Test Form. Tests in the request that it did not pick were discarded. See discarded."
testPackages object[]
Each testPackages[].id the Test Program did not pick
Possible values: [The Test Program of the Lab Test Form did not pick this test.]
testProperties object[]
Each testProperties[].id the lab test does not have
Possible values: [The Test Program of the Lab Test Form did not pick this test.]
testConditions object[]
For a Test Property that is not discarded, each of its testConditions the Test Program did not pick for it. A condition sent with a name and no ID is always listed, by name
Possible values: [The Test Program of the Lab Test Form did not pick this test.]
{
"caseNumber": "LT-2024-001",
"uuid": "b04ed17c-0253-40a1-bc3c-5df138643057",
"labTestId": "ABC1234567",
"labTestStatus": "draft",
"message": "Insufficient lab test result data. The following data has been discarded (if any): reportNumber, testPackages (PKG-9), testProperties (TP-3, TP-7)",
"discarded": {
"testPackages": [
{
"id": "PKG-OLD",
"reason": "The Test Program of the Lab Test Form did not pick this test."
}
],
"testProperties": [
{
"id": "ELEC-BAT-01",
"reason": "The Test Program of the Lab Test Form did not pick this test."
}
],
"testConditions": [
{
"testPropertyId": "TP-679",
"id": "C-03",
"reason": "The Test Program of the Lab Test Form did not pick this test."
}
]
}
}