replace strings with existing constants
Merge pull request #1201 from dimagi/const

replace strings with existing constants