Intrahealth fixes

http://manage.dimagi.com/default.asp?147063