Skip to content

feat: add Sonora Quest provider support and optimize object schema performance#146

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

feat: add Sonora Quest provider support and optimize object schema performance#146
fern-api[bot] wants to merge 1 commit intomasterfrom
fern-bot/2026-03-26T14-30Z

Conversation

@fern-api
Copy link
Contributor

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

Version Bump: Removed "insulin_injection" enum value from IntervalTimeseriesExprTimeseries, breaking existing code that uses exhaustive type checking or switch statements.

  • The "insulin_injection" timeseries type has been removed from the IntervalTimeseriesExprTimeseries enum. Code using exhaustive type checking or switch statements over this enum will need to remove references to this value. Additionally, support for Sonora Quest lab provider has been added across appointment scheduling and lab management features.
  • 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 upload multiple lab reports in one operation.
  • The Lab Tests client now supports additional filtering options: orderTransactionId parameter for order queries, labSlug parameter for marker queries, allowStale parameter for appointment availability requests, and clinicalNotes field for order creation. Method signatures for appointment booking have been updated to include idempotency headers.
  • The address field in UserInfoCreateRequest now uses UserAddress type instead of Address. The manual connection endpoint now accepts optional mobile SDK version headers for improved tracking.
  • The SDK now includes three new client endpoints: CompendiumClient, LabAccountClient, and OrderTransactionClient for accessing extended API functionality. Additional optional fields have been added to ClientFacingInsulinInjectionSample for insulin delivery tracking, and several enum types now support additional provider and status values.
  • New CompendiumClient, LabAccountClient, and OrderTransactionClient modules are now available, providing comprehensive support for laboratory testing workflows including test search/conversion, account management, and order transaction handling.
  • The SDK now supports insulin injection data tracking with detailed delivery information including delivery mode, form, and bolus purpose. New lab account management capabilities allow teams to configure delegated workflows and track account status. Enhanced appointment booking includes async confirmation controls with configurable timeout settings. Additional improvements include derived readiness metrics for sleep/recovery data, support for SonoraQuest lab provider, access notes for delivery addresses, and comprehensive lab test compendium search functionality.
  • The SDK now supports lab test compendium search and conversion through new CompendiumClient methods. Insulin injection data now includes delivery mode, delivery form, and bolus purpose information. New lab account management capabilities and order transaction tracking have been added to appointment workflows.
  • The SDK now supports lab report parsing job events and comprehensive order transaction management. New capabilities include insulin injection tracking, derived readiness analytics, expanded provider support (Tandem Source, Samsung Health), and enhanced lab account management with compendium search functionality.
  • The SDK now supports lab compendium search functionality with new SearchCompendiumResponse and related types for finding canonical and per-lab biomarkers. New insulin injection timeseries expressions are available for querying insulin data. Enhanced address handling with UserAddress type and optional access_notes field on UsAddress.

…rformance

Added support for Sonora Quest as a new lab provider across appointment scheduling and lab management capabilities. Also implemented significant performance optimizations for object schema validation by deferring property metadata computation until runtime, reducing memory allocation and improving throughput for high-frequency operations.

Key changes:
- Added "sonora_quest" enum value to AppointmentProvider, AppointmentPscLabs, ClientFacingLabs, and PayorCodeExternalProvider
- Removed deprecated "insulin_injection" timeseries type from IntervalTimeseriesExprTimeseries enum
- Added "derived_readiness" index column type to IndexColumnExprIndex enum
- Optimized object schema validation with lazy property computation and reduced allocations
- Enhanced test utilities with SSE body support and configurable JSON field filtering
- Removed obsolete documentation examples containing vitalLinkToken references

🌿 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