It shall be lawful for any such organization referred to in Section 1 hereof to condition any loan, grant of assistance or recommendation to any educational institution upon such recipient’s executing an agreement to commit not more than 5 years of his or her professional career to the goals specifically outlined within such agreement including a requirement that recipient practice medicine in specifically designated practice and geographic areas.