Skip to content

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

Open
fern-api[bot] wants to merge 1 commit intomasterfrom
fern-bot/2026-03-26T09-57Z
Open

feat: support multiple file uploads in lab report parser#145
fern-api[bot] wants to merge 1 commit intomasterfrom
fern-bot/2026-03-26T09-57Z

Conversation

@fern-api
Copy link
Contributor

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

Version Bump: Changed parserCreateJob method signature from accepting single file to file array - existing callers will break without code changes.

  • The SDK now supports Sonora Quest as a new lab provider option. Additional provider options have been added for insurance verification (Apero, PVerify) and readiness data indexing.
  • The parserCreateJob method now accepts an array of files instead of a single file. Existing code calling parserCreateJob(file, request) must be updated to parserCreateJob([file], request) to wrap the file in an array.
  • New optional parameters available for filtering lab orders and markers: orderTransactionId for order queries, labSlug for marker queries, and allowStale for appointment availability queries.
  • The SDK now includes three new client modules: CompendiumClient for accessing compendium data, LabAccountClient for lab account management, and OrderTransactionClient for handling order transactions. Additionally, insulin injection samples now include detailed delivery information (delivery mode, form, and bolus purpose), and lab result metadata fields are now optional with support for gender information.
  • The SDK now supports lab test compendium search and conversion through the new CompendiumClient, lab account management via LabAccountClient, and order transaction tracking with OrderTransactionClient. Lab test creation now accepts optional lab account and lab slug parameters for better organization.
  • The SDK now supports order transaction tracking, lab account management, test compendium search and conversion, and insulin injection data. New providers include Sonora Quest, Tandem Source, and Samsung Health. Appointment booking now supports notes and asynchronous confirmation options, while address types include optional access notes fields.
  • New compendium search and conversion endpoints enable lab test discovery and cross-provider mapping. Enhanced lab account management includes team-based access controls and appointment scheduling improvements with notes support. Additional insulin injection metadata and lab report parsing webhook events provide richer data integration capabilities.
  • The SDK now supports lab account management, order transaction tracking, and compendium search capabilities. New endpoints include lab account status monitoring, order transaction lifecycle tracking, and cross-lab test identification and conversion. Additional provider support added for insulin pumps, Samsung Health, and Tandem devices. Enhanced address types now include access notes for delivery instructions.
  • New types added for US state handling (UsState enum), user address management (UserAddress), and enhanced lab operations including order transactions, lab accounts, and parsing jobs. These additions provide better support for address validation, lab workflow management, and medication tracking.

Enhanced the lab report parser to accept multiple files in a single request,
improving efficiency for batch processing scenarios. The parserCreateJob method
now accepts an array of files instead of a single file.

Key changes:
- Update parserCreateJob method to accept file array parameter
- Modify form data handling to iterate over multiple files
- Update JSDoc comments and examples to reflect multiple file support
- Refactor query parameter building 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