Skip to content

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

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

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

Conversation

@fern-api
Copy link
Contributor

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

  • The SDK now supports the sonora_quest lab provider for appointments and lab operations. New enum values are also available for derived_readiness in data indexing and apero/pverify in payor code providers.
  • 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 maintain existing behavior, or pass multiple files for batch processing.
  • Added support for new optional parameters: labSlug for marker queries, orderTransactionId for order filtering, allowStale for PSC appointment availability caching, and clinicalNotes for order creation. Enhanced API documentation with clearer parameter descriptions.
  • New CompendiumClient available for searching and converting lab test data. The SDK also adds LabAccountClient and OrderTransactionClient. Several type definitions have been enhanced: ParsingJob now includes an optional failureReason field, ResultMetadata fields are now optional with a new gender field, and ManualProviders now supports Samsung Health.
  • The SDK now supports lab account management through the new LabAccountClient with team lab account retrieval capabilities. Added comprehensive order transaction tracking via OrderTransactionClient including transaction details, results, and PDF downloads. Enhanced lab test creation with optional lab account and lab slug parameters, extended order filtering with transaction ID support, and added appointment notes functionality across booking workflows.
  • The SDK now supports comprehensive lab testing workflows with new compendium search and conversion capabilities. Lab account management features include delegation flow configuration and enhanced order transaction tracking. New providers SamsungHealth and SonoraQuest are now supported. Address structures across the API now include optional access notes for improved delivery instructions.
  • The SDK now supports comprehensive lab account management, order transaction tracking, and parsing job events. New features include Samsung Health provider integration, Sonora Quest lab support, and enhanced appointment/order models with clinical notes and transaction references. Added compendium search capabilities for lab test conversion and derived readiness metrics for advanced health data queries.
  • The SDK now supports compendium search functionality with new SearchCompendiumResponse and SearchMode types. Enhanced address models now include an optional access_notes field for delivery instructions. Added comprehensive US state enumeration and new user address type for improved location handling.

Update the lab report parser to accept multiple files in a single job creation
request. This change allows batch processing of multiple lab reports, improving
efficiency for users with multiple files to parse simultaneously.

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

🌿 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