Added previous_order, action to orders, also converted drug_order.complex to drug_order.dosing_type - TRUNK-4123, 4124, 4125