Question-Answering Based Summarization of Electronic Health Records using Retrieval Augmented Generation