How It Works
The parsing workflow consists of three steps:- Upload – Submit a lab report file to create a parsing job
- Process – Junction extracts biomarker data and matches to LOINC codes
- Retrieve – Get structured results with standardized identifiers
Creating a Parsing Job
Upload a lab report file to create a parsing job:Python
Supported File Formats
Human Review
Setneeds_human_review=True if you want Junction to manually verify extracted results before marking the job as complete. This is useful for:
- High-stakes clinical decisions
- Complex multi-page reports
- Reports with handwritten annotations
Job Statuses
Retrieving Results
Once a job completes, retrieve the extracted data:Python
Result Structure
Each extracted biomarker includes:- name – Biomarker name as it appears on the report
- result – The value (numeric or text)
- unit – Unit of measurement
- loinc – LOINC code for standardization
- loinc_slug – Human-readable LOINC identifier
- reference_range – Normal range from the report
- interpretation –
normal,abnormal, orcritical
LOINC matching enables you to compare results across different labs and
integrate with other health systems using standardized identifiers.
Webhooks
Subscribe to parsing job events to avoid polling:
Example webhook payload: