Base the form codes off configuration rather than hardcoded. Issue: medic/medic-webapp#586