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.impl | |
org.openmrs.util |
Shared utilities for OpenMRS classes
|
Modifier and Type | Method and Description |
---|---|
ConceptMapType |
DrugReferenceMap.getConceptMapType() |
ConceptMapType |
BaseConceptMap.getConceptMapType() |
Modifier and Type | Method and Description |
---|---|
void |
DrugReferenceMap.setConceptMapType(ConceptMapType conceptMapType) |
void |
BaseConceptMap.setConceptMapType(ConceptMapType conceptMapType) |
Constructor and Description |
---|
ConceptMap(ConceptReferenceTerm conceptReferenceTerm,
ConceptMapType conceptMapType)
Convenience constructor that takes the term to be mapped to and the type of the map
|
ConceptReferenceTermMap(ConceptReferenceTerm termB,
ConceptMapType conceptMapType)
Convenience constructor that takes the term to be mapped to and the type of the map
|
DrugReferenceMap(ConceptReferenceTerm term,
ConceptMapType conceptMapType) |
Modifier and Type | Method and Description |
---|---|
ConceptMapType |
ConceptService.getConceptMapType(Integer conceptMapTypeId)
Return a concept map type matching the given concept map type id
|
ConceptMapType |
ConceptService.getConceptMapTypeByName(String name)
Return a concept map type matching the given name
|
ConceptMapType |
ConceptService.getConceptMapTypeByUuid(String uuid)
Return a concept map type matching the given uuid
|
ConceptMapType |
ConceptService.getDefaultConceptMapType()
Gets the concept map type to be used as the default.
|
ConceptMapType |
ConceptService.retireConceptMapType(ConceptMapType conceptMapType,
String retireReason)
Retiring a concept map type essentially removes it from circulation
|
ConceptMapType |
ConceptService.saveConceptMapType(ConceptMapType conceptMapType)
Saves or updates the specified concept map type in the database
|
ConceptMapType |
ConceptService.unretireConceptMapType(ConceptMapType conceptMapType)
Marks a concept map type that is currently retired as not retired.
|
Modifier and Type | Method and Description |
---|---|
List<ConceptMapType> |
ConceptService.getActiveConceptMapTypes()
Returns a list of concept map types currently in the database excluding hidden ones
|
List<ConceptMapType> |
ConceptService.getConceptMapTypes(boolean includeRetired,
boolean includeHidden)
Returns a list of concept map types currently in the database including or excluding retired
and hidden ones as specified by the includeRetired and includeHidden arguments
|
Modifier and Type | Method and Description |
---|---|
void |
ConceptService.purgeConceptMapType(ConceptMapType conceptMapType)
Completely purges a concept map type from the database
|
ConceptMapType |
ConceptService.retireConceptMapType(ConceptMapType conceptMapType,
String retireReason)
Retiring a concept map type essentially removes it from circulation
|
ConceptMapType |
ConceptService.saveConceptMapType(ConceptMapType conceptMapType)
Saves or updates the specified concept map type in the database
|
ConceptMapType |
ConceptService.unretireConceptMapType(ConceptMapType conceptMapType)
Marks a concept map type that is currently retired as not retired.
|
Modifier and Type | Method and Description |
---|---|
Drug |
ConceptService.getDrugByMapping(String code,
ConceptSource conceptSource,
Collection<ConceptMapType> withAnyOfTheseTypesOrOrderOfPreference)
Gets the "best" matching drug, i.e. matching the earliest ConceptMapType passed in e.g.
|
List<Drug> |
ConceptService.getDrugsByMapping(String code,
ConceptSource conceptSource,
Collection<ConceptMapType> withAnyOfTheseTypes,
boolean includeRetired)
Fetches all drugs with reference mappings to the specified concept source that match the
specified code and concept map types
|
Modifier and Type | Method and Description |
---|---|
ConceptMapType |
ConceptDAO.getConceptMapType(Integer conceptMapTypeId) |
ConceptMapType |
ConceptDAO.getConceptMapTypeByName(String name) |
ConceptMapType |
ConceptDAO.getConceptMapTypeByUuid(String uuid) |
ConceptMapType |
ConceptDAO.getDefaultConceptMapType()
It is in the DAO, because it must be done in the MANUAL flush mode to prevent premature
flushes in
ConceptService.saveConcept(Concept) . |
ConceptMapType |
ConceptDAO.saveConceptMapType(ConceptMapType conceptMapType) |
Modifier and Type | Method and Description |
---|---|
List<ConceptMapType> |
ConceptDAO.getConceptMapTypes(boolean includeRetired,
boolean includeHidden) |
Modifier and Type | Method and Description |
---|---|
void |
ConceptDAO.deleteConceptMapType(ConceptMapType conceptMapType) |
boolean |
ConceptDAO.isConceptMapTypeInUse(ConceptMapType mapType)
Checks if there are any
ConceptReferenceTermMap s or ConceptMap s using the
specified mapType |
ConceptMapType |
ConceptDAO.saveConceptMapType(ConceptMapType conceptMapType) |
Modifier and Type | Method and Description |
---|---|
Drug |
ConceptDAO.getDrugByMapping(String code,
ConceptSource conceptSource,
Collection<ConceptMapType> withAnyOfTheseTypesOrOrderOfPreference) |
List<Drug> |
ConceptDAO.getDrugsByMapping(String code,
ConceptSource conceptSource,
Collection<ConceptMapType> withAnyOfTheseTypes,
boolean includeRetired) |
Modifier and Type | Method and Description |
---|---|
ConceptMapType |
HibernateConceptDAO.getConceptMapType(Integer conceptMapTypeId) |
ConceptMapType |
HibernateConceptDAO.getConceptMapTypeByName(String name) |
ConceptMapType |
HibernateConceptDAO.getConceptMapTypeByUuid(String uuid) |
ConceptMapType |
HibernateConceptDAO.getDefaultConceptMapType() |
ConceptMapType |
HibernateConceptDAO.saveConceptMapType(ConceptMapType conceptMapType) |
Modifier and Type | Method and Description |
---|---|
List<ConceptMapType> |
HibernateConceptDAO.getConceptMapTypes(boolean includeRetired,
boolean includeHidden) |
Modifier and Type | Method and Description |
---|---|
void |
HibernateConceptDAO.deleteConceptMapType(ConceptMapType conceptMapType) |
boolean |
HibernateConceptDAO.isConceptMapTypeInUse(ConceptMapType mapType) |
ConceptMapType |
HibernateConceptDAO.saveConceptMapType(ConceptMapType conceptMapType) |
Modifier and Type | Method and Description |
---|---|
Drug |
HibernateConceptDAO.getDrugByMapping(String code,
ConceptSource conceptSource,
Collection<ConceptMapType> withAnyOfTheseTypesOrOrderOfPreference) |
List<Drug> |
HibernateConceptDAO.getDrugsByMapping(String code,
ConceptSource conceptSource,
Collection<ConceptMapType> withAnyOfTheseTypes,
boolean includeRetired) |
Modifier and Type | Method and Description |
---|---|
ConceptMapType |
ConceptServiceImpl.getConceptMapType(Integer conceptMapTypeId) |
ConceptMapType |
ConceptServiceImpl.getConceptMapTypeByName(String name) |
ConceptMapType |
ConceptServiceImpl.getConceptMapTypeByUuid(String uuid) |
ConceptMapType |
ConceptServiceImpl.getDefaultConceptMapType() |
ConceptMapType |
ConceptServiceImpl.retireConceptMapType(ConceptMapType conceptMapType,
String retireReason) |
ConceptMapType |
ConceptServiceImpl.saveConceptMapType(ConceptMapType conceptMapType) |
ConceptMapType |
ConceptServiceImpl.unretireConceptMapType(ConceptMapType conceptMapType) |
Modifier and Type | Method and Description |
---|---|
List<ConceptMapType> |
ConceptServiceImpl.getActiveConceptMapTypes() |
List<ConceptMapType> |
ConceptServiceImpl.getConceptMapTypes(boolean includeRetired,
boolean includeHidden) |
Modifier and Type | Method and Description |
---|---|
void |
ConceptServiceImpl.purgeConceptMapType(ConceptMapType conceptMapType) |
ConceptMapType |
ConceptServiceImpl.retireConceptMapType(ConceptMapType conceptMapType,
String retireReason) |
ConceptMapType |
ConceptServiceImpl.saveConceptMapType(ConceptMapType conceptMapType) |
ConceptMapType |
ConceptServiceImpl.unretireConceptMapType(ConceptMapType conceptMapType) |
Modifier and Type | Method and Description |
---|---|
Drug |
ConceptServiceImpl.getDrugByMapping(String code,
ConceptSource conceptSource,
Collection<ConceptMapType> withAnyOfTheseTypesOrOrderOfPreference) |
List<Drug> |
ConceptServiceImpl.getDrugsByMapping(String code,
ConceptSource conceptSource,
Collection<ConceptMapType> withAnyOfTheseTypes,
boolean includeRetired) |
Modifier and Type | Method and Description |
---|---|
int |
ConceptMapTypeComparator.compare(ConceptMapType conceptMapType,
ConceptMapType conceptMapType2) |
static int |
ConceptMapTypeComparator.getConceptMapTypeSortWeight(ConceptMapType conceptMapType)
This method calculates a weight used to decide the object's order in a collection.
|
Copyright © 2024 OpenMRS Inc.. All rights reserved.