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.propertyeditor | |
org.openmrs.util |
Shared utilities for OpenMRS classes
|
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 |
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).
|
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.getName(Locale locale,
ConceptNameType ofType,
ConceptNameTag havingTag)
Returns concept name depending of locale, type (short, fully specified, etc) and tag.
|
ConceptName |
Concept.getPreferredName(Locale forLocale)
Returns the name which is explicitly marked as preferred for a given locale.
|
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.getShortNameInLocale(Locale locale)
Gets the explicitly specified short name for a locale.
|
ConceptName |
CodedOrFreeText.getSpecificName()
Gets the specific name of the coded concept
|
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.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 |
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.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 |
CodedOrFreeText.setSpecificName(ConceptName specificName)
Sets the specific name
|
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 |
---|
CodedOrFreeText(Concept coded,
ConceptName specificName,
String nonCoded)
Convenience constructor with concept, concept name and manually written concept name to save
|
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
|
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.
|
boolean |
ConceptService.isConceptNameDuplicate(ConceptName name)
Determines if the given concept name is a duplicate.
|
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.
|
boolean |
ConceptDAO.isConceptNameDuplicate(ConceptName name) |
Modifier and Type | Method and Description |
---|---|
Long |
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,
String accessionNumber) |
Long |
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,
List<Visit> visits,
boolean includeVoidedObs,
String accessionNumber) |
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) |
boolean |
HibernateConceptDAO.isConceptNameDuplicate(ConceptName name) |
Modifier and Type | Method and Description |
---|---|
Long |
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,
String accessionNumber) |
Long |
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,
List<Visit> visits,
boolean includeVoidedObs,
String accessionNumber) |
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) |
boolean |
ConceptServiceImpl.isConceptNameDuplicate(ConceptName name) |
Modifier and Type | Method and Description |
---|---|
Integer |
ObsServiceImpl.getObservationCount(List<ConceptName> conceptNames,
boolean includeVoided) |
Modifier and Type | Method and Description |
---|---|
protected ConceptName |
ConceptNameEditor.getObjectById(Integer id) |
protected ConceptName |
ConceptNameEditor.getObjectByUuid(String uuid) |
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
|
Copyright © 2024 OpenMRS Inc.. All rights reserved.