NIH | National Cancer Institute | NCI Wiki  

Java Code Snippet
CodedNodeSet nodeSet = evsService.getNodeSet("NCI MetaThesaurus", null, null);

//Tell the api that you want to get back only the PRESENTATION type properties                    
CodedNodeSet.PropertyType[] types = new CodedNodeSet.PropertyType[1];                 
types[0] = CodedNodeSet.PropertyType.PRESENTATION;

//Now create the reference to the CUI you wish to retrieve                         
ConceptReferenceList crl = new ConceptReferenceList();                          
crl.addConceptReference(ConvenienceMethods.createConceptReference("C0029045","NCIMetaThesaurus"));                         
nodeSet = nodeSet.restrictToCodes(crl);


  • No labels