added working data storage for XML in case of Patients, modified interfaces accordingly