NIH | National Cancer Institute | NCI Wiki  

WIKI MAINTENANCE NOTICE

NCI Wiki will be will be undergoing scheduled maintenance on Monday, June 23rd between 5:00 and 6:00 PM ET.
Wiki will remain available, but users may experience screen refreshes or HTTP 502 errors during the maintenance period. If you encounter these errors, wait 1-2 minutes, then refresh your page.
As a precautionary measure, editors should ensure all work is saved prior to the maintenance period.

If you have any questions or concerns, contact the CBIIT Atlassian Management Team.

Create content

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 a qualifier list containing the code you wish to search                                           
NameAndValueList qualifierList = new NameAndValueList();                   
NameAndValue nv = new NameAndValue();                   
nv.setName("source-code");
nv.setContent("C12438");                 
qualifierList.addNameAndValue(nv);

//Specify the source code should come from the NCI source
LocalNameList LnL = new LocalNameList();
LnL.addEntry("NCI");


nodeSet = nodeSet.restrictToProperties(null,types,LnL,null, qualifierList);


  • No labels