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.order | |
org.openmrs.parameter |
Modifier and Type | Method and Description |
---|---|
OrderType |
OrderSetMember.getOrderType()
Gets the orderType
|
OrderType |
Order.getOrderType()
Get the
OrderType |
OrderType |
OrderType.getParent() |
Modifier and Type | Method and Description |
---|---|
boolean |
Order.isType(OrderType orderType)
Checks whether this order's orderType matches or is a sub type of the specified one
|
void |
OrderSetMember.setOrderType(OrderType orderType)
Sets the orderType
|
void |
Order.setOrderType(OrderType orderType)
Set the
OrderType |
void |
OrderType.setParent(OrderType parent) |
Modifier and Type | Method and Description |
---|---|
OrderType |
OrderContext.getOrderType() |
OrderType |
OrderService.getOrderType(Integer orderTypeId)
Get OrderType by orderTypeId
|
OrderType |
OrderService.getOrderTypeByConcept(Concept concept)
Gets the order type mapped to a given concept
|
OrderType |
OrderService.getOrderTypeByConceptClass(ConceptClass conceptClass)
Gets the order type mapped to a given concept class
|
OrderType |
OrderService.getOrderTypeByName(String orderTypeName)
Gets OrderType that matches the specified name
|
OrderType |
OrderService.getOrderTypeByUuid(String uuid)
Get OrderType by uuid
|
OrderType |
OrderService.retireOrderType(OrderType orderType,
String reason)
Retires the given order type in the database
|
OrderType |
OrderService.saveOrderType(OrderType orderType)
Creates or updates the given order type in the database
|
OrderType |
OrderService.unretireOrderType(OrderType orderType)
Restores an order type that was previously retired in the database
|
Modifier and Type | Method and Description |
---|---|
List<OrderType> |
OrderService.getOrderTypes(boolean includeRetired)
Get all order types, if includeRetired is set to true then retired ones will be included
otherwise not
|
List<OrderType> |
OrderService.getSubtypes(OrderType orderType,
boolean includeRetired)
Returns all descendants of a given order type for example Given TEST will get back LAB TEST
and RADIOLOGY TEST; and Given LAB TEST, will might get back SEROLOGY, MICROBIOLOGY, and
CHEMISTRY
|
Modifier and Type | Method and Description |
---|---|
List<Order> |
OrderService.getActiveOrders(Patient patient,
OrderType orderType,
CareSetting careSetting,
Date asOfDate)
Gets all active orders for the specified patient matching the specified CareSetting,
OrderType as of the specified date.
|
List<Order> |
OrderService.getActiveOrders(Patient patient,
Visit visit,
OrderType orderType,
CareSetting careSetting,
Date asOfDate) |
List<Order> |
OrderService.getOrders(Patient patient,
CareSetting careSetting,
OrderType orderType,
boolean includeVoided)
Gets all Orders that match the specified parameters excluding discontinuation orders
|
List<Order> |
OrderService.getOrders(Patient patient,
Visit visit,
CareSetting careSetting,
OrderType orderType,
boolean includeVoided) |
List<OrderType> |
OrderService.getSubtypes(OrderType orderType,
boolean includeRetired)
Returns all descendants of a given order type for example Given TEST will get back LAB TEST
and RADIOLOGY TEST; and Given LAB TEST, will might get back SEROLOGY, MICROBIOLOGY, and
CHEMISTRY
|
void |
OrderService.purgeOrderType(OrderType orderType)
Completely removes an order type from the database
|
OrderType |
OrderService.retireOrderType(OrderType orderType,
String reason)
Retires the given order type in the database
|
OrderType |
OrderService.saveOrderType(OrderType orderType)
Creates or updates the given order type in the database
|
void |
OrderContext.setOrderType(OrderType orderType) |
OrderType |
OrderService.unretireOrderType(OrderType orderType)
Restores an order type that was previously retired in the database
|
Modifier and Type | Method and Description |
---|---|
OrderType |
OrderDAO.getOrderType(Integer orderTypeId) |
OrderType |
OrderDAO.getOrderTypeByConceptClass(ConceptClass conceptClass) |
OrderType |
OrderDAO.getOrderTypeByName(String orderTypeName) |
OrderType |
OrderDAO.getOrderTypeByUuid(String uuid) |
OrderType |
OrderDAO.saveOrderType(OrderType orderType) |
Modifier and Type | Method and Description |
---|---|
List<OrderType> |
OrderDAO.getOrderSubtypes(OrderType orderType,
boolean includeRetired) |
List<OrderType> |
OrderDAO.getOrderTypes(boolean includeRetired) |
Modifier and Type | Method and Description |
---|---|
List<Order> |
OrderDAO.getOrders(OrderType orderType,
List<Patient> patients,
List<Concept> concepts,
List<User> orderers,
List<Encounter> encounters)
This searches for orders given the parameters.
|
List<OrderType> |
OrderDAO.getOrderSubtypes(OrderType orderType,
boolean includeRetired) |
boolean |
OrderDAO.isOrderTypeInUse(OrderType orderType)
Check whether give order type is used by any order
|
void |
OrderDAO.purgeOrderType(OrderType orderType) |
OrderType |
OrderDAO.saveOrderType(OrderType orderType) |
Modifier and Type | Method and Description |
---|---|
List<Order> |
OrderDAO.getActiveOrders(Patient patient,
List<OrderType> orderTypes,
CareSetting careSetting,
Date asOfDate) |
List<Order> |
OrderDAO.getActiveOrders(Patient patient,
Visit visit,
List<OrderType> orderTypes,
CareSetting careSetting,
Date asOfDate) |
List<Order> |
OrderDAO.getOrders(Patient patient,
CareSetting careSetting,
List<OrderType> orderTypes,
boolean includeVoided,
boolean includeDiscontinuationOrders) |
List<Order> |
OrderDAO.getOrders(Patient patient,
Visit visit,
CareSetting careSetting,
List<OrderType> orderTypes,
boolean includeVoided,
boolean includeDiscontinuationOrders) |
Modifier and Type | Method and Description |
---|---|
OrderType |
HibernateOrderDAO.getOrderType(Integer orderTypeId) |
OrderType |
HibernateOrderDAO.getOrderTypeByConceptClass(ConceptClass conceptClass) |
OrderType |
HibernateOrderDAO.getOrderTypeByName(String orderTypeName) |
OrderType |
HibernateOrderDAO.getOrderTypeByUuid(String uuid) |
OrderType |
HibernateOrderDAO.saveOrderType(OrderType orderType) |
Modifier and Type | Method and Description |
---|---|
List<OrderType> |
HibernateOrderDAO.getOrderSubtypes(OrderType orderType,
boolean includeRetired) |
List<OrderType> |
HibernateOrderDAO.getOrderTypes(boolean includeRetired) |
Modifier and Type | Method and Description |
---|---|
List<Order> |
HibernateOrderDAO.getOrders(OrderType orderType,
List<Patient> patients,
List<Concept> concepts,
List<User> orderers,
List<Encounter> encounters) |
List<OrderType> |
HibernateOrderDAO.getOrderSubtypes(OrderType orderType,
boolean includeRetired) |
boolean |
HibernateOrderDAO.isOrderTypeInUse(OrderType orderType) |
void |
HibernateOrderDAO.purgeOrderType(OrderType orderType) |
OrderType |
HibernateOrderDAO.saveOrderType(OrderType orderType) |
Modifier and Type | Method and Description |
---|---|
List<Order> |
HibernateOrderDAO.getActiveOrders(Patient patient,
List<OrderType> orderTypes,
CareSetting careSetting,
Date asOfDate) |
List<Order> |
HibernateOrderDAO.getActiveOrders(Patient patient,
Visit visit,
List<OrderType> orderTypes,
CareSetting careSetting,
Date asOfDate) |
List<Order> |
HibernateOrderDAO.getOrders(Patient patient,
CareSetting careSetting,
List<OrderType> orderTypes,
boolean includeVoided,
boolean includeDiscontinuationOrders) |
List<Order> |
HibernateOrderDAO.getOrders(Patient patient,
Visit visit,
CareSetting careSetting,
List<OrderType> orderTypes,
boolean includeVoided,
boolean includeDiscontinuationOrders) |
Modifier and Type | Method and Description |
---|---|
OrderType |
OrderServiceImpl.getOrderType(Integer orderTypeId) |
OrderType |
OrderServiceImpl.getOrderTypeByConcept(Concept concept) |
OrderType |
OrderServiceImpl.getOrderTypeByConceptClass(ConceptClass conceptClass) |
OrderType |
OrderServiceImpl.getOrderTypeByName(String orderTypeName) |
OrderType |
OrderServiceImpl.getOrderTypeByUuid(String uuid) |
OrderType |
OrderServiceImpl.retireOrderType(OrderType orderType,
String reason) |
OrderType |
OrderServiceImpl.saveOrderType(OrderType orderType) |
OrderType |
OrderServiceImpl.unretireOrderType(OrderType orderType) |
Modifier and Type | Method and Description |
---|---|
List<OrderType> |
OrderServiceImpl.getOrderTypes(boolean includeRetired) |
List<OrderType> |
OrderServiceImpl.getSubtypes(OrderType orderType,
boolean includeRetired) |
Modifier and Type | Method and Description |
---|---|
List<Order> |
OrderServiceImpl.getActiveOrders(Patient patient,
OrderType orderType,
CareSetting careSetting,
Date asOfDate) |
List<Order> |
OrderServiceImpl.getActiveOrders(Patient patient,
Visit visit,
OrderType orderType,
CareSetting careSetting,
Date asOfDate) |
List<Order> |
OrderServiceImpl.getOrders(Patient patient,
CareSetting careSetting,
OrderType orderType,
boolean includeVoided) |
List<Order> |
OrderServiceImpl.getOrders(Patient patient,
Visit visit,
CareSetting careSetting,
OrderType orderType,
boolean includeVoided) |
List<OrderType> |
OrderServiceImpl.getSubtypes(OrderType orderType,
boolean includeRetired) |
void |
OrderServiceImpl.purgeOrderType(OrderType orderType) |
OrderType |
OrderServiceImpl.retireOrderType(OrderType orderType,
String reason) |
OrderType |
OrderServiceImpl.saveOrderType(OrderType orderType) |
OrderType |
OrderServiceImpl.unretireOrderType(OrderType orderType) |
Modifier and Type | Method and Description |
---|---|
static boolean |
OrderUtil.isType(OrderType orderType1,
OrderType orderType2)
Checks whether orderType2 matches or is a sub type of orderType1
|
Modifier and Type | Method and Description |
---|---|
Collection<OrderType> |
OrderSearchCriteria.getOrderTypes() |
Modifier and Type | Method and Description |
---|---|
OrderSearchCriteriaBuilder |
OrderSearchCriteriaBuilder.setOrderTypes(Collection<OrderType> orderTypes) |
Constructor and Description |
---|
OrderSearchCriteria(Patient patient,
CareSetting careSetting,
Collection<Concept> concepts,
Collection<OrderType> orderTypes,
Date activatedOnOrBeforeDate,
Date activatedOnOrAfterDate,
boolean isStopped,
Date autoExpireOnOrBeforeDate,
Date canceledOrExpiredOnOrBeforeDate,
Order.Action action,
Order.FulfillerStatus fulfillerStatus,
Boolean includeNullFulfillerStatus,
boolean excludeCanceledAndExpired,
boolean excludeDiscontinueOrders,
boolean includeVoided)
Deprecated.
|
OrderSearchCriteria(Patient patient,
CareSetting careSetting,
Collection<Concept> concepts,
Collection<OrderType> orderTypes,
String accessionNumber,
String orderNumber,
Date activatedOnOrBeforeDate,
Date activatedOnOrAfterDate,
boolean isStopped,
Date autoExpireOnOrBeforeDate,
Date canceledOrExpiredOnOrBeforeDate,
Order.Action action,
Order.FulfillerStatus fulfillerStatus,
Boolean includeNullFulfillerStatus,
boolean excludeCanceledAndExpired,
boolean excludeDiscontinueOrders,
boolean includeVoided)
Instead of calling this constructor directly, it is recommended to use
OrderSearchCriteriaBuilder . |
OrderSearchCriteria(Patient patient,
CareSetting careSetting,
Collection<Concept> concepts,
Collection<OrderType> orderTypes,
String accessionNumber,
String orderNumber,
Date activatedOnOrBeforeDate,
Date activatedOnOrAfterDate,
boolean isStopped,
Date autoExpireOnOrBeforeDate,
Date canceledOrExpiredOnOrBeforeDate,
Order.Action action,
Order.FulfillerStatus fulfillerStatus,
Boolean includeNullFulfillerStatus,
boolean excludeCanceledAndExpired,
boolean excludeDiscontinueOrders,
boolean includeVoided,
Visit visit) |
Copyright © 2024 OpenMRS Inc.. All rights reserved.