Repository navigation
SDK regeneration - #226
Open
fern-api[bot] wants to merge 5 commits into
Open
SDK regeneration#226fern-api[bot] wants to merge 5 commits into
fern-api[bot] wants to merge 5 commits into
Conversation
Generated by Fern CLI Version: unknown Generators: - fernapi/fern-java-sdk: 4.21.1
🌿 Generated with Fern
🌿 Generated with Fern
…64168012acd667d3 [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 090c279. Configure here.
| } catch (IOException e) { | ||
| throw new PhenomlClientException("Network error executing HTTP request", e); | ||
| } | ||
| } |
There was a problem hiding this comment.
Stream uploads omit required fields
Medium Severity
The InputStream uploadItem overloads ignore the file argument and never attach document, create, request_id, or id. The API requires exactly one of document plus a file or JSON-only create, so these overloads cannot produce a valid multipart item.
Additional Locations (1)
Reviewed by Cursor Bugbot for commit 090c279. Configure here.
This branch has not been deployed
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 → 17.13.1
🌿 Generated with Fern
Note
Medium Risk
Large generated surface area adds batch APIs and changes Lang2FHIR/OMOP request and response shapes; OAuth
grantTypecustomization was removed, which may break callers that relied on it.Overview
Regenerates the phenoml Java SDK to 17.13.1 (Fern CLI/generator bump) so client types and docs track the latest API definition.
New capabilities exposed on
PhenomlClient/AsyncPhenomlClient:lang2FhirBatch()— async batch jobs for lang2fhir (create, upload items, finalize, cancel, list/get status, fetch per-item results).profiles().versions()list/create/get/delete retained StructureDefinition versions; profile create/update/delete semantics and list filtering docs updated.implementationGuides().implementationguides().createVersion()andgetVersion(); delete behavior documented as removing name-level metadata and exact package versions.Lang2FHIR request model changes: optional
primaryPatient(identifier, name, birthDate, gender) on multi create/document-multi;patientReferenceis now a deprecated alias and cannot be combined withprimaryPatient. Create resource enums gain familymemberhistory, medicationadministration, medicationstatement. Document endpoints document RTF and XML/C-CDA (plus size limits) alongside PDF/images.FHIR→OMOP client/types: broader resource coverage and richer response shape —
diagnosticsonCreateOmopResponse, mapping entries withomop_field/selected, forward-compatibleMappingEntryMappingStatusandReferenceDiagnosticOutcomeenums, and updated field semantics (e.g. bare codes in*_source_value,MedicationRequestdrug_type_concept_id32838).SDK ergonomics: sync/async clients implement
AutoCloseableviaClientOptions.close()(OkHttp lifecycle when the SDK owns the client). OAuth credential builders drop configurablegrantType(alwaysclient_credentials).instanceUrlonly overrides the URL template when environment is null/DEFAULT.Reviewed by Cursor Bugbot for commit 090c279. Bugbot is set up for automated code reviews on this repo. Configure here.