Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
2cebba6
Upgrade to Java 17
c-schuler Feb 14, 2026
fa49f39
Remove tooling-ui module
c-schuler Feb 14, 2026
80d0a5a
Create tooling-core module
c-schuler Feb 14, 2026
3aedfc4
Modernize CLI with picocli & updated docs
c-schuler Feb 14, 2026
939a43a
IOUtils Decomposition
c-schuler Feb 15, 2026
2441ea2
tooling-terminology module
c-schuler Feb 15, 2026
3f9e027
tooling-modelinfo module
c-schuler Feb 15, 2026
ae94d3a
tooling-cql module
c-schuler Feb 15, 2026
7182a87
tooling-casereporting module
c-schuler Feb 16, 2026
399459d
tooling-acceleratorkit module
c-schuler Feb 16, 2026
31006b2
tooling-ig module
c-schuler Feb 16, 2026
e84a294
Cleanup; Build Quality Tools
c-schuler Feb 16, 2026
59001d5
migrate operations to use new pattern using adapter
c-schuler Feb 17, 2026
dd61373
Move cql_generation test resources to tooling-cql module
c-schuler Mar 8, 2026
351ab1d
Move CQL and library operations to tooling-cql module
c-schuler Mar 9, 2026
5033145
Consolidate duplicate date roller operations; fix Period date rolling…
c-schuler Mar 9, 2026
6097941
Remove unused legacy argument processors and orphaned parameter classes
c-schuler Mar 9, 2026
0c7c158
Move orphaned README files to tooling-terminology module
c-schuler Mar 9, 2026
3a16622
Rename misspelled compatators package to comparators in tooling-termi…
c-schuler Mar 9, 2026
ad8be33
Add and update README documentation for all operations packages
c-schuler Mar 9, 2026
3148c95
Remove broken acceleratorkit operation copies; apply code quality imp…
c-schuler Mar 9, 2026
37a4a89
tooling-core tests; aligned CanonicalUtils with clinical-reasoning im…
c-schuler Mar 9, 2026
c65d3c5
Bringing back BundleToTransaction operation
c-schuler Mar 11, 2026
6467ad5
Merge master updates (#588, #592)
c-schuler Mar 12, 2026
55fac21
IOUtils tests and bug fixes
c-schuler Mar 12, 2026
eb334d9
tooling-core tests and bug fixes
c-schuler Mar 12, 2026
33ae479
tooling-ig util bug fixes and tests
c-schuler Mar 13, 2026
662835e
tooling-cql bug fixes and tests; updated BundleUtils to use HAPI Bund…
c-schuler Mar 13, 2026
d8f50a0
Removing "separator" usage in favor of Paths.get()
c-schuler Mar 13, 2026
6715640
IOUtils bug fixes and testing
c-schuler Mar 15, 2026
3493de9
tooling-core tests; remove dead code in Atlas, ExecutableOperationAda…
c-schuler Mar 16, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
84 changes: 84 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
root = true

[*]
charset = utf-8
end_of_line = lf
indent_size = 4
indent_style = space
insert_final_newline = false
max_line_length = 100
tab_width = 4
ij_formatter_tags_enabled = false

[*.md]
insert_final_newline = true
indent_size = 4

[*.json]
indent_size = 2
tab_width = 2
max_line_length = 80
ij_json_space_after_colon = true
ij_json_space_after_comma = true

[*.java]
ij_java_imports_layout = $*,|,*
ij_java_class_brace_style = end_of_line
ij_java_method_brace_style = end_of_line
ij_java_space_before_method_call_parentheses = false
ij_java_space_before_method_parentheses = false
ij_java_space_before_if_parentheses = true
ij_java_space_before_while_parentheses = true
ij_java_space_before_for_parentheses = true
ij_java_space_before_switch_parentheses = true
ij_java_space_before_catch_parentheses = true
ij_java_space_before_synchronized_parentheses = true
ij_java_space_around_assignment_operators = true
ij_java_space_around_logical_operators = true
ij_java_space_around_equality_operators = true
ij_java_space_around_relational_operators = true
ij_java_space_around_bitwise_operators = true
ij_java_space_around_additive_operators = true
ij_java_space_around_multiplicative_operators = true
ij_java_space_around_shift_operators = true
ij_java_spaces_within_parentheses = false
ij_java_spaces_within_method_call_parentheses = false
ij_java_spaces_within_method_parentheses = false
ij_java_spaces_within_if_parentheses = false
ij_java_spaces_within_while_parentheses = false
ij_java_spaces_within_for_parentheses = false
ij_java_spaces_within_switch_parentheses = false
ij_java_spaces_within_catch_parentheses = false
ij_java_spaces_within_synchronized_parentheses = false
ij_java_spaces_within_cast_parentheses = false
ij_java_spaces_within_brackets = false
ij_java_spaces_within_braces = false
ij_java_spaces_within_array_initializer_braces = false
ij_java_keep_line_breaks = true
ij_java_keep_blank_lines_in_declarations = 1
ij_java_keep_blank_lines_in_code = 1
ij_java_keep_blank_lines_before_rbrace = 0
ij_java_blank_lines_after_class_header = 0
ij_java_blank_lines_after_package = 1
ij_java_blank_lines_before_package = 0
ij_java_blank_lines_before_imports = 1
ij_java_blank_lines_after_imports = 1
ij_java_doc_add_blank_line_after_description = true
ij_java_doc_add_blank_line_after_param_comments = false
ij_java_doc_add_blank_line_after_return = false
ij_java_doc_align_param_comments = false
ij_java_doc_align_exception_comments = false
ij_java_doc_enable_formatting = true
ij_java_doc_enable_leading_asterisks = true
ij_java_doc_keep_empty_parameter_tag = true
ij_java_doc_keep_empty_return_tag = true
ij_java_doc_keep_empty_throws_tag = true
ij_java_binary_operation_sign_on_next_line = true
ij_java_continuation_indent_size = 4
ij_java_ternary_operation_signs_on_next_line = true
ij_java_wrap_comments = true

[{*.xml,*.xsl,*.xsd}]
ij_continuation_indent_size = 2
ij_xml_block_comment_at_first_column = true
ij_xml_line_comment_at_first_column = true
60 changes: 53 additions & 7 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<maven.compiler.release>11</maven.compiler.release>
<maven.compiler.release>17</maven.compiler.release>
<cql.version>3.27.0</cql.version>
<hapi.version>8.0.0</hapi.version>
<spring-boot.version>2.1.5.RELEASE</spring-boot.version>
Expand All @@ -28,9 +28,15 @@
<url>https://github.com/cqframework/cqf-tooling/tree/master</url>

<modules>
<module>tooling-core</module>
<module>tooling-terminology</module>
<module>tooling-modelinfo</module>
<module>tooling-cql</module>
<module>tooling-casereporting</module>
<module>tooling-acceleratorkit</module>
<module>tooling-ig</module>
<module>tooling</module>
<module>tooling-cli</module>
<module>tooling-ui</module>
</modules>

<licenses>
Expand Down Expand Up @@ -231,6 +237,18 @@
<version>1.2.18</version>
</dependency>

<!-- Pin Apache POI versions to avoid transitive version conflicts -->
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi</artifactId>
<version>${poi.version}</version>
</dependency>
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi-ooxml</artifactId>
<version>${poi.version}</version>
</dependency>

<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
Expand Down Expand Up @@ -268,7 +286,7 @@
<?m2e execute onConfiguration,onIncremental?>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>3.3.1</version>
<version>3.6.0</version>
<configuration>
<excludeGeneratedSources>true</excludeGeneratedSources>
<configLocation>config/checkstyle.xml</configLocation>
Expand Down Expand Up @@ -306,6 +324,27 @@
</java>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>animal-sniffer-maven-plugin</artifactId>
<version>1.23</version>
<configuration>
<signature>
<groupId>com.toasttab.android</groupId>
<artifactId>gummy-bears-api-34</artifactId>
<version>0.10.0</version>
</signature>
</configuration>
<executions>
<execution>
<id>check-android-34-compliance</id>
<phase>test</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
Expand Down Expand Up @@ -367,7 +406,7 @@
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.4.0</version>
<configuration>
<source>11</source>
<source>17</source>
<excludePackageNames>org.opencds.cqf.tooling.vmr</excludePackageNames>
<quiet>true</quiet>
<!--TODO: tighten this to make sure comments aren't missing as well-->
Expand Down Expand Up @@ -461,11 +500,18 @@
</plugins>
</pluginManagement>
<plugins>
<!-- TODO: Renable checkstyle -->
<!-- <plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
</plugin> -->
</plugin>
<plugin>
<groupId>com.diffplug.spotless</groupId>
<artifactId>spotless-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>animal-sniffer-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
Expand Down
43 changes: 43 additions & 0 deletions tooling-acceleratorkit/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.opencds.cqf</groupId>
<artifactId>tooling-parent</artifactId>
<version>3.11.0-SNAPSHOT</version>
</parent>

<artifactId>tooling-acceleratorkit</artifactId>
<version>3.11.0-SNAPSHOT</version>
<packaging>jar</packaging>

<name>CQF Tooling Accelerator Kit</name>
<description>WHO accelerator kit processing — data dictionary, decision tables, and profile generation</description>
<url>https://github.com/cqframework/cqf-tooling/tree/master/tooling-acceleratorkit</url>

<dependencies>
<!-- Core infrastructure -->
<dependency>
<groupId>org.opencds.cqf</groupId>
<artifactId>tooling-core</artifactId>
<version>${project.version}</version>
</dependency>

<!-- Terminology (SpreadsheetHelper) -->
<dependency>
<groupId>org.opencds.cqf</groupId>
<artifactId>tooling-terminology</artifactId>
<version>${project.version}</version>
</dependency>

<!-- Test dependencies -->
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>7.7.0</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -4,45 +4,56 @@

public class CanonicalResourceAtlas {
private CanonicalResourceProvider<StructureDefinition> structureDefinitions;

public CanonicalResourceProvider<StructureDefinition> getStructureDefinitions() {
return structureDefinitions;
}
public CanonicalResourceAtlas setStructureDefinitions(CanonicalResourceProvider<StructureDefinition> structureDefinitions) {

public CanonicalResourceAtlas setStructureDefinitions(
CanonicalResourceProvider<StructureDefinition> structureDefinitions) {
this.structureDefinitions = structureDefinitions;
return this;
}

private CanonicalResourceProvider<CodeSystem> codeSystems;

public CanonicalResourceProvider<CodeSystem> getCodeSystems() {
return codeSystems;
}

public CanonicalResourceAtlas setCodeSystems(CanonicalResourceProvider<CodeSystem> codeSystems) {
this.codeSystems = codeSystems;
return this;
}

private CanonicalResourceProvider<ValueSet> valueSets;

public CanonicalResourceProvider<ValueSet> getValueSets() {
return valueSets;
}

public CanonicalResourceAtlas setValueSets(CanonicalResourceProvider<ValueSet> valueSets) {
this.valueSets = valueSets;
return this;
}

private CanonicalResourceProvider<ConceptMap> conceptMaps;

public CanonicalResourceProvider<ConceptMap> getConceptMaps() {
return conceptMaps;
}

public CanonicalResourceAtlas setConceptMaps(CanonicalResourceProvider<ConceptMap> conceptMaps) {
this.conceptMaps = conceptMaps;
return this;
}

private CanonicalResourceProvider<StructureDefinition> extensions;

public CanonicalResourceProvider<StructureDefinition> getExtensions() {
return extensions;
}

public CanonicalResourceAtlas setExtensions(CanonicalResourceProvider<StructureDefinition> extensions) {
this.extensions = extensions;
return this;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@

import org.hl7.fhir.r4.model.Resource;

import java.util.List;

public interface CanonicalResourceProvider<T extends Resource> {
Iterable<T> get();

Iterable<T> getByCanonicalUrl(String url);

T getByCanonicalUrlWithVersion(String urlWithVersion);

T getByCanonicalUrlAndVersion(String url, String version);
}
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
package org.opencds.cqf.tooling.acceleratorkit;

import org.hl7.fhir.r4.model.Coding;

import java.util.ArrayList;
import java.util.List;
import java.util.stream.Collectors;
import org.hl7.fhir.r4.model.Coding;

public class CodeCollection {
public CodeCollection() {
Expand All @@ -16,6 +15,7 @@ public CodeCollection(List<DictionaryCode> codes) {
}

private List<DictionaryCode> codes;

public List<DictionaryCode> getCodes() {
if (this.codes == null) {
this.codes = new ArrayList<>();
Expand All @@ -40,6 +40,7 @@ public List<DictionaryCode> getCodesForSystem(String system) {
}

private ArrayList<String> codeSystemUrls;

public List<String> getCodeSystemUrls() {
if (this.codeSystemUrls == null) {
this.codeSystemUrls = new ArrayList<>();
Expand Down Expand Up @@ -68,4 +69,4 @@ public List<Coding> toCodings() {

return codings;
}
}
}
Loading