Skip to content

SDK regeneration - #217

Open
fern-api[bot] wants to merge 5 commits into
mainfrom
fern-bot/2026-09-22_19-31-49_752
Open

fern-api[bot] wants to merge 5 commits into
mainfrom
fern-bot/2026-09-22_19-31-49_752

Conversation

@fern-api

@fern-api fern-api Bot commented Sep 22, 2026

Copy link
Copy Markdown
Contributor

17.13.0 → 17.13.1

🌿 Generated with Fern


Note

Medium Risk
Mostly additive generated API surface, but credential-auth grantType removal and Lang2FHIR patient-field changes can break existing integrators without code updates.

Overview
Regenerates the Phenoml Java SDK from an updated API spec (17.13.0 → 17.13.1), bumping Fern tooling and publishing metadata while wiring new and revised endpoints into PhenomlClient / AsyncPhenomlClient.

New capabilities: client.lang2FhirBatch() exposes the full async batch Lang2FHIR workflow (create/list jobs, multipart item upload, finalize/cancel, paginated status and per-item results). Profiles gains client.profiles().versions() for listing, creating, fetching, and deleting retained StructureDefinition versions. Implementation guides adds createVersion / getVersion, with updated delete semantics documented in reference.md.

Lang2FHIR request model: Multi and document-multi requests now support optional primaryPatient (identifier, name, birthDate, gender); patientReference remains as a deprecated alias and must not be combined with primaryPatient. Docs and examples reflect additional resource enum values, RTF/XML/C-CDA document inputs (with size limits), and “default profiles” wording instead of US-Core-only detection.

FHIR→OMOP: Javadoc and types align with broader mapping behavior (more resource types, observation routing, non-stable row IDs); mapping_status is now the typed enum MappingEntryMappingStatus instead of a plain string.

Client integration notes: OAuth client-credentials auth no longer exposes grantType on the builder—the token supplier always sends client_credentials. instanceUrl only rewrites the base URL when environment is unset or DEFAULT. Minor core tweaks include skipping null static headers, updated SDK User-Agent metadata, and console log handler level.

Reviewed by Cursor Bugbot for commit c2ae009. Bugbot is set up for automated code reviews on this repo. Configure here.

fern-api Bot and others added 5 commits September 22, 2026 19:31
Generated by Fern
CLI Version: unknown
Generators:
  - fernapi/fern-java-sdk: 4.19.2
🌿 Generated with Fern
🌿 Generated with Fern

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit c2ae009. Configure here.

} catch (IOException e) {
throw new PhenomlClientException("Network error executing HTTP request", e);
}
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stream upload drops required fields

High Severity

The stream overloads of uploadItem never send the required document or create multipart parts (or request_id/id). They also ignore the file argument and only attach the stream. The API requires exactly one of document or create, so these overloads cannot complete a valid upload.

Additional Locations (1)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit c2ae009. Configure here.

This branch has not been deployed

No deployments
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