Implementing medical teaching policy in university hospitals