Extend ObjectFactory to include a decoration function #379
Annotations
45 errors
CMS146ElmTest.testClinicalRequests:
Src/java/cql-to-elm/src/test/java/org/cqframework/cql/cql2elm/CMS146ElmTest.java#L113
java.lang.AssertionError:
Expected: is <[org.hl7.elm.r1.Retrieve@68eb2bf5[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), id=<null>(default), codes=org.hl7.elm.r1.ValueSetRef@17edb591[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), name=Acute Pharyngitis, libraryName=<null>(default), preserve=true], dateRange=<null>(default), context=<null>(default), include=<null>(default), codeFilter=<null>(default), dateFilter=<null>(default), otherFilter=<null>(default), dataType={http://hl7.org/fhir}Condition, templateId=condition-qicore-qicore-condition, idProperty=<null>(default), idSearch=<null>(default), contextProperty=<null>(default), contextSearch=<null>(default), codeProperty=code, codeSearch=<null>(default), codeComparator=in, valueSetProperty=<null>(default), dateProperty=<null>(default), dateLowProperty=<null>(default), dateHighProperty=<null>(default), dateSearch=<null>(default), includedIn=<null>(default)], org.hl7.elm.r1.Retrieve@124f77e4[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), id=<null>(default), codes=org.hl7.elm.r1.ValueSetRef@5678bbef[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), name=Acute Tonsillitis, libraryName=<null>(default), preserve=true], dateRange=<null>(default), context=<null>(default), include=<null>(default), codeFilter=<null>(default), dateFilter=<null>(default), otherFilter=<null>(default), dataType={http://hl7.org/fhir}Condition, templateId=condition-qicore-qicore-condition, idProperty=<null>(default), idSearch=<null>(default), contextProperty=<null>(default), contextSearch=<null>(default), codeProperty=code, codeSearch=<null>(default), codeComparator=in, valueSetProperty=<null>(default), dateProperty=<null>(default), dateLowProperty=<null>(default), dateHighProperty=<null>(default), dateSearch=<null>(default), includedIn=<null>(default)], org.hl7.elm.r1.Retrieve@677d8656[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), id=<null>(default), codes=org.hl7.elm.r1.ValueSetRef@1d46e615[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), name=Antibiotic Medications, libraryName=<null>(default), preserve=true], dateRange=<null>(default), context=<null>(default), include=<null>(default), codeFilter=<null>(default), dateFilter=<null>(default), otherFilter=<null>(default), dataType={http://hl7.org/fhir}MedicationPrescription, templateId=medicationprescription-qicore-qicore-medicationprescription, idProperty=<null>(default), idSearch=<null>(default), contextProperty=<null>(default), contextSearch=<null>(default), codeProperty=medication.code, codeSearch=<null>(default), codeComparator=in, valueSetProperty=<null>(default), dateProperty=<null>(default), dateLowProperty=<null>(default), dateHighProperty=<null>(default), dateSearch=<null>(default), includedIn=<null>(default)], org.hl7.elm.r1.Retrieve@745f520e[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), id=<null>(default), codes=org.hl7.elm.r1.ValueSetRef@676b38a9[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), name=Ambulatory/ED Visit, libraryName=<null>(default), preserve=true], dateRange=<null>(default), context=<null>(default), include=<null>(default), codeFilter=<null>(default), dateFilter=<null>(default), otherFilter=<null>(default), dataType={http://hl7.org/fhir}Encounter, templateId=encounter-qicore-qicore-encounter, idProperty=<null>(default), idSearch=<null>(default), contextProperty=<null>(default), contextSearch=<null>(default), codeProperty=type, codeSearch=<null>(default), codeComparator=in, valueSetProperty=<null>(default), dateProperty=<null>(default), dateLowProperty=<null>(default), dateHighProperty=<null>(default), dateSearch=<null>(default), includedIn=<null>(default)], org.hl7.elm.r1.Retrieve@6c2f5d24[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), id=<null>(default), codes=org.hl7.elm.r1.ValueSetRef@46f378fa[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), name=Group A Streptococcus Test, libraryName=<null>(default), preserve=true], dateRange=<null>(default), context=<null>(default), include=<null>(default), codeFilter=<null>(default), dateFilter=<null>(default), otherFilter=<null>(default), dataType={http://hl7.org/fhir}Observation, templateId=observation-qicore-qicore-observation, idProperty=<null>(default), idSearch=<null>(default), contextProperty=<null>(default), contextSearch=<null>(default), codeProperty=code, codeSearch=<null>(default), codeComparator=in, valueSetProperty=<null>(default), dateProperty=<null>(default), dateLowProperty=<null>(default), dateHighProperty=<null>(default), dateSearch=<null>(default), includedIn=<null>(default)]]>
but: was <[org.hl7.elm.r1.Retrieve@48b29d08[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=264, locator=<null>(default), resultTypeName=<null>(default), id=<null>(default), codes=org.hl7.elm.r1.ValueSetRef@76a25ac7[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=263, locator=<null>(default), resultTypeName=<null>(default), name=Acute Pharyngitis, libraryName=<null>(default), preserve=true], dateRange=<null>(default), context=<null>(default), include=<null>(default), codeFilter=<null>(default), dateFilter=<null>(default), otherFilter=<null>(default), dataType={http://hl7.org/fhir}Condition, templateId=condition-qicore-qicore-condition, idProperty=<null>(default), idSearch=<null>(default), contextProperty=<null>(default), contextSearch=<null>(default), codeProperty=code, codeSearch=<null>(default), codeComparator=in, valueSetProperty=<null>(default), dateProperty=<null>(default), dateLowProperty=<null>(default), dateHighProperty=<null>(default), dateSearch=<null>(default), includedIn=<null>(default)], org.hl7.elm.r1.Retrieve@60f2ef4a[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=268, locator=<null>(default), resultTypeName=<null>(default), id=<null>(default), codes=org.hl7.elm.r1.ValueSetRef@3d1b6f06[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=267, locator=<null>(default), resultTypeName=<null>(default), name=Acute Tonsillitis, libraryName=<null>(default), preserve=true], dateRange=<null>(default), context=<null>(default), include=<null>(default), codeFilter=<null>(default), dateFilter=<null>(default), otherFilter=<null>(default), dataType={http://hl7.org/fhir}Condition, templateId=condition-qicore-qicore-condition, idProperty=<null>(default), idSearch=<null>(default), contextProperty=<null>(default), contextSearch=<null>(default), codeProperty=code, codeSearch=<null>(default), codeComparator=in, valueSetProperty=<null>(default), dateProperty=<null>(default), dateLowProperty=<null>(default), dateHighProperty=<null>(default), dateSearch=<null>(default), includedIn=<null>(default)], org.hl7.elm.r1.Retrieve@611def70[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=274, locator=<null>(default), resultTypeName=<null>(default), id=<null>(default), codes=org.hl7.elm.r1.ValueSetRef@50df5f6[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=273, locator=<null>(default), resultTypeName=<null>(default), name=Antibiotic Medications, libraryName=<null>(default), preserve=true], dateRange=<null>(default), context=<null>(default), include=<null>(default), codeFilter=<null>(default), dateFilter=<null>(default), otherFilter=<null>(default), dataType={http://hl7.org/fhir}MedicationPrescription, templateId=medicationprescription-qicore-qicore-medicationprescription, idProperty=<null>(default), idSearch=<null>(default), contextProperty=<null>(default), contextSearch=<null>(default), codeProperty=medication.code, codeSearch=<null>(default), codeComparator=in, valueSetProperty=<null>(default), dateProperty=<null>(default), dateLowProperty=<null>(default), dateHighProperty=<null>(default), dateSearch=<null>(default), includedIn=<null>(default)], org.hl7.elm.r1.Retrieve@72f2c2a2[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=280, locator=<null>(default), resultTypeName=<null>(default), id=<null>(default), codes=org.hl7.elm.r1.ValueSetRef@1477f0a5[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=279, locator=<null>(default), resultTypeName=<null>(default), name=Ambulatory/ED Visit, libraryName=<null>(default), preserve=true], dateRange=<null>(default), context=<null>(default), include=<null>(default), codeFilter=<null>(default), dateFilter=<null>(default), otherFilter=<null>(default), dataType={http://hl7.org/fhir}Encounter, templateId=encounter-qicore-qicore-encounter, idProperty=<null>(default), idSearch=<null>(default), contextProperty=<null>(default), contextSearch=<null>(default), codeProperty=type, codeSearch=<null>(default), codeComparator=in, valueSetProperty=<null>(default), dateProperty=<null>(default), dateLowProperty=<null>(default), dateHighProperty=<null>(default), dateSearch=<null>(default), includedIn=<null>(default)], org.hl7.elm.r1.Retrieve@1a9feb34[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=372, locator=<null>(default), resultTypeName=<null>(default), id=<null>(default), codes=org.hl7.elm.r1.ValueSetRef@70570fd4[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=371, locator=<null>(default), resultTypeName=<null>(default), name=Group A Streptococcus Test, libraryName=<null>(default), preserve=true], dateRange=<null>(default), context=<null>(default), include=<null>(default), codeFilter=<null>(default), dateFilter=<null>(default), otherFilter=<null>(default), dataType={http://hl7.org/fhir}Observation, templateId=observation-qicore-qicore-observation, idProperty=<null>(default), idSearch=<null>(default), contextProperty=<null>(default), contextSearch=<null>(default), codeProperty=code, codeSearch=<null>(default), codeComparator=in, valueSetProperty=<null>(default), dateProperty=<null>(default), dateLowProperty=<null>(default), dateHighProperty=<null>(default), dateSearch=<null>(default), includedIn=<null>(default)]]>
|
CMS146JsonTest.testCms146_SignatureLevels[0](CMS146v2_Expected_SignatureLevel_None.json, None):
Src/java/cql-to-elm/src/test/java/org/cqframework/cql/cql2elm/CMS146JsonTest.java#L38
java.lang.AssertionError:
Expected: "{\n \"library\" : {\n \"type\" : \"Library\",\n \"identifier\" : {\n \"type\" : \"VersionedIdentifier\",\n \"id\" : \"CMS146\",\n \"version\" : \"2\"\n },\n \"schemaIdentifier\" : {\n \"type\" : \"VersionedIdentifier\",\n \"id\" : \"urn:hl7-org:elm\",\n \"version\" : \"r1\"\n },\n \"usings\" : {\n \"type\" : \"Library$Usings\",\n \"def\" : [ {\n \"type\" : \"UsingDef\",\n \"localIdentifier\" : \"System\",\n \"uri\" : \"urn:hl7-org:elm-types:r1\"\n }, {\n \"type\" : \"UsingDef\",\n \"localIdentifier\" : \"QUICK\",\n \"uri\" : \"http://hl7.org/fhir\"\n } ]\n },\n \"parameters\" : {\n \"type\" : \"Library$Parameters\",\n \"def\" : [ {\n \"type\" : \"ParameterDef\",\n \"default\" : {\n \"type\" : \"Interval\",\n \"low\" : {\n \"type\" : \"DateTime\",\n \"year\" : {\n \"type\" : \"Literal\",\n \"valueType\" : \"{urn:hl7-org:elm-types:r1}Integer\",\n \"value\" : \"2013\"\n },\n \"month\" : {\n \"type\" : \"Literal\",\n \"valueType\" : \"{urn:hl7-org:elm-types:r1}Integer\",\n \"value\" : \"1\"\n },\n \"day\" : {\n \"type\" : \"Literal\",\n \"valueType\" : \"{urn:hl7-org:elm-types:r1}Integer\",\n \"value\" : \"1\"\n },\n \"hour\" : {\n \"type\" : \"Literal\",\n \"valueType\" : \"{urn:hl7-org:elm-types:r1}Integer\",\n \"value\" : \"0\"\n },\n \"minute\" : {\n \"type\" : \"Literal\",\n \"valueType\" : \"{urn:hl7-org:elm-types:r1}Integer\",\n \"value\" : \"0\"\n },\n \"second\" : {\n \"type\" : \"Literal\",\n \"valueType\" : \"{urn:hl7-org:elm-types:r1}Integer\",\n \"value\" : \"0\"\n },\n \"millisecond\" : {\n \"type\" : \"Literal\",\n \"valueType\" : \"{urn:hl7-org:elm-types:r1}Integer\",\n \"value\" : \"0\"\n }\n },\n \"high\" : {\n \"type\" : \"DateTime\",\n \"year\" : {\n \"type\" : \"Literal\",\n \"valueType\" : \"{urn:hl7-org:elm-types:r1}Integer\",\n \"value\" : \"2014\"\n },\n \"month\" : {\n \"type\" : \"Literal\",\n \"valueType\" : \"{urn:hl7-org:elm-types:r1}Integer\",\n \"value\" : \"1\"\n },\n \"day\" : {\n \"type\" : \"Literal\",\n \"valueType\" : \"{urn:hl7-org:elm-types:r1}Integer\",\n \"value\" : \"1\"\n },\n \"hour\" : {\n \"type\" : \"Literal\",\n \"valueType\" : \"{urn:hl7-org:elm-types:r1}Integer\",\n \"value\" : \"0\"\n },\n \"minute\" : {\n \"type\" : \"Literal\",\n \"valueType\" : \"{urn:hl7-org:elm-types:r1}Integer\",\n \"value\" : \"0\"\n },\n \"second\" : {\n \"type\" : \"Literal\",\n \"valueType\" : \"{urn:hl7-org:elm-types:r1}Integer\",\n \"value\" : \"0\"\n },\n \"millisecond\" : {\n \"type\" : \"Literal\",\n \"valueType\" : \"{urn:hl7-org:elm-types:r1}Integer\",\n \"value\" : \"0\"\n }\n },\n \"lowClosed\" : true,\n \"highClosed\" : false\n },\n \"name\" : \"MeasurementPeriod\",\n \"accessLevel\" : \"Public\"\n } ]\n },\n \"valueSets\" : {\n \"type\" : \"Library$ValueSets\",\n \"def\" : [ {\n \"type\" : \"ValueSetDef\",\n \"name\" : \"Acute Pharyngitis\",\n \"id\" : \"2.16.840.1.113883.3.464.1003.102.12.1011\",\n \"accessLevel\" : \"Public\"\n }, {\n \"type\" : \"ValueSetDef\",\n \"name\" : \"Acute Tonsillitis\",\n \"id\" : \"2.16.840.1.113883.3.464.1003.102.12.1012\",\n \"accessLevel\" : \"Public\"\n }, {\n \"type\" : \"ValueSetDef\",\n \"name\" : \"Ambulatory/ED Visit\",\n \"id\" : \"2.16.840.1.113883.3.464.1003.101.12.1061\",\n \"accessLevel\" : \"Public\"\n }, {\n \"type\" : \"ValueSetDef\",\n \"name\" : \"Antibiotic Medications\",\n \"id\" : \"2.16.840.1.113883.3.464.1003.196.12.1001\",\n \"accessLevel\" : \"Public\"\n }, {\n \"type\" : \"ValueSetDef\",\n \"name\" : \"Group A Streptococcus Test\",\n \"id\" : \"2.16.840.1.113883.3.464.1003.198.12.1012\",\n \"accessLevel\" : \"Public\"\n } ]\n },\n \"contexts\" : {\n \"type\" : \"Library$Contexts\",\n \"def\" : [ {\n \"type\" : \"ContextDef\",\n \"name\" : \"Patient\"\n } ]\n },\n \"statements\" : {\n \"type\" : \"Library$Statements\",\n \"def\" : [ {\n \"type\" : \"ExpressionDef\",\n \"expression\" : {\n \"type\" : \"SingletonFrom\",\n \"operand\" : {\n \"type\" : \"Retrieve\",\n \"dataType\" : \"{http://hl7.org/fhir}Patient\",\n \"templateId\" : \"patient-qicore-qicore-patient\"\n }\n },\n \"name\" : \"Patient\",\n \"context\" : \"Patient\"\n }, {\n \"type\" : \"ExpressionDef\",\n \"expression\" : {\n \"type\" : \"And\",\n \"operand\" : [ {\n \"type\" : \"GreaterOrEqual\",\n \"operand\" : [ {\n \"type\" : \"CalculateAgeAt\",\n \"operand\" : [ {\n \"type\" : \"Property\",\n \"source\" : {\n \"type\" : \"ExpressionRef\",\n \"name\" : \"Patient\"\n },\n \"path\" : \"birthDate\"\n }, {\n \"type\" : \"Start\",\n \"operand\" : {\n \"type\" : \"ParameterRef\",\n \"name\" : \"MeasurementPeriod\"\n }\n } ],\n \"precision\" : \"Year\"\n }, {\n \"type\" : \"Literal\",\n \"valueType\" : \"{urn:hl7-org:elm-types:r1}Integer\",\n \"value\" : \"2\"\n } ]\n }, {\n \"type\" : \"Less\",\n \"operand\" : [ {\n \"type\" : \"CalculateAgeAt\",\n \"operand\" : [ {\n \"type\" : \"Property\",\n \"source\" : {\n \"type\" : \"ExpressionRef\",\n \"name\" : \"Patient\"\n },\n \"path\" : \"birthDate\"\n }, {\n \"type\" : \"Start\",\n \"operand\" : {\n \"type\" : \"ParameterRef\",\n \"name\" : \"MeasurementPeriod\"\n }\n } ],\n \"precision\" : \"Year\"\n }, {\n \"type\" : \"Literal\",\n \"valueType\" : \"{urn:hl7-org:elm-types:r1}Integer\",\n \"value\" : \"18\"\n } ]\n } ]\n },\n \"name\" : \"InDemographic\",\n \"context\" : \"Patient\",\n \"accessLevel\" : \"Public\"\n }, {\n \"type\" : \"ExpressionDef\",\n \"expression\" : {\n \"type\" : \"Union\",\n \"operand\" : [ {\n \"type\" : \"Retrieve\",\n \"codes\" : {\n \"type\" : \"ValueSetRef\",\n \"name\" : \"Acute Pharyngitis\",\n \"preserve\" : true\n },\n \"dataType\" : \"{http://hl7.org/fhir}Condition\",\n \"templateId\" : \"condition-qicore-qicore-condition\",\n \"codeProperty\" : \"code\",\n \"codeComparator\" : \"in\"\n }, {\n \"type\" : \"Retrieve\",\n \"codes\" : {\n \"type\" : \"ValueSetRef\",\n \"name\" : \"Acute Tonsillitis\",\n \"preserve\" : true\n },\n \"dataType\" : \"{http://hl7.org/fhir}Condition\",\n \"templateId\" : \"condition-qicore-qicore-condition\",\n \"codeProperty\" : \"code\",\n \"codeComparator\" : \"in\"\n } ]\n },\n \"name\" : \"Pharyngitis\",\n \"context\" : \"Patient\",\n \"accessLevel\" : \"Public\"\n }, {\n \"type\" : \"ExpressionDef\",\n \"expression\" : {\n \"type\" : \"Retrieve\",\n \"codes\" : {\n \"type\" : \"ValueSetRef\",\n \"name\" : \"Antibiotic Medications\",\n \"preserve\" : true\n },\n \"dataType\" : \"{http://hl7.org/fhir}MedicationPrescription\",\n \"templateId\" : \"medicationprescription-qicore-qicore-medicationprescription\",\n \"codeProperty\" : \"medication.code\",\n \"codeComparator\" : \"in\"\n },\n \"name\" : \"Antibiotics\",\n \"context\" : \"Patient\",\n \"accessLevel\" : \"Public\"\n }, {\n \"type\" : \"ExpressionDef\",\n \"expression\" : {\n \"type\" : \"Query\",\n \"source\" : [ {\n \"type\" : \"AliasedQuerySource\",\n \"expression\" : {\n \"type\" : \"Retrieve\",\n \"codes\" : {\n \"type\" : \"ValueSetRef\",\n \"name\" : \"Ambulatory/ED Visit\",\n \"preserve\" : true\n },\n \"dataType\" : \"{http://hl7.org/fhir}Encounter\",\n \"templateId\" : \"encounter-qicore-qicore-encounter\",\n \"codeProperty\" : \"type\",\n \"codeComparator\" : \"in\"\n },\n \"alias\" : \"E\"\n } ],\n \"relationship\" : [ {\n \"type\" : \"With\",\n \"expression\" : {\n \"type\" : \"ExpressionRef\",\n \"name\" : \"Pharyngitis\"\n },\n \"suchThat\" : {\n \"type\" : \"OverlapsAfter\",\n \"operand\" : [ {\n \"type\" : \"Interval\",\n \"low\" : {\n \"type\" : \"Property\",\n \"path\" : \"onsetDateTime\",\n \"scope\" : \"P\"\n },\n \"high\" : {\n \"type\" : \"Property\",\n \"path\" : \"abatementDate\",\n \"scope\" : \"P\"\n },\n \"lowClosed\" : true,\n \"highClosed\" : true\n }, {\n \"type\" : \"Property\",\n \"path\" : \"period\",\n \"scope\" : \"E\"\n } ]\n },\n \"alias\" : \"P\"\n }, {\n \"type\" : \"With\",\n \"expression\" : {\n \"type\" : \"ExpressionRef\",\n \"name\" : \"Antibiotics\"\n },\n \"suchThat\" : {\n \"type\" : \"And\",\n \"operand\" : [ {\n \"type\" : \"In\",\n \"operand\" : [ {\n \"type\" : \"Property\",\n \"path\" : \"dateWritten\",\n \"scope\" : \"A\"\n }, {\n \"type\" : \"Interval\",\n \"low\" : {\n \"type\" : \"Start\",\n \"operand\" : {\n \"type\" : \"Property\",\n \"path\" : \"period\",\n \"scope\" : \"E\"\n }\n },\n \"high\" : {\n \"type\" : \"Add\",\n \"operand\" : [ {\n \"type\" : \"Start\",\n \"operand\" : {\n \"type\" : \"Property\",\n \"path\" : \"period\",\n \"scope\" : \"E\"\n }\n }, {\n \"type\" : \"Quantity\",\n \"value\" : 3,\n \"unit\" : \"days\"\n } ]\n },\n \"lowClosed\" : false,\n \"highClosed\" : true\n } ]\n }, {\n \"type\" : \"Not\",\n \"operand\" : {\n \"type\" : \"IsNull\",\n \"operand\" : {\n \"type\" : \"Start\",\n \"operand\" : {\n \"type\" : \"Property\",\n \"path\" : \"period\",\n \"scope\" : \"E\"\n }\n }\n }\n } ]\n },\n \"alias\" : \"A\"\n } ],\n \"where\" : {\n \"type\" : \"IncludedIn\",\n \"operand\" : [ {\n \"type\" : \"Property\",\n \"path\" : \"period\",\n \"scope\" : \"E\"\n }, {\n \"type\" : \"ParameterRef\",\n \"name\" : \"MeasurementPeriod\"\n } ]\n }\n },\n \"name\" : \"TargetEncounters\",\n \"context\" : \"Patient\",\n \"accessLevel\" : \"Public\"\n }, {\n \"type\" : \"ExpressionDef\",\n \"expression\" : {\n \"type\" : \"Query\",\n \"source\" : [ {\n \"type\" : \"AliasedQuerySource\",\n \"expression\" : {\n \"type\" : \"ExpressionRef\",\n \"name\" : \"Pharyngitis\"\n },\n \"alias\" : \"P\"\n } ],\n \"relationship\" : [ {\n \"type\" : \"With\",\n \"expression\" : {\n \"type\" : \"ExpressionRef\",\n \"name\" : \"TargetEncounters\"\n },\n \"suchThat\" : {\n \"type\" : \"OverlapsAfter\",\n \"operand\" : [ {\n \"type\" : \"Interval\",\n \"low\" : {\n \"type\" : \"Property\",\n \"path\" : \"onsetDateTime\",\n \"scope\" : \"P\"\n },\n \"high\" : {\n \"type\" : \"Property\",\n \"path\" : \"abatementDate\",\n \"scope\" : \"P\"\n },\n \"lowClosed\" : true,\n \"highClosed\" : true\n }, {\n \"type\" : \"Property\",\n \"path\" : \"period\",\n \"scope\" : \"E\"\n } ]\n },\n \"alias\" : \"E\"\n } ]\n },\n \"name\" : \"TargetDiagnoses\",\n \"context\" : \"Patient\",\n \"accessLevel\" : \"Public\"\n }, {\n \"type\" : \"ExpressionDef\",\n \"expression\" : {\n \"type\" : \"Exists\",\n \"operand\" : {\n \"type\" : \"Query\",\n \"source\" : [ {\n \"type\" : \"AliasedQuerySource\",\n \"expression\" : {\n \"type\" : \"ExpressionRef\",\n \"name\" : \"Antibiotics\"\n },\n \"alias\" : \"A\"\n } ],\n \"relationship\" : [ {\n \"type\" : \"With\",\n \"expression\" : {\n \"type\" : \"ExpressionRef\",\n \"name\" : \"TargetDiagnoses\"\n },\n \"suchThat\" : {\n \"type\" : \"And\",\n \"operand\" : [ {\n \"type\" : \"In\",\n \"operand\" : [ {\n \"type\" : \"Property\",\n \"path\" : \"dateWritten\",\n \"scope\" : \"A\"\n }, {\n \"type\" : \"Interval\",\n \"low\" : {\n \"type\" : \"Subtract\",\n \"operand\" : [ {\n \"type\" : \"Property\",\n \"path\" : \"onsetDateTime\",\n \"scope\" : \"D\"\n }, {\n \"type\" : \"Quantity\",\n \"value\" : 30,\n \"unit\" : \"days\"\n } ]\n },\n \"high\" : {\n \"type\" : \"Property\",\n \"path\" : \"onsetDateTime\",\n \"scope\" : \"D\"\n },\n \"lowClosed\" : true,\n \"highClosed\" : false\n } ]\n }, {\n \"type\" : \"Not\",\n \"operand\" : {\n \"type\" : \"IsNull\",\n \"operand\" : {\n \"type\" : \"Property\",\n \"path\" : \"onsetDateTime\",\n \"scope\" : \"D\"\n }\n }\n } ]\n },\n \"alias\" : \"D\"\n } ]\n }\n },\n \"name\" : \"HasPriorAntibiotics\",\n \"context\" : \"Patient\",\n \"accessLevel\" : \"Public\"\n }, {\n \"type\" : \"ExpressionDef\",\n \"expression\" : {\n \"type\" : \"Exists\",\n \"operand\" : {\n \"type\" : \"ExpressionRef\",\n \"name\" : \"TargetEncounters\"\n }\n },\n \"name\" : \"HasTargetEncounter\",\n \"context\" : \"Patient\",\n \"accessLevel\" : \"Public\"\n }, {\n \"type\" : \"ExpressionDef\",\n \"expression\" : {\n \"type\" : \"And\",\n \"operand\" : [ {\n \"type\" : \"ExpressionRef\",\n \"name\" : \"InDemographic\"\n }, {\n \"type\" : \"ExpressionRef\",\n \"name\" : \"HasTargetEncounter\"\n } ]\n },\n \"name\" : \"InInitialPopulation\",\n \"context\" : \"Patient\",\n \"accessLevel\" : \"Public\"\n }, {\n \"type\" : \"ExpressionDef\",\n \"expression\" : {\n \"type\" : \"Literal\",\n \"valueType\" : \"{urn:hl7-org:elm-types:r1}Boolean\",\n \"value\" : \"true\"\n },\n \"name\" : \"InDenominator\",\n \"context\" : \"Patient\",\n \"accessLevel\" : \"Public\"\n }, {\n \"type\" : \"ExpressionDef\",\n \"expression\" : {\n \"type\" : \"ExpressionRef\",\n \"name\" : \"HasPriorAntibiotics\"\n },\n \"name\" : \"InDenominatorExclusions\",\n \"context\" : \"Patient\",\n \"accessLevel\" : \"Public\"\n }, {\n \"type\" : \"ExpressionDef\",\n \"expression\" : {\n \"type\" : \"Exists\",\n \"operand\" : {\n \"type\" : \"Query\",\n \"source\" : [ {\n \"type\" : \"AliasedQuerySource\",\n \"expression\" : {\n \"type\" : \"Retrieve\",\n \"codes\" : {\n \"type\" : \"ValueSetRef\",\n \"name\" : \"Group A Streptococcus Test\",\n \"preserve\" : true\n },\n \"dataType\" : \"{http://hl7.org/fhir}Observation\",\n \"templateId\" : \"observation-qicore-qicore-observation\",\n \"codeProperty\" : \"code\",\n \"codeComparator\" : \"in\"\n },\n \"alias\" : \"R\"\n } ],\n \"relationship\" : [ ],\n \"where\" : {\n \"type\" : \"And\",\n \"operand\" : [ {\n \"type\" : \"In\",\n \"operand\" : [ {\n \"type\" : \"Property\",\n \"path\" : \"issued\",\n \"scope\" : \"R\"\n }, {\n \"type\" : \"ParameterRef\",\n \"name\" : \"MeasurementPeriod\"\n } ]\n }, {\n \"type\" : \"Not\",\n \"operand\" : {\n \"type\" : \"IsNull\",\n \"operand\" : {\n \"type\" : \"Property\",\n \"path\" : \"valueQuantity\",\n \"scope\" : \"R\"\n }\n }\n } ]\n }\n }\n },\n \"name\" : \"InNumerator\",\n \"context\" : \"Patient\",\n \"accessLevel\" : \"Public\"\n } ]\n },\n \"annotation\" : [ {\n \"type\" : \"CqlToElmInfo\",\n \"translatorOptions\" : \"\",\n \"signatureLevel\" : \"None\"\n }, {\n \"type\" : \"CqlToElmError\",\n \"libraryId\" : \"CMS146\",\n \"libraryVersion\" : \"2\",\n \"startLine\" : 22,\n \"startChar\" : 5,\n \"endLine\" : 22,\n \"endChar\" : 54,\n \"message\" : \"Could not resolve code path medication.code for the type of the retrieve QUICK.MedicationPrescription.\",\n \"errorType\" : \"semantic\",\n \"errorSeverity\" : \"warning\"\n }, {\n \"type\" : \"CqlToElmError\",\n \"libraryId\" : \"CMS146\",\n \"libraryVersion\" : \"2\",\n \"startLine\" : 22,\n \"startChar\" : 5,\n \"endLine\" : 22,\n \"endChar\" : 54,\n \"message\" : \"Could not resolve membership operator for terminology target of the retrieve.\",\n \"errorType\" : \"semantic\",\n \"errorSeverity\" : \"warning\"\n } ]\n }\n}"
but: library.contexts.def[0]
Unexpected: localId
; library.parameters.def[0].default.high.day
Unexpected: localId
; library.parameters.def[0].default.high.hour
Unexpected: localId
; library.parameters.def[0].default.high.millisecond
Unexpected: localId
; library.parameters.def[0].default.high.minute
Unexpected: localId
; library.parameters.def[0].default.high.month
Unexpected: localId
; library.parameters.def[0].default.high.second
Unexpected: localId
; library.parameters.def[0].default.high.year
Unexpected: localId
; library.parameters.def[0].default.high
Unexpected: localId
; library.parameters.def[0].default.low.day
Unexpected: localId
; library.parameters.def[0].default.low.hour
Unexpected: localId
; library.parameters.def[0].default.low.millisecond
Unexpected: localId
; library.parameters.def[0].default.low.minute
Unexpected: localId
; library.parameters.def[0].default.low.month
Unexpected: localId
; library.parameters.def[0].default.low.second
Unexpected: localId
; library.parameters.def[0].default.low.year
Unexpected: localId
; library.parameters.def[0].default.low
Unexpected: localId
; library.parameters.def[0].default
Unexpected: localId
; library.parameters.def[0]
Unexpected: localId
; library.statements.def[0].expression.operand
Unexpected: localId
; library.statements.def[0].expression
Unexpected: localId
; library.statements.def[0]
Unexpected: localId
; library.statements.def[1].expression.operand[0].operand[0].operand[0].source
Unexpected: localId
; library.statements.def[1].expression.operand[0].operand[0].operand[0]
Unexpected: localId
; library.statements.def[1].expression.operand[0].operand[0].operand[1].operand
Unexpected: localId
; library.statements.def[1].expression.operand[0].operand[0].operand[1]
Unexpected: localId
; library.statements.def[1].expression.operand[0].operand[0]
Unexpected: localId
; library.statements.def[1].expression.operand[0].operand[1]
Unexpected: localId
; library.statements.def[1].expression.operand[0]
Unexpected: localId
; library.statements.def[1].expression.operand[1].operand[0].operand[0].source
Unexpected: localId
; library.statements.def[1].expression.operand[1].operand[0].operand[0]
Unexpected: localId
; library.statements.def[1].expression.operand[1].operand[0].operand[1].operand
Unexpected: localId
; library.statements.def[1].expression.operand[1].operand[0].operand[1]
Unexpected: localId
; library.statements.def[1].expression.operand[1].operand[0]
Unexpected: localId
; library.statements.def[1].expression.operand[1].operand[1]
Unexpected: localId
; library.statements.def[1].expression.operand[1]
Unexpected: localId
; library.statements.def[1].expression
Unexpected: localId
; library.statements.def[1]
Unexpected: localId
; library.statements.def[2].expression.operand[0].codes
Unexpected: localId
; library.statements.def[2].expression.operand[0]
Unexpected: localId
; library.statements.def[2].expression.operand[1].codes
Unexpected: localId
; library.statements.def[2].expression.operand[1]
Unexpected: localId
; library.statements.def[2].expression
Unexpected: localId
; library.statements.def[2]
Unexpected: localId
; library.statements.def[3].expression.codes
Unexpected: localId
; library.statements.def[3].expression
Unexpected: localId
; library.statements.def[3]
Unexpected: localId
; library.statements.def[4].expression.relationship[0].expression
Unexpected: localId
; library.statements.def[4].expression.relationship[0].suchThat.operand[0].high
Unexpected: localId
; library.statements.def[4].expression.relationship[0].suchThat.operand[0].low
Unexpected: localId
; library.statements.def[4].expression.relationship[0].suchThat.operand[0]
Unexpected: localId
; library.statements.def[4].expression.relationship[0].suchThat.operand[1]
Unexpected: localId
; library.statements.def[4].expression.relationship[0].suchThat
Unexpected: localId
; library.statements.def[4].expression.relationship[0]
Unexpected: localId
; library.statements.def[4].expression.relationship[1].expression
Unexpected: localId
; library.statements.def[4].expression.relationship[1].suchThat.operand[0].operand[0]
Unexpected: localId
; library.statements.def[4].expression.relationship[1].suchThat.operand[0].operand[1].high.operand[0].operand
Unexpected: localId
; library.statements.def[4].expression.relationship[1].suchThat.operand[0].operand[1].high.operand[0]
Unexpected: localId
; library.statements.def[4].expression.relationship[1].suchThat.operand[0].operand[1].high.operand[1]
Unexpected: localId
; library.statements.def[4].expression.relationship[1].suchThat.operand[0].operand[1].high
Unexpected: localId
; library.statements.def[4].expression.relationship[1].suchThat.operand[0].operand[1].low.operand
Unexpected: localId
; library.statements.def[4].expression.relationship[1].suchThat.operand[0].operand[1].low
Unexpected: localId
; library.statements.def[4].expression.relationship[1].suchThat.operand[0].operand[1]
Unexpected: localId
; library.statements.def[4].expression.relationship[1].suchThat.operand[0]
Unexpected: localId
; library.statements.def[4].expression.relationship[1].suchThat.operand[1].operand.operand.operand
Unexpected: localId
; library.statements.def[4].expression.relationship[1].suchThat.operand[1].operand.operand
Unexpected: localId
; library.statements.def[4].expression.relationship[1].suchThat.operand[1].operand
Unexpected: localId
; library.statements.def[4].expression.relationship[1].suchThat.operand[1]
Unexpected: localId
; library.statements.def[4].expression.relationship[1].suchThat
Unexpected: localId
; library.statements.def[4].expression.relationship[1]
Unexpected: localId
; library.statements.def[4].expression.source[0].expression.codes
Unexpected: localId
; library.statements.def[4].expression.source[0].expression
Unexpected: localId
; library.statements.def[4].expression.source[0]
Unexpected: localId
; library.statements.def[4].expression.where.operand[0]
Unexpected: localId
; library.statements.def[4].expression.where.operand[1]
Unexpected: localId
; library.statements.def[4].expression.where
Unexpected: localId
; library.statements.def[4].expression
Unexpected: localId
; library.statements.def[4]
Unexpected: localId
; library.statements.def[5].expression.relationship[0].expression
Unexpected: localId
; library.statements.def[5].expression.relationship[0].suchThat.operand[0].high
Unexpected: localId
; library.statements.def[5].expression.relationship[0].suchThat.operand[0].low
Unexpected: localId
; library.statements.def[5].expression.relationship[0].suchThat.operand[0]
Unexpected: localId
; library.statements.def[5].expression.relationship[0].suchThat.operand[1]
Unexpected: localId
; library.statements.def[5].expression.relationship[0].suchThat
Unexpected: localId
; library.statements.def[5].expression.relationship[0]
Unexpected: localId
; library.statements.def[5].expression.source[0].expression
Unexpected: localId
; library.statements.def[5].expression.source[0]
Unexpected: localId
; library.statements.def[5].expression
Unexpected: localId
; library.statements.def[5]
Unexpected: localId
; library.statements.def[6].expression.operand.relationship[0].expression
Unexpected: localId
; library.statements.def[6].expression.operand.relationship[0].suchThat.operand[0].operand[0]
Unexpected: localId
; library.statements.def[6].expression.operand.relationship[0].suchThat.operand[0].operand[1].high
Unexpected: localId
; library.statements.def[6].expression.operand.relationship[0].suchThat.operand[0].operand[1].low.operand[0]
Unexpected: localId
; library.statements.def[6].expression.operand.relationship[0].suchThat.operand[0].operand[1].low.operand[1]
Unexpected: localId
; library.statements.def[6].expression.operand.relationship[0].suchThat.operand[0].operand[1].low
Unexpected: localId
; library.statements.def[6].expression.operand.relationship[0].suchThat.operand[0].operand[1]
Unexpected: localId
; library.statements.def[6].expression.operand.relationship[0].suchThat.operand[0]
Unexpected: localId
; library.statements.def[6].expression.operand.relationship[0].suchThat.operand[1].operand.operand
Unexpected: localId
; library.statements.def[6].expression.operand.relationship[0].suchThat.operand[1].operand
Unexpected: localId
; library.statements.def[6].expression.operand.relationship[0].suchThat.operand[1]
Unexpected: localId
; library.statements.def[6].expression.operand.relationship[0].suchThat
Unexpected: localId
; library.statements.def[6].expression.operand.relationship[0]
Unexpected: localId
; library.statements.def[6].expression.operand.source[0].expression
Unexpected: localId
; library.statements.def[6].expression.operand.source[0]
Unexpected: localId
; library.statements.def[6].expression.operand
Unexpected: localId
; library.statements.def[6].expression
Unexpected: localId
; library.statements.def[6]
Unexpected: localId
; library.statements.def[7].expression.operand
Unexpected: localId
; library.statements.def[7].expression
Unexpected: localId
; library.statements.def[7]
Unexpected: localId
; library.statements.def[8].expression.operand[0]
Unexpected: localId
; library.statements.def[8].expression.operand[1]
Unexpected: localId
; library.statements.def[8].expression
Unexpected: localId
; library.statements.def[8]
Unexpected: localId
; library.statements.def[9].expression
Unexpected: localId
; library.statements.def[9]
Unexpected: localId
; library.statements.def[10].expression
Unexpected: localId
; library.statements.def[10]
Unexpected: localId
; library.statements.def[11].expression.operand.source[0].expression.codes
Unexpected: localId
; library.statements.def[11].expression.operand.source[0].expression
Unexpected: localId
; library.statements.def[11].expression.operand.source[0]
Unexpected: localId
; library.statements.def[11].expression.operand.where.operand[0].operand[0]
Unexpected: localId
; library.statements.def[11].expression.operand.where.operand[0].operand[1]
Unexpected: localId
; library.statements.def[11].expression.operand.where.operand[0]
Unexpected: localId
; library.statements.def[11].expression.operand.where.operand[1].operand.operand
Unexpected: localId
; library.statements.def[11].expression.operand.where.operand[1].operand
Unexpected: localId
; library.statements.def[11].expression.operand.where.operand[1]
Unexpected: localId
; library.statements.def[11].expression.operand.where
Unexpected: localId
; library.statements.def[11].expression.operand
Unexpected: localId
; library.statements.def[11].expression
Unexpected: localId
; library.statements.def[11]
Unexpected: localId
; library.usings.def[0]
Unexpected: localId
; library.usings.def[1]
Unexpected: localId
; library.valueSets.def[0]
Unexpected: localId
; library.valueSets.def[1]
Unexpected: localId
; library.valueSets.def[2]
Unexpected: localId
; library.valueSets.def[3]
Unexpected: localId
; library.valueSets.def[4]
Unexpected: localId
; library
Unexpected: localId
|
CMS146JsonTest.testCms146_SignatureLevels[1](CMS146v2_Expected_SignatureLevel_Differing.json, Differing):
Src/java/cql-to-elm/src/test/java/org/cqframework/cql/cql2elm/CMS146JsonTest.java#L38
java.lang.AssertionError:
Expected: "{\n \"library\" : {\n \"type\" : \"Library\",\n \"identifier\" : {\n \"type\" : \"VersionedIdentifier\",\n \"id\" : \"CMS146\",\n \"version\" : \"2\"\n },\n \"schemaIdentifier\" : {\n \"type\" : \"VersionedIdentifier\",\n \"id\" : \"urn:hl7-org:elm\",\n \"version\" : \"r1\"\n },\n \"usings\" : {\n \"type\" : \"Library$Usings\",\n \"def\" : [ {\n \"type\" : \"UsingDef\",\n \"localIdentifier\" : \"System\",\n \"uri\" : \"urn:hl7-org:elm-types:r1\"\n }, {\n \"type\" : \"UsingDef\",\n \"localIdentifier\" : \"QUICK\",\n \"uri\" : \"http://hl7.org/fhir\"\n } ]\n },\n \"parameters\" : {\n \"type\" : \"Library$Parameters\",\n \"def\" : [ {\n \"type\" : \"ParameterDef\",\n \"default\" : {\n \"type\" : \"Interval\",\n \"low\" : {\n \"type\" : \"DateTime\",\n \"year\" : {\n \"type\" : \"Literal\",\n \"valueType\" : \"{urn:hl7-org:elm-types:r1}Integer\",\n \"value\" : \"2013\"\n },\n \"month\" : {\n \"type\" : \"Literal\",\n \"valueType\" : \"{urn:hl7-org:elm-types:r1}Integer\",\n \"value\" : \"1\"\n },\n \"day\" : {\n \"type\" : \"Literal\",\n \"valueType\" : \"{urn:hl7-org:elm-types:r1}Integer\",\n \"value\" : \"1\"\n },\n \"hour\" : {\n \"type\" : \"Literal\",\n \"valueType\" : \"{urn:hl7-org:elm-types:r1}Integer\",\n \"value\" : \"0\"\n },\n \"minute\" : {\n \"type\" : \"Literal\",\n \"valueType\" : \"{urn:hl7-org:elm-types:r1}Integer\",\n \"value\" : \"0\"\n },\n \"second\" : {\n \"type\" : \"Literal\",\n \"valueType\" : \"{urn:hl7-org:elm-types:r1}Integer\",\n \"value\" : \"0\"\n },\n \"millisecond\" : {\n \"type\" : \"Literal\",\n \"valueType\" : \"{urn:hl7-org:elm-types:r1}Integer\",\n \"value\" : \"0\"\n }\n },\n \"high\" : {\n \"type\" : \"DateTime\",\n \"year\" : {\n \"type\" : \"Literal\",\n \"valueType\" : \"{urn:hl7-org:elm-types:r1}Integer\",\n \"value\" : \"2014\"\n },\n \"month\" : {\n \"type\" : \"Literal\",\n \"valueType\" : \"{urn:hl7-org:elm-types:r1}Integer\",\n \"value\" : \"1\"\n },\n \"day\" : {\n \"type\" : \"Literal\",\n \"valueType\" : \"{urn:hl7-org:elm-types:r1}Integer\",\n \"value\" : \"1\"\n },\n \"hour\" : {\n \"type\" : \"Literal\",\n \"valueType\" : \"{urn:hl7-org:elm-types:r1}Integer\",\n \"value\" : \"0\"\n },\n \"minute\" : {\n \"type\" : \"Literal\",\n \"valueType\" : \"{urn:hl7-org:elm-types:r1}Integer\",\n \"value\" : \"0\"\n },\n \"second\" : {\n \"type\" : \"Literal\",\n \"valueType\" : \"{urn:hl7-org:elm-types:r1}Integer\",\n \"value\" : \"0\"\n },\n \"millisecond\" : {\n \"type\" : \"Literal\",\n \"valueType\" : \"{urn:hl7-org:elm-types:r1}Integer\",\n \"value\" : \"0\"\n }\n },\n \"lowClosed\" : true,\n \"highClosed\" : false\n },\n \"name\" : \"MeasurementPeriod\",\n \"accessLevel\" : \"Public\"\n } ]\n },\n \"valueSets\" : {\n \"type\" : \"Library$ValueSets\",\n \"def\" : [ {\n \"type\" : \"ValueSetDef\",\n \"name\" : \"Acute Pharyngitis\",\n \"id\" : \"2.16.840.1.113883.3.464.1003.102.12.1011\",\n \"accessLevel\" : \"Public\"\n }, {\n \"type\" : \"ValueSetDef\",\n \"name\" : \"Acute Tonsillitis\",\n \"id\" : \"2.16.840.1.113883.3.464.1003.102.12.1012\",\n \"accessLevel\" : \"Public\"\n }, {\n \"type\" : \"ValueSetDef\",\n \"name\" : \"Ambulatory/ED Visit\",\n \"id\" : \"2.16.840.1.113883.3.464.1003.101.12.1061\",\n \"accessLevel\" : \"Public\"\n }, {\n \"type\" : \"ValueSetDef\",\n \"name\" : \"Antibiotic Medications\",\n \"id\" : \"2.16.840.1.113883.3.464.1003.196.12.1001\",\n \"accessLevel\" : \"Public\"\n }, {\n \"type\" : \"ValueSetDef\",\n \"name\" : \"Group A Streptococcus Test\",\n \"id\" : \"2.16.840.1.113883.3.464.1003.198.12.1012\",\n \"accessLevel\" : \"Public\"\n } ]\n },\n \"contexts\" : {\n \"type\" : \"Library$Contexts\",\n \"def\" : [ {\n \"type\" : \"ContextDef\",\n \"name\" : \"Patient\"\n } ]\n },\n \"statements\" : {\n \"type\" : \"Library$Statements\",\n \"def\" : [ {\n \"type\" : \"ExpressionDef\",\n \"expression\" : {\n \"type\" : \"SingletonFrom\",\n \"operand\" : {\n \"type\" : \"Retrieve\",\n \"dataType\" : \"{http://hl7.org/fhir}Patient\",\n \"templateId\" : \"patient-qicore-qicore-patient\"\n }\n },\n \"name\" : \"Patient\",\n \"context\" : \"Patient\"\n }, {\n \"type\" : \"ExpressionDef\",\n \"expression\" : {\n \"type\" : \"And\",\n \"operand\" : [ {\n \"type\" : \"GreaterOrEqual\",\n \"operand\" : [ {\n \"type\" : \"CalculateAgeAt\",\n \"operand\" : [ {\n \"type\" : \"Property\",\n \"source\" : {\n \"type\" : \"ExpressionRef\",\n \"name\" : \"Patient\"\n },\n \"path\" : \"birthDate\"\n }, {\n \"type\" : \"Start\",\n \"operand\" : {\n \"type\" : \"ParameterRef\",\n \"name\" : \"MeasurementPeriod\"\n }\n } ],\n \"precision\" : \"Year\"\n }, {\n \"type\" : \"Literal\",\n \"valueType\" : \"{urn:hl7-org:elm-types:r1}Integer\",\n \"value\" : \"2\"\n } ]\n }, {\n \"type\" : \"Less\",\n \"operand\" : [ {\n \"type\" : \"CalculateAgeAt\",\n \"operand\" : [ {\n \"type\" : \"Property\",\n \"source\" : {\n \"type\" : \"ExpressionRef\",\n \"name\" : \"Patient\"\n },\n \"path\" : \"birthDate\"\n }, {\n \"type\" : \"Start\",\n \"operand\" : {\n \"type\" : \"ParameterRef\",\n \"name\" : \"MeasurementPeriod\"\n }\n } ],\n \"precision\" : \"Year\"\n }, {\n \"type\" : \"Literal\",\n \"valueType\" : \"{urn:hl7-org:elm-types:r1}Integer\",\n \"value\" : \"18\"\n } ]\n } ]\n },\n \"name\" : \"InDemographic\",\n \"context\" : \"Patient\",\n \"accessLevel\" : \"Public\"\n }, {\n \"type\" : \"ExpressionDef\",\n \"expression\" : {\n \"type\" : \"Union\",\n \"operand\" : [ {\n \"type\" : \"Retrieve\",\n \"codes\" : {\n \"type\" : \"ValueSetRef\",\n \"name\" : \"Acute Pharyngitis\",\n \"preserve\" : true\n },\n \"dataType\" : \"{http://hl7.org/fhir}Condition\",\n \"templateId\" : \"condition-qicore-qicore-condition\",\n \"codeProperty\" : \"code\",\n \"codeComparator\" : \"in\"\n }, {\n \"type\" : \"Retrieve\",\n \"codes\" : {\n \"type\" : \"ValueSetRef\",\n \"name\" : \"Acute Tonsillitis\",\n \"preserve\" : true\n },\n \"dataType\" : \"{http://hl7.org/fhir}Condition\",\n \"templateId\" : \"condition-qicore-qicore-condition\",\n \"codeProperty\" : \"code\",\n \"codeComparator\" : \"in\"\n } ]\n },\n \"name\" : \"Pharyngitis\",\n \"context\" : \"Patient\",\n \"accessLevel\" : \"Public\"\n }, {\n \"type\" : \"ExpressionDef\",\n \"expression\" : {\n \"type\" : \"Retrieve\",\n \"codes\" : {\n \"type\" : \"ValueSetRef\",\n \"name\" : \"Antibiotic Medications\",\n \"preserve\" : true\n },\n \"dataType\" : \"{http://hl7.org/fhir}MedicationPrescription\",\n \"templateId\" : \"medicationprescription-qicore-qicore-medicationprescription\",\n \"codeProperty\" : \"medication.code\",\n \"codeComparator\" : \"in\"\n },\n \"name\" : \"Antibiotics\",\n \"context\" : \"Patient\",\n \"accessLevel\" : \"Public\"\n }, {\n \"type\" : \"ExpressionDef\",\n \"expression\" : {\n \"type\" : \"Query\",\n \"source\" : [ {\n \"type\" : \"AliasedQuerySource\",\n \"expression\" : {\n \"type\" : \"Retrieve\",\n \"codes\" : {\n \"type\" : \"ValueSetRef\",\n \"name\" : \"Ambulatory/ED Visit\",\n \"preserve\" : true\n },\n \"dataType\" : \"{http://hl7.org/fhir}Encounter\",\n \"templateId\" : \"encounter-qicore-qicore-encounter\",\n \"codeProperty\" : \"type\",\n \"codeComparator\" : \"in\"\n },\n \"alias\" : \"E\"\n } ],\n \"relationship\" : [ {\n \"type\" : \"With\",\n \"expression\" : {\n \"type\" : \"ExpressionRef\",\n \"name\" : \"Pharyngitis\"\n },\n \"suchThat\" : {\n \"type\" : \"OverlapsAfter\",\n \"operand\" : [ {\n \"type\" : \"Interval\",\n \"low\" : {\n \"type\" : \"Property\",\n \"path\" : \"onsetDateTime\",\n \"scope\" : \"P\"\n },\n \"high\" : {\n \"type\" : \"Property\",\n \"path\" : \"abatementDate\",\n \"scope\" : \"P\"\n },\n \"lowClosed\" : true,\n \"highClosed\" : true\n }, {\n \"type\" : \"Property\",\n \"path\" : \"period\",\n \"scope\" : \"E\"\n } ]\n },\n \"alias\" : \"P\"\n }, {\n \"type\" : \"With\",\n \"expression\" : {\n \"type\" : \"ExpressionRef\",\n \"name\" : \"Antibiotics\"\n },\n \"suchThat\" : {\n \"type\" : \"And\",\n \"operand\" : [ {\n \"type\" : \"In\",\n \"operand\" : [ {\n \"type\" : \"Property\",\n \"path\" : \"dateWritten\",\n \"scope\" : \"A\"\n }, {\n \"type\" : \"Interval\",\n \"low\" : {\n \"type\" : \"Start\",\n \"operand\" : {\n \"type\" : \"Property\",\n \"path\" : \"period\",\n \"scope\" : \"E\"\n }\n },\n \"high\" : {\n \"type\" : \"Add\",\n \"operand\" : [ {\n \"type\" : \"Start\",\n \"operand\" : {\n \"type\" : \"Property\",\n \"path\" : \"period\",\n \"scope\" : \"E\"\n }\n }, {\n \"type\" : \"Quantity\",\n \"value\" : 3,\n \"unit\" : \"days\"\n } ]\n },\n \"lowClosed\" : false,\n \"highClosed\" : true\n } ]\n }, {\n \"type\" : \"Not\",\n \"operand\" : {\n \"type\" : \"IsNull\",\n \"signature\" : [ {\n \"type\" : \"NamedTypeSpecifier\",\n \"name\" : \"{urn:hl7-org:elm-types:r1}Any\"\n } ],\n \"operand\" : {\n \"type\" : \"Start\",\n \"operand\" : {\n \"type\" : \"Property\",\n \"path\" : \"period\",\n \"scope\" : \"E\"\n }\n }\n }\n } ]\n },\n \"alias\" : \"A\"\n } ],\n \"where\" : {\n \"type\" : \"IncludedIn\",\n \"operand\" : [ {\n \"type\" : \"Property\",\n \"path\" : \"period\",\n \"scope\" : \"E\"\n }, {\n \"type\" : \"ParameterRef\",\n \"name\" : \"MeasurementPeriod\"\n } ]\n }\n },\n \"name\" : \"TargetEncounters\",\n \"context\" : \"Patient\",\n \"accessLevel\" : \"Public\"\n }, {\n \"type\" : \"ExpressionDef\",\n \"expression\" : {\n \"type\" : \"Query\",\n \"source\" : [ {\n \"type\" : \"AliasedQuerySource\",\n \"expression\" : {\n \"type\" : \"ExpressionRef\",\n \"name\" : \"Pharyngitis\"\n },\n \"alias\" : \"P\"\n } ],\n \"relationship\" : [ {\n \"type\" : \"With\",\n \"expression\" : {\n \"type\" : \"ExpressionRef\",\n \"name\" : \"TargetEncounters\"\n },\n \"suchThat\" : {\n \"type\" : \"OverlapsAfter\",\n \"operand\" : [ {\n \"type\" : \"Interval\",\n \"low\" : {\n \"type\" : \"Property\",\n \"path\" : \"onsetDateTime\",\n \"scope\" : \"P\"\n },\n \"high\" : {\n \"type\" : \"Property\",\n \"path\" : \"abatementDate\",\n \"scope\" : \"P\"\n },\n \"lowClosed\" : true,\n \"highClosed\" : true\n }, {\n \"type\" : \"Property\",\n \"path\" : \"period\",\n \"scope\" : \"E\"\n } ]\n },\n \"alias\" : \"E\"\n } ]\n },\n \"name\" : \"TargetDiagnoses\",\n \"context\" : \"Patient\",\n \"accessLevel\" : \"Public\"\n }, {\n \"type\" : \"ExpressionDef\",\n \"expression\" : {\n \"type\" : \"Exists\",\n \"operand\" : {\n \"type\" : \"Query\",\n \"source\" : [ {\n \"type\" : \"AliasedQuerySource\",\n \"expression\" : {\n \"type\" : \"ExpressionRef\",\n \"name\" : \"Antibiotics\"\n },\n \"alias\" : \"A\"\n } ],\n \"relationship\" : [ {\n \"type\" : \"With\",\n \"expression\" : {\n \"type\" : \"ExpressionRef\",\n \"name\" : \"TargetDiagnoses\"\n },\n \"suchThat\" : {\n \"type\" : \"And\",\n \"operand\" : [ {\n \"type\" : \"In\",\n \"operand\" : [ {\n \"type\" : \"Property\",\n \"path\" : \"dateWritten\",\n \"scope\" : \"A\"\n }, {\n \"type\" : \"Interval\",\n \"low\" : {\n \"type\" : \"Subtract\",\n \"operand\" : [ {\n \"type\" : \"Property\",\n \"path\" : \"onsetDateTime\",\n \"scope\" : \"D\"\n }, {\n \"type\" : \"Quantity\",\n \"value\" : 30,\n \"unit\" : \"days\"\n } ]\n },\n \"high\" : {\n \"type\" : \"Property\",\n \"path\" : \"onsetDateTime\",\n \"scope\" : \"D\"\n },\n \"lowClosed\" : true,\n \"highClosed\" : false\n } ]\n }, {\n \"type\" : \"Not\",\n \"operand\" : {\n \"type\" : \"IsNull\",\n \"signature\" : [ {\n \"type\" : \"NamedTypeSpecifier\",\n \"name\" : \"{urn:hl7-org:elm-types:r1}Any\"\n } ],\n \"operand\" : {\n \"type\" : \"Property\",\n \"path\" : \"onsetDateTime\",\n \"scope\" : \"D\"\n }\n }\n } ]\n },\n \"alias\" : \"D\"\n } ]\n }\n },\n \"name\" : \"HasPriorAntibiotics\",\n \"context\" : \"Patient\",\n \"accessLevel\" : \"Public\"\n }, {\n \"type\" : \"ExpressionDef\",\n \"expression\" : {\n \"type\" : \"Exists\",\n \"operand\" : {\n \"type\" : \"ExpressionRef\",\n \"name\" : \"TargetEncounters\"\n }\n },\n \"name\" : \"HasTargetEncounter\",\n \"context\" : \"Patient\",\n \"accessLevel\" : \"Public\"\n }, {\n \"type\" : \"ExpressionDef\",\n \"expression\" : {\n \"type\" : \"And\",\n \"operand\" : [ {\n \"type\" : \"ExpressionRef\",\n \"name\" : \"InDemographic\"\n }, {\n \"type\" : \"ExpressionRef\",\n \"name\" : \"HasTargetEncounter\"\n } ]\n },\n \"name\" : \"InInitialPopulation\",\n \"context\" : \"Patient\",\n \"accessLevel\" : \"Public\"\n }, {\n \"type\" : \"ExpressionDef\",\n \"expression\" : {\n \"type\" : \"Literal\",\n \"valueType\" : \"{urn:hl7-org:elm-types:r1}Boolean\",\n \"value\" : \"true\"\n },\n \"name\" : \"InDenominator\",\n \"context\" : \"Patient\",\n \"accessLevel\" : \"Public\"\n }, {\n \"type\" : \"ExpressionDef\",\n \"expression\" : {\n \"type\" : \"ExpressionRef\",\n \"name\" : \"HasPriorAntibiotics\"\n },\n \"name\" : \"InDenominatorExclusions\",\n \"context\" : \"Patient\",\n \"accessLevel\" : \"Public\"\n }, {\n \"type\" : \"ExpressionDef\",\n \"expression\" : {\n \"type\" : \"Exists\",\n \"operand\" : {\n \"type\" : \"Query\",\n \"source\" : [ {\n \"type\" : \"AliasedQuerySource\",\n \"expression\" : {\n \"type\" : \"Retrieve\",\n \"codes\" : {\n \"type\" : \"ValueSetRef\",\n \"name\" : \"Group A Streptococcus Test\",\n \"preserve\" : true\n },\n \"dataType\" : \"{http://hl7.org/fhir}Observation\",\n \"templateId\" : \"observation-qicore-qicore-observation\",\n \"codeProperty\" : \"code\",\n \"codeComparator\" : \"in\"\n },\n \"alias\" : \"R\"\n } ],\n \"relationship\" : [ ],\n \"where\" : {\n \"type\" : \"And\",\n \"operand\" : [ {\n \"type\" : \"In\",\n \"operand\" : [ {\n \"type\" : \"Property\",\n \"path\" : \"issued\",\n \"scope\" : \"R\"\n }, {\n \"type\" : \"ParameterRef\",\n \"name\" : \"MeasurementPeriod\"\n } ]\n }, {\n \"type\" : \"Not\",\n \"operand\" : {\n \"type\" : \"IsNull\",\n \"signature\" : [ {\n \"type\" : \"NamedTypeSpecifier\",\n \"name\" : \"{urn:hl7-org:elm-types:r1}Any\"\n } ],\n \"operand\" : {\n \"type\" : \"Property\",\n \"path\" : \"valueQuantity\",\n \"scope\" : \"R\"\n }\n }\n } ]\n }\n }\n },\n \"name\" : \"InNumerator\",\n \"context\" : \"Patient\",\n \"accessLevel\" : \"Public\"\n } ]\n },\n \"annotation\" : [ {\n \"type\" : \"CqlToElmInfo\",\n \"translatorOptions\" : \"\",\n \"signatureLevel\" : \"Differing\"\n }, {\n \"type\" : \"CqlToElmError\",\n \"libraryId\" : \"CMS146\",\n \"libraryVersion\" : \"2\",\n \"startLine\" : 22,\n \"startChar\" : 5,\n \"endLine\" : 22,\n \"endChar\" : 54,\n \"message\" : \"Could not resolve code path medication.code for the type of the retrieve QUICK.MedicationPrescription.\",\n \"errorType\" : \"semantic\",\n \"errorSeverity\" : \"warning\"\n }, {\n \"type\" : \"CqlToElmError\",\n \"libraryId\" : \"CMS146\",\n \"libraryVersion\" : \"2\",\n \"startLine\" : 22,\n \"startChar\" : 5,\n \"endLine\" : 22,\n \"endChar\" : 54,\n \"message\" : \"Could not resolve membership operator for terminology target of the retrieve.\",\n \"errorType\" : \"semantic\",\n \"errorSeverity\" : \"warning\"\n } ]\n }\n}"
but: library.contexts.def[0]
Unexpected: localId
; library.parameters.def[0].default.high.day
Unexpected: localId
; library.parameters.def[0].default.high.hour
Unexpected: localId
; library.parameters.def[0].default.high.millisecond
Unexpected: localId
; library.parameters.def[0].default.high.minute
Unexpected: localId
; library.parameters.def[0].default.high.month
Unexpected: localId
; library.parameters.def[0].default.high.second
Unexpected: localId
; library.parameters.def[0].default.high.year
Unexpected: localId
; library.parameters.def[0].default.high
Unexpected: localId
; library.parameters.def[0].default.low.day
Unexpected: localId
; library.parameters.def[0].default.low.hour
Unexpected: localId
; library.parameters.def[0].default.low.millisecond
Unexpected: localId
; library.parameters.def[0].default.low.minute
Unexpected: localId
; library.parameters.def[0].default.low.month
Unexpected: localId
; library.parameters.def[0].default.low.second
Unexpected: localId
; library.parameters.def[0].default.low.year
Unexpected: localId
; library.parameters.def[0].default.low
Unexpected: localId
; library.parameters.def[0].default
Unexpected: localId
; library.parameters.def[0]
Unexpected: localId
; library.statements.def[0].expression.operand
Unexpected: localId
; library.statements.def[0].expression
Unexpected: localId
; library.statements.def[0]
Unexpected: localId
; library.statements.def[1].expression.operand[0].operand[0].operand[0].source
Unexpected: localId
; library.statements.def[1].expression.operand[0].operand[0].operand[0]
Unexpected: localId
; library.statements.def[1].expression.operand[0].operand[0].operand[1].operand
Unexpected: localId
; library.statements.def[1].expression.operand[0].operand[0].operand[1]
Unexpected: localId
; library.statements.def[1].expression.operand[0].operand[0]
Unexpected: localId
; library.statements.def[1].expression.operand[0].operand[1]
Unexpected: localId
; library.statements.def[1].expression.operand[0]
Unexpected: localId
; library.statements.def[1].expression.operand[1].operand[0].operand[0].source
Unexpected: localId
; library.statements.def[1].expression.operand[1].operand[0].operand[0]
Unexpected: localId
; library.statements.def[1].expression.operand[1].operand[0].operand[1].operand
Unexpected: localId
; library.statements.def[1].expression.operand[1].operand[0].operand[1]
Unexpected: localId
; library.statements.def[1].expression.operand[1].operand[0]
Unexpected: localId
; library.statements.def[1].expression.operand[1].operand[1]
Unexpected: localId
; library.statements.def[1].expression.operand[1]
Unexpected: localId
; library.statements.def[1].expression
Unexpected: localId
; library.statements.def[1]
Unexpected: localId
; library.statements.def[2].expression.operand[0].codes
Unexpected: localId
; library.statements.def[2].expression.operand[0]
Unexpected: localId
; library.statements.def[2].expression.operand[1].codes
Unexpected: localId
; library.statements.def[2].expression.operand[1]
Unexpected: localId
; library.statements.def[2].expression
Unexpected: localId
; library.statements.def[2]
Unexpected: localId
; library.statements.def[3].expression.codes
Unexpected: localId
; library.statements.def[3].expression
Unexpected: localId
; library.statements.def[3]
Unexpected: localId
; library.statements.def[4].expression.relationship[0].expression
Unexpected: localId
; library.statements.def[4].expression.relationship[0].suchThat.operand[0].high
Unexpected: localId
; library.statements.def[4].expression.relationship[0].suchThat.operand[0].low
Unexpected: localId
; library.statements.def[4].expression.relationship[0].suchThat.operand[0]
Unexpected: localId
; library.statements.def[4].expression.relationship[0].suchThat.operand[1]
Unexpected: localId
; library.statements.def[4].expression.relationship[0].suchThat
Unexpected: localId
; library.statements.def[4].expression.relationship[0]
Unexpected: localId
; library.statements.def[4].expression.relationship[1].expression
Unexpected: localId
; library.statements.def[4].expression.relationship[1].suchThat.operand[0].operand[0]
Unexpected: localId
; library.statements.def[4].expression.relationship[1].suchThat.operand[0].operand[1].high.operand[0].operand
Unexpected: localId
; library.statements.def[4].expression.relationship[1].suchThat.operand[0].operand[1].high.operand[0]
Unexpected: localId
; library.statements.def[4].expression.relationship[1].suchThat.operand[0].operand[1].high.operand[1]
Unexpected: localId
; library.statements.def[4].expression.relationship[1].suchThat.operand[0].operand[1].high
Unexpected: localId
; library.statements.def[4].expression.relationship[1].suchThat.operand[0].operand[1].low.operand
Unexpected: localId
; library.statements.def[4].expression.relationship[1].suchThat.operand[0].operand[1].low
Unexpected: localId
; library.statements.def[4].expression.relationship[1].suchThat.operand[0].operand[1]
Unexpected: localId
; library.statements.def[4].expression.relationship[1].suchThat.operand[0]
Unexpected: localId
; library.statements.def[4].expression.relationship[1].suchThat.operand[1].operand.operand.operand
Unexpected: localId
; library.statements.def[4].expression.relationship[1].suchThat.operand[1].operand.operand
Unexpected: localId
; library.statements.def[4].expression.relationship[1].suchThat.operand[1].operand.signature[0]
Unexpected: localId
; library.statements.def[4].expression.relationship[1].suchThat.operand[1].operand
Unexpected: localId
; library.statements.def[4].expression.relationship[1].suchThat.operand[1]
Unexpected: localId
; library.statements.def[4].expression.relationship[1].suchThat
Unexpected: localId
; library.statements.def[4].expression.relationship[1]
Unexpected: localId
; library.statements.def[4].expression.source[0].expression.codes
Unexpected: localId
; library.statements.def[4].expression.source[0].expression
Unexpected: localId
; library.statements.def[4].expression.source[0]
Unexpected: localId
; library.statements.def[4].expression.where.operand[0]
Unexpected: localId
; library.statements.def[4].expression.where.operand[1]
Unexpected: localId
; library.statements.def[4].expression.where
Unexpected: localId
; library.statements.def[4].expression
Unexpected: localId
; library.statements.def[4]
Unexpected: localId
; library.statements.def[5].expression.relationship[0].expression
Unexpected: localId
; library.statements.def[5].expression.relationship[0].suchThat.operand[0].high
Unexpected: localId
; library.statements.def[5].expression.relationship[0].suchThat.operand[0].low
Unexpected: localId
; library.statements.def[5].expression.relationship[0].suchThat.operand[0]
Unexpected: localId
; library.statements.def[5].expression.relationship[0].suchThat.operand[1]
Unexpected: localId
; library.statements.def[5].expression.relationship[0].suchThat
Unexpected: localId
; library.statements.def[5].expression.relationship[0]
Unexpected: localId
; library.statements.def[5].expression.source[0].expression
Unexpected: localId
; library.statements.def[5].expression.source[0]
Unexpected: localId
; library.statements.def[5].expression
Unexpected: localId
; library.statements.def[5]
Unexpected: localId
; library.statements.def[6].expression.operand.relationship[0].expression
Unexpected: localId
; library.statements.def[6].expression.operand.relationship[0].suchThat.operand[0].operand[0]
Unexpected: localId
; library.statements.def[6].expression.operand.relationship[0].suchThat.operand[0].operand[1].high
Unexpected: localId
; library.statements.def[6].expression.operand.relationship[0].suchThat.operand[0].operand[1].low.operand[0]
Unexpected: localId
; library.statements.def[6].expression.operand.relationship[0].suchThat.operand[0].operand[1].low.operand[1]
Unexpected: localId
; library.statements.def[6].expression.operand.relationship[0].suchThat.operand[0].operand[1].low
Unexpected: localId
; library.statements.def[6].expression.operand.relationship[0].suchThat.operand[0].operand[1]
Unexpected: localId
; library.statements.def[6].expression.operand.relationship[0].suchThat.operand[0]
Unexpected: localId
; library.statements.def[6].expression.operand.relationship[0].suchThat.operand[1].operand.operand
Unexpected: localId
; library.statements.def[6].expression.operand.relationship[0].suchThat.operand[1].operand.signature[0]
Unexpected: localId
; library.statements.def[6].expression.operand.relationship[0].suchThat.operand[1].operand
Unexpected: localId
; library.statements.def[6].expression.operand.relationship[0].suchThat.operand[1]
Unexpected: localId
; library.statements.def[6].expression.operand.relationship[0].suchThat
Unexpected: localId
; library.statements.def[6].expression.operand.relationship[0]
Unexpected: localId
; library.statements.def[6].expression.operand.source[0].expression
Unexpected: localId
; library.statements.def[6].expression.operand.source[0]
Unexpected: localId
; library.statements.def[6].expression.operand
Unexpected: localId
; library.statements.def[6].expression
Unexpected: localId
; library.statements.def[6]
Unexpected: localId
; library.statements.def[7].expression.operand
Unexpected: localId
; library.statements.def[7].expression
Unexpected: localId
; library.statements.def[7]
Unexpected: localId
; library.statements.def[8].expression.operand[0]
Unexpected: localId
; library.statements.def[8].expression.operand[1]
Unexpected: localId
; library.statements.def[8].expression
Unexpected: localId
; library.statements.def[8]
Unexpected: localId
; library.statements.def[9].expression
Unexpected: localId
; library.statements.def[9]
Unexpected: localId
; library.statements.def[10].expression
Unexpected: localId
; library.statements.def[10]
Unexpected: localId
; library.statements.def[11].expression.operand.source[0].expression.codes
Unexpected: localId
; library.statements.def[11].expression.operand.source[0].expression
Unexpected: localId
; library.statements.def[11].expression.operand.source[0]
Unexpected: localId
; library.statements.def[11].expression.operand.where.operand[0].operand[0]
Unexpected: localId
; library.statements.def[11].expression.operand.where.operand[0].operand[1]
Unexpected: localId
; library.statements.def[11].expression.operand.where.operand[0]
Unexpected: localId
; library.statements.def[11].expression.operand.where.operand[1].operand.operand
Unexpected: localId
; library.statements.def[11].expression.operand.where.operand[1].operand.signature[0]
Unexpected: localId
; library.statements.def[11].expression.operand.where.operand[1].operand
Unexpected: localId
; library.statements.def[11].expression.operand.where.operand[1]
Unexpected: localId
; library.statements.def[11].expression.operand.where
Unexpected: localId
; library.statements.def[11].expression.operand
Unexpected: localId
; library.statements.def[11].expression
Unexpected: localId
; library.statements.def[11]
Unexpected: localId
; library.usings.def[0]
Unexpected: localId
; library.usings.def[1]
Unexpected: localId
; library.valueSets.def[0]
Unexpected: localId
; library.valueSets.def[1]
Unexpected: localId
; library.valueSets.def[2]
Unexpected: localId
; library.valueSets.def[3]
Unexpected: localId
; library.valueSets.def[4]
Unexpected: localId
; library
Unexpected: localId
|
CMS146JsonTest.testCms146_SignatureLevels[2](CMS146v2_Expected_SignatureLevel_Overloads.json, Overloads):
Src/java/cql-to-elm/src/test/java/org/cqframework/cql/cql2elm/CMS146JsonTest.java#L38
java.lang.AssertionError:
Expected: "{\n \"library\" : {\n \"type\" : \"Library\",\n \"identifier\" : {\n \"type\" : \"VersionedIdentifier\",\n \"id\" : \"CMS146\",\n \"version\" : \"2\"\n },\n \"schemaIdentifier\" : {\n \"type\" : \"VersionedIdentifier\",\n \"id\" : \"urn:hl7-org:elm\",\n \"version\" : \"r1\"\n },\n \"usings\" : {\n \"type\" : \"Library$Usings\",\n \"def\" : [ {\n \"type\" : \"UsingDef\",\n \"localIdentifier\" : \"System\",\n \"uri\" : \"urn:hl7-org:elm-types:r1\"\n }, {\n \"type\" : \"UsingDef\",\n \"localIdentifier\" : \"QUICK\",\n \"uri\" : \"http://hl7.org/fhir\"\n } ]\n },\n \"parameters\" : {\n \"type\" : \"Library$Parameters\",\n \"def\" : [ {\n \"type\" : \"ParameterDef\",\n \"default\" : {\n \"type\" : \"Interval\",\n \"low\" : {\n \"type\" : \"DateTime\",\n \"year\" : {\n \"type\" : \"Literal\",\n \"valueType\" : \"{urn:hl7-org:elm-types:r1}Integer\",\n \"value\" : \"2013\"\n },\n \"month\" : {\n \"type\" : \"Literal\",\n \"valueType\" : \"{urn:hl7-org:elm-types:r1}Integer\",\n \"value\" : \"1\"\n },\n \"day\" : {\n \"type\" : \"Literal\",\n \"valueType\" : \"{urn:hl7-org:elm-types:r1}Integer\",\n \"value\" : \"1\"\n },\n \"hour\" : {\n \"type\" : \"Literal\",\n \"valueType\" : \"{urn:hl7-org:elm-types:r1}Integer\",\n \"value\" : \"0\"\n },\n \"minute\" : {\n \"type\" : \"Literal\",\n \"valueType\" : \"{urn:hl7-org:elm-types:r1}Integer\",\n \"value\" : \"0\"\n },\n \"second\" : {\n \"type\" : \"Literal\",\n \"valueType\" : \"{urn:hl7-org:elm-types:r1}Integer\",\n \"value\" : \"0\"\n },\n \"millisecond\" : {\n \"type\" : \"Literal\",\n \"valueType\" : \"{urn:hl7-org:elm-types:r1}Integer\",\n \"value\" : \"0\"\n }\n },\n \"high\" : {\n \"type\" : \"DateTime\",\n \"year\" : {\n \"type\" : \"Literal\",\n \"valueType\" : \"{urn:hl7-org:elm-types:r1}Integer\",\n \"value\" : \"2014\"\n },\n \"month\" : {\n \"type\" : \"Literal\",\n \"valueType\" : \"{urn:hl7-org:elm-types:r1}Integer\",\n \"value\" : \"1\"\n },\n \"day\" : {\n \"type\" : \"Literal\",\n \"valueType\" : \"{urn:hl7-org:elm-types:r1}Integer\",\n \"value\" : \"1\"\n },\n \"hour\" : {\n \"type\" : \"Literal\",\n \"valueType\" : \"{urn:hl7-org:elm-types:r1}Integer\",\n \"value\" : \"0\"\n },\n \"minute\" : {\n \"type\" : \"Literal\",\n \"valueType\" : \"{urn:hl7-org:elm-types:r1}Integer\",\n \"value\" : \"0\"\n },\n \"second\" : {\n \"type\" : \"Literal\",\n \"valueType\" : \"{urn:hl7-org:elm-types:r1}Integer\",\n \"value\" : \"0\"\n },\n \"millisecond\" : {\n \"type\" : \"Literal\",\n \"valueType\" : \"{urn:hl7-org:elm-types:r1}Integer\",\n \"value\" : \"0\"\n }\n },\n \"lowClosed\" : true,\n \"highClosed\" : false\n },\n \"name\" : \"MeasurementPeriod\",\n \"accessLevel\" : \"Public\"\n } ]\n },\n \"valueSets\" : {\n \"type\" : \"Library$ValueSets\",\n \"def\" : [ {\n \"type\" : \"ValueSetDef\",\n \"name\" : \"Acute Pharyngitis\",\n \"id\" : \"2.16.840.1.113883.3.464.1003.102.12.1011\",\n \"accessLevel\" : \"Public\"\n }, {\n \"type\" : \"ValueSetDef\",\n \"name\" : \"Acute Tonsillitis\",\n \"id\" : \"2.16.840.1.113883.3.464.1003.102.12.1012\",\n \"accessLevel\" : \"Public\"\n }, {\n \"type\" : \"ValueSetDef\",\n \"name\" : \"Ambulatory/ED Visit\",\n \"id\" : \"2.16.840.1.113883.3.464.1003.101.12.1061\",\n \"accessLevel\" : \"Public\"\n }, {\n \"type\" : \"ValueSetDef\",\n \"name\" : \"Antibiotic Medications\",\n \"id\" : \"2.16.840.1.113883.3.464.1003.196.12.1001\",\n \"accessLevel\" : \"Public\"\n }, {\n \"type\" : \"ValueSetDef\",\n \"name\" : \"Group A Streptococcus Test\",\n \"id\" : \"2.16.840.1.113883.3.464.1003.198.12.1012\",\n \"accessLevel\" : \"Public\"\n } ]\n },\n \"contexts\" : {\n \"type\" : \"Library$Contexts\",\n \"def\" : [ {\n \"type\" : \"ContextDef\",\n \"name\" : \"Patient\"\n } ]\n },\n \"statements\" : {\n \"type\" : \"Library$Statements\",\n \"def\" : [ {\n \"type\" : \"ExpressionDef\",\n \"expression\" : {\n \"type\" : \"SingletonFrom\",\n \"operand\" : {\n \"type\" : \"Retrieve\",\n \"dataType\" : \"{http://hl7.org/fhir}Patient\",\n \"templateId\" : \"patient-qicore-qicore-patient\"\n }\n },\n \"name\" : \"Patient\",\n \"context\" : \"Patient\"\n }, {\n \"type\" : \"ExpressionDef\",\n \"expression\" : {\n \"type\" : \"And\",\n \"operand\" : [ {\n \"type\" : \"GreaterOrEqual\",\n \"signature\" : [ {\n \"type\" : \"NamedTypeSpecifier\",\n \"name\" : \"{urn:hl7-org:elm-types:r1}Integer\"\n }, {\n \"type\" : \"NamedTypeSpecifier\",\n \"name\" : \"{urn:hl7-org:elm-types:r1}Integer\"\n } ],\n \"operand\" : [ {\n \"type\" : \"CalculateAgeAt\",\n \"signature\" : [ {\n \"type\" : \"NamedTypeSpecifier\",\n \"name\" : \"{urn:hl7-org:elm-types:r1}DateTime\"\n }, {\n \"type\" : \"NamedTypeSpecifier\",\n \"name\" : \"{urn:hl7-org:elm-types:r1}DateTime\"\n } ],\n \"operand\" : [ {\n \"type\" : \"Property\",\n \"source\" : {\n \"type\" : \"ExpressionRef\",\n \"name\" : \"Patient\"\n },\n \"path\" : \"birthDate\"\n }, {\n \"type\" : \"Start\",\n \"operand\" : {\n \"type\" : \"ParameterRef\",\n \"name\" : \"MeasurementPeriod\"\n }\n } ],\n \"precision\" : \"Year\"\n }, {\n \"type\" : \"Literal\",\n \"valueType\" : \"{urn:hl7-org:elm-types:r1}Integer\",\n \"value\" : \"2\"\n } ]\n }, {\n \"type\" : \"Less\",\n \"signature\" : [ {\n \"type\" : \"NamedTypeSpecifier\",\n \"name\" : \"{urn:hl7-org:elm-types:r1}Integer\"\n }, {\n \"type\" : \"NamedTypeSpecifier\",\n \"name\" : \"{urn:hl7-org:elm-types:r1}Integer\"\n } ],\n \"operand\" : [ {\n \"type\" : \"CalculateAgeAt\",\n \"signature\" : [ {\n \"type\" : \"NamedTypeSpecifier\",\n \"name\" : \"{urn:hl7-org:elm-types:r1}DateTime\"\n }, {\n \"type\" : \"NamedTypeSpecifier\",\n \"name\" : \"{urn:hl7-org:elm-types:r1}DateTime\"\n } ],\n \"operand\" : [ {\n \"type\" : \"Property\",\n \"source\" : {\n \"type\" : \"ExpressionRef\",\n \"name\" : \"Patient\"\n },\n \"path\" : \"birthDate\"\n }, {\n \"type\" : \"Start\",\n \"operand\" : {\n \"type\" : \"ParameterRef\",\n \"name\" : \"MeasurementPeriod\"\n }\n } ],\n \"precision\" : \"Year\"\n }, {\n \"type\" : \"Literal\",\n \"valueType\" : \"{urn:hl7-org:elm-types:r1}Integer\",\n \"value\" : \"18\"\n } ]\n } ]\n },\n \"name\" : \"InDemographic\",\n \"context\" : \"Patient\",\n \"accessLevel\" : \"Public\"\n }, {\n \"type\" : \"ExpressionDef\",\n \"expression\" : {\n \"type\" : \"Union\",\n \"operand\" : [ {\n \"type\" : \"Retrieve\",\n \"codes\" : {\n \"type\" : \"ValueSetRef\",\n \"name\" : \"Acute Pharyngitis\",\n \"preserve\" : true\n },\n \"dataType\" : \"{http://hl7.org/fhir}Condition\",\n \"templateId\" : \"condition-qicore-qicore-condition\",\n \"codeProperty\" : \"code\",\n \"codeComparator\" : \"in\"\n }, {\n \"type\" : \"Retrieve\",\n \"codes\" : {\n \"type\" : \"ValueSetRef\",\n \"name\" : \"Acute Tonsillitis\",\n \"preserve\" : true\n },\n \"dataType\" : \"{http://hl7.org/fhir}Condition\",\n \"templateId\" : \"condition-qicore-qicore-condition\",\n \"codeProperty\" : \"code\",\n \"codeComparator\" : \"in\"\n } ]\n },\n \"name\" : \"Pharyngitis\",\n \"context\" : \"Patient\",\n \"accessLevel\" : \"Public\"\n }, {\n \"type\" : \"ExpressionDef\",\n \"expression\" : {\n \"type\" : \"Retrieve\",\n \"codes\" : {\n \"type\" : \"ValueSetRef\",\n \"name\" : \"Antibiotic Medications\",\n \"preserve\" : true\n },\n \"dataType\" : \"{http://hl7.org/fhir}MedicationPrescription\",\n \"templateId\" : \"medicationprescription-qicore-qicore-medicationprescription\",\n \"codeProperty\" : \"medication.code\",\n \"codeComparator\" : \"in\"\n },\n \"name\" : \"Antibiotics\",\n \"context\" : \"Patient\",\n \"accessLevel\" : \"Public\"\n }, {\n \"type\" : \"ExpressionDef\",\n \"expression\" : {\n \"type\" : \"Query\",\n \"source\" : [ {\n \"type\" : \"AliasedQuerySource\",\n \"expression\" : {\n \"type\" : \"Retrieve\",\n \"codes\" : {\n \"type\" : \"ValueSetRef\",\n \"name\" : \"Ambulatory/ED Visit\",\n \"preserve\" : true\n },\n \"dataType\" : \"{http://hl7.org/fhir}Encounter\",\n \"templateId\" : \"encounter-qicore-qicore-encounter\",\n \"codeProperty\" : \"type\",\n \"codeComparator\" : \"in\"\n },\n \"alias\" : \"E\"\n } ],\n \"relationship\" : [ {\n \"type\" : \"With\",\n \"expression\" : {\n \"type\" : \"ExpressionRef\",\n \"name\" : \"Pharyngitis\"\n },\n \"suchThat\" : {\n \"type\" : \"OverlapsAfter\",\n \"operand\" : [ {\n \"type\" : \"Interval\",\n \"low\" : {\n \"type\" : \"Property\",\n \"path\" : \"onsetDateTime\",\n \"scope\" : \"P\"\n },\n \"high\" : {\n \"type\" : \"Property\",\n \"path\" : \"abatementDate\",\n \"scope\" : \"P\"\n },\n \"lowClosed\" : true,\n \"highClosed\" : true\n }, {\n \"type\" : \"Property\",\n \"path\" : \"period\",\n \"scope\" : \"E\"\n } ]\n },\n \"alias\" : \"P\"\n }, {\n \"type\" : \"With\",\n \"expression\" : {\n \"type\" : \"ExpressionRef\",\n \"name\" : \"Antibiotics\"\n },\n \"suchThat\" : {\n \"type\" : \"And\",\n \"operand\" : [ {\n \"type\" : \"In\",\n \"operand\" : [ {\n \"type\" : \"Property\",\n \"path\" : \"dateWritten\",\n \"scope\" : \"A\"\n }, {\n \"type\" : \"Interval\",\n \"low\" : {\n \"type\" : \"Start\",\n \"operand\" : {\n \"type\" : \"Property\",\n \"path\" : \"period\",\n \"scope\" : \"E\"\n }\n },\n \"high\" : {\n \"type\" : \"Add\",\n \"signature\" : [ {\n \"type\" : \"NamedTypeSpecifier\",\n \"name\" : \"{urn:hl7-org:elm-types:r1}DateTime\"\n }, {\n \"type\" : \"NamedTypeSpecifier\",\n \"name\" : \"{urn:hl7-org:elm-types:r1}Quantity\"\n } ],\n \"operand\" : [ {\n \"type\" : \"Start\",\n \"operand\" : {\n \"type\" : \"Property\",\n \"path\" : \"period\",\n \"scope\" : \"E\"\n }\n }, {\n \"type\" : \"Quantity\",\n \"value\" : 3,\n \"unit\" : \"days\"\n } ]\n },\n \"lowClosed\" : false,\n \"highClosed\" : true\n } ]\n }, {\n \"type\" : \"Not\",\n \"operand\" : {\n \"type\" : \"IsNull\",\n \"operand\" : {\n \"type\" : \"Start\",\n \"operand\" : {\n \"type\" : \"Property\",\n \"path\" : \"period\",\n \"scope\" : \"E\"\n }\n }\n }\n } ]\n },\n \"alias\" : \"A\"\n } ],\n \"where\" : {\n \"type\" : \"IncludedIn\",\n \"operand\" : [ {\n \"type\" : \"Property\",\n \"path\" : \"period\",\n \"scope\" : \"E\"\n }, {\n \"type\" : \"ParameterRef\",\n \"name\" : \"MeasurementPeriod\"\n } ]\n }\n },\n \"name\" : \"TargetEncounters\",\n \"context\" : \"Patient\",\n \"accessLevel\" : \"Public\"\n }, {\n \"type\" : \"ExpressionDef\",\n \"expression\" : {\n \"type\" : \"Query\",\n \"source\" : [ {\n \"type\" : \"AliasedQuerySource\",\n \"expression\" : {\n \"type\" : \"ExpressionRef\",\n \"name\" : \"Pharyngitis\"\n },\n \"alias\" : \"P\"\n } ],\n \"relationship\" : [ {\n \"type\" : \"With\",\n \"expression\" : {\n \"type\" : \"ExpressionRef\",\n \"name\" : \"TargetEncounters\"\n },\n \"suchThat\" : {\n \"type\" : \"OverlapsAfter\",\n \"operand\" : [ {\n \"type\" : \"Interval\",\n \"low\" : {\n \"type\" : \"Property\",\n \"path\" : \"onsetDateTime\",\n \"scope\" : \"P\"\n },\n \"high\" : {\n \"type\" : \"Property\",\n \"path\" : \"abatementDate\",\n \"scope\" : \"P\"\n },\n \"lowClosed\" : true,\n \"highClosed\" : true\n }, {\n \"type\" : \"Property\",\n \"path\" : \"period\",\n \"scope\" : \"E\"\n } ]\n },\n \"alias\" : \"E\"\n } ]\n },\n \"name\" : \"TargetDiagnoses\",\n \"context\" : \"Patient\",\n \"accessLevel\" : \"Public\"\n }, {\n \"type\" : \"ExpressionDef\",\n \"expression\" : {\n \"type\" : \"Exists\",\n \"operand\" : {\n \"type\" : \"Query\",\n \"source\" : [ {\n \"type\" : \"AliasedQuerySource\",\n \"expression\" : {\n \"type\" : \"ExpressionRef\",\n \"name\" : \"Antibiotics\"\n },\n \"alias\" : \"A\"\n } ],\n \"relationship\" : [ {\n \"type\" : \"With\",\n \"expression\" : {\n \"type\" : \"ExpressionRef\",\n \"name\" : \"TargetDiagnoses\"\n },\n \"suchThat\" : {\n \"type\" : \"And\",\n \"operand\" : [ {\n \"type\" : \"In\",\n \"signature\" : [ {\n \"type\" : \"NamedTypeSpecifier\",\n \"name\" : \"{urn:hl7-org:elm-types:r1}DateTime\"\n }, {\n \"type\" : \"IntervalTypeSpecifier\",\n \"pointType\" : {\n \"type\" : \"NamedTypeSpecifier\",\n \"name\" : \"{urn:hl7-org:elm-types:r1}DateTime\"\n }\n } ],\n \"operand\" : [ {\n \"type\" : \"Property\",\n \"path\" : \"dateWritten\",\n \"scope\" : \"A\"\n }, {\n \"type\" : \"Interval\",\n \"low\" : {\n \"type\" : \"Subtract\",\n \"signature\" : [ {\n \"type\" : \"NamedTypeSpecifier\",\n \"name\" : \"{urn:hl7-org:elm-types:r1}DateTime\"\n }, {\n \"type\" : \"NamedTypeSpecifier\",\n \"name\" : \"{urn:hl7-org:elm-types:r1}Quantity\"\n } ],\n \"operand\" : [ {\n \"type\" : \"Property\",\n \"path\" : \"onsetDateTime\",\n \"scope\" : \"D\"\n }, {\n \"type\" : \"Quantity\",\n \"value\" : 30,\n \"unit\" : \"days\"\n } ]\n },\n \"high\" : {\n \"type\" : \"Property\",\n \"path\" : \"onsetDateTime\",\n \"scope\" : \"D\"\n },\n \"lowClosed\" : true,\n \"highClosed\" : false\n } ]\n }, {\n \"type\" : \"Not\",\n \"operand\" : {\n \"type\" : \"IsNull\",\n \"operand\" : {\n \"type\" : \"Property\",\n \"path\" : \"onsetDateTime\",\n \"scope\" : \"D\"\n }\n }\n } ]\n },\n \"alias\" : \"D\"\n } ]\n }\n },\n \"name\" : \"HasPriorAntibiotics\",\n \"context\" : \"Patient\",\n \"accessLevel\" : \"Public\"\n }, {\n \"type\" : \"ExpressionDef\",\n \"expression\" : {\n \"type\" : \"Exists\",\n \"signature\" : [ {\n \"type\" : \"ListTypeSpecifier\",\n \"elementType\" : {\n \"type\" : \"NamedTypeSpecifier\",\n \"name\" : \"{http://hl7.org/fhir}Encounter\"\n }\n } ],\n \"operand\" : {\n \"type\" : \"ExpressionRef\",\n \"name\" : \"TargetEncounters\"\n }\n },\n \"name\" : \"HasTargetEncounter\",\n \"context\" : \"Patient\",\n \"accessLevel\" : \"Public\"\n }, {\n \"type\" : \"ExpressionDef\",\n \"expression\" : {\n \"type\" : \"And\",\n \"operand\" : [ {\n \"type\" : \"ExpressionRef\",\n \"name\" : \"InDemographic\"\n }, {\n \"type\" : \"ExpressionRef\",\n \"name\" : \"HasTargetEncounter\"\n } ]\n },\n \"name\" : \"InInitialPopulation\",\n \"context\" : \"Patient\",\n \"accessLevel\" : \"Public\"\n }, {\n \"type\" : \"ExpressionDef\",\n \"expression\" : {\n \"type\" : \"Literal\",\n \"valueType\" : \"{urn:hl7-org:elm-types:r1}Boolean\",\n \"value\" : \"true\"\n },\n \"name\" : \"InDenominator\",\n \"context\" : \"Patient\",\n \"accessLevel\" : \"Public\"\n }, {\n \"type\" : \"ExpressionDef\",\n \"expression\" : {\n \"type\" : \"ExpressionRef\",\n \"name\" : \"HasPriorAntibiotics\"\n },\n \"name\" : \"InDenominatorExclusions\",\n \"context\" : \"Patient\",\n \"accessLevel\" : \"Public\"\n }, {\n \"type\" : \"ExpressionDef\",\n \"expression\" : {\n \"type\" : \"Exists\",\n \"signature\" : [ {\n \"type\" : \"ListTypeSpecifier\",\n \"elementType\" : {\n \"type\" : \"NamedTypeSpecifier\",\n \"name\" : \"{http://hl7.org/fhir}Observation\"\n }\n } ],\n \"operand\" : {\n \"type\" : \"Query\",\n \"source\" : [ {\n \"type\" : \"AliasedQuerySource\",\n \"expression\" : {\n \"type\" : \"Retrieve\",\n \"codes\" : {\n \"type\" : \"ValueSetRef\",\n \"name\" : \"Group A Streptococcus Test\",\n \"preserve\" : true\n },\n \"dataType\" : \"{http://hl7.org/fhir}Observation\",\n \"templateId\" : \"observation-qicore-qicore-observation\",\n \"codeProperty\" : \"code\",\n \"codeComparator\" : \"in\"\n },\n \"alias\" : \"R\"\n } ],\n \"relationship\" : [ ],\n \"where\" : {\n \"type\" : \"And\",\n \"operand\" : [ {\n \"type\" : \"In\",\n \"signature\" : [ {\n \"type\" : \"NamedTypeSpecifier\",\n \"name\" : \"{urn:hl7-org:elm-types:r1}DateTime\"\n }, {\n \"type\" : \"IntervalTypeSpecifier\",\n \"pointType\" : {\n \"type\" : \"NamedTypeSpecifier\",\n \"name\" : \"{urn:hl7-org:elm-types:r1}DateTime\"\n }\n } ],\n \"operand\" : [ {\n \"type\" : \"Property\",\n \"path\" : \"issued\",\n \"scope\" : \"R\"\n }, {\n \"type\" : \"ParameterRef\",\n \"name\" : \"MeasurementPeriod\"\n } ]\n }, {\n \"type\" : \"Not\",\n \"operand\" : {\n \"type\" : \"IsNull\",\n \"operand\" : {\n \"type\" : \"Property\",\n \"path\" : \"valueQuantity\",\n \"scope\" : \"R\"\n }\n }\n } ]\n }\n }\n },\n \"name\" : \"InNumerator\",\n \"context\" : \"Patient\",\n \"accessLevel\" : \"Public\"\n } ]\n },\n \"annotation\" : [ {\n \"type\" : \"CqlToElmInfo\",\n \"translatorOptions\" : \"\",\n \"signatureLevel\" : \"Overloads\"\n }, {\n \"type\" : \"CqlToElmError\",\n \"libraryId\" : \"CMS146\",\n \"libraryVersion\" : \"2\",\n \"startLine\" : 22,\n \"startChar\" : 5,\n \"endLine\" : 22,\n \"endChar\" : 54,\n \"message\" : \"Could not resolve code path medication.code for the type of the retrieve QUICK.MedicationPrescription.\",\n \"errorType\" : \"semantic\",\n \"errorSeverity\" : \"warning\"\n }, {\n \"type\" : \"CqlToElmError\",\n \"libraryId\" : \"CMS146\",\n \"libraryVersion\" : \"2\",\n \"startLine\" : 22,\n \"startChar\" : 5,\n \"endLine\" : 22,\n \"endChar\" : 54,\n \"message\" : \"Could not resolve membership operator for terminology target of the retrieve.\",\n \"errorType\" : \"semantic\",\n \"errorSeverity\" : \"warning\"\n } ]\n }\n}"
but: library.contexts.def[0]
Unexpected: localId
; library.parameters.def[0].default.high.day
Unexpected: localId
; library.parameters.def[0].default.high.hour
Unexpected: localId
; library.parameters.def[0].default.high.millisecond
Unexpected: localId
; library.parameters.def[0].default.high.minute
Unexpected: localId
; library.parameters.def[0].default.high.month
Unexpected: localId
; library.parameters.def[0].default.high.second
Unexpected: localId
; library.parameters.def[0].default.high.year
Unexpected: localId
; library.parameters.def[0].default.high
Unexpected: localId
; library.parameters.def[0].default.low.day
Unexpected: localId
; library.parameters.def[0].default.low.hour
Unexpected: localId
; library.parameters.def[0].default.low.millisecond
Unexpected: localId
; library.parameters.def[0].default.low.minute
Unexpected: localId
; library.parameters.def[0].default.low.month
Unexpected: localId
; library.parameters.def[0].default.low.second
Unexpected: localId
; library.parameters.def[0].default.low.year
Unexpected: localId
; library.parameters.def[0].default.low
Unexpected: localId
; library.parameters.def[0].default
Unexpected: localId
; library.parameters.def[0]
Unexpected: localId
; library.statements.def[0].expression.operand
Unexpected: localId
; library.statements.def[0].expression
Unexpected: localId
; library.statements.def[0]
Unexpected: localId
; library.statements.def[1].expression.operand[0].operand[0].operand[0].source
Unexpected: localId
; library.statements.def[1].expression.operand[0].operand[0].operand[0]
Unexpected: localId
; library.statements.def[1].expression.operand[0].operand[0].operand[1].operand
Unexpected: localId
; library.statements.def[1].expression.operand[0].operand[0].operand[1]
Unexpected: localId
; library.statements.def[1].expression.operand[0].operand[0].signature[0]
Unexpected: localId
; library.statements.def[1].expression.operand[0].operand[0].signature[1]
Unexpected: localId
; library.statements.def[1].expression.operand[0].operand[0]
Unexpected: localId
; library.statements.def[1].expression.operand[0].operand[1]
Unexpected: localId
; library.statements.def[1].expression.operand[0].signature[0]
Unexpected: localId
; library.statements.def[1].expression.operand[0].signature[1]
Unexpected: localId
; library.statements.def[1].expression.operand[0]
Unexpected: localId
; library.statements.def[1].expression.operand[1].operand[0].operand[0].source
Unexpected: localId
; library.statements.def[1].expression.operand[1].operand[0].operand[0]
Unexpected: localId
; library.statements.def[1].expression.operand[1].operand[0].operand[1].operand
Unexpected: localId
; library.statements.def[1].expression.operand[1].operand[0].operand[1]
Unexpected: localId
; library.statements.def[1].expression.operand[1].operand[0].signature[0]
Unexpected: localId
; library.statements.def[1].expression.operand[1].operand[0].signature[1]
Unexpected: localId
; library.statements.def[1].expression.operand[1].operand[0]
Unexpected: localId
; library.statements.def[1].expression.operand[1].operand[1]
Unexpected: localId
; library.statements.def[1].expression.operand[1].signature[0]
Unexpected: localId
; library.statements.def[1].expression.operand[1].signature[1]
Unexpected: localId
; library.statements.def[1].expression.operand[1]
Unexpected: localId
; library.statements.def[1].expression
Unexpected: localId
; library.statements.def[1]
Unexpected: localId
; library.statements.def[2].expression.operand[0].codes
Unexpected: localId
; library.statements.def[2].expression.operand[0]
Unexpected: localId
; library.statements.def[2].expression.operand[1].codes
Unexpected: localId
; library.statements.def[2].expression.operand[1]
Unexpected: localId
; library.statements.def[2].expression
Unexpected: localId
; library.statements.def[2]
Unexpected: localId
; library.statements.def[3].expression.codes
Unexpected: localId
; library.statements.def[3].expression
Unexpected: localId
; library.statements.def[3]
Unexpected: localId
; library.statements.def[4].expression.relationship[0].expression
Unexpected: localId
; library.statements.def[4].expression.relationship[0].suchThat.operand[0].high
Unexpected: localId
; library.statements.def[4].expression.relationship[0].suchThat.operand[0].low
Unexpected: localId
; library.statements.def[4].expression.relationship[0].suchThat.operand[0]
Unexpected: localId
; library.statements.def[4].expression.relationship[0].suchThat.operand[1]
Unexpected: localId
; library.statements.def[4].expression.relationship[0].suchThat
Unexpected: localId
; library.statements.def[4].expression.relationship[0]
Unexpected: localId
; library.statements.def[4].expression.relationship[1].expression
Unexpected: localId
; library.statements.def[4].expression.relationship[1].suchThat.operand[0].operand[0]
Unexpected: localId
; library.statements.def[4].expression.relationship[1].suchThat.operand[0].operand[1].high.operand[0].operand
Unexpected: localId
; library.statements.def[4].expression.relationship[1].suchThat.operand[0].operand[1].high.operand[0]
Unexpected: localId
; library.statements.def[4].expression.relationship[1].suchThat.operand[0].operand[1].high.operand[1]
Unexpected: localId
; library.statements.def[4].expression.relationship[1].suchThat.operand[0].operand[1].high.signature[0]
Unexpected: localId
; library.statements.def[4].expression.relationship[1].suchThat.operand[0].operand[1].high.signature[1]
Unexpected: localId
; library.statements.def[4].expression.relationship[1].suchThat.operand[0].operand[1].high
Unexpected: localId
; library.statements.def[4].expression.relationship[1].suchThat.operand[0].operand[1].low.operand
Unexpected: localId
; library.statements.def[4].expression.relationship[1].suchThat.operand[0].operand[1].low
Unexpected: localId
; library.statements.def[4].expression.relationship[1].suchThat.operand[0].operand[1]
Unexpected: localId
; library.statements.def[4].expression.relationship[1].suchThat.operand[0]
Unexpected: localId
; library.statements.def[4].expression.relationship[1].suchThat.operand[1].operand.operand.operand
Unexpected: localId
; library.statements.def[4].expression.relationship[1].suchThat.operand[1].operand.operand
Unexpected: localId
; library.statements.def[4].expression.relationship[1].suchThat.operand[1].operand
Unexpected: localId
; library.statements.def[4].expression.relationship[1].suchThat.operand[1]
Unexpected: localId
; library.statements.def[4].expression.relationship[1].suchThat
Unexpected: localId
; library.statements.def[4].expression.relationship[1]
Unexpected: localId
; library.statements.def[4].expression.source[0].expression.codes
Unexpected: localId
; library.statements.def[4].expression.source[0].expression
Unexpected: localId
; library.statements.def[4].expression.source[0]
Unexpected: localId
; library.statements.def[4].expression.where.operand[0]
Unexpected: localId
; library.statements.def[4].expression.where.operand[1]
Unexpected: localId
; library.statements.def[4].expression.where
Unexpected: localId
; library.statements.def[4].expression
Unexpected: localId
; library.statements.def[4]
Unexpected: localId
; library.statements.def[5].expression.relationship[0].expression
Unexpected: localId
; library.statements.def[5].expression.relationship[0].suchThat.operand[0].high
Unexpected: localId
; library.statements.def[5].expression.relationship[0].suchThat.operand[0].low
Unexpected: localId
; library.statements.def[5].expression.relationship[0].suchThat.operand[0]
Unexpected: localId
; library.statements.def[5].expression.relationship[0].suchThat.operand[1]
Unexpected: localId
; library.statements.def[5].expression.relationship[0].suchThat
Unexpected: localId
; library.statements.def[5].expression.relationship[0]
Unexpected: localId
; library.statements.def[5].expression.source[0].expression
Unexpected: localId
; library.statements.def[5].expression.source[0]
Unexpected: localId
; library.statements.def[5].expression
Unexpected: localId
; library.statements.def[5]
Unexpected: localId
; library.statements.def[6].expression.operand.relationship[0].expression
Unexpected: localId
; library.statements.def[6].expression.operand.relationship[0].suchThat.operand[0].operand[0]
Unexpected: localId
; library.statements.def[6].expression.operand.relationship[0].suchThat.operand[0].operand[1].high
Unexpected: localId
; library.statements.def[6].expression.operand.relationship[0].suchThat.operand[0].operand[1].low.operand[0]
Unexpected: localId
; library.statements.def[6].expression.operand.relationship[0].suchThat.operand[0].operand[1].low.operand[1]
Unexpected: localId
; library.statements.def[6].expression.operand.relationship[0].suchThat.operand[0].operand[1].low.signature[0]
Unexpected: localId
; library.statements.def[6].expression.operand.relationship[0].suchThat.operand[0].operand[1].low.signature[1]
Unexpected: localId
; library.statements.def[6].expression.operand.relationship[0].suchThat.operand[0].operand[1].low
Unexpected: localId
; library.statements.def[6].expression.operand.relationship[0].suchThat.operand[0].operand[1]
Unexpected: localId
; library.statements.def[6].expression.operand.relationship[0].suchThat.operand[0].signature[0]
Unexpected: localId
; library.statements.def[6].expression.operand.relationship[0].suchThat.operand[0].signature[1].pointType
Unexpected: localId
; library.statements.def[6].expression.operand.relationship[0].suchThat.operand[0].signature[1]
Unexpected: localId
; library.statements.def[6].expression.operand.relationship[0].suchThat.operand[0]
Unexpected: localId
; library.statements.def[6].expression.operand.relationship[0].suchThat.operand[1].operand.operand
Unexpected: localId
; library.statements.def[6].expression.operand.relationship[0].suchThat.operand[1].operand
Unexpected: localId
; library.statements.def[6].expression.operand.relationship[0].suchThat.operand[1]
Unexpected: localId
; library.statements.def[6].expression.operand.relationship[0].suchThat
Unexpected: localId
; library.statements.def[6].expression.operand.relationship[0]
Unexpected: localId
; library.statements.def[6].expression.operand.source[0].expression
Unexpected: localId
; library.statements.def[6].expression.operand.source[0]
Unexpected: localId
; library.statements.def[6].expression.operand
Unexpected: localId
; library.statements.def[6].expression
Unexpected: localId
; library.statements.def[6]
Unexpected: localId
; library.statements.def[7].expression.operand
Unexpected: localId
; library.statements.def[7].expression.signature[0].elementType
Unexpected: localId
; library.statements.def[7].expression.signature[0]
Unexpected: localId
; library.statements.def[7].expression
Unexpected: localId
; library.statements.def[7]
Unexpected: localId
; library.statements.def[8].expression.operand[0]
Unexpected: localId
; library.statements.def[8].expression.operand[1]
Unexpected: localId
; library.statements.def[8].expression
Unexpected: localId
; library.statements.def[8]
Unexpected: localId
; library.statements.def[9].expression
Unexpected: localId
; library.statements.def[9]
Unexpected: localId
; library.statements.def[10].expression
Unexpected: localId
; library.statements.def[10]
Unexpected: localId
; library.statements.def[11].expression.operand.source[0].expression.codes
Unexpected: localId
; library.statements.def[11].expression.operand.source[0].expression
Unexpected: localId
; library.statements.def[11].expression.operand.source[0]
Unexpected: localId
; library.statements.def[11].expression.operand.where.operand[0].operand[0]
Unexpected: localId
; library.statements.def[11].expression.operand.where.operand[0].operand[1]
Unexpected: localId
; library.statements.def[11].expression.operand.where.operand[0].signature[0]
Unexpected: localId
; library.statements.def[11].expression.operand.where.operand[0].signature[1].pointType
Unexpected: localId
; library.statements.def[11].expression.operand.where.operand[0].signature[1]
Unexpected: localId
; library.statements.def[11].expression.operand.where.operand[0]
Unexpected: localId
; library.statements.def[11].expression.operand.where.operand[1].operand.operand
Unexpected: localId
; library.statements.def[11].expression.operand.where.operand[1].operand
Unexpected: localId
; library.statements.def[11].expression.operand.where.operand[1]
Unexpected: localId
; library.statements.def[11].expression.operand.where
Unexpected: localId
; library.statements.def[11].expression.operand
Unexpected: localId
; library.statements.def[11].expression.signature[0].elementType
Unexpected: localId
; library.statements.def[11].expression.signature[0]
Unexpected: localId
; library.statements.def[11].expression
Unexpected: localId
; library.statements.def[11]
Unexpected: localId
; library.usings.def[0]
Unexpected: localId
; library.usings.def[1]
Unexpected: localId
; library.valueSets.def[0]
Unexpected: localId
; library.valueSets.def[1]
Unexpected: localId
; library.valueSets.def[2]
Unexpected: localId
; library.valueSets.def[3]
Unexpected: localId
; library.valueSets.def[4]
Unexpected: localId
; library
Unexpected: localId
|
CMS146JsonTest.testCms146_SignatureLevels[3](CMS146v2_Expected_SignatureLevel_All.json, All):
Src/java/cql-to-elm/src/test/java/org/cqframework/cql/cql2elm/CMS146JsonTest.java#L38
java.lang.AssertionError:
Expected: "{\n \"library\" : {\n \"type\" : \"Library\",\n \"identifier\" : {\n \"type\" : \"VersionedIdentifier\",\n \"id\" : \"CMS146\",\n \"version\" : \"2\"\n },\n \"schemaIdentifier\" : {\n \"type\" : \"VersionedIdentifier\",\n \"id\" : \"urn:hl7-org:elm\",\n \"version\" : \"r1\"\n },\n \"usings\" : {\n \"type\" : \"Library$Usings\",\n \"def\" : [ {\n \"type\" : \"UsingDef\",\n \"localIdentifier\" : \"System\",\n \"uri\" : \"urn:hl7-org:elm-types:r1\"\n }, {\n \"type\" : \"UsingDef\",\n \"localIdentifier\" : \"QUICK\",\n \"uri\" : \"http://hl7.org/fhir\"\n } ]\n },\n \"parameters\" : {\n \"type\" : \"Library$Parameters\",\n \"def\" : [ {\n \"type\" : \"ParameterDef\",\n \"default\" : {\n \"type\" : \"Interval\",\n \"low\" : {\n \"type\" : \"DateTime\",\n \"year\" : {\n \"type\" : \"Literal\",\n \"valueType\" : \"{urn:hl7-org:elm-types:r1}Integer\",\n \"value\" : \"2013\"\n },\n \"month\" : {\n \"type\" : \"Literal\",\n \"valueType\" : \"{urn:hl7-org:elm-types:r1}Integer\",\n \"value\" : \"1\"\n },\n \"day\" : {\n \"type\" : \"Literal\",\n \"valueType\" : \"{urn:hl7-org:elm-types:r1}Integer\",\n \"value\" : \"1\"\n },\n \"hour\" : {\n \"type\" : \"Literal\",\n \"valueType\" : \"{urn:hl7-org:elm-types:r1}Integer\",\n \"value\" : \"0\"\n },\n \"minute\" : {\n \"type\" : \"Literal\",\n \"valueType\" : \"{urn:hl7-org:elm-types:r1}Integer\",\n \"value\" : \"0\"\n },\n \"second\" : {\n \"type\" : \"Literal\",\n \"valueType\" : \"{urn:hl7-org:elm-types:r1}Integer\",\n \"value\" : \"0\"\n },\n \"millisecond\" : {\n \"type\" : \"Literal\",\n \"valueType\" : \"{urn:hl7-org:elm-types:r1}Integer\",\n \"value\" : \"0\"\n },\n \"signature\" : [ {\n \"type\" : \"NamedTypeSpecifier\",\n \"name\" : \"{urn:hl7-org:elm-types:r1}Integer\"\n }, {\n \"type\" : \"NamedTypeSpecifier\",\n \"name\" : \"{urn:hl7-org:elm-types:r1}Integer\"\n }, {\n \"type\" : \"NamedTypeSpecifier\",\n \"name\" : \"{urn:hl7-org:elm-types:r1}Integer\"\n }, {\n \"type\" : \"NamedTypeSpecifier\",\n \"name\" : \"{urn:hl7-org:elm-types:r1}Integer\"\n }, {\n \"type\" : \"NamedTypeSpecifier\",\n \"name\" : \"{urn:hl7-org:elm-types:r1}Integer\"\n }, {\n \"type\" : \"NamedTypeSpecifier\",\n \"name\" : \"{urn:hl7-org:elm-types:r1}Integer\"\n }, {\n \"type\" : \"NamedTypeSpecifier\",\n \"name\" : \"{urn:hl7-org:elm-types:r1}Integer\"\n } ]\n },\n \"high\" : {\n \"type\" : \"DateTime\",\n \"year\" : {\n \"type\" : \"Literal\",\n \"valueType\" : \"{urn:hl7-org:elm-types:r1}Integer\",\n \"value\" : \"2014\"\n },\n \"month\" : {\n \"type\" : \"Literal\",\n \"valueType\" : \"{urn:hl7-org:elm-types:r1}Integer\",\n \"value\" : \"1\"\n },\n \"day\" : {\n \"type\" : \"Literal\",\n \"valueType\" : \"{urn:hl7-org:elm-types:r1}Integer\",\n \"value\" : \"1\"\n },\n \"hour\" : {\n \"type\" : \"Literal\",\n \"valueType\" : \"{urn:hl7-org:elm-types:r1}Integer\",\n \"value\" : \"0\"\n },\n \"minute\" : {\n \"type\" : \"Literal\",\n \"valueType\" : \"{urn:hl7-org:elm-types:r1}Integer\",\n \"value\" : \"0\"\n },\n \"second\" : {\n \"type\" : \"Literal\",\n \"valueType\" : \"{urn:hl7-org:elm-types:r1}Integer\",\n \"value\" : \"0\"\n },\n \"millisecond\" : {\n \"type\" : \"Literal\",\n \"valueType\" : \"{urn:hl7-org:elm-types:r1}Integer\",\n \"value\" : \"0\"\n },\n \"signature\" : [ {\n \"type\" : \"NamedTypeSpecifier\",\n \"name\" : \"{urn:hl7-org:elm-types:r1}Integer\"\n }, {\n \"type\" : \"NamedTypeSpecifier\",\n \"name\" : \"{urn:hl7-org:elm-types:r1}Integer\"\n }, {\n \"type\" : \"NamedTypeSpecifier\",\n \"name\" : \"{urn:hl7-org:elm-types:r1}Integer\"\n }, {\n \"type\" : \"NamedTypeSpecifier\",\n \"name\" : \"{urn:hl7-org:elm-types:r1}Integer\"\n }, {\n \"type\" : \"NamedTypeSpecifier\",\n \"name\" : \"{urn:hl7-org:elm-types:r1}Integer\"\n }, {\n \"type\" : \"NamedTypeSpecifier\",\n \"name\" : \"{urn:hl7-org:elm-types:r1}Integer\"\n }, {\n \"type\" : \"NamedTypeSpecifier\",\n \"name\" : \"{urn:hl7-org:elm-types:r1}Integer\"\n } ]\n },\n \"lowClosed\" : true,\n \"highClosed\" : false\n },\n \"name\" : \"MeasurementPeriod\",\n \"accessLevel\" : \"Public\"\n } ]\n },\n \"valueSets\" : {\n \"type\" : \"Library$ValueSets\",\n \"def\" : [ {\n \"type\" : \"ValueSetDef\",\n \"name\" : \"Acute Pharyngitis\",\n \"id\" : \"2.16.840.1.113883.3.464.1003.102.12.1011\",\n \"accessLevel\" : \"Public\"\n }, {\n \"type\" : \"ValueSetDef\",\n \"name\" : \"Acute Tonsillitis\",\n \"id\" : \"2.16.840.1.113883.3.464.1003.102.12.1012\",\n \"accessLevel\" : \"Public\"\n }, {\n \"type\" : \"ValueSetDef\",\n \"name\" : \"Ambulatory/ED Visit\",\n \"id\" : \"2.16.840.1.113883.3.464.1003.101.12.1061\",\n \"accessLevel\" : \"Public\"\n }, {\n \"type\" : \"ValueSetDef\",\n \"name\" : \"Antibiotic Medications\",\n \"id\" : \"2.16.840.1.113883.3.464.1003.196.12.1001\",\n \"accessLevel\" : \"Public\"\n }, {\n \"type\" : \"ValueSetDef\",\n \"name\" : \"Group A Streptococcus Test\",\n \"id\" : \"2.16.840.1.113883.3.464.1003.198.12.1012\",\n \"accessLevel\" : \"Public\"\n } ]\n },\n \"contexts\" : {\n \"type\" : \"Library$Contexts\",\n \"def\" : [ {\n \"type\" : \"ContextDef\",\n \"name\" : \"Patient\"\n } ]\n },\n \"statements\" : {\n \"type\" : \"Library$Statements\",\n \"def\" : [ {\n \"type\" : \"ExpressionDef\",\n \"expression\" : {\n \"type\" : \"SingletonFrom\",\n \"operand\" : {\n \"type\" : \"Retrieve\",\n \"dataType\" : \"{http://hl7.org/fhir}Patient\",\n \"templateId\" : \"patient-qicore-qicore-patient\"\n }\n },\n \"name\" : \"Patient\",\n \"context\" : \"Patient\"\n }, {\n \"type\" : \"ExpressionDef\",\n \"expression\" : {\n \"type\" : \"And\",\n \"signature\" : [ {\n \"type\" : \"NamedTypeSpecifier\",\n \"name\" : \"{urn:hl7-org:elm-types:r1}Boolean\"\n }, {\n \"type\" : \"NamedTypeSpecifier\",\n \"name\" : \"{urn:hl7-org:elm-types:r1}Boolean\"\n } ],\n \"operand\" : [ {\n \"type\" : \"GreaterOrEqual\",\n \"signature\" : [ {\n \"type\" : \"NamedTypeSpecifier\",\n \"name\" : \"{urn:hl7-org:elm-types:r1}Integer\"\n }, {\n \"type\" : \"NamedTypeSpecifier\",\n \"name\" : \"{urn:hl7-org:elm-types:r1}Integer\"\n } ],\n \"operand\" : [ {\n \"type\" : \"CalculateAgeAt\",\n \"signature\" : [ {\n \"type\" : \"NamedTypeSpecifier\",\n \"name\" : \"{urn:hl7-org:elm-types:r1}DateTime\"\n }, {\n \"type\" : \"NamedTypeSpecifier\",\n \"name\" : \"{urn:hl7-org:elm-types:r1}DateTime\"\n } ],\n \"operand\" : [ {\n \"type\" : \"Property\",\n \"source\" : {\n \"type\" : \"ExpressionRef\",\n \"name\" : \"Patient\"\n },\n \"path\" : \"birthDate\"\n }, {\n \"type\" : \"Start\",\n \"signature\" : [ {\n \"type\" : \"IntervalTypeSpecifier\",\n \"pointType\" : {\n \"type\" : \"NamedTypeSpecifier\",\n \"name\" : \"{urn:hl7-org:elm-types:r1}DateTime\"\n }\n } ],\n \"operand\" : {\n \"type\" : \"ParameterRef\",\n \"name\" : \"MeasurementPeriod\"\n }\n } ],\n \"precision\" : \"Year\"\n }, {\n \"type\" : \"Literal\",\n \"valueType\" : \"{urn:hl7-org:elm-types:r1}Integer\",\n \"value\" : \"2\"\n } ]\n }, {\n \"type\" : \"Less\",\n \"signature\" : [ {\n \"type\" : \"NamedTypeSpecifier\",\n \"name\" : \"{urn:hl7-org:elm-types:r1}Integer\"\n }, {\n \"type\" : \"NamedTypeSpecifier\",\n \"name\" : \"{urn:hl7-org:elm-types:r1}Integer\"\n } ],\n \"operand\" : [ {\n \"type\" : \"CalculateAgeAt\",\n \"signature\" : [ {\n \"type\" : \"NamedTypeSpecifier\",\n \"name\" : \"{urn:hl7-org:elm-types:r1}DateTime\"\n }, {\n \"type\" : \"NamedTypeSpecifier\",\n \"name\" : \"{urn:hl7-org:elm-types:r1}DateTime\"\n } ],\n \"operand\" : [ {\n \"type\" : \"Property\",\n \"source\" : {\n \"type\" : \"ExpressionRef\",\n \"name\" : \"Patient\"\n },\n \"path\" : \"birthDate\"\n }, {\n \"type\" : \"Start\",\n \"signature\" : [ {\n \"type\" : \"IntervalTypeSpecifier\",\n \"pointType\" : {\n \"type\" : \"NamedTypeSpecifier\",\n \"name\" : \"{urn:hl7-org:elm-types:r1}DateTime\"\n }\n } ],\n \"operand\" : {\n \"type\" : \"ParameterRef\",\n \"name\" : \"MeasurementPeriod\"\n }\n } ],\n \"precision\" : \"Year\"\n }, {\n \"type\" : \"Literal\",\n \"valueType\" : \"{urn:hl7-org:elm-types:r1}Integer\",\n \"value\" : \"18\"\n } ]\n } ]\n },\n \"name\" : \"InDemographic\",\n \"context\" : \"Patient\",\n \"accessLevel\" : \"Public\"\n }, {\n \"type\" : \"ExpressionDef\",\n \"expression\" : {\n \"type\" : \"Union\",\n \"signature\" : [ {\n \"type\" : \"ListTypeSpecifier\",\n \"elementType\" : {\n \"type\" : \"NamedTypeSpecifier\",\n \"name\" : \"{http://hl7.org/fhir}Condition\"\n }\n }, {\n \"type\" : \"ListTypeSpecifier\",\n \"elementType\" : {\n \"type\" : \"NamedTypeSpecifier\",\n \"name\" : \"{http://hl7.org/fhir}Condition\"\n }\n } ],\n \"operand\" : [ {\n \"type\" : \"Retrieve\",\n \"codes\" : {\n \"type\" : \"ValueSetRef\",\n \"name\" : \"Acute Pharyngitis\",\n \"preserve\" : true\n },\n \"dataType\" : \"{http://hl7.org/fhir}Condition\",\n \"templateId\" : \"condition-qicore-qicore-condition\",\n \"codeProperty\" : \"code\",\n \"codeComparator\" : \"in\"\n }, {\n \"type\" : \"Retrieve\",\n \"codes\" : {\n \"type\" : \"ValueSetRef\",\n \"name\" : \"Acute Tonsillitis\",\n \"preserve\" : true\n },\n \"dataType\" : \"{http://hl7.org/fhir}Condition\",\n \"templateId\" : \"condition-qicore-qicore-condition\",\n \"codeProperty\" : \"code\",\n \"codeComparator\" : \"in\"\n } ]\n },\n \"name\" : \"Pharyngitis\",\n \"context\" : \"Patient\",\n \"accessLevel\" : \"Public\"\n }, {\n \"type\" : \"ExpressionDef\",\n \"expression\" : {\n \"type\" : \"Retrieve\",\n \"codes\" : {\n \"type\" : \"ValueSetRef\",\n \"name\" : \"Antibiotic Medications\",\n \"preserve\" : true\n },\n \"dataType\" : \"{http://hl7.org/fhir}MedicationPrescription\",\n \"templateId\" : \"medicationprescription-qicore-qicore-medicationprescription\",\n \"codeProperty\" : \"medication.code\",\n \"codeComparator\" : \"in\"\n },\n \"name\" : \"Antibiotics\",\n \"context\" : \"Patient\",\n \"accessLevel\" : \"Public\"\n }, {\n \"type\" : \"ExpressionDef\",\n \"expression\" : {\n \"type\" : \"Query\",\n \"source\" : [ {\n \"type\" : \"AliasedQuerySource\",\n \"expression\" : {\n \"type\" : \"Retrieve\",\n \"codes\" : {\n \"type\" : \"ValueSetRef\",\n \"name\" : \"Ambulatory/ED Visit\",\n \"preserve\" : true\n },\n \"dataType\" : \"{http://hl7.org/fhir}Encounter\",\n \"templateId\" : \"encounter-qicore-qicore-encounter\",\n \"codeProperty\" : \"type\",\n \"codeComparator\" : \"in\"\n },\n \"alias\" : \"E\"\n } ],\n \"relationship\" : [ {\n \"type\" : \"With\",\n \"expression\" : {\n \"type\" : \"ExpressionRef\",\n \"name\" : \"Pharyngitis\"\n },\n \"suchThat\" : {\n \"type\" : \"OverlapsAfter\",\n \"signature\" : [ {\n \"type\" : \"IntervalTypeSpecifier\",\n \"pointType\" : {\n \"type\" : \"NamedTypeSpecifier\",\n \"name\" : \"{urn:hl7-org:elm-types:r1}DateTime\"\n }\n }, {\n \"type\" : \"IntervalTypeSpecifier\",\n \"pointType\" : {\n \"type\" : \"NamedTypeSpecifier\",\n \"name\" : \"{urn:hl7-org:elm-types:r1}DateTime\"\n }\n } ],\n \"operand\" : [ {\n \"type\" : \"Interval\",\n \"low\" : {\n \"type\" : \"Property\",\n \"path\" : \"onsetDateTime\",\n \"scope\" : \"P\"\n },\n \"high\" : {\n \"type\" : \"Property\",\n \"path\" : \"abatementDate\",\n \"scope\" : \"P\"\n },\n \"lowClosed\" : true,\n \"highClosed\" : true\n }, {\n \"type\" : \"Property\",\n \"path\" : \"period\",\n \"scope\" : \"E\"\n } ]\n },\n \"alias\" : \"P\"\n }, {\n \"type\" : \"With\",\n \"expression\" : {\n \"type\" : \"ExpressionRef\",\n \"name\" : \"Antibiotics\"\n },\n \"suchThat\" : {\n \"type\" : \"And\",\n \"signature\" : [ {\n \"type\" : \"NamedTypeSpecifier\",\n \"name\" : \"{urn:hl7-org:elm-types:r1}Boolean\"\n }, {\n \"type\" : \"NamedTypeSpecifier\",\n \"name\" : \"{urn:hl7-org:elm-types:r1}Boolean\"\n } ],\n \"operand\" : [ {\n \"type\" : \"In\",\n \"signature\" : [ {\n \"type\" : \"NamedTypeSpecifier\",\n \"name\" : \"{urn:hl7-org:elm-types:r1}DateTime\"\n }, {\n \"type\" : \"IntervalTypeSpecifier\",\n \"pointType\" : {\n \"type\" : \"NamedTypeSpecifier\",\n \"name\" : \"{urn:hl7-org:elm-types:r1}DateTime\"\n }\n } ],\n \"operand\" : [ {\n \"type\" : \"Property\",\n \"path\" : \"dateWritten\",\n \"scope\" : \"A\"\n }, {\n \"type\" : \"Interval\",\n \"low\" : {\n \"type\" : \"Start\",\n \"signature\" : [ {\n \"type\" : \"IntervalTypeSpecifier\",\n \"pointType\" : {\n \"type\" : \"NamedTypeSpecifier\",\n \"name\" : \"{urn:hl7-org:elm-types:r1}DateTime\"\n }\n } ],\n \"operand\" : {\n \"type\" : \"Property\",\n \"path\" : \"period\",\n \"scope\" : \"E\"\n }\n },\n \"high\" : {\n \"type\" : \"Add\",\n \"signature\" : [ {\n \"type\" : \"NamedTypeSpecifier\",\n \"name\" : \"{urn:hl7-org:elm-types:r1}DateTime\"\n }, {\n \"type\" : \"NamedTypeSpecifier\",\n \"name\" : \"{urn:hl7-org:elm-types:r1}Quantity\"\n } ],\n \"operand\" : [ {\n \"type\" : \"Start\",\n \"signature\" : [ {\n \"type\" : \"IntervalTypeSpecifier\",\n \"pointType\" : {\n \"type\" : \"NamedTypeSpecifier\",\n \"name\" : \"{urn:hl7-org:elm-types:r1}DateTime\"\n }\n } ],\n \"operand\" : {\n \"type\" : \"Property\",\n \"path\" : \"period\",\n \"scope\" : \"E\"\n }\n }, {\n \"type\" : \"Quantity\",\n \"value\" : 3,\n \"unit\" : \"days\"\n } ]\n },\n \"lowClosed\" : false,\n \"highClosed\" : true\n } ]\n }, {\n \"type\" : \"Not\",\n \"signature\" : [ {\n \"type\" : \"NamedTypeSpecifier\",\n \"name\" : \"{urn:hl7-org:elm-types:r1}Boolean\"\n } ],\n \"operand\" : {\n \"type\" : \"IsNull\",\n \"signature\" : [ {\n \"type\" : \"NamedTypeSpecifier\",\n \"name\" : \"{urn:hl7-org:elm-types:r1}Any\"\n } ],\n \"operand\" : {\n \"type\" : \"Start\",\n \"signature\" : [ {\n \"type\" : \"IntervalTypeSpecifier\",\n \"pointType\" : {\n \"type\" : \"NamedTypeSpecifier\",\n \"name\" : \"{urn:hl7-org:elm-types:r1}DateTime\"\n }\n } ],\n \"operand\" : {\n \"type\" : \"Property\",\n \"path\" : \"period\",\n \"scope\" : \"E\"\n }\n }\n }\n } ]\n },\n \"alias\" : \"A\"\n } ],\n \"where\" : {\n \"type\" : \"IncludedIn\",\n \"signature\" : [ {\n \"type\" : \"IntervalTypeSpecifier\",\n \"pointType\" : {\n \"type\" : \"NamedTypeSpecifier\",\n \"name\" : \"{urn:hl7-org:elm-types:r1}DateTime\"\n }\n }, {\n \"type\" : \"IntervalTypeSpecifier\",\n \"pointType\" : {\n \"type\" : \"NamedTypeSpecifier\",\n \"name\" : \"{urn:hl7-org:elm-types:r1}DateTime\"\n }\n } ],\n \"operand\" : [ {\n \"type\" : \"Property\",\n \"path\" : \"period\",\n \"scope\" : \"E\"\n }, {\n \"type\" : \"ParameterRef\",\n \"name\" : \"MeasurementPeriod\"\n } ]\n }\n },\n \"name\" : \"TargetEncounters\",\n \"context\" : \"Patient\",\n \"accessLevel\" : \"Public\"\n }, {\n \"type\" : \"ExpressionDef\",\n \"expression\" : {\n \"type\" : \"Query\",\n \"source\" : [ {\n \"type\" : \"AliasedQuerySource\",\n \"expression\" : {\n \"type\" : \"ExpressionRef\",\n \"name\" : \"Pharyngitis\"\n },\n \"alias\" : \"P\"\n } ],\n \"relationship\" : [ {\n \"type\" : \"With\",\n \"expression\" : {\n \"type\" : \"ExpressionRef\",\n \"name\" : \"TargetEncounters\"\n },\n \"suchThat\" : {\n \"type\" : \"OverlapsAfter\",\n \"signature\" : [ {\n \"type\" : \"IntervalTypeSpecifier\",\n \"pointType\" : {\n \"type\" : \"NamedTypeSpecifier\",\n \"name\" : \"{urn:hl7-org:elm-types:r1}DateTime\"\n }\n }, {\n \"type\" : \"IntervalTypeSpecifier\",\n \"pointType\" : {\n \"type\" : \"NamedTypeSpecifier\",\n \"name\" : \"{urn:hl7-org:elm-types:r1}DateTime\"\n }\n } ],\n \"operand\" : [ {\n \"type\" : \"Interval\",\n \"low\" : {\n \"type\" : \"Property\",\n \"path\" : \"onsetDateTime\",\n \"scope\" : \"P\"\n },\n \"high\" : {\n \"type\" : \"Property\",\n \"path\" : \"abatementDate\",\n \"scope\" : \"P\"\n },\n \"lowClosed\" : true,\n \"highClosed\" : true\n }, {\n \"type\" : \"Property\",\n \"path\" : \"period\",\n \"scope\" : \"E\"\n } ]\n },\n \"alias\" : \"E\"\n } ]\n },\n \"name\" : \"TargetDiagnoses\",\n \"context\" : \"Patient\",\n \"accessLevel\" : \"Public\"\n }, {\n \"type\" : \"ExpressionDef\",\n \"expression\" : {\n \"type\" : \"Exists\",\n \"signature\" : [ {\n \"type\" : \"ListTypeSpecifier\",\n \"elementType\" : {\n \"type\" : \"NamedTypeSpecifier\",\n \"name\" : \"{http://hl7.org/fhir}MedicationPrescription\"\n }\n } ],\n \"operand\" : {\n \"type\" : \"Query\",\n \"source\" : [ {\n \"type\" : \"AliasedQuerySource\",\n \"expression\" : {\n \"type\" : \"ExpressionRef\",\n \"name\" : \"Antibiotics\"\n },\n \"alias\" : \"A\"\n } ],\n \"relationship\" : [ {\n \"type\" : \"With\",\n \"expression\" : {\n \"type\" : \"ExpressionRef\",\n \"name\" : \"TargetDiagnoses\"\n },\n \"suchThat\" : {\n \"type\" : \"And\",\n \"signature\" : [ {\n \"type\" : \"NamedTypeSpecifier\",\n \"name\" : \"{urn:hl7-org:elm-types:r1}Boolean\"\n }, {\n \"type\" : \"NamedTypeSpecifier\",\n \"name\" : \"{urn:hl7-org:elm-types:r1}Boolean\"\n } ],\n \"operand\" : [ {\n \"type\" : \"In\",\n \"signature\" : [ {\n \"type\" : \"NamedTypeSpecifier\",\n \"name\" : \"{urn:hl7-org:elm-types:r1}DateTime\"\n }, {\n \"type\" : \"IntervalTypeSpecifier\",\n \"pointType\" : {\n \"type\" : \"NamedTypeSpecifier\",\n \"name\" : \"{urn:hl7-org:elm-types:r1}DateTime\"\n }\n } ],\n \"operand\" : [ {\n \"type\" : \"Property\",\n \"path\" : \"dateWritten\",\n \"scope\" : \"A\"\n }, {\n \"type\" : \"Interval\",\n \"low\" : {\n \"type\" : \"Subtract\",\n \"signature\" : [ {\n \"type\" : \"NamedTypeSpecifier\",\n \"name\" : \"{urn:hl7-org:elm-types:r1}DateTime\"\n }, {\n \"type\" : \"NamedTypeSpecifier\",\n \"name\" : \"{urn:hl7-org:elm-types:r1}Quantity\"\n } ],\n \"operand\" : [ {\n \"type\" : \"Property\",\n \"path\" : \"onsetDateTime\",\n \"scope\" : \"D\"\n }, {\n \"type\" : \"Quantity\",\n \"value\" : 30,\n \"unit\" : \"days\"\n } ]\n },\n \"high\" : {\n \"type\" : \"Property\",\n \"path\" : \"onsetDateTime\",\n \"scope\" : \"D\"\n },\n \"lowClosed\" : true,\n \"highClosed\" : false\n } ]\n }, {\n \"type\" : \"Not\",\n \"signature\" : [ {\n \"type\" : \"NamedTypeSpecifier\",\n \"name\" : \"{urn:hl7-org:elm-types:r1}Boolean\"\n } ],\n \"operand\" : {\n \"type\" : \"IsNull\",\n \"signature\" : [ {\n \"type\" : \"NamedTypeSpecifier\",\n \"name\" : \"{urn:hl7-org:elm-types:r1}Any\"\n } ],\n \"operand\" : {\n \"type\" : \"Property\",\n \"path\" : \"onsetDateTime\",\n \"scope\" : \"D\"\n }\n }\n } ]\n },\n \"alias\" : \"D\"\n } ]\n }\n },\n \"name\" : \"HasPriorAntibiotics\",\n \"context\" : \"Patient\",\n \"accessLevel\" : \"Public\"\n }, {\n \"type\" : \"ExpressionDef\",\n \"expression\" : {\n \"type\" : \"Exists\",\n \"signature\" : [ {\n \"type\" : \"ListTypeSpecifier\",\n \"elementType\" : {\n \"type\" : \"NamedTypeSpecifier\",\n \"name\" : \"{http://hl7.org/fhir}Encounter\"\n }\n } ],\n \"operand\" : {\n \"type\" : \"ExpressionRef\",\n \"name\" : \"TargetEncounters\"\n }\n },\n \"name\" : \"HasTargetEncounter\",\n \"context\" : \"Patient\",\n \"accessLevel\" : \"Public\"\n }, {\n \"type\" : \"ExpressionDef\",\n \"expression\" : {\n \"type\" : \"And\",\n \"signature\" : [ {\n \"type\" : \"NamedTypeSpecifier\",\n \"name\" : \"{urn:hl7-org:elm-types:r1}Boolean\"\n }, {\n \"type\" : \"NamedTypeSpecifier\",\n \"name\" : \"{urn:hl7-org:elm-types:r1}Boolean\"\n } ],\n \"operand\" : [ {\n \"type\" : \"ExpressionRef\",\n \"name\" : \"InDemographic\"\n }, {\n \"type\" : \"ExpressionRef\",\n \"name\" : \"HasTargetEncounter\"\n } ]\n },\n \"name\" : \"InInitialPopulation\",\n \"context\" : \"Patient\",\n \"accessLevel\" : \"Public\"\n }, {\n \"type\" : \"ExpressionDef\",\n \"expression\" : {\n \"type\" : \"Literal\",\n \"valueType\" : \"{urn:hl7-org:elm-types:r1}Boolean\",\n \"value\" : \"true\"\n },\n \"name\" : \"InDenominator\",\n \"context\" : \"Patient\",\n \"accessLevel\" : \"Public\"\n }, {\n \"type\" : \"ExpressionDef\",\n \"expression\" : {\n \"type\" : \"ExpressionRef\",\n \"name\" : \"HasPriorAntibiotics\"\n },\n \"name\" : \"InDenominatorExclusions\",\n \"context\" : \"Patient\",\n \"accessLevel\" : \"Public\"\n }, {\n \"type\" : \"ExpressionDef\",\n \"expression\" : {\n \"type\" : \"Exists\",\n \"signature\" : [ {\n \"type\" : \"ListTypeSpecifier\",\n \"elementType\" : {\n \"type\" : \"NamedTypeSpecifier\",\n \"name\" : \"{http://hl7.org/fhir}Observation\"\n }\n } ],\n \"operand\" : {\n \"type\" : \"Query\",\n \"source\" : [ {\n \"type\" : \"AliasedQuerySource\",\n \"expression\" : {\n \"type\" : \"Retrieve\",\n \"codes\" : {\n \"type\" : \"ValueSetRef\",\n \"name\" : \"Group A Streptococcus Test\",\n \"preserve\" : true\n },\n \"dataType\" : \"{http://hl7.org/fhir}Observation\",\n \"templateId\" : \"observation-qicore-qicore-observation\",\n \"codeProperty\" : \"code\",\n \"codeComparator\" : \"in\"\n },\n \"alias\" : \"R\"\n } ],\n \"relationship\" : [ ],\n \"where\" : {\n \"type\" : \"And\",\n \"signature\" : [ {\n \"type\" : \"NamedTypeSpecifier\",\n \"name\" : \"{urn:hl7-org:elm-types:r1}Boolean\"\n }, {\n \"type\" : \"NamedTypeSpecifier\",\n \"name\" : \"{urn:hl7-org:elm-types:r1}Boolean\"\n } ],\n \"operand\" : [ {\n \"type\" : \"In\",\n \"signature\" : [ {\n \"type\" : \"NamedTypeSpecifier\",\n \"name\" : \"{urn:hl7-org:elm-types:r1}DateTime\"\n }, {\n \"type\" : \"IntervalTypeSpecifier\",\n \"pointType\" : {\n \"type\" : \"NamedTypeSpecifier\",\n \"name\" : \"{urn:hl7-org:elm-types:r1}DateTime\"\n }\n } ],\n \"operand\" : [ {\n \"type\" : \"Property\",\n \"path\" : \"issued\",\n \"scope\" : \"R\"\n }, {\n \"type\" : \"ParameterRef\",\n \"name\" : \"MeasurementPeriod\"\n } ]\n }, {\n \"type\" : \"Not\",\n \"signature\" : [ {\n \"type\" : \"NamedTypeSpecifier\",\n \"name\" : \"{urn:hl7-org:elm-types:r1}Boolean\"\n } ],\n \"operand\" : {\n \"type\" : \"IsNull\",\n \"signature\" : [ {\n \"type\" : \"NamedTypeSpecifier\",\n \"name\" : \"{urn:hl7-org:elm-types:r1}Any\"\n } ],\n \"operand\" : {\n \"type\" : \"Property\",\n \"path\" : \"valueQuantity\",\n \"scope\" : \"R\"\n }\n }\n } ]\n }\n }\n },\n \"name\" : \"InNumerator\",\n \"context\" : \"Patient\",\n \"accessLevel\" : \"Public\"\n } ]\n },\n \"annotation\" : [ {\n \"type\" : \"CqlToElmInfo\",\n \"translatorOptions\" : \"\",\n \"signatureLevel\" : \"All\"\n }, {\n \"type\" : \"CqlToElmError\",\n \"libraryId\" : \"CMS146\",\n \"libraryVersion\" : \"2\",\n \"startLine\" : 22,\n \"startChar\" : 5,\n \"endLine\" : 22,\n \"endChar\" : 54,\n \"message\" : \"Could not resolve code path medication.code for the type of the retrieve QUICK.MedicationPrescription.\",\n \"errorType\" : \"semantic\",\n \"errorSeverity\" : \"warning\"\n }, {\n \"type\" : \"CqlToElmError\",\n \"libraryId\" : \"CMS146\",\n \"libraryVersion\" : \"2\",\n \"startLine\" : 22,\n \"startChar\" : 5,\n \"endLine\" : 22,\n \"endChar\" : 54,\n \"message\" : \"Could not resolve membership operator for terminology target of the retrieve.\",\n \"errorType\" : \"semantic\",\n \"errorSeverity\" : \"warning\"\n } ]\n }\n}"
but: library.contexts.def[0]
Unexpected: localId
; library.parameters.def[0].default.high.day
Unexpected: localId
; library.parameters.def[0].default.high.hour
Unexpected: localId
; library.parameters.def[0].default.high.millisecond
Unexpected: localId
; library.parameters.def[0].default.high.minute
Unexpected: localId
; library.parameters.def[0].default.high.month
Unexpected: localId
; library.parameters.def[0].default.high.second
Unexpected: localId
; library.parameters.def[0].default.high.signature[0]
Unexpected: localId
; library.parameters.def[0].default.high.signature[1]
Unexpected: localId
; library.parameters.def[0].default.high.signature[2]
Unexpected: localId
; library.parameters.def[0].default.high.signature[3]
Unexpected: localId
; library.parameters.def[0].default.high.signature[4]
Unexpected: localId
; library.parameters.def[0].default.high.signature[5]
Unexpected: localId
; library.parameters.def[0].default.high.signature[6]
Unexpected: localId
; library.parameters.def[0].default.high.year
Unexpected: localId
; library.parameters.def[0].default.high
Unexpected: localId
; library.parameters.def[0].default.low.day
Unexpected: localId
; library.parameters.def[0].default.low.hour
Unexpected: localId
; library.parameters.def[0].default.low.millisecond
Unexpected: localId
; library.parameters.def[0].default.low.minute
Unexpected: localId
; library.parameters.def[0].default.low.month
Unexpected: localId
; library.parameters.def[0].default.low.second
Unexpected: localId
; library.parameters.def[0].default.low.signature[0]
Unexpected: localId
; library.parameters.def[0].default.low.signature[1]
Unexpected: localId
; library.parameters.def[0].default.low.signature[2]
Unexpected: localId
; library.parameters.def[0].default.low.signature[3]
Unexpected: localId
; library.parameters.def[0].default.low.signature[4]
Unexpected: localId
; library.parameters.def[0].default.low.signature[5]
Unexpected: localId
; library.parameters.def[0].default.low.signature[6]
Unexpected: localId
; library.parameters.def[0].default.low.year
Unexpected: localId
; library.parameters.def[0].default.low
Unexpected: localId
; library.parameters.def[0].default
Unexpected: localId
; library.parameters.def[0]
Unexpected: localId
; library.statements.def[0].expression.operand
Unexpected: localId
; library.statements.def[0].expression
Unexpected: localId
; library.statements.def[0]
Unexpected: localId
; library.statements.def[1].expression.operand[0].operand[0].operand[0].source
Unexpected: localId
; library.statements.def[1].expression.operand[0].operand[0].operand[0]
Unexpected: localId
; library.statements.def[1].expression.operand[0].operand[0].operand[1].operand
Unexpected: localId
; library.statements.def[1].expression.operand[0].operand[0].operand[1].signature[0].pointType
Unexpected: localId
; library.statements.def[1].expression.operand[0].operand[0].operand[1].signature[0]
Unexpected: localId
; library.statements.def[1].expression.operand[0].operand[0].operand[1]
Unexpected: localId
; library.statements.def[1].expression.operand[0].operand[0].signature[0]
Unexpected: localId
; library.statements.def[1].expression.operand[0].operand[0].signature[1]
Unexpected: localId
; library.statements.def[1].expression.operand[0].operand[0]
Unexpected: localId
; library.statements.def[1].expression.operand[0].operand[1]
Unexpected: localId
; library.statements.def[1].expression.operand[0].signature[0]
Unexpected: localId
; library.statements.def[1].expression.operand[0].signature[1]
Unexpected: localId
; library.statements.def[1].expression.operand[0]
Unexpected: localId
; library.statements.def[1].expression.operand[1].operand[0].operand[0].source
Unexpected: localId
; library.statements.def[1].expression.operand[1].operand[0].operand[0]
Unexpected: localId
; library.statements.def[1].expression.operand[1].operand[0].operand[1].operand
Unexpected: localId
; library.statements.def[1].expression.operand[1].operand[0].operand[1].signature[0].pointType
Unexpected: localId
; library.statements.def[1].expression.operand[1].operand[0].operand[1].signature[0]
Unexpected: localId
; library.statements.def[1].expression.operand[1].operand[0].operand[1]
Unexpected: localId
; library.statements.def[1].expression.operand[1].operand[0].signature[0]
Unexpected: localId
; library.statements.def[1].expression.operand[1].operand[0].signature[1]
Unexpected: localId
; library.statements.def[1].expression.operand[1].operand[0]
Unexpected: localId
; library.statements.def[1].expression.operand[1].operand[1]
Unexpected: localId
; library.statements.def[1].expression.operand[1].signature[0]
Unexpected: localId
; library.statements.def[1].expression.operand[1].signature[1]
Unexpected: localId
; library.statements.def[1].expression.operand[1]
Unexpected: localId
; library.statements.def[1].expression.signature[0]
Unexpected: localId
; library.statements.def[1].expression.signature[1]
Unexpected: localId
; library.statements.def[1].expression
Unexpected: localId
; library.statements.def[1]
Unexpected: localId
; library.statements.def[2].expression.operand[0].codes
Unexpected: localId
; library.statements.def[2].expression.operand[0]
Unexpected: localId
; library.statements.def[2].expression.operand[1].codes
Unexpected: localId
; library.statements.def[2].expression.operand[1]
Unexpected: localId
; library.statements.def[2].expression.signature[0].elementType
Unexpected: localId
; library.statements.def[2].expression.signature[0]
Unexpected: localId
; library.statements.def[2].expression.signature[1].elementType
Unexpected: localId
; library.statements.def[2].expression.signature[1]
Unexpected: localId
; library.statements.def[2].expression
Unexpected: localId
; library.statements.def[2]
Unexpected: localId
; library.statements.def[3].expression.codes
Unexpected: localId
; library.statements.def[3].expression
Unexpected: localId
; library.statements.def[3]
Unexpected: localId
; library.statements.def[4].expression.relationship[0].expression
Unexpected: localId
; library.statements.def[4].expression.relationship[0].suchThat.operand[0].high
Unexpected: localId
; library.statements.def[4].expression.relationship[0].suchThat.operand[0].low
Unexpected: localId
; library.statements.def[4].expression.relationship[0].suchThat.operand[0]
Unexpected: localId
; library.statements.def[4].expression.relationship[0].suchThat.operand[1]
Unexpected: localId
; library.statements.def[4].expression.relationship[0].suchThat.signature[0].pointType
Unexpected: localId
; library.statements.def[4].expression.relationship[0].suchThat.signature[0]
Unexpected: localId
; library.statements.def[4].expression.relationship[0].suchThat.signature[1].pointType
Unexpected: localId
; library.statements.def[4].expression.relationship[0].suchThat.signature[1]
Unexpected: localId
; library.statements.def[4].expression.relationship[0].suchThat
Unexpected: localId
; library.statements.def[4].expression.relationship[0]
Unexpected: localId
; library.statements.def[4].expression.relationship[1].expression
Unexpected: localId
; library.statements.def[4].expression.relationship[1].suchThat.operand[0].operand[0]
Unexpected: localId
; library.statements.def[4].expression.relationship[1].suchThat.operand[0].operand[1].high.operand[0].operand
Unexpected: localId
; library.statements.def[4].expression.relationship[1].suchThat.operand[0].operand[1].high.operand[0].signature[0].pointType
Unexpected: localId
; library.statements.def[4].expression.relationship[1].suchThat.operand[0].operand[1].high.operand[0].signature[0]
Unexpected: localId
; library.statements.def[4].expression.relationship[1].suchThat.operand[0].operand[1].high.operand[0]
Unexpected: localId
; library.statements.def[4].expression.relationship[1].suchThat.operand[0].operand[1].high.operand[1]
Unexpected: localId
; library.statements.def[4].expression.relationship[1].suchThat.operand[0].operand[1].high.signature[0]
Unexpected: localId
; library.statements.def[4].expression.relationship[1].suchThat.operand[0].operand[1].high.signature[1]
Unexpected: localId
; library.statements.def[4].expression.relationship[1].suchThat.operand[0].operand[1].high
Unexpected: localId
; library.statements.def[4].expression.relationship[1].suchThat.operand[0].operand[1].low.operand
Unexpected: localId
; library.statements.def[4].expression.relationship[1].suchThat.operand[0].operand[1].low.signature[0].pointType
Unexpected: localId
; library.statements.def[4].expression.relationship[1].suchThat.operand[0].operand[1].low.signature[0]
Unexpected: localId
; library.statements.def[4].expression.relationship[1].suchThat.operand[0].operand[1].low
Unexpected: localId
; library.statements.def[4].expression.relationship[1].suchThat.operand[0].operand[1]
Unexpected: localId
; library.statements.def[4].expression.relationship[1].suchThat.operand[0].signature[0]
Unexpected: localId
; library.statements.def[4].expression.relationship[1].suchThat.operand[0].signature[1].pointType
Unexpected: localId
; library.statements.def[4].expression.relationship[1].suchThat.operand[0].signature[1]
Unexpected: localId
; library.statements.def[4].expression.relationship[1].suchThat.operand[0]
Unexpected: localId
; library.statements.def[4].expression.relationship[1].suchThat.operand[1].operand.operand.operand
Unexpected: localId
; library.statements.def[4].expression.relationship[1].suchThat.operand[1].operand.operand.signature[0].pointType
Unexpected: localId
; library.statements.def[4].expression.relationship[1].suchThat.operand[1].operand.operand.signature[0]
Unexpected: localId
; library.statements.def[4].expression.relationship[1].suchThat.operand[1].operand.operand
Unexpected: localId
; library.statements.def[4].expression.relationship[1].suchThat.operand[1].operand.signature[0]
Unexpected: localId
; library.statements.def[4].expression.relationship[1].suchThat.operand[1].operand
Unexpected: localId
; library.statements.def[4].expression.relationship[1].suchThat.operand[1].signature[0]
Unexpected: localId
; library.statements.def[4].expression.relationship[1].suchThat.operand[1]
Unexpected: localId
; library.statements.def[4].expression.relationship[1].suchThat.signature[0]
Unexpected: localId
; library.statements.def[4].expression.relationship[1].suchThat.signature[1]
Unexpected: localId
; library.statements.def[4].expression.relationship[1].suchThat
Unexpected: localId
; library.statements.def[4].expression.relationship[1]
Unexpected: localId
; library.statements.def[4].expression.source[0].expression.codes
Unexpected: localId
; library.statements.def[4].expression.source[0].expression
Unexpected: localId
; library.statements.def[4].expression.source[0]
Unexpected: localId
; library.statements.def[4].expression.where.operand[0]
Unexpected: localId
; library.statements.def[4].expression.where.operand[1]
Unexpected: localId
; library.statements.def[4].expression.where.signature[0].pointType
Unexpected: localId
; library.statements.def[4].expression.where.signature[0]
Unexpected: localId
; library.statements.def[4].expression.where.signature[1].pointType
Unexpected: localId
; library.statements.def[4].expression.where.signature[1]
Unexpected: localId
; library.statements.def[4].expression.where
Unexpected: localId
; library.statements.def[4].expression
Unexpected: localId
; library.statements.def[4]
Unexpected: localId
; library.statements.def[5].expression.relationship[0].expression
Unexpected: localId
; library.statements.def[5].expression.relationship[0].suchThat.operand[0].high
Unexpected: localId
; library.statements.def[5].expression.relationship[0].suchThat.operand[0].low
Unexpected: localId
; library.statements.def[5].expression.relationship[0].suchThat.operand[0]
Unexpected: localId
; library.statements.def[5].expression.relationship[0].suchThat.operand[1]
Unexpected: localId
; library.statements.def[5].expression.relationship[0].suchThat.signature[0].pointType
Unexpected: localId
; library.statements.def[5].expression.relationship[0].suchThat.signature[0]
Unexpected: localId
; library.statements.def[5].expression.relationship[0].suchThat.signature[1].pointType
Unexpected: localId
; library.statements.def[5].expression.relationship[0].suchThat.signature[1]
Unexpected: localId
; library.statements.def[5].expression.relationship[0].suchThat
Unexpected: localId
; library.statements.def[5].expression.relationship[0]
Unexpected: localId
; library.statements.def[5].expression.source[0].expression
Unexpected: localId
; library.statements.def[5].expression.source[0]
Unexpected: localId
; library.statements.def[5].expression
Unexpected: localId
; library.statements.def[5]
Unexpected: localId
; library.statements.def[6].expression.operand.relationship[0].expression
Unexpected: localId
; library.statements.def[6].expression.operand.relationship[0].suchThat.operand[0].operand[0]
Unexpected: localId
; library.statements.def[6].expression.operand.relationship[0].suchThat.operand[0].operand[1].high
Unexpected: localId
; library.statements.def[6].expression.operand.relationship[0].suchThat.operand[0].operand[1].low.operand[0]
Unexpected: localId
; library.statements.def[6].expression.operand.relationship[0].suchThat.operand[0].operand[1].low.operand[1]
Unexpected: localId
; library.statements.def[6].expression.operand.relationship[0].suchThat.operand[0].operand[1].low.signature[0]
Unexpected: localId
; library.statements.def[6].expression.operand.relationship[0].suchThat.operand[0].operand[1].low.signature[1]
Unexpected: localId
; library.statements.def[6].expression.operand.relationship[0].suchThat.operand[0].operand[1].low
Unexpected: localId
; library.statements.def[6].expression.operand.relationship[0].suchThat.operand[0].operand[1]
Unexpected: localId
; library.statements.def[6].expression.operand.relationship[0].suchThat.operand[0].signature[0]
Unexpected: localId
; library.statements.def[6].expression.operand.relationship[0].suchThat.operand[0].signature[1].pointType
Unexpected: localId
; library.statements.def[6].expression.operand.relationship[0].suchThat.operand[0].signature[1]
Unexpected: localId
; library.statements.def[6].expression.operand.relationship[0].suchThat.operand[0]
Unexpected: localId
; library.statements.def[6].expression.operand.relationship[0].suchThat.operand[1].operand.operand
Unexpected: localId
; library.statements.def[6].expression.operand.relationship[0].suchThat.operand[1].operand.signature[0]
Unexpected: localId
; library.statements.def[6].expression.operand.relationship[0].suchThat.operand[1].operand
Unexpected: localId
; library.statements.def[6].expression.operand.relationship[0].suchThat.operand[1].signature[0]
Unexpected: localId
; library.statements.def[6].expression.operand.relationship[0].suchThat.operand[1]
Unexpected: localId
; library.statements.def[6].expression.operand.relationship[0].suchThat.signature[0]
Unexpected: localId
; library.statements.def[6].expression.operand.relationship[0].suchThat.signature[1]
Unexpected: localId
; library.statements.def[6].expression.operand.relationship[0].suchThat
Unexpected: localId
; library.statements.def[6].expression.operand.relationship[0]
Unexpected: localId
; library.statements.def[6].expression.operand.source[0].expression
Unexpected: localId
; library.statements.def[6].expression.operand.source[0]
Unexpected: localId
; library.statements.def[6].expression.operand
Unexpected: localId
; library.statements.def[6].expression.signature[0].elementType
Unexpected: localId
; library.statements.def[6].expression.signature[0]
Unexpected: localId
; library.statements.def[6].expression
Unexpected: localId
; library.statements.def[6]
Unexpected: localId
; library.statements.def[7].expression.operand
Unexpected: localId
; library.statements.def[7].expression.signature[0].elementType
Unexpected: localId
; library.statements.def[7].expression.signature[0]
Unexpected: localId
; library.statements.def[7].expression
Unexpected: localId
; library.statements.def[7]
Unexpected: localId
; library.statements.def[8].expression.operand[0]
Unexpected: localId
; library.statements.def[8].expression.operand[1]
Unexpected: localId
; library.statements.def[8].expression.signature[0]
Unexpected: localId
; library.statements.def[8].expression.signature[1]
Unexpected: localId
; library.statements.def[8].expression
Unexpected: localId
; library.statements.def[8]
Unexpected: localId
; library.statements.def[9].expression
Unexpected: localId
; library.statements.def[9]
Unexpected: localId
; library.statements.def[10].expression
Unexpected: localId
; library.statements.def[10]
Unexpected: localId
; library.statements.def[11].expression.operand.source[0].expression.codes
Unexpected: localId
; library.statements.def[11].expression.operand.source[0].expression
Unexpected: localId
; library.statements.def[11].expression.operand.source[0]
Unexpected: localId
; library.statements.def[11].expression.operand.where.operand[0].operand[0]
Unexpected: localId
; library.statements.def[11].expression.operand.where.operand[0].operand[1]
Unexpected: localId
; library.statements.def[11].expression.operand.where.operand[0].signature[0]
Unexpected: localId
; library.statements.def[11].expression.operand.where.operand[0].signature[1].pointType
Unexpected: localId
; library.statements.def[11].expression.operand.where.operand[0].signature[1]
Unexpected: localId
; library.statements.def[11].expression.operand.where.operand[0]
Unexpected: localId
; library.statements.def[11].expression.operand.where.operand[1].operand.operand
Unexpected: localId
; library.statements.def[11].expression.operand.where.operand[1].operand.signature[0]
Unexpected: localId
; library.statements.def[11].expression.operand.where.operand[1].operand
Unexpected: localId
; library.statements.def[11].expression.operand.where.operand[1].signature[0]
Unexpected: localId
; library.statements.def[11].expression.operand.where.operand[1]
Unexpected: localId
; library.statements.def[11].expression.operand.where.signature[0]
Unexpected: localId
; library.statements.def[11].expression.operand.where.signature[1]
Unexpected: localId
; library.statements.def[11].expression.operand.where
Unexpected: localId
; library.statements.def[11].expression.operand
Unexpected: localId
; library.statements.def[11].expression.signature[0].elementType
Unexpected: localId
; library.statements.def[11].expression.signature[0]
Unexpected: localId
; library.statements.def[11].expression
Unexpected: localId
; library.statements.def[11]
Unexpected: localId
; library.usings.def[0]
Unexpected: localId
; library.usings.def[1]
Unexpected: localId
; library.valueSets.def[0]
Unexpected: localId
; library.valueSets.def[1]
Unexpected: localId
; library.valueSets.def[2]
Unexpected: localId
; library.valueSets.def[3]
Unexpected: localId
; library.valueSets.def[4]
Unexpected: localId
; library
Unexpected: localId
|
CMS146XmlTest.testCms146_SignatureLevels[0](CMS146v2_Expected_SignatureLevel_None.xml, None):
Src/java/cql-to-elm/src/test/java/org/cqframework/cql/cql2elm/CMS146XmlTest.java#L39
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:relationship/>\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 type=\"Library\" localId=\"1\">\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\" localId=\"2\" localIdentifier=\"System\" uri=\"urn:hl7-org:elm-types:r1\"/>\n <wstxns3:def wstxns3:type=\"UsingDef\" localId=\"207\" 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\" localId=\"213\" name=\"MeasurementPeriod\" accessLevel=\"Public\">\n <wstxns4:default wstxns4:type=\"Interval\" localId=\"234\" lowClosed=\"true\" highClosed=\"false\">\n <wstxns4:low wstxns4:type=\"DateTime\" localId=\"223\">\n <wstxns4:year wstxns4:type=\"Literal\" localId=\"214\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"2013\"/>\n <wstxns4:month wstxns4:type=\"Literal\" localId=\"215\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"1\"/>\n <wstxns4:day wstxns4:type=\"Literal\" localId=\"216\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"1\"/>\n <wstxns4:hour wstxns4:type=\"Literal\" localId=\"217\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n <wstxns4:minute wstxns4:type=\"Literal\" localId=\"218\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n <wstxns4:second wstxns4:type=\"Literal\" localId=\"219\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n <wstxns4:millisecond wstxns4:type=\"Literal\" localId=\"220\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n </wstxns4:low>\n <wstxns4:high wstxns4:type=\"DateTime\" localId=\"233\">\n <wstxns4:year wstxns4:type=\"Literal\" localId=\"224\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"2014\"/>\n <wstxns4:month wstxns4:type=\"Literal\" localId=\"225\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"1\"/>\n <wstxns4:day wstxns4:type=\"Literal\" localId=\"226\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"1\"/>\n <wstxns4:hour wstxns4:type=\"Literal\" localId=\"227\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n <wstxns4:minute wstxns4:type=\"Literal\" localId=\"228\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n <wstxns4:second wstxns4:type=\"Literal\" localId=\"229\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n <wstxns4:millisecond wstxns4:type=\"Literal\" localId=\"230\" 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\" localId=\"208\" name=\"Acute Pharyngitis\" id=\"2.16.840.1.113883.3.464.1003.102.12.1011\" accessLevel=\"Public\"/>\n <wstxns5:def wstxns5:type=\"ValueSetDef\" localId=\"209\" name=\"Acute Tonsillitis\" id=\"2.16.840.1.113883.3.464.1003.102.12.1012\" accessLevel=\"Public\"/>\n <wstxns5:def wstxns5:type=\"ValueSetDef\" localId=\"210\" name=\"Ambulatory/ED Visit\" id=\"2.16.840.1.113883.3.464.1003.101.12.1061\" accessLevel=\"Public\"/>\n <wstxns5:def wstxns5:type=\"ValueSetDef\" localId=\"211\" name=\"Antibiotic Medications\" id=\"2.16.840.1.113883.3.464.1003.196.12.1001\" accessLevel=\"Public\"/>\n <wstxns5:def wstxns5:type=\"ValueSetDef\" localId=\"212\" 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\" localId=\"238\" 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\" localId=\"236\" name=\"Patient\" context=\"Patient\">\n <wstxns7:expression wstxns7:type=\"SingletonFrom\" localId=\"237\">\n <wstxns7:operand wstxns7:type=\"Retrieve\" localId=\"235\" dataType=\"{http://hl7.org/fhir}Patient\" templateId=\"patient-qicore-qicore-patient\"/>\n </wstxns7:expression>\n </wstxns7:def>\n <wstxns7:def wstxns7:type=\"ExpressionDef\" localId=\"240\" name=\"InDemographic\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"And\" localId=\"241\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"GreaterOrEqual\" localId=\"242\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"CalculateAgeAt\" localId=\"249\" precision=\"Year\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Property\" localId=\"248\" path=\"birthDate\">\n <wstxns7:source wstxns7:type=\"ExpressionRef\" localId=\"247\" name=\"Patient\"/>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Start\" localId=\"243\">\n <wstxns7:operand wstxns7:type=\"ParameterRef\" localId=\"244\" name=\"MeasurementPeriod\"/>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Literal\" localId=\"250\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"2\"/>\n </wstxns7:operand>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Less\" localId=\"251\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"CalculateAgeAt\" localId=\"258\" precision=\"Year\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Property\" localId=\"257\" path=\"birthDate\">\n <wstxns7:source wstxns7:type=\"ExpressionRef\" localId=\"256\" name=\"Patient\"/>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Start\" localId=\"252\">\n <wstxns7:operand wstxns7:type=\"ParameterRef\" localId=\"253\" name=\"MeasurementPeriod\"/>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Literal\" localId=\"259\" 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\" localId=\"261\" name=\"Pharyngitis\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"Union\" localId=\"270\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Retrieve\" localId=\"264\" dataType=\"{http://hl7.org/fhir}Condition\" templateId=\"condition-qicore-qicore-condition\" codeProperty=\"code\" codeComparator=\"in\">\n <wstxns7:codes wstxns7:type=\"ValueSetRef\" localId=\"263\" name=\"Acute Pharyngitis\" preserve=\"true\"/>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Retrieve\" localId=\"268\" dataType=\"{http://hl7.org/fhir}Condition\" templateId=\"condition-qicore-qicore-condition\" codeProperty=\"code\" codeComparator=\"in\">\n <wstxns7:codes wstxns7:type=\"ValueSetRef\" localId=\"267\" name=\"Acute Tonsillitis\" preserve=\"true\"/>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:expression>\n </wstxns7:def>\n <wstxns7:def wstxns7:type=\"ExpressionDef\" localId=\"272\" name=\"Antibiotics\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"Retrieve\" localId=\"274\" dataType=\"{http://hl7.org/fhir}MedicationPrescription\" templateId=\"medicationprescription-qicore-qicore-medicationprescription\" codeProperty=\"medication.code\" codeComparator=\"in\">\n <wstxns7:codes wstxns7:type=\"ValueSetRef\" localId=\"273\" name=\"Antibiotic Medications\" preserve=\"true\"/>\n </wstxns7:expression>\n </wstxns7:def>\n <wstxns7:def wstxns7:type=\"ExpressionDef\" localId=\"276\" name=\"TargetEncounters\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"Query\" localId=\"314\">\n <wstxns7:source>\n <wstxns7:source wstxns7:type=\"AliasedQuerySource\" localId=\"277\" alias=\"E\">\n <wstxns7:expression wstxns7:type=\"Retrieve\" localId=\"280\" dataType=\"{http://hl7.org/fhir}Encounter\" templateId=\"encounter-qicore-qicore-encounter\" codeProperty=\"type\" codeComparator=\"in\">\n <wstxns7:codes wstxns7:type=\"ValueSetRef\" localId=\"279\" name=\"Ambulatory/ED Visit\" preserve=\"true\"/>\n </wstxns7:expression>\n </wstxns7:source>\n </wstxns7:source>\n <wstxns7:relationship>\n <wstxns7:relationship wstxns7:type=\"With\" localId=\"292\" alias=\"P\">\n <wstxns7:expression wstxns7:type=\"ExpressionRef\" localId=\"283\" name=\"Pharyngitis\"/>\n <wstxns7:suchThat wstxns7:type=\"OverlapsAfter\" localId=\"291\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Interval\" localId=\"288\" lowClosed=\"true\" highClosed=\"true\">\n <wstxns7:low wstxns7:type=\"Property\" localId=\"285\" path=\"onsetDateTime\" scope=\"P\"/>\n <wstxns7:high wstxns7:type=\"Property\" localId=\"287\" path=\"abatementDate\" scope=\"P\"/>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Property\" localId=\"290\" path=\"period\" scope=\"E\"/>\n </wstxns7:operand>\n </wstxns7:suchThat>\n </wstxns7:relationship>\n <wstxns7:relationship wstxns7:type=\"With\" localId=\"307\" alias=\"A\">\n <wstxns7:expression wstxns7:type=\"ExpressionRef\" localId=\"294\" name=\"Antibiotics\"/>\n <wstxns7:suchThat wstxns7:type=\"And\" localId=\"306\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"In\" localId=\"303\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Property\" localId=\"296\" path=\"dateWritten\" scope=\"A\"/>\n <wstxns7:operand wstxns7:type=\"Interval\" localId=\"302\" lowClosed=\"false\" highClosed=\"true\">\n <wstxns7:low wstxns7:type=\"Start\" localId=\"297\">\n <wstxns7:operand wstxns7:type=\"Property\" localId=\"299\" path=\"period\" scope=\"E\"/>\n </wstxns7:low>\n <wstxns7:high wstxns7:type=\"Add\" localId=\"301\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Start\" localId=\"297\">\n <wstxns7:operand wstxns7:type=\"Property\" localId=\"299\" path=\"period\" scope=\"E\"/>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Quantity\" localId=\"300\" 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\" localId=\"305\">\n <wstxns7:operand wstxns7:type=\"IsNull\" localId=\"304\">\n <wstxns7:operand wstxns7:type=\"Start\" localId=\"297\">\n <wstxns7:operand wstxns7:type=\"Property\" localId=\"299\" 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\" localId=\"311\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Property\" localId=\"309\" path=\"period\" scope=\"E\"/>\n <wstxns7:operand wstxns7:type=\"ParameterRef\" localId=\"310\" name=\"MeasurementPeriod\"/>\n </wstxns7:operand>\n </wstxns7:where>\n </wstxns7:expression>\n </wstxns7:def>\n <wstxns7:def wstxns7:type=\"ExpressionDef\" localId=\"316\" name=\"TargetDiagnoses\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"Query\" localId=\"330\">\n <wstxns7:source>\n <wstxns7:source wstxns7:type=\"AliasedQuerySource\" localId=\"317\" alias=\"P\">\n <wstxns7:expression wstxns7:type=\"ExpressionRef\" localId=\"318\" name=\"Pharyngitis\"/>\n </wstxns7:source>\n </wstxns7:source>\n <wstxns7:relationship>\n <wstxns7:relationship wstxns7:type=\"With\" localId=\"329\" alias=\"E\">\n <wstxns7:expression wstxns7:type=\"ExpressionRef\" localId=\"320\" name=\"TargetEncounters\"/>\n <wstxns7:suchThat wstxns7:type=\"OverlapsAfter\" localId=\"328\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Interval\" localId=\"325\" lowClosed=\"true\" highClosed=\"true\">\n <wstxns7:low wstxns7:type=\"Property\" localId=\"322\" path=\"onsetDateTime\" scope=\"P\"/>\n <wstxns7:high wstxns7:type=\"Property\" localId=\"324\" path=\"abatementDate\" scope=\"P\"/>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Property\" localId=\"327\" 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\" localId=\"332\" name=\"HasPriorAntibiotics\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"Exists\" localId=\"333\">\n <wstxns7:operand wstxns7:type=\"Query\" localId=\"350\">\n <wstxns7:source>\n <wstxns7:source wstxns7:type=\"AliasedQuerySource\" localId=\"334\" alias=\"A\">\n <wstxns7:expression wstxns7:type=\"ExpressionRef\" localId=\"335\" name=\"Antibiotics\"/>\n </wstxns7:source>\n </wstxns7:source>\n <wstxns7:relationship>\n <wstxns7:relationship wstxns7:type=\"With\" localId=\"349\" alias=\"D\">\n <wstxns7:expression wstxns7:type=\"ExpressionRef\" localId=\"337\" name=\"TargetDiagnoses\"/>\n <wstxns7:suchThat wstxns7:type=\"And\" localId=\"348\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"In\" localId=\"345\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Property\" localId=\"339\" path=\"dateWritten\" scope=\"A\"/>\n <wstxns7:operand wstxns7:type=\"Interval\" localId=\"344\" lowClosed=\"true\" highClosed=\"false\">\n <wstxns7:low wstxns7:type=\"Subtract\" localId=\"343\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Property\" localId=\"341\" path=\"onsetDateTime\" scope=\"D\"/>\n <wstxns7:operand wstxns7:type=\"Quantity\" localId=\"342\" value=\"30\" unit=\"days\"/>\n </wstxns7:operand>\n </wstxns7:low>\n <wstxns7:high wstxns7:type=\"Property\" localId=\"341\" path=\"onsetDateTime\" scope=\"D\"/>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Not\" localId=\"347\">\n <wstxns7:operand wstxns7:type=\"IsNull\" localId=\"346\">\n <wstxns7:operand wstxns7:type=\"Property\" localId=\"341\" 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\" localId=\"352\" name=\"HasTargetEncounter\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"Exists\" localId=\"353\">\n <wstxns7:operand wstxns7:type=\"ExpressionRef\" localId=\"354\" name=\"TargetEncounters\"/>\n </wstxns7:expression>\n </wstxns7:def>\n <wstxns7:def wstxns7:type=\"ExpressionDef\" localId=\"356\" name=\"InInitialPopulation\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"And\" localId=\"357\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"ExpressionRef\" localId=\"358\" name=\"InDemographic\"/>\n <wstxns7:operand wstxns7:type=\"ExpressionRef\" localId=\"359\" name=\"HasTargetEncounter\"/>\n </wstxns7:operand>\n </wstxns7:expression>\n </wstxns7:def>\n <wstxns7:def wstxns7:type=\"ExpressionDef\" localId=\"361\" name=\"InDenominator\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"Literal\" localId=\"362\" valueType=\"{urn:hl7-org:elm-types:r1}Boolean\" value=\"true\"/>\n </wstxns7:def>\n <wstxns7:def wstxns7:type=\"ExpressionDef\" localId=\"364\" name=\"InDenominatorExclusions\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"ExpressionRef\" localId=\"365\" name=\"HasPriorAntibiotics\"/>\n </wstxns7:def>\n <wstxns7:def wstxns7:type=\"ExpressionDef\" localId=\"367\" name=\"InNumerator\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"Exists\" localId=\"368\">\n <wstxns7:operand wstxns7:type=\"Query\" localId=\"384\">\n <wstxns7:source>\n <wstxns7:source wstxns7:type=\"AliasedQuerySource\" localId=\"369\" alias=\"R\">\n <wstxns7:expression wstxns7:type=\"Retrieve\" localId=\"372\" dataType=\"{http://hl7.org/fhir}Observation\" templateId=\"observation-qicore-qicore-observation\" codeProperty=\"code\" codeComparator=\"in\">\n <wstxns7:codes wstxns7:type=\"ValueSetRef\" localId=\"371\" name=\"Group A Streptococcus Test\" preserve=\"true\"/>\n </wstxns7:expression>\n </wstxns7:source>\n </wstxns7:source>\n <wstxns7:relationship/>\n <wstxns7:where wstxns7:type=\"And\" localId=\"374\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"In\" localId=\"379\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Property\" localId=\"376\" path=\"issued\" scope=\"R\"/>\n <wstxns7:operand wstxns7:type=\"ParameterRef\" localId=\"377\" name=\"MeasurementPeriod\"/>\n </wstxns7:operand>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Not\" localId=\"383\">\n <wstxns7:operand wstxns7:type=\"IsNull\" localId=\"382\">\n <wstxns7:operand wstxns7:type=\"Property\" localId=\"381\" 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>"
|
CMS146XmlTest.testCms146_SignatureLevels[1](CMS146v2_Expected_SignatureLevel_Differing.xml, Differing):
Src/java/cql-to-elm/src/test/java/org/cqframework/cql/cql2elm/CMS146XmlTest.java#L39
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:relationship/>\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 type=\"Library\" localId=\"1\">\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\" localId=\"2\" localIdentifier=\"System\" uri=\"urn:hl7-org:elm-types:r1\"/>\n <wstxns3:def wstxns3:type=\"UsingDef\" localId=\"207\" 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\" localId=\"213\" name=\"MeasurementPeriod\" accessLevel=\"Public\">\n <wstxns4:default wstxns4:type=\"Interval\" localId=\"234\" lowClosed=\"true\" highClosed=\"false\">\n <wstxns4:low wstxns4:type=\"DateTime\" localId=\"223\">\n <wstxns4:year wstxns4:type=\"Literal\" localId=\"214\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"2013\"/>\n <wstxns4:month wstxns4:type=\"Literal\" localId=\"215\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"1\"/>\n <wstxns4:day wstxns4:type=\"Literal\" localId=\"216\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"1\"/>\n <wstxns4:hour wstxns4:type=\"Literal\" localId=\"217\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n <wstxns4:minute wstxns4:type=\"Literal\" localId=\"218\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n <wstxns4:second wstxns4:type=\"Literal\" localId=\"219\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n <wstxns4:millisecond wstxns4:type=\"Literal\" localId=\"220\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n </wstxns4:low>\n <wstxns4:high wstxns4:type=\"DateTime\" localId=\"233\">\n <wstxns4:year wstxns4:type=\"Literal\" localId=\"224\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"2014\"/>\n <wstxns4:month wstxns4:type=\"Literal\" localId=\"225\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"1\"/>\n <wstxns4:day wstxns4:type=\"Literal\" localId=\"226\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"1\"/>\n <wstxns4:hour wstxns4:type=\"Literal\" localId=\"227\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n <wstxns4:minute wstxns4:type=\"Literal\" localId=\"228\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n <wstxns4:second wstxns4:type=\"Literal\" localId=\"229\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n <wstxns4:millisecond wstxns4:type=\"Literal\" localId=\"230\" 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\" localId=\"208\" name=\"Acute Pharyngitis\" id=\"2.16.840.1.113883.3.464.1003.102.12.1011\" accessLevel=\"Public\"/>\n <wstxns5:def wstxns5:type=\"ValueSetDef\" localId=\"209\" name=\"Acute Tonsillitis\" id=\"2.16.840.1.113883.3.464.1003.102.12.1012\" accessLevel=\"Public\"/>\n <wstxns5:def wstxns5:type=\"ValueSetDef\" localId=\"210\" name=\"Ambulatory/ED Visit\" id=\"2.16.840.1.113883.3.464.1003.101.12.1061\" accessLevel=\"Public\"/>\n <wstxns5:def wstxns5:type=\"ValueSetDef\" localId=\"211\" name=\"Antibiotic Medications\" id=\"2.16.840.1.113883.3.464.1003.196.12.1001\" accessLevel=\"Public\"/>\n <wstxns5:def wstxns5:type=\"ValueSetDef\" localId=\"212\" 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\" localId=\"238\" 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\" localId=\"236\" name=\"Patient\" context=\"Patient\">\n <wstxns7:expression wstxns7:type=\"SingletonFrom\" localId=\"237\">\n <wstxns7:operand wstxns7:type=\"Retrieve\" localId=\"235\" dataType=\"{http://hl7.org/fhir}Patient\" templateId=\"patient-qicore-qicore-patient\"/>\n </wstxns7:expression>\n </wstxns7:def>\n <wstxns7:def wstxns7:type=\"ExpressionDef\" localId=\"240\" name=\"InDemographic\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"And\" localId=\"241\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"GreaterOrEqual\" localId=\"242\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"CalculateAgeAt\" localId=\"249\" precision=\"Year\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Property\" localId=\"248\" path=\"birthDate\">\n <wstxns7:source wstxns7:type=\"ExpressionRef\" localId=\"247\" name=\"Patient\"/>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Start\" localId=\"243\">\n <wstxns7:operand wstxns7:type=\"ParameterRef\" localId=\"244\" name=\"MeasurementPeriod\"/>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Literal\" localId=\"250\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"2\"/>\n </wstxns7:operand>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Less\" localId=\"251\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"CalculateAgeAt\" localId=\"258\" precision=\"Year\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Property\" localId=\"257\" path=\"birthDate\">\n <wstxns7:source wstxns7:type=\"ExpressionRef\" localId=\"256\" name=\"Patient\"/>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Start\" localId=\"252\">\n <wstxns7:operand wstxns7:type=\"ParameterRef\" localId=\"253\" name=\"MeasurementPeriod\"/>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Literal\" localId=\"259\" 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\" localId=\"261\" name=\"Pharyngitis\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"Union\" localId=\"270\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Retrieve\" localId=\"264\" dataType=\"{http://hl7.org/fhir}Condition\" templateId=\"condition-qicore-qicore-condition\" codeProperty=\"code\" codeComparator=\"in\">\n <wstxns7:codes wstxns7:type=\"ValueSetRef\" localId=\"263\" name=\"Acute Pharyngitis\" preserve=\"true\"/>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Retrieve\" localId=\"268\" dataType=\"{http://hl7.org/fhir}Condition\" templateId=\"condition-qicore-qicore-condition\" codeProperty=\"code\" codeComparator=\"in\">\n <wstxns7:codes wstxns7:type=\"ValueSetRef\" localId=\"267\" name=\"Acute Tonsillitis\" preserve=\"true\"/>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:expression>\n </wstxns7:def>\n <wstxns7:def wstxns7:type=\"ExpressionDef\" localId=\"272\" name=\"Antibiotics\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"Retrieve\" localId=\"274\" dataType=\"{http://hl7.org/fhir}MedicationPrescription\" templateId=\"medicationprescription-qicore-qicore-medicationprescription\" codeProperty=\"medication.code\" codeComparator=\"in\">\n <wstxns7:codes wstxns7:type=\"ValueSetRef\" localId=\"273\" name=\"Antibiotic Medications\" preserve=\"true\"/>\n </wstxns7:expression>\n </wstxns7:def>\n <wstxns7:def wstxns7:type=\"ExpressionDef\" localId=\"276\" name=\"TargetEncounters\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"Query\" localId=\"320\">\n <wstxns7:source>\n <wstxns7:source wstxns7:type=\"AliasedQuerySource\" localId=\"277\" alias=\"E\">\n <wstxns7:expression wstxns7:type=\"Retrieve\" localId=\"280\" dataType=\"{http://hl7.org/fhir}Encounter\" templateId=\"encounter-qicore-qicore-encounter\" codeProperty=\"type\" codeComparator=\"in\">\n <wstxns7:codes wstxns7:type=\"ValueSetRef\" localId=\"279\" name=\"Ambulatory/ED Visit\" preserve=\"true\"/>\n </wstxns7:expression>\n </wstxns7:source>\n </wstxns7:source>\n <wstxns7:relationship>\n <wstxns7:relationship wstxns7:type=\"With\" localId=\"292\" alias=\"P\">\n <wstxns7:expression wstxns7:type=\"ExpressionRef\" localId=\"283\" name=\"Pharyngitis\"/>\n <wstxns7:suchThat wstxns7:type=\"OverlapsAfter\" localId=\"291\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Interval\" localId=\"288\" lowClosed=\"true\" highClosed=\"true\">\n <wstxns7:low wstxns7:type=\"Property\" localId=\"285\" path=\"onsetDateTime\" scope=\"P\"/>\n <wstxns7:high wstxns7:type=\"Property\" localId=\"287\" path=\"abatementDate\" scope=\"P\"/>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Property\" localId=\"290\" path=\"period\" scope=\"E\"/>\n </wstxns7:operand>\n </wstxns7:suchThat>\n </wstxns7:relationship>\n <wstxns7:relationship wstxns7:type=\"With\" localId=\"308\" alias=\"A\">\n <wstxns7:expression wstxns7:type=\"ExpressionRef\" localId=\"294\" name=\"Antibiotics\"/>\n <wstxns7:suchThat wstxns7:type=\"And\" localId=\"307\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"In\" localId=\"303\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Property\" localId=\"296\" path=\"dateWritten\" scope=\"A\"/>\n <wstxns7:operand wstxns7:type=\"Interval\" localId=\"302\" lowClosed=\"false\" highClosed=\"true\">\n <wstxns7:low wstxns7:type=\"Start\" localId=\"297\">\n <wstxns7:operand wstxns7:type=\"Property\" localId=\"299\" path=\"period\" scope=\"E\"/>\n </wstxns7:low>\n <wstxns7:high wstxns7:type=\"Add\" localId=\"301\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Start\" localId=\"297\">\n <wstxns7:operand wstxns7:type=\"Property\" localId=\"299\" path=\"period\" scope=\"E\"/>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Quantity\" localId=\"300\" 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\" localId=\"306\">\n <wstxns7:operand wstxns7:type=\"IsNull\" localId=\"304\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" localId=\"305\" name=\"{urn:hl7-org:elm-types:r1}Any\"/>\n </wstxns7:signature>\n <wstxns7:operand wstxns7:type=\"Start\" localId=\"297\">\n <wstxns7:operand wstxns7:type=\"Property\" localId=\"299\" 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\" localId=\"312\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Property\" localId=\"310\" path=\"period\" scope=\"E\"/>\n <wstxns7:operand wstxns7:type=\"ParameterRef\" localId=\"311\" name=\"MeasurementPeriod\"/>\n </wstxns7:operand>\n </wstxns7:where>\n </wstxns7:expression>\n </wstxns7:def>\n <wstxns7:def wstxns7:type=\"ExpressionDef\" localId=\"322\" name=\"TargetDiagnoses\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"Query\" localId=\"336\">\n <wstxns7:source>\n <wstxns7:source wstxns7:type=\"AliasedQuerySource\" localId=\"323\" alias=\"P\">\n <wstxns7:expression wstxns7:type=\"ExpressionRef\" localId=\"324\" name=\"Pharyngitis\"/>\n </wstxns7:source>\n </wstxns7:source>\n <wstxns7:relationship>\n <wstxns7:relationship wstxns7:type=\"With\" localId=\"335\" alias=\"E\">\n <wstxns7:expression wstxns7:type=\"ExpressionRef\" localId=\"326\" name=\"TargetEncounters\"/>\n <wstxns7:suchThat wstxns7:type=\"OverlapsAfter\" localId=\"334\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Interval\" localId=\"331\" lowClosed=\"true\" highClosed=\"true\">\n <wstxns7:low wstxns7:type=\"Property\" localId=\"328\" path=\"onsetDateTime\" scope=\"P\"/>\n <wstxns7:high wstxns7:type=\"Property\" localId=\"330\" path=\"abatementDate\" scope=\"P\"/>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Property\" localId=\"333\" 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\" localId=\"338\" name=\"HasPriorAntibiotics\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"Exists\" localId=\"339\">\n <wstxns7:operand wstxns7:type=\"Query\" localId=\"357\">\n <wstxns7:source>\n <wstxns7:source wstxns7:type=\"AliasedQuerySource\" localId=\"340\" alias=\"A\">\n <wstxns7:expression wstxns7:type=\"ExpressionRef\" localId=\"341\" name=\"Antibiotics\"/>\n </wstxns7:source>\n </wstxns7:source>\n <wstxns7:relationship>\n <wstxns7:relationship wstxns7:type=\"With\" localId=\"356\" alias=\"D\">\n <wstxns7:expression wstxns7:type=\"ExpressionRef\" localId=\"343\" name=\"TargetDiagnoses\"/>\n <wstxns7:suchThat wstxns7:type=\"And\" localId=\"355\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"In\" localId=\"351\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Property\" localId=\"345\" path=\"dateWritten\" scope=\"A\"/>\n <wstxns7:operand wstxns7:type=\"Interval\" localId=\"350\" lowClosed=\"true\" highClosed=\"false\">\n <wstxns7:low wstxns7:type=\"Subtract\" localId=\"349\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Property\" localId=\"347\" path=\"onsetDateTime\" scope=\"D\"/>\n <wstxns7:operand wstxns7:type=\"Quantity\" localId=\"348\" value=\"30\" unit=\"days\"/>\n </wstxns7:operand>\n </wstxns7:low>\n <wstxns7:high wstxns7:type=\"Property\" localId=\"347\" path=\"onsetDateTime\" scope=\"D\"/>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Not\" localId=\"354\">\n <wstxns7:operand wstxns7:type=\"IsNull\" localId=\"352\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" localId=\"353\" name=\"{urn:hl7-org:elm-types:r1}Any\"/>\n </wstxns7:signature>\n <wstxns7:operand wstxns7:type=\"Property\" localId=\"347\" 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\" localId=\"359\" name=\"HasTargetEncounter\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"Exists\" localId=\"360\">\n <wstxns7:operand wstxns7:type=\"ExpressionRef\" localId=\"361\" name=\"TargetEncounters\"/>\n </wstxns7:expression>\n </wstxns7:def>\n <wstxns7:def wstxns7:type=\"ExpressionDef\" localId=\"363\" name=\"InInitialPopulation\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"And\" localId=\"364\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"ExpressionRef\" localId=\"365\" name=\"InDemographic\"/>\n <wstxns7:operand wstxns7:type=\"ExpressionRef\" localId=\"366\" name=\"HasTargetEncounter\"/>\n </wstxns7:operand>\n </wstxns7:expression>\n </wstxns7:def>\n <wstxns7:def wstxns7:type=\"ExpressionDef\" localId=\"368\" name=\"InDenominator\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"Literal\" localId=\"369\" valueType=\"{urn:hl7-org:elm-types:r1}Boolean\" value=\"true\"/>\n </wstxns7:def>\n <wstxns7:def wstxns7:type=\"ExpressionDef\" localId=\"371\" name=\"InDenominatorExclusions\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"ExpressionRef\" localId=\"372\" name=\"HasPriorAntibiotics\"/>\n </wstxns7:def>\n <wstxns7:def wstxns7:type=\"ExpressionDef\" localId=\"374\" name=\"InNumerator\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"Exists\" localId=\"375\">\n <wstxns7:operand wstxns7:type=\"Query\" localId=\"392\">\n <wstxns7:source>\n <wstxns7:source wstxns7:type=\"AliasedQuerySource\" localId=\"376\" alias=\"R\">\n <wstxns7:expression wstxns7:type=\"Retrieve\" localId=\"379\" dataType=\"{http://hl7.org/fhir}Observation\" templateId=\"observation-qicore-qicore-observation\" codeProperty=\"code\" codeComparator=\"in\">\n <wstxns7:codes wstxns7:type=\"ValueSetRef\" localId=\"378\" name=\"Group A Streptococcus Test\" preserve=\"true\"/>\n </wstxns7:expression>\n </wstxns7:source>\n </wstxns7:source>\n <wstxns7:relationship/>\n <wstxns7:where wstxns7:type=\"And\" localId=\"381\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"In\" localId=\"386\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Property\" localId=\"383\" path=\"issued\" scope=\"R\"/>\n <wstxns7:operand wstxns7:type=\"ParameterRef\" localId=\"384\" name=\"MeasurementPeriod\"/>\n </wstxns7:operand>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Not\" localId=\"391\">\n <wstxns7:operand wstxns7:type=\"IsNull\" localId=\"389\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" localId=\"390\" name=\"{urn:hl7-org:elm-types:r1}Any\"/>\n </wstxns7:signature>\n <wstxns7:operand wstxns7:type=\"Property\" localId=\"388\" 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>"
|
CMS146XmlTest.testCms146_SignatureLevels[2](CMS146v2_Expected_SignatureLevel_Overloads.xml, Overloads):
Src/java/cql-to-elm/src/test/java/org/cqframework/cql/cql2elm/CMS146XmlTest.java#L39
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: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:relationship/>\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 type=\"Library\" localId=\"1\">\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\" localId=\"2\" localIdentifier=\"System\" uri=\"urn:hl7-org:elm-types:r1\"/>\n <wstxns3:def wstxns3:type=\"UsingDef\" localId=\"207\" 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\" localId=\"213\" name=\"MeasurementPeriod\" accessLevel=\"Public\">\n <wstxns4:default wstxns4:type=\"Interval\" localId=\"234\" lowClosed=\"true\" highClosed=\"false\">\n <wstxns4:low wstxns4:type=\"DateTime\" localId=\"223\">\n <wstxns4:year wstxns4:type=\"Literal\" localId=\"214\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"2013\"/>\n <wstxns4:month wstxns4:type=\"Literal\" localId=\"215\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"1\"/>\n <wstxns4:day wstxns4:type=\"Literal\" localId=\"216\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"1\"/>\n <wstxns4:hour wstxns4:type=\"Literal\" localId=\"217\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n <wstxns4:minute wstxns4:type=\"Literal\" localId=\"218\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n <wstxns4:second wstxns4:type=\"Literal\" localId=\"219\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n <wstxns4:millisecond wstxns4:type=\"Literal\" localId=\"220\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n </wstxns4:low>\n <wstxns4:high wstxns4:type=\"DateTime\" localId=\"233\">\n <wstxns4:year wstxns4:type=\"Literal\" localId=\"224\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"2014\"/>\n <wstxns4:month wstxns4:type=\"Literal\" localId=\"225\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"1\"/>\n <wstxns4:day wstxns4:type=\"Literal\" localId=\"226\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"1\"/>\n <wstxns4:hour wstxns4:type=\"Literal\" localId=\"227\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n <wstxns4:minute wstxns4:type=\"Literal\" localId=\"228\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n <wstxns4:second wstxns4:type=\"Literal\" localId=\"229\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n <wstxns4:millisecond wstxns4:type=\"Literal\" localId=\"230\" 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\" localId=\"208\" name=\"Acute Pharyngitis\" id=\"2.16.840.1.113883.3.464.1003.102.12.1011\" accessLevel=\"Public\"/>\n <wstxns5:def wstxns5:type=\"ValueSetDef\" localId=\"209\" name=\"Acute Tonsillitis\" id=\"2.16.840.1.113883.3.464.1003.102.12.1012\" accessLevel=\"Public\"/>\n <wstxns5:def wstxns5:type=\"ValueSetDef\" localId=\"210\" name=\"Ambulatory/ED Visit\" id=\"2.16.840.1.113883.3.464.1003.101.12.1061\" accessLevel=\"Public\"/>\n <wstxns5:def wstxns5:type=\"ValueSetDef\" localId=\"211\" name=\"Antibiotic Medications\" id=\"2.16.840.1.113883.3.464.1003.196.12.1001\" accessLevel=\"Public\"/>\n <wstxns5:def wstxns5:type=\"ValueSetDef\" localId=\"212\" 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\" localId=\"238\" 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\" localId=\"236\" name=\"Patient\" context=\"Patient\">\n <wstxns7:expression wstxns7:type=\"SingletonFrom\" localId=\"237\">\n <wstxns7:operand wstxns7:type=\"Retrieve\" localId=\"235\" dataType=\"{http://hl7.org/fhir}Patient\" templateId=\"patient-qicore-qicore-patient\"/>\n </wstxns7:expression>\n </wstxns7:def>\n <wstxns7:def wstxns7:type=\"ExpressionDef\" localId=\"240\" name=\"InDemographic\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"And\" localId=\"241\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"GreaterOrEqual\" localId=\"242\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" localId=\"253\" name=\"{urn:hl7-org:elm-types:r1}Integer\"/>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" localId=\"254\" name=\"{urn:hl7-org:elm-types:r1}Integer\"/>\n </wstxns7:signature>\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"CalculateAgeAt\" localId=\"249\" precision=\"Year\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" localId=\"250\" name=\"{urn:hl7-org:elm-types:r1}DateTime\"/>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" localId=\"251\" name=\"{urn:hl7-org:elm-types:r1}DateTime\"/>\n </wstxns7:signature>\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Property\" localId=\"248\" path=\"birthDate\">\n <wstxns7:source wstxns7:type=\"ExpressionRef\" localId=\"247\" name=\"Patient\"/>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Start\" localId=\"243\">\n <wstxns7:operand wstxns7:type=\"ParameterRef\" localId=\"244\" name=\"MeasurementPeriod\"/>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Literal\" localId=\"252\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"2\"/>\n </wstxns7:operand>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Less\" localId=\"255\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" localId=\"266\" name=\"{urn:hl7-org:elm-types:r1}Integer\"/>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" localId=\"267\" name=\"{urn:hl7-org:elm-types:r1}Integer\"/>\n </wstxns7:signature>\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"CalculateAgeAt\" localId=\"262\" precision=\"Year\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" localId=\"263\" name=\"{urn:hl7-org:elm-types:r1}DateTime\"/>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" localId=\"264\" name=\"{urn:hl7-org:elm-types:r1}DateTime\"/>\n </wstxns7:signature>\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Property\" localId=\"261\" path=\"birthDate\">\n <wstxns7:source wstxns7:type=\"ExpressionRef\" localId=\"260\" name=\"Patient\"/>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Start\" localId=\"256\">\n <wstxns7:operand wstxns7:type=\"ParameterRef\" localId=\"257\" name=\"MeasurementPeriod\"/>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Literal\" localId=\"265\" 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\" localId=\"269\" name=\"Pharyngitis\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"Union\" localId=\"280\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Retrieve\" localId=\"272\" dataType=\"{http://hl7.org/fhir}Condition\" templateId=\"condition-qicore-qicore-condition\" codeProperty=\"code\" codeComparator=\"in\">\n <wstxns7:codes wstxns7:type=\"ValueSetRef\" localId=\"271\" name=\"Acute Pharyngitis\" preserve=\"true\"/>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Retrieve\" localId=\"277\" dataType=\"{http://hl7.org/fhir}Condition\" templateId=\"condition-qicore-qicore-condition\" codeProperty=\"code\" codeComparator=\"in\">\n <wstxns7:codes wstxns7:type=\"ValueSetRef\" localId=\"276\" name=\"Acute Tonsillitis\" preserve=\"true\"/>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:expression>\n </wstxns7:def>\n <wstxns7:def wstxns7:type=\"ExpressionDef\" localId=\"282\" name=\"Antibiotics\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"Retrieve\" localId=\"284\" dataType=\"{http://hl7.org/fhir}MedicationPrescription\" templateId=\"medicationprescription-qicore-qicore-medicationprescription\" codeProperty=\"medication.code\" codeComparator=\"in\">\n <wstxns7:codes wstxns7:type=\"ValueSetRef\" localId=\"283\" name=\"Antibiotic Medications\" preserve=\"true\"/>\n </wstxns7:expression>\n </wstxns7:def>\n <wstxns7:def wstxns7:type=\"ExpressionDef\" localId=\"286\" name=\"TargetEncounters\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"Query\" localId=\"333\">\n <wstxns7:source>\n <wstxns7:source wstxns7:type=\"AliasedQuerySource\" localId=\"287\" alias=\"E\">\n <wstxns7:expression wstxns7:type=\"Retrieve\" localId=\"290\" dataType=\"{http://hl7.org/fhir}Encounter\" templateId=\"encounter-qicore-qicore-encounter\" codeProperty=\"type\" codeComparator=\"in\">\n <wstxns7:codes wstxns7:type=\"ValueSetRef\" localId=\"289\" name=\"Ambulatory/ED Visit\" preserve=\"true\"/>\n </wstxns7:expression>\n </wstxns7:source>\n </wstxns7:source>\n <wstxns7:relationship>\n <wstxns7:relationship wstxns7:type=\"With\" localId=\"304\" alias=\"P\">\n <wstxns7:expression wstxns7:type=\"ExpressionRef\" localId=\"295\" name=\"Pharyngitis\"/>\n <wstxns7:suchThat wstxns7:type=\"OverlapsAfter\" localId=\"303\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Interval\" localId=\"300\" lowClosed=\"true\" highClosed=\"true\">\n <wstxns7:low wstxns7:type=\"Property\" localId=\"297\" path=\"onsetDateTime\" scope=\"P\"/>\n <wstxns7:high wstxns7:type=\"Property\" localId=\"299\" path=\"abatementDate\" scope=\"P\"/>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Property\" localId=\"302\" path=\"period\" scope=\"E\"/>\n </wstxns7:operand>\n </wstxns7:suchThat>\n </wstxns7:relationship>\n <wstxns7:relationship wstxns7:type=\"With\" localId=\"321\" alias=\"A\">\n <wstxns7:expression wstxns7:type=\"ExpressionRef\" localId=\"306\" name=\"Antibiotics\"/>\n <wstxns7:suchThat wstxns7:type=\"And\" localId=\"320\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"In\" localId=\"317\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Property\" localId=\"308\" path=\"dateWritten\" scope=\"A\"/>\n <wstxns7:operand wstxns7:type=\"Interval\" localId=\"316\" lowClosed=\"false\" highClosed=\"true\">\n <wstxns7:low wstxns7:type=\"Start\" localId=\"309\">\n <wstxns7:operand wstxns7:type=\"Property\" localId=\"311\" path=\"period\" scope=\"E\"/>\n </wstxns7:low>\n <wstxns7:high wstxns7:type=\"Add\" localId=\"313\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" localId=\"314\" name=\"{urn:hl7-org:elm-types:r1}DateTime\"/>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" localId=\"315\" name=\"{urn:hl7-org:elm-types:r1}Quantity\"/>\n </wstxns7:signature>\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Start\" localId=\"309\">\n <wstxns7:operand wstxns7:type=\"Property\" localId=\"311\" path=\"period\" scope=\"E\"/>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Quantity\" localId=\"312\" 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\" localId=\"319\">\n <wstxns7:operand wstxns7:type=\"IsNull\" localId=\"318\">\n <wstxns7:operand wstxns7:type=\"Start\" localId=\"309\">\n <wstxns7:operand wstxns7:type=\"Property\" localId=\"311\" 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\" localId=\"325\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Property\" localId=\"323\" path=\"period\" scope=\"E\"/>\n <wstxns7:operand wstxns7:type=\"ParameterRef\" localId=\"324\" name=\"MeasurementPeriod\"/>\n </wstxns7:operand>\n </wstxns7:where>\n </wstxns7:expression>\n </wstxns7:def>\n <wstxns7:def wstxns7:type=\"ExpressionDef\" localId=\"335\" name=\"TargetDiagnoses\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"Query\" localId=\"349\">\n <wstxns7:source>\n <wstxns7:source wstxns7:type=\"AliasedQuerySource\" localId=\"336\" alias=\"P\">\n <wstxns7:expression wstxns7:type=\"ExpressionRef\" localId=\"337\" name=\"Pharyngitis\"/>\n </wstxns7:source>\n </wstxns7:source>\n <wstxns7:relationship>\n <wstxns7:relationship wstxns7:type=\"With\" localId=\"348\" alias=\"E\">\n <wstxns7:expression wstxns7:type=\"ExpressionRef\" localId=\"339\" name=\"TargetEncounters\"/>\n <wstxns7:suchThat wstxns7:type=\"OverlapsAfter\" localId=\"347\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Interval\" localId=\"344\" lowClosed=\"true\" highClosed=\"true\">\n <wstxns7:low wstxns7:type=\"Property\" localId=\"341\" path=\"onsetDateTime\" scope=\"P\"/>\n <wstxns7:high wstxns7:type=\"Property\" localId=\"343\" path=\"abatementDate\" scope=\"P\"/>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Property\" localId=\"346\" 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\" localId=\"351\" name=\"HasPriorAntibiotics\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"Exists\" localId=\"352\">\n <wstxns7:operand wstxns7:type=\"Query\" localId=\"374\">\n <wstxns7:source>\n <wstxns7:source wstxns7:type=\"AliasedQuerySource\" localId=\"353\" alias=\"A\">\n <wstxns7:expression wstxns7:type=\"ExpressionRef\" localId=\"354\" name=\"Antibiotics\"/>\n </wstxns7:source>\n </wstxns7:source>\n <wstxns7:relationship>\n <wstxns7:relationship wstxns7:type=\"With\" localId=\"373\" alias=\"D\">\n <wstxns7:expression wstxns7:type=\"ExpressionRef\" localId=\"356\" name=\"TargetDiagnoses\"/>\n <wstxns7:suchThat wstxns7:type=\"And\" localId=\"372\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"In\" localId=\"366\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" localId=\"367\" name=\"{urn:hl7-org:elm-types:r1}DateTime\"/>\n <wstxns7:signature wstxns7:type=\"IntervalTypeSpecifier\" localId=\"368\">\n <wstxns7:pointType wstxns7:type=\"NamedTypeSpecifier\" localId=\"369\" name=\"{urn:hl7-org:elm-types:r1}DateTime\"/>\n </wstxns7:signature>\n </wstxns7:signature>\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Property\" localId=\"358\" path=\"dateWritten\" scope=\"A\"/>\n <wstxns7:operand wstxns7:type=\"Interval\" localId=\"365\" lowClosed=\"true\" highClosed=\"false\">\n <wstxns7:low wstxns7:type=\"Subtract\" localId=\"362\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" localId=\"363\" name=\"{urn:hl7-org:elm-types:r1}DateTime\"/>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" localId=\"364\" name=\"{urn:hl7-org:elm-types:r1}Quantity\"/>\n </wstxns7:signature>\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Property\" localId=\"360\" path=\"onsetDateTime\" scope=\"D\"/>\n <wstxns7:operand wstxns7:type=\"Quantity\" localId=\"361\" value=\"30\" unit=\"days\"/>\n </wstxns7:operand>\n </wstxns7:low>\n <wstxns7:high wstxns7:type=\"Property\" localId=\"360\" path=\"onsetDateTime\" scope=\"D\"/>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Not\" localId=\"371\">\n <wstxns7:operand wstxns7:type=\"IsNull\" localId=\"370\">\n <wstxns7:operand wstxns7:type=\"Property\" localId=\"360\" 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\" localId=\"376\" name=\"HasTargetEncounter\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"Exists\" localId=\"377\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"ListTypeSpecifier\" localId=\"379\">\n <wstxns7:elementType wstxns7:type=\"NamedTypeSpecifier\" localId=\"380\" name=\"{http://hl7.org/fhir}Encounter\"/>\n </wstxns7:signature>\n </wstxns7:signature>\n <wstxns7:operand wstxns7:type=\"ExpressionRef\" localId=\"378\" name=\"TargetEncounters\"/>\n </wstxns7:expression>\n </wstxns7:def>\n <wstxns7:def wstxns7:type=\"ExpressionDef\" localId=\"382\" name=\"InInitialPopulation\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"And\" localId=\"383\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"ExpressionRef\" localId=\"384\" name=\"InDemographic\"/>\n <wstxns7:operand wstxns7:type=\"ExpressionRef\" localId=\"385\" name=\"HasTargetEncounter\"/>\n </wstxns7:operand>\n </wstxns7:expression>\n </wstxns7:def>\n <wstxns7:def wstxns7:type=\"ExpressionDef\" localId=\"387\" name=\"InDenominator\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"Literal\" localId=\"388\" valueType=\"{urn:hl7-org:elm-types:r1}Boolean\" value=\"true\"/>\n </wstxns7:def>\n <wstxns7:def wstxns7:type=\"ExpressionDef\" localId=\"390\" name=\"InDenominatorExclusions\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"ExpressionRef\" localId=\"391\" name=\"HasPriorAntibiotics\"/>\n </wstxns7:def>\n <wstxns7:def wstxns7:type=\"ExpressionDef\" localId=\"393\" name=\"InNumerator\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"Exists\" localId=\"394\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"ListTypeSpecifier\" localId=\"415\">\n <wstxns7:elementType wstxns7:type=\"NamedTypeSpecifier\" localId=\"416\" name=\"{http://hl7.org/fhir}Observation\"/>\n </wstxns7:signature>\n </wstxns7:signature>\n <wstxns7:operand wstxns7:type=\"Query\" localId=\"414\">\n <wstxns7:source>\n <wstxns7:source wstxns7:type=\"AliasedQuerySource\" localId=\"395\" alias=\"R\">\n <wstxns7:expression wstxns7:type=\"Retrieve\" localId=\"398\" dataType=\"{http://hl7.org/fhir}Observation\" templateId=\"observation-qicore-qicore-observation\" codeProperty=\"code\" codeComparator=\"in\">\n <wstxns7:codes wstxns7:type=\"ValueSetRef\" localId=\"397\" name=\"Group A Streptococcus Test\" preserve=\"true\"/>\n </wstxns7:expression>\n </wstxns7:source>\n </wstxns7:source>\n <wstxns7:relationship/>\n <wstxns7:where wstxns7:type=\"And\" localId=\"401\">\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"In\" localId=\"406\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" localId=\"407\" name=\"{urn:hl7-org:elm-types:r1}DateTime\"/>\n <wstxns7:signature wstxns7:type=\"IntervalTypeSpecifier\" localId=\"408\">\n <wstxns7:pointType wstxns7:type=\"NamedTypeSpecifier\" localId=\"409\" name=\"{urn:hl7-org:elm-types:r1}DateTime\"/>\n </wstxns7:signature>\n </wstxns7:signature>\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Property\" localId=\"403\" path=\"issued\" scope=\"R\"/>\n <wstxns7:operand wstxns7:type=\"ParameterRef\" localId=\"404\" name=\"MeasurementPeriod\"/>\n </wstxns7:operand>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Not\" localId=\"413\">\n <wstxns7:operand wstxns7:type=\"IsNull\" localId=\"412\">\n <wstxns7:operand wstxns7:type=\"Property\" localId=\"411\" 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>"
|
CMS146XmlTest.testCms146_SignatureLevels[3](CMS146v2_Expected_SignatureLevel_All.xml, All):
Src/java/cql-to-elm/src/test/java/org/cqframework/cql/cql2elm/CMS146XmlTest.java#L39
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:relationship/>\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 type=\"Library\" localId=\"1\">\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\" localId=\"2\" localIdentifier=\"System\" uri=\"urn:hl7-org:elm-types:r1\"/>\n <wstxns3:def wstxns3:type=\"UsingDef\" localId=\"207\" 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\" localId=\"213\" name=\"MeasurementPeriod\" accessLevel=\"Public\">\n <wstxns4:default wstxns4:type=\"Interval\" localId=\"262\" lowClosed=\"true\" highClosed=\"false\">\n <wstxns4:low wstxns4:type=\"DateTime\" localId=\"230\">\n <wstxns4:year wstxns4:type=\"Literal\" localId=\"214\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"2013\"/>\n <wstxns4:month wstxns4:type=\"Literal\" localId=\"215\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"1\"/>\n <wstxns4:day wstxns4:type=\"Literal\" localId=\"216\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"1\"/>\n <wstxns4:hour wstxns4:type=\"Literal\" localId=\"217\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n <wstxns4:minute wstxns4:type=\"Literal\" localId=\"218\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n <wstxns4:second wstxns4:type=\"Literal\" localId=\"219\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n <wstxns4:millisecond wstxns4:type=\"Literal\" localId=\"220\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n <wstxns4:signature>\n <wstxns4:signature wstxns4:type=\"NamedTypeSpecifier\" localId=\"231\" name=\"{urn:hl7-org:elm-types:r1}Integer\"/>\n <wstxns4:signature wstxns4:type=\"NamedTypeSpecifier\" localId=\"232\" name=\"{urn:hl7-org:elm-types:r1}Integer\"/>\n <wstxns4:signature wstxns4:type=\"NamedTypeSpecifier\" localId=\"233\" name=\"{urn:hl7-org:elm-types:r1}Integer\"/>\n <wstxns4:signature wstxns4:type=\"NamedTypeSpecifier\" localId=\"234\" name=\"{urn:hl7-org:elm-types:r1}Integer\"/>\n <wstxns4:signature wstxns4:type=\"NamedTypeSpecifier\" localId=\"235\" name=\"{urn:hl7-org:elm-types:r1}Integer\"/>\n <wstxns4:signature wstxns4:type=\"NamedTypeSpecifier\" localId=\"236\" name=\"{urn:hl7-org:elm-types:r1}Integer\"/>\n <wstxns4:signature wstxns4:type=\"NamedTypeSpecifier\" localId=\"237\" name=\"{urn:hl7-org:elm-types:r1}Integer\"/>\n </wstxns4:signature>\n </wstxns4:low>\n <wstxns4:high wstxns4:type=\"DateTime\" localId=\"254\">\n <wstxns4:year wstxns4:type=\"Literal\" localId=\"238\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"2014\"/>\n <wstxns4:month wstxns4:type=\"Literal\" localId=\"239\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"1\"/>\n <wstxns4:day wstxns4:type=\"Literal\" localId=\"240\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"1\"/>\n <wstxns4:hour wstxns4:type=\"Literal\" localId=\"241\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n <wstxns4:minute wstxns4:type=\"Literal\" localId=\"242\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n <wstxns4:second wstxns4:type=\"Literal\" localId=\"243\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n <wstxns4:millisecond wstxns4:type=\"Literal\" localId=\"244\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"0\"/>\n <wstxns4:signature>\n <wstxns4:signature wstxns4:type=\"NamedTypeSpecifier\" localId=\"255\" name=\"{urn:hl7-org:elm-types:r1}Integer\"/>\n <wstxns4:signature wstxns4:type=\"NamedTypeSpecifier\" localId=\"256\" name=\"{urn:hl7-org:elm-types:r1}Integer\"/>\n <wstxns4:signature wstxns4:type=\"NamedTypeSpecifier\" localId=\"257\" name=\"{urn:hl7-org:elm-types:r1}Integer\"/>\n <wstxns4:signature wstxns4:type=\"NamedTypeSpecifier\" localId=\"258\" name=\"{urn:hl7-org:elm-types:r1}Integer\"/>\n <wstxns4:signature wstxns4:type=\"NamedTypeSpecifier\" localId=\"259\" name=\"{urn:hl7-org:elm-types:r1}Integer\"/>\n <wstxns4:signature wstxns4:type=\"NamedTypeSpecifier\" localId=\"260\" name=\"{urn:hl7-org:elm-types:r1}Integer\"/>\n <wstxns4:signature wstxns4:type=\"NamedTypeSpecifier\" localId=\"261\" 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\" localId=\"208\" name=\"Acute Pharyngitis\" id=\"2.16.840.1.113883.3.464.1003.102.12.1011\" accessLevel=\"Public\"/>\n <wstxns5:def wstxns5:type=\"ValueSetDef\" localId=\"209\" name=\"Acute Tonsillitis\" id=\"2.16.840.1.113883.3.464.1003.102.12.1012\" accessLevel=\"Public\"/>\n <wstxns5:def wstxns5:type=\"ValueSetDef\" localId=\"210\" name=\"Ambulatory/ED Visit\" id=\"2.16.840.1.113883.3.464.1003.101.12.1061\" accessLevel=\"Public\"/>\n <wstxns5:def wstxns5:type=\"ValueSetDef\" localId=\"211\" name=\"Antibiotic Medications\" id=\"2.16.840.1.113883.3.464.1003.196.12.1001\" accessLevel=\"Public\"/>\n <wstxns5:def wstxns5:type=\"ValueSetDef\" localId=\"212\" 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\" localId=\"266\" 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\" localId=\"264\" name=\"Patient\" context=\"Patient\">\n <wstxns7:expression wstxns7:type=\"SingletonFrom\" localId=\"265\">\n <wstxns7:operand wstxns7:type=\"Retrieve\" localId=\"263\" dataType=\"{http://hl7.org/fhir}Patient\" templateId=\"patient-qicore-qicore-patient\"/>\n </wstxns7:expression>\n </wstxns7:def>\n <wstxns7:def wstxns7:type=\"ExpressionDef\" localId=\"268\" name=\"InDemographic\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"And\" localId=\"269\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" localId=\"300\" name=\"{urn:hl7-org:elm-types:r1}Boolean\"/>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" localId=\"301\" name=\"{urn:hl7-org:elm-types:r1}Boolean\"/>\n </wstxns7:signature>\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"GreaterOrEqual\" localId=\"270\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" localId=\"283\" name=\"{urn:hl7-org:elm-types:r1}Integer\"/>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" localId=\"284\" name=\"{urn:hl7-org:elm-types:r1}Integer\"/>\n </wstxns7:signature>\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"CalculateAgeAt\" localId=\"279\" precision=\"Year\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" localId=\"280\" name=\"{urn:hl7-org:elm-types:r1}DateTime\"/>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" localId=\"281\" name=\"{urn:hl7-org:elm-types:r1}DateTime\"/>\n </wstxns7:signature>\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Property\" localId=\"278\" path=\"birthDate\">\n <wstxns7:source wstxns7:type=\"ExpressionRef\" localId=\"277\" name=\"Patient\"/>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Start\" localId=\"271\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"IntervalTypeSpecifier\" localId=\"273\">\n <wstxns7:pointType wstxns7:type=\"NamedTypeSpecifier\" localId=\"274\" name=\"{urn:hl7-org:elm-types:r1}DateTime\"/>\n </wstxns7:signature>\n </wstxns7:signature>\n <wstxns7:operand wstxns7:type=\"ParameterRef\" localId=\"272\" name=\"MeasurementPeriod\"/>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Literal\" localId=\"282\" valueType=\"{urn:hl7-org:elm-types:r1}Integer\" value=\"2\"/>\n </wstxns7:operand>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Less\" localId=\"285\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" localId=\"298\" name=\"{urn:hl7-org:elm-types:r1}Integer\"/>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" localId=\"299\" name=\"{urn:hl7-org:elm-types:r1}Integer\"/>\n </wstxns7:signature>\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"CalculateAgeAt\" localId=\"294\" precision=\"Year\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" localId=\"295\" name=\"{urn:hl7-org:elm-types:r1}DateTime\"/>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" localId=\"296\" name=\"{urn:hl7-org:elm-types:r1}DateTime\"/>\n </wstxns7:signature>\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Property\" localId=\"293\" path=\"birthDate\">\n <wstxns7:source wstxns7:type=\"ExpressionRef\" localId=\"292\" name=\"Patient\"/>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Start\" localId=\"286\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"IntervalTypeSpecifier\" localId=\"288\">\n <wstxns7:pointType wstxns7:type=\"NamedTypeSpecifier\" localId=\"289\" name=\"{urn:hl7-org:elm-types:r1}DateTime\"/>\n </wstxns7:signature>\n </wstxns7:signature>\n <wstxns7:operand wstxns7:type=\"ParameterRef\" localId=\"287\" name=\"MeasurementPeriod\"/>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Literal\" localId=\"297\" 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\" localId=\"303\" name=\"Pharyngitis\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"Union\" localId=\"314\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"ListTypeSpecifier\" localId=\"315\">\n <wstxns7:elementType wstxns7:type=\"NamedTypeSpecifier\" localId=\"316\" name=\"{http://hl7.org/fhir}Condition\"/>\n </wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"ListTypeSpecifier\" localId=\"317\">\n <wstxns7:elementType wstxns7:type=\"NamedTypeSpecifier\" localId=\"318\" name=\"{http://hl7.org/fhir}Condition\"/>\n </wstxns7:signature>\n </wstxns7:signature>\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Retrieve\" localId=\"306\" dataType=\"{http://hl7.org/fhir}Condition\" templateId=\"condition-qicore-qicore-condition\" codeProperty=\"code\" codeComparator=\"in\">\n <wstxns7:codes wstxns7:type=\"ValueSetRef\" localId=\"305\" name=\"Acute Pharyngitis\" preserve=\"true\"/>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Retrieve\" localId=\"311\" dataType=\"{http://hl7.org/fhir}Condition\" templateId=\"condition-qicore-qicore-condition\" codeProperty=\"code\" codeComparator=\"in\">\n <wstxns7:codes wstxns7:type=\"ValueSetRef\" localId=\"310\" name=\"Acute Tonsillitis\" preserve=\"true\"/>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:expression>\n </wstxns7:def>\n <wstxns7:def wstxns7:type=\"ExpressionDef\" localId=\"320\" name=\"Antibiotics\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"Retrieve\" localId=\"322\" dataType=\"{http://hl7.org/fhir}MedicationPrescription\" templateId=\"medicationprescription-qicore-qicore-medicationprescription\" codeProperty=\"medication.code\" codeComparator=\"in\">\n <wstxns7:codes wstxns7:type=\"ValueSetRef\" localId=\"321\" name=\"Antibiotic Medications\" preserve=\"true\"/>\n </wstxns7:expression>\n </wstxns7:def>\n <wstxns7:def wstxns7:type=\"ExpressionDef\" localId=\"324\" name=\"TargetEncounters\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"Query\" localId=\"388\">\n <wstxns7:source>\n <wstxns7:source wstxns7:type=\"AliasedQuerySource\" localId=\"325\" alias=\"E\">\n <wstxns7:expression wstxns7:type=\"Retrieve\" localId=\"328\" dataType=\"{http://hl7.org/fhir}Encounter\" templateId=\"encounter-qicore-qicore-encounter\" codeProperty=\"type\" codeComparator=\"in\">\n <wstxns7:codes wstxns7:type=\"ValueSetRef\" localId=\"327\" name=\"Ambulatory/ED Visit\" preserve=\"true\"/>\n </wstxns7:expression>\n </wstxns7:source>\n </wstxns7:source>\n <wstxns7:relationship>\n <wstxns7:relationship wstxns7:type=\"With\" localId=\"346\" alias=\"P\">\n <wstxns7:expression wstxns7:type=\"ExpressionRef\" localId=\"333\" name=\"Pharyngitis\"/>\n <wstxns7:suchThat wstxns7:type=\"OverlapsAfter\" localId=\"341\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"IntervalTypeSpecifier\" localId=\"342\">\n <wstxns7:pointType wstxns7:type=\"NamedTypeSpecifier\" localId=\"343\" name=\"{urn:hl7-org:elm-types:r1}DateTime\"/>\n </wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"IntervalTypeSpecifier\" localId=\"344\">\n <wstxns7:pointType wstxns7:type=\"NamedTypeSpecifier\" localId=\"345\" name=\"{urn:hl7-org:elm-types:r1}DateTime\"/>\n </wstxns7:signature>\n </wstxns7:signature>\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Interval\" localId=\"338\" lowClosed=\"true\" highClosed=\"true\">\n <wstxns7:low wstxns7:type=\"Property\" localId=\"335\" path=\"onsetDateTime\" scope=\"P\"/>\n <wstxns7:high wstxns7:type=\"Property\" localId=\"337\" path=\"abatementDate\" scope=\"P\"/>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Property\" localId=\"340\" path=\"period\" scope=\"E\"/>\n </wstxns7:operand>\n </wstxns7:suchThat>\n </wstxns7:relationship>\n <wstxns7:relationship wstxns7:type=\"With\" localId=\"372\" alias=\"A\">\n <wstxns7:expression wstxns7:type=\"ExpressionRef\" localId=\"348\" name=\"Antibiotics\"/>\n <wstxns7:suchThat wstxns7:type=\"And\" localId=\"369\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" localId=\"370\" name=\"{urn:hl7-org:elm-types:r1}Boolean\"/>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" localId=\"371\" name=\"{urn:hl7-org:elm-types:r1}Boolean\"/>\n </wstxns7:signature>\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"In\" localId=\"361\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" localId=\"362\" name=\"{urn:hl7-org:elm-types:r1}DateTime\"/>\n <wstxns7:signature wstxns7:type=\"IntervalTypeSpecifier\" localId=\"363\">\n <wstxns7:pointType wstxns7:type=\"NamedTypeSpecifier\" localId=\"364\" name=\"{urn:hl7-org:elm-types:r1}DateTime\"/>\n </wstxns7:signature>\n </wstxns7:signature>\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Property\" localId=\"350\" path=\"dateWritten\" scope=\"A\"/>\n <wstxns7:operand wstxns7:type=\"Interval\" localId=\"360\" lowClosed=\"false\" highClosed=\"true\">\n <wstxns7:low wstxns7:type=\"Start\" localId=\"351\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"IntervalTypeSpecifier\" localId=\"354\">\n <wstxns7:pointType wstxns7:type=\"NamedTypeSpecifier\" localId=\"355\" name=\"{urn:hl7-org:elm-types:r1}DateTime\"/>\n </wstxns7:signature>\n </wstxns7:signature>\n <wstxns7:operand wstxns7:type=\"Property\" localId=\"353\" path=\"period\" scope=\"E\"/>\n </wstxns7:low>\n <wstxns7:high wstxns7:type=\"Add\" localId=\"357\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" localId=\"358\" name=\"{urn:hl7-org:elm-types:r1}DateTime\"/>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" localId=\"359\" name=\"{urn:hl7-org:elm-types:r1}Quantity\"/>\n </wstxns7:signature>\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Start\" localId=\"351\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"IntervalTypeSpecifier\" localId=\"354\">\n <wstxns7:pointType wstxns7:type=\"NamedTypeSpecifier\" localId=\"355\" name=\"{urn:hl7-org:elm-types:r1}DateTime\"/>\n </wstxns7:signature>\n </wstxns7:signature>\n <wstxns7:operand wstxns7:type=\"Property\" localId=\"353\" path=\"period\" scope=\"E\"/>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Quantity\" localId=\"356\" 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\" localId=\"367\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" localId=\"368\" name=\"{urn:hl7-org:elm-types:r1}Boolean\"/>\n </wstxns7:signature>\n <wstxns7:operand wstxns7:type=\"IsNull\" localId=\"365\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" localId=\"366\" name=\"{urn:hl7-org:elm-types:r1}Any\"/>\n </wstxns7:signature>\n <wstxns7:operand wstxns7:type=\"Start\" localId=\"351\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"IntervalTypeSpecifier\" localId=\"354\">\n <wstxns7:pointType wstxns7:type=\"NamedTypeSpecifier\" localId=\"355\" name=\"{urn:hl7-org:elm-types:r1}DateTime\"/>\n </wstxns7:signature>\n </wstxns7:signature>\n <wstxns7:operand wstxns7:type=\"Property\" localId=\"353\" 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\" localId=\"376\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"IntervalTypeSpecifier\" localId=\"377\">\n <wstxns7:pointType wstxns7:type=\"NamedTypeSpecifier\" localId=\"378\" name=\"{urn:hl7-org:elm-types:r1}DateTime\"/>\n </wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"IntervalTypeSpecifier\" localId=\"379\">\n <wstxns7:pointType wstxns7:type=\"NamedTypeSpecifier\" localId=\"380\" name=\"{urn:hl7-org:elm-types:r1}DateTime\"/>\n </wstxns7:signature>\n </wstxns7:signature>\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Property\" localId=\"374\" path=\"period\" scope=\"E\"/>\n <wstxns7:operand wstxns7:type=\"ParameterRef\" localId=\"375\" name=\"MeasurementPeriod\"/>\n </wstxns7:operand>\n </wstxns7:where>\n </wstxns7:expression>\n </wstxns7:def>\n <wstxns7:def wstxns7:type=\"ExpressionDef\" localId=\"390\" name=\"TargetDiagnoses\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"Query\" localId=\"408\">\n <wstxns7:source>\n <wstxns7:source wstxns7:type=\"AliasedQuerySource\" localId=\"391\" alias=\"P\">\n <wstxns7:expression wstxns7:type=\"ExpressionRef\" localId=\"392\" name=\"Pharyngitis\"/>\n </wstxns7:source>\n </wstxns7:source>\n <wstxns7:relationship>\n <wstxns7:relationship wstxns7:type=\"With\" localId=\"407\" alias=\"E\">\n <wstxns7:expression wstxns7:type=\"ExpressionRef\" localId=\"394\" name=\"TargetEncounters\"/>\n <wstxns7:suchThat wstxns7:type=\"OverlapsAfter\" localId=\"402\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"IntervalTypeSpecifier\" localId=\"403\">\n <wstxns7:pointType wstxns7:type=\"NamedTypeSpecifier\" localId=\"404\" name=\"{urn:hl7-org:elm-types:r1}DateTime\"/>\n </wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"IntervalTypeSpecifier\" localId=\"405\">\n <wstxns7:pointType wstxns7:type=\"NamedTypeSpecifier\" localId=\"406\" name=\"{urn:hl7-org:elm-types:r1}DateTime\"/>\n </wstxns7:signature>\n </wstxns7:signature>\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Interval\" localId=\"399\" lowClosed=\"true\" highClosed=\"true\">\n <wstxns7:low wstxns7:type=\"Property\" localId=\"396\" path=\"onsetDateTime\" scope=\"P\"/>\n <wstxns7:high wstxns7:type=\"Property\" localId=\"398\" path=\"abatementDate\" scope=\"P\"/>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Property\" localId=\"401\" 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\" localId=\"410\" name=\"HasPriorAntibiotics\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"Exists\" localId=\"411\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"ListTypeSpecifier\" localId=\"438\">\n <wstxns7:elementType wstxns7:type=\"NamedTypeSpecifier\" localId=\"439\" name=\"{http://hl7.org/fhir}MedicationPrescription\"/>\n </wstxns7:signature>\n </wstxns7:signature>\n <wstxns7:operand wstxns7:type=\"Query\" localId=\"437\">\n <wstxns7:source>\n <wstxns7:source wstxns7:type=\"AliasedQuerySource\" localId=\"412\" alias=\"A\">\n <wstxns7:expression wstxns7:type=\"ExpressionRef\" localId=\"413\" name=\"Antibiotics\"/>\n </wstxns7:source>\n </wstxns7:source>\n <wstxns7:relationship>\n <wstxns7:relationship wstxns7:type=\"With\" localId=\"436\" alias=\"D\">\n <wstxns7:expression wstxns7:type=\"ExpressionRef\" localId=\"415\" name=\"TargetDiagnoses\"/>\n <wstxns7:suchThat wstxns7:type=\"And\" localId=\"433\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" localId=\"434\" name=\"{urn:hl7-org:elm-types:r1}Boolean\"/>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" localId=\"435\" name=\"{urn:hl7-org:elm-types:r1}Boolean\"/>\n </wstxns7:signature>\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"In\" localId=\"425\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" localId=\"426\" name=\"{urn:hl7-org:elm-types:r1}DateTime\"/>\n <wstxns7:signature wstxns7:type=\"IntervalTypeSpecifier\" localId=\"427\">\n <wstxns7:pointType wstxns7:type=\"NamedTypeSpecifier\" localId=\"428\" name=\"{urn:hl7-org:elm-types:r1}DateTime\"/>\n </wstxns7:signature>\n </wstxns7:signature>\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Property\" localId=\"417\" path=\"dateWritten\" scope=\"A\"/>\n <wstxns7:operand wstxns7:type=\"Interval\" localId=\"424\" lowClosed=\"true\" highClosed=\"false\">\n <wstxns7:low wstxns7:type=\"Subtract\" localId=\"421\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" localId=\"422\" name=\"{urn:hl7-org:elm-types:r1}DateTime\"/>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" localId=\"423\" name=\"{urn:hl7-org:elm-types:r1}Quantity\"/>\n </wstxns7:signature>\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Property\" localId=\"419\" path=\"onsetDateTime\" scope=\"D\"/>\n <wstxns7:operand wstxns7:type=\"Quantity\" localId=\"420\" value=\"30\" unit=\"days\"/>\n </wstxns7:operand>\n </wstxns7:low>\n <wstxns7:high wstxns7:type=\"Property\" localId=\"419\" path=\"onsetDateTime\" scope=\"D\"/>\n </wstxns7:operand>\n </wstxns7:operand>\n </wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Not\" localId=\"431\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" localId=\"432\" name=\"{urn:hl7-org:elm-types:r1}Boolean\"/>\n </wstxns7:signature>\n <wstxns7:operand wstxns7:type=\"IsNull\" localId=\"429\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" localId=\"430\" name=\"{urn:hl7-org:elm-types:r1}Any\"/>\n </wstxns7:signature>\n <wstxns7:operand wstxns7:type=\"Property\" localId=\"419\" 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\" localId=\"441\" name=\"HasTargetEncounter\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"Exists\" localId=\"442\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"ListTypeSpecifier\" localId=\"444\">\n <wstxns7:elementType wstxns7:type=\"NamedTypeSpecifier\" localId=\"445\" name=\"{http://hl7.org/fhir}Encounter\"/>\n </wstxns7:signature>\n </wstxns7:signature>\n <wstxns7:operand wstxns7:type=\"ExpressionRef\" localId=\"443\" name=\"TargetEncounters\"/>\n </wstxns7:expression>\n </wstxns7:def>\n <wstxns7:def wstxns7:type=\"ExpressionDef\" localId=\"447\" name=\"InInitialPopulation\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"And\" localId=\"448\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" localId=\"451\" name=\"{urn:hl7-org:elm-types:r1}Boolean\"/>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" localId=\"452\" name=\"{urn:hl7-org:elm-types:r1}Boolean\"/>\n </wstxns7:signature>\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"ExpressionRef\" localId=\"449\" name=\"InDemographic\"/>\n <wstxns7:operand wstxns7:type=\"ExpressionRef\" localId=\"450\" name=\"HasTargetEncounter\"/>\n </wstxns7:operand>\n </wstxns7:expression>\n </wstxns7:def>\n <wstxns7:def wstxns7:type=\"ExpressionDef\" localId=\"454\" name=\"InDenominator\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"Literal\" localId=\"455\" valueType=\"{urn:hl7-org:elm-types:r1}Boolean\" value=\"true\"/>\n </wstxns7:def>\n <wstxns7:def wstxns7:type=\"ExpressionDef\" localId=\"457\" name=\"InDenominatorExclusions\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"ExpressionRef\" localId=\"458\" name=\"HasPriorAntibiotics\"/>\n </wstxns7:def>\n <wstxns7:def wstxns7:type=\"ExpressionDef\" localId=\"460\" name=\"InNumerator\" context=\"Patient\" accessLevel=\"Public\">\n <wstxns7:expression wstxns7:type=\"Exists\" localId=\"461\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"ListTypeSpecifier\" localId=\"486\">\n <wstxns7:elementType wstxns7:type=\"NamedTypeSpecifier\" localId=\"487\" name=\"{http://hl7.org/fhir}Observation\"/>\n </wstxns7:signature>\n </wstxns7:signature>\n <wstxns7:operand wstxns7:type=\"Query\" localId=\"485\">\n <wstxns7:source>\n <wstxns7:source wstxns7:type=\"AliasedQuerySource\" localId=\"462\" alias=\"R\">\n <wstxns7:expression wstxns7:type=\"Retrieve\" localId=\"465\" dataType=\"{http://hl7.org/fhir}Observation\" templateId=\"observation-qicore-qicore-observation\" codeProperty=\"code\" codeComparator=\"in\">\n <wstxns7:codes wstxns7:type=\"ValueSetRef\" localId=\"464\" name=\"Group A Streptococcus Test\" preserve=\"true\"/>\n </wstxns7:expression>\n </wstxns7:source>\n </wstxns7:source>\n <wstxns7:relationship/>\n <wstxns7:where wstxns7:type=\"And\" localId=\"468\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" localId=\"483\" name=\"{urn:hl7-org:elm-types:r1}Boolean\"/>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" localId=\"484\" name=\"{urn:hl7-org:elm-types:r1}Boolean\"/>\n </wstxns7:signature>\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"In\" localId=\"473\">\n <wstxns7:signature>\n <wstxns7:signature wstxns7:type=\"NamedTypeSpecifier\" localId=\"474\" name=\"{urn:hl7-org:elm-types:r1}DateTime\"/>\n <wstxns7:signature wstxns7:type=\"IntervalTypeSpecifier\" localId=\"475\">\n <wstxns7:pointType wstxns7:type=\"NamedTypeSpecifier\" localId=\"476\" name=\"{urn:hl7-org:elm-types:r1}DateTime\"/>\n </wstxns7:signature>\n </wstxns7:signature>\n <wstxns7:operand>\n <wstxns7:operand wstxns7:type=\"Property\" localId=\"470\" path=\"issued\" scope=\"R\"/>\n <wstx
|
AggregateOperatorsTest.testAllTrue:
Src/java/cql-to-elm/src/test/java/org/cqframework/cql/cql2elm/operators/AggregateOperatorsTest.java#L49
java.lang.AssertionError:
Expected: List w/ elements: [ <org.hl7.elm.r1.Literal@2a4137a2[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Boolean, value=true]> , <org.hl7.elm.r1.Literal@7b4e5982[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Boolean, value=true]> , <org.hl7.elm.r1.Literal@17f216cc[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Boolean, value=true]> ]
but: had wrong elements: [ <org.hl7.elm.r1.Literal@6ab4215d[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=210, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Boolean, value=true]> , <org.hl7.elm.r1.Literal@57dee2b9[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=211, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Boolean, value=true]> , <org.hl7.elm.r1.Literal@5ed52389[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=212, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Boolean, value=true]> ]
|
AggregateOperatorsTest.testAnyTrue:
Src/java/cql-to-elm/src/test/java/org/cqframework/cql/cql2elm/operators/AggregateOperatorsTest.java#L58
java.lang.AssertionError:
Expected: List w/ elements: [ <org.hl7.elm.r1.Literal@2d1ef2fc[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Boolean, value=false]> , <org.hl7.elm.r1.Literal@4095ebff[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Boolean, value=true]> , <org.hl7.elm.r1.Literal@2b2f8cf[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Boolean, value=false]> ]
but: had wrong elements: [ <org.hl7.elm.r1.Literal@1def2d16[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=218, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Boolean, value=false]> , <org.hl7.elm.r1.Literal@47bcb545[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=219, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Boolean, value=true]> , <org.hl7.elm.r1.Literal@2899745e[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=220, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Boolean, value=false]> ]
|
AggregateOperatorsTest.testAverage:
Src/java/cql-to-elm/src/test/java/org/cqframework/cql/cql2elm/operators/AggregateOperatorsTest.java#L65
java.lang.AssertionError:
Expected: List w/ elements: [ <org.hl7.elm.r1.Literal@1193d400[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=1]> , <org.hl7.elm.r1.Literal@6dbc3756[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=2]> , <org.hl7.elm.r1.Literal@26a2106e[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=3]> , <org.hl7.elm.r1.Literal@2c75b0c8[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=4]> , <org.hl7.elm.r1.Literal@23c95292[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=5]> ]
but: had wrong elements: [ <org.hl7.elm.r1.Literal@2f43c73a[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=226, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=1]> , <org.hl7.elm.r1.Literal@19d483dc[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=227, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=2]> , <org.hl7.elm.r1.Literal@18a693de[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=228, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=3]> , <org.hl7.elm.r1.Literal@71120f9a[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=229, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=4]> , <org.hl7.elm.r1.Literal@40597c95[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=230, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=5]> ]
|
AggregateOperatorsTest.testCount:
Src/java/cql-to-elm/src/test/java/org/cqframework/cql/cql2elm/operators/AggregateOperatorsTest.java#L80
java.lang.AssertionError:
Expected: List w/ elements: [ <org.hl7.elm.r1.Literal@30b5225b[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=1]> , <org.hl7.elm.r1.Literal@3b035d0c[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=2]> , <org.hl7.elm.r1.Literal@304f4888[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=3]> , <org.hl7.elm.r1.Literal@35b97c69[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=4]> , <org.hl7.elm.r1.Literal@2c07277f[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=5]> ]
but: had wrong elements: [ <org.hl7.elm.r1.Literal@d4df4ce[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=284, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=1]> , <org.hl7.elm.r1.Literal@470ce6e7[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=285, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=2]> , <org.hl7.elm.r1.Literal@39a8905b[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=286, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=3]> , <org.hl7.elm.r1.Literal@2c8174ce[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=287, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=4]> , <org.hl7.elm.r1.Literal@4e881e14[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=288, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=5]> ]
|
AggregateOperatorsTest.testGeometricMean:
Src/java/cql-to-elm/src/test/java/org/cqframework/cql/cql2elm/operators/AggregateOperatorsTest.java#L87
java.lang.AssertionError:
Expected: List w/ elements: [ <org.hl7.elm.r1.Literal@3444ac8f[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Decimal, value=1.0]> , <org.hl7.elm.r1.Literal@3ab26cad[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Decimal, value=2.0]> , <org.hl7.elm.r1.Literal@4b477d05[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Decimal, value=3.0]> , <org.hl7.elm.r1.Literal@7c5dbca5[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Decimal, value=4.0]> , <org.hl7.elm.r1.Literal@6d6c4775[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Decimal, value=5.0]> ]
but: had wrong elements: [ <org.hl7.elm.r1.Literal@44929971[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=294, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Decimal, value=1.0]> , <org.hl7.elm.r1.Literal@344d6bb3[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=295, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Decimal, value=2.0]> , <org.hl7.elm.r1.Literal@2564410b[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=296, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Decimal, value=3.0]> , <org.hl7.elm.r1.Literal@2a3ced3d[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=297, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Decimal, value=4.0]> , <org.hl7.elm.r1.Literal@7ab5b01a[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=298, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Decimal, value=5.0]> ]
|
AggregateOperatorsTest.testMax:
Src/java/cql-to-elm/src/test/java/org/cqframework/cql/cql2elm/operators/AggregateOperatorsTest.java#L94
java.lang.AssertionError:
Expected: List w/ elements: [ <org.hl7.elm.r1.Literal@6f0969db[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=1]> , <org.hl7.elm.r1.Literal@38eb2140[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=2]> , <org.hl7.elm.r1.Literal@4f06006d[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=3]> , <org.hl7.elm.r1.Literal@64514009[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=4]> , <org.hl7.elm.r1.Literal@40b2aae9[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=5]> ]
but: had wrong elements: [ <org.hl7.elm.r1.Literal@2132629e[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=304, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=1]> , <org.hl7.elm.r1.Literal@5ec80bbd[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=305, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=2]> , <org.hl7.elm.r1.Literal@30f74965[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=306, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=3]> , <org.hl7.elm.r1.Literal@65c75870[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=307, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=4]> , <org.hl7.elm.r1.Literal@5753e0c4[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=308, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=5]> ]
|
AggregateOperatorsTest.testMedian:
Src/java/cql-to-elm/src/test/java/org/cqframework/cql/cql2elm/operators/AggregateOperatorsTest.java#L148
java.lang.AssertionError:
Expected: List w/ elements: [ <org.hl7.elm.r1.Literal@1cb58c8a[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=1]> , <org.hl7.elm.r1.Literal@54a81a18[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=2]> , <org.hl7.elm.r1.Literal@591e27f1[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=3]> , <org.hl7.elm.r1.Literal@6803b02d[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=4]> , <org.hl7.elm.r1.Literal@5862a07b[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=5]> ]
but: had wrong elements: [ <org.hl7.elm.r1.Literal@4c0e09b5[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=508, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=1]> , <org.hl7.elm.r1.Literal@64078e6a[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=509, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=2]> , <org.hl7.elm.r1.Literal@1170d81f[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=510, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=3]> , <org.hl7.elm.r1.Literal@5c5cd332[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=511, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=4]> , <org.hl7.elm.r1.Literal@60232aad[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=512, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=5]> ]
|
AggregateOperatorsTest.testMin:
Src/java/cql-to-elm/src/test/java/org/cqframework/cql/cql2elm/operators/AggregateOperatorsTest.java#L121
java.lang.AssertionError:
Expected: List w/ elements: [ <org.hl7.elm.r1.Literal@155788a7[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=1]> , <org.hl7.elm.r1.Literal@6cd8aee2[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=2]> , <org.hl7.elm.r1.Literal@28f33810[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=3]> , <org.hl7.elm.r1.Literal@476d5f2e[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=4]> , <org.hl7.elm.r1.Literal@6e56f5d4[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=5]> ]
but: had wrong elements: [ <org.hl7.elm.r1.Literal@4750e942[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=406, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=1]> , <org.hl7.elm.r1.Literal@76527a00[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=407, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=2]> , <org.hl7.elm.r1.Literal@5bebdfcb[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=408, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=3]> , <org.hl7.elm.r1.Literal@2ca6937[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=409, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=4]> , <org.hl7.elm.r1.Literal@42908ad5[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=410, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=5]> ]
|
AggregateOperatorsTest.testMode:
Src/java/cql-to-elm/src/test/java/org/cqframework/cql/cql2elm/operators/AggregateOperatorsTest.java#L163
java.lang.AssertionError:
Expected: List w/ elements: [ <org.hl7.elm.r1.Literal@7335aae5[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=1]> , <org.hl7.elm.r1.Literal@35355074[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=2]> , <org.hl7.elm.r1.Literal@290964bd[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=3]> , <org.hl7.elm.r1.Literal@3411e0d7[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=4]> , <org.hl7.elm.r1.Literal@6a2d0632[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=5]> ]
but: had wrong elements: [ <org.hl7.elm.r1.Literal@75044df3[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=546, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=1]> , <org.hl7.elm.r1.Literal@17caf362[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=547, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=2]> , <org.hl7.elm.r1.Literal@2c66be14[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=548, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=3]> , <org.hl7.elm.r1.Literal@2e78213c[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=549, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=4]> , <org.hl7.elm.r1.Literal@79c48ad5[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=550, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=5]> ]
|
AggregateOperatorsTest.testPopulationStdDev:
Src/java/cql-to-elm/src/test/java/org/cqframework/cql/cql2elm/operators/AggregateOperatorsTest.java#L174
java.lang.AssertionError:
Expected: List w/ elements: [ <org.hl7.elm.r1.Literal@4fc41cba[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=1]> , <org.hl7.elm.r1.Literal@120bb5b5[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=2]> , <org.hl7.elm.r1.Literal@2f59ecf[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=3]> , <org.hl7.elm.r1.Literal@7798de95[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=4]> , <org.hl7.elm.r1.Literal@18563d10[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=5]> ]
but: had wrong elements: [ <org.hl7.elm.r1.Literal@573f95b2[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=565, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=1]> , <org.hl7.elm.r1.Literal@79927a7c[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=566, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=2]> , <org.hl7.elm.r1.Literal@484f7fad[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=567, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=3]> , <org.hl7.elm.r1.Literal@61d87509[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=568, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=4]> , <org.hl7.elm.r1.Literal@4ae1ee85[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=569, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=5]> ]
|
AggregateOperatorsTest.testPopulationVariance:
Src/java/cql-to-elm/src/test/java/org/cqframework/cql/cql2elm/operators/AggregateOperatorsTest.java#L189
java.lang.AssertionError:
Expected: List w/ elements: [ <org.hl7.elm.r1.Literal@3199c2c1[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=1]> , <org.hl7.elm.r1.Literal@74c997b1[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=2]> , <org.hl7.elm.r1.Literal@593f6c3[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=3]> , <org.hl7.elm.r1.Literal@4afb2c90[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=4]> , <org.hl7.elm.r1.Literal@358b70c4[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=5]> ]
but: had wrong elements: [ <org.hl7.elm.r1.Literal@d471ddb[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=603, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=1]> , <org.hl7.elm.r1.Literal@17f8c75e[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=604, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=2]> , <org.hl7.elm.r1.Literal@474f69d[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=605, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=3]> , <org.hl7.elm.r1.Literal@6a17ab87[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=606, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=4]> , <org.hl7.elm.r1.Literal@5f0bcadb[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=607, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=5]> ]
|
AggregateOperatorsTest.testProduct:
Src/java/cql-to-elm/src/test/java/org/cqframework/cql/cql2elm/operators/AggregateOperatorsTest.java#L204
java.lang.AssertionError:
Expected: List w/ elements: [ <org.hl7.elm.r1.Literal@7ae736a8[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=1]> , <org.hl7.elm.r1.Literal@7b3b763d[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=2]> , <org.hl7.elm.r1.Literal@34ceefb5[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=3]> , <org.hl7.elm.r1.Literal@461f295c[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=4]> , <org.hl7.elm.r1.Literal@50e0541[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=5]> ]
but: had wrong elements: [ <org.hl7.elm.r1.Literal@25a41143[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=641, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=1]> , <org.hl7.elm.r1.Literal@6654e105[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=642, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=2]> , <org.hl7.elm.r1.Literal@59be715a[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=643, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=3]> , <org.hl7.elm.r1.Literal@2cef4321[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=644, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=4]> , <org.hl7.elm.r1.Literal@29c471f6[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=645, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=5]> ]
|
AggregateOperatorsTest.testStdDev:
Src/java/cql-to-elm/src/test/java/org/cqframework/cql/cql2elm/operators/AggregateOperatorsTest.java#L215
java.lang.AssertionError:
Expected: List w/ elements: [ <org.hl7.elm.r1.Literal@1467dcd0[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=1]> , <org.hl7.elm.r1.Literal@1ea6446b[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=2]> , <org.hl7.elm.r1.Literal@39d0775c[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=3]> , <org.hl7.elm.r1.Literal@40a1916d[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=4]> , <org.hl7.elm.r1.Literal@6a8a54f5[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=5]> ]
but: had wrong elements: [ <org.hl7.elm.r1.Literal@4623c0d3[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=681, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=1]> , <org.hl7.elm.r1.Literal@7c7335dc[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=682, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=2]> , <org.hl7.elm.r1.Literal@3095e9c6[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=683, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=3]> , <org.hl7.elm.r1.Literal@8802edd[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=684, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=4]> , <org.hl7.elm.r1.Literal@50fd4246[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=685, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=5]> ]
|
AggregateOperatorsTest.testSum:
Src/java/cql-to-elm/src/test/java/org/cqframework/cql/cql2elm/operators/AggregateOperatorsTest.java#L230
java.lang.AssertionError:
Expected: List w/ elements: [ <org.hl7.elm.r1.Literal@237e61ac[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=1]> , <org.hl7.elm.r1.Literal@19abe8f7[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=2]> , <org.hl7.elm.r1.Literal@6f36c42[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=3]> , <org.hl7.elm.r1.Literal@26753687[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=4]> , <org.hl7.elm.r1.Literal@765650e4[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=5]> ]
but: had wrong elements: [ <org.hl7.elm.r1.Literal@307cf289[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=719, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=1]> , <org.hl7.elm.r1.Literal@2df019b8[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=720, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=2]> , <org.hl7.elm.r1.Literal@223ed38f[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=721, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=3]> , <org.hl7.elm.r1.Literal@66ab765c[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=722, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=4]> , <org.hl7.elm.r1.Literal@319428ba[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=723, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=5]> ]
|
AggregateOperatorsTest.testVariance:
Src/java/cql-to-elm/src/test/java/org/cqframework/cql/cql2elm/operators/AggregateOperatorsTest.java#L245
java.lang.AssertionError:
Expected: List w/ elements: [ <org.hl7.elm.r1.Literal@75564689[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=1]> , <org.hl7.elm.r1.Literal@65977161[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=2]> , <org.hl7.elm.r1.Literal@5f7e2ca8[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=3]> , <org.hl7.elm.r1.Literal@1d07fb2[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=4]> , <org.hl7.elm.r1.Literal@46f5030f[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=5]> ]
but: had wrong elements: [ <org.hl7.elm.r1.Literal@18b77ec9[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=757, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=1]> , <org.hl7.elm.r1.Literal@36821a1b[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=758, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=2]> , <org.hl7.elm.r1.Literal@34adce96[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=759, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=3]> , <org.hl7.elm.r1.Literal@5a2e4e77[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=760, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=4]> , <org.hl7.elm.r1.Literal@794c22cd[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=761, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=5]> ]
|
ArithmeticOperatorsTest.testCeiling:
Src/java/cql-to-elm/src/test/java/org/cqframework/cql/cql2elm/operators/ArithmeticOperatorsTest.java#L64
java.lang.AssertionError:
Expected: Conversion to Decimal w/ value: <<1>
but: had wrong conversion: <org.hl7.elm.r1.ToDecimal@229f3c5d[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), signature=<null>(default), operand=org.hl7.elm.r1.Literal@72e76649[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=258, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=1]]>
|
ArithmeticOperatorsTest.testExp:
Src/java/cql-to-elm/src/test/java/org/cqframework/cql/cql2elm/operators/ArithmeticOperatorsTest.java#L187
java.lang.AssertionError:
Expected: Conversion to Decimal w/ value: <<1000>
but: had wrong conversion: <org.hl7.elm.r1.ToDecimal@334c80be[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), signature=<null>(default), operand=org.hl7.elm.r1.Literal@3c1fe350[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=356, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=1000]]>
|
ArithmeticOperatorsTest.testFloor:
Src/java/cql-to-elm/src/test/java/org/cqframework/cql/cql2elm/operators/ArithmeticOperatorsTest.java#L79
java.lang.AssertionError:
Expected: Conversion to Decimal w/ value: <<1>
but: had wrong conversion: <org.hl7.elm.r1.ToDecimal@5a49c1e[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), signature=<null>(default), operand=org.hl7.elm.r1.Literal@4662fa99[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=300, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=1]]>
|
ArithmeticOperatorsTest.testLn:
Src/java/cql-to-elm/src/test/java/org/cqframework/cql/cql2elm/operators/ArithmeticOperatorsTest.java#L172
java.lang.AssertionError:
Expected: Conversion to Decimal w/ value: <<1000>
but: had wrong conversion: <org.hl7.elm.r1.ToDecimal@23106076[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), signature=<null>(default), operand=org.hl7.elm.r1.Literal@6b13f456[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=344, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=1000]]>
|
ArithmeticOperatorsTest.testLog:
Src/java/cql-to-elm/src/test/java/org/cqframework/cql/cql2elm/operators/ArithmeticOperatorsTest.java#L147
java.lang.AssertionError:
Expected: Conversion to Decimal w/ value: <<10>
but: had wrong conversion: <org.hl7.elm.r1.ToDecimal@435d648d[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), signature=<null>(default), operand=org.hl7.elm.r1.Literal@379899f4[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=314, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=10]]>
|
ArithmeticOperatorsTest.testTruncate:
Src/java/cql-to-elm/src/test/java/org/cqframework/cql/cql2elm/operators/ArithmeticOperatorsTest.java#L94
java.lang.AssertionError:
Expected: Conversion to Decimal w/ value: <<5>
but: had wrong conversion: <org.hl7.elm.r1.ToDecimal@50dcc20a[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), signature=<null>(default), operand=org.hl7.elm.r1.Literal@1bf3af3d[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=535, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=5]]>
|
ListOperatorsTest.testFirst:
Src/java/cql-to-elm/src/test/java/org/cqframework/cql/cql2elm/operators/ListOperatorsTest.java#L54
java.lang.AssertionError:
Expected: List w/ elements: [ <org.hl7.elm.r1.Literal@5e3cb531[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=1]> , <org.hl7.elm.r1.Literal@42ba2d5f[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=2]> , <org.hl7.elm.r1.Literal@669f1dc3[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=3]> , <org.hl7.elm.r1.Literal@40563829[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=4]> , <org.hl7.elm.r1.Literal@7b78982f[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=5]> ]
but: had wrong elements: [ <org.hl7.elm.r1.Literal@68bb82ca[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=313, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=1]> , <org.hl7.elm.r1.Literal@7654eb1b[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=314, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=2]> , <org.hl7.elm.r1.Literal@7320288[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=315, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=3]> , <org.hl7.elm.r1.Literal@38b44ba1[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=316, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=4]> , <org.hl7.elm.r1.Literal@c2d23af[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=317, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=5]> ]
|
ListOperatorsTest.testIndexOf:
Src/java/cql-to-elm/src/test/java/org/cqframework/cql/cql2elm/operators/ListOperatorsTest.java#L44
java.lang.AssertionError:
Expected: List w/ elements: [ <org.hl7.elm.r1.Literal@35e7a03e[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=1]> , <org.hl7.elm.r1.Literal@68a2339d[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=2]> , <org.hl7.elm.r1.Literal@29313e2d[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=3]> ]
but: had wrong elements: [ <org.hl7.elm.r1.Literal@6fcba666[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=369, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=1]> , <org.hl7.elm.r1.Literal@67a50df1[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=370, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=2]> , <org.hl7.elm.r1.Literal@1ee2e443[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=371, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=3]> ]
|
ListOperatorsTest.testLast:
Src/java/cql-to-elm/src/test/java/org/cqframework/cql/cql2elm/operators/ListOperatorsTest.java#L63
java.lang.AssertionError:
Expected: List w/ elements: [ <org.hl7.elm.r1.Literal@434d4629[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=1]> , <org.hl7.elm.r1.Literal@4a8472ff[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=2]> , <org.hl7.elm.r1.Literal@6724271a[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=3]> ]
but: had wrong elements: [ <org.hl7.elm.r1.Literal@2be69d12[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=394, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=1]> , <org.hl7.elm.r1.Literal@2b3fa49[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=395, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=2]> , <org.hl7.elm.r1.Literal@6bc9736a[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=396, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=3]> ]
|
ListOperatorsTest.testLength:
Src/java/cql-to-elm/src/test/java/org/cqframework/cql/cql2elm/operators/ListOperatorsTest.java#L120
java.lang.AssertionError:
Expected: List w/ elements: [ <org.hl7.elm.r1.Literal@2ffe46e8[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=1]> , <org.hl7.elm.r1.Literal@f0c225e[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=2]> , <org.hl7.elm.r1.Literal@3e816a34[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=3]> , <org.hl7.elm.r1.Literal@18bf7e3c[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=4]> , <org.hl7.elm.r1.Literal@452bb2c5[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=5]> ]
but: had wrong elements: [ <org.hl7.elm.r1.Literal@2b5b76ec[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=403, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=1]> , <org.hl7.elm.r1.Literal@1e3e6979[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=404, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=2]> , <org.hl7.elm.r1.Literal@7d93aa1c[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=405, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=3]> , <org.hl7.elm.r1.Literal@653682f1[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=406, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=4]> , <org.hl7.elm.r1.Literal@152a74ad[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=407, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=5]> ]
|
ListOperatorsTest.testSkip:
Src/java/cql-to-elm/src/test/java/org/cqframework/cql/cql2elm/operators/ListOperatorsTest.java#L72
java.lang.AssertionError:
Expected: List w/ elements: [ <org.hl7.elm.r1.Literal@49e10c79[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=1]> , <org.hl7.elm.r1.Literal@fa886f4[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=2]> , <org.hl7.elm.r1.Literal@626111e3[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=3]> ]
but: had wrong elements: [ <org.hl7.elm.r1.Literal@73c50c0b[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=448, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=1]> , <org.hl7.elm.r1.Literal@328654ce[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=449, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=2]> , <org.hl7.elm.r1.Literal@7952eb4c[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=450, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=3]> ]
|
ListOperatorsTest.testTail:
Src/java/cql-to-elm/src/test/java/org/cqframework/cql/cql2elm/operators/ListOperatorsTest.java#L83
java.lang.AssertionError:
Expected: List w/ elements: [ <org.hl7.elm.r1.Literal@4888ed56[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=1]> , <org.hl7.elm.r1.Literal@266e7780[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=2]> , <org.hl7.elm.r1.Literal@507daa2[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=3]> ]
but: had wrong elements: [ <org.hl7.elm.r1.Literal@aa55f13[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=459, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=1]> , <org.hl7.elm.r1.Literal@5c8e14c[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=460, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=2]> , <org.hl7.elm.r1.Literal@504f5402[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=461, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=3]> ]
|
ListOperatorsTest.testTake:
Src/java/cql-to-elm/src/test/java/org/cqframework/cql/cql2elm/operators/ListOperatorsTest.java#L94
java.lang.AssertionError:
Expected: List w/ elements: [ <org.hl7.elm.r1.Literal@95b8b75[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=1]> , <org.hl7.elm.r1.Literal@231e3118[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=2]> , <org.hl7.elm.r1.Literal@7ad2ee56[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=3]> ]
but: had wrong elements: [ <org.hl7.elm.r1.Literal@6f12ed86[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=470, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=1]> , <org.hl7.elm.r1.Literal@3a47d332[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=471, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=2]> , <org.hl7.elm.r1.Literal@6803a393[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=472, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}Integer, value=3]> ]
|
StringOperatorsTest.testCombine:
Src/java/cql-to-elm/src/test/java/org/cqframework/cql/cql2elm/operators/StringOperatorsTest.java#L68
java.lang.AssertionError:
Expected: List w/ elements: [ <org.hl7.elm.r1.Literal@739e48e2[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}String, value=First]> , <org.hl7.elm.r1.Literal@5d4bc7e7[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}String, value=Second]> , <org.hl7.elm.r1.Literal@7851fa4a[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}String, value=Third]> , <org.hl7.elm.r1.Literal@8d2ce4f[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=<null>(default), locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}String, value=Fourth]> ]
but: had wrong elements: [ <org.hl7.elm.r1.Literal@90a5eef[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=219, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}String, value=First]> , <org.hl7.elm.r1.Literal@afdc4d6[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=220, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}String, value=Second]> , <org.hl7.elm.r1.Literal@7d09ec69[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=221, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}String, value=Third]> , <org.hl7.elm.r1.Literal@63b7f531[annotation=<null>(default), resultTypeSpecifier=<null>(default), localId=222, locator=<null>(default), resultTypeName=<null>(default), valueType={urn:hl7-org:elm-types:r1}String, value=Fourth]> ]
|
DataRequirementsProcessorTest.TestCMS143:
Src/java/elm-fhir/src/test/java/org/cqframework/cql/elm/requirements/fhir/DataRequirementsProcessorTest.java#L1745
java.lang.AssertionError: expected [true] but found [false]
|
DataRequirementsProcessorTest.TestCMS149:
Src/java/elm-fhir/src/test/java/org/cqframework/cql/elm/requirements/fhir/DataRequirementsProcessorTest.java#L1851
java.lang.AssertionError: expected [true] but found [false]
|
DataRequirementsProcessorTest.TestCMS645:
Src/java/elm-fhir/src/test/java/org/cqframework/cql/elm/requirements/fhir/DataRequirementsProcessorTest.java#L1709
java.lang.AssertionError: expected [true] but found [false]
|
DataRequirementsProcessorTest.TestPCSBMI:
Src/java/elm-fhir/src/test/java/org/cqframework/cql/elm/requirements/fhir/DataRequirementsProcessorTest.java#L1720
java.lang.AssertionError: expected [true] but found [false]
|
DataRequirementsProcessorTest.TestSDEEthnicity:
Src/java/elm-fhir/src/test/java/org/cqframework/cql/elm/requirements/fhir/DataRequirementsProcessorTest.java#L1796
java.lang.AssertionError: expected [true] but found [false]
|
DataRequirementsProcessorTest.TestSDERace:
Src/java/elm-fhir/src/test/java/org/cqframework/cql/elm/requirements/fhir/DataRequirementsProcessorTest.java#L1813
java.lang.AssertionError: expected [true] but found [false]
|
gradle
Gradle build failed: see console output for details
|