Skip to content

feat: add derived readiness column support and lab report enhancements#75

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

feat: add derived readiness column support and lab report enhancements#75
fern-api[bot] wants to merge 1 commit intomainfrom
fern-bot/2026-03-20T14-33Z

Conversation

@fern-api
Copy link
Contributor

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

Version Bump: New DerivedReadinessColumnExpr capability added for readiness metric querying, plus enhanced lab report types.

  • New derived readiness column support allows querying of readiness metrics including sleep score, recovery score, stress score, and strain score in aggregate expressions and query operations. Lab report functionality enhanced with improved failure reason tracking and optional metadata fields.
  • New appointment booking features including asynchronous confirmation support with configurable timeout controls, appointment notes for booking and rescheduling, and enhanced PSC appointment availability options. Lab test functionality expanded with lab account ID and lab slug parameters for test creation, clinical notes support for orders, and new Sonora Quest appointment provider. Additional filtering and address enhancement options now available.
  • New provider constants available for Samsung Health and Tandem Source. The SDK now includes enhanced marshaling support for explicit field tracking and additional versioning fields for mobile SDK integration.
  • The SDK now supports comprehensive lab result parsing and transaction tracking with new types including BiomarkerResult, LabResultsRaw, ClientFacingOrderTransaction, and related metadata types. Enhanced existing order and address types with additional fields for clinical notes, access notes, and transaction information.
  • The SDK now includes a new UserAddress type for more detailed address handling, support for form URL-encoded HTTP requests, and three new client modules (Compendium, LabAccount, and OrderTransaction) for enhanced lab testing workflows. Lab test booking now supports idempotency headers for improved reliability.
  • New compendium API types available for lab test search and conversion functionality. The SDK now supports searching canonical lab tests, converting between lab providers, and accessing detailed test metadata including LOINC codes and CPT codes.
  • New compendium client provides health data search and conversion capabilities. New lab account client enables management of team laboratory accounts. Additional order transaction types support enhanced order status tracking workflows.
  • New ordertransaction package provides methods for managing order transactions. Available methods include GetTransaction() for retrieving transaction details, GetTransactionResult() for accessing raw lab results, and GetTransactionResultPdf() for downloading PDF reports.

Adds support for derived readiness columns in aggregate and query expressions,
enabling querying of readiness metrics alongside existing health data columns.
Updates lab report functionality with improved field handling and new enum types.

Key changes:
- Add DerivedReadinessColumnExpr type with 8 readiness metric fields
- Integrate derived readiness into AggregateExprArg, QueryGroupByItem, QuerySelectItem
- Add ParsingJobFailureReason enum for improved error handling
- Update ResultMetadata to use optional pointer fields and add Gender enum
- Change QueryBatch fields from omitempty to required JSON fields
- Update BodyCreateLabReportParserJob to accept multiple file readers

🌿 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