Added a test for EXM349.

This commit is contained in:
Kevin Dougan
2020-12-24 12:31:10 -05:00
parent 9becb3fc44
commit 468df6b547
2 changed files with 2 additions and 35 deletions

View File

@@ -147,15 +147,11 @@ public class ExampleServerR4IT implements IServerSupport {
Assert.assertEquals("Measure/"+measureId, report.getMeasure());
}
// Fails with:
// ca.uhn.fhir.rest.server.exceptions.InternalErrorException:
// HTTP 500 Server Error: Failed to call access method: org.opencds.cqf.cql.engine.exception.CqlException:
// Could not resolve expression reference 'null' in library 'EXM349'.
//@Test
@Test
public void testCQLEXM349EvaluateMeasure() throws IOException {
String measureId = "measure-EXM349-2.10.000";
loadBundle("r4/EXM349/EXM349-2.10.000-bundle.json", ourCtx, ourClient);
loadBundle("r4/EXM349/EXM349-2.10.000-bundle.json.manuallyeditedtoremovesupplementaldata", ourCtx, ourClient);
// http://localhost:8080/fhir/Measure/measure-EXM349-2.10.000/$evaluate-measure?periodStart=2019-01-01&periodEnd=2019-12-31
Parameters inParams = new Parameters();

View File

@@ -2806,35 +2806,6 @@
} ]
}
} ]
} ],
"supplementalData": [ {
"usage": [ {
"coding": [ {
"system": "http://hl7.org/fhir/measure-data-usage",
"code": "supplemental-data"
} ]
} ]
}, {
"usage": [ {
"coding": [ {
"system": "http://hl7.org/fhir/measure-data-usage",
"code": "supplemental-data"
} ]
} ]
}, {
"usage": [ {
"coding": [ {
"system": "http://hl7.org/fhir/measure-data-usage",
"code": "supplemental-data"
} ]
} ]
}, {
"usage": [ {
"coding": [ {
"system": "http://hl7.org/fhir/measure-data-usage",
"code": "supplemental-data"
} ]
} ]
} ]
},
"request": {