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.handler | |
org.openmrs.api.impl | |
org.openmrs.web.controller.order |
Modifier and Type | Class and Description |
---|---|
class |
DrugOrder
DrugOrder
|
Modifier and Type | Field and Description |
---|---|
protected Order |
Obs.order |
Modifier and Type | Method and Description |
---|---|
Order |
Order.copy()
Performs a shallow copy of this Order.
|
protected Order |
Order.copyHelper(Order target)
The purpose of this method is to allow subclasses of Order to delegate a portion of their
copy() method back to the superclass, in case the base class implementation changes.
|
Order |
Obs.getOrder() |
Modifier and Type | Method and Description |
---|---|
Set<Order> |
Encounter.getOrders() |
Modifier and Type | Method and Description |
---|---|
void |
Encounter.addOrder(Order order)
Add the given Order to the list of orders for this Encounter
|
protected Order |
Order.copyHelper(Order target)
The purpose of this method is to allow subclasses of Order to delegate a portion of their
copy() method back to the superclass, in case the base class implementation changes.
|
void |
Encounter.removeOrder(Order order)
Remove the given observation from the list of orders for this Encounter
|
void |
Obs.setOrder(Order order) |
Modifier and Type | Method and Description |
---|---|
void |
Encounter.setOrders(Set<Order> orders) |
Modifier and Type | Method and Description |
---|---|
<Ord extends Order> |
OrderService.getOrder(Integer orderId,
Class<Ord> orderClassType)
Gets the order with the associated order id
|
<Ord extends Order> |
OrderService.getOrders(Class<Ord> orderClassType,
List<Patient> patients,
List<Concept> concepts,
OrderService.ORDER_STATUS status,
List<User> orderers,
List<Encounter> encounters,
List<OrderType> orderTypes)
This searches for orders given the parameters.
|
Modifier and Type | Method and Description |
---|---|
Order |
OrderService.discontinueOrder(Order order,
Concept discontinueReason,
Date discontinueDate)
Mark the given order as discontinued.
|
Order |
OrderService.getOrder(Integer orderId)
Get order by internal primary key identifier
|
Order |
OrderService.getOrderByUuid(String uuid)
Get Order by its UUID
|
Order |
OrderService.saveOrder(Order order)
Save or update the given
order in the database |
Order |
OrderService.undiscontinueOrder(Order order)
Un-discontinue order record.
|
Order |
OrderService.unvoidOrder(Order order)
Unvoid order record.
|
Order |
OrderService.voidOrder(Order order,
String voidReason)
Mark an order as voided.
|
Modifier and Type | Method and Description |
---|---|
List<Order> |
OrderService.getOrders()
Deprecated.
this method would return a very large list for most systems and doesn't make
sense to be used. If _all_ Orders are really what is wanted, use
OrderService.getOrders(Class, List, List, org.openmrs.api.OrderService.ORDER_STATUS, List, List, List)
with empty parameters |
List<Order> |
OrderService.getOrdersByEncounter(Encounter encounter)
Gets all orders contained in an encounter
|
List<Order> |
OrderService.getOrdersByPatient(Patient patient)
Get all orders by Patient
|
List<Order> |
OrderService.getOrdersByUser(User user)
Get all orders by the User that is marked as their orderer
|
Modifier and Type | Method and Description |
---|---|
void |
OrderService.createOrder(Order order)
Deprecated.
use #saveOrder(Order)
|
void |
OrderService.deleteOrder(Order order)
Deprecated.
use #purgeOrder(Order)
|
Order |
OrderService.discontinueOrder(Order order,
Concept discontinueReason,
Date discontinueDate)
Mark the given order as discontinued.
|
void |
OrderService.purgeOrder(Order order)
Completely delete an order from the database.
|
Order |
OrderService.saveOrder(Order order)
Save or update the given
order in the database |
Order |
OrderService.undiscontinueOrder(Order order)
Un-discontinue order record.
|
Order |
OrderService.unvoidOrder(Order order)
Unvoid order record.
|
void |
OrderService.updateOrder(Order order)
Deprecated.
use #saveOrder(Order)
|
Order |
OrderService.voidOrder(Order order,
String voidReason)
Mark an order as voided.
|
Modifier and Type | Method and Description |
---|---|
void |
OrderService.createOrdersAndEncounter(Patient p,
Collection<Order> orders)
Creates a collection of orders and an encounter to hold them.
|
Modifier and Type | Method and Description |
---|---|
<Ord extends Order> |
OrderDAO.getOrder(Integer orderId,
Class<Ord> classType) |
<Ord extends Order> |
OrderDAO.getOrders(Class<Ord> orderClassType,
List<Patient> patients,
List<Concept> concepts,
OrderService.ORDER_STATUS status,
List<User> orderers,
List<Encounter> encounters,
List<OrderType> orderTypes) |
Modifier and Type | Method and Description |
---|---|
Order |
OrderDAO.getOrderByUuid(String uuid)
Auto generated method comment
|
Order |
OrderDAO.saveOrder(Order order) |
Modifier and Type | Method and Description |
---|---|
void |
OrderDAO.deleteOrder(Order order) |
Order |
OrderDAO.saveOrder(Order order) |
Modifier and Type | Method and Description |
---|---|
<Ord extends Order> |
HibernateOrderDAO.getOrder(Integer orderId,
Class<Ord> orderClassType) |
<Ord extends Order> |
HibernateOrderDAO.getOrders(Class<Ord> orderClassType,
List<Patient> patients,
List<Concept> concepts,
OrderService.ORDER_STATUS status,
List<User> orderers,
List<Encounter> encounters,
List<OrderType> orderTypes) |
Modifier and Type | Method and Description |
---|---|
Order |
HibernateOrderDAO.getOrderByUuid(String uuid) |
Order |
HibernateOrderDAO.saveOrder(Order order) |
Modifier and Type | Method and Description |
---|---|
void |
HibernateOrderDAO.deleteOrder(Order order) |
Order |
HibernateOrderDAO.saveOrder(Order order) |
Modifier and Type | Method and Description |
---|---|
void |
OrderSaveHandler.handle(Order order,
User creator,
Date dateCreated,
String other) |
Modifier and Type | Method and Description |
---|---|
<o extends Order> |
OrderServiceImpl.getOrder(Integer orderId,
Class<o> orderClassType) |
<Ord extends Order> |
OrderServiceImpl.getOrders(Class<Ord> orderClassType,
List<Patient> patients,
List<Concept> concepts,
OrderService.ORDER_STATUS status,
List<User> orderers,
List<Encounter> encounters,
List<OrderType> orderTypes) |
Modifier and Type | Method and Description |
---|---|
Order |
OrderServiceImpl.discontinueOrder(Order order,
Concept discontinueReason,
Date discontinueDate) |
Order |
OrderServiceImpl.getOrder(Integer orderId) |
Order |
OrderServiceImpl.getOrderByUuid(String uuid) |
Order |
OrderServiceImpl.saveOrder(Order order) |
Order |
OrderServiceImpl.undiscontinueOrder(Order order) |
Order |
OrderServiceImpl.unvoidOrder(Order order) |
Order |
OrderServiceImpl.voidOrder(Order order,
String voidReason) |
Modifier and Type | Method and Description |
---|---|
List<Order> |
OrderServiceImpl.getOrders()
Deprecated.
This is a dumb method
|
List<Order> |
OrderServiceImpl.getOrdersByEncounter(Encounter encounter) |
List<Order> |
OrderServiceImpl.getOrdersByPatient(Patient patient) |
List<Order> |
OrderServiceImpl.getOrdersByUser(User user) |
Modifier and Type | Method and Description |
---|---|
void |
OrderServiceImpl.createOrder(Order order)
Deprecated.
|
void |
OrderServiceImpl.deleteOrder(Order order)
Deprecated.
|
Order |
OrderServiceImpl.discontinueOrder(Order order,
Concept discontinueReason,
Date discontinueDate) |
void |
OrderServiceImpl.purgeOrder(Order order) |
void |
OrderServiceImpl.purgeOrder(Order order,
boolean cascade) |
Order |
OrderServiceImpl.saveOrder(Order order) |
Order |
OrderServiceImpl.undiscontinueOrder(Order order) |
Order |
OrderServiceImpl.unvoidOrder(Order order) |
void |
OrderServiceImpl.updateOrder(Order order)
Deprecated.
|
Order |
OrderServiceImpl.voidOrder(Order order,
String voidReason) |
Modifier and Type | Method and Description |
---|---|
void |
OrderServiceImpl.createOrdersAndEncounter(Patient p,
Collection<Order> orders)
TODO: Refactor, generalize, or remove this method
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
OrderFormController.executeCommand(Order order,
javax.servlet.http.HttpServletRequest request) |
Copyright © 2018 OpenMRS LLC.. All Rights Reserved.