Release 18.0.0: add batch Lang2FHIR APIs - #208
Open
fern-api[bot] wants to merge 7 commits into
Open
fern-api[bot] wants to merge 7 commits into
fern-api[bot] wants to merge 7 commits into
Conversation
Generated by Fern CLI Version: unknown Generators: - fernapi/fern-java-sdk: 4.13.2
🌿 Generated with Fern
🌿 Generated with Fern
…e8991d4a27822bde [skip ci]
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ 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; | ||
| } |
There was a problem hiding this comment.
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)
Reviewed by Cursor Bugbot for commit c596589. Configure here.
…e8991d4a27822bde [skip ci]
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


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
Optionalwrappers.Breaking Changes
ProfileSummaryandProfileGetResponse—getId(),getSource(),getResourceType(),getUrl(),getVersion(),getFhirVersion(),getImplementationGuide(),getCreatedAt(), andgetUpdatedAt()now return required values instead ofOptional; removeOptionalhandling for these accessors.ProfileListResponse.getProfiles()— changed fromOptional<List<ProfileSummary>>toList<ProfileSummary>; removeOptionalhandling for this accessor.ProfileGetResponse.getStructureDefinition()— changed fromOptional<Map<String, Object>>toMap<String, Object>; removeOptionalhandling for this accessor.Added
PhenomlClient.lang2FhirBatch()andAsyncPhenomlClient.lang2FhirBatch()— new clients for batch FHIR extraction, supportingcreate(),uploadItem(),finalize(),cancel(),get(),getResults(),getResult(), andlist()across the job lifecycle.BatchJob,BatchItemStatus,BatchCounts,BatchError,JobDetailResponse,JobListResponse,ResultsPageResponse, andUploadItemResponse— new models supporting the batch extraction API.ProfilesClient.versions()andAsyncProfilesClient.versions()— new clients for immutable StructureDefinition versions, withlist(),create(),get(), anddelete()methods.ProfileSummary.getStatus(),getDate(), andgetCanonical()— new optional accessors exposing each profile's publication status, authored date, and canonical URL; profile update and batch methods can now throwConflictErrorfor HTTP 409 responses.Migration notes
Use the profile response accessors directly instead of unwrapping
Optional; no endpoint method signatures were removed or renamed.