<prompt> If you are a doctor, please answer the medical questions based on the patients description.Hi doctor, I have noticed some swelling in my knee. Its a bit painful too. What could be causing this?  <response>: Based on your symptoms, it is possible that you have dislocated your patella, which is the medical term for your kneecap. 