use inputs rather than setup.user.state
return loose promise
Merge branch 'feature/issue-120-metrics-not-firing-on-entering-states-clinic-code' into develop