Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable SHC Validation 2 #142

Merged
merged 7 commits into from
Sep 5, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Next Next commit
Bump core to 6.0.8
  • Loading branch information
dotasek committed May 29, 2023
commit 9e5ea69c3327e1d30eecddbdf8e31c6b0cfbaabe
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ kotlin.code.style=official
kotlin.js.generate.executable.default=false

# versions
fhirCoreVersion=5.6.92
fhirCoreVersion=6.0.8

junitVersion=5.7.1
mockk_version=1.10.2
Expand Down
4 changes: 2 additions & 2 deletions src/jsMain/kotlin/ui/components/options/OptionsPage.kt
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class OptionsPage : RComponent<OptionsPageProps, OptionsPageState>() {
igList = igResponse.packageInfo
igPackageNameList = getPackageNames(igResponse.packageInfo)
fhirVersionsList = versionsResponse.versions
.map { Pair(it, props.cliContext.getTargetVer() == it) }
.map { Pair(it, props.cliContext.getSv() == it) }
.toMutableList()
snomedVersionList = Snomed.values()
.map { Pair("${it.name} - ${it.code}", props.cliContext.getSnomedCTCode() == it.code) }
Expand Down Expand Up @@ -190,7 +190,7 @@ class OptionsPage : RComponent<OptionsPageProps, OptionsPageState>() {
}
igSelector {
polyglot = props.polyglot
fhirVersion = props.cliContext.getTargetVer()
fhirVersion = props.cliContext.getSv()
igList = state.igList
igPackageNameList = state.igPackageNameList
onUpdatePackageName = {igPackageName, selected ->
Expand Down
4 changes: 2 additions & 2 deletions src/jvmMain/kotlin/api/ApiInjection.kt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import api.uptime.EndpointApiImpl
import controller.validation.ValidationServiceFactory
import controller.validation.ValidationServiceFactoryImpl
import org.hl7.fhir.utilities.npm.PackageClient
import org.hl7.fhir.validation.cli.services.ValidationService
import org.hl7.fhir.utilities.npm.PackageServer
import org.koin.dsl.module

object ApiInjection {
Expand All @@ -16,7 +16,7 @@ object ApiInjection {

val koinBeans = module {
single<ValidationServiceFactory> { ValidationServiceFactoryImpl() }
single<PackageClient> { PackageClient(PACKAGE_CLIENT_ADDRESS) }
single<PackageClient> { PackageClient(PackageServer(PACKAGE_CLIENT_ADDRESS)) }
single<TerminologyApi> { TerminologyApiImpl() }
single<EndpointApi> { EndpointApiImpl() }
}
Expand Down