From fcc99ed738b81f12e27af3daf5cb5207fb651c8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=E2=89=A1ZRS?= <12814349+LZRS@users.noreply.github.com> Date: Thu, 4 Jun 2026 17:55:06 +0300 Subject: [PATCH 1/4] Add Open Health Stack's Kotlin FhirPath engine --- static/config.json | 5 ++++- types/fhirpath_test_engine.ts | 32 ++++++++++++++++++++++++++++++-- 2 files changed, 34 insertions(+), 3 deletions(-) diff --git a/static/config.json b/static/config.json index 2934583d..fc6a9518 100644 --- a/static/config.json +++ b/static/config.json @@ -39,5 +39,8 @@ "ignixa_r4": "https://ignixafhirpath.azurewebsites.net/api/$fhirpath-r4", "ignixa_r5": "https://ignixafhirpath.azurewebsites.net/api/$fhirpath-r5", - "ignixa_r6": "https://ignixafhirpath.azurewebsites.net/api/$fhirpath-r6" + "ignixa_r6": "https://ignixafhirpath.azurewebsites.net/api/$fhirpath-r6", + + "kotlin_server_r4": "https://kotlin-fhirpath.nawi.ke/fhirpath-r4", + "kotlin_server_r5": "https://kotlin-fhirpath.nawi.ke/fhirpath-r5" } diff --git a/types/fhirpath_test_engine.ts b/types/fhirpath_test_engine.ts index 89c04a1f..6dd991aa 100644 --- a/types/fhirpath_test_engine.ts +++ b/types/fhirpath_test_engine.ts @@ -27,7 +27,7 @@ export interface IFhirPathEngineDetails { /** True if this is an external engine (i.e. not running in the same environment as the FHIRPath Lab application */ external?: boolean; - + /** The engine can provide an AST for the expression (otherwise will display that it's not supported) */ supportsAST: boolean; @@ -317,7 +317,7 @@ export const registeredEngines: { [key: string]: IFhirPathEngineDetails } = { supportsAST: true, supportsXML: false }, - + "toolbox-go (R4)": { name: "toolbox-go", legacyName: "toolbox-go (R4)", @@ -398,6 +398,34 @@ export const registeredEngines: { [key: string]: IFhirPathEngineDetails } = { supportsAST: true, supportsXML: false }, + + "Kotlin (Open Health Stack)": { + name: "kotlin-fhirpath", + legacyName: "kotlin-fhirpath (Open Health Stack)", + fhirVersion: "R4", + appInsightsEngineName: "Kotlin", + publisher: "Open Health Stack", + configSetting: "kotlin_server_r4", + githubRepo: "https://github.com/ohs-foundation/kotlin-fhirpath", + description: "A Kotlin implementation of FHIRPath by Open Health Stack.", + external: true, + supportsAST: false, + supportsXML: false + }, + + "Kotlin R5 (Open Health Stack)": { + name: "kotlin-fhirpath", + legacyName: "kotlin-fhirpath (Open Health Stack)", + fhirVersion: "R5", + appInsightsEngineName: "Kotlin", + publisher: "Open Health Stack", + configSetting: "kotlin_server_r5", + githubRepo: "https://github.com/ohs-foundation/kotlin-fhirpath", + description: "A Kotlin implementation of FHIRPath for FHIR R5 by Open Health Stack.", + external: true, + supportsAST: false, + supportsXML: false + }, }; /** From 975c3a9ef9312fca1035f5f486007155178e6fad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=E2=89=A1ZRS?= <12814349+LZRS@users.noreply.github.com> Date: Mon, 8 Jun 2026 15:38:14 +0300 Subject: [PATCH 2/4] Address PR comments --- static/config.json | 4 ++-- types/fhirpath_test_engine.ts | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/static/config.json b/static/config.json index fc6a9518..d4a3d094 100644 --- a/static/config.json +++ b/static/config.json @@ -41,6 +41,6 @@ "ignixa_r5": "https://ignixafhirpath.azurewebsites.net/api/$fhirpath-r5", "ignixa_r6": "https://ignixafhirpath.azurewebsites.net/api/$fhirpath-r6", - "kotlin_server_r4": "https://kotlin-fhirpath.nawi.ke/fhirpath-r4", - "kotlin_server_r5": "https://kotlin-fhirpath.nawi.ke/fhirpath-r5" + "kotlin_server_r4": "http://35.246.242.55/fhirpath-r4", + "kotlin_server_r5": "http://35.246.242.55/fhirpath-r5" } diff --git a/types/fhirpath_test_engine.ts b/types/fhirpath_test_engine.ts index 6dd991aa..701b3591 100644 --- a/types/fhirpath_test_engine.ts +++ b/types/fhirpath_test_engine.ts @@ -399,12 +399,12 @@ export const registeredEngines: { [key: string]: IFhirPathEngineDetails } = { supportsXML: false }, - "Kotlin (Open Health Stack)": { + "Kotlin FHIRPath R4 (Open Health Stack)": { name: "kotlin-fhirpath", legacyName: "kotlin-fhirpath (Open Health Stack)", fhirVersion: "R4", appInsightsEngineName: "Kotlin", - publisher: "Open Health Stack", + publisher: "Open Health Stack Foundation", configSetting: "kotlin_server_r4", githubRepo: "https://github.com/ohs-foundation/kotlin-fhirpath", description: "A Kotlin implementation of FHIRPath by Open Health Stack.", @@ -413,7 +413,7 @@ export const registeredEngines: { [key: string]: IFhirPathEngineDetails } = { supportsXML: false }, - "Kotlin R5 (Open Health Stack)": { + "Kotlin FHIRPath R5 (Open Health Stack)": { name: "kotlin-fhirpath", legacyName: "kotlin-fhirpath (Open Health Stack)", fhirVersion: "R5", From e2dca1ba79db88455a578c52405e89ba4989394d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=E2=89=A1ZRS?= <12814349+LZRS@users.noreply.github.com> Date: Wed, 12 Aug 2026 11:47:10 +0300 Subject: [PATCH 3/4] Update legacyName --- types/fhirpath_test_engine.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/fhirpath_test_engine.ts b/types/fhirpath_test_engine.ts index 701b3591..ca03be09 100644 --- a/types/fhirpath_test_engine.ts +++ b/types/fhirpath_test_engine.ts @@ -401,7 +401,7 @@ export const registeredEngines: { [key: string]: IFhirPathEngineDetails } = { "Kotlin FHIRPath R4 (Open Health Stack)": { name: "kotlin-fhirpath", - legacyName: "kotlin-fhirpath (Open Health Stack)", + legacyName: "Kotlin FHIRPath R4 (Open Health Stack)", fhirVersion: "R4", appInsightsEngineName: "Kotlin", publisher: "Open Health Stack Foundation", @@ -415,7 +415,7 @@ export const registeredEngines: { [key: string]: IFhirPathEngineDetails } = { "Kotlin FHIRPath R5 (Open Health Stack)": { name: "kotlin-fhirpath", - legacyName: "kotlin-fhirpath (Open Health Stack)", + legacyName: "Kotlin FHIRPath R5 (Open Health Stack)", fhirVersion: "R5", appInsightsEngineName: "Kotlin", publisher: "Open Health Stack", From 63e4735ae378318b0f2aefa72a70eec6b55791a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=E2=89=A1ZRS?= <12814349+LZRS@users.noreply.github.com> Date: Wed, 12 Aug 2026 11:50:14 +0300 Subject: [PATCH 4/4] Update config to use domain name fhirpath.ohs.dev --- static/config.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/config.json b/static/config.json index 43f71c83..a8015c62 100644 --- a/static/config.json +++ b/static/config.json @@ -45,6 +45,6 @@ "ignixa_r5": "https://ignixafhirpath.azurewebsites.net/api/$fhirpath-r5", "ignixa_r6": "https://ignixafhirpath.azurewebsites.net/api/$fhirpath-r6", - "kotlin_server_r4": "http://35.246.242.55/fhirpath-r4", - "kotlin_server_r5": "http://35.246.242.55/fhirpath-r5" + "kotlin_server_r4": "https://fhirpath.ohs.dev/fhirpath-r4", + "kotlin_server_r5": "https://fhirpath.ohs.dev/fhirpath-r5" }