Skip to content

feat: add support for derived readiness columns and enhanced lab report parsing#81

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

feat: add support for derived readiness columns and enhanced lab report parsing#81
fern-api[bot] wants to merge 1 commit intomainfrom
fern-bot/2026-03-25T19-20Z

Conversation

@fern-api
Copy link
Contributor

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

Version Bump: New DerivedReadinessColumnExpr type and derived readiness column support adds new query capabilities.

  • The SDK now supports derived readiness columns in aggregation and query operations. New DerivedReadinessColumnExpr type provides access to 8 readiness metrics including chronotype, sleep_score, recovery_score, recovery_zone, stress_score, strain_score, strain_zone, and date. Lab report parsing has been enhanced with structured failure reasons and improved metadata handling with optional gender field support. Multiple file uploads are now supported for lab report parser jobs.
  • The SDK now supports enhanced appointment booking with idempotency controls, async confirmation options, and appointment notes. New clinical notes field available for lab test orders, and expanded lab provider support including Sonora Quest.
  • New provider support for Samsung Health and Tandem Source. Enhanced request serialization with additional fields for mobile SDK version tracking and permission management.
  • New BiomarkerResult type provides comprehensive biomarker data with metadata including reference ranges, interpretations, and source markers. Lab result processing capabilities enhanced with new LabResultsRaw, LabResultsMetadata, and SampleData types. Event tracking added for lab report parsing jobs with ClientFacingLabReportParsingJobCreatedEvent and ClientFacingLabReportParsingJobUpdatedEvent. Additional fields added to addresses and orders for enhanced data capture.
  • New insulin injection metadata fields are now available including delivery mode (basal/bolus), delivery form (standard/extended), and bolus purpose (meal/correction/mixed/unknown). The SDK also adds new Compendium, LabAccount, and OrderTransaction clients for accessing additional API endpoints.
  • The SDK now includes a comprehensive compendium module for lab test operations. New types support searching for canonical lab tests, converting tests between different laboratories, and accessing detailed metadata including LOINC codes, CPT codes, and provider IDs across supported labs (LabCorp, Quest, BioReference, Sonora Quest).
  • The SDK now includes new compendium and lab account management capabilities. New compendium.Client provides search and convert operations for medical data. New labaccount.Client enables retrieval of team lab accounts with filtering options.
  • New OrderTransaction client available with methods to retrieve transaction details, results, and PDF reports. Added Bytes pointer utility function and insulin pump source type for sleep cycle data.

…rt parsing

Add comprehensive support for derived readiness columns in aggregation and query operations, plus enhanced lab report parsing capabilities with improved metadata handling.

Key changes:
- Add DerivedReadinessColumnExpr type with 8 readiness metrics (chronotype, sleep_score, recovery_score, etc.)
- Integrate derived_readiness column support across AggregateExprArg, QueryGroupByItem, and QuerySelectItem
- Add derived_readiness to IndexColumnExprIndex enum for complete query integration
- Add ParsingJobFailureReason enum with structured error handling for lab parsing
- Enhance ResultMetadata with optional gender field and make all metadata fields optional
- Change QueryBatch timeframe and queries fields from optional to required
- Update BodyCreateLabReportParserJob to support multiple file uploads

🌿 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