Skip to content
Merged
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions .github/dependabot.yml

This file was deleted.

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

group = 'com.phenoml.maven'

version = '10.1.0'
version = '10.2.0'

jar {
dependsOn(":generatePomFileForMavenPublication")
Expand Down Expand Up @@ -78,7 +78,7 @@ publishing {
maven(MavenPublication) {
groupId = 'com.phenoml.maven'
artifactId = 'phenoml-java-sdk'
version = '10.1.0'
version = '10.2.0'
from components.java
pom {
name = 'phenoml'
Expand Down
3 changes: 3 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 10.2.0 - 2026-03-17
* The SDK now supports MEDITECH as a new FHIR provider option. Use `Provider.MEDITECH` to configure MEDITECH provider integrations.

## 10.1.0 - 2026-03-11
* New optional `preview` parameter available on workflow execution requests. When enabled, create operations return mock resources instead of persisting to the FHIR server. The response also includes a `preview` field to indicate whether the workflow was executed in preview mode.

Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/phenoml/api/core/ClientOptions.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ private ClientOptions(
this.headers.putAll(headers);
this.headers.putAll(new HashMap<String, String>() {
{
put("User-Agent", "com.phenoml.maven:phenoml-java-sdk/10.1.0");
put("User-Agent", "com.phenoml.maven:phenoml-java-sdk/10.2.0");
put("X-Fern-Language", "JAVA");
put("X-Fern-SDK-Name", "com.phenoml.fern:api-sdk");
put("X-Fern-SDK-Version", "10.1.0");
put("X-Fern-SDK-Version", "10.2.0");
}
});
this.headerSuppliers = headerSuppliers;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
import com.fasterxml.jackson.annotation.JsonValue;

public final class Provider {
public static final Provider MEDITECH = new Provider(Value.MEDITECH, "meditech");

public static final Provider PHENOSTORE = new Provider(Value.PHENOSTORE, "phenostore");

public static final Provider HAPI = new Provider(Value.HAPI, "hapi");
Expand Down Expand Up @@ -58,6 +60,8 @@ public int hashCode() {

public <T> T visit(Visitor<T> visitor) {
switch (value) {
case MEDITECH:
return visitor.visitMeditech();
case PHENOSTORE:
return visitor.visitPhenostore();
case HAPI:
Expand Down Expand Up @@ -87,6 +91,8 @@ public <T> T visit(Visitor<T> visitor) {
@JsonCreator(mode = JsonCreator.Mode.DELEGATING)
public static Provider valueOf(String value) {
switch (value) {
case "meditech":
return MEDITECH;
case "phenostore":
return PHENOSTORE;
case "hapi":
Expand Down Expand Up @@ -127,6 +133,8 @@ public enum Value {

HAPI,

MEDITECH,

MEDPLUM,

PHENOSTORE,
Expand All @@ -151,6 +159,8 @@ public interface Visitor<T> {

T visitHapi();

T visitMeditech();

T visitMedplum();

T visitPhenostore();
Expand Down