Skip to content

SDK regeneration - #230

Closed
fern-api[bot] wants to merge 6 commits into
mainfrom
fern-bot/2026-10-01_17-51-40_649
Closed

fern-api[bot] wants to merge 6 commits into
mainfrom
fern-bot/2026-10-01_17-51-40_649

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 API expansion plus removal of OAuth grantType customization may break callers; FHIR2OMOP and lang2fhir contract changes affect clinical integration behavior on the server side.

Overview
Regenerates the Phenoml Java SDK from 17.13.0 to 17.13.1 (Fern CLI/generator bump) and wires new API surface into sync/async clients.

New capabilities: a lang2FhirBatch() client for create/list/upload/finalize/cancel/get batch jobs and per-item results; profile version CRUD under profiles().versions(); implementation guide createVersion / getVersion (with ConflictError on 409). Lang2fhir multi/document flows gain optional PrimaryPatient; patientReference is documented as a deprecated alias for primary_patient.identifier and must not be combined with primary_patient. Create resource enums add familymemberhistory, medicationadministration, medicationstatement.

FHIR→OMOP: request docs and generated javadoc expand supported resources (admin/linkage tables, derived observation_period, etc.) and response shapes (e.g. omop_field, selected, provider_role_contexts, diagnostics) per the updated spec—not a local logic change in this repo.

Client/runtime tweaks: PhenomlClient / AsyncPhenomlClient implement AutoCloseable and delegate close() to ClientOptions (shuts down owned OkHttp only). Credentials auth drops configurable grantType; OAuth always uses client_credentials. instanceUrl no longer overwrites a non-default custom Environment. Headers skip null values; User-Agent/SDK name strings updated.

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

fern-api Bot added 4 commits October 1, 2026 17:52
Generated by Fern
CLI Version: unknown
Generators:
  - fernapi/fern-java-sdk: 4.21.1
🌿 Generated with Fern
🌿 Generated with Fern
@fern-api
fern-api Bot force-pushed the fern-bot/2026-10-01_17-51-40_649 branch from 1f580c0 to 333bf85 Compare October 1, 2026 17:52

@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 1b0e3bb. 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 parts

Medium Severity

The InputStream uploadItem overloads send only the file multipart part and ignore both the unused file argument and any document/create/request_id fields. The API requires exactly one of document or create, so these helpers cannot produce a valid upload.

Additional Locations (2)
Fix in Cursor Fix in Web

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