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(java.util.Locale locale)
Deprecated.
use
Concept.getName(Locale, boolean) with a second parameter of "false" |
ConceptName |
Concept.getBestShortName(java.util.Locale locale)
Deprecated.
|
ConceptName |
ConceptWord.getConceptName() |
ConceptName |
ConceptSearchResult.getConceptName() |
ConceptName |
Concept.getFullySpecifiedName(java.util.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(java.util.Locale locale)
Returns a name in the given locale.
|
ConceptName |
Concept.getName(java.util.Locale locale,
boolean exact)
Returns a name in the given locale.
|
ConceptName |
Concept.getName(java.util.Locale locale,
ConceptNameType ofType,
ConceptNameTag havingTag)
Returns concept name depending of locale, type (short, fully specified, etc) and tag.
|
ConceptName |
Concept.getPreferredName(java.util.Locale forLocale)
Returns the name which is explicitly marked as preferred for a given locale.
|
ConceptName |
Concept.getPreferredNameForCountry(java.lang.String country)
Deprecated.
|
ConceptName |
Concept.getPreferredNameInLanguage(java.lang.String language)
Deprecated.
|
ConceptName |
Concept.getShortestName(java.util.Locale locale,
java.lang.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(java.lang.String country)
Deprecated.
|
ConceptName |
Concept.getShortNameInLanguage(java.lang.String language)
Deprecated.
|
ConceptName |
Concept.getShortNameInLocale(java.util.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 |
---|---|
java.util.List<ConceptName> |
Concept.getCompatibleNames(java.util.Locale desiredLocale)
Returns all names from compatible locales.
|
java.util.Collection<ConceptName> |
Concept.getIndexTerms()
Gets the list of all non-retired concept names which are index terms for this concept
|
java.util.Collection<ConceptName> |
Concept.getIndexTermsForLocale(java.util.Locale locale)
Gets the list of all non-retired concept names which are index terms in a given locale
|
java.util.Collection<ConceptName> |
Concept.getNames() |
java.util.Collection<ConceptName> |
Concept.getNames(boolean includeVoided) |
java.util.Collection<ConceptName> |
Concept.getNames(java.util.Locale locale)
Returns all names available in a specific locale.
|
java.util.Collection<ConceptName> |
Concept.getShortNames()
Gets a collection of short names for this concept from all locales.
|
java.util.Collection<ConceptName> |
Concept.getShortNamesForLocale(java.util.Locale locale)
Deprecated.
because each concept has only one short name per locale.
|
java.util.Collection<ConceptName> |
Concept.getSynonyms()
Gets all the non-retired synonyms.
|
java.util.Collection<ConceptName> |
Concept.getSynonyms(java.util.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(java.util.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(java.util.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(java.util.Collection<ConceptName> names) |
Constructor and Description |
---|
ConceptSearchResult(java.lang.String word,
Concept concept,
ConceptName conceptName)
Convenience constructor
|
ConceptSearchResult(java.lang.String word,
Concept concept,
ConceptName conceptName,
java.lang.Double transientWeight)
Convenience constructor that takes in a weight too
|
ConceptWord(Concept c,
ConceptName conceptName) |
ConceptWord(java.lang.String word,
Concept concept,
ConceptName conceptName,
java.util.Locale locale)
Convenience constructor
|
ConceptWord(java.lang.String word,
Concept concept,
ConceptName conceptName,
java.util.Locale locale,
java.lang.String synonym)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
ConceptName |
ConceptService.getConceptName(java.lang.Integer conceptNameId)
Gets the concept-name with the given id
|
ConceptName |
ConceptService.getConceptNameByUuid(java.lang.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 |
---|---|
java.lang.Integer |
ObsService.getObservationCount(java.util.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(java.lang.Integer conceptNameId) |
ConceptName |
ConceptDAO.getConceptNameByUuid(java.lang.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 |
---|---|
java.lang.Long |
ObsDAO.getObservationCount(java.util.List<Person> whom,
java.util.List<Encounter> encounters,
java.util.List<Concept> questions,
java.util.List<Concept> answers,
java.util.List<OpenmrsConstants.PERSON_TYPE> personTypes,
java.util.List<Location> locations,
java.lang.Integer obsGroupId,
java.util.Date fromDate,
java.util.Date toDate,
java.util.List<ConceptName> valueCodedNameAnswers,
boolean includeVoidedObs) |
Modifier and Type | Method and Description |
---|---|
ConceptName |
HibernateConceptDAO.getConceptName(java.lang.Integer conceptNameId) |
ConceptName |
HibernateConceptDAO.getConceptNameByUuid(java.lang.String uuid) |
ConceptName |
HibernateConceptDAO.getSavedConceptName(ConceptName conceptName) |
Modifier and Type | Method and Description |
---|---|
ConceptName |
HibernateConceptDAO.getSavedConceptName(ConceptName conceptName) |
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
HibernateObsDAO.getObservationCount(java.util.List<Person> whom,
java.util.List<Encounter> encounters,
java.util.List<Concept> questions,
java.util.List<Concept> answers,
java.util.List<OpenmrsConstants.PERSON_TYPE> personTypes,
java.util.List<Location> locations,
java.lang.Integer obsGroupId,
java.util.Date fromDate,
java.util.Date toDate,
java.util.List<ConceptName> valueCodedNameAnswers,
boolean includeVoidedObs) |
Modifier and Type | Method and Description |
---|---|
void |
ConceptNameSaveHandler.handle(ConceptName conceptName,
User currentUser,
java.util.Date currentDate,
java.lang.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(java.lang.Integer conceptNameId) |
ConceptName |
ConceptServiceImpl.getConceptNameByUuid(java.lang.String uuid) |
Modifier and Type | Method and Description |
---|---|
boolean |
ConceptServiceImpl.hasAnyObservation(ConceptName conceptName) |
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
ObsServiceImpl.getObservationCount(java.util.List<ConceptName> conceptNames,
boolean includeVoided) |
Modifier and Type | Method and Description |
---|---|
static java.lang.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 |
---|---|
java.util.Map<java.util.Locale,java.util.List<ConceptName>> |
ConceptFormController.ConceptFormBackingObject.indexTermsByLocale |
java.util.Map<java.util.Locale,ConceptName> |
ConceptFormController.ConceptFormBackingObject.namesByLocale |
java.util.Map<java.util.Locale,ConceptName> |
ConceptFormController.ConceptFormBackingObject.shortNamesByLocale |
java.util.Map<java.util.Locale,java.util.List<ConceptName>> |
ConceptFormController.ConceptFormBackingObject.synonymsByLocale |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.util.Locale,java.util.List<ConceptName>> |
ConceptFormController.ConceptFormBackingObject.getIndexTermsByLocale() |
java.util.Map<java.util.Locale,ConceptName> |
ConceptFormController.ConceptFormBackingObject.getNamesByLocale() |
java.util.Map<java.util.Locale,ConceptName> |
ConceptFormController.ConceptFormBackingObject.getShortNamesByLocale() |
java.util.Map<java.util.Locale,java.util.List<ConceptName>> |
ConceptFormController.ConceptFormBackingObject.getSynonymsByLocale() |
Modifier and Type | Method and Description |
---|---|
void |
ConceptFormController.ConceptFormBackingObject.setIndexTermsByLocale(java.util.Map<java.util.Locale,java.util.List<ConceptName>> indexTermsByLocale) |
void |
ConceptFormController.ConceptFormBackingObject.setNamesByLocale(java.util.Map<java.util.Locale,ConceptName> namesByLocale) |
void |
ConceptFormController.ConceptFormBackingObject.setShortNamesByLocale(java.util.Map<java.util.Locale,ConceptName> shortNamesByLocale) |
void |
ConceptFormController.ConceptFormBackingObject.setSynonymsByLocale(java.util.Map<java.util.Locale,java.util.List<ConceptName>> synonymsByLocale) |
Constructor and Description |
---|
ConceptListItem(Concept concept,
ConceptName conceptName,
java.util.Locale locale) |
Copyright © 2020 OpenMRS Inc.. All Rights Reserved.