Skip to content

SDK regeneration - #216

Open
fern-api[bot] wants to merge 5 commits into
mainfrom
fern-bot/2026-09-21_19-28-22_073
Open

fern-api[bot] wants to merge 5 commits into
mainfrom
fern-bot/2026-09-21_19-28-22_073

Conversation

@fern-api

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

Copy link
Copy Markdown
Contributor

17.13.0 → 17.13.1

🌿 Generated with Fern


Note

Medium Risk
Adds large new API areas (batch Lang2FHIR, profile/IG versioning) and removes OAuth grantType customization, which may break credential-based integrations that relied on a non-default grant type.

Overview
Regenerates the Java SDK to 17.13.1 (Fern generator 4.19.2) against an updated API spec.

New surface area: client.lang2FhirBatch() exposes async batch Lang2FHIR jobs (create, multipart item upload, finalize/cancel, list/get status, paginated results). Implementation guides gain canonical package versions (createVersion, getVersion). Custom profiles gain a profiles().versions() sub-client (list/create/get/delete retained StructureDefinition versions).

API / model updates reflected in clients and docs: FHIR→OMOP mapping docs and request types expand supported resources (e.g. Location, Organization, Practitioner) and tighten Observation/dropped semantics; mapping_status is now the typed enum MappingEntryMappingStatus. Lang2FHIR adds document types (RTF, XML/C-CDA), more CreateRequestResource values, and wording shifts from “US Core only” to a broader default profile set.

Client behavior changes: OAuth credential builders no longer expose configurable grantType (tokens always use client_credentials). instanceUrl only overrides the base URL when environment is unset or DEFAULT. SDK headers use com.phenoml.maven:phenoml-java-sdk; null header values are skipped.

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

fern-api Bot and others added 5 commits September 21, 2026 19:28
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 c079fa6. Configure here.

.addPathSegments("items");
FileStream fs = new FileStream(stream, filename, null);
MultipartBody.Builder multipartBodyBuilder = new MultipartBody.Builder().setType(MultipartBody.FORM);
multipartBodyBuilder.addFormDataPart("file", filename, fs.toRequestBody());

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 omits required fields

Medium Severity

The stream-based uploadItem overloads always send only a file part and never include document, create, request_id, or id. The batch API requires exactly one of document or create, so these public methods cannot succeed. The file parameter is also unused.

Additional Locations (2)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit c079fa6. Configure here.

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