Towards General Purpose Medical AI: Continual Learning Medical Foundation Model