updated study.controller and study.model to correct errors in hl7 json processing