Issue #713. Migrating field mode_of_inheritance to global_mode_of_inheritance (PatientClass).