Commit 4cbcfc0
authored
Introduce clinical-reasoning changes to support HEDIS measures. (#683)
* Introduce clinical-reasoning changes to support HEDIS measures. Take the substance of the changes from the jp-cli-2 branch and ensure they work with the latest CR master with, among other things, the repository changes. All tests pass but need to do cleanup.
* Cleanup. Remove comments. Remove sysouts. Remove useless logging. Make sure we use jdk17 idioms. Fix Sonar issues. Spotless.
* More Sonar.
* Add traces to debug Linux test failures.
* Add more debug info.
* Try capitalizing first letter and lowercasing the rest for fhir types and see if that works.
* Try making a case-insensitive subdirectory match.
* Use case-insensitive resolve pattern for the entire class.
* Fix path verified by unit test to use the correct spacing for all layers of directories.
* Revert to some case-sensitive FS operations in order to fix LibraryEngineTests and see how it reacts on Linux.
* Rename the "Patient" test folder to "patient". Revert to previous file path resolves.
* Rename another patient test directory.
* Add more logging.
* Make Compartment lowercase in the IgRepository compartment. Rename Component to IgRepositoryCompartment. Fix path in unit test to correspond to new lowercase "patient".
* Clean up logging. First round of ni2 refactoring.
* Finish nio2 refactoring. Spotless.
* Spotless.
* Optimize CqlCommand code for nio2 and use of Streams to join strings. Also, delete HedisCliTest, which seems to be used only for ad-hoc testing.
* Spotless.
* Fix Sonar issues.
* Small tweaks.
* Add testing for measure reports and txtresults files to CliTest. Also, delete NdjsonBundleExtractor.java.1 parent 936933d commit 4cbcfc0
31 files changed
Lines changed: 1264 additions & 279 deletions
File tree
- .vscode
- cqf-fhir-cql/src/main/java/org/opencds/cqf/fhir/cql
- engine/retrieve
- cqf-fhir-cr-cli
- src
- main/java/org/opencds/cqf/fhir/cr/cli/command
- test
- java/org/opencds/cqf/fhir/cr/cli
- resources
- argfile
- compartment
- cql
- resources
- library
- measure
- tests/patient
- 123
- encounter
- patient
- 456
- encounter
- patient
- cqf-fhir-cr/src/main/java/org/opencds/cqf/fhir/cr/measure/common
- cqf-fhir-utility/src
- main/java/org/opencds/cqf/fhir/utility
- repository/ig
- test
- java/org/opencds/cqf/fhir/utility/repository/ig
- resources/sampleIgs/compartment
- resources/library
- tests/patient
- 123
- encounter
- patient
- 456/patient
- vocabulary/valueset
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
7 | 20 | | |
Lines changed: 23 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| 16 | + | |
15 | 17 | | |
16 | 18 | | |
17 | 19 | | |
| |||
61 | 63 | | |
62 | 64 | | |
63 | 65 | | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
64 | 74 | | |
65 | 75 | | |
66 | 76 | | |
67 | 77 | | |
68 | 78 | | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
69 | 92 | | |
Lines changed: 14 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| 20 | + | |
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
| |||
54 | 56 | | |
55 | 57 | | |
56 | 58 | | |
57 | | - | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
58 | 62 | | |
59 | 63 | | |
60 | 64 | | |
61 | 65 | | |
62 | 66 | | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
63 | 76 | | |
64 | 77 | | |
65 | 78 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
75 | 81 | | |
76 | 82 | | |
77 | 83 | | |
| |||
0 commit comments