public class OrderUtil extends Object
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
- order to matchorder2
- order to matchCopyright © 2024 OpenMRS Inc.. All rights reserved.