Skip to content

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

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

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

Conversation

@fern-api
Copy link
Contributor

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

Version Bump: The parserCreateJob method signature changed from accepting a single file to an array of files, breaking existing callers.

  • The SDK now supports additional provider options including Sonora Quest for appointment and lab services, plus Apero and PVerify for insurance verification. New "derived_readiness" data type is also available for health metrics indexing.
  • The parserCreateJob method now accepts an array of files (core.file.Uploadable[]) 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: labSlug in getMarkers(), orderTransactionId in getOrders(), and allowStale in getPscAppointmentAvailability(). Enhanced PSC appointment booking with proper request wrapper structure.
  • Added support for iOS and Android SDK version headers in manual connection requests. The SDK now accepts optional vitalIosSdkVersion and vitalAndroidSdkVersion parameters to track mobile SDK versions.
  • The SDK now includes three new client modules: CompendiumClient, LabAccountClient, and OrderTransactionClient, providing access to additional API endpoints. Several type definitions have been updated with new enum values and improved optional field handling for better type safety.
  • New CompendiumClient, LabAccountClient, and OrderTransactionClient modules are now available, providing search capabilities for lab tests, lab account management, and order transaction retrieval functionality. Existing lab test methods have been enhanced with additional optional parameters for improved flexibility.
  • The SDK now includes order transaction tracking capabilities through the new OrderTransaction API, enabling monitoring of grouped lab order operations. Added Compendium API for searching and converting lab tests across different providers. Enhanced appointment booking with asynchronous confirmation options and access notes support for all address types. New webhook events are available for lab report parsing job status updates.
  • The SDK now includes comprehensive lab test management features. New compendium search and convert methods help discover and map lab tests across providers. Lab account management is available with team-level controls and billing configurations. Order transaction tracking provides status monitoring across multiple related orders. Additional enhancements include clinical notes support, appointment booking preferences, and lab report parsing job events.
  • The SDK now supports tandem_source and samsung_health providers. New lab account management capabilities are available including account status tracking and transaction monitoring. Enhanced address types now include access_notes fields for delivery instructions. Added comprehensive compendium search functionality for biomarker lookup and conversion. New query capabilities added for derived readiness data analysis.

The lab report parser job creation method now accepts an array of files
instead of a single file, enabling bulk processing of multiple lab reports
in one operation. This change also refactors query parameter building in
introspect endpoints for improved code readability.

Key changes:
- Update parserCreateJob method to accept core.file.Uploadable[] instead of single file
- Modify form data handling to iterate through multiple files
- Refactor query parameter construction in introspect endpoints for cleaner code
- Update method documentation and examples to reflect multi-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