|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectse.cambio.cds.ts.TerminologyServiceImpl
public class TerminologyServiceImpl
Method Summary | |
---|---|
static TerminologyService |
getInstance(InputStream configuration)
|
Collection<String> |
getSupportedTerminologies()
|
boolean |
hasAttributeOfValue(org.openehr.rm.datatypes.text.CodePhrase concept,
org.openehr.rm.datatypes.text.CodePhrase attribute,
org.openehr.rm.datatypes.text.CodePhrase value)
|
boolean |
hasPropertyOfValue(org.openehr.rm.datatypes.text.CodePhrase concept,
org.openehr.rm.datatypes.text.CodePhrase property,
org.openehr.rm.datatypes.text.CodePhrase value)
Checks if given concept has a named attribute of given value |
void |
init(InputStream configuration)
|
boolean |
isSubclassOf(org.openehr.rm.datatypes.text.CodePhrase a,
org.openehr.rm.datatypes.text.CodePhrase b)
Checks if codePhrase a is subclass of b with regards to subsumption relationship |
boolean |
isSubclassOf(org.openehr.rm.datatypes.text.CodePhrase code,
Set<org.openehr.rm.datatypes.text.CodePhrase> codes)
Checks if the given code is subclass of any member of specified set of codes |
boolean |
isTerminologySupported(String terminologyId)
|
void |
registerTerminologyServicePlugin(TerminologyServicePlugin terminologyService)
|
List<Node> |
retrieve(String expression,
org.openehr.rm.datatypes.text.CodePhrase language)
|
List<Node> |
retrieveAll(String terminologyId,
org.openehr.rm.datatypes.text.CodePhrase language)
|
List<org.openehr.rm.datatypes.text.DvCodedText> |
retrieveAllPossibleValues(org.openehr.rm.datatypes.text.CodePhrase attribute,
org.openehr.rm.datatypes.text.CodePhrase language)
Retrieves all possible values of given attribute with labels in specified language |
Node |
retrieveAllSubclasses(org.openehr.rm.datatypes.text.CodePhrase concept,
org.openehr.rm.datatypes.text.CodePhrase language)
Retrieves all subclasses of given concept with specified language |
String |
retrieveTerm(org.openehr.rm.datatypes.text.CodePhrase concept,
org.openehr.rm.datatypes.text.CodePhrase language)
Retrieves the term of a given concept in given language |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void init(InputStream configuration)
public static TerminologyService getInstance(InputStream configuration)
public boolean isSubclassOf(org.openehr.rm.datatypes.text.CodePhrase a, org.openehr.rm.datatypes.text.CodePhrase b) throws UnsupportedTerminologyException, InvalidCodeException
TerminologyService
isSubclassOf
in interface TerminologyService
UnsupportedTerminologyException
InvalidCodeException
public boolean isSubclassOf(org.openehr.rm.datatypes.text.CodePhrase code, Set<org.openehr.rm.datatypes.text.CodePhrase> codes) throws UnsupportedTerminologyException, InvalidCodeException
TerminologyService
isSubclassOf
in interface TerminologyService
UnsupportedTerminologyException
InvalidCodeException
public boolean isTerminologySupported(String terminologyId)
isTerminologySupported
in interface TerminologyService
public Node retrieveAllSubclasses(org.openehr.rm.datatypes.text.CodePhrase concept, org.openehr.rm.datatypes.text.CodePhrase language) throws UnsupportedTerminologyException, UnsupportedLanguageException, InvalidCodeException
TerminologyService
retrieveAllSubclasses
in interface TerminologyService
UnsupportedTerminologyException
UnsupportedLanguageException
InvalidCodeException
public boolean hasAttributeOfValue(org.openehr.rm.datatypes.text.CodePhrase concept, org.openehr.rm.datatypes.text.CodePhrase attribute, org.openehr.rm.datatypes.text.CodePhrase value) throws UnsupportedTerminologyException, UnknownPropertyException, UnsupportedLanguageException
UnsupportedTerminologyException
UnknownPropertyException
UnsupportedLanguageException
public List<org.openehr.rm.datatypes.text.DvCodedText> retrieveAllPossibleValues(org.openehr.rm.datatypes.text.CodePhrase attribute, org.openehr.rm.datatypes.text.CodePhrase language) throws UnsupportedTerminologyException, UnknownPropertyException, UnsupportedLanguageException
TerminologyService
retrieveAllPossibleValues
in interface TerminologyService
UnsupportedTerminologyException
UnknownPropertyException
UnsupportedLanguageException
public List<Node> retrieveAll(String terminologyId, org.openehr.rm.datatypes.text.CodePhrase language) throws UnsupportedTerminologyException, UnsupportedLanguageException
retrieveAll
in interface TerminologyService
UnsupportedTerminologyException
UnsupportedLanguageException
public List<Node> retrieve(String expression, org.openehr.rm.datatypes.text.CodePhrase language) throws UnsupportedTerminologyException, UnsupportedLanguageException
retrieve
in interface TerminologyService
UnsupportedTerminologyException
UnsupportedLanguageException
public boolean hasPropertyOfValue(org.openehr.rm.datatypes.text.CodePhrase concept, org.openehr.rm.datatypes.text.CodePhrase property, org.openehr.rm.datatypes.text.CodePhrase value) throws UnsupportedTerminologyException, UnknownPropertyException
TerminologyService
hasPropertyOfValue
in interface TerminologyService
UnsupportedTerminologyException
UnknownPropertyException
public String retrieveTerm(org.openehr.rm.datatypes.text.CodePhrase concept, org.openehr.rm.datatypes.text.CodePhrase language) throws UnsupportedTerminologyException, UnsupportedLanguageException
TerminologyService
retrieveTerm
in interface TerminologyService
UnsupportedTerminologyException
UnsupportedLanguageException
public void registerTerminologyServicePlugin(TerminologyServicePlugin terminologyService)
public Collection<String> getSupportedTerminologies()
getSupportedTerminologies
in interface TerminologyService
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |