@Test
public void testRetrieve() {

    QuickstartCqlVisitor v = visitLogic(
            "valueset \"Acute Pharyngitis\" = ValueSet('2.16.840.1.113883.3.464.1003.102.12.1011')\n" +
            "let pharyngitis = [Condition: \"Acute Pharyngitis\"]");
    Collection<Retrieve> rSet = v.getRetrieves();
    assertEquals(rSet.size(), 1);
    Retrieve r = rSet.iterator().next();
    assertEquals(r.getExistence(), Retrieve.Existence.Occurrence);
    assertEquals(r.getTopic(), "Condition");
    assertEquals(r.getValueset(), new ValueSet("2.16.840.1.113883.3.464.1003.102.12.1011"));
    assertNull(r.getModality());
}