optionally allow clearing of the diagnosis text value