Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 4 additions & 4 deletions .fern/metadata.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"cliVersion": "5.151.0",
"cliVersion": "5.175.0",
"generatorName": "fernapi/fern-java-sdk",
"generatorVersion": "4.23.2",
"generatorVersion": "4.32.4",
"generatorConfig": {
"enable-inline-types": false,
"client-class-name": "PhenomlClient",
Expand All @@ -10,10 +10,10 @@
"enable-wire-tests": true,
"publish-to": "central"
},
"originGitCommit": "49f1258330df448935b5304a1d8c405a2834d227",
"originGitCommit": "05e8ea0fd956ef864e03ff867780fce468c0c7a3",
"originGitCommitIsDirty": true,
"invokedBy": "ci",
"requestedVersion": "AUTO",
"ciProvider": "unknown",
"sdkVersion": "18.1.0"
"sdkVersion": "18.2.0"
}
8 changes: 7 additions & 1 deletion .fern/replay.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ java {

group = 'com.phenoml.maven'

version = '18.1.0'
version = '18.2.0'

jar {
dependsOn(":generatePomFileForMavenPublication")
Expand Down Expand Up @@ -89,7 +89,7 @@ publishing {
maven(MavenPublication) {
groupId = 'com.phenoml.maven'
artifactId = 'phenoml-java-sdk'
version = '18.1.0'
version = '18.2.0'
from components.java
pom {
name = 'phenoml'
Expand Down
16 changes: 16 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
## [18.2.0] - 2026-10-27
### Added
- **`RequestOptions.Builder.addBodyProperty()` / `.bodyProperties()`** — inject extra key/value pairs into JSON or form-urlencoded request bodies without subclassing a request type.
- **`RetryInterceptor` async retry and `Stream.fromSseWithEventDiscrimination()`** — non-blocking retry avoids consuming OkHttp dispatcher threads, and a new SSE factory supports event-variant unions wrapping the full SSE envelope.
- **`CreateOmopResponse` new fields** — `getQuantityTransformations()`, `getRowsForReview()`, `getSpecimenSourceContexts()`, and `getMedicationDispenseSourceContexts()` expose quantity audit trails, review-flagged rows, specimen provenance, and dispensing context respectively.
- **New FHIR-to-OMOP response types** — `SpecimenRow`, `MappingResolution` (with `MappingResolutionStatus`, `MappingResolutionReasonCode`, `MappingResolutionVia`), `QuantityTransformation` (with outcome/policy/reason enums), `MedicationDispenseSourceContext`, `RowForReview`, `SemanticMappingResult`, `SpecimenCollectionTiming`, `QuantityStrength`, `QuantityUnit`, `MappingPath`, and related supporting types.
- **`OmopTables.getSpecimen()`, `MeasurementRow.getUnitSourceConceptId()`, `VisitOccurrenceRow.getVisitSourceConceptId()`, `DrugExposureRow.getQuantity()`, `MappingEntry.getResolution()`, `Summary.getRowsForReview()`, and `CreateMultiRequest.getSmallNote()`** — new optional fields across OMOP row, mapping, and request types.
- **`ExtractRequestConfigValidationMethod.SEMANTIC_MAPPING`**, **`BodyProperties`**, and **`PathSegments.validate()`** — new validation method constant, body-property merge utility, and path-parameter safety guard.

### Changed
- **`@JsonAnySetter` deserialization guard** — all agent, OMOP row, FHIR-provider, and lang2fhir builder types now route known field names through a private guard method instead of directly into `additionalProperties`, preventing double-storage during Jackson deserialization.
- **Javadoc expansions** — `DrugExposureRow`, `MappingEntry`, `MeasurementRow`, `ObservationRow`, `ObservationPeriodRow`, `ProcedureOccurrenceRow`, `ProviderRow`, `ReferenceDiagnostic`, and `CreateRequest` received updated documentation describing expanded timing rules, NPI extraction logic, outcome semantics, and built-in PhenoML HPO profiles.

### Fixed
- **`@JsonAnySetter` guard on agent builder types** — known fields such as `message`, `session_id`, and `type` are no longer accidentally routed into `additionalProperties` during deserialization of `AgentChatRequest`, `AgentStreamChatRequest`, `AgentChatResponse`, `AgentChatStreamEvent`, and related types.

## [18.1.0] - 2026-10-09
### Added
- **`ReferenceDiagnostic.getOmopTable()` and `getOmopId()`** — new optional fields on `ReferenceDiagnostic` that identify the OMOP table name and primary key of the affected row when a reference diagnostic is emitted alongside an OMOP response.
Expand Down
Loading