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.reporting |
Deprecated
|
org.openmrs.util |
Shared utilities for OpenMRS classes
|
org.openmrs.web.controller | |
org.openmrs.web.dwr |
Modifier and Type | Field and Description |
---|---|
protected Drug |
Obs.valueDrug |
Modifier and Type | Method and Description |
---|---|
Drug |
ConceptAnswer.getAnswerDrug() |
Drug |
DrugReferenceMap.getDrug() |
Drug |
DrugOrder.getDrug()
Gets the drug
|
Drug |
Obs.getValueDrug() |
Modifier and Type | Method and Description |
---|---|
void |
ConceptAnswer.setAnswerDrug(Drug answerDrug) |
void |
DrugReferenceMap.setDrug(Drug drug) |
void |
DrugOrder.setDrug(Drug drug)
Sets the drug
|
void |
Obs.setValueDrug(Drug valueDrug) |
Constructor and Description |
---|
ConceptAnswer(Concept answerConcept,
Drug d) |
Modifier and Type | Method and Description |
---|---|
Drug |
ConceptService.getDrug(java.lang.Integer drugId)
Get the Drug with the given id
|
Drug |
ConceptService.getDrug(java.lang.String drugNameOrId)
Return the drug object corresponding to the given name or drugId
|
Drug |
ConceptService.getDrugByMapping(java.lang.String code,
ConceptSource conceptSource,
java.util.Collection<ConceptMapType> withAnyOfTheseTypesOrOrderOfPreference)
Gets the "best" matching drug, i.e.
|
Drug |
ConceptService.getDrugByNameOrId(java.lang.String drugId)
Return the drug object corresponding to the given name or drugId
|
Drug |
ConceptService.getDrugByUuid(java.lang.String uuid)
Get Drug by its UUID
|
Drug |
ConceptService.retireDrug(Drug drug,
java.lang.String reason)
Retiring a Drug essentially removes it from circulation
|
Drug |
ConceptService.saveDrug(Drug drug)
Save or update the given
Drug in the database. |
Drug |
ConceptService.unretireDrug(Drug drug)
Marks a drug that is currently retired as not retired.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Drug> |
ConceptService.findDrugs(java.lang.String phrase,
boolean includeVoided)
Deprecated.
|
java.util.List<Drug> |
ConceptService.getAllDrugs()
Return a list of drugs currently in the database that are not retired
|
java.util.List<Drug> |
ConceptService.getAllDrugs(boolean includeRetired)
Get drugs by concept.
|
java.util.List<Drug> |
ConceptService.getDrugs()
Deprecated.
|
java.util.List<Drug> |
ConceptService.getDrugs(Concept concept)
Deprecated.
|
java.util.List<Drug> |
ConceptService.getDrugs(java.lang.String phrase)
Find drugs in the system.
|
java.util.List<Drug> |
ConceptService.getDrugs(java.lang.String drugName,
Concept concept,
boolean searchOnPhrase,
boolean searchDrugConceptNames,
boolean includeRetired,
java.lang.Integer start,
java.lang.Integer length)
Returns a list of drugs with matching names or concept drug names and returns a specific
number of them from the specified starting position.
|
java.util.List<Drug> |
ConceptService.getDrugs(java.lang.String searchPhrase,
java.util.Locale locale,
boolean exactLocale,
boolean includeRetired)
Fetches un retired drugs that match the specified search phrase.
|
java.util.List<Drug> |
ConceptService.getDrugsByConcept(Concept concept)
Return a list of drugs associated with the given concept
|
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 |
---|---|
void |
ConceptService.createDrug(Drug drug)
Deprecated.
use #saveDrug(Drug)
|
void |
ConceptService.purgeDrug(Drug drug)
Completely purge a Drug from the database.
|
Drug |
ConceptService.retireDrug(Drug drug,
java.lang.String reason)
Retiring a Drug essentially removes it from circulation
|
Drug |
ConceptService.saveDrug(Drug drug)
Save or update the given
Drug in the database. |
Drug |
ConceptService.unretireDrug(Drug drug)
Marks a drug that is currently retired as not retired.
|
void |
ConceptService.updateDrug(Drug drug)
Deprecated.
use #saveDrug(Drug)
|
Modifier and Type | Method and Description |
---|---|
Cohort |
PatientSetService.getPatientsHavingDrugOrder(java.util.List<Drug> drug,
java.util.List<Concept> drugConcept,
java.util.Date startDateFrom,
java.util.Date startDateTo,
java.util.Date stopDateFrom,
java.util.Date stopDateTo,
java.lang.Boolean discontinued,
java.util.List<Concept> discontinuedReason) |
Modifier and Type | Method and Description |
---|---|
Drug |
ConceptDAO.getDrug(java.lang.Integer drugId) |
Drug |
ConceptDAO.getDrugByMapping(java.lang.String code,
ConceptSource conceptSource,
java.util.Collection<ConceptMapType> withAnyOfTheseTypesOrOrderOfPreference) |
Drug |
ConceptDAO.getDrugByUuid(java.lang.String uuid)
Auto generated method comment
|
Drug |
ConceptDAO.saveDrug(Drug drug) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Drug> |
ConceptDAO.getDrugs(java.lang.String phrase) |
java.util.List<Drug> |
ConceptDAO.getDrugs(java.lang.String drugName,
Concept concept,
boolean includeRetired)
DAO for retrieving a list of drugs based on the following criteria
|
java.util.List<Drug> |
ConceptDAO.getDrugs(java.lang.String drugName,
Concept concept,
boolean searchOnPhrase,
boolean searchDrugConceptNames,
boolean includeRetired,
java.lang.Integer start,
java.lang.Integer length) |
java.util.List<Drug> |
ConceptDAO.getDrugs(java.lang.String searchPhrase,
java.util.Locale locale,
boolean exactLocale,
boolean includeRetired) |
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 |
---|---|
void |
ConceptDAO.purgeDrug(Drug drug) |
Drug |
ConceptDAO.saveDrug(Drug drug) |
Modifier and Type | Method and Description |
---|---|
Cohort |
PatientSetDAO.getPatientsHavingDrugOrder(java.util.List<Drug> drugList,
java.util.List<Concept> drugConceptList,
java.util.Date startDateFrom,
java.util.Date startDateTo,
java.util.Date stopDateFrom,
java.util.Date stopDateTo,
java.lang.Boolean discontinued,
java.util.List<Concept> discontinuedReason) |
Modifier and Type | Method and Description |
---|---|
Drug |
HibernateConceptDAO.getDrug(java.lang.Integer drugId) |
Drug |
HibernateConceptDAO.getDrugByMapping(java.lang.String code,
ConceptSource conceptSource,
java.util.Collection<ConceptMapType> withAnyOfTheseTypesOrOrderOfPreference) |
Drug |
HibernateConceptDAO.getDrugByUuid(java.lang.String uuid) |
Drug |
HibernateConceptDAO.saveDrug(Drug drug) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Drug> |
HibernateConceptDAO.getDrugs(java.lang.String phrase) |
java.util.List<Drug> |
HibernateConceptDAO.getDrugs(java.lang.String drugName,
Concept concept,
boolean includeRetired) |
java.util.List<Drug> |
HibernateConceptDAO.getDrugs(java.lang.String drugName,
Concept concept,
boolean searchOnPhrase,
boolean searchDrugConceptNames,
boolean includeRetired,
java.lang.Integer start,
java.lang.Integer length) |
java.util.List<Drug> |
HibernateConceptDAO.getDrugs(java.lang.String searchPhrase,
java.util.Locale locale,
boolean exactLocale,
boolean includeRetired) |
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 |
---|---|
void |
HibernateConceptDAO.purgeDrug(Drug drug) |
Drug |
HibernateConceptDAO.saveDrug(Drug drug) |
Modifier and Type | Method and Description |
---|---|
Cohort |
HibernatePatientSetDAO.getPatientsHavingDrugOrder(java.util.List<Drug> drugList,
java.util.List<Concept> drugConceptList,
java.util.Date startDateFrom,
java.util.Date startDateTo,
java.util.Date stopDateFrom,
java.util.Date stopDateTo,
java.lang.Boolean discontinued,
java.util.List<Concept> orderReason) |
Modifier and Type | Method and Description |
---|---|
Drug |
ConceptServiceImpl.getDrug(java.lang.Integer drugId) |
Drug |
ConceptServiceImpl.getDrug(java.lang.String drugNameOrId) |
Drug |
ConceptServiceImpl.getDrugByMapping(java.lang.String code,
ConceptSource conceptSource,
java.util.Collection<ConceptMapType> withAnyOfTheseTypesOrOrderOfPreference) |
Drug |
ConceptServiceImpl.getDrugByNameOrId(java.lang.String drugNameOrId)
Deprecated.
|
Drug |
ConceptServiceImpl.getDrugByUuid(java.lang.String uuid) |
Drug |
ConceptServiceImpl.retireDrug(Drug drug,
java.lang.String reason) |
Drug |
ConceptServiceImpl.saveDrug(Drug drug) |
Drug |
ConceptServiceImpl.unretireDrug(Drug drug) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Drug> |
ConceptServiceImpl.findDrugs(java.lang.String phrase,
boolean includeRetired)
Deprecated.
|
java.util.List<Drug> |
ConceptServiceImpl.getAllDrugs() |
java.util.List<Drug> |
ConceptServiceImpl.getAllDrugs(boolean includeRetired) |
java.util.List<Drug> |
ConceptServiceImpl.getDrugs()
Deprecated.
|
java.util.List<Drug> |
ConceptServiceImpl.getDrugs(boolean includeVoided)
Deprecated.
|
java.util.List<Drug> |
ConceptServiceImpl.getDrugs(Concept concept)
Deprecated.
|
java.util.List<Drug> |
ConceptServiceImpl.getDrugs(Concept concept,
boolean includeRetired)
Deprecated.
|
java.util.List<Drug> |
ConceptServiceImpl.getDrugs(java.lang.String phrase) |
java.util.List<Drug> |
ConceptServiceImpl.getDrugs(java.lang.String drugName,
Concept concept,
boolean searchOnPhrase,
boolean searchDrugConceptNames,
boolean includeRetired,
java.lang.Integer start,
java.lang.Integer length) |
java.util.List<Drug> |
ConceptServiceImpl.getDrugs(java.lang.String searchPhrase,
java.util.Locale locale,
boolean exactLocale,
boolean includeRetired) |
java.util.List<Drug> |
ConceptServiceImpl.getDrugsByConcept(Concept concept) |
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 |
---|---|
void |
ConceptServiceImpl.createDrug(Drug drug)
Deprecated.
use #saveDrug(Drug)
|
void |
ConceptServiceImpl.purgeDrug(Drug drug) |
Drug |
ConceptServiceImpl.retireDrug(Drug drug,
java.lang.String reason) |
Drug |
ConceptServiceImpl.saveDrug(Drug drug) |
Drug |
ConceptServiceImpl.unretireDrug(Drug drug) |
void |
ConceptServiceImpl.updateDrug(Drug drug)
Deprecated.
Use #saveDrug(Drug)
|
Modifier and Type | Method and Description |
---|---|
Cohort |
PatientSetServiceImpl.getPatientsHavingDrugOrder(java.util.List<Drug> drug,
java.util.List<Concept> drugConcept,
java.util.Date startDateFrom,
java.util.Date startDateTo,
java.util.Date stopDateFrom,
java.util.Date stopDateTo,
java.lang.Boolean discontinued,
java.util.List<Concept> discontinuedReason) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Drug> |
DrugOrderStopFilter.getDrugList()
Deprecated.
|
java.util.List<Drug> |
DrugOrderFilter.getDrugList()
Deprecated.
|
java.util.List<Drug> |
DrugOrderFilter.getDrugListToUse()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
DrugOrderStopFilter.setDrugList(java.util.List<Drug> drugList)
Deprecated.
|
void |
DrugOrderFilter.setDrugList(java.util.List<Drug> drugList)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
int |
DrugsByNameComparator.compare(Drug d1,
Drug d2) |
static java.lang.String |
FormUtil.drugToString(Drug drug)
Turn the given drug into a string acceptable for hl7 and forms
|
Modifier and Type | Field and Description |
---|---|
java.util.List<Drug> |
ConceptFormController.ConceptFormBackingObject.conceptDrugList
The list of drugs for its concept object
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Drug> |
ConceptFormController.ConceptFormBackingObject.getConceptDrugList() |
Modifier and Type | Method and Description |
---|---|
void |
ConceptFormController.ConceptFormBackingObject.setConceptDrugList(java.util.List<Drug> conceptDrugList)
Sets the list of drugs for its concept object
|
Constructor and Description |
---|
ConceptDrugListItem(Drug drug,
java.util.Locale locale) |
Copyright © 2018 OpenMRS Inc.. All Rights Reserved.