Modified HDI.js

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

added new patient's registration form