Terminology term = null;
try{
if("umls".equalsIgnoreCase(type)){
String [] p = terminologyParams.get(type).split("\\|");
if(p.length == 4)
term = new UMLSTerminology(p[0].trim(),p[1].trim(),p[2].trim(),p[3].trim());
}else if(type.startsWith("evs")){
term = new LexEVSRestTerminology(terminologyParams.get(type));
}else if(type.startsWith("bioportal")){
term = new BioPortalTerminology();
((BioPortalTerminology)term).setOntology(terminologyParams.get(type));