public class OrderUtil
extends java.lang.Object
| Constructor and Description |
|---|
OrderUtil() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
checkScheduleOverlap(Order order1,
Order order2)
Checks if the schedules of the specified orders overlap, Note this only makes a check that is
purely based on dates ignoring other properties like patient, voided, careSetting and the
orderable
|
static boolean |
isType(OrderType orderType1,
OrderType orderType2)
Checks whether orderType2 matches or is a sub type of orderType1
|
public static boolean isType(OrderType orderType1, OrderType orderType2)
orderType1 - orderType2 - public static boolean checkScheduleOverlap(Order order1, Order order2)
order1, - order2 orders to matchCopyright © 2018 OpenMRS Inc.. All Rights Reserved.