Migrate expression evaluators to Kotlin multi platform #2932
Merged
ellykits merged 66 commits intoohs-foundation:masterfrom Feb 12, 2026
Merged
Migrate expression evaluators to Kotlin multi platform #2932ellykits merged 66 commits intoohs-foundation:masterfrom
ellykits merged 66 commits intoohs-foundation:masterfrom
Conversation
Signed-off-by: Elly Kitoto <junkmailstoelly@gmail.com>
Signed-off-by: Elly Kitoto <junkmailstoelly@gmail.com>
Signed-off-by: Elly Kitoto <junkmailstoelly@gmail.com>
Signed-off-by: Elly Kitoto <junkmailstoelly@gmail.com>
Signed-off-by: Elly Kitoto <junkmailstoelly@gmail.com>
Fix compose build issues kmp
Signed-off-by: Elly Kitoto <junkmailstoelly@gmail.com>
Signed-off-by: Elly Kitoto <junkmailstoelly@gmail.com>
Signed-off-by: Elly Kitoto <junkmailstoelly@gmail.com>
- Build success - Android run success - Web run success - iOS not tested yet
- Able to open form in compose - Logs QR on submission - Migrate from R5 to R4 in sdc-kmp-demo - Create QuestionnaireComposeable.kt public API for simpler access to datacapture-kmp
Add datacapture KMP demo application #3
Run spotlessApply to fix code formating issues. Signed-off-by: Elly Kitoto <junkmailstoelly@gmail.com>
Signed-off-by: Elly Kitoto <junkmailstoelly@gmail.com>
Signed-off-by: Elly Kitoto <junkmailstoelly@gmail.com>
Issue resolved by upgrading dependencies. Signed-off-by: Elly Kitoto <junkmailstoelly@gmail.com>
Signed-off-by: Elly Kitoto <junkmailstoelly@gmail.com>
Signed-off-by: Elly Kitoto <junkmailstoelly@gmail.com>
Signed-off-by: Elly Kitoto <junkmailstoelly@gmail.com>
Signed-off-by: Elly Kitoto <junkmailstoelly@gmail.com>
Signed-off-by: Elly Kitoto <junkmailstoelly@gmail.com>
Fix issues to do with answer comparison and object creation. Signed-off-by: Elly Kitoto <junkmailstoelly@gmail.com>
Signed-off-by: Elly Kitoto <junkmailstoelly@gmail.com>
Signed-off-by: Elly Kitoto <junkmailstoelly@gmail.com>
Signed-off-by: Elly Kitoto <junkmailstoelly@gmail.com>
Signed-off-by: Elly Kitoto <junkmailstoelly@gmail.com>
Kotlin-FHIRPath now supports custom variables in expressions. Refactor implementation to provide custom variable during fhirpath evaluation. Signed-off-by: Elly Kitoto <junkmailstoelly@gmail.com>
Signed-off-by: Elly Kitoto <junkmailstoelly@gmail.com>
LZRS
added a commit
to LZRS/android-fhir
that referenced
this pull request
Jan 29, 2026
to be resoled with PR ohs-foundation#2932
LZRS
added a commit
to LZRS/android-fhir
that referenced
this pull request
Jan 29, 2026
to be resoled with PR ohs-foundation#2932
LZRS
requested changes
Feb 9, 2026
.../src/commonMain/kotlin/com/google/android/fhir/datacapture/enablement/EnablementEvaluator.kt
Show resolved
Hide resolved
.../src/commonMain/kotlin/com/google/android/fhir/datacapture/enablement/EnablementEvaluator.kt
Show resolved
Hide resolved
...src/commonMain/kotlin/com/google/android/fhir/datacapture/enablement/FhirValueComparators.kt
Show resolved
Hide resolved
...src/commonMain/kotlin/com/google/android/fhir/datacapture/enablement/FhirValueComparators.kt
Outdated
Show resolved
Hide resolved
...c/commonMain/kotlin/com/google/android/fhir/datacapture/extensions/MoreQuestionnaireItems.kt
Show resolved
Hide resolved
...ommonMain/kotlin/com/google/android/fhir/datacapture/validation/MaxDecimalPlacesValidator.kt
Outdated
Show resolved
Hide resolved
...p/src/commonMain/kotlin/com/google/android/fhir/datacapture/validation/MaxLengthValidator.kt
Outdated
Show resolved
Hide resolved
...ture-kmp/src/commonMain/kotlin/com/google/android/fhir/datacapture/QuestionnaireViewModel.kt
Show resolved
Hide resolved
...ture-kmp/src/commonMain/kotlin/com/google/android/fhir/datacapture/QuestionnaireViewModel.kt
Show resolved
Hide resolved
LZRS
added a commit
that referenced
this pull request
Feb 11, 2026
…#2935) * Move BooleanChoiceViewFactory * Move RadioGroupViewFactory * Add kmp desktopTest to CI * Move CheckBoxGroupViewFactory to kmp * Update getting answer option display string * Move dialog select view factory to kmp * Replace getString in tests to fix HeadlessException in CI Desktop tests in ci fail with the following error seemingly targeting a UI environment java.awt.HeadlessException at java.desktop/sun.awt.HeadlessToolkit.getScreenResolution(HeadlessToolkit.java:122) at org.jetbrains.compose.resources.ResourceEnvironment_desktopKt.getSystemEnvironment(ResourceEnvironment.desktop.kt:12) at org.jetbrains.compose.resources.ResourceEnvironmentKt$getResourceEnvironment$1.invoke(ResourceEnvironment.kt:81) at org.jetbrains.compose.resources.ResourceEnvironmentKt$getResourceEnvironment$1.invoke(ResourceEnvironment.kt:81) at org.jetbrains.compose.resources.ResourceEnvironmentKt.getSystemResourceEnvironment(ResourceEnvironment.kt:87) at org.jetbrains.compose.resources.StringResourcesKt.getString(StringResources.kt:42) * Address PR comments * Address PR comments * Temporarily disable enabledAnswerOptions to be resoled with PR #2932 * Address PR comments
Clean up code and improve exception handling Signed-off-by: Elly Kitoto <junkmailstoelly@gmail.com>
Signed-off-by: Elly Kitoto <junkmailstoelly@gmail.com>
LZRS
approved these changes
Feb 11, 2026
Signed-off-by: Elly Kitoto <junkmailstoelly@gmail.com>
Signed-off-by: Elly Kitoto <junkmailstoelly@gmail.com>
Signed-off-by: Elly Kitoto <junkmailstoelly@gmail.com>
LZRS
approved these changes
Feb 12, 2026
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.
IMPORTANT: All PRs must be linked to an issue (except for extremely trivial and straightforward changes).
Fixes #2924
Description
Clear and concise code change description.
Alternative(s) considered
Have you considered any alternatives? And if so, why have you chosen the approach in this PR?
Type
Choose one: (Bug fix | Feature | Documentation | Testing | Code health | Builds | Releases | Other)
Screenshots (if applicable)
Checklist
./gradlew spotlessApplyand./gradlew spotlessCheckto check my code follows the style guide of this project../gradlew checkand./gradlew connectedCheckto test my changes locally.