Skip to content

feat: update lab report parser to accept multiple files#142

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

feat: update lab report parser to accept multiple files#142
fern-api[bot] wants to merge 1 commit intomasterfrom
fern-bot/2026-03-24T17-22Z

Conversation

@fern-api
Copy link
Contributor

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

Version Bump: The parserCreateJob method parameter type changed from core.file.Uploadable to core.file.Uploadable[] - existing callers passing a single file will get a type error.

  • The SDK now supports the Sonora Quest lab provider for appointments and lab operations. Additional enum values have been added for derived readiness data indexing and new external payor code providers (Apero and PVerify).
  • The parserCreateJob method now accepts an array of files instead of a single file. Replace calls like parserCreateJob(file, request) with parserCreateJob([file], request) to wrap your single file in an array.
  • The SDK now supports additional optional parameters: allowStale for PSC appointment availability requests, orderTransactionId for order filtering, labSlug for marker retrieval, and clinicalNotes for order creation.
  • New client resources available: CompendiumClient, LabAccountClient, and OrderTransactionClient provide access to additional lab testing and order management capabilities. Enhanced insulin injection data now includes delivery mode, form, and bolus purpose tracking. Added support for new lab providers (Sonora Quest, CRL) and Samsung Health integration.
  • The SDK now includes new client classes for enhanced lab testing capabilities. CompendiumClient provides methods for searching and converting lab test data. LabAccountClient enables team lab account management. OrderTransactionClient allows tracking of order transactions and retrieving results. Additional optional parameters have been added to existing lab test creation and booking methods.
  • New order transaction tracking provides visibility into grouped lab orders with status management. Support added for SonoraQuest lab provider, Samsung Health and Tandem Source integrations, and insulin pump device sources. Enhanced appointment booking with notes and async confirmation options.
  • The SDK now includes compendium search and conversion capabilities for lab tests, allowing you to search across multiple lab networks and convert test codes between different providers. Enhanced lab test ordering now supports optional lab account IDs and clinical notes. Appointment booking includes new optional parameters for appointment notes and confirmation timeouts. Insulin injection data now includes additional metadata fields for delivery mode, form, and bolus purpose.
  • The SDK now supports order transaction management through new order transaction endpoints and types. Lab account management capabilities have been added with team lab account retrieval and status tracking. Enhanced lab compendium search functionality is now available with provider ID conversion and canonical marker search. New provider integrations include Tandem Source and Samsung Health for expanded health data collection.
  • The SDK now includes a UsState enum with all 50 US state abbreviations and a UserAddress type for handling user address information with fields for address lines, city, state, country, zip code, and optional access notes.

Enhance the lab report parser API to support uploading multiple files in a single
job creation request. This change improves batch processing capabilities for users
who need to parse multiple lab reports simultaneously.

Key changes:
- Change `parserCreateJob` method to accept array of files instead of single file
- Update JSDoc comments and examples to reflect multiple file support
- Refactor form data handling to append multiple files with same field name
- Simplify query parameter construction in introspect client methods

🌿 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