REST web service (made in CakePHP) - used by android app emr