public interface ConceptDAO
ConceptServiceConcept saveConcept(Concept concept) throws DAOException
DAOExceptionConceptService.saveConcept(org.openmrs.Concept)void purgeConcept(Concept concept) throws DAOException
DAOExceptionConceptService.purgeConcept(org.openmrs.Concept)ConceptComplex getConceptComplex(Integer conceptId)
conceptId - void purgeDrug(Drug drug) throws DAOException
DAOExceptionConceptService.purgeDrug(org.openmrs.Drug)Drug saveDrug(Drug drug) throws DAOException
DAOExceptionConceptService.saveDrug(org.openmrs.Drug)Concept getConcept(Integer conceptId) throws DAOException
DAOExceptionConceptService.getConcept(java.lang.Integer)ConceptName getConceptName(Integer conceptNameId) throws DAOException
conceptNameId - DAOExceptionConceptService.getConceptName(java.lang.Integer)List<Concept> getAllConcepts(String sortBy, boolean asc, boolean includeRetired) throws DAOException
List<Concept> getConcepts(String name, Locale loc, boolean searchOnPhrase, List<ConceptClass> classes, List<ConceptDatatype> datatypes) throws DAOException
name - loc - searchOnPhrase - This puts wildcard characters around the concept name search criteriaDAOExceptionList<ConceptWord> getConceptWords(String phrase, List<Locale> locales, boolean includeRetired, List<ConceptClass> requireClasses, List<ConceptClass> excludeClasses, List<ConceptDatatype> requireDatatypes, List<ConceptDatatype> excludeDatatypes, Concept answersToConcept, Integer start, Integer size) throws DAOException
List<ConceptSearchResult> getConcepts(String phrase, List<Locale> locales, boolean includeRetired, List<ConceptClass> requireClasses, List<ConceptClass> excludeClasses, List<ConceptDatatype> requireDatatypes, List<ConceptDatatype> excludeDatatypes, Concept answersToConcept, Integer start, Integer size) throws DAOException
ConceptAnswer getConceptAnswer(Integer conceptAnswerId) throws DAOException
DAOExceptionConceptService.getConceptAnswer(java.lang.Integer)Drug getDrug(Integer drugId) throws DAOException
DAOExceptionConceptService.getDrug(java.lang.Integer)List<Drug> getDrugs(String drugName, Concept concept, boolean includeRetired) throws DAOException
drugName - concept - includeRetired - DAOExceptionList<Drug> getDrugs(String phrase) throws DAOException
DAOExceptionConceptService.getDrugs(java.lang.String)ConceptClass getConceptClass(Integer i) throws DAOException
DAOExceptionConceptService.getConceptClass(java.lang.Integer)List<ConceptClass> getConceptClasses(String name) throws DAOException
DAOExceptionConceptService.getConceptClassByName(java.lang.String)List<ConceptClass> getAllConceptClasses(boolean includeRetired) throws DAOException
DAOExceptionConceptService.getAllConceptClasses(boolean)ConceptClass saveConceptClass(ConceptClass cc) throws DAOException
DAOExceptionConceptService.saveConceptClass(org.openmrs.ConceptClass)void purgeConceptClass(ConceptClass cc) throws DAOException
DAOExceptionConceptService.purgeConceptClass(org.openmrs.ConceptClass)List<ConceptDatatype> getAllConceptDatatypes(boolean includeRetired) throws DAOException
DAOExceptionConceptService.getAllConceptDatatypes(boolean)@Deprecated List<ConceptDatatype> getConceptDatatypes(String name) throws DAOException
DAOExceptionConceptService.getConceptDatatypes(java.lang.String)ConceptDatatype getConceptDatatypeByName(String name) throws DAOException
name - ConceptDatatype that matches name exactly or null if one does
not exist.DAOExceptionConceptDatatype getConceptDatatype(Integer i) throws DAOException
DAOExceptionConceptService.getConceptDatatype(java.lang.Integer)ConceptDatatype saveConceptDatatype(ConceptDatatype cd) throws DAOException
DAOExceptionConceptService.saveConceptDatatype(org.openmrs.ConceptDatatype)void purgeConceptDatatype(ConceptDatatype cd) throws DAOException
DAOExceptionConceptService.purgeConceptDatatype(org.openmrs.ConceptDatatype)void updateConceptSetDerived(Concept concept) throws DAOException
DAOExceptionConceptService.updateConceptSetDerived(org.openmrs.Concept)void updateConceptSetDerived()
throws DAOException
DAOExceptionConceptService.updateConceptSetDerived()List<ConceptSet> getConceptSetsByConcept(Concept c) throws DAOException
DAOExceptionConceptService.getConceptSetsByConcept(org.openmrs.Concept)List<ConceptSet> getSetsContainingConcept(Concept concept) throws DAOException
DAOExceptionConceptService.getSetsContainingConcept(org.openmrs.Concept)ConceptNumeric getConceptNumeric(Integer conceptId) throws DAOException
DAOExceptionConceptService.getConceptNumeric(java.lang.Integer)List<Concept> getConceptsByAnswer(Concept concept) throws DAOException
DAOExceptionConceptService.getConceptsByAnswer(org.openmrs.Concept)Concept getPrevConcept(Concept c) throws DAOException
DAOExceptionConceptService.getPrevConcept(org.openmrs.Concept)Concept getNextConcept(Concept c) throws DAOException
DAOExceptionConceptService.getNextConcept(org.openmrs.Concept)List<ConceptProposal> getAllConceptProposals(boolean includeComplete) throws DAOException
DAOExceptionConceptService.getAllConceptProposals(boolean)ConceptProposal getConceptProposal(Integer i) throws DAOException
DAOExceptionConceptService.getConceptProposal(java.lang.Integer)List<ConceptProposal> getConceptProposals(String text) throws DAOException
DAOExceptionConceptService.getConceptProposals(java.lang.String)List<Concept> getProposedConcepts(String text) throws DAOException
DAOExceptionConceptService.getProposedConcepts(java.lang.String)ConceptProposal saveConceptProposal(ConceptProposal cp) throws DAOException
DAOExceptionConceptService.saveConceptProposal(org.openmrs.ConceptProposal)void purgeConceptProposal(ConceptProposal cp) throws DAOException
DAOExceptionConceptService.purgeConceptProposal(org.openmrs.ConceptProposal)List<Concept> getConceptsWithDrugsInFormulary() throws DAOException
DAOExceptionConceptService.getConceptsWithDrugsInFormulary()void updateConceptWord(Concept concept) throws DAOException
DAOExceptionConceptService.updateConceptWord(org.openmrs.Concept)ConceptNameTag saveConceptNameTag(ConceptNameTag nameTag)
ConceptNameTag getConceptNameTag(Integer i)
ConceptNameTag getConceptNameTagByName(String name)
List<ConceptNameTag> getAllConceptNameTags()
ConceptService.getAllConceptNameTags()ConceptSource getConceptSource(Integer conceptSourceId) throws DAOException
DAOExceptionConceptService.getConceptSource(java.lang.Integer)List<ConceptSource> getAllConceptSources() throws DAOException
DAOExceptionConceptService.getAllConceptSources()ConceptSource saveConceptSource(ConceptSource conceptSource) throws DAOException
DAOExceptionConceptService.saveConceptSource(org.openmrs.ConceptSource)ConceptSource deleteConceptSource(ConceptSource cs) throws DAOException
DAOExceptionConceptService.purgeConceptSource(org.openmrs.ConceptSource)Integer getMaxConceptId()
ConceptService.getMaxConceptId()Iterator<Concept> conceptIterator()
ConceptService.conceptIterator()List<Concept> getConceptsByMapping(String code, String sourceName, boolean includeRetired)
org.openmrs.api.ConceptService@getConceptsByMapping(java.lang.String, java.lang.String)Concept getConceptByUuid(String uuid)
uuid - ConceptClass getConceptClassByUuid(String uuid)
uuid - ConceptAnswer getConceptAnswerByUuid(String uuid)
ConceptName getConceptNameByUuid(String uuid)
ConceptSet getConceptSetByUuid(String uuid)
ConceptSetDerived getConceptSetDerivedByUuid(String uuid)
ConceptSource getConceptSourceByUuid(String uuid)
ConceptWord getConceptWordByUuid(String uuid)
ConceptDatatype getConceptDatatypeByUuid(String uuid)
uuid - ConceptNumeric getConceptNumericByUuid(String uuid)
uuid - ConceptProposal getConceptProposalByUuid(String uuid)
uuid - Drug getDrugByUuid(String uuid)
uuid - DrugIngredient getDrugIngredientByUuid(String uuid)
Map<Integer,String> getConceptUuids()
org.openmrs.api.ConceptService#getConceptUuids()ConceptDescription getConceptDescriptionByUuid(String uuid)
ConceptNameTag getConceptNameTagByUuid(String uuid)
List<ConceptMap> getConceptsByConceptSource(ConceptSource conceptSourceName) throws DAOException
ConceptSource getConceptSourceByName(String conceptSourceName) throws DAOException
DAOExceptionConceptService.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 databaseInteger getCountOfConceptWords(String phrase, List<Locale> locales, boolean includeRetired, List<ConceptClass> requireClasses, List<ConceptClass> excludeClasses, List<ConceptDatatype> requireDatatypes, 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.Integer getCountOfDrugs(String drugName, Concept concept, boolean searchOnPhrase, boolean searchDrugConceptNames, boolean includeRetired) throws DAOException
List<Drug> getDrugs(String drugName, Concept concept, boolean searchOnPhrase, boolean searchDrugConceptNames, boolean includeRetired, Integer start, Integer length) throws DAOException
Double weighConceptWord(ConceptWord word)
word - the word for which to compute the weightCopyright © 2018 OpenMRS LLC.. All Rights Reserved.