Skip to content

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

Open
fern-api[bot] wants to merge 1 commit intomasterfrom
fern-bot/2026-03-20T11-49Z
Open

feat: support multiple file uploads in lab report parser#137
fern-api[bot] wants to merge 1 commit intomasterfrom
fern-bot/2026-03-20T11-49Z

Conversation

@fern-api
Copy link
Contributor

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

Version Bump: The parserCreateJob method signature changed from accepting core.file.Uploadable to core.file.Uploadable[], breaking existing callers.

  • The SDK now supports Sonora Quest as a lab provider for appointments and lab orders. New insurance verification providers Apero and PVerify are available for payor code lookups. Enhanced data querying with derived readiness index support.
  • The parserCreateJob method in LabReportClient now accepts an array of files instead of a single file, enabling batch processing of multiple lab reports. Existing code will need to wrap single files in an array: parserCreateJob([file], request) instead of parserCreateJob(file, request).
  • The SDK now supports additional filtering by order transaction ID in lab test order queries. PSC appointment availability requests can now use cached data via the allowStale parameter. The bookPscAppointment method signature has been updated to accept a structured request object with optional idempotency headers.
  • The SDK now includes three new client endpoints: CompendiumClient for medical compendium data, LabAccountClient for lab account management, and OrderTransactionClient for order transaction operations. The ParsingJob type has been updated to include an optional failureReason field while removing the jobId field. ResultMetadata fields are now optional and include a new gender field. Several provider and status enums have been expanded with additional values.
  • The SDK now includes three new client modules for enhanced lab testing functionality: CompendiumClient for searching and converting lab test data, LabAccountClient for managing team lab accounts, and OrderTransactionClient for tracking order transactions and retrieving results. Additional optional parameters have been added to existing lab test methods for improved filtering and configuration.
  • The SDK now supports order transaction tracking with new orderTransaction fields in orders and lab results. Compendium APIs have been added for searching and converting lab tests between different providers. Appointment booking now accepts optional parameters for asynchronous confirmation behavior and timeout controls. New providers (Sonora Quest, Tandem Source, Samsung Health) are now supported along with lab account management capabilities.
  • The SDK now supports compendium search and conversion capabilities for discovering and mapping lab tests across provider networks. New order transaction management enables tracking of complex multi-order workflows with status monitoring. Enhanced appointment booking with notes and confirmation timeout options. Added lab account management with delegated flow configuration and team access controls.
  • The SDK now supports lab account management with new types for tracking account status, order transactions, and enhanced address handling. Added support for tandem_source and samsung_health providers, along with comprehensive compendium search capabilities and US state validation.

The lab report parser now accepts an array of files instead of a single file,
enabling batch processing of multiple lab reports in one operation. The API
maintains backward compatibility for consumers using single file uploads.

Key changes:
- Updated parserCreateJob method to accept core.file.Uploadable[] instead of core.file.Uploadable
- Modified form data handling to iterate over multiple files
- Refactored query parameter construction in introspect client methods for cleaner code
- Updated JSDoc examples to show array syntax

🌿 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