Modified HDI.js

Added support for misc file loading,
Added support for patients module
modified patients module

added new patient's registration form
modified Patients module
modified HDI js file
modifed patients module