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
|
org.openmrs.web.controller.concept |
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(java.lang.Integer conceptMapTypeId)
Return a concept map type matching the given concept map type id
|
ConceptMapType |
ConceptService.getConceptMapTypeByName(java.lang.String name)
Return a concept map type matching the given name
|
ConceptMapType |
ConceptService.getConceptMapTypeByUuid(java.lang.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,
java.lang.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 |
---|---|
java.util.List<ConceptMapType> |
ConceptService.getActiveConceptMapTypes()
Returns a list of concept map types currently in the database excluding hidden ones
|
java.util.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,
java.lang.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(java.lang.String code,
ConceptSource conceptSource,
java.util.Collection<ConceptMapType> withAnyOfTheseTypesOrOrderOfPreference)
Gets the "best" matching drug, i.e.
|
java.util.List<Drug> |
ConceptService.getDrugsByMapping(java.lang.String code,
ConceptSource conceptSource,
java.util.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(java.lang.Integer conceptMapTypeId) |
ConceptMapType |
ConceptDAO.getConceptMapTypeByName(java.lang.String name) |
ConceptMapType |
ConceptDAO.getConceptMapTypeByUuid(java.lang.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 |
---|---|
java.util.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(java.lang.String code,
ConceptSource conceptSource,
java.util.Collection<ConceptMapType> withAnyOfTheseTypesOrOrderOfPreference) |
java.util.List<Drug> |
ConceptDAO.getDrugsByMapping(java.lang.String code,
ConceptSource conceptSource,
java.util.Collection<ConceptMapType> withAnyOfTheseTypes,
boolean includeRetired) |
Modifier and Type | Method and Description |
---|---|
ConceptMapType |
HibernateConceptDAO.getConceptMapType(java.lang.Integer conceptMapTypeId) |
ConceptMapType |
HibernateConceptDAO.getConceptMapTypeByName(java.lang.String name) |
ConceptMapType |
HibernateConceptDAO.getConceptMapTypeByUuid(java.lang.String uuid) |
ConceptMapType |
HibernateConceptDAO.getDefaultConceptMapType() |
ConceptMapType |
HibernateConceptDAO.saveConceptMapType(ConceptMapType conceptMapType) |
Modifier and Type | Method and Description |
---|---|
java.util.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(java.lang.String code,
ConceptSource conceptSource,
java.util.Collection<ConceptMapType> withAnyOfTheseTypesOrOrderOfPreference) |
java.util.List<Drug> |
HibernateConceptDAO.getDrugsByMapping(java.lang.String code,
ConceptSource conceptSource,
java.util.Collection<ConceptMapType> withAnyOfTheseTypes,
boolean includeRetired) |
Modifier and Type | Method and Description |
---|---|
ConceptMapType |
ConceptServiceImpl.getConceptMapType(java.lang.Integer conceptMapTypeId) |
ConceptMapType |
ConceptServiceImpl.getConceptMapTypeByName(java.lang.String name) |
ConceptMapType |
ConceptServiceImpl.getConceptMapTypeByUuid(java.lang.String uuid) |
ConceptMapType |
ConceptServiceImpl.getDefaultConceptMapType() |
ConceptMapType |
ConceptServiceImpl.retireConceptMapType(ConceptMapType conceptMapType,
java.lang.String retireReason) |
ConceptMapType |
ConceptServiceImpl.saveConceptMapType(ConceptMapType conceptMapType) |
ConceptMapType |
ConceptServiceImpl.unretireConceptMapType(ConceptMapType conceptMapType) |
Modifier and Type | Method and Description |
---|---|
java.util.List<ConceptMapType> |
ConceptServiceImpl.getActiveConceptMapTypes() |
java.util.List<ConceptMapType> |
ConceptServiceImpl.getConceptMapTypes(boolean includeRetired,
boolean includeHidden) |
Modifier and Type | Method and Description |
---|---|
void |
ConceptServiceImpl.purgeConceptMapType(ConceptMapType conceptMapType) |
ConceptMapType |
ConceptServiceImpl.retireConceptMapType(ConceptMapType conceptMapType,
java.lang.String retireReason) |
ConceptMapType |
ConceptServiceImpl.saveConceptMapType(ConceptMapType conceptMapType) |
ConceptMapType |
ConceptServiceImpl.unretireConceptMapType(ConceptMapType conceptMapType) |
Modifier and Type | Method and Description |
---|---|
Drug |
ConceptServiceImpl.getDrugByMapping(java.lang.String code,
ConceptSource conceptSource,
java.util.Collection<ConceptMapType> withAnyOfTheseTypesOrOrderOfPreference) |
java.util.List<Drug> |
ConceptServiceImpl.getDrugsByMapping(java.lang.String code,
ConceptSource conceptSource,
java.util.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.
|
Modifier and Type | Method and Description |
---|---|
ConceptMapType |
ConceptMapTypeFormController.getConceptMapType(java.lang.Integer conceptMapTypeId) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
ConceptMapTypeFormController.purgeTerm(org.springframework.web.context.request.WebRequest request,
ConceptMapType conceptMapType)
Processes requests to purge a concept map type
|
java.lang.String |
ConceptMapTypeFormController.retireConceptMapType(org.springframework.web.context.request.WebRequest request,
ConceptMapType conceptMapType,
java.lang.String retireReason)
Processes requests to retire a concept map type
|
java.lang.String |
ConceptMapTypeFormController.saveConceptMapType(org.springframework.web.context.request.WebRequest request,
ConceptMapType conceptMapType,
org.springframework.validation.BindingResult result)
Processes requests to save/update a concept map type
|
java.lang.String |
ConceptMapTypeFormController.unretireConceptMapType(org.springframework.web.context.request.WebRequest request,
ConceptMapType conceptMapType)
Processes requests to unretire a concept map type
|
Copyright © 2018 OpenMRS Inc.. All Rights Reserved.