Added a new method to determine StudyType given just the studyId.

Issue: BMS-API
Reviewer: RebeccaB