<?xml version="1.0" encoding="utf-8"?>
<html>
<source lang = java>
<nowiki> //first obtain a 'CodedNodeSet' from the 'NCI Thesaurus' ontology: ResolvedConceptReferenceList cns = lbSvc.getCodingSchemeConcepts("NCI Thesaurus", null); //Next, restrict that to the desired Code ('C1234' in this example): ConceptReferenceList crefs = ConvenienceMethods. createConceptReferenceList(new String[]{"C1234"}, "NCI Thesaurus"); cns.restrictToCodes(crefs); //Lastly, resolve the match. ResolvedConceptReferenceList matches = cns.resolveToList(null, null, null, 1); </nowiki>
</source>
</html>