Skip to content

refactor: remove InputStream overloads and update lab test APIs#73

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

refactor: remove InputStream overloads and update lab test APIs#73
fern-api[bot] wants to merge 1 commit intomainfrom
fern-bot/2026-03-18T14-52Z

Conversation

@fern-api
Copy link
Contributor

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

Version Bump: Removed four public parserCreateJob method overloads that accepted InputStream parameters - existing callers will get compile errors.

  • The SDK now supports configurable logging through the ClientOptions.Builder.logging() method. Logging is silent by default and must be explicitly enabled. Enhanced SSE streaming capabilities are available with new event-level discrimination support for handling discriminated union payloads in server-sent events.
  • The parserCreateJob methods that accepted InputStream parameters have been removed from RawLabReportClient. Use the File-based overloads instead. Additionally, lab test APIs now support new optional fields including lab account ID, lab slug, and appointment notes.
  • The SDK now supports SDK version tracking for manual connections, clinical notes for orders, and access notes for addresses. New optional fields include vitalIosSdkVersion and vitalAndroidSdkVersion in ManualConnectionData, clinicalNotes in ClientFacingOrder, accessNotes in Address, grantedPermissions in ManualConnectionData, and appointmentNotes in AppointmentRescheduleRequest. Enhanced data querying with new derived readiness column expressions.
  • The GetOrderTransactionResponse.getStatus() method now returns an OrderTransactionStatus enum instead of a String. Update code to handle the enum type. The ParsingJob.getJobId() method has been removed - use ParsingJob.getId() instead for the parsing job identifier.
  • The UserInfo.getAddress() method now returns UserAddress instead of Address. Update your code to use the new return type, which includes the same fields plus an optional AccessNotes field. New DerivedReadinessColumnExpr variant is available in QuerySelectItem for readiness data queries.
  • The getMarkers() methods now accept an optional lab_slug parameter for filtering markers by laboratory. Updated method documentation clarifies that getMarkers() returns only active and orderable markers (excluding reflex markers), while getMarkersForLabTest() includes reflex markers.
  • The SDK now supports filtering markers by lab slug using the lab_slug parameter in the getMarkers method. Additionally, iOS and Android SDK version headers can now be included when connecting manual providers.
  • The SDK now includes a comprehensive logging framework for monitoring HTTP requests and responses. Developers can configure logging levels (DEBUG, INFO, WARN, ERROR) and provide custom logger implementations. Logging is silent by default and can be enabled via the new logging() method on SDK builders.

New lab testing providers are now supported: Sonora Quest and CRL labs are available for appointment booking and test processing. Samsung Health integration is now available for manual data entry. The SDK also adds support for Apero and PVerify payor verification services.

Additional order status tracking is now available for corrected test results, and new CompendiumClient and LabAccountClient provide access to expanded lab testing capabilities.

  • New compendium API endpoints for searching and converting food items are now available through the CompendiumClient. The SDK also includes new SSE event parsing utilities for handling Server-Sent Events with discriminated unions.
  • New compendium search and conversion capabilities available through ConvertCompendiumBody and SearchCompendiumBody request classes. The SDK now includes LabAccountClient with getTeamLabAccounts() method for managing laboratory accounts.
  • New lab account management capabilities are now available through the RawLabAccountClient class with getTeamLabAccounts() method for retrieving and filtering team lab accounts. Lab test order creation now supports an optional clinicalNotes field for enhanced documentation during the ordering process.
  • New additionalProperty() and additionalProperties() methods available on all request builders. These methods allow passing custom key-value pairs in API requests for enhanced flexibility.
  • New convenience methods additionalProperty() and additionalProperties() are now available on all request builders, providing a fluent interface for setting custom properties on API requests.
  • New builder methods additionalProperty() and additionalProperties() are now available on all vitals request classes, allowing you to set custom properties on API requests using a fluent builder pattern.
  • The SDK now supports adding custom properties to all vitals request builders via new additionalProperty() and additionalProperties() methods.
  • New builder methods additionalProperty() and additionalProperties() are now available on request builders, allowing custom key-value pairs to be passed for forward compatibility. The AppointmentBookingRequest builder also supports a new optional appointmentNotes field for custom booking annotations.
  • New CanonicalCandidate type available for lab test canonicalization with LOINC codes, provider IDs, aliases, and confidence scoring. Builder classes now include convenience methods additionalProperty() and additionalProperties() for easier custom property management.
  • The SDK now supports an optional appointmentNotes field on ClientFacingAppointment objects. Additionally, builder classes across the SDK now include additionalProperty() and additionalProperties() methods for enhanced flexibility when constructing objects.
  • New additionalProperty() and additionalProperties() builder methods are now available across all client-facing data types. These methods allow you to add custom properties to model objects that will be preserved during serialization.
  • The SDK now provides builder methods for setting additional properties on all client-facing data types. Use additionalProperty(key, value) or additionalProperties(map) when building objects to include custom key-value pairs.
  • The SDK now supports setting additional properties on Client Facing types through new builder methods. Use additionalProperty(key, value) or additionalProperties(map) on any Client Facing type builder to include custom fields.
  • The SDK now supports comprehensive lab account management through the new ClientFacingLabAccount type, enabling configuration of lab delegation flows, billing settings, and team allowlists. New lab report parsing job events (ClientFacingLabReportParsingJobCreatedEvent and ClientFacingLabReportParsingJobUpdatedEvent) are available for tracking document processing workflows. All existing builder types now include additionalProperty() methods for extended metadata support.
  • New builder methods additionalProperty() and additionalProperties() are now available on all client-facing type builders. These methods allow setting custom key-value pairs on API response objects during construction.
  • New builder methods additionalProperty() and additionalProperties() are now available on all data model builders, enabling custom field extensions when constructing objects.
  • The SDK now supports setting additional properties on objects during construction. New additionalProperty(String key, Object value) and additionalProperties(Map<String, Object>) methods are available on all builder classes, enabling more flexible object creation.
  • New additionalProperty() and additionalProperties() methods available on all model builder classes for setting dynamic properties.
  • New compendium conversion API available with ConvertCompendiumResponse class for converting lab tests between different providers. Added CompendiumSearchLabs enum supporting LABCORP, QUEST, BIOREFERENCE, and SONORA_QUEST. Enhanced all model builders with additionalProperty() and additionalProperties() methods for better handling of unknown API response fields.
  • The SDK now supports setting additional properties on model builders through new additionalProperty() and additionalProperties() methods. This provides better forward compatibility when the API adds new fields. A new GetTeamLabAccountsResponse class is also available for team lab account operations.
  • New additionalProperty() and additionalProperties() methods available on all Grouped data type builders. These methods allow adding custom key-value pairs to objects during construction for enhanced extensibility.
  • New builder methods available for setting additional properties on grouped data types. The additionalProperty() and additionalProperties() methods can be used when building grouped response objects programmatically.
  • The SDK now supports additional properties in builder patterns through new additionalProperty() and additionalProperties() methods. New enum value DERIVED_READINESS added to IndexColumnExprIndex, and new enum classes LabAccountDelegatedFlow and LabAccountStatus are available.
  • New builder methods additionalProperty() and additionalProperties() are now available on all data model builders, enabling programmatic access to set custom properties on response objects.
  • New PerLabCandidate type available for laboratory test candidate matching, providing access to marker IDs, lab information, LOINC codes, CPT codes, and confidence scores. All builder classes now include additionalProperty() and additionalProperties() methods for handling custom fields.
  • New types available for provider ID conversion operations: ProviderIdConversionResponse and RelatedCandidate. Added support for Samsung Health provider and gender field in result metadata. All model builders now support additional properties via additionalProperty() and additionalProperties() methods.
  • New SearchCompendiumResponse, SearchMode, and UsState types are now available in the SDK. The SDK also adds missing builder methods for additional properties on existing types.
  • New UserAddress type available for handling user address information. Enhanced builder pattern support across existing model classes with additional property methods.

Removes InputStream-based parserCreateJob overloads from RawLabReportClient and adds new optional fields to lab test APIs. The removed methods accepted InputStream parameters for file uploads but have been consolidated into File-based methods.

Key changes:
- Remove parserCreateJob overloads accepting InputStream parameters
- Add labAccountId and labSlug fields to CreateLabTestRequest
- Add labSlug field to LabTestsGetMarkersRequest  
- Add appointmentNotes field to RequestAppointmentRequest
- Change lab parameter type from String to AppointmentPscLabs enum in LabTestsGetPscAppointmentAvailabilityRequest
- Update method documentation to reference "file(s)" instead of "file"

🌿 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