Data synchronization between the local smartphones database and the remote health portal database is performed through sending HTTP requests from the smartphone to the health portal server which in turn responds with JSON formatted acknowledge message.