Skip to content

FHIR providers for KMP (WIP) - #1815

Draft
antvaset wants to merge 13 commits into
mainfrom
kmp-fhir-providers
Draft

antvaset wants to merge 13 commits into
mainfrom
kmp-fhir-providers

Conversation

@antvaset

Copy link
Copy Markdown
Contributor

@github-actions

Copy link
Copy Markdown

Related Issues

The following open issues may be related to this PR:

Issue Title Score Matched Terms
#895 Integrate code generation into the cql-engine build 13 "fhir model", "cql fhir", runtime (path), src (path), opencds (path), engine (path), code (path), fhir (path), main (path), org (path), cql (path), cqf (path), model (path), hl7 (path), data (path), class (path)
#889 FhirModelResolver crashing on static inner classes for of FHIR entities e.g. DosageDoseAndRateComponent 11.5 "fhir model", type (path), src (path), terminology (path), opencds (path), engine (path), system (path), code (path), info (path), fhir (path), main (path), org (path), cql (path), cqf (path), model (path), hl7 (path), data (path), value (path)
#1430 Correctly support CQL to FHIR (and vice versa) type mapping 9.5 "cql fhir", type (path), src (path), opencds (path), engine (path), code (path), fhir (path), main (path), org (path), cql (path), cqf (path), hl7 (path), data (path), set (path)
#856 Setting DataRequirement.type value in CQL library errors 9 "fhir model", type (path), opencds (path), engine (path), code (path), fhir (path), org (path), cql (path), cqf (path), model (path), hl7 (path), set (path), value (path)
#1791 Probe: engine 5.0.0 evaluating FHIR CQL over kotlin-fhir (no HAPI) — and the missing DataProvider 8 "fhir model", engine (path), code (path), jvm (path), retrieve (path), fhir (path), kotlin (path), cql (path), model (path), value (path), test (path)

Tip: If this PR addresses any of these issues, please link them using Closes #NNN or Refs #NNN in the PR description.

@github-actions

Copy link
Copy Markdown

Formatting check succeeded!

@codecov

codecov Bot commented Jul 23, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 7.77778% with 249 lines in your changes missing coverage. Please review.
✅ Project coverage is 69.47%. Comparing base (0000d76) to head (db8c2a3).

Files with missing lines Patch % Lines
...f/cql/engine/fhir/model/SimpleFhirModelResolver.kt 0.00% 111 Missing ⚠️
...engine/fhir/retrieve/SimpleFhirRetrieveProvider.kt 0.00% 73 Missing ⚠️
.../fhir/terminology/SimpleFhirTerminologyProvider.kt 0.00% 60 Missing ⚠️
...kotlin/org/opencds/cqf/cql/engine/runtime/Value.kt 0.00% 2 Missing ⚠️
...c/commonMain/kotlin/org/hl7/cql/model/ClassType.kt 75.00% 1 Missing ⚠️
...in/kotlin/org/opencds/cqf/cql/engine/fhir/Utils.kt 0.00% 1 Missing ⚠️
...cqf/cql/engine/fhir/model/BaseFhirModelResolver.kt 91.66% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main    #1815      +/-   ##
============================================
- Coverage     70.04%   69.47%   -0.57%     
  Complexity     1032     1032              
============================================
  Files           537      543       +6     
  Lines         30461    30697     +236     
  Branches       7168     7251      +83     
============================================
- Hits          21335    21327       -8     
- Misses         6537     6781     +244     
  Partials       2589     2589              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Base automatically changed from fhir-json-to-cql-value-parser to main July 29, 2026 09:48
@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
4.2% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant