Addign constants for the data collector.
Addign constants for the data collector.

Also checking for nil and then error.

henriqueiv/ShareTheJourney,Sage-Bionetworks/ShareTheJourney,ResearchKit/ShareTheJourney,andyvand/ShareTheJourney,Erin-Mounts/ShareTheJourney