Package | Description |
---|---|
org.openmrs |
These classes represent the core domain objects for the OpenMRS project.
|
org.openmrs.api |
The primary OpenMRS API interfaces.
|
org.openmrs.api.db |
OpenMRS database layer interfaces.
|
org.openmrs.api.db.hibernate |
Resources for Hibernate ORM.
|
org.openmrs.api.handler | |
org.openmrs.api.impl | |
org.openmrs.util |
Shared utilities for OpenMRS classes
|
org.openmrs.web.controller | |
org.openmrs.web.dwr |
Modifier and Type | Field and Description |
---|---|
protected ConceptName |
Obs.valueCodedName |
Modifier and Type | Method and Description |
---|---|
ConceptName |
Concept.findNameTaggedWith(ConceptNameTag conceptNameTag)
A convenience method to get the concept-name (if any) which has a particular tag.
|
ConceptName |
Concept.getBestName(Locale locale)
Deprecated.
use
Concept.getName(Locale, boolean) with a second parameter of "false" |
ConceptName |
Concept.getBestShortName(Locale locale)
Deprecated.
|
ConceptName |
ConceptWord.getConceptName() |
ConceptName |
ConceptSearchResult.getConceptName() |
ConceptName |
Concept.getFullySpecifiedName(Locale locale)
Convenience method that returns the fully specified name in the locale
|
ConceptName |
Concept.getName()
Returns concept name, the look up for the appropriate name is done in the following order;
First name found in any locale that is explicitly marked as preferred while searching
available locales in order of preference (the locales are traversed in their order as they
are listed in the 'locale.allowed.list' including english global property).
First "Fully Specified" name found while searching available locales in order of
preference.
The first fully specified name found while searching through all names for the concept
The first synonym found while searching through all names for the concept.
The first random name found(except index terms) while searching through all names.
|
ConceptName |
Concept.getName(Locale locale)
Returns a name in the given locale.
|
ConceptName |
Concept.getName(Locale locale,
boolean exact)
Returns a name in the given locale.
|
ConceptName |
Concept.getPreferredName(Locale forLocale)
Returns the name which is explicitly marked as preferred for a given locale.
|
ConceptName |
Concept.getPreferredNameForCountry(String country)
Deprecated.
|
ConceptName |
Concept.getPreferredNameInLanguage(String language)
Deprecated.
|
ConceptName |
Concept.getShortestName(Locale locale,
Boolean exact)
Returns the short form name for a locale, or if none has been identified, the shortest name
available in the locale.
|
ConceptName |
Concept.getShortNameForCountry(String country)
Deprecated.
|
ConceptName |
Concept.getShortNameInLanguage(String language)
Deprecated.
|
ConceptName |
Concept.getShortNameInLocale(Locale locale)
Gets the explicitly specified short name for a locale.
|
ConceptName |
Obs.getValueCodedName()
Gets the specific name used for the coded value.
|
Modifier and Type | Method and Description |
---|---|
List<ConceptName> |
Concept.getCompatibleNames(Locale desiredLocale)
Returns all names from compatible locales.
|
Collection<ConceptName> |
Concept.getIndexTerms()
Gets the list of all non-retired concept names which are index terms for this concept
|
Collection<ConceptName> |
Concept.getIndexTermsForLocale(Locale locale)
Gets the list of all non-retired concept names which are index terms in a given locale
|
Collection<ConceptName> |
Concept.getNames() |
Collection<ConceptName> |
Concept.getNames(boolean includeVoided) |
Collection<ConceptName> |
Concept.getNames(Locale locale)
Returns all names available in a specific locale.
|
Collection<ConceptName> |
Concept.getShortNames()
Gets a collection of short names for this concept from all locales.
|
Collection<ConceptName> |
Concept.getShortNamesForLocale(Locale locale)
Deprecated.
because each concept has only one short name per locale.
|
Collection<ConceptName> |
Concept.getSynonyms()
Gets all the non-retired synonyms.
|
Collection<ConceptName> |
Concept.getSynonyms(Locale locale)
Gets the synonyms in the given locale.
|
Modifier and Type | Method and Description |
---|---|
void |
Concept.addName(ConceptName conceptName)
Add the given ConceptName to the list of names for this Concept
|
boolean |
Concept.removeName(ConceptName conceptName)
Remove the given name from the list of names for this Concept
|
void |
ConceptWord.setConceptName(ConceptName conceptName)
Sets the concept name associated with this word.
|
void |
ConceptSearchResult.setConceptName(ConceptName conceptName) |
void |
Concept.setFullySpecifiedName(ConceptName fullySpecifiedName)
Sets the specified name as the fully specified name for the locale and the current fully
specified (if any) ceases to be the fully specified name for the locale.
|
void |
Concept.setPreferredName(ConceptName preferredName)
Sets the preferred name /in this locale/ to the specified conceptName and its Locale, if
there is an existing preferred name for this concept in the same locale, this one will
replace the old preferred name.
|
void |
Concept.setPreferredName(Locale locale,
ConceptName preferredName)
Deprecated.
|
void |
Concept.setShortName(ConceptName shortName)
Sets the specified name as the short name for the locale and the current shortName(if any)
ceases to be the short name for the locale.
|
void |
Concept.setShortName(Locale locale,
ConceptName shortName)
Deprecated.
|
void |
Obs.setValueCodedName(ConceptName valueCodedName)
Sets the specific name used for the coded value.
|
Modifier and Type | Method and Description |
---|---|
void |
Concept.setNames(Collection<ConceptName> names) |
Constructor and Description |
---|
ConceptSearchResult(String word,
Concept concept,
ConceptName conceptName)
Convenience constructor
|
ConceptSearchResult(String word,
Concept concept,
ConceptName conceptName,
Double transientWeight)
Convenience constructor that takes in a weight too
|
ConceptWord(Concept c,
ConceptName conceptName) |
ConceptWord(String word,
Concept concept,
ConceptName conceptName,
Locale locale)
Convenience constructor
|
ConceptWord(String word,
Concept concept,
ConceptName conceptName,
Locale locale,
String synonym)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
ConceptName |
ConceptService.getConceptName(Integer conceptNameId)
Gets the concept-name with the given id
|
ConceptName |
ConceptService.getConceptNameByUuid(String uuid)
Get ConceptName by its UUID
|
Modifier and Type | Method and Description |
---|---|
boolean |
ConceptService.hasAnyObservation(ConceptName conceptName)
Checks if there are any observations (including voided observations) using a conceptName.
|
Modifier and Type | Method and Description |
---|---|
Integer |
ObsService.getObservationCount(List<ConceptName> conceptNames,
boolean includeVoided)
Gets the number of observations(including voided ones) that are using the specified
conceptNames as valueCodedName answers
|
Modifier and Type | Method and Description |
---|---|
ConceptName |
ConceptDAO.getConceptName(Integer conceptNameId) |
ConceptName |
ConceptDAO.getConceptNameByUuid(String uuid) |
ConceptName |
ConceptDAO.getSavedConceptName(ConceptName conceptName)
Gets the persisted copy of the conceptName currently saved in the database for the given
conceptName, bypassing any caches.
|
Modifier and Type | Method and Description |
---|---|
ConceptName |
ConceptDAO.getSavedConceptName(ConceptName conceptName)
Gets the persisted copy of the conceptName currently saved in the database for the given
conceptName, bypassing any caches.
|
Modifier and Type | Method and Description |
---|---|
Integer |
ObsDAO.getObservationCount(List<Person> whom,
List<Encounter> encounters,
List<Concept> questions,
List<Concept> answers,
List<OpenmrsConstants.PERSON_TYPE> personTypes,
List<Location> locations,
Integer obsGroupId,
Date fromDate,
Date toDate,
List<ConceptName> valueCodedNameAnswers,
boolean includeVoidedObs) |
Modifier and Type | Method and Description |
---|---|
ConceptName |
HibernateConceptDAO.getConceptName(Integer conceptNameId) |
ConceptName |
HibernateConceptDAO.getConceptNameByUuid(String uuid) |
ConceptName |
HibernateConceptDAO.getSavedConceptName(ConceptName conceptName) |
Modifier and Type | Method and Description |
---|---|
ConceptName |
HibernateConceptDAO.getSavedConceptName(ConceptName conceptName) |
Modifier and Type | Method and Description |
---|---|
Integer |
HibernateObsDAO.getObservationCount(List<Person> whom,
List<Encounter> encounters,
List<Concept> questions,
List<Concept> answers,
List<OpenmrsConstants.PERSON_TYPE> personTypes,
List<Location> locations,
Integer obsGroupId,
Date fromDate,
Date toDate,
List<ConceptName> valueCodedNameAnswers,
boolean includeVoidedObs) |
Modifier and Type | Method and Description |
---|---|
void |
ConceptNameSaveHandler.handle(ConceptName conceptName,
User currentUser,
Date currentDate,
String reason)
This method does a lookup on all tag name for all child
ConceptNameTag s that have a
null ConceptNameTag.getConceptNameTagId() . |
Modifier and Type | Method and Description |
---|---|
ConceptName |
ConceptServiceImpl.getConceptName(Integer conceptNameId) |
ConceptName |
ConceptServiceImpl.getConceptNameByUuid(String uuid) |
Modifier and Type | Method and Description |
---|---|
boolean |
ConceptServiceImpl.hasAnyObservation(ConceptName conceptName) |
Modifier and Type | Method and Description |
---|---|
Integer |
ObsServiceImpl.getObservationCount(List<ConceptName> conceptNames,
boolean includeVoided) |
Modifier and Type | Method and Description |
---|---|
static String |
FormUtil.conceptToString(Concept concept,
ConceptName localizedName)
Turn the given concept/concept-name pair into a string acceptable for hl7 and forms
|
Modifier and Type | Field and Description |
---|---|
Map<Locale,List<ConceptName>> |
ConceptFormController.ConceptFormBackingObject.indexTermsByLocale |
Map<Locale,ConceptName> |
ConceptFormController.ConceptFormBackingObject.namesByLocale |
Map<Locale,ConceptName> |
ConceptFormController.ConceptFormBackingObject.shortNamesByLocale |
Map<Locale,List<ConceptName>> |
ConceptFormController.ConceptFormBackingObject.synonymsByLocale |
Modifier and Type | Method and Description |
---|---|
Map<Locale,List<ConceptName>> |
ConceptFormController.ConceptFormBackingObject.getIndexTermsByLocale() |
Map<Locale,ConceptName> |
ConceptFormController.ConceptFormBackingObject.getNamesByLocale() |
Map<Locale,ConceptName> |
ConceptFormController.ConceptFormBackingObject.getShortNamesByLocale() |
Map<Locale,List<ConceptName>> |
ConceptFormController.ConceptFormBackingObject.getSynonymsByLocale() |
Modifier and Type | Method and Description |
---|---|
void |
ConceptFormController.ConceptFormBackingObject.setIndexTermsByLocale(Map<Locale,List<ConceptName>> indexTermsByLocale) |
void |
ConceptFormController.ConceptFormBackingObject.setNamesByLocale(Map<Locale,ConceptName> namesByLocale) |
void |
ConceptFormController.ConceptFormBackingObject.setShortNamesByLocale(Map<Locale,ConceptName> shortNamesByLocale) |
void |
ConceptFormController.ConceptFormBackingObject.setSynonymsByLocale(Map<Locale,List<ConceptName>> synonymsByLocale) |
Constructor and Description |
---|
ConceptListItem(Concept concept,
ConceptName conceptName,
Locale locale) |
Copyright © 2020 OpenMRS LLC.. All Rights Reserved.