Skip to content

feat: support multiple file uploads in lab report parser#131

Open
fern-api[bot] wants to merge 1 commit intomasterfrom
fern-bot/2026-03-13T17-32Z
Open

feat: support multiple file uploads in lab report parser#131
fern-api[bot] wants to merge 1 commit intomasterfrom
fern-bot/2026-03-13T17-32Z

Conversation

@fern-api
Copy link
Contributor

@fern-api fern-api bot commented Mar 13, 2026

  • Added support for Sonora Quest laboratory provider. New enum values "sonora_quest" are now available in relevant appointment and lab-related types. Also added "derived_readiness" index type and "apero", "pverify" payor code providers.
  • The parserCreateJob method now accepts an array of files (core.file.Uploadable[]) instead of a single file. Update your code to pass files in an array: client.labReport.parserCreateJob([file], request) instead of client.labReport.parserCreateJob(file, request).
  • New optional parameters added to lab test methods: orderTransactionId for filtering orders, allowStale for appointment availability queries, and clinicalNotes for order creation. The getMarkers method now supports filtering by labSlug for more targeted marker retrieval.
  • New CompendiumClient available with search() and convert() methods for discovering and converting lab tests between different providers. The SDK also adds new labAccount and orderTransaction clients, plus support for Samsung Health as a manual provider option.
  • New lab account management and order transaction clients are now available. The LabAccountClient provides methods to retrieve team lab account information, while the OrderTransactionClient enables tracking of order transactions and retrieving results in JSON and PDF formats. Lab test creation now supports optional lab account and lab slug parameters, and appointment booking has been enhanced with asynchronous confirmation capabilities and appointment notes. Additional improvements include order transaction ID filtering for lab test queries and expanded provider support including SonoraQuest.
  • The SDK now supports compendium search functionality for discovering and converting lab test markers across different lab systems. New Samsung Health provider integration is available for health data collection. Several lab testing workflows have been enhanced with optional clinical notes, appointment notes, and access notes for addresses. Order transaction tracking capabilities have been expanded with comprehensive status management.
  • The SDK now supports lab account management with new ClientFacingLabAccount types for handling delegation flows and billing configurations. Order transaction tracking is available through ClientFacingOrderTransaction and related types. New provider support includes Samsung Health, and lab support extends to Sonora Quest. Additional features include lab report parsing job webhooks, compendium search capabilities, and enhanced appointment and order data with optional transaction IDs, clinical notes, and access notes for patient addresses.
  • The SDK now supports enhanced lab test search capabilities with new search modes and compendium responses. Added support for gender metadata in results, US state validation, and enhanced address handling with optional access notes. New types available for lab account management, order transactions, and parsing job tracking.

Update the lab report parser endpoint to accept multiple files instead of a single file. This enables batch processing of lab reports in a single request, improving efficiency for users with multiple documents to parse.

Key changes:
- Change `parserCreateJob` method to accept `core.file.Uploadable[]` instead of `core.file.Uploadable`
- Update form data handling to append multiple files with the same field name
- Refactor query parameter building in introspect client methods for cleaner code
- Update JSDoc comments and examples to reflect multiple file support

🌿 Generated with Fern
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants