It plays much better with angular if all the methods in a particular controller always respond with an object of that type—in this case `Patient`. Please return `@patient` instead of `@api_key` here—I've already adapted the frontend code to work this way in angular.