Skip to content

feat: enhance parsing job API with failure reasons and gender field#83

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

feat: enhance parsing job API with failure reasons and gender field#83
fern-api[bot] wants to merge 1 commit intomainfrom
fern-bot/2026-03-26T14-29Z

Conversation

@fern-api
Copy link
Contributor

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

Version Bump: Removing JobId field and changing ResultMetadata field types from string to *string breaks existing code that accesses these fields.

  • The SDK now supports derived readiness column expressions for querying chronotype, sleep scores, recovery metrics, and stress/strain data. Additionally, insulin injection timeseries expressions are available with comprehensive field support for delivery mode, form, and bolus purpose tracking.
  • Breaking changes to ParsingJob and ResultMetadata structs. The JobId field has been removed from ParsingJob. ResultMetadata fields (PatientFirstName, PatientLastName, Dob, LabName) are now optional pointer types instead of required strings. File upload now accepts multiple files via []io.Reader. New failure reasons and gender field added for enhanced parsing capabilities.
  • The SDK now supports Sonora Quest Diagnostics laboratory for lab testing and PSC appointments. New PSC appointment booking includes idempotency key support and asynchronous confirmation options with configurable timeouts. Appointment booking and management now supports appointment notes, and lab test creation supports lab account ID and lab slug parameters.
  • The SDK now supports Samsung Health as a manual provider and Tandem Source as a password provider. New fields are available on ManualConnectionData for iOS/Android SDK versions and granted permissions tracking.
  • The SDK now supports comprehensive lab report parsing workflows with new BiomarkerResult types that include detailed metadata like timestamps, reference ranges, and interpretation data. New webhook event types ClientFacingLabReportParsingJobCreatedEvent and ClientFacingLabReportParsingJobUpdatedEvent enable real-time tracking of lab report processing. Enhanced order tracking capabilities include order transaction information and missing biomarker result handling with failure type classification.
  • The SDK now includes enhanced insulin injection data modeling with new delivery mode, delivery form, and bolus purpose fields. New client modules are available: Compendium, LabAccount, and OrderTransaction for expanded API access. The CreateInsuranceRequest.Insured field is now required, and UserAddress replaces the generic Address type in user information structures.
  • The SDK now includes comprehensive types for lab test compendium functionality, supporting medical lab test searching and provider ID conversions across different laboratory networks.
  • New Compendium client available for lab data search and conversion operations. New LabAccount client provides access to team lab account management with filtering by status and ID. Added support for insulin pump data sources in health metrics.
  • New order transaction APIs available on OrderTransactionClient for retrieving transaction details, results, and PDF reports. Added insulin pump support to sleep cycle source types.

Add comprehensive failure reason enum and gender support to improve
lab report parsing capabilities. This includes new machine-readable
failure reasons and expanded metadata fields for better data handling.

Key changes:
- Remove JobId field from ParsingJob struct
- Add new FailureReason field with ParsingJobFailureReason enum
- Change File field from io.Reader to []io.Reader in BodyCreateLabReportParserJob
- Convert ResultMetadata fields from required strings to optional pointers
- Add Gender field to ResultMetadata with ResultMetadataGender enum

🌿 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