Skip to content

SDK regeneration - #234

Closed
fern-api[bot] wants to merge 5 commits into
mainfrom
fern-bot/2026-10-01_19-39-49_241
Closed

fern-api[bot] wants to merge 5 commits into
mainfrom
fern-bot/2026-10-01_19-39-49_241

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 change across clinical mapping and batch APIs; OAuth builder removes grantType customization, which could break callers that relied on it.

Overview
Regenerates the Java SDK to 17.13.1 (Fern CLI/generator bump) against a newer API spec.

New API surfaces: client.lang2FhirBatch() for create/list/upload/finalize/cancel/get job workflows; implementation-guide version publish/get (createVersion, getVersion); profile version CRUD under client.profiles().versions().

Lang2FHIR: multi/document requests gain optional primaryPatient; patientReference is a deprecated alias for the identifier only. Document extraction docs/types reflect RTF and XML/C-CDA (with size/instance limits). CreateRequestResource adds resource kinds such as familymemberhistory, medicationadministration, and medicationstatement. detectionEffort is marked deprecated on multi flows.

FHIR→OMOP: request docs and response models expand for administrative resources (Location, Organization, Practitioner, etc.), derived observation_period, richer mappings (omop_field, selected, status enum), plus provider_role_contexts and diagnostics. OMOP row types pick up additional date/source fields (e.g. condition end datetime).

Client/runtime: sync/async PhenomlClient implement AutoCloseable via ClientOptions.close() (owned OkHttp only). Credential auth drops configurable grantType (always client_credentials). instanceUrl no longer overwrites a non-default custom environment. User-agent/SDK name headers and construe crosswalk error mapping align with generator changes.

Reviewed by Cursor Bugbot for commit ce1a976. 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:39
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 ce1a976. 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 drop required fields

High Severity

The InputStream uploadItem overloads send only the file part and omit document, create, request_id, and id. They also ignore the file parameter. Document items require document plus a file, so these public methods cannot satisfy the API contract and drop idempotency tokens.

Additional Locations (2)
Fix in Cursor Fix in Web

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