Bug fixes for medical data entry