Skip to content

Release 18.0.0: add batch Lang2FHIR APIs - #208

Open
fern-api[bot] wants to merge 7 commits into
mainfrom
fern-bot/2026-09-09_16-17-47_849
Open

fern-api[bot] wants to merge 7 commits into
mainfrom
fern-bot/2026-09-09_16-17-47_849

Conversation

@fern-api

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

Copy link
Copy Markdown
Contributor

17.13.0 → 18.0.0

Major release adding batch FHIR extraction and immutable profile-version clients. Core profile response accessors now return guaranteed values rather than Optional wrappers.

Breaking Changes

  • ProfileSummary and ProfileGetResponsegetId(), getSource(), getResourceType(), getUrl(), getVersion(), getFhirVersion(), getImplementationGuide(), getCreatedAt(), and getUpdatedAt() now return required values instead of Optional; remove Optional handling for these accessors.
  • ProfileListResponse.getProfiles() — changed from Optional<List<ProfileSummary>> to List<ProfileSummary>; remove Optional handling for this accessor.
  • ProfileGetResponse.getStructureDefinition() — changed from Optional<Map<String, Object>> to Map<String, Object>; remove Optional handling for this accessor.

Added

  • PhenomlClient.lang2FhirBatch() and AsyncPhenomlClient.lang2FhirBatch() — new clients for batch FHIR extraction, supporting create(), uploadItem(), finalize(), cancel(), get(), getResults(), getResult(), and list() across the job lifecycle.
  • BatchJob, BatchItemStatus, BatchCounts, BatchError, JobDetailResponse, JobListResponse, ResultsPageResponse, and UploadItemResponse — new models supporting the batch extraction API.
  • ProfilesClient.versions() and AsyncProfilesClient.versions() — new clients for immutable StructureDefinition versions, with list(), create(), get(), and delete() methods.
  • ProfileSummary.getStatus(), getDate(), and getCanonical() — new optional accessors exposing each profile's publication status, authored date, and canonical URL; profile update and batch methods can now throw ConflictError for HTTP 409 responses.

Migration notes

Use the profile response accessors directly instead of unwrapping Optional; no endpoint method signatures were removed or renamed.

fern-api Bot and others added 5 commits September 9, 2026 16:17
Generated by Fern
CLI Version: unknown
Generators:
  - fernapi/fern-java-sdk: 4.13.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 c596589. Configure here.

}
});
return future;
}

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

High Severity

The stream-based uploadItem overloads send only a file part and drop document, create, request_id, and id. The unused file argument is ignored. The API requires exactly one of document or create, so these public overloads cannot succeed and will get a 400.

Additional Locations (2)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit c596589. Configure here.

@gavinsharp gavinsharp changed the title SDK regeneration Release 18.0.0: require profile response fields Sep 9, 2026
@gavinsharp gavinsharp changed the title Release 18.0.0: require profile response fields Release 18.0.0: add batch Lang2FHIR APIs Sep 9, 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