curl --request GET \
--url '{{BASE_URL}}/lab_report/v1/parser/job/<job_id>' \
--header 'accept: application/json' \
--header 'x-vital-api-key: {YOUR_KEY}'
{
"job_id": "550e8400-e29b-41d4-a716-446655440000",
"status": "completed",
"data": {
"metadata": {
"patient_first_name": "John",
"patient_last_name": "Doe",
"dob": "1990-05-15",
"lab_name": "Quest Diagnostics",
"date_reported": "2024-01-15",
"date_collected": "2024-01-14",
"specimen_number": "SP123456"
},
"results": [
{
"test_name": "Glucose",
"value": "95",
"type": "numeric",
"units": "mg/dL",
"min_reference_range": 70,
"max_reference_range": 100,
"interpretation": "normal",
"is_above_max_range": false,
"is_below_min_range": false,
"loinc_matches": [
{
"loinc_code": "2345-7",
"loinc_name": "Glucose [Mass/volume] in Serum or Plasma",
"display_name": "Glucose [Mass/volume] in Serum or Plasma",
"aliases": ["Blood Sugar", "Fasting Glucose"],
"confidence_score": 0.95
}
]
},
{
"test_name": "Hemoglobin A1c",
"value": "5.4",
"type": "numeric",
"units": "%",
"min_reference_range": 4.0,
"max_reference_range": 5.6,
"interpretation": "normal",
"is_above_max_range": false,
"is_below_min_range": false,
"loinc_matches": [
{
"loinc_code": "4548-4",
"loinc_name": "Hemoglobin A1c/Hemoglobin.total in Blood",
"display_name": "Hemoglobin A1c/Hemoglobin.total in Blood",
"aliases": ["HbA1c", "Glycated Hemoglobin"],
"confidence_score": 0.98
}
]
}
]
},
"needs_human_review": false,
"is_reviewed": false
}
Retrieves the parse job status and stored result if completed.
Returns: ParseLabResultJobResponse with job status and parsed data (if complete)
curl --request GET \
--url '{{BASE_URL}}/lab_report/v1/parser/job/<job_id>' \
--header 'accept: application/json' \
--header 'x-vital-api-key: {YOUR_KEY}'
{
"job_id": "550e8400-e29b-41d4-a716-446655440000",
"status": "completed",
"data": {
"metadata": {
"patient_first_name": "John",
"patient_last_name": "Doe",
"dob": "1990-05-15",
"lab_name": "Quest Diagnostics",
"date_reported": "2024-01-15",
"date_collected": "2024-01-14",
"specimen_number": "SP123456"
},
"results": [
{
"test_name": "Glucose",
"value": "95",
"type": "numeric",
"units": "mg/dL",
"min_reference_range": 70,
"max_reference_range": 100,
"interpretation": "normal",
"is_above_max_range": false,
"is_below_min_range": false,
"loinc_matches": [
{
"loinc_code": "2345-7",
"loinc_name": "Glucose [Mass/volume] in Serum or Plasma",
"display_name": "Glucose [Mass/volume] in Serum or Plasma",
"aliases": ["Blood Sugar", "Fasting Glucose"],
"confidence_score": 0.95
}
]
},
{
"test_name": "Hemoglobin A1c",
"value": "5.4",
"type": "numeric",
"units": "%",
"min_reference_range": 4.0,
"max_reference_range": 5.6,
"interpretation": "normal",
"is_above_max_range": false,
"is_below_min_range": false,
"loinc_matches": [
{
"loinc_code": "4548-4",
"loinc_name": "Hemoglobin A1c/Hemoglobin.total in Blood",
"display_name": "Hemoglobin A1c/Hemoglobin.total in Blood",
"aliases": ["HbA1c", "Glycated Hemoglobin"],
"confidence_score": 0.98
}
]
}
]
},
"needs_human_review": false,
"is_reviewed": false
}
completed, the data field will contain the extracted lab results with LOINC matches.
Job Status Values:
upload_pending - Job created, waiting for file uploadstarted - File uploaded, parsing in progresscompleted - Parsing complete, results available in datafailed - Parsing failedcurl --request GET \
--url '{{BASE_URL}}/lab_report/v1/parser/job/<job_id>' \
--header 'accept: application/json' \
--header 'x-vital-api-key: {YOUR_KEY}'
{
"job_id": "550e8400-e29b-41d4-a716-446655440000",
"status": "completed",
"data": {
"metadata": {
"patient_first_name": "John",
"patient_last_name": "Doe",
"dob": "1990-05-15",
"lab_name": "Quest Diagnostics",
"date_reported": "2024-01-15",
"date_collected": "2024-01-14",
"specimen_number": "SP123456"
},
"results": [
{
"test_name": "Glucose",
"value": "95",
"type": "numeric",
"units": "mg/dL",
"min_reference_range": 70,
"max_reference_range": 100,
"interpretation": "normal",
"is_above_max_range": false,
"is_below_min_range": false,
"loinc_matches": [
{
"loinc_code": "2345-7",
"loinc_name": "Glucose [Mass/volume] in Serum or Plasma",
"display_name": "Glucose [Mass/volume] in Serum or Plasma",
"aliases": ["Blood Sugar", "Fasting Glucose"],
"confidence_score": 0.95
}
]
},
{
"test_name": "Hemoglobin A1c",
"value": "5.4",
"type": "numeric",
"units": "%",
"min_reference_range": 4.0,
"max_reference_range": 5.6,
"interpretation": "normal",
"is_above_max_range": false,
"is_below_min_range": false,
"loinc_matches": [
{
"loinc_code": "4548-4",
"loinc_name": "Hemoglobin A1c/Hemoglobin.total in Blood",
"display_name": "Hemoglobin A1c/Hemoglobin.total in Blood",
"aliases": ["HbA1c", "Glycated Hemoglobin"],
"confidence_score": 0.98
}
]
}
]
},
"needs_human_review": false,
"is_reviewed": false
}
Vital Team API Key
Successful Response
ℹ️ This enum is non-exhaustive.
upload_pending, started, completed, failed Show child attributes
Show child attributes
Show child attributes
ℹ️ This enum is non-exhaustive.
numeric, range, comment, boolean, duration, percentage, ratio ℹ️ This enum is non-exhaustive.
normal, abnormal, critical, unknown Was this page helpful?