PREPROD
ReaderAuthor

piper

Import Batch File Type

The `fileType` on an ImportBatch records the format of the uploaded lab data file so Piper knows which parser to apply.

1 min read · 1 depth levelstratum-piper · vdevMatches production
Everyday

Lab reports arrive in various formats — CSV, XLSX, PDF, and others. The fileType field on an ImportBatch tells the system which file parser to use during extraction. It is set automatically from the uploaded file's extension and MIME type. When the extractionMethod involves OCR for scanned PDFs, the fileType helps explain why the extractionConfidence may be lower than a structured spreadsheet import, which is useful context when reviewing ImportValidationIssues for the batch.

Was this helpful?