public final class SnomedLookup extends Object implements Closeable
| Constructor and Description |
|---|
SnomedLookup(File dbFile) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addSnomedId(Candidate candidate)
Tries to find this candidate in the SNOMED CT database, and if found adds the SNOMED id and term type to the
instance.
|
void |
close() |
int |
enrichXml(MMOs root)
Tries to look up each Mapping Candidate in the SNOMED CT db to add more data.
|
SnomedTerm |
findFromCuiAndDesc(String cui,
String description) |
SnomedTerm |
findFromSnomedId(String snomedId) |
public SnomedLookup(File dbFile) throws SQLException
SQLExceptionpublic int enrichXml(MMOs root) throws SQLException
SQLExceptionpublic boolean addSnomedId(Candidate candidate) throws SQLException
SQLExceptionpublic SnomedTerm findFromCuiAndDesc(String cui, String description) throws SQLException
SQLExceptionpublic SnomedTerm findFromSnomedId(String snomedId) throws SQLException
SQLExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2014 NICTA. All rights reserved.