public class HibernateConceptDAO extends Object implements ConceptDAO
ConceptService
to access these methodsConceptService
Constructor and Description |
---|
HibernateConceptDAO() |
public void setSessionFactory(org.hibernate.SessionFactory sessionFactory)
sessionFactory
- public ConceptComplex getConceptComplex(Integer conceptId)
ConceptDAO
getConceptComplex
in interface ConceptDAO
ConceptDAO.getConceptComplex(java.lang.Integer)
public Concept saveConcept(Concept concept) throws DAOException
saveConcept
in interface ConceptDAO
DAOException
ConceptDAO.saveConcept(org.openmrs.Concept)
public void purgeConcept(Concept concept) throws DAOException
purgeConcept
in interface ConceptDAO
DAOException
ConceptDAO.purgeConcept(org.openmrs.Concept)
public Concept getConcept(Integer conceptId) throws DAOException
getConcept
in interface ConceptDAO
DAOException
ConceptDAO.getConcept(java.lang.Integer)
public ConceptName getConceptName(Integer conceptNameId) throws DAOException
getConceptName
in interface ConceptDAO
DAOException
ConceptDAO.getConceptName(java.lang.Integer)
public ConceptAnswer getConceptAnswer(Integer conceptAnswerId) throws DAOException
getConceptAnswer
in interface ConceptDAO
DAOException
ConceptDAO.getConceptAnswer(java.lang.Integer)
public List<Concept> getAllConcepts(String sortBy, boolean asc, boolean includeRetired) throws DAOException
getAllConcepts
in interface ConceptDAO
DAOException
ConceptDAO.getAllConcepts(java.lang.String, boolean, boolean)
public Drug saveDrug(Drug drug) throws DAOException
saveDrug
in interface ConceptDAO
DAOException
ConceptDAO.saveDrug(org.openmrs.Drug)
public Drug getDrug(Integer drugId) throws DAOException
getDrug
in interface ConceptDAO
DAOException
ConceptDAO.getDrug(java.lang.Integer)
public List<Drug> getDrugs(String drugName, Concept concept, boolean includeRetired) throws DAOException
ConceptDAO
getDrugs
in interface ConceptDAO
DAOException
ConceptDAO.getDrugs(java.lang.String, org.openmrs.Concept, boolean)
public List<Drug> getDrugsByIngredient(Concept ingredient)
getDrugsByIngredient
in interface ConceptDAO
ConceptDAO.getDrugsByIngredient(org.openmrs.Concept)
public List<Drug> getDrugs(String phrase) throws DAOException
getDrugs
in interface ConceptDAO
DAOException
ConceptDAO.getDrugs(java.lang.String)
public ConceptClass getConceptClass(Integer i) throws DAOException
getConceptClass
in interface ConceptDAO
DAOException
ConceptDAO.getConceptClass(java.lang.Integer)
public List<ConceptClass> getConceptClasses(String name) throws DAOException
getConceptClasses
in interface ConceptDAO
DAOException
ConceptDAO.getConceptClasses(java.lang.String)
public List<ConceptClass> getAllConceptClasses(boolean includeRetired) throws DAOException
getAllConceptClasses
in interface ConceptDAO
DAOException
ConceptDAO.getAllConceptClasses(boolean)
public ConceptClass saveConceptClass(ConceptClass cc) throws DAOException
saveConceptClass
in interface ConceptDAO
DAOException
ConceptDAO.saveConceptClass(org.openmrs.ConceptClass)
public void purgeConceptClass(ConceptClass cc) throws DAOException
purgeConceptClass
in interface ConceptDAO
DAOException
ConceptDAO.purgeConceptClass(org.openmrs.ConceptClass)
public void deleteConceptNameTag(ConceptNameTag cnt) throws DAOException
deleteConceptNameTag
in interface ConceptDAO
DAOException
ConceptDAO.deleteConceptNameTag(ConceptNameTag)
public ConceptDatatype getConceptDatatype(Integer i)
getConceptDatatype
in interface ConceptDAO
ConceptDAO.getConceptDatatype(java.lang.Integer)
public List<ConceptDatatype> getAllConceptDatatypes(boolean includeRetired) throws DAOException
getAllConceptDatatypes
in interface ConceptDAO
DAOException
ConceptService.getAllConceptDatatypes(boolean)
public List<ConceptDatatype> getConceptDatatypes(String name) throws DAOException
name
- the name of the ConceptDatatypeDAOException
public ConceptDatatype getConceptDatatypeByName(String name) throws DAOException
getConceptDatatypeByName
in interface ConceptDAO
ConceptDatatype
that matches name exactly or null if one does
not exist.DAOException
ConceptDAO.getConceptDatatypeByName(String)
public ConceptDatatype saveConceptDatatype(ConceptDatatype cd) throws DAOException
saveConceptDatatype
in interface ConceptDAO
DAOException
ConceptDAO.saveConceptDatatype(org.openmrs.ConceptDatatype)
public void purgeConceptDatatype(ConceptDatatype cd) throws DAOException
purgeConceptDatatype
in interface ConceptDAO
DAOException
ConceptDAO.purgeConceptDatatype(org.openmrs.ConceptDatatype)
public ConceptNumeric getConceptNumeric(Integer i)
getConceptNumeric
in interface ConceptDAO
ConceptDAO.getConceptNumeric(java.lang.Integer)
public List<Concept> getConcepts(String name, Locale loc, boolean searchOnPhrase, List<ConceptClass> classes, List<ConceptDatatype> datatypes) throws DAOException
ConceptDAO
getConcepts
in interface ConceptDAO
searchOnPhrase
- This puts wildcard characters around the concept name search criteriaDAOException
- Should not return concepts with matching names that are voidedConceptDAO.getConcepts(java.lang.String, java.util.Locale, boolean,
java.util.List, java.util.List)
public List<Concept> getConceptsByAnswer(Concept concept)
getConceptsByAnswer
in interface ConceptDAO
ConceptDAO.getConceptsByAnswer(org.openmrs.Concept)
public Concept getPrevConcept(Concept c)
getPrevConcept
in interface ConceptDAO
ConceptDAO.getPrevConcept(org.openmrs.Concept)
public Concept getNextConcept(Concept c)
getNextConcept
in interface ConceptDAO
ConceptDAO.getNextConcept(org.openmrs.Concept)
public List<Concept> getConceptsWithDrugsInFormulary()
getConceptsWithDrugsInFormulary
in interface ConceptDAO
ConceptDAO.getConceptsWithDrugsInFormulary()
public void purgeDrug(Drug drug) throws DAOException
purgeDrug
in interface ConceptDAO
DAOException
ConceptDAO.purgeDrug(org.openmrs.Drug)
public ConceptProposal saveConceptProposal(ConceptProposal cp) throws DAOException
saveConceptProposal
in interface ConceptDAO
DAOException
ConceptDAO.saveConceptProposal(org.openmrs.ConceptProposal)
public void purgeConceptProposal(ConceptProposal cp) throws DAOException
purgeConceptProposal
in interface ConceptDAO
DAOException
ConceptDAO.purgeConceptProposal(org.openmrs.ConceptProposal)
public List<ConceptProposal> getAllConceptProposals(boolean includeCompleted) throws DAOException
getAllConceptProposals
in interface ConceptDAO
DAOException
ConceptDAO.getAllConceptProposals(boolean)
public ConceptProposal getConceptProposal(Integer conceptProposalId) throws DAOException
getConceptProposal
in interface ConceptDAO
DAOException
ConceptDAO.getConceptProposal(java.lang.Integer)
public List<ConceptProposal> getConceptProposals(String text) throws DAOException
getConceptProposals
in interface ConceptDAO
DAOException
ConceptDAO.getConceptProposals(java.lang.String)
public List<Concept> getProposedConcepts(String text) throws DAOException
getProposedConcepts
in interface ConceptDAO
DAOException
ConceptDAO.getProposedConcepts(java.lang.String)
public List<ConceptSet> getConceptSetsByConcept(Concept concept)
getConceptSetsByConcept
in interface ConceptDAO
ConceptDAO.getConceptSetsByConcept(org.openmrs.Concept)
public List<ConceptSet> getSetsContainingConcept(Concept concept)
getSetsContainingConcept
in interface ConceptDAO
ConceptDAO.getSetsContainingConcept(org.openmrs.Concept)
public Set<Locale> getLocalesOfConceptNames()
getLocalesOfConceptNames
in interface ConceptDAO
ConceptDAO.getLocalesOfConceptNames()
public ConceptNameTag getConceptNameTag(Integer i)
getConceptNameTag
in interface ConceptDAO
ConceptDAO.getConceptNameTag(java.lang.Integer)
public ConceptNameTag getConceptNameTagByName(String name)
getConceptNameTagByName
in interface ConceptDAO
ConceptDAO.getConceptNameTagByName(java.lang.String)
public List<ConceptNameTag> getAllConceptNameTags()
getAllConceptNameTags
in interface ConceptDAO
ConceptDAO.getAllConceptNameTags()
public ConceptSource getConceptSource(Integer conceptSourceId)
getConceptSource
in interface ConceptDAO
ConceptDAO.getConceptSource(java.lang.Integer)
public List<ConceptSource> getAllConceptSources(boolean includeRetired) throws DAOException
getAllConceptSources
in interface ConceptDAO
DAOException
ConceptDAO.getAllConceptSources(boolean)
public ConceptSource deleteConceptSource(ConceptSource cs) throws DAOException
deleteConceptSource
in interface ConceptDAO
DAOException
ConceptDAO.deleteConceptSource(org.openmrs.ConceptSource)
public ConceptSource saveConceptSource(ConceptSource conceptSource) throws DAOException
saveConceptSource
in interface ConceptDAO
DAOException
ConceptDAO.saveConceptSource(org.openmrs.ConceptSource)
public ConceptNameTag saveConceptNameTag(ConceptNameTag nameTag)
saveConceptNameTag
in interface ConceptDAO
ConceptDAO.saveConceptNameTag(org.openmrs.ConceptNameTag)
public Integer getMinConceptId()
ConceptDAO.getMaxConceptId()
public Integer getMaxConceptId()
getMaxConceptId
in interface ConceptDAO
ConceptDAO.getMaxConceptId()
public Iterator<Concept> conceptIterator()
conceptIterator
in interface ConceptDAO
ConceptDAO.conceptIterator()
@Deprecated public List<Concept> getConceptsByMapping(String code, String sourceName, boolean includeRetired)
getConceptsByMapping
in interface ConceptDAO
ConceptDAO.getConceptsByMapping(String, String, boolean)
public List<Integer> getConceptIdsByMapping(String code, String sourceName, boolean includeRetired)
getConceptIdsByMapping
in interface ConceptDAO
ConceptDAO.getConceptIdsByMapping(String, String, boolean)
public Concept getConceptByUuid(String uuid)
getConceptByUuid
in interface ConceptDAO
ConceptDAO.getConceptByUuid(java.lang.String)
public ConceptClass getConceptClassByUuid(String uuid)
getConceptClassByUuid
in interface ConceptDAO
ConceptDAO.getConceptClassByUuid(java.lang.String)
public ConceptAnswer getConceptAnswerByUuid(String uuid)
getConceptAnswerByUuid
in interface ConceptDAO
public ConceptName getConceptNameByUuid(String uuid)
getConceptNameByUuid
in interface ConceptDAO
public ConceptSet getConceptSetByUuid(String uuid)
getConceptSetByUuid
in interface ConceptDAO
public ConceptSource getConceptSourceByUuid(String uuid)
getConceptSourceByUuid
in interface ConceptDAO
public ConceptDatatype getConceptDatatypeByUuid(String uuid)
getConceptDatatypeByUuid
in interface ConceptDAO
ConceptDAO.getConceptDatatypeByUuid(java.lang.String)
public ConceptNumeric getConceptNumericByUuid(String uuid)
getConceptNumericByUuid
in interface ConceptDAO
ConceptDAO.getConceptNumericByUuid(java.lang.String)
public ConceptProposal getConceptProposalByUuid(String uuid)
getConceptProposalByUuid
in interface ConceptDAO
ConceptDAO.getConceptProposalByUuid(java.lang.String)
public Drug getDrugByUuid(String uuid)
getDrugByUuid
in interface ConceptDAO
ConceptDAO.getDrugByUuid(java.lang.String)
public DrugIngredient getDrugIngredientByUuid(String uuid)
getDrugIngredientByUuid
in interface ConceptDAO
public Map<Integer,String> getConceptUuids()
getConceptUuids
in interface ConceptDAO
ConceptDAO.getConceptUuids()
public ConceptDescription getConceptDescriptionByUuid(String uuid)
getConceptDescriptionByUuid
in interface ConceptDAO
ConceptDAO.getConceptDescriptionByUuid(java.lang.String)
public ConceptNameTag getConceptNameTagByUuid(String uuid)
getConceptNameTagByUuid
in interface ConceptDAO
ConceptDAO.getConceptNameTagByUuid(java.lang.String)
public List<ConceptMap> getConceptMapsBySource(ConceptSource conceptSource) throws DAOException
getConceptMapsBySource
in interface ConceptDAO
DAOException
ConceptDAO.getConceptMapsBySource(ConceptSource)
public ConceptSource getConceptSourceByName(String conceptSourceName) throws DAOException
getConceptSourceByName
in interface ConceptDAO
DAOException
ConceptDAO.getConceptSourceByName(java.lang.String)
public ConceptSource getConceptSourceByUniqueId(String uniqueId)
getConceptSourceByUniqueId
in interface ConceptDAO
ConceptDAO.getConceptSourceByUniqueId(java.lang.String)
public ConceptSource getConceptSourceByHL7Code(String hl7Code)
getConceptSourceByHL7Code
in interface ConceptDAO
ConceptDAO.getConceptSourceByHL7Code(java.lang.String)
public ConceptDatatype getSavedConceptDatatype(Concept concept)
ConceptDAO
getSavedConceptDatatype
in interface ConceptDAO
concept
- for which the conceptDatatype should be fetchedConceptDAO.getSavedConceptDatatype(org.openmrs.Concept)
public ConceptName getSavedConceptName(ConceptName conceptName)
ConceptDAO
getSavedConceptName
in interface ConceptDAO
conceptName
- ConceptName to fetch from the databaseConceptDAO.getSavedConceptName(org.openmrs.ConceptName)
public List<String> getConceptStopWords(Locale locale) throws DAOException
getConceptStopWords
in interface ConceptDAO
DAOException
ConceptDAO.getConceptStopWords(java.util.Locale)
public ConceptStopWord saveConceptStopWord(ConceptStopWord conceptStopWord) throws DAOException
saveConceptStopWord
in interface ConceptDAO
DAOException
ConceptDAO.saveConceptStopWord(org.openmrs.ConceptStopWord)
public void deleteConceptStopWord(Integer conceptStopWordId) throws DAOException
deleteConceptStopWord
in interface ConceptDAO
DAOException
ConceptDAO.deleteConceptStopWord(java.lang.Integer)
public List<ConceptStopWord> getAllConceptStopWords()
getAllConceptStopWords
in interface ConceptDAO
ConceptDAO.getAllConceptStopWords()
public Long getCountOfDrugs(String drugName, Concept concept, boolean searchKeywords, boolean searchDrugConceptNames, boolean includeRetired) throws DAOException
getCountOfDrugs
in interface ConceptDAO
DAOException
ConceptService.getCountOfDrugs(String, Concept, boolean, boolean, boolean)
public List<Drug> getDrugs(String drugName, Concept concept, boolean searchKeywords, boolean searchDrugConceptNames, boolean includeRetired, Integer start, Integer length) throws DAOException
getDrugs
in interface ConceptDAO
DAOException
ConceptService.getDrugs(String, Concept, boolean, boolean, boolean, Integer, Integer)
public 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
getConcepts
in interface ConceptDAO
DAOException
- Should return correct results for concept with names that contains words with more weight
Should return correct results if a concept name contains same word more than onceConceptDAO.getConcepts(String, List, boolean, List, List, List, List, Concept, Integer,
Integer)
public Integer getCountOfConcepts(String phrase, List<Locale> locales, boolean includeRetired, List<ConceptClass> requireClasses, List<ConceptClass> excludeClasses, List<ConceptDatatype> requireDatatypes, List<ConceptDatatype> excludeDatatypes, Concept answersToConcept) throws DAOException
getCountOfConcepts
in interface ConceptDAO
DAOException
public List<ConceptMapType> getConceptMapTypes(boolean includeRetired, boolean includeHidden) throws DAOException
getConceptMapTypes
in interface ConceptDAO
DAOException
ConceptDAO.getConceptMapTypes(boolean, boolean)
public ConceptMapType getConceptMapType(Integer conceptMapTypeId) throws DAOException
getConceptMapType
in interface ConceptDAO
DAOException
ConceptDAO.getConceptMapType(java.lang.Integer)
public ConceptMapType getConceptMapTypeByUuid(String uuid) throws DAOException
getConceptMapTypeByUuid
in interface ConceptDAO
DAOException
ConceptDAO.getConceptMapTypeByUuid(java.lang.String)
public ConceptMapType getConceptMapTypeByName(String name) throws DAOException
getConceptMapTypeByName
in interface ConceptDAO
DAOException
ConceptDAO.getConceptMapTypeByName(java.lang.String)
public ConceptMapType saveConceptMapType(ConceptMapType conceptMapType) throws DAOException
saveConceptMapType
in interface ConceptDAO
DAOException
ConceptDAO.saveConceptMapType(org.openmrs.ConceptMapType)
public void deleteConceptMapType(ConceptMapType conceptMapType) throws DAOException
deleteConceptMapType
in interface ConceptDAO
DAOException
ConceptDAO.deleteConceptMapType(org.openmrs.ConceptMapType)
public List<ConceptReferenceTerm> getConceptReferenceTerms(boolean includeRetired) throws DAOException
getConceptReferenceTerms
in interface ConceptDAO
DAOException
ConceptDAO.getConceptReferenceTerms(boolean)
public ConceptReferenceTerm getConceptReferenceTerm(Integer conceptReferenceTermId) throws DAOException
getConceptReferenceTerm
in interface ConceptDAO
DAOException
ConceptDAO.getConceptReferenceTerm(java.lang.Integer)
public ConceptReferenceTerm getConceptReferenceTermByUuid(String uuid) throws DAOException
getConceptReferenceTermByUuid
in interface ConceptDAO
DAOException
ConceptDAO.getConceptReferenceTermByUuid(java.lang.String)
public List<ConceptReferenceTerm> getConceptReferenceTermsBySource(ConceptSource conceptSource) throws DAOException
getConceptReferenceTermsBySource
in interface ConceptDAO
DAOException
ConceptDAO.getConceptReferenceTermsBySource(ConceptSource)
public ConceptReferenceTerm getConceptReferenceTermByName(String name, ConceptSource conceptSource) throws DAOException
getConceptReferenceTermByName
in interface ConceptDAO
DAOException
ConceptDAO.getConceptReferenceTermByName(java.lang.String,
org.openmrs.ConceptSource)
public ConceptReferenceTerm getConceptReferenceTermByCode(String code, ConceptSource conceptSource) throws DAOException
getConceptReferenceTermByCode
in interface ConceptDAO
DAOException
ConceptDAO.getConceptReferenceTermByCode(java.lang.String,
org.openmrs.ConceptSource)
public List<ConceptReferenceTerm> getConceptReferenceTermByCode(String code, ConceptSource conceptSource, boolean includeRetired) throws DAOException
getConceptReferenceTermByCode
in interface ConceptDAO
DAOException
ConceptDAO.getConceptReferenceTermByCode(java.lang.String,
org.openmrs.ConceptSource, boolean)
public ConceptReferenceTerm saveConceptReferenceTerm(ConceptReferenceTerm conceptReferenceTerm) throws DAOException
saveConceptReferenceTerm
in interface ConceptDAO
DAOException
ConceptDAO.saveConceptReferenceTerm(org.openmrs.ConceptReferenceTerm)
public void deleteConceptReferenceTerm(ConceptReferenceTerm conceptReferenceTerm) throws DAOException
deleteConceptReferenceTerm
in interface ConceptDAO
DAOException
ConceptDAO.deleteConceptReferenceTerm(org.openmrs.ConceptReferenceTerm)
public Long getCountOfConceptReferenceTerms(String query, ConceptSource conceptSource, boolean includeRetired) throws DAOException
getCountOfConceptReferenceTerms
in interface ConceptDAO
DAOException
ConceptService.getCountOfConceptReferenceTerms(String, ConceptSource, boolean)
public List<ConceptReferenceTerm> getConceptReferenceTerms(String query, ConceptSource conceptSource, Integer start, Integer length, boolean includeRetired) throws APIException
getConceptReferenceTerms
in interface ConceptDAO
APIException
ConceptDAO.getConceptReferenceTerms(String, ConceptSource, Integer,
Integer, boolean)
public List<ConceptReferenceTermMap> getReferenceTermMappingsTo(ConceptReferenceTerm term) throws DAOException
getReferenceTermMappingsTo
in interface ConceptDAO
DAOException
ConceptDAO.getReferenceTermMappingsTo(ConceptReferenceTerm)
public boolean isConceptReferenceTermInUse(ConceptReferenceTerm term) throws DAOException
ConceptDAO
ConceptReferenceTermMap
s or ConceptMap
s using the
specified termisConceptReferenceTermInUse
in interface ConceptDAO
DAOException
- Should return true if a term has a conceptMap or more using it
Should return true if a term has a conceptReferenceTermMap or more using it
Should return false if a term has no maps using itConceptDAO.isConceptReferenceTermInUse(org.openmrs.ConceptReferenceTerm)
public boolean isConceptMapTypeInUse(ConceptMapType mapType) throws DAOException
ConceptDAO
ConceptReferenceTermMap
s or ConceptMap
s using the
specified mapTypeisConceptMapTypeInUse
in interface ConceptDAO
DAOException
- Should return true if a mapType has a conceptMap or more using it
Should return true if a mapType has a conceptReferenceTermMap or more using it
Should return false if a mapType has no maps using itConceptDAO.isConceptMapTypeInUse(org.openmrs.ConceptMapType)
public List<Concept> getConceptsByName(String name, Locale locale, Boolean exactLocale)
getConceptsByName
in interface ConceptDAO
ConceptDAO.getConceptsByName(java.lang.String, java.util.Locale,
java.lang.Boolean)
public Concept getConceptByName(String name)
getConceptByName
in interface ConceptDAO
ConceptDAO.getConceptByName(java.lang.String)
public ConceptMapType getDefaultConceptMapType() throws DAOException
ConceptDAO
ConceptService.saveConcept(Concept)
. It will be removed in 1.10 when we
have a better way to manage flush modes.getDefaultConceptMapType
in interface ConceptDAO
DAOException
ConceptDAO.getDefaultConceptMapType()
public boolean isConceptNameDuplicate(ConceptName name)
isConceptNameDuplicate
in interface ConceptDAO
ConceptDAO.isConceptNameDuplicate(org.openmrs.ConceptName)
public List<Drug> getDrugs(String searchPhrase, Locale locale, boolean exactLocale, boolean includeRetired)
getDrugs
in interface ConceptDAO
ConceptDAO.getDrugs(String, java.util.Locale, boolean, boolean)
public List<Drug> getDrugsByMapping(String code, ConceptSource conceptSource, Collection<ConceptMapType> withAnyOfTheseTypes, boolean includeRetired) throws DAOException
getDrugsByMapping
in interface ConceptDAO
DAOException
ConceptDAO.getDrugsByMapping(String, ConceptSource, Collection, boolean)
public Drug getDrugByMapping(String code, ConceptSource conceptSource, Collection<ConceptMapType> withAnyOfTheseTypesOrOrderOfPreference) throws DAOException
getDrugByMapping
in interface ConceptDAO
DAOException
ConceptDAO.getDrugs(java.lang.String, org.openmrs.Concept, boolean)
public List<ConceptAttributeType> getAllConceptAttributeTypes()
getAllConceptAttributeTypes
in interface ConceptDAO
ConceptDAO.getAllConceptAttributeTypes()
public ConceptAttributeType saveConceptAttributeType(ConceptAttributeType conceptAttributeType)
saveConceptAttributeType
in interface ConceptDAO
ConceptDAO.saveConceptAttributeType(ConceptAttributeType)
public ConceptAttributeType getConceptAttributeType(Integer id)
getConceptAttributeType
in interface ConceptDAO
ConceptDAO.getConceptAttributeType(Integer)
public ConceptAttributeType getConceptAttributeTypeByUuid(String uuid)
getConceptAttributeTypeByUuid
in interface ConceptDAO
ConceptDAO.getConceptAttributeTypeByUuid(String)
public void deleteConceptAttributeType(ConceptAttributeType conceptAttributeType)
deleteConceptAttributeType
in interface ConceptDAO
ConceptDAO.deleteConceptAttributeType(org.openmrs.ConceptAttributeType)
public List<ConceptAttributeType> getConceptAttributeTypes(String name)
getConceptAttributeTypes
in interface ConceptDAO
ConceptDAO.getConceptAttributeTypes(String)
public ConceptAttributeType getConceptAttributeTypeByName(String exactName)
getConceptAttributeTypeByName
in interface ConceptDAO
ConceptDAO.getConceptAttributeTypeByName(String)
public ConceptAttribute getConceptAttributeByUuid(String uuid)
getConceptAttributeByUuid
in interface ConceptDAO
ConceptDAO.getConceptAttributeByUuid(String)
public long getConceptAttributeCount(ConceptAttributeType conceptAttributeType)
getConceptAttributeCount
in interface ConceptDAO
ConceptDAO.getConceptAttributeCount(ConceptAttributeType)
public List<Concept> getConceptsByClass(ConceptClass conceptClass)
getConceptsByClass
in interface ConceptDAO
Copyright © 2024 OpenMRS Inc.. All rights reserved.