feat: add derived readiness column support and update lab report API#80
Open
fern-api[bot] wants to merge 1 commit intomainfrom
Open
feat: add derived readiness column support and update lab report API#80fern-api[bot] wants to merge 1 commit intomainfrom
fern-api[bot] wants to merge 1 commit intomainfrom
Conversation
Adds comprehensive support for derived readiness columns in query expressions and updates the lab report parsing API with improved error handling and flexible metadata fields. Key changes: - Add DerivedReadinessColumnExpr type with readiness metrics (sleep_score, recovery_score, strain_score, etc.) - Integrate derived readiness support into AggregateExprArg, QueryGroupByItem, and QuerySelectItem union types - Add ParsingJobFailureReason enum for machine-readable error classification - Remove JobId field from ParsingJob struct - Change ResultMetadata fields from required strings to optional pointers - Add Gender field to ResultMetadata - Change QueryBatch timeframe and queries fields from optional to required - Update BodyCreateLabReportParserJob.File from single io.Reader to slice 🌿 Generated with Fern
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Version Bump: Removed JobId field from ParsingJob struct and changed multiple field types in ResultMetadata from string to *string, breaking existing consumers.
compendiumfor health data search and conversion operations, andlabaccountfor managing laboratory account configurations. Additionally, ECG and menstrual cycle data sources now support insulin pump devices through new enum values.GetTransaction), raw results (GetTransactionResult), and PDF reports (GetTransactionResultPdf). Added support for insulin pump as a sleep cycle source type.