openmrs/openmrs-core — pull request #823 by vinkesh (2014-03-26 11:07:43+00:00)
Title: TRUNK-4217 | Order Validations -

1) durationUnits can not be null if duration is present.
2) quantityUnits,doseUnits or durationUnits should be of type Units of Measure class
3) startDate should not be before encounter's encounterDateTime.
4) Fixed wrong dates in OrderServiceTest-otherOrders.xml