@Test
public void testMultipleRetrieveReferencesArentDoubleCounted() {

    QuickstartCqlVisitor v = visitLogic(
            "valueset \"Acute Pharyngitis\" = ValueSet('2.16.840.1.113883.3.464.1003.102.12.1011')\n" +
            "let pharyngitis = [Condition: \"Acute Pharyngitis\"]\n" +
            "let pharyngitis_two = [Condition: \"Acute Pharyngitis\"]");
    Collection<Retrieve> rSet = v.getRetrieves();
    assertEquals(rSet.size(), 1);
}