Added jsonbackreference and jsonmanagedreference annotations to
entities. added support for medicalhistory records