Skip to content

SDK regeneration - #228

Open
fern-api[bot] wants to merge 5 commits into
mainfrom
fern-bot/2026-10-01_17-11-13_427
Open

fern-api[bot] wants to merge 5 commits into
mainfrom
fern-bot/2026-10-01_17-11-13_427

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 with new clinical/batch endpoints and OMOP response shape changes; OAuth builder API removal may break callers that set grant type explicitly.

Overview
Regenerates the Phenoml Java SDK to 17.13.1 (Fern CLI/generator bump) and wires new API surface from the updated OpenAPI spec.

New capabilities: client.lang2FhirBatch() covers async batch Lang2FHIR jobs (create/list, upload items, finalize/cancel, poll status and per-item results). Implementation-guide package versions (createVersion, getVersion) and custom profile version retention (client.profiles().versions()) are added, with a ConflictError type for IG publish conflicts.

Lang2FHIR: Multi/create and document flows gain optional primaryPatient; patientReference is documented as a deprecated alias that cannot be combined with primary_patient. Resource detection enums expand (e.g. family history, medication administration/statement). Document upload docs add RTF/XML-C-CDA and size limits.

FHIR2OMOP: Generated models and Javadoc reflect broader mapping behavior—e.g. provider_role_contexts, diagnostics, richer mappings/dropped semantics, extra OMOP row types, and updated CreateOmopRequest supported resource list.

Client ergonomics: PhenomlClient / AsyncPhenomlClient implement AutoCloseable via ClientOptions.close() (owned OkHttp only). Credentials auth drops configurable grantType (always client_credentials). Custom instanceUrl no longer overwrites a non-default Environment.

Reviewed by Cursor Bugbot for commit 1ee1cb6. 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:11
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 1ee1cb6. 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 ignore the file argument and never attach document, create, request_id, or id. This endpoint requires exactly one of document plus a file, or JSON-only create, so stream uploads always fail server-side validation.

Additional Locations (2)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 1ee1cb6. 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