|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectse.cambio.cds.ts.CSVTerminologyServicePlugin
public class CSVTerminologyServicePlugin
Constructor Summary | |
---|---|
CSVTerminologyServicePlugin(String terminologyId)
|
Method Summary | |
---|---|
protected boolean |
checkSubclassOf(String as,
String bs)
|
protected String |
getDescription(String code)
|
Collection<String> |
getSupportedTerminologies()
|
String |
getTerminologyId()
|
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 is)
|
protected boolean |
invalidCode(String code)
|
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 |
registerDescription(String code,
String description)
|
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 |
protected String |
retrieveTerm(String code,
org.openehr.rm.datatypes.text.CodePhrase language)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CSVTerminologyServicePlugin(String terminologyId)
Method Detail |
---|
public void init(InputStream is) throws InternalErrorException
init
in interface TerminologyServicePlugin
InternalErrorException
public String getTerminologyId()
getTerminologyId
in interface TerminologyServicePlugin
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 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 List<Node> retrieve(String expression, org.openehr.rm.datatypes.text.CodePhrase language) throws UnsupportedTerminologyException, UnsupportedLanguageException
retrieve
in interface TerminologyService
UnsupportedTerminologyException
UnsupportedLanguageException
public List<Node> retrieveAll(String terminologyId, org.openehr.rm.datatypes.text.CodePhrase language) throws UnsupportedTerminologyException, UnsupportedLanguageException
retrieveAll
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 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
TerminologyService
retrieveAllPossibleValues
in interface TerminologyService
UnsupportedTerminologyException
UnknownPropertyException
UnsupportedLanguageException
public boolean isTerminologySupported(String terminologyId)
isTerminologySupported
in interface TerminologyService
protected boolean checkSubclassOf(String as, String bs) throws UnsupportedTerminologyException, InvalidCodeException
UnsupportedTerminologyException
InvalidCodeException
protected boolean invalidCode(String code)
public void registerDescription(String code, String description)
protected String getDescription(String code)
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
protected String retrieveTerm(String code, org.openehr.rm.datatypes.text.CodePhrase language) throws UnsupportedTerminologyException, UnsupportedLanguageException
UnsupportedTerminologyException
UnsupportedLanguageException
public Collection<String> getSupportedTerminologies()
getSupportedTerminologies
in interface TerminologyService
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |