Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed an invalid merge #295

Merged
merged 1 commit into from
Sep 3, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -899,31 +899,6 @@ public void TestBCG4NonmuscleInvasiveBCaFHIR() {
}
}

@Test
public void TestCMS122FHIR() {

ExtractMatBundleOperation o = new ExtractMatBundleOperation();
o.execute(new String[] { "-ExtractMATBundle", this.getClass().getResource("ecqm-content-r4-2021/bundles/CMS122FHIR-v0-0-004-FHIR-4-0-1.json").getFile() });

try {
Measure measure = refreshMeasure("ecqm-content-r4-2021/input/cql/DiabetesHemoglobinA1cHbA1cPoorControl9FHIR.cql", "ecqm-content-r4-2021/input/resources/measure/DiabetesHemoglobinA1cHbA1cPoorControl9FHIR.json");
assertTrue(null != measure);
// Extract data requirements from the measure:
List<DataRequirement> drs = new ArrayList<DataRequirement>();
for (Extension e : measure.getExtensionsByUrl("http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-dataRequirement")) {
if (e.hasValue()) {
drs.add(e.getValueDataRequirement());
}
}
assertTrue(!drs.isEmpty());
// TODO: Measure-specific validation of data requirements content
logger.debug(measureToString(measure));
}
catch (IOException ioException) {
ioException.printStackTrace();
}
}

@Test
public void TestBCSComponent() {
try {
Expand Down