moving some medical logic to the service layer

formatting
Merge pull request #276 from kevinzurek/refactor-medicalController

moving some medical logic to the service layer