Skip to content

SDK regeneration - #229

Closed
fern-api[bot] wants to merge 5 commits into
mainfrom
fern-bot/2026-10-01_17-44-55_611
Closed

fern-api[bot] wants to merge 5 commits into
mainfrom
fern-bot/2026-10-01_17-44-55_611

Conversation

@fern-api

@fern-api fern-api Bot commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

17.13.0 → 17.13.1

🌿 Generated with Fern


Note

Medium Risk
Large generated surface area plus auth builder and FHIR2OMOP response semantics changes can break integrators who relied on old OAuth grantType configuration or prior OMOP field shapes.

Overview
Regenerates the Java SDK from the updated API spec (17.13.0 → 17.13.1), including Fern generator/cli bumps and refreshed docs, examples, and wire metadata.

New capabilities: client.lang2FhirBatch() exposes batch job lifecycle (create, upload items, finalize, cancel, list/get status, fetch results). Implementation guide and profile clients gain versioned package/StructureDefinition endpoints (createVersion, getVersion, list/create/get/delete profile versions). Lang2FHIR adds optional PrimaryPatient on multi/create flows (with patientReference documented as a deprecated alias), more CreateRequestResource values, and document ingestion for RTF/XML-C-CDA (plus stricter size/format rules in docs).

FHIR→OMOP: Response models and javadoc expand materially—extra tables/roles (location, care_site, provider, observation_period, death), diagnostics, provider_role_contexts, richer mappings (e.g. omop_field, selected), and documented changes to source-value and type-concept semantics.

Client/runtime tweaks: PhenomlClient / AsyncPhenomlClient implement AutoCloseable via ClientOptions.close() (OkHttp shutdown when the SDK owns the client). Credential auth no longer exposes a configurable grantType (fixed to client_credentials). Custom instanceUrl is applied only when environment is unset/default, preserving an explicitly chosen environment.

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

fern-api Bot and others added 5 commits October 1, 2026 17:45
Generated by Fern
CLI Version: unknown
Generators:
  - fernapi/fern-java-sdk: 4.21.1
🌿 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 c5256b4. 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 uploads omit required fields

High Severity

The InputStream uploadItem overloads send only a file part and never attach document, create, request_id, or id. They also ignore the file argument. The batch API requires exactly one of document (with a file) or create, so stream uploads fail at the server instead of accepting a streamed document item.

Additional Locations (1)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit c5256b4. Configure here.

@gavinsharp gavinsharp closed this Oct 8, 2026
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.

1 participant