Skip to content

feat: replace Address with UserAddress type and add new SDK features#128

Open
fern-api[bot] wants to merge 1 commit intomasterfrom
fern-bot/2026-03-13T17-36Z
Open

feat: replace Address with UserAddress type and add new SDK features#128
fern-api[bot] wants to merge 1 commit intomasterfrom
fern-bot/2026-03-13T17-36Z

Conversation

@fern-api
Copy link
Contributor

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

  • The SDK now supports HTTP request/response logging with configurable log levels and automatic redaction of sensitive headers. New logging parameter available on client constructors allows fine-grained control over HTTP debugging information. Lab report parser now accepts multiple files for batch processing.
  • The lab tests API now supports enhanced filtering and appointment scheduling options. New optional parameters include lab filtering by account ID and slug, order filtering by transaction ID, appointment notes for phlebotomy requests, idempotency keys for PSC appointment booking, and clinical notes for order creation. The PSC appointment availability method now requires a lab parameter and supports stale data caching.
  • The SDK now supports additional optional parameters for enhanced lab testing capabilities, including lab account selection by slug, appointment notes, clinical notes for orders, and improved PSC appointment booking with idempotency support. Manual provider connections now accept SDK version information and granted permissions.
  • The create_user() method now requires a UserAddress object instead of Address. Update your imports from from vital import Address to from vital import UserAddress. The UserAddress type has the same structure and fields as the previous Address type.
  • The SDK now supports compendium search and conversion for lab test standardization. New CompendiumClient provides search() and convert() methods to query and standardize lab tests across providers. Added LabAccountClient with get_team_lab_accounts() method for managing lab provider integrations. Enhanced logging capabilities with configurable log levels and console output.
  • New OrderTransactionClient provides comprehensive order transaction management with methods for retrieving transactions, fetching results, and downloading PDF reports. The link client's create_manual_connection method now accepts optional SDK version headers and granted permissions for enhanced integration capabilities.
  • The SDK now supports lab compendium search functionality with new search and conversion methods. Added comprehensive order transaction management capabilities and enhanced appointment booking with async confirmation options. Introduced support for Sonora Quest lab provider and added clinical notes fields for better order management.
  • New lab providers and data types added including Sonora Quest lab support, Samsung Health provider, order transaction management types, and derived readiness column expressions. Extended patient address models with access notes field.
  • New types available for address handling: UsState enum containing all US state abbreviations and UserAddress model for structured address information.

This update replaces the Address type with the more specific UserAddress type in user creation methods, adds support for Python 3.13-3.15, introduces new compendium and lab account management capabilities, and expands order transaction handling.

Key changes:
- Replace Address with UserAddress type in create_user() methods
- Add support for Python 3.13, 3.14, and 3.15
- Add new compendium client for lab test search and conversion
- Add lab_account client for managing laboratory accounts
- Add order_transaction client for handling order transactions
- Export 50+ new types including CanonicalCandidate, CompendiumSearchLabs, OrderSummary
- Add logging configuration support to client constructors

🌿 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