Fix to remove obsolete procedure_order.diagnoses.