CqlToR4Library error: fhirhelpers not found
まだ誰も着手していません。
評価
調査の方向性
LibraryGenerator.java:41 の org.opencds.cqf.tooling.library.r4.LibraryGenerator から始め、BaseLibraryGenerator.java:66 を通じて参照される library の検索を追跡します。提供された SimpleLibrary.zip と CqlToR4Library Maven コマンドを使って再現し、FHIRHelpers.cql の名前付けと解決方法を比較します。コマンドが fhirhelpers-not-found エラーなしで SimpleCQL.cql の library を生成すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Describe the bug
When running CqlToR4Library on a CQL file that depends on FHIRHelpers, the tooling reports the following error:
java.lang.IllegalArgumentException: Referenced library: fhirhelpers not found
at org.opencds.cqf.tooling.library.r4.LibraryGenerator.processLibrary (LibraryGenerator.java:41)
at org.opencds.cqf.tooling.library.BaseLibraryGenerator.execute (BaseLibraryGenerator.java:66)
at org.opencds.cqf.tooling.cli.Main.main (Main.java:235)
at org.codehaus.mojo.exec.ExecJavaMojo$1.run (ExecJavaMojo.java:279)
at java.lang.Thread.run (Thread.java:829)
I am including FHIRHelpers.cql in the same directory, and I have also tried various other file names (FHIRHelpers-4.0.1.cql, fhirhelpers.cql, fhirhelpers-4.0.1.cql). No matter what, I cannot get past this error.
To Reproduce
Steps to reproduce the behavior:
- Download and unzip this simple folder of CQL: SimpleLibrary.zip
- Run the following command from this project's
tooling-clidirectory:mvn exec:java -Dexec.mainClass="org.opencds.cqf.tooling.cli.Main" -Dexec.args="-CqlToR4Library -ptcql=/Path/To/SimpleLibrary/SimpleLibrary.cql"(replacing the path with the correct one for your system) - Observer the error
Expected behavior
It should generate the library for SimpleCQL.cql.
Desktop (please complete the following information):
- OS: Mac OS Ventura
- Java Version: openjdk 11.0.17
- 主要言語
- Java
- スター
- 22
- フォーク
- 26
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
cqframework/cqf-tooling のほかの issue
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
cqframework/cqf-tooling#575 · コメント 1 件 ·
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 38/100
cqframework/cqf-tooling#567 ·
-
Updated RefreshIG to utilize HttpClientUtils, and restore multithreading and verbose console loggingオープン
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
cqframework/cqf-tooling#564 · コメント 1 件 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 48/100
cqframework/cqf-tooling#540 · コメント 2 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
cqframework/cqf-tooling#532 ·
cqframework/cqf-tooling の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
apache/rocketmq-dashboard#6896 ·
メンテナーはふだん 3 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
-
Unrecognized database schema version is treated as a pre-2.0 database対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
OpenIntegrationEngine/engine#496 ·
メンテナーはふだん 1 日以内に返信
-
enhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
SasanLabs/VulnerableApp#836 ·
メンテナーはふだん 1 日以内に返信