When a lab delivers a scanned PDF report, Piper routes it through the OCR service to extract the data. The ocrScanId on the ImportBatch is the reference identifier for that scan job, allowing support staff or administrators to retrieve the raw OCR output if the extractionConfidence is low or if ImportValidationIssues suggest the OCR read certain fields incorrectly. For files processed by structured parse rather than OCR, the ocrScanId field will be empty.
piper
Import Batch OCR Scan ID
The `ocrScanId` on an ImportBatch links back to the OCR scan job when the file was extracted using optical character recognition.
