NIH | National Cancer Institute | NCI Wiki  

Error rendering macro 'rw-search'

null

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Java Code Snippet
//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