Skip to content

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

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

feat: update lab report parser to accept multiple files#138
fern-api[bot] wants to merge 1 commit intomasterfrom
fern-bot/2026-03-20T14-34Z

Conversation

@fern-api
Copy link
Contributor

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

Version Bump: Changed parserCreateJob method signature from single file parameter to array of files, breaking existing callers.

  • The SDK now supports Sonora Quest as a lab provider option for appointments and lab-related operations. Additional payor code providers "apero" and "pverify" are also now available for insurance verification workflows.
  • The parserCreateJob method now accepts an array of files instead of a single file. Existing code that passes a single file must be updated to pass an array containing that file: parserCreateJob([file], request) instead of parserCreateJob(file, request).
  • New optional parameters available: labSlug for lab-specific marker filtering, orderTransactionId for transaction-based order filtering, allowStale for cached appointment availability data, and clinicalNotes for order creation requests.
  • The SDK now supports tracking mobile SDK versions through new optional headers (vitalIosSdkVersion and vitalAndroidSdkVersion) in the manual connection data submission method.
  • Breaking changes to ParsingJob and ResultMetadata interfaces. The ParsingJob interface removes the required jobId field and adds an optional failureReason field. The ResultMetadata interface makes several previously required fields optional (patientFirstName, patientLastName, dob, labName) and adds a new optional gender field. Additionally, UserInfo and related types now use UserAddress instead of Address. New client interfaces available: CompendiumClient, LabAccountClient, and OrderTransactionClient.
  • The SDK now includes three new client modules for enhanced laboratory testing capabilities: CompendiumClient for lab test search and conversion operations, LabAccountClient for team lab account management, and OrderTransactionClient for comprehensive order transaction tracking and result retrieval. Additionally, several existing request types have been extended with new optional parameters for improved functionality.
  • The SDK now supports lab compendium search for canonical test matching and cross-lab conversion through new search and convert endpoints. Order transaction tracking has been added to group and monitor related orders with comprehensive status management. Sonora Quest lab provider is now supported across all booking and testing workflows. New optional fields include access notes for addresses, appointment notes for bookings, async confirmation options, and enhanced order status tracking with corrected statuses and lab processing indicators.
  • The SDK now supports comprehensive lab test compendium search and conversion capabilities. New searchCompendium() and convertCompendium() methods enable lab test mapping and standardization across providers. Enhanced lab testing workflows with optional clinical notes, appointment notes, and lab account configuration parameters.
  • The SDK now supports comprehensive lab testing workflows including lab account management, order transaction tracking, biomarker compendium search, and provider ID conversion. New address types include access notes for delivery instructions, and additional health data providers (Tandem Source and Samsung Health) are now supported.

The lab report parser now supports uploading multiple files in a single request,
improving batch processing capabilities. Additionally, refactored query parameter
handling in introspect methods for cleaner code organization.

Key changes:
- Update parserCreateJob to accept array of files instead of single file
- Refactor query parameter construction in getUserResources and getUserHistoricalPulls
- 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