Under the Chinese regulation, a foreign can invest in education or medical area in China with some restrictions.
A foreigner can not directly open a hospital in China, but he can set up a hospital with a Chinese partner. As to school, the government encourage the investment on some training schools in the form a JV. Howver, a foreign can not invest in elementary school.