MedPlan:A Two-Stage RAG-Based System for Personalized Medical Plan Generation