It is not illegal for medical units to arrange doctors to go out for treatment after work. However, a person who has not obtained the qualification for illegal medical practice, if the circumstances are serious, constitutes the crime of illegal medical practice. If convicted, he shall be sentenced to fixed-term imprisonment of not more than three years, criminal detention or public surveillance, and shall also or only be fined; Those who seriously damage the health of patients shall be sentenced to fixed-term imprisonment of not less than three years but not more than ten years and fined; Whoever causes death shall be sentenced to fixed-term imprisonment of not less than 10 years and fined.
Relevant laws and regulations: Criminal Law of People's Republic of China (PRC).
Article 336 A person who has not obtained the qualification for practicing medicine illegally, if the circumstances are serious, shall be sentenced to fixed-term imprisonment of not more than three years, criminal detention or public surveillance, and shall also or only be fined; Those who seriously damage the health of patients shall be sentenced to fixed-term imprisonment of not less than three years but not more than ten years and fined; Whoever causes death shall be sentenced to fixed-term imprisonment of not less than 10 years and fined.