public interface ConceptDAO
ConceptService
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<Concept> |
conceptIterator() |
void |
deleteConceptMapType(ConceptMapType conceptMapType) |
void |
deleteConceptReferenceTerm(ConceptReferenceTerm conceptReferenceTerm) |
ConceptSource |
deleteConceptSource(ConceptSource cs) |
void |
deleteConceptStopWord(java.lang.Integer conceptStopWordId) |
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() |
java.util.List<ConceptStopWord> |
getAllConceptStopWords() |
Concept |
getConcept(java.lang.Integer conceptId) |
ConceptAnswer |
getConceptAnswer(java.lang.Integer conceptAnswerId) |
ConceptAnswer |
getConceptAnswerByUuid(java.lang.String uuid) |
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.
|
ConceptDescription |
getConceptDescriptionByUuid(java.lang.String uuid) |
java.util.List<ConceptMap> |
getConceptMapsBySource(ConceptSource conceptSource) |
ConceptMapType |
getConceptMapType(java.lang.Integer conceptMapTypeId) |
ConceptMapType |
getConceptMapTypeByName(java.lang.String name) |
ConceptMapType |
getConceptMapTypeByUuid(java.lang.String uuid) |
java.util.List<ConceptMapType> |
getConceptMapTypes(boolean includeRetired,
boolean includeHidden) |
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) |
ConceptReferenceTerm |
getConceptReferenceTerm(java.lang.Integer conceptReferenceTermId) |
ConceptReferenceTerm |
getConceptReferenceTermByCode(java.lang.String code,
ConceptSource conceptSource) |
ConceptReferenceTerm |
getConceptReferenceTermByName(java.lang.String name,
ConceptSource conceptSource) |
ConceptReferenceTerm |
getConceptReferenceTermByUuid(java.lang.String uuid) |
java.util.List<ConceptReferenceTerm> |
getConceptReferenceTerms(boolean includeRetired) |
java.util.List<ConceptReferenceTerm> |
getConceptReferenceTerms(java.lang.String query,
ConceptSource conceptSource,
java.lang.Integer start,
java.lang.Integer length,
boolean includeRetired) |
java.util.List<ConceptReferenceTerm> |
getConceptReferenceTermsBySource(ConceptSource conceptSource) |
java.util.List<ConceptSearchResult> |
getConcepts(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) |
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<Concept> |
getConceptsByMapping(java.lang.String code,
java.lang.String sourceName,
boolean includeRetired) |
java.util.List<Concept> |
getConceptsByName(java.lang.String name,
java.util.Locale locale,
java.lang.Boolean exactLocal) |
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<java.lang.String> |
getConceptStopWords(java.util.Locale locale) |
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) |
java.lang.Long |
getCountOfConceptReferenceTerms(java.lang.String query,
ConceptSource conceptSource,
boolean includeRetired) |
java.lang.Long |
getCountOfConceptWords(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,
boolean forUniqueConcepts)
Get the count of matching conceptWords
|
java.lang.Long |
getCountOfDrugs(java.lang.String drugName,
Concept concept,
boolean searchOnPhrase,
boolean searchDrugConceptNames,
boolean includeRetired) |
ConceptMapType |
getDefaultConceptMapType()
It is in the DAO, because it must be done in the MANUAL flush mode to prevent premature
flushes in
ConceptService.saveConcept(Concept) . |
Drug |
getDrug(java.lang.Integer drugId) |
Drug |
getDrugByMapping(java.lang.String code,
ConceptSource conceptSource,
java.util.Collection<ConceptMapType> withAnyOfTheseTypesOrOrderOfPreference) |
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.List<Drug> |
getDrugs(java.lang.String drugName,
Concept concept,
boolean searchOnPhrase,
boolean searchDrugConceptNames,
boolean includeRetired,
java.lang.Integer start,
java.lang.Integer length) |
java.util.List<Drug> |
getDrugs(java.lang.String searchPhrase,
java.util.Locale locale,
boolean exactLocale,
boolean includeRetired) |
java.util.List<Drug> |
getDrugsByMapping(java.lang.String code,
ConceptSource conceptSource,
java.util.Collection<ConceptMapType> withAnyOfTheseTypes,
boolean includeRetired) |
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) |
java.util.List<ConceptReferenceTermMap> |
getReferenceTermMappingsTo(ConceptReferenceTerm term) |
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) |
boolean |
isConceptMapTypeInUse(ConceptMapType mapType)
Checks if there are any
ConceptReferenceTermMap s or ConceptMap s using the
specified mapType |
boolean |
isConceptReferenceTermInUse(ConceptReferenceTerm term)
Checks if there are any
ConceptReferenceTermMap s or ConceptMap s using the
specified term |
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) |
ConceptMapType |
saveConceptMapType(ConceptMapType conceptMapType) |
ConceptNameTag |
saveConceptNameTag(ConceptNameTag nameTag) |
ConceptProposal |
saveConceptProposal(ConceptProposal cp) |
ConceptReferenceTerm |
saveConceptReferenceTerm(ConceptReferenceTerm conceptReferenceTerm) |
ConceptSource |
saveConceptSource(ConceptSource conceptSource) |
ConceptStopWord |
saveConceptStopWord(ConceptStopWord conceptStopWord) |
Drug |
saveDrug(Drug drug) |
void |
updateConceptSetDerived() |
void |
updateConceptSetDerived(Concept concept) |
void |
updateConceptWord(Concept concept) |
java.lang.Double |
weighConceptWord(ConceptWord word)
Computes and returns the weight of a conceptWord.
|
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
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 criteriaDAOException
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
java.util.List<ConceptSearchResult> getConcepts(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
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()
java.lang.Integer getMaxConceptId()
ConceptService.getMaxConceptId()
java.util.Iterator<Concept> conceptIterator()
ConceptService.conceptIterator()
java.util.List<Concept> getConceptsByMapping(java.lang.String code, java.lang.String sourceName, boolean includeRetired)
org.openmrs.api.ConceptService@getConceptsByMapping(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)
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> getConceptMapsBySource(ConceptSource conceptSource) throws DAOException
DAOException
ConceptService#getConceptMapsBySource(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 fetchedConceptName getSavedConceptName(ConceptName conceptName)
conceptName
- ConceptName to fetch from the databaseConceptStopWord saveConceptStopWord(ConceptStopWord conceptStopWord) throws DAOException
DAOException
ConceptService.saveConceptStopWord(org.openmrs.ConceptStopWord)
void deleteConceptStopWord(java.lang.Integer conceptStopWordId) throws DAOException
DAOException
ConceptService.deleteConceptStopWord(Integer)
java.util.List<java.lang.String> getConceptStopWords(java.util.Locale locale) throws DAOException
DAOException
ConceptService.getConceptStopWords(java.util.Locale)
java.util.List<ConceptStopWord> getAllConceptStopWords()
ConceptService.getAllConceptStopWords()
java.lang.Long getCountOfConceptWords(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, boolean forUniqueConcepts)
phrase
- text to search onlocales
- the locales to restrict toincludeRetired
- Specifies whether to include retired conceptsrequireClasses
- ListexcludeClasses
- ListrequireDatatypes
- ListexcludeDatatypes
- ListanswersToConcept
- all results will be a possible answer to this conceptforUniqueConcepts
- Specifies if conceptWords that are associated to multiple
conceptWords should be counted one or more times.java.lang.Long getCountOfDrugs(java.lang.String drugName, Concept concept, boolean searchOnPhrase, boolean searchDrugConceptNames, boolean includeRetired) throws DAOException
java.util.List<Drug> getDrugs(java.lang.String drugName, Concept concept, boolean searchOnPhrase, boolean searchDrugConceptNames, boolean includeRetired, java.lang.Integer start, java.lang.Integer length) throws DAOException
java.lang.Double weighConceptWord(ConceptWord word)
word
- the word for which to compute the weightjava.util.List<ConceptMapType> getConceptMapTypes(boolean includeRetired, boolean includeHidden) throws DAOException
DAOException
ConceptService.getConceptMapTypes(boolean, boolean)
ConceptMapType getConceptMapType(java.lang.Integer conceptMapTypeId) throws DAOException
DAOException
ConceptService.getConceptMapType(Integer)
ConceptMapType getConceptMapTypeByUuid(java.lang.String uuid) throws DAOException
DAOException
ConceptService.getConceptMapTypeByUuid(String)
ConceptMapType getConceptMapTypeByName(java.lang.String name) throws DAOException
DAOException
ConceptService.getConceptMapTypeByName(String)
ConceptMapType saveConceptMapType(ConceptMapType conceptMapType) throws DAOException
DAOException
ConceptService.saveConceptMapType(ConceptMapType)
void deleteConceptMapType(ConceptMapType conceptMapType) throws DAOException
DAOException
ConceptService.purgeConceptMapType(ConceptMapType)
java.util.List<ConceptReferenceTerm> getConceptReferenceTerms(boolean includeRetired) throws DAOException
DAOException
ConceptService.getConceptReferenceTerms(boolean)
ConceptReferenceTerm getConceptReferenceTerm(java.lang.Integer conceptReferenceTermId) throws DAOException
DAOException
ConceptService.getConceptReferenceTerm(Integer)
ConceptReferenceTerm getConceptReferenceTermByUuid(java.lang.String uuid) throws DAOException
DAOException
ConceptService.getConceptReferenceTermByUuid(String)
java.util.List<ConceptReferenceTerm> getConceptReferenceTermsBySource(ConceptSource conceptSource) throws DAOException
DAOException
ConceptService#getConceptReferenceTermsBySource(ConceptSource)
ConceptReferenceTerm getConceptReferenceTermByName(java.lang.String name, ConceptSource conceptSource) throws DAOException
ConceptReferenceTerm getConceptReferenceTermByCode(java.lang.String code, ConceptSource conceptSource) throws DAOException
ConceptReferenceTerm saveConceptReferenceTerm(ConceptReferenceTerm conceptReferenceTerm) throws DAOException
DAOException
ConceptService.saveConceptReferenceTerm(ConceptReferenceTerm)
void deleteConceptReferenceTerm(ConceptReferenceTerm conceptReferenceTerm) throws DAOException
DAOException
ConceptService.purgeConceptReferenceTerm(ConceptReferenceTerm)
java.lang.Long getCountOfConceptReferenceTerms(java.lang.String query, ConceptSource conceptSource, boolean includeRetired) throws DAOException
java.util.List<ConceptReferenceTerm> getConceptReferenceTerms(java.lang.String query, ConceptSource conceptSource, java.lang.Integer start, java.lang.Integer length, boolean includeRetired) throws APIException
java.util.List<ConceptReferenceTermMap> getReferenceTermMappingsTo(ConceptReferenceTerm term) throws DAOException
DAOException
ConceptService.getReferenceTermMappingsTo(ConceptReferenceTerm)
boolean isConceptReferenceTermInUse(ConceptReferenceTerm term) throws DAOException
ConceptReferenceTermMap
s or ConceptMap
s using the
specified termterm
- DAOException
boolean isConceptMapTypeInUse(ConceptMapType mapType) throws DAOException
ConceptReferenceTermMap
s or ConceptMap
s using the
specified mapTypemapType
- DAOException
java.util.List<Concept> getConceptsByName(java.lang.String name, java.util.Locale locale, java.lang.Boolean exactLocal)
ConceptMapType getDefaultConceptMapType() throws DAOException
ConceptService.saveConcept(Concept)
. It will be removed in 1.10 when we
have a better way to manage flush modes.DAOException
ConceptService.getDefaultConceptMapType()
java.util.List<Drug> getDrugs(java.lang.String searchPhrase, java.util.Locale locale, boolean exactLocale, boolean includeRetired)
java.util.List<Drug> getDrugsByMapping(java.lang.String code, ConceptSource conceptSource, java.util.Collection<ConceptMapType> withAnyOfTheseTypes, boolean includeRetired) throws DAOException
Drug getDrugByMapping(java.lang.String code, ConceptSource conceptSource, java.util.Collection<ConceptMapType> withAnyOfTheseTypesOrOrderOfPreference) throws DAOException
DAOException
org.openmrs.api.ConceptService#getDrugByMapping(String, org.openmrs.ConceptSource,
java.util.Collection
Copyright © 2018 OpenMRS Inc.. All Rights Reserved.