Skip to main content

Overview

When a testkit order enters a problem or blocked state, the API surfaces additional detail beyond the order event status. This page describes the named status details and what they mean.
Please note: To ensure future compatibility, avoid exhaustive matching on status detail values. New values may be introduced over time. Handle unknown values gracefully using a default case.

Lab Processing

These status details apply after the lab has received the sample but cannot proceed with processing. Most are recoverable if the missing information is provided before the specimen expires.
Status DetailDescriptionPermanenceDetection
Missing date of collectionLab received the sample but the collection date is absent.TemporaryProgrammatic (lab notification)
Missing documentation / ID formLab received the sample but required paperwork is missing.TemporaryProgrammatic (lab notification)
Demographic mismatch (name)Name on the specimen does not match the order. Requires patient confirmation.TemporaryProgrammatic (lab notification)
Demographic mismatch (DOB)Date of birth on the specimen does not match the order. Requires patient confirmation.TemporaryProgrammatic (lab notification)
NIS (Not In System)Lab cannot match the specimen to a known order. Requires ops investigation. May be recoverable.TemporaryProgrammatic (lab notification)

API field values — Lab Processing

Problemstatusstatus_detail
Missing date of collectionLAB_PROCESSING_BLOCKEDDATE_OF_COLLECTION_UNSPECIFIED
Missing documentation / ID formLAB_PROCESSING_BLOCKEDDEMOGRAPHIC_INFORMATION_UNSPECIFIED
Demographic mismatch (name)LAB_PROCESSING_BLOCKEDDEMOGRAPHIC_INFORMATION_MISMATCH
Demographic mismatch (DOB)LAB_PROCESSING_BLOCKEDDEMOGRAPHIC_INFORMATION_MISMATCH
NIS (Not In System)LAB_PROCESSING_BLOCKED

Sample Errors

These status details indicate the collected sample could not be processed by the lab. All are final — a new kit and recollection are required.
Status DetailDescriptionDetection
QNS (Quantity Not Sufficient)Insufficient blood volume was collected.Programmatic (lab notification)
Contaminated specimenSample was contaminated during collection or transit.Programmatic (lab notification)
Specimen too old / stability exceededToo much time elapsed between collection and processing — sample has degraded.Programmatic (lab notification)
Specimen mislabeledIdentification discrepancy between the specimen and the requisition. Results are discarded.Programmatic (lab notification)
Specimen lost by labLab reports the specimen was lost after receipt.Programmatic (lab notification)
Partial resultsLab could only process a subset of ordered tests. Remaining tests may require recollection.Programmatic (lab notification)

API field values — Sample Errors

Problemstatusstatus_detail
QNS (Quantity Not Sufficient)SAMPLE_ERRORQUANTITY_NOT_SUFFICIENT
Contaminated specimenSAMPLE_ERRORSAMPLE_CONTAMINATED
Specimen too old / stability exceededSAMPLE_ERRORSAMPLE_STABILITY_EXCEEDED
Specimen mislabeledSAMPLE_ERROR
Specimen lost by labSAMPLE_ERRORSPECIMEN_LOST
Partial resultsSAMPLE_ERROR