Skip to content

feat: add derived readiness column expressions and update lab report parsing#82

Open
fern-api[bot] wants to merge 1 commit intomainfrom
fern-bot/2026-03-26T09-57Z
Open

feat: add derived readiness column expressions and update lab report parsing#82
fern-api[bot] wants to merge 1 commit intomainfrom
fern-bot/2026-03-26T09-57Z

Conversation

@fern-api
Copy link
Contributor

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

Version Bump: New derived readiness column expression types and enhanced lab report parsing capabilities added without breaking existing functionality.

  • The SDK now supports derived readiness column expressions in query operations, enabling access to readiness metrics like sleep score, recovery score, and strain data. Lab report parsing has been enhanced with support for multiple file uploads and improved error reporting with structured failure reasons.
  • The SDK now supports enhanced appointment booking with asynchronous confirmation, appointment notes, and Sonora Quest lab integration. New parameters for lab test creation include lab account ID and lab slug configuration. Address objects now support access notes for delivery instructions, and order queries can be filtered by transaction ID. Additional enhancements include cached availability options for PSC appointments and expanded marker query capabilities.
  • The SDK now supports Samsung Health in the ManualProviders enum and Tandem Source in the PasswordProviders enum. Enhanced JSON serialization handling for various request types with improved field tracking.
  • The SDK now includes enhanced support for lab operations with new BiomarkerResult types, lab report parsing job events, and expanded order tracking capabilities. New optional fields have been added to Address and order types, along with comprehensive lab results metadata structures.
  • New insulin delivery fields available on insulin injection samples including delivery mode (basal/bolus), delivery form (standard/extended), and bolus purpose (meal/correction/mixed/unknown). The SDK now supports form URL encoded requests for specific endpoints. Added new client modules for Compendium, LabAccount, and OrderTransaction operations. Introduced UserAddress type for more specific address handling in user operations.
  • The SDK now supports the compendium API with new types for searching lab tests and converting provider IDs between different lab systems. This includes CanonicalCandidate, PerLabCandidate, and ConvertCompendiumResponse types, along with enums for supported labs and search modes.
  • New compendium client with search and convert methods for health data operations. New lab account client for managing team lab accounts. Added insulin pump as a supported data source type for electrocardiogram and menstrual cycle readings.
  • New order transaction client available with methods to retrieve transaction details, results, and PDF reports. The SDK also adds support for insulin pump as a sleep cycle source type.

…parsing

Adds comprehensive support for derived readiness column expressions in query aggregation and grouping operations. Updates lab report parsing to support multiple files, enhanced failure reporting, and improved metadata handling with optional fields.

Key changes:
- Add DerivedReadinessColumnExpr type with readiness metric constants (date, sleep_score, recovery_score, etc.)
- Update AggregateExprArg, QueryGroupByItem, and QuerySelectItem unions to include derived readiness support
- Enhance lab report parsing with multiple file upload capability and failure reason tracking
- Convert ResultMetadata fields from required to optional with gender field addition
- Remove JobId field from ParsingJob and add FailureReason field for better error handling

🌿 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