|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ConceptDAO
Concept-related database functions
ConceptService
Method Summary | |
---|---|
java.util.Iterator<Concept> |
conceptIterator()
|
ConceptSource |
deleteConceptSource(ConceptSource cs)
|
java.util.List<ConceptClass> |
getAllConceptClasses(boolean includeRetired)
|
java.util.List<ConceptDatatype> |
getAllConceptDatatypes(boolean includeRetired)
|
java.util.List<ConceptNameTag> |
getAllConceptNameTags()
|
java.util.List<ConceptProposal> |
getAllConceptProposals(boolean includeComplete)
|
java.util.List<Concept> |
getAllConcepts(java.lang.String sortBy,
boolean asc,
boolean includeRetired)
|
java.util.List<ConceptSource> |
getAllConceptSources()
|
Concept |
getConcept(java.lang.Integer conceptId)
|
ConceptAnswer |
getConceptAnswer(java.lang.Integer conceptAnswerId)
|
ConceptAnswer |
getConceptAnswerByUuid(java.lang.String uuid)
|
Concept |
getConceptByMapping(java.lang.String conceptCode,
java.lang.String mappingCode)
|
Concept |
getConceptByUuid(java.lang.String uuid)
Auto generated method comment |
ConceptClass |
getConceptClass(java.lang.Integer i)
|
ConceptClass |
getConceptClassByUuid(java.lang.String uuid)
Auto generated method comment |
java.util.List<ConceptClass> |
getConceptClasses(java.lang.String name)
|
ConceptComplex |
getConceptComplex(java.lang.Integer conceptId)
Get a ConceptComplex. |
ConceptDatatype |
getConceptDatatype(java.lang.Integer i)
|
ConceptDatatype |
getConceptDatatypeByName(java.lang.String name)
|
ConceptDatatype |
getConceptDatatypeByUuid(java.lang.String uuid)
Auto generated method comment |
java.util.List<ConceptDatatype> |
getConceptDatatypes(java.lang.String name)
Deprecated. |
ConceptDerived |
getConceptDerivedByUuid(java.lang.String uuid)
|
ConceptDescription |
getConceptDescriptionByUuid(java.lang.String uuid)
|
ConceptName |
getConceptName(java.lang.Integer conceptNameId)
|
ConceptName |
getConceptNameByUuid(java.lang.String uuid)
|
ConceptNameTag |
getConceptNameTag(java.lang.Integer i)
|
ConceptNameTag |
getConceptNameTagByName(java.lang.String name)
|
ConceptNameTag |
getConceptNameTagByUuid(java.lang.String uuid)
|
ConceptNumeric |
getConceptNumeric(java.lang.Integer conceptId)
|
ConceptNumeric |
getConceptNumericByUuid(java.lang.String uuid)
Auto generated method comment |
ConceptProposal |
getConceptProposal(java.lang.Integer i)
|
ConceptProposal |
getConceptProposalByUuid(java.lang.String uuid)
Auto generated method comment |
java.util.List<ConceptProposal> |
getConceptProposals(java.lang.String text)
|
java.util.List<Concept> |
getConcepts(java.lang.String name,
java.util.Locale loc,
boolean searchOnPhrase,
java.util.List<ConceptClass> classes,
java.util.List<ConceptDatatype> datatypes)
Returns a list of concepts based on the search criteria |
java.util.List<Concept> |
getConceptsByAnswer(Concept concept)
|
java.util.List<ConceptMap> |
getConceptsByConceptSource(ConceptSource conceptSourceName)
|
ConceptSet |
getConceptSetByUuid(java.lang.String uuid)
|
ConceptSetDerived |
getConceptSetDerivedByUuid(java.lang.String uuid)
|
java.util.List<ConceptSet> |
getConceptSetsByConcept(Concept c)
|
ConceptSource |
getConceptSource(java.lang.Integer conceptSourceId)
|
ConceptSource |
getConceptSourceByName(java.lang.String conceptSourceName)
|
ConceptSource |
getConceptSourceByUuid(java.lang.String uuid)
|
java.util.List<Concept> |
getConceptsWithDrugsInFormulary()
|
java.util.Map<java.lang.Integer,java.lang.String> |
getConceptUuids()
|
ConceptWord |
getConceptWordByUuid(java.lang.String uuid)
|
java.util.List<ConceptWord> |
getConceptWords(java.lang.String phrase,
java.util.List<java.util.Locale> locales,
boolean includeRetired,
java.util.List<ConceptClass> requireClasses,
java.util.List<ConceptClass> excludeClasses,
java.util.List<ConceptDatatype> requireDatatypes,
java.util.List<ConceptDatatype> excludeDatatypes,
Concept answersToConcept,
java.lang.Integer start,
java.lang.Integer size)
|
Drug |
getDrug(java.lang.Integer drugId)
|
Drug |
getDrugByUuid(java.lang.String uuid)
Auto generated method comment |
DrugIngredient |
getDrugIngredientByUuid(java.lang.String uuid)
|
java.util.List<Drug> |
getDrugs(java.lang.String phrase)
|
java.util.List<Drug> |
getDrugs(java.lang.String drugName,
Concept concept,
boolean includeRetired)
DAO for retrieving a list of drugs based on the following criteria |
java.util.Set<java.util.Locale> |
getLocalesOfConceptNames()
|
java.lang.Integer |
getMaxConceptId()
|
Concept |
getNextConcept(Concept c)
|
Concept |
getPrevConcept(Concept c)
|
java.util.List<Concept> |
getProposedConcepts(java.lang.String text)
|
ConceptDatatype |
getSavedConceptDatatype(Concept concept)
Gets the value of conceptDatatype currently saved in the database for the given concept, bypassing any caches. |
ConceptName |
getSavedConceptName(ConceptName conceptName)
Gets the persisted copy of the conceptName currently saved in the database for the given conceptName, bypassing any caches. |
java.util.List<ConceptSet> |
getSetsContainingConcept(Concept concept)
|
void |
purgeConcept(Concept concept)
|
void |
purgeConceptClass(ConceptClass cc)
|
void |
purgeConceptDatatype(ConceptDatatype cd)
|
void |
purgeConceptProposal(ConceptProposal cp)
|
void |
purgeDrug(Drug drug)
|
Concept |
saveConcept(Concept concept)
|
ConceptClass |
saveConceptClass(ConceptClass cc)
|
ConceptDatatype |
saveConceptDatatype(ConceptDatatype cd)
|
ConceptNameTag |
saveConceptNameTag(ConceptNameTag nameTag)
|
ConceptProposal |
saveConceptProposal(ConceptProposal cp)
|
ConceptSource |
saveConceptSource(ConceptSource conceptSource)
|
Drug |
saveDrug(Drug drug)
|
void |
updateConceptSetDerived()
|
void |
updateConceptSetDerived(Concept concept)
|
void |
updateConceptWord(Concept concept)
|
Method Detail |
---|
Concept saveConcept(Concept concept) throws DAOException
DAOException
ConceptService.saveConcept(org.openmrs.Concept)
void purgeConcept(Concept concept) throws DAOException
DAOException
ConceptService.purgeConcept(org.openmrs.Concept)
ConceptComplex getConceptComplex(java.lang.Integer conceptId)
conceptId
-
void purgeDrug(Drug drug) throws DAOException
DAOException
ConceptService.purgeDrug(org.openmrs.Drug)
Drug saveDrug(Drug drug) throws DAOException
DAOException
ConceptService.saveDrug(org.openmrs.Drug)
Concept getConcept(java.lang.Integer conceptId) throws DAOException
DAOException
ConceptService.getConcept(java.lang.Integer)
ConceptName getConceptName(java.lang.Integer conceptNameId) throws DAOException
conceptNameId
-
DAOException
ConceptService.getConceptName(java.lang.Integer)
java.util.List<Concept> getAllConcepts(java.lang.String sortBy, boolean asc, boolean includeRetired) throws DAOException
DAOException
ConceptService.getAllConcepts(java.lang.String, boolean, boolean)
java.util.List<Concept> getConcepts(java.lang.String name, java.util.Locale loc, boolean searchOnPhrase, java.util.List<ConceptClass> classes, java.util.List<ConceptDatatype> datatypes) throws DAOException
name
- loc
- searchOnPhrase
- This puts wildcard characters around the concept name search criteria
DAOException
java.util.List<ConceptWord> getConceptWords(java.lang.String phrase, java.util.List<java.util.Locale> locales, boolean includeRetired, java.util.List<ConceptClass> requireClasses, java.util.List<ConceptClass> excludeClasses, java.util.List<ConceptDatatype> requireDatatypes, java.util.List<ConceptDatatype> excludeDatatypes, Concept answersToConcept, java.lang.Integer start, java.lang.Integer size) throws DAOException
DAOException
ConceptService.getConceptWords(String, List, boolean, List, List, List,
List, Concept, Integer, Integer)
ConceptAnswer getConceptAnswer(java.lang.Integer conceptAnswerId) throws DAOException
DAOException
ConceptService.getConceptAnswer(java.lang.Integer)
Drug getDrug(java.lang.Integer drugId) throws DAOException
DAOException
ConceptService.getDrug(java.lang.Integer)
java.util.List<Drug> getDrugs(java.lang.String drugName, Concept concept, boolean includeRetired) throws DAOException
drugName
- concept
- includeRetired
-
DAOException
java.util.List<Drug> getDrugs(java.lang.String phrase) throws DAOException
DAOException
ConceptService.getDrugs(java.lang.String)
ConceptClass getConceptClass(java.lang.Integer i) throws DAOException
DAOException
ConceptService.getConceptClass(java.lang.Integer)
java.util.List<ConceptClass> getConceptClasses(java.lang.String name) throws DAOException
DAOException
ConceptService.getConceptClassByName(java.lang.String)
java.util.List<ConceptClass> getAllConceptClasses(boolean includeRetired) throws DAOException
DAOException
ConceptService.getAllConceptClasses(boolean)
ConceptClass saveConceptClass(ConceptClass cc) throws DAOException
DAOException
ConceptService.saveConceptClass(org.openmrs.ConceptClass)
void purgeConceptClass(ConceptClass cc) throws DAOException
DAOException
ConceptService.purgeConceptClass(org.openmrs.ConceptClass)
java.util.List<ConceptDatatype> getAllConceptDatatypes(boolean includeRetired) throws DAOException
DAOException
ConceptService.getAllConceptDatatypes(boolean)
@Deprecated java.util.List<ConceptDatatype> getConceptDatatypes(java.lang.String name) throws DAOException
DAOException
ConceptService.getConceptDatatypes(java.lang.String)
ConceptDatatype getConceptDatatypeByName(java.lang.String name) throws DAOException
name
-
ConceptDatatype
that matches name exactly or null if one does
not exist.
DAOException
ConceptDatatype getConceptDatatype(java.lang.Integer i) throws DAOException
DAOException
ConceptService.getConceptDatatype(java.lang.Integer)
ConceptDatatype saveConceptDatatype(ConceptDatatype cd) throws DAOException
DAOException
ConceptService.saveConceptDatatype(org.openmrs.ConceptDatatype)
void purgeConceptDatatype(ConceptDatatype cd) throws DAOException
DAOException
ConceptService.purgeConceptDatatype(org.openmrs.ConceptDatatype)
void updateConceptSetDerived(Concept concept) throws DAOException
DAOException
ConceptService.updateConceptSetDerived(org.openmrs.Concept)
void updateConceptSetDerived() throws DAOException
DAOException
ConceptService.updateConceptSetDerived()
java.util.List<ConceptSet> getConceptSetsByConcept(Concept c) throws DAOException
DAOException
ConceptService.getConceptSetsByConcept(org.openmrs.Concept)
java.util.List<ConceptSet> getSetsContainingConcept(Concept concept) throws DAOException
DAOException
ConceptService.getSetsContainingConcept(org.openmrs.Concept)
ConceptNumeric getConceptNumeric(java.lang.Integer conceptId) throws DAOException
DAOException
ConceptService.getConceptNumeric(java.lang.Integer)
java.util.List<Concept> getConceptsByAnswer(Concept concept) throws DAOException
DAOException
ConceptService.getConceptsByAnswer(org.openmrs.Concept)
Concept getPrevConcept(Concept c) throws DAOException
DAOException
ConceptService.getPrevConcept(org.openmrs.Concept)
Concept getNextConcept(Concept c) throws DAOException
DAOException
ConceptService.getNextConcept(org.openmrs.Concept)
java.util.List<ConceptProposal> getAllConceptProposals(boolean includeComplete) throws DAOException
DAOException
ConceptService.getAllConceptProposals(boolean)
ConceptProposal getConceptProposal(java.lang.Integer i) throws DAOException
DAOException
ConceptService.getConceptProposal(java.lang.Integer)
java.util.List<ConceptProposal> getConceptProposals(java.lang.String text) throws DAOException
DAOException
ConceptService.getConceptProposals(java.lang.String)
java.util.List<Concept> getProposedConcepts(java.lang.String text) throws DAOException
DAOException
ConceptService.getProposedConcepts(java.lang.String)
ConceptProposal saveConceptProposal(ConceptProposal cp) throws DAOException
DAOException
ConceptService.saveConceptProposal(org.openmrs.ConceptProposal)
void purgeConceptProposal(ConceptProposal cp) throws DAOException
DAOException
ConceptService.purgeConceptProposal(org.openmrs.ConceptProposal)
java.util.List<Concept> getConceptsWithDrugsInFormulary() throws DAOException
DAOException
ConceptService.getConceptsWithDrugsInFormulary()
void updateConceptWord(Concept concept) throws DAOException
DAOException
ConceptService.updateConceptWord(org.openmrs.Concept)
ConceptNameTag saveConceptNameTag(ConceptNameTag nameTag)
ConceptNameTag getConceptNameTag(java.lang.Integer i)
ConceptNameTag getConceptNameTagByName(java.lang.String name)
java.util.List<ConceptNameTag> getAllConceptNameTags()
ConceptService.getAllConceptNameTags()
ConceptSource getConceptSource(java.lang.Integer conceptSourceId) throws DAOException
DAOException
ConceptService.getConceptSource(java.lang.Integer)
java.util.List<ConceptSource> getAllConceptSources() throws DAOException
DAOException
ConceptService.getAllConceptSources()
ConceptSource saveConceptSource(ConceptSource conceptSource) throws DAOException
DAOException
ConceptService.saveConceptSource(org.openmrs.ConceptSource)
ConceptSource deleteConceptSource(ConceptSource cs) throws DAOException
DAOException
ConceptService.purgeConceptSource(org.openmrs.ConceptSource)
java.util.Set<java.util.Locale> getLocalesOfConceptNames()
ConceptService.getLocalesOfConceptNames()
java.lang.Integer getMaxConceptId()
ConceptService.getMaxConceptId()
java.util.Iterator<Concept> conceptIterator()
ConceptService.conceptIterator()
Concept getConceptByMapping(java.lang.String conceptCode, java.lang.String mappingCode)
ConceptService.getConceptByMapping(java.lang.String, java.lang.String)
Concept getConceptByUuid(java.lang.String uuid)
uuid
-
ConceptClass getConceptClassByUuid(java.lang.String uuid)
uuid
-
ConceptAnswer getConceptAnswerByUuid(java.lang.String uuid)
ConceptDerived getConceptDerivedByUuid(java.lang.String uuid)
ConceptName getConceptNameByUuid(java.lang.String uuid)
ConceptSet getConceptSetByUuid(java.lang.String uuid)
ConceptSetDerived getConceptSetDerivedByUuid(java.lang.String uuid)
ConceptSource getConceptSourceByUuid(java.lang.String uuid)
ConceptWord getConceptWordByUuid(java.lang.String uuid)
ConceptDatatype getConceptDatatypeByUuid(java.lang.String uuid)
uuid
-
ConceptNumeric getConceptNumericByUuid(java.lang.String uuid)
uuid
-
ConceptProposal getConceptProposalByUuid(java.lang.String uuid)
uuid
-
Drug getDrugByUuid(java.lang.String uuid)
uuid
-
DrugIngredient getDrugIngredientByUuid(java.lang.String uuid)
java.util.Map<java.lang.Integer,java.lang.String> getConceptUuids()
org.openmrs.api.ConceptService#getConceptUuids()
ConceptDescription getConceptDescriptionByUuid(java.lang.String uuid)
ConceptNameTag getConceptNameTagByUuid(java.lang.String uuid)
java.util.List<ConceptMap> getConceptsByConceptSource(ConceptSource conceptSourceName) throws DAOException
DAOException
ConceptService.getConceptsByConceptSource(org.openmrs.ConceptSource)
ConceptSource getConceptSourceByName(java.lang.String conceptSourceName) throws DAOException
DAOException
ConceptService.getConceptSourceByName(java.lang.String)
ConceptDatatype getSavedConceptDatatype(Concept concept)
concept
- for which the conceptDatatype should be fetched
ConceptName getSavedConceptName(ConceptName conceptName)
conceptName
- ConceptName to fetch from the database
|
OpenMRS-1.7.x | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |