|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TerminologyService
This class defines a minimal interface of a terminology service that is required to support runtime and authoring of CDSS.
Method Summary | |
---|---|
Collection<String> |
getSupportedTerminologies()
|
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 |
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)
|
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 property,
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 |
Method Detail |
---|
boolean isSubclassOf(org.openehr.rm.datatypes.text.CodePhrase a, org.openehr.rm.datatypes.text.CodePhrase b) throws UnsupportedTerminologyException, InvalidCodeException
a
- b
-
UnsupportedTerminologyException
InvalidCodeException
boolean isSubclassOf(org.openehr.rm.datatypes.text.CodePhrase code, Set<org.openehr.rm.datatypes.text.CodePhrase> codes) throws UnsupportedTerminologyException, InvalidCodeException
code
- codes
-
UnsupportedTerminologyException
InvalidCodeException
Node retrieveAllSubclasses(org.openehr.rm.datatypes.text.CodePhrase concept, org.openehr.rm.datatypes.text.CodePhrase language) throws UnsupportedTerminologyException, UnsupportedLanguageException, InvalidCodeException
concept
-
UnsupportedTerminologyException
UnsupportedLanguageException
InvalidCodeException
List<Node> retrieve(String expression, org.openehr.rm.datatypes.text.CodePhrase language) throws UnsupportedTerminologyException, UnsupportedLanguageException
UnsupportedTerminologyException
UnsupportedLanguageException
List<Node> retrieveAll(String terminologyId, org.openehr.rm.datatypes.text.CodePhrase language) throws UnsupportedTerminologyException, UnsupportedLanguageException
UnsupportedTerminologyException
UnsupportedLanguageException
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
concept
- property
- value
-
UnsupportedTerminologyException
UnknownPropertyException
String retrieveTerm(org.openehr.rm.datatypes.text.CodePhrase concept, org.openehr.rm.datatypes.text.CodePhrase language) throws UnsupportedTerminologyException, UnsupportedLanguageException
concept
- language
-
UnsupportedTerminologyException
UnsupportedLanguageException
List<org.openehr.rm.datatypes.text.DvCodedText> retrieveAllPossibleValues(org.openehr.rm.datatypes.text.CodePhrase property, org.openehr.rm.datatypes.text.CodePhrase language) throws UnsupportedTerminologyException, UnknownPropertyException, UnsupportedLanguageException
property
- language
-
UnsupportedTerminologyException
UnknownPropertyException
UnsupportedLanguageException
boolean isTerminologySupported(String terminologyId)
Collection<String> getSupportedTerminologies()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |