terra-lab-reports
Best practices and API reference for Terra Lab Reports (pre-release) – convert clinical lab report PDFs and images into structured, standardized biomarker data. Use when parsing blood test results, extracting biomarkers, mapping to LOINC or UCUM unit codes, handling reference ranges, handling lab_report.completed / lab_report.failed webhooks, or working with PDF lab results and lab report OCR. Covers the async upload/standardize/deliver lifecycle, the event envelope (event_id, upload_id), the layered result model (source, biomarker, measurement, interpretation, reference ranges), unmatched-biomarker handling, snowflake IDs, and idempotent webhook processing.
- Version
- 1.0.0
- License
- MIT
- Compatibility
- Requires network access to docs.tryterra.co for full endpoint specs, payload examples, and enum tables
Pinned to revision 545be43d87b0, so it is the text this page describes rather than whatever the author pushed since.
Files
- skills/terra-lab-reports/SKILL.md
- skills/terra-lab-reports/README.md
- skills/terra-lab-reports/metadata.json
- skills/terra-lab-reports/references/api-reference.md
- skills/terra-lab-reports/references/biomarkers.md
- skills/terra-lab-reports/references/webhook-payload.md
- skills/terra-lab-reports/rules/_sections.md
- skills/terra-lab-reports/rules/_template.md
- skills/terra-lab-reports/rules/api-poll-at-most-every-5s.md
- skills/terra-lab-reports/rules/api-space-bulk-uploads.md
- skills/terra-lab-reports/rules/data-filter-ranges-by-demographics.md
- skills/terra-lab-reports/rules/data-keep-unmatched-biomarkers.md
- skills/terra-lab-reports/rules/data-parse-utf8.md
- skills/terra-lab-reports/rules/data-store-ids-as-strings.md
- skills/terra-lab-reports/rules/webhooks-dedupe-event-id.md
Every link opens the file at its source, pinned to the revision this page describes.