Added Location API and part of Patient API