Added few Implementation changes in PatientsDAO and write function for xml
Workaround to get project compile