Legal analysis: It is illegal and "department outsourcing" does not comply with the current relevant medical legal provisions such as my country's "Regulations on the Management of Medical Institutions" and has become the focus of regulatory rectification over the years.
Legal basis: "Regulations on the Management of Medical Institutions"
Article 23 The "Medical Institution Practice License" may not be forged, altered, sold, transferred or lent. If the "Medical Institution Practice License" is lost, it should be declared promptly and apply to the original registration authority for a reissue.
Article 46 Whoever violates the provisions of Article 23 of these Regulations by selling, transferring, or lending the "Medical Institution Practice License" shall have the illegal gains confiscated by the health administrative department of the people's government at or above the county level, and shall A fine of not more than 5,000 yuan may be imposed; if the circumstances are serious, the "Medical Institution Practice License" will be revoked.