added a script to fix primary diagnosis saved as value_text