@Test
public void testValuesets() {

    QuickstartCqlVisitor v = visitLogic(
            "valueset \"Acute Pharyngitis\" = ValueSet('2.16.840.1.113883.3.464.1003.102.12.1011')\n" +
            "valueset \"Acute Tonsillitis\" = ValueSet('2.16.840.1.113883.3.464.1003.102.12.1012')");
    Map<String, ValueSet> vsMap = v.getValuesets();
    assertEquals(vsMap.size(), 2);
    ValueSet vs = vsMap.get("Acute Pharyngitis");
    assertEquals(vs.getId(), "2.16.840.1.113883.3.464.1003.102.12.1011");
    vs = vsMap.get("Acute Tonsillitis");
    assertEquals(vs.getId(), "2.16.840.1.113883.3.464.1003.102.12.1012");
}