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 |
Modifier and Type | Method and Description |
---|---|
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 |
Order.setOrderType(OrderType orderType)
Set the
OrderType |
void |
OrderType.setParent(OrderType parent) |
Modifier and Type | Method and Description |
---|---|
OrderType |
OrderContext.getOrderType() |
OrderType |
OrderService.getOrderType(java.lang.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(java.lang.String orderTypeName)
Gets OrderType that matches the specified name
|
OrderType |
OrderService.getOrderTypeByUuid(java.lang.String uuid)
Get OrderType by uuid
|
OrderType |
OrderService.retireOrderType(OrderType orderType,
java.lang.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 |
---|---|
java.util.List<OrderType> |
OrderService.getOrderTypes(boolean includeRetired)
Get all order types, if includeRetired is set to true then retired ones will be included
otherwise not
|
java.util.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 |
---|---|
java.util.List<Order> |
OrderService.getActiveOrders(Patient patient,
OrderType orderType,
CareSetting careSetting,
java.util.Date asOfDate)
Gets all active orders for the specified patient matching the specified CareSetting,
OrderType as of the specified date.
|
java.util.List<Order> |
OrderService.getOrders(Patient patient,
CareSetting careSetting,
OrderType orderType,
boolean includeVoided)
Gets all Orders that match the specified parameters excluding discontinuation orders
|
java.util.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,
java.lang.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(java.lang.Integer orderTypeId) |
OrderType |
OrderDAO.getOrderTypeByConceptClass(ConceptClass conceptClass) |
OrderType |
OrderDAO.getOrderTypeByName(java.lang.String orderTypeName) |
OrderType |
OrderDAO.getOrderTypeByUuid(java.lang.String uuid) |
OrderType |
OrderDAO.saveOrderType(OrderType orderType) |
Modifier and Type | Method and Description |
---|---|
java.util.List<OrderType> |
OrderDAO.getOrderSubtypes(OrderType orderType,
boolean includeRetired) |
java.util.List<OrderType> |
OrderDAO.getOrderTypes(boolean includeRetired) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Order> |
OrderDAO.getOrders(OrderType orderType,
java.util.List<Patient> patients,
java.util.List<Concept> concepts,
java.util.List<User> orderers,
java.util.List<Encounter> encounters)
This searches for orders given the parameters.
|
java.util.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 |
---|---|
java.util.List<Order> |
OrderDAO.getActiveOrders(Patient patient,
java.util.List<OrderType> orderTypes,
CareSetting careSetting,
java.util.Date asOfDate) |
java.util.List<Order> |
OrderDAO.getOrders(Patient patient,
CareSetting careSetting,
java.util.List<OrderType> orderTypes,
boolean includeVoided,
boolean includeDiscontinuationOrders) |
Modifier and Type | Method and Description |
---|---|
OrderType |
HibernateOrderDAO.getOrderType(java.lang.Integer orderTypeId) |
OrderType |
HibernateOrderDAO.getOrderTypeByConceptClass(ConceptClass conceptClass) |
OrderType |
HibernateOrderDAO.getOrderTypeByName(java.lang.String orderTypeName) |
OrderType |
HibernateOrderDAO.getOrderTypeByUuid(java.lang.String uuid) |
OrderType |
HibernateOrderDAO.saveOrderType(OrderType orderType) |
Modifier and Type | Method and Description |
---|---|
java.util.List<OrderType> |
HibernateOrderDAO.getOrderSubtypes(OrderType orderType,
boolean includeRetired) |
java.util.List<OrderType> |
HibernateOrderDAO.getOrderTypes(boolean includeRetired) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Order> |
HibernateOrderDAO.getOrders(OrderType orderType,
java.util.List<Patient> patients,
java.util.List<Concept> concepts,
java.util.List<User> orderers,
java.util.List<Encounter> encounters) |
java.util.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 |
---|---|
java.util.List<Order> |
HibernateOrderDAO.getActiveOrders(Patient patient,
java.util.List<OrderType> orderTypes,
CareSetting careSetting,
java.util.Date asOfDate) |
java.util.List<Order> |
HibernateOrderDAO.getOrders(Patient patient,
CareSetting careSetting,
java.util.List<OrderType> orderTypes,
boolean includeVoided,
boolean includeDiscontinuationOrders) |
Modifier and Type | Method and Description |
---|---|
OrderType |
OrderServiceImpl.getOrderType(java.lang.Integer orderTypeId) |
OrderType |
OrderServiceImpl.getOrderTypeByConcept(Concept concept) |
OrderType |
OrderServiceImpl.getOrderTypeByConceptClass(ConceptClass conceptClass) |
OrderType |
OrderServiceImpl.getOrderTypeByName(java.lang.String orderTypeName) |
OrderType |
OrderServiceImpl.getOrderTypeByUuid(java.lang.String uuid) |
OrderType |
OrderServiceImpl.retireOrderType(OrderType orderType,
java.lang.String reason) |
OrderType |
OrderServiceImpl.saveOrderType(OrderType orderType) |
OrderType |
OrderServiceImpl.unretireOrderType(OrderType orderType) |
Modifier and Type | Method and Description |
---|---|
java.util.List<OrderType> |
OrderServiceImpl.getOrderTypes(boolean includeRetired) |
java.util.List<OrderType> |
OrderServiceImpl.getSubtypes(OrderType orderType,
boolean includeRetired) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Order> |
OrderServiceImpl.getActiveOrders(Patient patient,
OrderType orderType,
CareSetting careSetting,
java.util.Date asOfDate) |
java.util.List<Order> |
OrderServiceImpl.getOrders(Patient patient,
CareSetting careSetting,
OrderType orderType,
boolean includeVoided) |
java.util.List<OrderType> |
OrderServiceImpl.getSubtypes(OrderType orderType,
boolean includeRetired) |
void |
OrderServiceImpl.purgeOrderType(OrderType orderType) |
OrderType |
OrderServiceImpl.retireOrderType(OrderType orderType,
java.lang.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
|
Copyright © 2018 OpenMRS Inc.. All Rights Reserved.