REST API for OpenEMR