Added liquibase changesets to rename orders.discontinued_reason and discontinued_reason_non_coded to order_reason  and order_reason_non_coded respectively - TRUNK-4138
Adding missing unit test for: The API should be able to assign
OrderTypes - TRUNK-4302
Cleaned up some changesets that were susceptible to fail
Removing duplicate @should for: The API should be able to assign
OrderTypes - TRUNK-4302
Renaming unit test method for: The API should be able to assign
OrderTypes - TRUNK-4302
Renaming unit test methods for: The API should be able to assign
OrderTypes - TRUNK-4302
Added changesets to drop and add back fk constraint on order.discontinued_reason when renaming it - TRUNK-4138
TRUNK-4311 Parent type can't be among descendants of a given order type

Auto format - TRUNK-4138
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) if scheduledDate is set, urgency should be ON_SCHEDULED_DATE.
5) order.orderType.javaClass should match order.class, subclasses
Addressed review comments to fix comparison of orderType.class and the validates order type - TRUNK-4217

Addressed review comments to fix comparison of orderType.class and the validates order type - TRUNK-4217

Follow up
Added the changeset that ensures no existing order are neither drug nor test orders
Follow up to fix failing unti test
Added an encounter to the test dataset for patient with id 2
Follow up to fix failing test in PersonServiceTest
Follow up to apply auto format changes
Implemented rejecting orders where patient, careSetting, concept or drug if is drug order have changed - TRUNK-4217
Fixed Order.frequency name in Order.hbm file
TRUNK-4332 Add getDiscontinationOrder - post review fixes
TRUNK-4335 Validate liquibase against hbm