Throwing exceptions for invalid next order number global property -
TRUNK-4163
TRUNK-4156 - Add care_setting to orders table.
    Primary change is to add a new class called CareSetting as an attribute to Order.
    All test datasets have been modified to include this new attribute.
   Fixed EncounterServiceTest to add new care setting
Merge pull request #484 from vinayvenu/TRUNK-4156

TRUNK-4156 - Add care_setting to orders table.
TRUNK-4159 seperated the three foreign keys and added them to order_frequency's changeset
Forward porting to 1.11.x: Enhancing SourceMySqldiffFile to be used from
command line - TRUNK-4186(cherry picked from commit 0d981acaf6c143d194917607f73752cf03a9f46e)
Merge pull request #485 from k-joseph/TRUNK-4159

Follow up - Add OrderFrequency to the data model - [#TRUNK-4159]
Removed the num_refills and administration_instructions columns added via the  liquibase schema only file
[#TRUNK-4169] Add added quantity and units properties to DrugIngredient
TRUNK-4126 Added duration and durationUnits properties to DrugOrder class
TRUNK-4129 Modify datatype of drug_order.quantity column and add
quantity_units column to drug_order
Removed changeset that sets quantity units for existing drug order quantities
removing setter for orderNumber for: The API should assign order numbers
to new orders - TRUNK-4163
Setting order numbers in the api needs to be safe in a clustered
environment - TRUNK-4183
TRUNK-4136 Added DrugOrder.route and removed DrugOrder.equivalentDailyDose properties
TRUNK-4167 | Adding dose_units in drug_order and using doseUnits instead of units property.
Adding custom change set to migrate old text units to coded dose_units in drug_order table.

Removed unnecessary semi colon on sql in liquibase changeset - TRUNK-4167

Applying auto format changes

Follow up to fix faulty changeset - TRUNK-4167
Responding to review comments for: Setting order numbers in the api
needs to be safe in a clustered environment - TRUNK-4183
Sorting orders for: Add API methods for retrieving active orders -
TRUNK-4147
Some maven formatting
TRUNK-4137 Added frequency and numberOfRepeats properties to TestOrder class
TRUNK-4138 | Removed discontinued and discontinuedBy fields from Order class.
Added custom changeset to add new Discontinue Orders for discontinued orders.
Renamed discontinued_date to date_stopped in orders table.

Applying auto format changes