Skip to content

SDK regeneration - #233

Open
fern-api[bot] wants to merge 5 commits into
mainfrom
fern-bot/2026-10-01_19-24-42_315
Open

fern-api[bot] wants to merge 5 commits into
mainfrom
fern-bot/2026-10-01_19-24-42_315

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 delta (new batch endpoints, versioning, FHIR2OMOP response shape) and breaking builder/auth tweaks (grantType removed, close() behavior) may require consumer updates even though most changes are additive.

Overview
Regenerates the Phenoml Java SDK to 17.13.1 (Fern generator 4.21.1), aligning the client with expanded API surface and runtime ergonomics.

New capabilities: A lang2FhirBatch() client covers the full async batch workflow (create job, upload create/document items, finalize, cancel, paginated status/results). Implementation guide and profile APIs add version publish/list/get/delete paths, with new ConflictError for IG version conflicts. Lang2FHIR multi/document requests gain optional primaryPatient (identifier, name, birth date, gender); patientReference is a deprecated alias that cannot be combined with primaryPatient. Create flows add more resource enum values (e.g. medication administration/statement, family history) and document inputs now document RTF/XML/C-CDA (dedicated instances); detectionEffort is marked deprecated.

FHIR→OMOP: Generated types and docs reflect a much broader mapping model—admin resources (Location, Organization, Practitioner, etc.), derived observation_period, US Core demographics resolution, richer mappings (omop_field, selected, note, MAPPED status), plus diagnostics and provider_role_contexts. Row models pick up fields such as condition_end_datetime and clarified date provenance on several tables.

Client plumbing: PhenomlClient / AsyncPhenomlClient implement AutoCloseable via ClientOptions.close() (shuts down owned OkHttp only). Credential auth no longer exposes configurable grantType (fixed client_credentials). instanceUrl no longer overwrites a custom non-default Environment. Headers skip null values; User-Agent/SDK name strings updated to 17.13.1 / Maven coordinates.

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

fern-api Bot and others added 5 commits October 1, 2026 19:24
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 8006966. 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 form fields

High Severity

The InputStream uploadItem overloads only attach a file part and never send document, create, request_id, or id. The unused file argument is also ignored. The endpoint requires exactly one of document or create, so these overloads cannot form a valid request and return 400.

Additional Locations (1)
Fix in Cursor Fix in Web

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