Skip to content

Implement Trackable as an extension property #774

Implement Trackable as an extension property

Implement Trackable as an extension property #774

Triggered via pull request December 15, 2024 15:20
Status Failure
Total duration 13m 52s
Artifacts

check-pr.yml

on: pull_request
Matrix: gradle
Fit to window
Zoom out
Zoom in

Annotations

53 errors and 1 warning
CMS146JsonTest.[1] CMS146v2_Expected_SignatureLevel_None.json, None: Src/java/cql-to-elm/src/test/java/org/cqframework/cql/cql2elm/CMS146JsonTest.java#L40
java.lang.AssertionError: library.annotation[]: Expected 3 values but got 11 ; library.contexts.def[0] Expected: type but none found ; library.contexts Expected: type but none found ; library.identifier Expected: type but none found ; library.parameters.def[0].default.high.day Expected: type but none found ; library.parameters.def[0].default.high.hour Expected: type but none found ; library.parameters.def[0].default.high.millisecond Expected: type but none found ; library.parameters.def[0].default.high.minute Expected: type but none found ; library.parameters.def[0].default.high.month Expected: type but none found ; library.parameters.def[0].default.high.second Expected: type but none found ; library.parameters.def[0].default.high Expected: type but none found ; library.parameters.def[0].default.high.year Expected: type but none found ; library.parameters.def[0].default.low.day Expected: type but none found ; library.parameters.def[0].default.low.hour Expected: type but none found ; library.parameters.def[0].default.low.millisecond Expected: type but none found ; library.parameters.def[0].default.low.minute Expected: type but none found ; library.parameters.def[0].default.low.month Expected: type but none found ; library.parameters.def[0].default.low.second Expected: type but none found ; library.parameters.def[0].default.low Expected: type but none found ; library.parameters.def[0].default.low.year Expected: type but none found ; library.parameters.def[0].default Expected: type but none found ; library.parameters.def[0] Expected: type but none found ; library.parameters Expected: type but none found ; library.schemaIdentifier Expected: type but none found ; library.statements.def[0].expression.operand Expected: type but none found ; library.statements.def[0].expression Expected: type but none found ; library.statements.def[0] Expected: type but none found ; library.statements.def[1].expression.operand[0].operand[0].operand[0].source Expected: type but none found ; library.statements.def[1].expression.operand[0].operand[0].operand[0] Expected: type but none found ; library.statements.def[1].expression.operand[0].operand[0].operand[1].operand Expected: type but none found ; library.statements.def[1].expression.operand[0].operand[0].operand[1] Expected: type but none found ; library.statements.def[1].expression.operand[0].operand[0] Expected: type but none found ; library.statements.def[1].expression.operand[0].operand[1] Expected: type but none found ; library.statements.def[1].expression.operand[0] Expected: type but none found ; library.statements.def[1].expression.operand[1].operand[0].operand[0].source Expected: type but none found ; library.statements.def[1].expression.operand[1].operand[0].operand[0] Expected: type but none found ; library.statements.def[1].expression.operand[1].operand[0].operand[1].operand Expected: type but none found ; library.statements.def[1].expression.operand[1].operand[0].operand[1] Expected: type but none found ; library.statements.def[1].expression.operand[1].operand[0] Expected: type but none found ; library.statements.def[1].expression.operand[1].operand[1] Expected: type but none found ; library.statements.def[1].expression.operand[1] Expected: type but none found ; library.statements.def[1].expression Expected: type but none found ; library.statements.def[1] Expected: type but none found ; library.statements.def[2].expression Expected: operand but none found ; library.statements.def[2].expression Expected: type but none found ; library.statements.def[2] Expected: type but none found ; library.statements.def[3].expression Expected: codeComparator but none found ; library.statements.def[3].expression Expected: codeProperty but none found ; library.statements.def[3].expression Expected: codes but none found ; library.statements.def[3].expression Expected: dataType but none found ; library.statements.def[3].expression Expected: templateId but none found ; library.statements.def[3].expression Expected: type but none found ; library.statements.def[3] Expected: type but none found ; library.statements.def[4].expression Expected: relationship but none found ; library.statements.def[4].expression Expected: source but none found ; library.statements.def[4].expression Expected: type but none found ; library.statements.def[4].expression Expected: where but none found ; library.statements.def[4] Expected: type but none found ; library.statements.def[5].expression Expected: relationship but none found ; library.statements.def[5].expression Expected: source but none found ; library.statements.def[5].expression Expected: type but none found ; library.statements.def[5] Expected: type but none found ; library.statements.def[6].expression Expected: operand but none found ; library.statements.def[6].expression Expected: type but none found ; library.statements.def[6] Expected: type but none found ; library.statements.def[7].expression Expected: operand but none found ; library.statements.def[7].expression Expected: type but none found ; library.statements.def[7] Expected: type but none found ; library.statements.def[8].expression Expected: operand but none found ; library.statements.def[8].expression Expected: type but none found ; library.statements.def[8] Expected: type but none found ; library.statements.def[9].expression Expected: type but none found ; library.statements.def[9] Expected: type but none found ; library.statements.def[10].expression Expected: name but none found ; library.statements.def[10].expression Expected: type but none found ; library.statements.def[10] Expected: type but none found ; library.statements.def[11].expression Expected: operand but none found ; library.statements.def[11].expression Expected: type but none found ; library.statements.def[11] Expected: type but none found ; library.statements Expected: type but none found ; library Expected: type but none found ; library.usings.def[0] Expected: type but none found ; library.usings.def[1] Expected: type but none found ; library.usings Expected: type but none found ; library.valueSets.def[0] Expected: type but none found ; library.valueSets.def[1] Expected: type but none found ; library.valueSets.def[2] Expected: type but none found ; library.valueSets.def[3] Expected: type but none found ; library.valueSets.def[4] Expected: type but none found ; library.valueSets Expected: type but none found
CMS146JsonTest.[2] CMS146v2_Expected_SignatureLevel_Differing.json, Differing: Src/java/cql-to-elm/src/test/java/org/cqframework/cql/cql2elm/CMS146JsonTest.java#L40
java.lang.AssertionError: library.annotation[]: Expected 3 values but got 11 ; library.contexts.def[0] Expected: type but none found ; library.contexts Expected: type but none found ; library.identifier Expected: type but none found ; library.parameters.def[0].default.high.day Expected: type but none found ; library.parameters.def[0].default.high.hour Expected: type but none found ; library.parameters.def[0].default.high.millisecond Expected: type but none found ; library.parameters.def[0].default.high.minute Expected: type but none found ; library.parameters.def[0].default.high.month Expected: type but none found ; library.parameters.def[0].default.high.second Expected: type but none found ; library.parameters.def[0].default.high Expected: type but none found ; library.parameters.def[0].default.high.year Expected: type but none found ; library.parameters.def[0].default.low.day Expected: type but none found ; library.parameters.def[0].default.low.hour Expected: type but none found ; library.parameters.def[0].default.low.millisecond Expected: type but none found ; library.parameters.def[0].default.low.minute Expected: type but none found ; library.parameters.def[0].default.low.month Expected: type but none found ; library.parameters.def[0].default.low.second Expected: type but none found ; library.parameters.def[0].default.low Expected: type but none found ; library.parameters.def[0].default.low.year Expected: type but none found ; library.parameters.def[0].default Expected: type but none found ; library.parameters.def[0] Expected: type but none found ; library.parameters Expected: type but none found ; library.schemaIdentifier Expected: type but none found ; library.statements.def[0].expression.operand Expected: type but none found ; library.statements.def[0].expression Expected: type but none found ; library.statements.def[0] Expected: type but none found ; library.statements.def[1].expression.operand[0].operand[0].operand[0].source Expected: type but none found ; library.statements.def[1].expression.operand[0].operand[0].operand[0] Expected: type but none found ; library.statements.def[1].expression.operand[0].operand[0].operand[1].operand Expected: type but none found ; library.statements.def[1].expression.operand[0].operand[0].operand[1] Expected: type but none found ; library.statements.def[1].expression.operand[0].operand[0] Expected: type but none found ; library.statements.def[1].expression.operand[0].operand[1] Expected: type but none found ; library.statements.def[1].expression.operand[0] Expected: type but none found ; library.statements.def[1].expression.operand[1].operand[0].operand[0].source Expected: type but none found ; library.statements.def[1].expression.operand[1].operand[0].operand[0] Expected: type but none found ; library.statements.def[1].expression.operand[1].operand[0].operand[1].operand Expected: type but none found ; library.statements.def[1].expression.operand[1].operand[0].operand[1] Expected: type but none found ; library.statements.def[1].expression.operand[1].operand[0] Expected: type but none found ; library.statements.def[1].expression.operand[1].operand[1] Expected: type but none found ; library.statements.def[1].expression.operand[1] Expected: type but none found ; library.statements.def[1].expression Expected: type but none found ; library.statements.def[1] Expected: type but none found ; library.statements.def[2].expression Expected: operand but none found ; library.statements.def[2].expression Expected: type but none found ; library.statements.def[2] Expected: type but none found ; library.statements.def[3].expression Expected: codeComparator but none found ; library.statements.def[3].expression Expected: codeProperty but none found ; library.statements.def[3].expression Expected: codes but none found ; library.statements.def[3].expression Expected: dataType but none found ; library.statements.def[3].expression Expected: templateId but none found ; library.statements.def[3].expression Expected: type but none found ; library.statements.def[3] Expected: type but none found ; library.statements.def[4].expression Expected: relationship but none found ; library.statements.def[4].expression Expected: source but none found ; library.statements.def[4].expression Expected: type but none found ; library.statements.def[4].expression Expected: where but none found ; library.statements.def[4] Expected: type but none found ; library.statements.def[5].expression Expected: relationship but none found ; library.statements.def[5].expression Expected: source but none found ; library.statements.def[5].expression Expected: type but none found ; library.statements.def[5] Expected: type but none found ; library.statements.def[6].expression Expected: operand but none found ; library.statements.def[6].expression Expected: type but none found ; library.statements.def[6] Expected: type but none found ; library.statements.def[7].expression Expected: operand but none found ; library.statements.def[7].expression Expected: type but none found ; library.statements.def[7] Expected: type but none found ; library.statements.def[8].expression Expected: operand but none found ; library.statements.def[8].expression Expected: type but none found ; library.statements.def[8] Expected: type but none found ; library.statements.def[9].expression Expected: type but none found ; library.statements.def[9] Expected: type but none found ; library.statements.def[10].expression Expected: name but none found ; library.statements.def[10].expression Expected: type but none found ; library.statements.def[10] Expected: type but none found ; library.statements.def[11].expression Expected: operand but none found ; library.statements.def[11].expression Expected: type but none found ; library.statements.def[11] Expected: type but none found ; library.statements Expected: type but none found ; library Expected: type but none found ; library.usings.def[0] Expected: type but none found ; library.usings.def[1] Expected: type but none found ; library.usings Expected: type but none found ; library.valueSets.def[0] Expected: type but none found ; library.valueSets.def[1] Expected: type but none found ; library.valueSets.def[2] Expected: type but none found ; library.valueSets.def[3] Expected: type but none found ; library.valueSets.def[4] Expected: type but none found ; library.valueSets Expected: type but none found
CMS146JsonTest.[3] CMS146v2_Expected_SignatureLevel_Overloads.json, Overloads: Src/java/cql-to-elm/src/test/java/org/cqframework/cql/cql2elm/CMS146JsonTest.java#L40
java.lang.AssertionError: library.annotation[]: Expected 3 values but got 11 ; library.contexts.def[0] Expected: type but none found ; library.contexts Expected: type but none found ; library.identifier Expected: type but none found ; library.parameters.def[0].default.high.day Expected: type but none found ; library.parameters.def[0].default.high.hour Expected: type but none found ; library.parameters.def[0].default.high.millisecond Expected: type but none found ; library.parameters.def[0].default.high.minute Expected: type but none found ; library.parameters.def[0].default.high.month Expected: type but none found ; library.parameters.def[0].default.high.second Expected: type but none found ; library.parameters.def[0].default.high Expected: type but none found ; library.parameters.def[0].default.high.year Expected: type but none found ; library.parameters.def[0].default.low.day Expected: type but none found ; library.parameters.def[0].default.low.hour Expected: type but none found ; library.parameters.def[0].default.low.millisecond Expected: type but none found ; library.parameters.def[0].default.low.minute Expected: type but none found ; library.parameters.def[0].default.low.month Expected: type but none found ; library.parameters.def[0].default.low.second Expected: type but none found ; library.parameters.def[0].default.low Expected: type but none found ; library.parameters.def[0].default.low.year Expected: type but none found ; library.parameters.def[0].default Expected: type but none found ; library.parameters.def[0] Expected: type but none found ; library.parameters Expected: type but none found ; library.schemaIdentifier Expected: type but none found ; library.statements.def[0].expression.operand Expected: type but none found ; library.statements.def[0].expression Expected: type but none found ; library.statements.def[0] Expected: type but none found ; library.statements.def[1].expression.operand[0].operand[0].operand[0].source Expected: type but none found ; library.statements.def[1].expression.operand[0].operand[0].operand[0] Expected: type but none found ; library.statements.def[1].expression.operand[0].operand[0].operand[1].operand Expected: type but none found ; library.statements.def[1].expression.operand[0].operand[0].operand[1] Expected: type but none found ; library.statements.def[1].expression.operand[0].operand[0] Expected: type but none found ; library.statements.def[1].expression.operand[0].operand[1] Expected: type but none found ; library.statements.def[1].expression.operand[0] Expected: type but none found ; library.statements.def[1].expression.operand[1].operand[0].operand[0].source Expected: type but none found ; library.statements.def[1].expression.operand[1].operand[0].operand[0] Expected: type but none found ; library.statements.def[1].expression.operand[1].operand[0].operand[1].operand Expected: type but none found ; library.statements.def[1].expression.operand[1].operand[0].operand[1] Expected: type but none found ; library.statements.def[1].expression.operand[1].operand[0] Expected: type but none found ; library.statements.def[1].expression.operand[1].operand[1] Expected: type but none found ; library.statements.def[1].expression.operand[1] Expected: type but none found ; library.statements.def[1].expression Expected: type but none found ; library.statements.def[1] Expected: type but none found ; library.statements.def[2].expression Expected: operand but none found ; library.statements.def[2].expression Expected: type but none found ; library.statements.def[2] Expected: type but none found ; library.statements.def[3].expression Expected: codeComparator but none found ; library.statements.def[3].expression Expected: codeProperty but none found ; library.statements.def[3].expression Expected: codes but none found ; library.statements.def[3].expression Expected: dataType but none found ; library.statements.def[3].expression Expected: templateId but none found ; library.statements.def[3].expression Expected: type but none found ; library.statements.def[3] Expected: type but none found ; library.statements.def[4].expression Expected: relationship but none found ; library.statements.def[4].expression Expected: source but none found ; library.statements.def[4].expression Expected: type but none found ; library.statements.def[4].expression Expected: where but none found ; library.statements.def[4] Expected: type but none found ; library.statements.def[5].expression Expected: relationship but none found ; library.statements.def[5].expression Expected: source but none found ; library.statements.def[5].expression Expected: type but none found ; library.statements.def[5] Expected: type but none found ; library.statements.def[6].expression Expected: operand but none found ; library.statements.def[6].expression Expected: type but none found ; library.statements.def[6] Expected: type but none found ; library.statements.def[7].expression Expected: operand but none found ; library.statements.def[7].expression Expected: signature but none found ; library.statements.def[7].expression Expected: type but none found ; library.statements.def[7] Expected: type but none found ; library.statements.def[8].expression Expected: operand but none found ; library.statements.def[8].expression Expected: type but none found ; library.statements.def[8] Expected: type but none found ; library.statements.def[9].expression Expected: type but none found ; library.statements.def[9] Expected: type but none found ; library.statements.def[10].expression Expected: name but none found ; library.statements.def[10].expression Expected: type but none found ; library.statements.def[10] Expected: type but none found ; library.statements.def[11].expression Expected: operand but none found ; library.statements.def[11].expression Expected: signature but none found ; library.statements.def[11].expression Expected: type but none found ; library.statements.def[11] Expected: type but none found ; library.statements Expected: type but none found ; library Expected: type but none found ; library.usings.def[0] Expected: type but none found ; library.usings.def[1] Expected: type but none found ; library.usings Expected: type but none found ; library.valueSets.def[0] Expected: type but none found ; library.valueSets.def[1] Expected: type but none found ; library.valueSets.def[2] Expected: type but none found ; library.valueSets.def[3] Expected: type but none found ; library.valueSets.def[4] Expected: type but none found ; library.valueSets Expected: type but none found
CMS146JsonTest.[4] CMS146v2_Expected_SignatureLevel_All.json, All: Src/java/cql-to-elm/src/test/java/org/cqframework/cql/cql2elm/CMS146JsonTest.java#L40
java.lang.AssertionError: library.annotation[]: Expected 3 values but got 11 ; library.contexts.def[0] Expected: type but none found ; library.contexts Expected: type but none found ; library.identifier Expected: type but none found ; library.parameters.def[0].default.high.day Expected: type but none found ; library.parameters.def[0].default.high.hour Expected: type but none found ; library.parameters.def[0].default.high.millisecond Expected: type but none found ; library.parameters.def[0].default.high.minute Expected: type but none found ; library.parameters.def[0].default.high.month Expected: type but none found ; library.parameters.def[0].default.high.second Expected: type but none found ; library.parameters.def[0].default.high Expected: type but none found ; library.parameters.def[0].default.high.year Expected: type but none found ; library.parameters.def[0].default.low.day Expected: type but none found ; library.parameters.def[0].default.low.hour Expected: type but none found ; library.parameters.def[0].default.low.millisecond Expected: type but none found ; library.parameters.def[0].default.low.minute Expected: type but none found ; library.parameters.def[0].default.low.month Expected: type but none found ; library.parameters.def[0].default.low.second Expected: type but none found ; library.parameters.def[0].default.low Expected: type but none found ; library.parameters.def[0].default.low.year Expected: type but none found ; library.parameters.def[0].default Expected: type but none found ; library.parameters.def[0] Expected: type but none found ; library.parameters Expected: type but none found ; library.schemaIdentifier Expected: type but none found ; library.statements.def[0].expression.operand Expected: type but none found ; library.statements.def[0].expression Expected: type but none found ; library.statements.def[0] Expected: type but none found ; library.statements.def[1].expression.operand[0].operand[0].operand[0].source Expected: type but none found ; library.statements.def[1].expression.operand[0].operand[0].operand[0] Expected: type but none found ; library.statements.def[1].expression.operand[0].operand[0].operand[1].operand Expected: type but none found ; library.statements.def[1].expression.operand[0].operand[0].operand[1] Expected: type but none found ; library.statements.def[1].expression.operand[0].operand[0] Expected: type but none found ; library.statements.def[1].expression.operand[0].operand[1] Expected: type but none found ; library.statements.def[1].expression.operand[0] Expected: type but none found ; library.statements.def[1].expression.operand[1].operand[0].operand[0].source Expected: type but none found ; library.statements.def[1].expression.operand[1].operand[0].operand[0] Expected: type but none found ; library.statements.def[1].expression.operand[1].operand[0].operand[1].operand Expected: type but none found ; library.statements.def[1].expression.operand[1].operand[0].operand[1] Expected: type but none found ; library.statements.def[1].expression.operand[1].operand[0] Expected: type but none found ; library.statements.def[1].expression.operand[1].operand[1] Expected: type but none found ; library.statements.def[1].expression.operand[1] Expected: type but none found ; library.statements.def[1].expression Expected: type but none found ; library.statements.def[1] Expected: type but none found ; library.statements.def[2].expression Expected: operand but none found ; library.statements.def[2].expression Expected: signature but none found ; library.statements.def[2].expression Expected: type but none found ; library.statements.def[2] Expected: type but none found ; library.statements.def[3].expression Expected: codeComparator but none found ; library.statements.def[3].expression Expected: codeProperty but none found ; library.statements.def[3].expression Expected: codes but none found ; library.statements.def[3].expression Expected: dataType but none found ; library.statements.def[3].expression Expected: templateId but none found ; library.statements.def[3].expression Expected: type but none found ; library.statements.def[3] Expected: type but none found ; library.statements.def[4].expression Expected: relationship but none found ; library.statements.def[4].expression Expected: source but none found ; library.statements.def[4].expression Expected: type but none found ; library.statements.def[4].expression Expected: where but none found ; library.statements.def[4] Expected: type but none found ; library.statements.def[5].expression Expected: relationship but none found ; library.statements.def[5].expression Expected: source but none found ; library.statements.def[5].expression Expected: type but none found ; library.statements.def[5] Expected: type but none found ; library.statements.def[6].expression Expected: operand but none found ; library.statements.def[6].expression Expected: signature but none found ; library.statements.def[6].expression Expected: type but none found ; library.statements.def[6] Expected: type but none found ; library.statements.def[7].expression Expected: operand but none found ; library.statements.def[7].expression Expected: signature but none found ; library.statements.def[7].expression Expected: type but none found ; library.statements.def[7] Expected: type but none found ; library.statements.def[8].expression Expected: operand but none found ; library.statements.def[8].expression Expected: signature but none found ; library.statements.def[8].expression Expected: type but none found ; library.statements.def[8] Expected: type but none found ; library.statements.def[9].expression Expected: type but none found ; library.statements.def[9] Expected: type but none found ; library.statements.def[10].expression Expected: name but none found ; library.statements.def[10].expression Expected: type but none found ; library.statements.def[10] Expected: type but none found ; library.statements.def[11].expression Expected: operand but none found ; library.statements.def[11].expression Expected: signature but none found ; library.statements.def[11].expression Expected: type but none found ; library.statements.def[11] Expected: type but none found ; library.statements Expected: type but none found ; library Expected: type but none found ; library.usings.def[0] Expected: type but none found ; library.usings.def[1] Expected: type but none found ; library.usings Expected: type but none found ; library.valueSets.def[0] Expected: type but none found ; library.valueSets.def[1] Expected: type but none found ; library.valueSets.def[2] Expected: type but none found ; library.valueSets.def[3] Expected: type but none found ; library.valueSets.def[4] Expected: type but none found ; library.valueSets Expected: type but none found
CMS146XmlTest.[1] CMS146v2_Expected_SignatureLevel_None.xml, None: Src/java/cql-to-elm/src/test/java/org/cqframework/cql/cql2elm/CMS146XmlTest.java#L40
java.lang.AssertionError: Expected: "<?xml version='1.1' encoding='UTF-8'?>\n<Library type=\"Library\">\n <wstxns1:identifier xmlns:wstxns1=\"urn:hl7-org:elm:r1\" wstxns1:type=\"VersionedIdentifier\" id=\"CMS146\" version=\"2\"/>\n <wstxns2:schemaIdentifier xmlns:wstxns2=\"urn:hl7-org:elm:r1\" wstxns2:type=\"VersionedIdentifier\" id=\"urn:hl7-org:elm\" version=\"r1\"/>\n <wstxns3:usings xmlns:wstxns3=\"urn:hl7-org:elm:r1\" wstxns3:type=\"Library$Usings\">\n <wstxns3:def>\n <wstxns3:def wstxns3:type=\"UsingDef\" localIdentifier=\"System\" uri=\"urn:hl7-org:elm-types:r1\"/>\n <wstxns3:def wstxns3:type=\"UsingDef\" localIdentifier=\"QUICK\" uri=\"http://hl7.org/fhir\"/>\n </wstxns3:def>\n </wstxns3:usings>\n <wstxns4:parameters xmlns:wstxns4=\"urn:hl7-org:elm:r1\" wstxns4:type=\"Library$Parameters\">\n <wstxns4:def>\n <wstxns4:def wstxns4:type=\"ParameterDef\" name=\"MeasurementPeriod\" accessLevel=\"Public\">\n <wstxns4:default wstxns4:type=\"Interval\" lowClosed=\"true\" highClosed=\"false\">\n <wstxns4:low wstxns4:type=\"DateTime\">\n <wstxns4:year wstxns4:type=\"Literal\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"2013\"/>\n <wstxns4:month wstxns4:type=\"Literal\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"1\"/>\n <wstxns4:day wstxns4:type=\"Literal\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"1\"/>\n <wstxns4:hour wstxns4:type=\"Literal\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n <wstxns4:minute wstxns4:type=\"Literal\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n <wstxns4:second wstxns4:type=\"Literal\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n <wstxns4:millisecond wstxns4:type=\"Literal\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n </wstxns4:low>\n <wstxns4:high wstxns4:type=\"DateTime\">\n <wstxns4:year wstxns4:type=\"Literal\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"2014\"/>\n <wstxns4:month wstxns4:type=\"Literal\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"1\"/>\n <wstxns4:day wstxns4:type=\"Literal\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"1\"/>\n <wstxns4:hour wstxns4:type=\"Literal\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n <wstxns4:minute wstxns4:type=\"Literal\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n <wstxns4:second wstxns4:type=\"Literal\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n <wstxns4:millisecond wstxns4:type=\"Literal\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n </wstxns4:high>\n </wstxns4:default>\n </wstxns4:def>\n </wstxns4:def>\n </wstxns4:parameters>\n <wstxns5:valueSets xmlns:wstxns5=\"urn:hl7-org:elm:r1\" wstxns5:type=\"Library$ValueSets\">\n <wstxns5:def>\n <wstxns5:def wstxns5:type=\"ValueSetDef\" name=\"Acute Pharyngitis\" id=\"2.16.840.1.113883.3.464.1003.102.12.1011\" accessLevel=\"Public\"/>\n <wstxns5:def wstxns5:type=\"ValueSetDef\" name=\"Acute Tonsillitis\" id=\"2.16.840.1.113883.3.464.1003.102.12.1012\" accessLevel=\"Public\"/>\n <wstxns5:def wstxns5:type=\"ValueSetDef\" name=\"Ambulatory/ED Visit\" id=\"2.16.840.1.113883.3.464.1003.101.12.1061\" accessLevel=\"Public\"/>\n <wstxns5:def wstxns5:type=\"ValueSetDef\" name=\"Antibiotic Medications\" id=\"2.16.840.1.113883.3.464.1003.196.12.1001\" accessLevel=\"Public\"/>\n <wstxns5:def wstxns5:type=\"ValueSetDef\" name=\"Group A Streptococcus Test\" id=\"2.16.840.1.113883.3.464.1003.198.12.1012\" accessLevel=\"Public\"/>\n </wstxns5:def>\n </wstxns5:valueSets>\n <wstxns6:contexts xmlns:wstxns6=\"urn:hl7-org:elm:r1\" wstxns6:type=\"Library$Contexts\">\n <wstxns6:def>\n <wstxns6:def wstxns6:type=\"ContextDef\" name=\"Patient\"/>\n </wstxns6:def>\n </wstxns6:contexts>\n <wstxns7:statements xmlns:wstxns7=\"urn:hl7-org:elm:r1\" wstxns7:type=\"Library$Statements\">\n <wstxns7:def>\n <wstxns7:def wstxns7:type=\"ExpressionDef\" name=\"Patient\" context=\"Patient\">\n <wstxns7:expression wstxns7:type=\"SingletonFrom\">\n <wstxns7:operand wstxns7:type=\"Retrieve\" dataType=\"{http://hl7.org/fhir}Patient\" templateId=\"patient-qicore-qicore-patient\"/>\n </wstxns7:expression>\n </wstxns7:def>\n <wstxns7:def wstxns7:type=\"ExpressionDef\" name=\"InDemographic\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"And\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"GreaterOrEqual\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"CalculateAgeAt\" precision=\"Year\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Property\" path=\"birthDate\">\n <wstxns7:source wstxns7:type=\"ExpressionRef\" name=\"Patient\"/>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Start\">\n <wstxns7:operand wstxns7:type=\"ParameterRef\" name=\"MeasurementPeriod\"/>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Literal\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"2\"/>\n </wstxns7:operand>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Less\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"CalculateAgeAt\" precision=\"Year\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Property\" path=\"birthDate\">\n <wstxns7:source wstxns7:type=\"ExpressionRef\" name=\"Patient\"/>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Start\">\n <wstxns7:operand wstxns7:type=\"ParameterRef\" name=\"MeasurementPeriod\"/>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Literal\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"18\"/>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:expression>\n </wstxns7:def>\n <wstxns7:def wstxns7:type=\"ExpressionDef\" name=\"Pharyngitis\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"Union\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Retrieve\" dataType=\"{http://hl7.org/fhir}Condition\" templateId=\"condition-qicore-qicore-condition\" codeProperty=\"code\" codeComparator=\"in\">\n <wstxns7:codes wstxns7:type=\"ValueSetRef\" name=\"Acute Pharyngitis\" preserve=\"true\"/>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Retrieve\" dataType=\"{http://hl7.org/fhir}Condition\" templateId=\"condition-qicore-qicore-condition\" codeProperty=\"code\" codeComparator=\"in\">\n <wstxns7:codes wstxns7:type=\"ValueSetRef\" name=\"Acute Tonsillitis\" preserve=\"true\"/>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:expression>\n </wstxns7:def>\n <wstxns7:def wstxns7:type=\"ExpressionDef\" name=\"Antibiotics\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"Retrieve\" dataType=\"{http://hl7.org/fhir}MedicationPrescription\" templateId=\"medicationprescription-qicore-qicore-medicationprescription\" codeProperty=\"medication.code\" codeComparator=\"in\">\n <wstxns7:codes wstxns7:type=\"ValueSetRef\" name=\"Antibiotic Medications\" preserve=\"true\"/>\n </wstxns7:expression>\n </wstxns7:def>\n <wstxns7:def wstxns7:type=\"ExpressionDef\" name=\"TargetEncounters\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"Query\">\n <wstxns7:source>\n <wstxns7:source wstxns7:type=\"AliasedQuerySource\" alias=\"E\">\n <wstxns7:expression wstxns7:type=\"Retrieve\" dataType=\"{http://hl7.org/fhir}Encounter\" templateId=\"encounter-qicore-qicore-encounter\" codeProperty=\"type\" codeComparator=\"in\">\n <wstxns7:codes wstxns7:type=\"ValueSetRef\" name=\"Ambulatory/ED Visit\" preserve=\"true\"/>\n </wstxns7:expression>\n </wstxns7:source>\n </wstxns7:source>\n <wstxns7:relationship>\n <wstxns7:relationship wstxns7:type=\"With\" alias=\"P\">\n <wstxns7:expression wstxns7:type=\"ExpressionRef\" name=\"Pharyngitis\"/>\n <wstxns7:suchThat wstxns7:type=\"OverlapsAfter\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Interval\" lowClosed=\"true\" highClosed=\"true\">\n <wstxns7:low wstxns7:type=\"Property\" path=\"onsetDateTime\" scope=\"P\"/>\n <wstxns7:high wstxns7:type=\"Property\" path=\"abatementDate\" scope=\"P\"/>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Property\" path=\"period\" scope=\"E\"/>\n </wstxns7:operand>\n </wstxns7:suchThat>\n </wstxns7:relationship>\n <wstxns7:relationship wstxns7:type=\"With\" alias=\"A\">\n <wstxns7:expression wstxns7:type=\"ExpressionRef\" name=\"Antibiotics\"/>\n <wstxns7:suchThat wstxns7:type=\"And\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"In\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Property\" path=\"dateWritten\" scope=\"A\"/>\n <wstxns7:operand wstxns7:type=\"Interval\" lowClosed=\"false\" highClosed=\"true\">\n <wstxns7:low wstxns7:type=\"Start\">\n <wstxns7:operand wstxns7:type=\"Property\" path=\"period\" scope=\"E\"/>\n </wstxns7:low>\n <wstxns7:high wstxns7:type=\"Add\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Start\">\n <wstxns7:operand wstxns7:type=\"Property\" path=\"period\" scope=\"E\"/>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Quantity\" value=\"3\" unit=\"days\"/>\n </wstxns7:operand>\n </wstxns7:high>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Not\">\n <wstxns7:operand wstxns7:type=\"IsNull\">\n <wstxns7:operand wstxns7:type=\"Start\">\n <wstxns7:operand wstxns7:type=\"Property\" path=\"period\" scope=\"E\"/>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:suchThat>\n </wstxns7:relationship>\n </wstxns7:relationship>\n <wstxns7:where wstxns7:type=\"IncludedIn\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Property\" path=\"period\" scope=\"E\"/>\n <wstxns7:operand wstxns7:type=\"ParameterRef\" name=\"MeasurementPeriod\"/>\n </wstxns7:operand>\n </wstxns7:where>\n </wstxns7:expression>\n </wstxns7:def>\n <wstxns7:def wstxns7:type=\"ExpressionDef\" name=\"TargetDiagnoses\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"Query\">\n <wstxns7:source>\n <wstxns7:source wstxns7:type=\"AliasedQuerySource\" alias=\"P\">\n <wstxns7:expression wstxns7:type=\"ExpressionRef\" name=\"Pharyngitis\"/>\n </wstxns7:source>\n </wstxns7:source>\n <wstxns7:relationship>\n <wstxns7:relationship wstxns7:type=\"With\" alias=\"E\">\n <wstxns7:expression wstxns7:type=\"ExpressionRef\" name=\"TargetEncounters\"/>\n <wstxns7:suchThat wstxns7:type=\"OverlapsAfter\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Interval\" lowClosed=\"true\" highClosed=\"true\">\n <wstxns7:low wstxns7:type=\"Property\" path=\"onsetDateTime\" scope=\"P\"/>\n <wstxns7:high wstxns7:type=\"Property\" path=\"abatementDate\" scope=\"P\"/>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Property\" path=\"period\" scope=\"E\"/>\n </wstxns7:operand>\n </wstxns7:suchThat>\n </wstxns7:relationship>\n </wstxns7:relationship>\n </wstxns7:expression>\n </wstxns7:def>\n <wstxns7:def wstxns7:type=\"ExpressionDef\" name=\"HasPriorAntibiotics\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"Exists\">\n <wstxns7:operand wstxns7:type=\"Query\">\n <wstxns7:source>\n <wstxns7:source wstxns7:type=\"AliasedQuerySource\" alias=\"A\">\n <wstxns7:expression wstxns7:type=\"ExpressionRef\" name=\"Antibiotics\"/>\n </wstxns7:source>\n </wstxns7:source>\n <wstxns7:relationship>\n <wstxns7:relationship wstxns7:type=\"With\" alias=\"D\">\n <wstxns7:expression wstxns7:type=\"ExpressionRef\" name=\"TargetDiagnoses\"/>\n <wstxns7:suchThat wstxns7:type=\"And\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"In\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Property\" path=\"dateWritten\" scope=\"A\"/>\n <wstxns7:operand wstxns7:type=\"Interval\" lowClosed=\"true\" highClosed=\"false\">\n <wstxns7:low wstxns7:type=\"Subtract\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Property\" path=\"onsetDateTime\" scope=\"D\"/>\n <wstxns7:operand wstxns7:type=\"Quantity\" value=\"30\" unit=\"days\"/>\n </wstxns7:operand>\n </wstxns7:low>\n <wstxns7:high wstxns7:type=\"Property\" path=\"onsetDateTime\" scope=\"D\"/>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Not\">\n <wstxns7:operand wstxns7:type=\"IsNull\">\n <wstxns7:operand wstxns7:type=\"Property\" path=\"onsetDateTime\" scope=\"D\"/>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:suchThat>\n </wstxns7:relationship>\n </wstxns7:relationship>\n </wstxns7:operand>\n </wstxns7:expression>\n </wstxns7:def>\n <wstxns7:def wstxns7:type=\"ExpressionDef\" name=\"HasTargetEncounter\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"Exists\">\n <wstxns7:operand wstxns7:type=\"ExpressionRef\" name=\"TargetEncounters\"/>\n </wstxns7:expression>\n </wstxns7:def>\n <wstxns7:def wstxns7:type=\"ExpressionDef\" name=\"InInitialPopulation\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"And\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"ExpressionRef\" name=\"InDemographic\"/>\n <wstxns7:operand wstxns7:type=\"ExpressionRef\" name=\"HasTargetEncounter\"/>\n </wstxns7:operand>\n </wstxns7:expression>\n </wstxns7:def>\n <wstxns7:def wstxns7:type=\"ExpressionDef\" name=\"InDenominator\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"Literal\" valueType=\"{urn:hl7-org:elm-types:r1}Boolean\" value=\"true\"/>\n </wstxns7:def>\n <wstxns7:def wstxns7:type=\"ExpressionDef\" name=\"InDenominatorExclusions\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"ExpressionRef\" name=\"HasPriorAntibiotics\"/>\n </wstxns7:def>\n <wstxns7:def wstxns7:type=\"ExpressionDef\" name=\"InNumerator\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"Exists\">\n <wstxns7:operand wstxns7:type=\"Query\">\n <wstxns7:source>\n <wstxns7:source wstxns7:type=\"AliasedQuerySource\" alias=\"R\">\n <wstxns7:expression wstxns7:type=\"Retrieve\" dataType=\"{http://hl7.org/fhir}Observation\" templateId=\"observation-qicore-qicore-observation\" codeProperty=\"code\" codeComparator=\"in\">\n <wstxns7:codes wstxns7:type=\"ValueSetRef\" name=\"Group A Streptococcus Test\" preserve=\"true\"/>\n </wstxns7:expression>\n </wstxns7:source>\n </wstxns7:source>\n <wstxns7:where wstxns7:type=\"And\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"In\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Property\" path=\"issued\" scope=\"R\"/>\n <wstxns7:operand wstxns7:type=\"ParameterRef\" name=\"MeasurementPeriod\"/>\n </wstxns7:operand>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Not\">\n <wstxns7:operand wstxns7:type=\"IsNull\">\n <wstxns7:operand wstxns7:type=\"Property\" path=\"valueQuantity\" scope=\"R\"/>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:where>\n </wstxns7:operand>\n </wstxns7:expression>\n </wstxns7:def>\n </wstxns7:def>\n </wstxns7:statements>\n <wstxns8:annotation xmlns:wstxns8=\"urn:hl7-org:elm:r1\">\n <wstxns8:annotation wstxns8:type=\"CqlToElmInfo\" translatorOptions=\"\" signatureLevel=\"None\"/>\n <wstxns8:annotation wstxns8:type=\"CqlToElmError\" libraryId=\"CMS146\" libraryVersion=\"2\" startLine=\"22\" startChar=\"5\" endLine=\"22\" endChar=\"54\" message=\"Could not resolve code path medication.code for the type of the retrieve QUICK.MedicationPrescription.\" errorType=\"semantic\" errorSeverity=\"warning\"/>\n <wstxns8:annotation wstxns8:type=\"CqlToElmError\" libraryId=\"CMS146\" libraryVersion=\"2\" startLine=\"22\" startChar=\"5\" endLine=\"22\" endChar=\"54\" message=\"Could not resolve membership operator for terminology target of the retrieve.\" errorType=\"semantic\" errorSeverity=\"warning\"/>\n </wstxns8:annotation>\n</Library>" but: was "<?xml version='1.1' encoding='UTF-8'?>\n<Library>\n <wstxns1:identifier xmlns:wstxns1=\"urn:hl7-org:elm:r1\" id=\"CMS146\" version=\"2\"/>\n <wstxns2:schemaIdentifier xmlns:wstxns2=\"urn:hl7-org:elm:r1\" id=\"urn:hl7-org:elm\" version=\"r1\"/>\n <wstxns3:usings xmlns:wstxns3=\"urn:hl7-org:elm:r1\">\n <wstxns3:def>\n <wstxns3:def localIdentifier=\"System\" uri=\"urn:hl7-org:elm-types:r1\"/>\n <wstxns3:def localIdentifier=\"QUICK\" uri=\"http://hl7.org/fhir\"/>\n </wstxns3:def>\n </wstxns3:usings>\n <wstxns4:parameters xmlns:wstxns4=\"urn:hl7-org:elm:r1\">\n <wstxns4:def>\n <wstxns4:def name=\"MeasurementPeriod\" accessLevel=\"Public\">\n <wstxns4:default lowClosed=\"true\" highClosed=\"false\">\n <wstxns4:low>\n <wstxns4:year valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"2013\"/>\n <wstxns4:month valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"1\"/>\n <wstxns4:day valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"1\"/>\n <wstxns4:hour valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n <wstxns4:minute valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n <wstxns4:second valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n <wstxns4:millisecond valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n </wstxns4:low>\n <wstxns4:high>\n <wstxns4:year valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"2014\"/>\n <wstxns4:month valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"1\"/>\n <wstxns4:day valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"1\"/>\n <wstxns4:hour valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n <wstxns4:minute valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n <wstxns4:second valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n <wstxns4:millisecond valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n </wstxns4:high>\n </wstxns4:default>\n </wstxns4:def>\n </wstxns4:def>\n </wstxns4:parameters>\n <wstxns5:valueSets xmlns:wstxns5=\"urn:hl7-org:elm:r1\">\n <wstxns5:def>\n <wstxns5:def name=\"Acute Pharyngitis\" id=\"2.16.840.1.113883.3.464.1003.102.12.1011\" accessLevel=\"Public\"/>\n <wstxns5:def name=\"Acute Tonsillitis\" id=\"2.16.840.1.113883.3.464.1003.102.12.1012\" accessLevel=\"Public\"/>\n <wstxns5:def name=\"Ambulatory/ED Visit\" id=\"2.16.840.1.113883.3.464.1003.101.12.1061\" accessLevel=\"Public\"/>\n <wstxns5:def name=\"Antibiotic Medications\" id=\"2.16.840.1.113883.3.464.1003.196.12.1001\" accessLevel=\"Public\"/>\n <wstxns5:def name=\"Group A Streptococcus Test\" id=\"2.16.840.1.113883.3.464.1003.198.12.1012\" accessLevel=\"Public\"/>\n </wstxns5:def>\n </wstxns5:valueSets>\n <wstxns6:contexts xmlns:wstxns6=\"urn:hl7-org:elm:r1\">\n <wstxns6:def>\n <wstxns6:def name=\"Patient\"/>\n </wstxns6:def>\n </wstxns6:contexts>\n <wstxns7:statements xmlns:wstxns7=\"urn:hl7-org:elm:r1\">\n <wstxns7:def>\n <wstxns7:def name=\"Patient\" context=\"Patient\">\n <wstxns7:expression>\n <wstxns7:operand dataType=\"{http://hl7.org/fhir}Patient\" templateId=\"patient-qicore-qicore-patient\"/>\n </wstxns7:expression>\n </wstxns7:def>\n <wstxns7:def name=\"InDemographic\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression>\n <wstxns7:operand>\n <wstxns7:operand>\n <wstxns7:operand>\n <wstxns7:operand precision=\"Year\">\n <wstxns7:operand>\n <wstxns7:operand path=\"birthDate\">\n <wstxns7:source name=\"Patient\"/>\n </wstxns7:operand>\n <wstxns7:operand>\n <wstxns7:operand name=\"MeasurementPeriod\"/>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:operand>\n <wstxns7:operand valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"2\"/>\n </wstxns7:operand>\n </wstxns7:operand>\n <wstxns7:operand>\n <wstxns7:operand>\n <wstxns7:operand precision=\"Year\">\n <wstxns7:operand>\n <wstxns7:operand path=\"birthDate\">\n <wstxns7:source name=\"Patient\"/>\n </wstxns7:operand>\n <wstxns7:operand>\n <wstxns7:operand name=\"MeasurementPeriod\"/>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:operand>\n <wstxns7:operand valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"18\"/>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:expression>\n </wstxns7:def>\n <wstxns7:def name=\"Pharyngitis\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression/>\n </wstxns7:def>\n <wstxns7:def name=\"Antibiotics\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression/>\n </wstxns7:def>\n <wstxns7:def name=\"TargetEncounters\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression/>\n </wstxns7:def>\n <wstxns7:def name=\"TargetDiagnoses\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression/>\n </wstxns7:def>\n <wstxns7:def name=\"HasPriorAntibiotics\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression/>\n </wstxns7:def>\n <wstxns7:def name=\"HasTargetEncounter\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression/>\n </wstxns7:def>\n <wstxns7:def name=\"InInitialPopulation\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression/>\n </wstxns7:def>\n <wstxns7:def name=\"InDenominator\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression valueType=\"{urn:hl7-org:elm-types:r1}Boolean\" value=\"true\"/>\n </wstxns7:def>\n <wstxns7:def name=\"InDenominatorExclusions\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression/>\n </wstxns7:def>\n <wstxns7:def name=\"InNumerator\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression/>\n </wstxns7:def>\n </wstxns7:def>\n </wstxns7:statements>\n <wstxns8:annotation xmlns:wstxns8=\"urn:hl7-org:elm:r1\">\n <wstxns8:annotation wstxns8:type=\"CqlToElmInfo\" translatorOptions=\"\" signatureLevel=\"None\"/>\n <wstxns8:annotation wstxns8:type=\"CqlToElmError\" libraryId=\"CMS146\" libraryVersion=\"2\" startLine=\"19\" startChar=\"5\" endLine=\"19\" endChar=\"36\" message=\"Internal translator error.\" errorType=\"internal\" errorSeverity=\"error\"/>\n <wstxns8:annotation wstxns8:type=\"CqlToElmError\" libraryId=\"CMS146\" libraryVersion=\"2\" startLine=\"22\" startChar=\"5\" endLine=\"22\" endChar=\"54\" message=\"Could not resolve code path medication.code for the type of the retrieve QUICK.MedicationPrescription.\" errorType=\"semantic\" errorSeverity=\"warning\"/>\n <wstxns8:annotation wstxns8:type=\"CqlToElmError\" libraryId=\"CMS146\" libraryVersion=\"2\" startLine=\"22\" startChar=\"5\" endLine=\"22\" endChar=\"54\" message=\"Internal translator error.\" errorType=\"internal\" errorSeverity=\"error\"/>\n <wstxns8:annotation wstxns8:type=\"CqlToElmError\" libraryId=\"CMS146\" libraryVersion=\"2\" startLine=\"25\" startChar=\"5\" endLine=\"25\" endChar=\"38\" message=\"Internal translator error.\" errorType=\"internal\" errorSeverity=\"error\"/>\n <wstxns8:annotation wstxns8:type=\"CqlToElmError\" libraryId=\"CMS146\" libraryVersion=\"2\" startLine=\"31\" startChar=\"5\" endLine=\"31\" endChar=\"15\" message=\"Could not validate reference to expression Pharyngitis because its definition contains errors.\" errorType=\"semantic\" errorSeverity=\"error\"/>\n <wstxns8:annotation wstxns8:type=\"CqlToElmError\" libraryId=\"CMS146\" libraryVersion=\"2\" startLine=\"34\" startChar=\"13\" endLine=\"34\" endChar=\"23\" message=\"Could not validate reference to expression Antibiotics because its definition contains errors.\" errorType=\"semantic\" errorSeverity=\"error\"/>\n <wstxns8:annotation wstxns8:type=\"CqlToElmError\" libraryId=\"CMS146\" libraryVersion=\"2\" startLine=\"37\" startChar=\"13\" endLine=\"37\" endChar=\"28\" message=\"Could not validate reference to expression TargetEncounters because its definition contains errors.\" errorType=\"semantic\" errorSeverity=\"error\"/>\n <wstxns8:annotation wstxns8:type=\"CqlToElmError\" libraryId=\"CMS146\" libraryVersion=\"2\" startLine=\"40\" startChar=\"23\" endLine=\"40\" endChar=\"40\" message=\"Could not validate reference to expression HasTargetEncounter because its definition contains errors.\" errorType=\"semantic\" errorSeverity=\"error\"/>\n <wstxns8:annotation wstxns8:type=\"CqlToElmError\" libraryId=\"CMS146\" libraryVersion=\"2\" startLine=\"46\" startChar=\"5\" endLine=\"46\" endChar=\"23\" message=\"Could not validate reference to expression HasPriorAntibiotics because its definition contains errors.\" errorType=\"semantic\" errorSeverity=\"error\"/>\n <wstxns8:annotation wstxns8:type=\"CqlToElmError\" libraryId=\"CMS146\" libraryVersion=\"2\" startLine=\"49\" startChar=\"13\" endLine=\"49\" endChar=\"55\" message=\"Internal translator error.\" errorType=\"internal\" errorSeverity=\"error\"/>\n </wstxns8:annotation>\n</Library>"
CMS146XmlTest.[2] CMS146v2_Expected_SignatureLevel_Differing.xml, Differing: Src/java/cql-to-elm/src/test/java/org/cqframework/cql/cql2elm/CMS146XmlTest.java#L40
java.lang.AssertionError: Expected: "<?xml version='1.1' encoding='UTF-8'?>\n<Library type=\"Library\">\n <wstxns1:identifier xmlns:wstxns1=\"urn:hl7-org:elm:r1\" wstxns1:type=\"VersionedIdentifier\" id=\"CMS146\" version=\"2\"/>\n <wstxns2:schemaIdentifier xmlns:wstxns2=\"urn:hl7-org:elm:r1\" wstxns2:type=\"VersionedIdentifier\" id=\"urn:hl7-org:elm\" version=\"r1\"/>\n <wstxns3:usings xmlns:wstxns3=\"urn:hl7-org:elm:r1\" wstxns3:type=\"Library$Usings\">\n <wstxns3:def>\n <wstxns3:def wstxns3:type=\"UsingDef\" localIdentifier=\"System\" uri=\"urn:hl7-org:elm-types:r1\"/>\n <wstxns3:def wstxns3:type=\"UsingDef\" localIdentifier=\"QUICK\" uri=\"http://hl7.org/fhir\"/>\n </wstxns3:def>\n </wstxns3:usings>\n <wstxns4:parameters xmlns:wstxns4=\"urn:hl7-org:elm:r1\" wstxns4:type=\"Library$Parameters\">\n <wstxns4:def>\n <wstxns4:def wstxns4:type=\"ParameterDef\" name=\"MeasurementPeriod\" accessLevel=\"Public\">\n <wstxns4:default wstxns4:type=\"Interval\" lowClosed=\"true\" highClosed=\"false\">\n <wstxns4:low wstxns4:type=\"DateTime\">\n <wstxns4:year wstxns4:type=\"Literal\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"2013\"/>\n <wstxns4:month wstxns4:type=\"Literal\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"1\"/>\n <wstxns4:day wstxns4:type=\"Literal\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"1\"/>\n <wstxns4:hour wstxns4:type=\"Literal\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n <wstxns4:minute wstxns4:type=\"Literal\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n <wstxns4:second wstxns4:type=\"Literal\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n <wstxns4:millisecond wstxns4:type=\"Literal\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n </wstxns4:low>\n <wstxns4:high wstxns4:type=\"DateTime\">\n <wstxns4:year wstxns4:type=\"Literal\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"2014\"/>\n <wstxns4:month wstxns4:type=\"Literal\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"1\"/>\n <wstxns4:day wstxns4:type=\"Literal\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"1\"/>\n <wstxns4:hour wstxns4:type=\"Literal\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n <wstxns4:minute wstxns4:type=\"Literal\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n <wstxns4:second wstxns4:type=\"Literal\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n <wstxns4:millisecond wstxns4:type=\"Literal\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n </wstxns4:high>\n </wstxns4:default>\n </wstxns4:def>\n </wstxns4:def>\n </wstxns4:parameters>\n <wstxns5:valueSets xmlns:wstxns5=\"urn:hl7-org:elm:r1\" wstxns5:type=\"Library$ValueSets\">\n <wstxns5:def>\n <wstxns5:def wstxns5:type=\"ValueSetDef\" name=\"Acute Pharyngitis\" id=\"2.16.840.1.113883.3.464.1003.102.12.1011\" accessLevel=\"Public\"/>\n <wstxns5:def wstxns5:type=\"ValueSetDef\" name=\"Acute Tonsillitis\" id=\"2.16.840.1.113883.3.464.1003.102.12.1012\" accessLevel=\"Public\"/>\n <wstxns5:def wstxns5:type=\"ValueSetDef\" name=\"Ambulatory/ED Visit\" id=\"2.16.840.1.113883.3.464.1003.101.12.1061\" accessLevel=\"Public\"/>\n <wstxns5:def wstxns5:type=\"ValueSetDef\" name=\"Antibiotic Medications\" id=\"2.16.840.1.113883.3.464.1003.196.12.1001\" accessLevel=\"Public\"/>\n <wstxns5:def wstxns5:type=\"ValueSetDef\" name=\"Group A Streptococcus Test\" id=\"2.16.840.1.113883.3.464.1003.198.12.1012\" accessLevel=\"Public\"/>\n </wstxns5:def>\n </wstxns5:valueSets>\n <wstxns6:contexts xmlns:wstxns6=\"urn:hl7-org:elm:r1\" wstxns6:type=\"Library$Contexts\">\n <wstxns6:def>\n <wstxns6:def wstxns6:type=\"ContextDef\" name=\"Patient\"/>\n </wstxns6:def>\n </wstxns6:contexts>\n <wstxns7:statements xmlns:wstxns7=\"urn:hl7-org:elm:r1\" wstxns7:type=\"Library$Statements\">\n <wstxns7:def>\n <wstxns7:def wstxns7:type=\"ExpressionDef\" name=\"Patient\" context=\"Patient\">\n <wstxns7:expression wstxns7:type=\"SingletonFrom\">\n <wstxns7:operand wstxns7:type=\"Retrieve\" dataType=\"{http://hl7.org/fhir}Patient\" templateId=\"patient-qicore-qicore-patient\"/>\n </wstxns7:expression>\n </wstxns7:def>\n <wstxns7:def wstxns7:type=\"ExpressionDef\" name=\"InDemographic\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"And\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"GreaterOrEqual\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"CalculateAgeAt\" precision=\"Year\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Property\" path=\"birthDate\">\n <wstxns7:source wstxns7:type=\"ExpressionRef\" name=\"Patient\"/>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Start\">\n <wstxns7:operand wstxns7:type=\"ParameterRef\" name=\"MeasurementPeriod\"/>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Literal\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"2\"/>\n </wstxns7:operand>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Less\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"CalculateAgeAt\" precision=\"Year\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Property\" path=\"birthDate\">\n <wstxns7:source wstxns7:type=\"ExpressionRef\" name=\"Patient\"/>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Start\">\n <wstxns7:operand wstxns7:type=\"ParameterRef\" name=\"MeasurementPeriod\"/>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Literal\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"18\"/>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:expression>\n </wstxns7:def>\n <wstxns7:def wstxns7:type=\"ExpressionDef\" name=\"Pharyngitis\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"Union\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Retrieve\" dataType=\"{http://hl7.org/fhir}Condition\" templateId=\"condition-qicore-qicore-condition\" codeProperty=\"code\" codeComparator=\"in\">\n <wstxns7:codes wstxns7:type=\"ValueSetRef\" name=\"Acute Pharyngitis\" preserve=\"true\"/>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Retrieve\" dataType=\"{http://hl7.org/fhir}Condition\" templateId=\"condition-qicore-qicore-condition\" codeProperty=\"code\" codeComparator=\"in\">\n <wstxns7:codes wstxns7:type=\"ValueSetRef\" name=\"Acute Tonsillitis\" preserve=\"true\"/>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:expression>\n </wstxns7:def>\n <wstxns7:def wstxns7:type=\"ExpressionDef\" name=\"Antibiotics\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"Retrieve\" dataType=\"{http://hl7.org/fhir}MedicationPrescription\" templateId=\"medicationprescription-qicore-qicore-medicationprescription\" codeProperty=\"medication.code\" codeComparator=\"in\">\n <wstxns7:codes wstxns7:type=\"ValueSetRef\" name=\"Antibiotic Medications\" preserve=\"true\"/>\n </wstxns7:expression>\n </wstxns7:def>\n <wstxns7:def wstxns7:type=\"ExpressionDef\" name=\"TargetEncounters\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"Query\">\n <wstxns7:source>\n <wstxns7:source wstxns7:type=\"AliasedQuerySource\" alias=\"E\">\n <wstxns7:expression wstxns7:type=\"Retrieve\" dataType=\"{http://hl7.org/fhir}Encounter\" templateId=\"encounter-qicore-qicore-encounter\" codeProperty=\"type\" codeComparator=\"in\">\n <wstxns7:codes wstxns7:type=\"ValueSetRef\" name=\"Ambulatory/ED Visit\" preserve=\"true\"/>\n </wstxns7:expression>\n </wstxns7:source>\n </wstxns7:source>\n <wstxns7:relationship>\n <wstxns7:relationship wstxns7:type=\"With\" alias=\"P\">\n <wstxns7:expression wstxns7:type=\"ExpressionRef\" name=\"Pharyngitis\"/>\n <wstxns7:suchThat wstxns7:type=\"OverlapsAfter\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Interval\" lowClosed=\"true\" highClosed=\"true\">\n <wstxns7:low wstxns7:type=\"Property\" path=\"onsetDateTime\" scope=\"P\"/>\n <wstxns7:high wstxns7:type=\"Property\" path=\"abatementDate\" scope=\"P\"/>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Property\" path=\"period\" scope=\"E\"/>\n </wstxns7:operand>\n </wstxns7:suchThat>\n </wstxns7:relationship>\n <wstxns7:relationship wstxns7:type=\"With\" alias=\"A\">\n <wstxns7:expression wstxns7:type=\"ExpressionRef\" name=\"Antibiotics\"/>\n <wstxns7:suchThat wstxns7:type=\"And\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"In\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Property\" path=\"dateWritten\" scope=\"A\"/>\n <wstxns7:operand wstxns7:type=\"Interval\" lowClosed=\"false\" highClosed=\"true\">\n <wstxns7:low wstxns7:type=\"Start\">\n <wstxns7:operand wstxns7:type=\"Property\" path=\"period\" scope=\"E\"/>\n </wstxns7:low>\n <wstxns7:high wstxns7:type=\"Add\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Start\">\n <wstxns7:operand wstxns7:type=\"Property\" path=\"period\" scope=\"E\"/>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Quantity\" value=\"3\" unit=\"days\"/>\n </wstxns7:operand>\n </wstxns7:high>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Not\">\n <wstxns7:operand wstxns7:type=\"IsNull\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}Any\"/>\n </wstxns7:signature>\n <wstxns7:operand wstxns7:type=\"Start\">\n <wstxns7:operand wstxns7:type=\"Property\" path=\"period\" scope=\"E\"/>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:suchThat>\n </wstxns7:relationship>\n </wstxns7:relationship>\n <wstxns7:where wstxns7:type=\"IncludedIn\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Property\" path=\"period\" scope=\"E\"/>\n <wstxns7:operand wstxns7:type=\"ParameterRef\" name=\"MeasurementPeriod\"/>\n </wstxns7:operand>\n </wstxns7:where>\n </wstxns7:expression>\n </wstxns7:def>\n <wstxns7:def wstxns7:type=\"ExpressionDef\" name=\"TargetDiagnoses\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"Query\">\n <wstxns7:source>\n <wstxns7:source wstxns7:type=\"AliasedQuerySource\" alias=\"P\">\n <wstxns7:expression wstxns7:type=\"ExpressionRef\" name=\"Pharyngitis\"/>\n </wstxns7:source>\n </wstxns7:source>\n <wstxns7:relationship>\n <wstxns7:relationship wstxns7:type=\"With\" alias=\"E\">\n <wstxns7:expression wstxns7:type=\"ExpressionRef\" name=\"TargetEncounters\"/>\n <wstxns7:suchThat wstxns7:type=\"OverlapsAfter\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Interval\" lowClosed=\"true\" highClosed=\"true\">\n <wstxns7:low wstxns7:type=\"Property\" path=\"onsetDateTime\" scope=\"P\"/>\n <wstxns7:high wstxns7:type=\"Property\" path=\"abatementDate\" scope=\"P\"/>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Property\" path=\"period\" scope=\"E\"/>\n </wstxns7:operand>\n </wstxns7:suchThat>\n </wstxns7:relationship>\n </wstxns7:relationship>\n </wstxns7:expression>\n </wstxns7:def>\n <wstxns7:def wstxns7:type=\"ExpressionDef\" name=\"HasPriorAntibiotics\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"Exists\">\n <wstxns7:operand wstxns7:type=\"Query\">\n <wstxns7:source>\n <wstxns7:source wstxns7:type=\"AliasedQuerySource\" alias=\"A\">\n <wstxns7:expression wstxns7:type=\"ExpressionRef\" name=\"Antibiotics\"/>\n </wstxns7:source>\n </wstxns7:source>\n <wstxns7:relationship>\n <wstxns7:relationship wstxns7:type=\"With\" alias=\"D\">\n <wstxns7:expression wstxns7:type=\"ExpressionRef\" name=\"TargetDiagnoses\"/>\n <wstxns7:suchThat wstxns7:type=\"And\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"In\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Property\" path=\"dateWritten\" scope=\"A\"/>\n <wstxns7:operand wstxns7:type=\"Interval\" lowClosed=\"true\" highClosed=\"false\">\n <wstxns7:low wstxns7:type=\"Subtract\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Property\" path=\"onsetDateTime\" scope=\"D\"/>\n <wstxns7:operand wstxns7:type=\"Quantity\" value=\"30\" unit=\"days\"/>\n </wstxns7:operand>\n </wstxns7:low>\n <wstxns7:high wstxns7:type=\"Property\" path=\"onsetDateTime\" scope=\"D\"/>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Not\">\n <wstxns7:operand wstxns7:type=\"IsNull\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}Any\"/>\n </wstxns7:signature>\n <wstxns7:operand wstxns7:type=\"Property\" path=\"onsetDateTime\" scope=\"D\"/>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:suchThat>\n </wstxns7:relationship>\n </wstxns7:relationship>\n </wstxns7:operand>\n </wstxns7:expression>\n </wstxns7:def>\n <wstxns7:def wstxns7:type=\"ExpressionDef\" name=\"HasTargetEncounter\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"Exists\">\n <wstxns7:operand wstxns7:type=\"ExpressionRef\" name=\"TargetEncounters\"/>\n </wstxns7:expression>\n </wstxns7:def>\n <wstxns7:def wstxns7:type=\"ExpressionDef\" name=\"InInitialPopulation\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"And\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"ExpressionRef\" name=\"InDemographic\"/>\n <wstxns7:operand wstxns7:type=\"ExpressionRef\" name=\"HasTargetEncounter\"/>\n </wstxns7:operand>\n </wstxns7:expression>\n </wstxns7:def>\n <wstxns7:def wstxns7:type=\"ExpressionDef\" name=\"InDenominator\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"Literal\" valueType=\"{urn:hl7-org:elm-types:r1}Boolean\" value=\"true\"/>\n </wstxns7:def>\n <wstxns7:def wstxns7:type=\"ExpressionDef\" name=\"InDenominatorExclusions\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"ExpressionRef\" name=\"HasPriorAntibiotics\"/>\n </wstxns7:def>\n <wstxns7:def wstxns7:type=\"ExpressionDef\" name=\"InNumerator\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"Exists\">\n <wstxns7:operand wstxns7:type=\"Query\">\n <wstxns7:source>\n <wstxns7:source wstxns7:type=\"AliasedQuerySource\" alias=\"R\">\n <wstxns7:expression wstxns7:type=\"Retrieve\" dataType=\"{http://hl7.org/fhir}Observation\" templateId=\"observation-qicore-qicore-observation\" codeProperty=\"code\" codeComparator=\"in\">\n <wstxns7:codes wstxns7:type=\"ValueSetRef\" name=\"Group A Streptococcus Test\" preserve=\"true\"/>\n </wstxns7:expression>\n </wstxns7:source>\n </wstxns7:source>\n <wstxns7:where wstxns7:type=\"And\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"In\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Property\" path=\"issued\" scope=\"R\"/>\n <wstxns7:operand wstxns7:type=\"ParameterRef\" name=\"MeasurementPeriod\"/>\n </wstxns7:operand>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Not\">\n <wstxns7:operand wstxns7:type=\"IsNull\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}Any\"/>\n </wstxns7:signature>\n <wstxns7:operand wstxns7:type=\"Property\" path=\"valueQuantity\" scope=\"R\"/>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:where>\n </wstxns7:operand>\n </wstxns7:expression>\n </wstxns7:def>\n </wstxns7:def>\n </wstxns7:statements>\n <wstxns8:annotation xmlns:wstxns8=\"urn:hl7-org:elm:r1\">\n <wstxns8:annotation wstxns8:type=\"CqlToElmInfo\" translatorOptions=\"\" signatureLevel=\"Differing\"/>\n <wstxns8:annotation wstxns8:type=\"CqlToElmError\" libraryId=\"CMS146\" libraryVersion=\"2\" startLine=\"22\" startChar=\"5\" endLine=\"22\" endChar=\"54\" message=\"Could not resolve code path medication.code for the type of the retrieve QUICK.MedicationPrescription.\" errorType=\"semantic\" errorSeverity=\"warning\"/>\n <wstxns8:annotation wstxns8:type=\"CqlToElmError\" libraryId=\"CMS146\" libraryVersion=\"2\" startLine=\"22\" startChar=\"5\" endLine=\"22\" endChar=\"54\" message=\"Could not resolve membership operator for terminology target of the retrieve.\" errorType=\"semantic\" errorSeverity=\"warning\"/>\n </wstxns8:annotation>\n</Library>" but: was "<?xml version='1.1' encoding='UTF-8'?>\n<Library>\n <wstxns1:identifier xmlns:wstxns1=\"urn:hl7-org:elm:r1\" id=\"CMS146\" version=\"2\"/>\n <wstxns2:schemaIdentifier xmlns:wstxns2=\"urn:hl7-org:elm:r1\" id=\"urn:hl7-org:elm\" version=\"r1\"/>\n <wstxns3:usings xmlns:wstxns3=\"urn:hl7-org:elm:r1\">\n <wstxns3:def>\n <wstxns3:def localIdentifier=\"System\" uri=\"urn:hl7-org:elm-types:r1\"/>\n <wstxns3:def localIdentifier=\"QUICK\" uri=\"http://hl7.org/fhir\"/>\n </wstxns3:def>\n </wstxns3:usings>\n <wstxns4:parameters xmlns:wstxns4=\"urn:hl7-org:elm:r1\">\n <wstxns4:def>\n <wstxns4:def name=\"MeasurementPeriod\" accessLevel=\"Public\">\n <wstxns4:default lowClosed=\"true\" highClosed=\"false\">\n <wstxns4:low>\n <wstxns4:year valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"2013\"/>\n <wstxns4:month valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"1\"/>\n <wstxns4:day valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"1\"/>\n <wstxns4:hour valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n <wstxns4:minute valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n <wstxns4:second valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n <wstxns4:millisecond valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n </wstxns4:low>\n <wstxns4:high>\n <wstxns4:year valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"2014\"/>\n <wstxns4:month valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"1\"/>\n <wstxns4:day valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"1\"/>\n <wstxns4:hour valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n <wstxns4:minute valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n <wstxns4:second valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n <wstxns4:millisecond valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n </wstxns4:high>\n </wstxns4:default>\n </wstxns4:def>\n </wstxns4:def>\n </wstxns4:parameters>\n <wstxns5:valueSets xmlns:wstxns5=\"urn:hl7-org:elm:r1\">\n <wstxns5:def>\n <wstxns5:def name=\"Acute Pharyngitis\" id=\"2.16.840.1.113883.3.464.1003.102.12.1011\" accessLevel=\"Public\"/>\n <wstxns5:def name=\"Acute Tonsillitis\" id=\"2.16.840.1.113883.3.464.1003.102.12.1012\" accessLevel=\"Public\"/>\n <wstxns5:def name=\"Ambulatory/ED Visit\" id=\"2.16.840.1.113883.3.464.1003.101.12.1061\" accessLevel=\"Public\"/>\n <wstxns5:def name=\"Antibiotic Medications\" id=\"2.16.840.1.113883.3.464.1003.196.12.1001\" accessLevel=\"Public\"/>\n <wstxns5:def name=\"Group A Streptococcus Test\" id=\"2.16.840.1.113883.3.464.1003.198.12.1012\" accessLevel=\"Public\"/>\n </wstxns5:def>\n </wstxns5:valueSets>\n <wstxns6:contexts xmlns:wstxns6=\"urn:hl7-org:elm:r1\">\n <wstxns6:def>\n <wstxns6:def name=\"Patient\"/>\n </wstxns6:def>\n </wstxns6:contexts>\n <wstxns7:statements xmlns:wstxns7=\"urn:hl7-org:elm:r1\">\n <wstxns7:def>\n <wstxns7:def name=\"Patient\" context=\"Patient\">\n <wstxns7:expression>\n <wstxns7:operand dataType=\"{http://hl7.org/fhir}Patient\" templateId=\"patient-qicore-qicore-patient\"/>\n </wstxns7:expression>\n </wstxns7:def>\n <wstxns7:def name=\"InDemographic\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression>\n <wstxns7:operand>\n <wstxns7:operand>\n <wstxns7:operand>\n <wstxns7:operand precision=\"Year\">\n <wstxns7:operand>\n <wstxns7:operand path=\"birthDate\">\n <wstxns7:source name=\"Patient\"/>\n </wstxns7:operand>\n <wstxns7:operand>\n <wstxns7:operand name=\"MeasurementPeriod\"/>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:operand>\n <wstxns7:operand valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"2\"/>\n </wstxns7:operand>\n </wstxns7:operand>\n <wstxns7:operand>\n <wstxns7:operand>\n <wstxns7:operand precision=\"Year\">\n <wstxns7:operand>\n <wstxns7:operand path=\"birthDate\">\n <wstxns7:source name=\"Patient\"/>\n </wstxns7:operand>\n <wstxns7:operand>\n <wstxns7:operand name=\"MeasurementPeriod\"/>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:operand>\n <wstxns7:operand valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"18\"/>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:expression>\n </wstxns7:def>\n <wstxns7:def name=\"Pharyngitis\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression/>\n </wstxns7:def>\n <wstxns7:def name=\"Antibiotics\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression/>\n </wstxns7:def>\n <wstxns7:def name=\"TargetEncounters\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression/>\n </wstxns7:def>\n <wstxns7:def name=\"TargetDiagnoses\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression/>\n </wstxns7:def>\n <wstxns7:def name=\"HasPriorAntibiotics\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression/>\n </wstxns7:def>\n <wstxns7:def name=\"HasTargetEncounter\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression/>\n </wstxns7:def>\n <wstxns7:def name=\"InInitialPopulation\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression/>\n </wstxns7:def>\n <wstxns7:def name=\"InDenominator\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression valueType=\"{urn:hl7-org:elm-types:r1}Boolean\" value=\"true\"/>\n </wstxns7:def>\n <wstxns7:def name=\"InDenominatorExclusions\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression/>\n </wstxns7:def>\n <wstxns7:def name=\"InNumerator\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression/>\n </wstxns7:def>\n </wstxns7:def>\n </wstxns7:statements>\n <wstxns8:annotation xmlns:wstxns8=\"urn:hl7-org:elm:r1\">\n <wstxns8:annotation wstxns8:type=\"CqlToElmInfo\" translatorOptions=\"\" signatureLevel=\"Differing\"/>\n <wstxns8:annotation wstxns8:type=\"CqlToElmError\" libraryId=\"CMS146\" libraryVersion=\"2\" startLine=\"19\" startChar=\"5\" endLine=\"19\" endChar=\"36\" message=\"Internal translator error.\" errorType=\"internal\" errorSeverity=\"error\"/>\n <wstxns8:annotation wstxns8:type=\"CqlToElmError\" libraryId=\"CMS146\" libraryVersion=\"2\" startLine=\"22\" startChar=\"5\" endLine=\"22\" endChar=\"54\" message=\"Could not resolve code path medication.code for the type of the retrieve QUICK.MedicationPrescription.\" errorType=\"semantic\" errorSeverity=\"warning\"/>\n <wstxns8:annotation wstxns8:type=\"CqlToElmError\" libraryId=\"CMS146\" libraryVersion=\"2\" startLine=\"22\" startChar=\"5\" endLine=\"22\" endChar=\"54\" message=\"Internal translator error.\" errorType=\"internal\" errorSeverity=\"error\"/>\n <wstxns8:annotation wstxns8:type=\"CqlToElmError\" libraryId=\"CMS146\" libraryVersion=\"2\" startLine=\"25\" startChar=\"5\" endLine=\"25\" endChar=\"38\" message=\"Internal translator error.\" errorType=\"internal\" errorSeverity=\"error\"/>\n <wstxns8:annotation wstxns8:type=\"CqlToElmError\" libraryId=\"CMS146\" libraryVersion=\"2\" startLine=\"31\" startChar=\"5\" endLine=\"31\" endChar=\"15\" message=\"Could not validate reference to expression Pharyngitis because its definition contains errors.\" errorType=\"semantic\" errorSeverity=\"error\"/>\n <wstxns8:annotation wstxns8:type=\"CqlToElmError\" libraryId=\"CMS146\" libraryVersion=\"2\" startLine=\"34\" startChar=\"13\" endLine=\"34\" endChar=\"23\" message=\"Could not validate reference to expression Antibiotics because its definition contains errors.\" errorType=\"semantic\" errorSeverity=\"error\"/>\n <wstxns8:annotation wstxns8:type=\"CqlToElmError\" libraryId=\"CMS146\" libraryVersion=\"2\" startLine=\"37\" startChar=\"13\" endLine=\"37\" endChar=\"28\" message=\"Could not validate reference to expression TargetEncounters because its definition contains errors.\" errorType=\"semantic\" errorSeverity=\"error\"/>\n <wstxns8:annotation wstxns8:type=\"CqlToElmError\" libraryId=\"CMS146\" libraryVersion=\"2\" startLine=\"40\" startChar=\"23\" endLine=\"40\" endChar=\"40\" message=\"Could not validate reference to expression HasTargetEncounter because its definition contains errors.\" errorType=\"semantic\" errorSeverity=\"error\"/>\n <wstxns8:annotation wstxns8:type=\"CqlToElmError\" libraryId=\"CMS146\" libraryVersion=\"2\" startLine=\"46\" startChar=\"5\" endLine=\"46\" endChar=\"23\" message=\"Could not validate reference to expression HasPriorAntibiotics because its definition contains errors.\" errorType=\"semantic\" errorSeverity=\"error\"/>\n <wstxns8:annotation wstxns8:type=\"CqlToElmError\" libraryId=\"CMS146\" libraryVersion=\"2\" startLine=\"49\" startChar=\"13\" endLine=\"49\" endChar=\"55\" message=\"Internal translator error.\" errorType=\"internal\" errorSeverity=\"error\"/>\n </wstxns8:annotation>\n</Library>"
CMS146XmlTest.[3] CMS146v2_Expected_SignatureLevel_Overloads.xml, Overloads: Src/java/cql-to-elm/src/test/java/org/cqframework/cql/cql2elm/CMS146XmlTest.java#L40
java.lang.AssertionError: Expected: "<?xml version='1.1' encoding='UTF-8'?>\n<Library type=\"Library\">\n <wstxns1:identifier xmlns:wstxns1=\"urn:hl7-org:elm:r1\" wstxns1:type=\"VersionedIdentifier\" id=\"CMS146\" version=\"2\"/>\n <wstxns2:schemaIdentifier xmlns:wstxns2=\"urn:hl7-org:elm:r1\" wstxns2:type=\"VersionedIdentifier\" id=\"urn:hl7-org:elm\" version=\"r1\"/>\n <wstxns3:usings xmlns:wstxns3=\"urn:hl7-org:elm:r1\" wstxns3:type=\"Library$Usings\">\n <wstxns3:def>\n <wstxns3:def wstxns3:type=\"UsingDef\" localIdentifier=\"System\" uri=\"urn:hl7-org:elm-types:r1\"/>\n <wstxns3:def wstxns3:type=\"UsingDef\" localIdentifier=\"QUICK\" uri=\"http://hl7.org/fhir\"/>\n </wstxns3:def>\n </wstxns3:usings>\n <wstxns4:parameters xmlns:wstxns4=\"urn:hl7-org:elm:r1\" wstxns4:type=\"Library$Parameters\">\n <wstxns4:def>\n <wstxns4:def wstxns4:type=\"ParameterDef\" name=\"MeasurementPeriod\" accessLevel=\"Public\">\n <wstxns4:default wstxns4:type=\"Interval\" lowClosed=\"true\" highClosed=\"false\">\n <wstxns4:low wstxns4:type=\"DateTime\">\n <wstxns4:year wstxns4:type=\"Literal\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"2013\"/>\n <wstxns4:month wstxns4:type=\"Literal\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"1\"/>\n <wstxns4:day wstxns4:type=\"Literal\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"1\"/>\n <wstxns4:hour wstxns4:type=\"Literal\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n <wstxns4:minute wstxns4:type=\"Literal\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n <wstxns4:second wstxns4:type=\"Literal\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n <wstxns4:millisecond wstxns4:type=\"Literal\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n </wstxns4:low>\n <wstxns4:high wstxns4:type=\"DateTime\">\n <wstxns4:year wstxns4:type=\"Literal\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"2014\"/>\n <wstxns4:month wstxns4:type=\"Literal\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"1\"/>\n <wstxns4:day wstxns4:type=\"Literal\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"1\"/>\n <wstxns4:hour wstxns4:type=\"Literal\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n <wstxns4:minute wstxns4:type=\"Literal\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n <wstxns4:second wstxns4:type=\"Literal\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n <wstxns4:millisecond wstxns4:type=\"Literal\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n </wstxns4:high>\n </wstxns4:default>\n </wstxns4:def>\n </wstxns4:def>\n </wstxns4:parameters>\n <wstxns5:valueSets xmlns:wstxns5=\"urn:hl7-org:elm:r1\" wstxns5:type=\"Library$ValueSets\">\n <wstxns5:def>\n <wstxns5:def wstxns5:type=\"ValueSetDef\" name=\"Acute Pharyngitis\" id=\"2.16.840.1.113883.3.464.1003.102.12.1011\" accessLevel=\"Public\"/>\n <wstxns5:def wstxns5:type=\"ValueSetDef\" name=\"Acute Tonsillitis\" id=\"2.16.840.1.113883.3.464.1003.102.12.1012\" accessLevel=\"Public\"/>\n <wstxns5:def wstxns5:type=\"ValueSetDef\" name=\"Ambulatory/ED Visit\" id=\"2.16.840.1.113883.3.464.1003.101.12.1061\" accessLevel=\"Public\"/>\n <wstxns5:def wstxns5:type=\"ValueSetDef\" name=\"Antibiotic Medications\" id=\"2.16.840.1.113883.3.464.1003.196.12.1001\" accessLevel=\"Public\"/>\n <wstxns5:def wstxns5:type=\"ValueSetDef\" name=\"Group A Streptococcus Test\" id=\"2.16.840.1.113883.3.464.1003.198.12.1012\" accessLevel=\"Public\"/>\n </wstxns5:def>\n </wstxns5:valueSets>\n <wstxns6:contexts xmlns:wstxns6=\"urn:hl7-org:elm:r1\" wstxns6:type=\"Library$Contexts\">\n <wstxns6:def>\n <wstxns6:def wstxns6:type=\"ContextDef\" name=\"Patient\"/>\n </wstxns6:def>\n </wstxns6:contexts>\n <wstxns7:statements xmlns:wstxns7=\"urn:hl7-org:elm:r1\" wstxns7:type=\"Library$Statements\">\n <wstxns7:def>\n <wstxns7:def wstxns7:type=\"ExpressionDef\" name=\"Patient\" context=\"Patient\">\n <wstxns7:expression wstxns7:type=\"SingletonFrom\">\n <wstxns7:operand wstxns7:type=\"Retrieve\" dataType=\"{http://hl7.org/fhir}Patient\" templateId=\"patient-qicore-qicore-patient\"/>\n </wstxns7:expression>\n </wstxns7:def>\n <wstxns7:def wstxns7:type=\"ExpressionDef\" name=\"InDemographic\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"And\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"GreaterOrEqual\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}Integer\"/>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}Integer\"/>\n </wstxns7:signature>\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"CalculateAgeAt\" precision=\"Year\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}DateTime\"/>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}DateTime\"/>\n </wstxns7:signature>\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Property\" path=\"birthDate\">\n <wstxns7:source wstxns7:type=\"ExpressionRef\" name=\"Patient\"/>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Start\">\n <wstxns7:operand wstxns7:type=\"ParameterRef\" name=\"MeasurementPeriod\"/>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Literal\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"2\"/>\n </wstxns7:operand>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Less\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}Integer\"/>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}Integer\"/>\n </wstxns7:signature>\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"CalculateAgeAt\" precision=\"Year\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}DateTime\"/>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}DateTime\"/>\n </wstxns7:signature>\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Property\" path=\"birthDate\">\n <wstxns7:source wstxns7:type=\"ExpressionRef\" name=\"Patient\"/>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Start\">\n <wstxns7:operand wstxns7:type=\"ParameterRef\" name=\"MeasurementPeriod\"/>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Literal\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"18\"/>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:expression>\n </wstxns7:def>\n <wstxns7:def wstxns7:type=\"ExpressionDef\" name=\"Pharyngitis\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"Union\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Retrieve\" dataType=\"{http://hl7.org/fhir}Condition\" templateId=\"condition-qicore-qicore-condition\" codeProperty=\"code\" codeComparator=\"in\">\n <wstxns7:codes wstxns7:type=\"ValueSetRef\" name=\"Acute Pharyngitis\" preserve=\"true\"/>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Retrieve\" dataType=\"{http://hl7.org/fhir}Condition\" templateId=\"condition-qicore-qicore-condition\" codeProperty=\"code\" codeComparator=\"in\">\n <wstxns7:codes wstxns7:type=\"ValueSetRef\" name=\"Acute Tonsillitis\" preserve=\"true\"/>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:expression>\n </wstxns7:def>\n <wstxns7:def wstxns7:type=\"ExpressionDef\" name=\"Antibiotics\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"Retrieve\" dataType=\"{http://hl7.org/fhir}MedicationPrescription\" templateId=\"medicationprescription-qicore-qicore-medicationprescription\" codeProperty=\"medication.code\" codeComparator=\"in\">\n <wstxns7:codes wstxns7:type=\"ValueSetRef\" name=\"Antibiotic Medications\" preserve=\"true\"/>\n </wstxns7:expression>\n </wstxns7:def>\n <wstxns7:def wstxns7:type=\"ExpressionDef\" name=\"TargetEncounters\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"Query\">\n <wstxns7:source>\n <wstxns7:source wstxns7:type=\"AliasedQuerySource\" alias=\"E\">\n <wstxns7:expression wstxns7:type=\"Retrieve\" dataType=\"{http://hl7.org/fhir}Encounter\" templateId=\"encounter-qicore-qicore-encounter\" codeProperty=\"type\" codeComparator=\"in\">\n <wstxns7:codes wstxns7:type=\"ValueSetRef\" name=\"Ambulatory/ED Visit\" preserve=\"true\"/>\n </wstxns7:expression>\n </wstxns7:source>\n </wstxns7:source>\n <wstxns7:relationship>\n <wstxns7:relationship wstxns7:type=\"With\" alias=\"P\">\n <wstxns7:expression wstxns7:type=\"ExpressionRef\" name=\"Pharyngitis\"/>\n <wstxns7:suchThat wstxns7:type=\"OverlapsAfter\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Interval\" lowClosed=\"true\" highClosed=\"true\">\n <wstxns7:low wstxns7:type=\"Property\" path=\"onsetDateTime\" scope=\"P\"/>\n <wstxns7:high wstxns7:type=\"Property\" path=\"abatementDate\" scope=\"P\"/>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Property\" path=\"period\" scope=\"E\"/>\n </wstxns7:operand>\n </wstxns7:suchThat>\n </wstxns7:relationship>\n <wstxns7:relationship wstxns7:type=\"With\" alias=\"A\">\n <wstxns7:expression wstxns7:type=\"ExpressionRef\" name=\"Antibiotics\"/>\n <wstxns7:suchThat wstxns7:type=\"And\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"In\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Property\" path=\"dateWritten\" scope=\"A\"/>\n <wstxns7:operand wstxns7:type=\"Interval\" lowClosed=\"false\" highClosed=\"true\">\n <wstxns7:low wstxns7:type=\"Start\">\n <wstxns7:operand wstxns7:type=\"Property\" path=\"period\" scope=\"E\"/>\n </wstxns7:low>\n <wstxns7:high wstxns7:type=\"Add\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}DateTime\"/>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}Quantity\"/>\n </wstxns7:signature>\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Start\">\n <wstxns7:operand wstxns7:type=\"Property\" path=\"period\" scope=\"E\"/>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Quantity\" value=\"3\" unit=\"days\"/>\n </wstxns7:operand>\n </wstxns7:high>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Not\">\n <wstxns7:operand wstxns7:type=\"IsNull\">\n <wstxns7:operand wstxns7:type=\"Start\">\n <wstxns7:operand wstxns7:type=\"Property\" path=\"period\" scope=\"E\"/>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:suchThat>\n </wstxns7:relationship>\n </wstxns7:relationship>\n <wstxns7:where wstxns7:type=\"IncludedIn\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"IntervalTypeSpecifier\">\n <wstxns7:pointType wstxns7:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}DateTime\"/>\n </wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"IntervalTypeSpecifier\">\n <wstxns7:pointType wstxns7:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}DateTime\"/>\n </wstxns7:signature>\n </wstxns7:signature>\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Property\" path=\"period\" scope=\"E\"/>\n <wstxns7:operand wstxns7:type=\"ParameterRef\" name=\"MeasurementPeriod\"/>\n </wstxns7:operand>\n </wstxns7:where>\n </wstxns7:expression>\n </wstxns7:def>\n <wstxns7:def wstxns7:type=\"ExpressionDef\" name=\"TargetDiagnoses\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"Query\">\n <wstxns7:source>\n <wstxns7:source wstxns7:type=\"AliasedQuerySource\" alias=\"P\">\n <wstxns7:expression wstxns7:type=\"ExpressionRef\" name=\"Pharyngitis\"/>\n </wstxns7:source>\n </wstxns7:source>\n <wstxns7:relationship>\n <wstxns7:relationship wstxns7:type=\"With\" alias=\"E\">\n <wstxns7:expression wstxns7:type=\"ExpressionRef\" name=\"TargetEncounters\"/>\n <wstxns7:suchThat wstxns7:type=\"OverlapsAfter\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Interval\" lowClosed=\"true\" highClosed=\"true\">\n <wstxns7:low wstxns7:type=\"Property\" path=\"onsetDateTime\" scope=\"P\"/>\n <wstxns7:high wstxns7:type=\"Property\" path=\"abatementDate\" scope=\"P\"/>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Property\" path=\"period\" scope=\"E\"/>\n </wstxns7:operand>\n </wstxns7:suchThat>\n </wstxns7:relationship>\n </wstxns7:relationship>\n </wstxns7:expression>\n </wstxns7:def>\n <wstxns7:def wstxns7:type=\"ExpressionDef\" name=\"HasPriorAntibiotics\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"Exists\">\n <wstxns7:operand wstxns7:type=\"Query\">\n <wstxns7:source>\n <wstxns7:source wstxns7:type=\"AliasedQuerySource\" alias=\"A\">\n <wstxns7:expression wstxns7:type=\"ExpressionRef\" name=\"Antibiotics\"/>\n </wstxns7:source>\n </wstxns7:source>\n <wstxns7:relationship>\n <wstxns7:relationship wstxns7:type=\"With\" alias=\"D\">\n <wstxns7:expression wstxns7:type=\"ExpressionRef\" name=\"TargetDiagnoses\"/>\n <wstxns7:suchThat wstxns7:type=\"And\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"In\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}DateTime\"/>\n <wstxns7:signature wstxns7:type=\"IntervalTypeSpecifier\">\n <wstxns7:pointType wstxns7:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}DateTime\"/>\n </wstxns7:signature>\n </wstxns7:signature>\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Property\" path=\"dateWritten\" scope=\"A\"/>\n <wstxns7:operand wstxns7:type=\"Interval\" lowClosed=\"true\" highClosed=\"false\">\n <wstxns7:low wstxns7:type=\"Subtract\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}DateTime\"/>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}Quantity\"/>\n </wstxns7:signature>\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Property\" path=\"onsetDateTime\" scope=\"D\"/>\n <wstxns7:operand wstxns7:type=\"Quantity\" value=\"30\" unit=\"days\"/>\n </wstxns7:operand>\n </wstxns7:low>\n <wstxns7:high wstxns7:type=\"Property\" path=\"onsetDateTime\" scope=\"D\"/>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Not\">\n <wstxns7:operand wstxns7:type=\"IsNull\">\n <wstxns7:operand wstxns7:type=\"Property\" path=\"onsetDateTime\" scope=\"D\"/>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:suchThat>\n </wstxns7:relationship>\n </wstxns7:relationship>\n </wstxns7:operand>\n </wstxns7:expression>\n </wstxns7:def>\n <wstxns7:def wstxns7:type=\"ExpressionDef\" name=\"HasTargetEncounter\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"Exists\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"ListTypeSpecifier\">\n <wstxns7:elementType wstxns7:type=\"NamedTypeSpecifier\" name=\"{http://hl7.org/fhir}Encounter\"/>\n </wstxns7:signature>\n </wstxns7:signature>\n <wstxns7:operand wstxns7:type=\"ExpressionRef\" name=\"TargetEncounters\"/>\n </wstxns7:expression>\n </wstxns7:def>\n <wstxns7:def wstxns7:type=\"ExpressionDef\" name=\"InInitialPopulation\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"And\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"ExpressionRef\" name=\"InDemographic\"/>\n <wstxns7:operand wstxns7:type=\"ExpressionRef\" name=\"HasTargetEncounter\"/>\n </wstxns7:operand>\n </wstxns7:expression>\n </wstxns7:def>\n <wstxns7:def wstxns7:type=\"ExpressionDef\" name=\"InDenominator\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"Literal\" valueType=\"{urn:hl7-org:elm-types:r1}Boolean\" value=\"true\"/>\n </wstxns7:def>\n <wstxns7:def wstxns7:type=\"ExpressionDef\" name=\"InDenominatorExclusions\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"ExpressionRef\" name=\"HasPriorAntibiotics\"/>\n </wstxns7:def>\n <wstxns7:def wstxns7:type=\"ExpressionDef\" name=\"InNumerator\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"Exists\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"ListTypeSpecifier\">\n <wstxns7:elementType wstxns7:type=\"NamedTypeSpecifier\" name=\"{http://hl7.org/fhir}Observation\"/>\n </wstxns7:signature>\n </wstxns7:signature>\n <wstxns7:operand wstxns7:type=\"Query\">\n <wstxns7:source>\n <wstxns7:source wstxns7:type=\"AliasedQuerySource\" alias=\"R\">\n <wstxns7:expression wstxns7:type=\"Retrieve\" dataType=\"{http://hl7.org/fhir}Observation\" templateId=\"observation-qicore-qicore-observation\" codeProperty=\"code\" codeComparator=\"in\">\n <wstxns7:codes wstxns7:type=\"ValueSetRef\" name=\"Group A Streptococcus Test\" preserve=\"true\"/>\n </wstxns7:expression>\n </wstxns7:source>\n </wstxns7:source>\n <wstxns7:where wstxns7:type=\"And\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"In\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}DateTime\"/>\n <wstxns7:signature wstxns7:type=\"IntervalTypeSpecifier\">\n <wstxns7:pointType wstxns7:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}DateTime\"/>\n </wstxns7:signature>\n </wstxns7:signature>\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Property\" path=\"issued\" scope=\"R\"/>\n <wstxns7:operand wstxns7:type=\"ParameterRef\" name=\"MeasurementPeriod\"/>\n </wstxns7:operand>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Not\">\n <wstxns7:operand wstxns7:type=\"IsNull\">\n <wstxns7:operand wstxns7:type=\"Property\" path=\"valueQuantity\" scope=\"R\"/>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:where>\n </wstxns7:operand>\n </wstxns7:expression>\n </wstxns7:def>\n </wstxns7:def>\n </wstxns7:statements>\n <wstxns8:annotation xmlns:wstxns8=\"urn:hl7-org:elm:r1\">\n <wstxns8:annotation wstxns8:type=\"CqlToElmInfo\" translatorOptions=\"\" signatureLevel=\"Overloads\"/>\n <wstxns8:annotation wstxns8:type=\"CqlToElmError\" libraryId=\"CMS146\" libraryVersion=\"2\" startLine=\"22\" startChar=\"5\" endLine=\"22\" endChar=\"54\" message=\"Could not resolve code path medication.code for the type of the retrieve QUICK.MedicationPrescription.\" errorType=\"semantic\" errorSeverity=\"warning\"/>\n <wstxns8:annotation wstxns8:type=\"CqlToElmError\" libraryId=\"CMS146\" libraryVersion=\"2\" startLine=\"22\" startChar=\"5\" endLine=\"22\" endChar=\"54\" message=\"Could not resolve membership operator for terminology target of the retrieve.\" errorType=\"semantic\" errorSeverity=\"warning\"/>\n </wstxns8:annotation>\n</Library>" but: was "<?xml version='1.1' encoding='UTF-8'?>\n<Library>\n <wstxns1:identifier xmlns:wstxns1=\"urn:hl7-org:elm:r1\" id=\"CMS146\" version=\"2\"/>\n <wstxns2:schemaIdentifier xmlns:wstxns2=\"urn:hl7-org:elm:r1\" id=\"urn:hl7-org:elm\" version=\"r1\"/>\n <wstxns3:usings xmlns:wstxns3=\"urn:hl7-org:elm:r1\">\n <wstxns3:def>\n <wstxns3:def localIdentifier=\"System\" uri=\"urn:hl7-org:elm-types:r1\"/>\n <wstxns3:def localIdentifier=\"QUICK\" uri=\"http://hl7.org/fhir\"/>\n </wstxns3:def>\n </wstxns3:usings>\n <wstxns4:parameters xmlns:wstxns4=\"urn:hl7-org:elm:r1\">\n <wstxns4:def>\n <wstxns4:def name=\"MeasurementPeriod\" accessLevel=\"Public\">\n <wstxns4:default lowClosed=\"true\" highClosed=\"false\">\n <wstxns4:low>\n <wstxns4:year valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"2013\"/>\n <wstxns4:month valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"1\"/>\n <wstxns4:day valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"1\"/>\n <wstxns4:hour valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n <wstxns4:minute valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n <wstxns4:second valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n <wstxns4:millisecond valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n </wstxns4:low>\n <wstxns4:high>\n <wstxns4:year valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"2014\"/>\n <wstxns4:month valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"1\"/>\n <wstxns4:day valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"1\"/>\n <wstxns4:hour valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n <wstxns4:minute valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n <wstxns4:second valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n <wstxns4:millisecond valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n </wstxns4:high>\n </wstxns4:default>\n </wstxns4:def>\n </wstxns4:def>\n </wstxns4:parameters>\n <wstxns5:valueSets xmlns:wstxns5=\"urn:hl7-org:elm:r1\">\n <wstxns5:def>\n <wstxns5:def name=\"Acute Pharyngitis\" id=\"2.16.840.1.113883.3.464.1003.102.12.1011\" accessLevel=\"Public\"/>\n <wstxns5:def name=\"Acute Tonsillitis\" id=\"2.16.840.1.113883.3.464.1003.102.12.1012\" accessLevel=\"Public\"/>\n <wstxns5:def name=\"Ambulatory/ED Visit\" id=\"2.16.840.1.113883.3.464.1003.101.12.1061\" accessLevel=\"Public\"/>\n <wstxns5:def name=\"Antibiotic Medications\" id=\"2.16.840.1.113883.3.464.1003.196.12.1001\" accessLevel=\"Public\"/>\n <wstxns5:def name=\"Group A Streptococcus Test\" id=\"2.16.840.1.113883.3.464.1003.198.12.1012\" accessLevel=\"Public\"/>\n </wstxns5:def>\n </wstxns5:valueSets>\n <wstxns6:contexts xmlns:wstxns6=\"urn:hl7-org:elm:r1\">\n <wstxns6:def>\n <wstxns6:def name=\"Patient\"/>\n </wstxns6:def>\n </wstxns6:contexts>\n <wstxns7:statements xmlns:wstxns7=\"urn:hl7-org:elm:r1\">\n <wstxns7:def>\n <wstxns7:def name=\"Patient\" context=\"Patient\">\n <wstxns7:expression>\n <wstxns7:operand dataType=\"{http://hl7.org/fhir}Patient\" templateId=\"patient-qicore-qicore-patient\"/>\n </wstxns7:expression>\n </wstxns7:def>\n <wstxns7:def name=\"InDemographic\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression>\n <wstxns7:operand>\n <wstxns7:operand>\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}Integer\"/>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}Integer\"/>\n </wstxns7:signature>\n <wstxns7:operand>\n <wstxns7:operand precision=\"Year\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}DateTime\"/>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}DateTime\"/>\n </wstxns7:signature>\n <wstxns7:operand>\n <wstxns7:operand path=\"birthDate\">\n <wstxns7:source name=\"Patient\"/>\n </wstxns7:operand>\n <wstxns7:operand>\n <wstxns7:operand name=\"MeasurementPeriod\"/>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:operand>\n <wstxns7:operand valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"2\"/>\n </wstxns7:operand>\n </wstxns7:operand>\n <wstxns7:operand>\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}Integer\"/>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}Integer\"/>\n </wstxns7:signature>\n <wstxns7:operand>\n <wstxns7:operand precision=\"Year\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}DateTime\"/>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}DateTime\"/>\n </wstxns7:signature>\n <wstxns7:operand>\n <wstxns7:operand path=\"birthDate\">\n <wstxns7:source name=\"Patient\"/>\n </wstxns7:operand>\n <wstxns7:operand>\n <wstxns7:operand name=\"MeasurementPeriod\"/>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:operand>\n <wstxns7:operand valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"18\"/>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:expression>\n </wstxns7:def>\n <wstxns7:def name=\"Pharyngitis\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression/>\n </wstxns7:def>\n <wstxns7:def name=\"Antibiotics\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression/>\n </wstxns7:def>\n <wstxns7:def name=\"TargetEncounters\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression/>\n </wstxns7:def>\n <wstxns7:def name=\"TargetDiagnoses\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression/>\n </wstxns7:def>\n <wstxns7:def name=\"HasPriorAntibiotics\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression/>\n </wstxns7:def>\n <wstxns7:def name=\"HasTargetEncounter\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression/>\n </wstxns7:def>\n <wstxns7:def name=\"InInitialPopulation\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression/>\n </wstxns7:def>\n <wstxns7:def name=\"InDenominator\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression valueType=\"{urn:hl7-org:elm-types:r1}Boolean\" value=\"true\"/>\n </wstxns7:def>\n <wstxns7:def name=\"InDenominatorExclusions\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression/>\n </wstxns7:def>\n <wstxns7:def name=\"InNumerator\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression/>\n </wstxns7:def>\n </wstxns7:def>\n </wstxns7:statements>\n <wstxns8:annotation xmlns:wstxns8=\"urn:hl7-org:elm:r1\">\n <wstxns8:annotation wstxns8:type=\"CqlToElmInfo\" translatorOptions=\"\" signatureLevel=\"Overloads\"/>\n <wstxns8:annotation wstxns8:type=\"CqlToElmError\" libraryId=\"CMS146\" libraryVersion=\"2\" startLine=\"19\" startChar=\"5\" endLine=\"19\" endChar=\"36\" message=\"Internal translator error.\" errorType=\"internal\" errorSeverity=\"error\"/>\n <wstxns8:annotation wstxns8:type=\"CqlToElmError\" libraryId=\"CMS146\" libraryVersion=\"2\" startLine=\"22\" startChar=\"5\" endLine=\"22\" endChar=\"54\" message=\"Could not resolve code path medication.code for the type of the retrieve QUICK.MedicationPrescription.\" errorType=\"semantic\" errorSeverity=\"warning\"/>\n <wstxns8:annotation wstxns8:type=\"CqlToElmError\" libraryId=\"CMS146\" libraryVersion=\"2\" startLine=\"22\" startChar=\"5\" endLine=\"22\" endChar=\"54\" message=\"Internal translator error.\" errorType=\"internal\" errorSeverity=\"error\"/>\n <wstxns8:annotation wstxns8:type=\"CqlToElmError\" libraryId=\"CMS146\" libraryVersion=\"2\" startLine=\"25\" startChar=\"5\" endLine=\"25\" endChar=\"38\" message=\"Internal translator error.\" errorType=\"internal\" errorSeverity=\"error\"/>\n <wstxns8:annotation wstxns8:type=\"CqlToElmError\" libraryId=\"CMS146\" libraryVersion=\"2\" startLine=\"31\" startChar=\"5\" endLine=\"31\" endChar=\"15\" message=\"Could not validate reference to expression Pharyngitis because its definition contains errors.\" errorType=\"semantic\" errorSeverity=\"error\"/>\n <wstxns8:annotation wstxns8:type=\"CqlToElmError\" libraryId=\"CMS146\" libraryVersion=\"2\" startLine=\"34\" startChar=\"13\" endLine=\"34\" endChar=\"23\" message=\"Could not validate reference to expression Antibiotics because its definition contains errors.\" errorType=\"semantic\" errorSeverity=\"error\"/>\n <wstxns8:annotation wstxns8:type=\"CqlToElmError\" libraryId=\"CMS146\" libraryVersion=\"2\" startLine=\"37\" startChar=\"13\" endLine=\"37\" endChar=\"28\" message=\"Could not validate reference to expression TargetEncounters because its definition contains errors.\" errorType=\"semantic\" errorSeverity=\"error\"/>\n <wstxns8:annotation wstxns8:type=\"CqlToElmError\" libraryId=\"CMS146\" libraryVersion=\"2\" startLine=\"40\" startChar=\"23\" endLine=\"40\" endChar=\"40\" message=\"Could not validate reference to expression HasTargetEncounter because its definition contains errors.\" errorType=\"semantic\" errorSeverity=\"error\"/>\n <wstxns8:annotation wstxns8:type=\"CqlToElmError\" libraryId=\"CMS146\" libraryVersion=\"2\" startLine=\"46\" startChar=\"5\" endLine=\"46\" endChar=\"23\" message=\"Could not validate reference to expression HasPriorAntibiotics because its definition contains errors.\" errorType=\"semantic\" errorSeverity=\"error\"/>\n <wstxns8:annotation wstxns8:type=\"CqlToElmError\" libraryId=\"CMS146\" libraryVersion=\"2\" startLine=\"49\" startChar=\"13\" endLine=\"49\" endChar=\"55\" message=\"Internal translator error.\" errorType=\"internal\" errorSeverity=\"error\"/>\n </wstxns8:annotation>\n</Library>"
CMS146XmlTest.[4] CMS146v2_Expected_SignatureLevel_All.xml, All: Src/java/cql-to-elm/src/test/java/org/cqframework/cql/cql2elm/CMS146XmlTest.java#L40
java.lang.AssertionError: Expected: "<?xml version='1.1' encoding='UTF-8'?>\n<Library type=\"Library\">\n <wstxns1:identifier xmlns:wstxns1=\"urn:hl7-org:elm:r1\" wstxns1:type=\"VersionedIdentifier\" id=\"CMS146\" version=\"2\"/>\n <wstxns2:schemaIdentifier xmlns:wstxns2=\"urn:hl7-org:elm:r1\" wstxns2:type=\"VersionedIdentifier\" id=\"urn:hl7-org:elm\" version=\"r1\"/>\n <wstxns3:usings xmlns:wstxns3=\"urn:hl7-org:elm:r1\" wstxns3:type=\"Library$Usings\">\n <wstxns3:def>\n <wstxns3:def wstxns3:type=\"UsingDef\" localIdentifier=\"System\" uri=\"urn:hl7-org:elm-types:r1\"/>\n <wstxns3:def wstxns3:type=\"UsingDef\" localIdentifier=\"QUICK\" uri=\"http://hl7.org/fhir\"/>\n </wstxns3:def>\n </wstxns3:usings>\n <wstxns4:parameters xmlns:wstxns4=\"urn:hl7-org:elm:r1\" wstxns4:type=\"Library$Parameters\">\n <wstxns4:def>\n <wstxns4:def wstxns4:type=\"ParameterDef\" name=\"MeasurementPeriod\" accessLevel=\"Public\">\n <wstxns4:default wstxns4:type=\"Interval\" lowClosed=\"true\" highClosed=\"false\">\n <wstxns4:low wstxns4:type=\"DateTime\">\n <wstxns4:year wstxns4:type=\"Literal\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"2013\"/>\n <wstxns4:month wstxns4:type=\"Literal\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"1\"/>\n <wstxns4:day wstxns4:type=\"Literal\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"1\"/>\n <wstxns4:hour wstxns4:type=\"Literal\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n <wstxns4:minute wstxns4:type=\"Literal\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n <wstxns4:second wstxns4:type=\"Literal\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n <wstxns4:millisecond wstxns4:type=\"Literal\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n <wstxns4:signature>\n <wstxns4:signature wstxns4:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}Integer\"/>\n <wstxns4:signature wstxns4:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}Integer\"/>\n <wstxns4:signature wstxns4:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}Integer\"/>\n <wstxns4:signature wstxns4:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}Integer\"/>\n <wstxns4:signature wstxns4:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}Integer\"/>\n <wstxns4:signature wstxns4:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}Integer\"/>\n <wstxns4:signature wstxns4:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}Integer\"/>\n </wstxns4:signature>\n </wstxns4:low>\n <wstxns4:high wstxns4:type=\"DateTime\">\n <wstxns4:year wstxns4:type=\"Literal\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"2014\"/>\n <wstxns4:month wstxns4:type=\"Literal\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"1\"/>\n <wstxns4:day wstxns4:type=\"Literal\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"1\"/>\n <wstxns4:hour wstxns4:type=\"Literal\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n <wstxns4:minute wstxns4:type=\"Literal\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n <wstxns4:second wstxns4:type=\"Literal\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n <wstxns4:millisecond wstxns4:type=\"Literal\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n <wstxns4:signature>\n <wstxns4:signature wstxns4:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}Integer\"/>\n <wstxns4:signature wstxns4:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}Integer\"/>\n <wstxns4:signature wstxns4:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}Integer\"/>\n <wstxns4:signature wstxns4:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}Integer\"/>\n <wstxns4:signature wstxns4:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}Integer\"/>\n <wstxns4:signature wstxns4:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}Integer\"/>\n <wstxns4:signature wstxns4:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}Integer\"/>\n </wstxns4:signature>\n </wstxns4:high>\n </wstxns4:default>\n </wstxns4:def>\n </wstxns4:def>\n </wstxns4:parameters>\n <wstxns5:valueSets xmlns:wstxns5=\"urn:hl7-org:elm:r1\" wstxns5:type=\"Library$ValueSets\">\n <wstxns5:def>\n <wstxns5:def wstxns5:type=\"ValueSetDef\" name=\"Acute Pharyngitis\" id=\"2.16.840.1.113883.3.464.1003.102.12.1011\" accessLevel=\"Public\"/>\n <wstxns5:def wstxns5:type=\"ValueSetDef\" name=\"Acute Tonsillitis\" id=\"2.16.840.1.113883.3.464.1003.102.12.1012\" accessLevel=\"Public\"/>\n <wstxns5:def wstxns5:type=\"ValueSetDef\" name=\"Ambulatory/ED Visit\" id=\"2.16.840.1.113883.3.464.1003.101.12.1061\" accessLevel=\"Public\"/>\n <wstxns5:def wstxns5:type=\"ValueSetDef\" name=\"Antibiotic Medications\" id=\"2.16.840.1.113883.3.464.1003.196.12.1001\" accessLevel=\"Public\"/>\n <wstxns5:def wstxns5:type=\"ValueSetDef\" name=\"Group A Streptococcus Test\" id=\"2.16.840.1.113883.3.464.1003.198.12.1012\" accessLevel=\"Public\"/>\n </wstxns5:def>\n </wstxns5:valueSets>\n <wstxns6:contexts xmlns:wstxns6=\"urn:hl7-org:elm:r1\" wstxns6:type=\"Library$Contexts\">\n <wstxns6:def>\n <wstxns6:def wstxns6:type=\"ContextDef\" name=\"Patient\"/>\n </wstxns6:def>\n </wstxns6:contexts>\n <wstxns7:statements xmlns:wstxns7=\"urn:hl7-org:elm:r1\" wstxns7:type=\"Library$Statements\">\n <wstxns7:def>\n <wstxns7:def wstxns7:type=\"ExpressionDef\" name=\"Patient\" context=\"Patient\">\n <wstxns7:expression wstxns7:type=\"SingletonFrom\">\n <wstxns7:operand wstxns7:type=\"Retrieve\" dataType=\"{http://hl7.org/fhir}Patient\" templateId=\"patient-qicore-qicore-patient\"/>\n </wstxns7:expression>\n </wstxns7:def>\n <wstxns7:def wstxns7:type=\"ExpressionDef\" name=\"InDemographic\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"And\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}Boolean\"/>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}Boolean\"/>\n </wstxns7:signature>\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"GreaterOrEqual\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}Integer\"/>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}Integer\"/>\n </wstxns7:signature>\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"CalculateAgeAt\" precision=\"Year\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}DateTime\"/>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}DateTime\"/>\n </wstxns7:signature>\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Property\" path=\"birthDate\">\n <wstxns7:source wstxns7:type=\"ExpressionRef\" name=\"Patient\"/>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Start\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"IntervalTypeSpecifier\">\n <wstxns7:pointType wstxns7:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}DateTime\"/>\n </wstxns7:signature>\n </wstxns7:signature>\n <wstxns7:operand wstxns7:type=\"ParameterRef\" name=\"MeasurementPeriod\"/>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Literal\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"2\"/>\n </wstxns7:operand>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Less\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}Integer\"/>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}Integer\"/>\n </wstxns7:signature>\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"CalculateAgeAt\" precision=\"Year\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}DateTime\"/>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}DateTime\"/>\n </wstxns7:signature>\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Property\" path=\"birthDate\">\n <wstxns7:source wstxns7:type=\"ExpressionRef\" name=\"Patient\"/>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Start\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"IntervalTypeSpecifier\">\n <wstxns7:pointType wstxns7:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}DateTime\"/>\n </wstxns7:signature>\n </wstxns7:signature>\n <wstxns7:operand wstxns7:type=\"ParameterRef\" name=\"MeasurementPeriod\"/>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Literal\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"18\"/>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:expression>\n </wstxns7:def>\n <wstxns7:def wstxns7:type=\"ExpressionDef\" name=\"Pharyngitis\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"Union\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"ListTypeSpecifier\">\n <wstxns7:elementType wstxns7:type=\"NamedTypeSpecifier\" name=\"{http://hl7.org/fhir}Condition\"/>\n </wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"ListTypeSpecifier\">\n <wstxns7:elementType wstxns7:type=\"NamedTypeSpecifier\" name=\"{http://hl7.org/fhir}Condition\"/>\n </wstxns7:signature>\n </wstxns7:signature>\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Retrieve\" dataType=\"{http://hl7.org/fhir}Condition\" templateId=\"condition-qicore-qicore-condition\" codeProperty=\"code\" codeComparator=\"in\">\n <wstxns7:codes wstxns7:type=\"ValueSetRef\" name=\"Acute Pharyngitis\" preserve=\"true\"/>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Retrieve\" dataType=\"{http://hl7.org/fhir}Condition\" templateId=\"condition-qicore-qicore-condition\" codeProperty=\"code\" codeComparator=\"in\">\n <wstxns7:codes wstxns7:type=\"ValueSetRef\" name=\"Acute Tonsillitis\" preserve=\"true\"/>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:expression>\n </wstxns7:def>\n <wstxns7:def wstxns7:type=\"ExpressionDef\" name=\"Antibiotics\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"Retrieve\" dataType=\"{http://hl7.org/fhir}MedicationPrescription\" templateId=\"medicationprescription-qicore-qicore-medicationprescription\" codeProperty=\"medication.code\" codeComparator=\"in\">\n <wstxns7:codes wstxns7:type=\"ValueSetRef\" name=\"Antibiotic Medications\" preserve=\"true\"/>\n </wstxns7:expression>\n </wstxns7:def>\n <wstxns7:def wstxns7:type=\"ExpressionDef\" name=\"TargetEncounters\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"Query\">\n <wstxns7:source>\n <wstxns7:source wstxns7:type=\"AliasedQuerySource\" alias=\"E\">\n <wstxns7:expression wstxns7:type=\"Retrieve\" dataType=\"{http://hl7.org/fhir}Encounter\" templateId=\"encounter-qicore-qicore-encounter\" codeProperty=\"type\" codeComparator=\"in\">\n <wstxns7:codes wstxns7:type=\"ValueSetRef\" name=\"Ambulatory/ED Visit\" preserve=\"true\"/>\n </wstxns7:expression>\n </wstxns7:source>\n </wstxns7:source>\n <wstxns7:relationship>\n <wstxns7:relationship wstxns7:type=\"With\" alias=\"P\">\n <wstxns7:expression wstxns7:type=\"ExpressionRef\" name=\"Pharyngitis\"/>\n <wstxns7:suchThat wstxns7:type=\"OverlapsAfter\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"IntervalTypeSpecifier\">\n <wstxns7:pointType wstxns7:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}DateTime\"/>\n </wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"IntervalTypeSpecifier\">\n <wstxns7:pointType wstxns7:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}DateTime\"/>\n </wstxns7:signature>\n </wstxns7:signature>\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Interval\" lowClosed=\"true\" highClosed=\"true\">\n <wstxns7:low wstxns7:type=\"Property\" path=\"onsetDateTime\" scope=\"P\"/>\n <wstxns7:high wstxns7:type=\"Property\" path=\"abatementDate\" scope=\"P\"/>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Property\" path=\"period\" scope=\"E\"/>\n </wstxns7:operand>\n </wstxns7:suchThat>\n </wstxns7:relationship>\n <wstxns7:relationship wstxns7:type=\"With\" alias=\"A\">\n <wstxns7:expression wstxns7:type=\"ExpressionRef\" name=\"Antibiotics\"/>\n <wstxns7:suchThat wstxns7:type=\"And\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}Boolean\"/>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}Boolean\"/>\n </wstxns7:signature>\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"In\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}DateTime\"/>\n <wstxns7:signature wstxns7:type=\"IntervalTypeSpecifier\">\n <wstxns7:pointType wstxns7:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}DateTime\"/>\n </wstxns7:signature>\n </wstxns7:signature>\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Property\" path=\"dateWritten\" scope=\"A\"/>\n <wstxns7:operand wstxns7:type=\"Interval\" lowClosed=\"false\" highClosed=\"true\">\n <wstxns7:low wstxns7:type=\"Start\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"IntervalTypeSpecifier\">\n <wstxns7:pointType wstxns7:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}DateTime\"/>\n </wstxns7:signature>\n </wstxns7:signature>\n <wstxns7:operand wstxns7:type=\"Property\" path=\"period\" scope=\"E\"/>\n </wstxns7:low>\n <wstxns7:high wstxns7:type=\"Add\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}DateTime\"/>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}Quantity\"/>\n </wstxns7:signature>\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Start\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"IntervalTypeSpecifier\">\n <wstxns7:pointType wstxns7:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}DateTime\"/>\n </wstxns7:signature>\n </wstxns7:signature>\n <wstxns7:operand wstxns7:type=\"Property\" path=\"period\" scope=\"E\"/>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Quantity\" value=\"3\" unit=\"days\"/>\n </wstxns7:operand>\n </wstxns7:high>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Not\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}Boolean\"/>\n </wstxns7:signature>\n <wstxns7:operand wstxns7:type=\"IsNull\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}Any\"/>\n </wstxns7:signature>\n <wstxns7:operand wstxns7:type=\"Start\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"IntervalTypeSpecifier\">\n <wstxns7:pointType wstxns7:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}DateTime\"/>\n </wstxns7:signature>\n </wstxns7:signature>\n <wstxns7:operand wstxns7:type=\"Property\" path=\"period\" scope=\"E\"/>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:suchThat>\n </wstxns7:relationship>\n </wstxns7:relationship>\n <wstxns7:where wstxns7:type=\"IncludedIn\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"IntervalTypeSpecifier\">\n <wstxns7:pointType wstxns7:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}DateTime\"/>\n </wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"IntervalTypeSpecifier\">\n <wstxns7:pointType wstxns7:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}DateTime\"/>\n </wstxns7:signature>\n </wstxns7:signature>\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Property\" path=\"period\" scope=\"E\"/>\n <wstxns7:operand wstxns7:type=\"ParameterRef\" name=\"MeasurementPeriod\"/>\n </wstxns7:operand>\n </wstxns7:where>\n </wstxns7:expression>\n </wstxns7:def>\n <wstxns7:def wstxns7:type=\"ExpressionDef\" name=\"TargetDiagnoses\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"Query\">\n <wstxns7:source>\n <wstxns7:source wstxns7:type=\"AliasedQuerySource\" alias=\"P\">\n <wstxns7:expression wstxns7:type=\"ExpressionRef\" name=\"Pharyngitis\"/>\n </wstxns7:source>\n </wstxns7:source>\n <wstxns7:relationship>\n <wstxns7:relationship wstxns7:type=\"With\" alias=\"E\">\n <wstxns7:expression wstxns7:type=\"ExpressionRef\" name=\"TargetEncounters\"/>\n <wstxns7:suchThat wstxns7:type=\"OverlapsAfter\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"IntervalTypeSpecifier\">\n <wstxns7:pointType wstxns7:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}DateTime\"/>\n </wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"IntervalTypeSpecifier\">\n <wstxns7:pointType wstxns7:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}DateTime\"/>\n </wstxns7:signature>\n </wstxns7:signature>\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Interval\" lowClosed=\"true\" highClosed=\"true\">\n <wstxns7:low wstxns7:type=\"Property\" path=\"onsetDateTime\" scope=\"P\"/>\n <wstxns7:high wstxns7:type=\"Property\" path=\"abatementDate\" scope=\"P\"/>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Property\" path=\"period\" scope=\"E\"/>\n </wstxns7:operand>\n </wstxns7:suchThat>\n </wstxns7:relationship>\n </wstxns7:relationship>\n </wstxns7:expression>\n </wstxns7:def>\n <wstxns7:def wstxns7:type=\"ExpressionDef\" name=\"HasPriorAntibiotics\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"Exists\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"ListTypeSpecifier\">\n <wstxns7:elementType wstxns7:type=\"NamedTypeSpecifier\" name=\"{http://hl7.org/fhir}MedicationPrescription\"/>\n </wstxns7:signature>\n </wstxns7:signature>\n <wstxns7:operand wstxns7:type=\"Query\">\n <wstxns7:source>\n <wstxns7:source wstxns7:type=\"AliasedQuerySource\" alias=\"A\">\n <wstxns7:expression wstxns7:type=\"ExpressionRef\" name=\"Antibiotics\"/>\n </wstxns7:source>\n </wstxns7:source>\n <wstxns7:relationship>\n <wstxns7:relationship wstxns7:type=\"With\" alias=\"D\">\n <wstxns7:expression wstxns7:type=\"ExpressionRef\" name=\"TargetDiagnoses\"/>\n <wstxns7:suchThat wstxns7:type=\"And\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}Boolean\"/>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}Boolean\"/>\n </wstxns7:signature>\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"In\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}DateTime\"/>\n <wstxns7:signature wstxns7:type=\"IntervalTypeSpecifier\">\n <wstxns7:pointType wstxns7:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}DateTime\"/>\n </wstxns7:signature>\n </wstxns7:signature>\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Property\" path=\"dateWritten\" scope=\"A\"/>\n <wstxns7:operand wstxns7:type=\"Interval\" lowClosed=\"true\" highClosed=\"false\">\n <wstxns7:low wstxns7:type=\"Subtract\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}DateTime\"/>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}Quantity\"/>\n </wstxns7:signature>\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Property\" path=\"onsetDateTime\" scope=\"D\"/>\n <wstxns7:operand wstxns7:type=\"Quantity\" value=\"30\" unit=\"days\"/>\n </wstxns7:operand>\n </wstxns7:low>\n <wstxns7:high wstxns7:type=\"Property\" path=\"onsetDateTime\" scope=\"D\"/>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Not\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}Boolean\"/>\n </wstxns7:signature>\n <wstxns7:operand wstxns7:type=\"IsNull\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}Any\"/>\n </wstxns7:signature>\n <wstxns7:operand wstxns7:type=\"Property\" path=\"onsetDateTime\" scope=\"D\"/>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:suchThat>\n </wstxns7:relationship>\n </wstxns7:relationship>\n </wstxns7:operand>\n </wstxns7:expression>\n </wstxns7:def>\n <wstxns7:def wstxns7:type=\"ExpressionDef\" name=\"HasTargetEncounter\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"Exists\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"ListTypeSpecifier\">\n <wstxns7:elementType wstxns7:type=\"NamedTypeSpecifier\" name=\"{http://hl7.org/fhir}Encounter\"/>\n </wstxns7:signature>\n </wstxns7:signature>\n <wstxns7:operand wstxns7:type=\"ExpressionRef\" name=\"TargetEncounters\"/>\n </wstxns7:expression>\n </wstxns7:def>\n <wstxns7:def wstxns7:type=\"ExpressionDef\" name=\"InInitialPopulation\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"And\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}Boolean\"/>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}Boolean\"/>\n </wstxns7:signature>\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"ExpressionRef\" name=\"InDemographic\"/>\n <wstxns7:operand wstxns7:type=\"ExpressionRef\" name=\"HasTargetEncounter\"/>\n </wstxns7:operand>\n </wstxns7:expression>\n </wstxns7:def>\n <wstxns7:def wstxns7:type=\"ExpressionDef\" name=\"InDenominator\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"Literal\" valueType=\"{urn:hl7-org:elm-types:r1}Boolean\" value=\"true\"/>\n </wstxns7:def>\n <wstxns7:def wstxns7:type=\"ExpressionDef\" name=\"InDenominatorExclusions\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"ExpressionRef\" name=\"HasPriorAntibiotics\"/>\n </wstxns7:def>\n <wstxns7:def wstxns7:type=\"ExpressionDef\" name=\"InNumerator\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"Exists\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"ListTypeSpecifier\">\n <wstxns7:elementType wstxns7:type=\"NamedTypeSpecifier\" name=\"{http://hl7.org/fhir}Observation\"/>\n </wstxns7:signature>\n </wstxns7:signature>\n <wstxns7:operand wstxns7:type=\"Query\">\n <wstxns7:source>\n <wstxns7:source wstxns7:type=\"AliasedQuerySource\" alias=\"R\">\n <wstxns7:expression wstxns7:type=\"Retrieve\" dataType=\"{http://hl7.org/fhir}Observation\" templateId=\"observation-qicore-qicore-observation\" codeProperty=\"code\" codeComparator=\"in\">\n <wstxns7:codes wstxns7:type=\"ValueSetRef\" name=\"Group A Streptococcus Test\" preserve=\"true\"/>\n </wstxns7:expression>\n </wstxns7:source>\n </wstxns7:source>\n <wstxns7:where wstxns7:type=\"And\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}Boolean\"/>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}Boolean\"/>\n </wstxns7:signature>\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"In\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}DateTime\"/>\n <wstxns7:signature wstxns7:type=\"IntervalTypeSpecifier\">\n <wstxns7:pointType wstxns7:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}DateTime\"/>\n </wstxns7:signature>\n </wstxns7:signature>\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Property\" path=\"issued\" scope=\"R\"/>\n <wstxns7:operand wstxns7:type=\"ParameterRef\" name=\"MeasurementPeriod\"/>\n </wstxns7:operand>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Not\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}Boolean\"/>\n </wstxns7:signature>\n <wstxns7:operand wstxns7:type=\"IsNull\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}Any\"/>\n </wstxns7:signature>\n <wstxns7:operand wstxns7:type=\"Property\" path=\"valueQuantity\" scope=\"R\"/>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:where>\n </wstxns7:operand>\n </wstxns7:expression>\n </wstxns7:def>\n </wstxns7:def>\n </wstxns7:statements>\n <wstxns8:annotation xmlns:wstxns8=\"urn:hl7-org:elm:r1\">\n <wstxns8:annotation wstxns8:type=\"CqlToElmInfo\" translatorOptions=\"\" signatureLevel=\"All\"/>\n <wstxns8:annotation wstxns8:type=\"CqlToElmError\" libraryId=\"CMS146\" libraryVersion=\"2\" startLine=\"22\" startChar=\"5\" endLine=\"22\" endChar=\"54\" message=\"Could not resolve code path medication.code for the type of the retrieve QUICK.MedicationPrescription.\" errorType=\"semantic\" errorSeverity=\"warning\"/>\n <wstxns8:annotation wstxns8:type=\"CqlToElmError\" libraryId=\"CMS146\" libraryVersion=\"2\" startLine=\"22\" startChar=\"5\" endLine=\"22\" endChar=\"54\" message=\"Could not resolve membership operator for terminology target of the retrieve.\" errorType=\"semantic\" errorSeverity=\"warning\"/>\n </wstxns8:annotation>\n</Library>" but: was "<?xml version='1.1' encoding='UTF-8'?>\n<Library>\n <wstxns1:identifier xmlns:wstxns1=\"urn:hl7-org:elm:r1\" id=\"CMS146\" version=\"2\"/>\n <wstxns2:schemaIdentifier xmlns:wstxns2=\"urn:hl7-org:elm:r1\" id=\"urn:hl7-org:elm\" version=\"r1\"/>\n <wstxns3:usings xmlns:wstxns3=\"urn:hl7-org:elm:r1\">\n <wstxns3:def>\n <wstxns3:def localIdentifier=\"System\" uri=\"urn:hl7-org:elm-types:r1\"/>\n <wstxns3:def localIdentifier=\"QUICK\" uri=\"http://hl7.org/fhir\"/>\n </wstxns3:def>\n </wstxns3:usings>\n <wstxns4:parameters xmlns:wstxns4=\"urn:hl7-org:elm:r1\">\n <wstxns4:def>\n <wstxns4:def name=\"MeasurementPeriod\" accessLevel=\"Public\">\n <wstxns4:default lowClosed=\"true\" highClosed=\"false\">\n <wstxns4:low>\n <wstxns4:year valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"2013\"/>\n <wstxns4:month valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"1\"/>\n <wstxns4:day valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"1\"/>\n <wstxns4:hour valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n <wstxns4:minute valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n <wstxns4:second valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n <wstxns4:millisecond valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n <wstxns4:signature>\n <wstxns4:signature wstxns4:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}Integer\"/>\n <wstxns4:signature wstxns4:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}Integer\"/>\n <wstxns4:signature wstxns4:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}Integer\"/>\n <wstxns4:signature wstxns4:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}Integer\"/>\n <wstxns4:signature wstxns4:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}Integer\"/>\n <wstxns4:signature wstxns4:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}Integer\"/>\n <wstxns4:signature wstxns4:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}Integer\"/>\n </wstxns4:signature>\n </wstxns4:low>\n <wstxns4:high>\n <wstxns4:year valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"2014\"/>\n <wstxns4:month valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"1\"/>\n <wstxns4:day valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"1\"/>\n <wstxns4:hour valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n <wstxns4:minute valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n <wstxns4:second valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n <wstxns4:millisecond valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n <wstxns4:signature>\n <wstxns4:signature wstxns4:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}Integer\"/>\n <wstxns4:signature wstxns4:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}Integer\"/>\n <wstxns4:signature wstxns4:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}Integer\"/>\n <wstxns4:signature wstxns4:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}Integer\"/>\n <wstxns4:signature wstxns4:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}Integer\"/>\n <wstxns4:signature wstxns4:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}Integer\"/>\n <wstxns4:signature wstxns4:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}Integer\"/>\n </wstxns4:signature>\n </wstxns4:high>\n </wstxns4:default>\n </wstxns4:def>\n </wstxns4:def>\n </wstxns4:parameters>\n <wstxns5:valueSets xmlns:wstxns5=\"urn:hl7-org:elm:r1\">\n <wstxns5:def>\n <wstxns5:def name=\"Acute Pharyngitis\" id=\"2.16.840.1.113883.3.464.1003.102.12.1011\" accessLevel=\"Public\"/>\n <wstxns5:def name=\"Acute Tonsillitis\" id=\"2.16.840.1.113883.3.464.1003.102.12.1012\" accessLevel=\"Public\"/>\n <wstxns5:def name=\"Ambulatory/ED Visit\" id=\"2.16.840.1.113883.3.464.1003.101.12.1061\" accessLevel=\"Public\"/>\n <wstxns5:def name=\"Antibiotic Medications\" id=\"2.16.840.1.113883.3.464.1003.196.12.1001\" accessLevel=\"Public\"/>\n <wstxns5:def name=\"Group A Streptococcus Test\" id=\"2.16.840.1.113883.3.464.1003.198.12.1012\" accessLevel=\"Public\"/>\n </wstxns5:def>\n </wstxns5:valueSets>\n <wstxns6:contexts xmlns:wstxns6=\"urn:hl7-org:elm:r1\">\n <wstxns6:def>\n <wstxns6:def name=\"Patient\"/>\n </wstxns6:def>\n </wstxns6:contexts>\n <wstxns7:statements xmlns:wstxns7=\"urn:hl7-org:elm:r1\">\n <wstxns7:def>\n <wstxns7:def name=\"Patient\" context=\"Patient\">\n <wstxns7:expression>\n <wstxns7:operand dataType=\"{http://hl7.org/fhir}Patient\" templateId=\"patient-qicore-qicore-patient\"/>\n </wstxns7:expression>\n </wstxns7:def>\n <wstxns7:def name=\"InDemographic\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression>\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}Boolean\"/>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}Boolean\"/>\n </wstxns7:signature>\n <wstxns7:operand>\n <wstxns7:operand>\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}Integer\"/>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}Integer\"/>\n </wstxns7:signature>\n <wstxns7:operand>\n <wstxns7:operand precision=\"Year\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}DateTime\"/>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}DateTime\"/>\n </wstxns7:signature>\n <wstxns7:operand>\n <wstxns7:operand path=\"birthDate\">\n <wstxns7:source name=\"Patient\"/>\n </wstxns7:operand>\n <wstxns7:operand>\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"IntervalTypeSpecifier\">\n <wstxns7:pointType wstxns7:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}DateTime\"/>\n </wstxns7:signature>\n </wstxns7:signature>\n <wstxns7:operand name=\"MeasurementPeriod\"/>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:operand>\n <wstxns7:operand valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"2\"/>\n </wstxns7:operand>\n </wstxns7:operand>\n <wstxns7:operand>\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}Integer\"/>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}Integer\"/>\n </wstxns7:signature>\n <wstxns7:operand>\n <wstxns7:operand precision=\"Year\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}DateTime\"/>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}DateTime\"/>\n </wstxns7:signature>\n <wstxns7:operand>\n <wstxns7:operand path=\"birthDate\">\n <wstxns7:source name=\"Patient\"/>\n </wstxns7:operand>\n <wstxns7:operand>\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"IntervalTypeSpecifier\">\n <wstxns7:pointType wstxns7:type=\"NamedTypeSpecifier\" name=\"{urn:hl7-org:elm-types:r1}DateTime\"/>\n </wstxns7:signature>\n </wstxns7:signature>\n <wstxns7:operand name=\"MeasurementPeriod\"/>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:operand>\n <wstxns7:operand valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"18\"/>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:expression>\n </wstxns7:def>\n <wstxns7:def name=\"Pharyngitis\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression/>\n </wstxns7:def>\n <wstxns7:def name=\"Antibiotics\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression/>\n </wstxns7:def>\n <wstxns7:def name=\"TargetEncounters\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression/>\n </wstxns7:def>\n <wstxns7:def name=\"TargetDiagnoses\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression/>\n </wstxns7:def>\n <wstxns7:def name=\"HasPriorAntibiotics\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression/>\n </wstxns7:def>\n <wstxns7:def name=\"HasTargetEncounter\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression/>\n </wstxns7:def>\n <wstxns7:def name=\"InInitialPopulation\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression/>\n </wstxns7:def>\n <wstxns7:def name=\"InDenominator\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression valueType=\"{urn:hl7-org:elm-types:r1}Boolean\" value=\"true\"/>\n </wstxns7:def>\n <wstxns7:def name=\"InDenominatorExclusions\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression/>\n </wstxns7:def>\n <wstxns7:def name=\"InNumerator\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression/>\n </wstxns7:def>\n </wstxns7:def>\n </wstxns7:statements>\n <wstxns8:annotation xmlns:wstxns8=\"urn:hl7-org:elm:r1\">\n <wstxns8:annotation wstxns8:type=\"CqlToElmInfo\" translatorOptions=\"\" signatureLevel=\"All\"/>\n <wstxns8:annotation wstxns8:type=\"CqlToElmError\" libraryId=\"CMS146\" libraryVersion=\"2\" startLine=\"19\" startChar=\"5\" endLine=\"19\" endChar=\"36\" message=\"Internal translator error.\" errorType=\"internal\" errorSeverity=\"error\"/>\n <wstxns8:annotation wstxns8:type=\"CqlToElmError\" libraryId=\"CMS146\" libraryVersion=\"2\" startLine=\"22\" startChar=\"5\" endLine=\"22\" endChar=\"54\" message=\"Could not resolve code path medication.code for the type of the retrieve QUICK.MedicationPrescription.\" errorType=\"semantic\" errorSeverity=\"warning\"/>\n <wstxns8:annotation wstxns8:type=\"CqlToElmError\" libraryId=\"CMS146\" libraryVersion=\"2\" startLine=\"22\" startChar=\"5\" endLine=\"22\" endChar=\"54\" message=\"Internal translator error.\" errorType=\"internal\" errorSeverity=\"error\"/>\n <wstxns8:annotation wstxns8:type=\"CqlToElmError\" libraryId=\"CMS146\" libraryVersion=\"2\" startLine=\"25\" startChar=\"5\" endLine=\"25\" endChar=\"38\" message=\"Internal translator error.\" errorType=\"internal\" errorSeverity=\"error\"/>\n <wstxns8:annotation wstxns8:type=\"CqlToElmError\" libraryId=\"CMS146\" libraryVersion=\"2\" startLine=\"31\" startChar=\"5\" endLine=\"31\" endChar=\"15\" message=\"Could not validate reference to expression Pharyngitis because its definition contains errors.\" errorType=\"semantic\" errorSeverity=\"error\"/>\n <wstxns8:annotation wstxns8:type=\"CqlToElmError\" libraryId=\"CMS146\" libraryVersion=\"2\" startLine=\"34\" startChar=\"13\" endLine=\"34\" endChar=\"23\" message=\"Could not validate reference to expression Antibiotics because its definition contains errors.\" errorType=\"semantic\" errorSeverity=\"error\"/>\n <wstxns8:annotation wstxns8:type=\"CqlToElmError\" libraryId=\"CMS146\" libraryVersion=\"2\" startLine=\"37\" startChar=\"13\" endLine=\"37\" endChar=\"28\" message=\"Could not validate reference to expression TargetEncounters because its definition contains errors.\" errorType=\"semantic\" errorSeverity=\"error\"/>\n <wstxns8:annotation wstxns8:type=\"CqlToElmError\" libraryId=\"CMS146\" libraryVersion=\"2\" startLine=\"40\" startChar=\"23\" endLine=\"40\" endChar=\"40\" message=\"Could not validate reference to expression HasTargetEncounter because its definition contains errors.\" errorType=\"semantic\" errorSeverity=\"error\"/>\n <wstxns8:annotation wstxns8:type=\"CqlToElmError\" libraryId=\"CMS146\" libraryVersion=\"2\" startLine=\"46\" startChar=\"5\" endLine=\"46\" endChar=\"23\" message=\"Could not validate reference to expression HasPriorAntibiotics because its definition contains errors.\" errorType=\"semantic\" errorSeverity=\"error\"/>\n <wstxns8:annotation wstxns8:type=\"CqlToElmError\" libraryId=\"CMS146\" libraryVersion=\"2\" startLine=\"49\" startChar=\"13\" endLine=\"49\" endChar=\"55\" message=\"Internal translator error.\" errorType=\"internal\" errorSeverity=\"error\"/>\n </wstxns8:annotation>\n</Library>"
CommentTests.comments(): Src/java/cql-to-elm/src/test/java/org/cqframework/cql/cql2elm/CommentTests.java#L23
java.lang.AssertionError: [org.cqframework.cql.cql2elm.CqlInternalException: Internal translator error., org.cqframework.cql.cql2elm.CqlInternalException: Internal translator error., org.cqframework.cql.cql2elm.CqlSemanticException: Internal error: could not determine result type, org.cqframework.cql.cql2elm.CqlSemanticException: Internal error: could not determine result type, org.cqframework.cql.cql2elm.CqlSemanticException: Internal error: could not determine result type, org.cqframework.cql.cql2elm.CqlInternalException: Internal translator error., org.cqframework.cql.cql2elm.CqlSemanticException: Internal error: could not determine result type, org.cqframework.cql.cql2elm.CqlInternalException: Internal translator error., org.cqframework.cql.cql2elm.CqlInternalException: Internal translator error., org.cqframework.cql.cql2elm.CqlSemanticException: Internal error: could not determine result type, org.cqframework.cql.cql2elm.CqlSemanticException: Could not validate reference to parameter MeasurementPeriod because its definition contains errors., org.cqframework.cql.cql2elm.CqlSemanticException: Could not determine signature for invocation of operator System.Collapse., org.cqframework.cql.cql2elm.CqlSemanticException: Could not validate reference to parameter MeasurementPeriod because its definition contains errors., org.cqframework.cql.cql2elm.CqlSemanticException: Could not validate reference to parameter MeasurementPeriod because its definition contains errors.] Expected: is <0> but: was <14>
Cql2ElmVisitorTest.andExpressions(): Src/java/cql-to-elm/src/test/java/org/cqframework/cql/cql2elm/Cql2ElmVisitorTest.java#L80
java.lang.AssertionError: Expected: not an empty collection but: was <[]>
Cql2ElmVisitorTest.booleanLiteral(): Src/java/cql-to-elm/src/test/java/org/cqframework/cql/cql2elm/Cql2ElmVisitorTest.java#L34
java.lang.AssertionError: Expected: not an empty collection but: was <[]>
Cql2ElmVisitorTest.quantityLiteral(): Src/java/cql-to-elm/src/test/java/org/cqframework/cql/cql2elm/Cql2ElmVisitorTest.java#L58
java.lang.AssertionError: Expected: not an empty collection but: was <[]>
Cql2ElmVisitorTest.isTrueExpressions(): Src/java/cql-to-elm/src/test/java/org/cqframework/cql/cql2elm/Cql2ElmVisitorTest.java#L165
java.lang.AssertionError: Expected: not an empty collection but: was <[]>
Cql2ElmVisitorTest.let(): Src/java/cql-to-elm/src/test/java/org/cqframework/cql/cql2elm/Cql2ElmVisitorTest.java#L27
java.lang.AssertionError: Expected: not an empty collection but: was <[]>
Cql2ElmVisitorTest.isNotTrueExpressions(): Src/java/cql-to-elm/src/test/java/org/cqframework/cql/cql2elm/Cql2ElmVisitorTest.java#L178
java.lang.AssertionError: Expected: not an empty collection but: was <[]>
Cql2ElmVisitorTest.stringLiteral(): Src/java/cql-to-elm/src/test/java/org/cqframework/cql/cql2elm/Cql2ElmVisitorTest.java#L44
java.lang.AssertionError: Expected: not an empty collection but: was <[]>
Cql2ElmVisitorTest.arithmeticExpressions(): Src/java/cql-to-elm/src/test/java/org/cqframework/cql/cql2elm/Cql2ElmVisitorTest.java#L300
java.lang.AssertionError: Expected: not an empty collection but: was <[]>
Cql2ElmVisitorTest.orExpressions(): Src/java/cql-to-elm/src/test/java/org/cqframework/cql/cql2elm/Cql2ElmVisitorTest.java#L95
java.lang.AssertionError: Expected: not an empty collection but: was <[]>
Cql2ElmVisitorTest.isNullExpressions(): Src/java/cql-to-elm/src/test/java/org/cqframework/cql/cql2elm/Cql2ElmVisitorTest.java#L190
java.lang.AssertionError: Expected: not an empty collection but: was <[]>
Cql2ElmVisitorTest.notEqualExpression(): Src/java/cql-to-elm/src/test/java/org/cqframework/cql/cql2elm/Cql2ElmVisitorTest.java#L153
java.lang.AssertionError: Expected: not an empty collection but: was <[]>
Cql2ElmVisitorTest.comparisonExpressions(): Src/java/cql-to-elm/src/test/java/org/cqframework/cql/cql2elm/Cql2ElmVisitorTest.java#L134
java.lang.AssertionError: Expected: not an empty collection but: was <[]>
Cql2ElmVisitorTest.isNotNullExpressions(): Src/java/cql-to-elm/src/test/java/org/cqframework/cql/cql2elm/Cql2ElmVisitorTest.java#L203
java.lang.AssertionError: Expected: not an empty collection but: was <[]>
Cql2ElmVisitorTest.nullLiteral(): Src/java/cql-to-elm/src/test/java/org/cqframework/cql/cql2elm/Cql2ElmVisitorTest.java#L51
java.lang.AssertionError: Expected: not an empty collection but: was <[]>
EscapeSequenceTests.identifier(): Src/java/cql-to-elm/src/test/java/org/cqframework/cql/cql2elm/EscapeSequenceTests.java#L131
java.lang.AssertionError: Expected: ExpressionDef w/ type: <org.hl7.elm.r1.Literal> and result: <System.String> but: had null result type
EscapeSequenceTests.string(): Src/java/cql-to-elm/src/test/java/org/cqframework/cql/cql2elm/EscapeSequenceTests.java#L36
java.lang.AssertionError: Expected: ExpressionDef w/ type: <org.hl7.elm.r1.Literal> and result: <System.String> but: had null result type
EscapeSequenceWithBacktickTests.identifier(): Src/java/cql-to-elm/src/test/java/org/cqframework/cql/cql2elm/EscapeSequenceWithBacktickTests.java#L37
java.lang.AssertionError: Expected: ExpressionDef w/ type: <org.hl7.elm.r1.Literal> and result: <System.String> but: had null result type
HidingTests.hidingIncludeDefinition(): Src/java/cql-to-elm/src/test/java/org/cqframework/cql/cql2elm/HidingTests.java#L198
java.lang.AssertionError: [org.cqframework.cql.cql2elm.CqlInternalException: Internal translator error., org.cqframework.cql.cql2elm.CqlInternalException: Internal translator error., org.cqframework.cql.cql2elm.CqlSemanticException: Internal error: could not determine result type, org.cqframework.cql.cql2elm.CqlSemanticException: Internal error: could not determine result type, org.cqframework.cql.cql2elm.CqlSemanticException: Internal error: could not determine result type, org.cqframework.cql.cql2elm.CqlInternalException: Internal translator error., org.cqframework.cql.cql2elm.CqlSemanticException: Internal error: could not determine result type, org.cqframework.cql.cql2elm.CqlInternalException: Internal translator error., org.cqframework.cql.cql2elm.CqlInternalException: Internal translator error., org.cqframework.cql.cql2elm.CqlSemanticException: Internal error: could not determine result type] Expected: is <0> but: was <10>
HidingTests.caseInsensitiveWarning(): Src/java/cql-to-elm/src/test/java/org/cqframework/cql/cql2elm/HidingTests.java#L16
java.lang.AssertionError: [org.cqframework.cql.cql2elm.CqlInternalException: Internal translator error., org.cqframework.cql.cql2elm.CqlInternalException: Internal translator error., org.cqframework.cql.cql2elm.CqlSemanticException: Internal error: could not determine result type, org.cqframework.cql.cql2elm.CqlSemanticException: Internal error: could not determine result type, org.cqframework.cql.cql2elm.CqlSemanticException: Internal error: could not determine result type, org.cqframework.cql.cql2elm.CqlInternalException: Internal translator error., org.cqframework.cql.cql2elm.CqlSemanticException: Internal error: could not determine result type, org.cqframework.cql.cql2elm.CqlInternalException: Internal translator error., org.cqframework.cql.cql2elm.CqlInternalException: Internal translator error., org.cqframework.cql.cql2elm.CqlSemanticException: Internal error: could not determine result type] Expected: is <0> but: was <10>
LibraryTests.nonForwardDeclarationsScoringImplicitConversion(): Src/java/cql-to-elm/src/test/java/org/cqframework/cql/cql2elm/LibraryTests.java#L665
java.lang.NullPointerException: Cannot invoke "Object.toString()" because "resultType" is null
LibraryTests.forwardDeclarationsScoringImplicitConversion(): Src/java/cql-to-elm/src/test/java/org/cqframework/cql/cql2elm/LibraryTests.java#L571
java.lang.NullPointerException: Cannot invoke "Object.toString()" because "resultType" is null
LibraryTests.forwardDeclarationsScoringImplicitConversionMultipleParams(): Src/java/cql-to-elm/src/test/java/org/cqframework/cql/cql2elm/LibraryTests.java#L626
java.lang.NullPointerException: Cannot invoke "Object.toString()" because "resultType" is null
gradle (ubuntu-latest)
Process completed with exit code 1.
gradle (windows-latest)
The job was canceled because "ubuntu-latest" failed.
gradle (windows-latest)
The operation was canceled.
gradle (ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636