add diagnosis form
new functions