(Project is in-flight - do not use in production).
This project aims to provide an easy-to-use JSON-based REST API for OpenEMR's most common functions. All code will be done in classes and separate from the view to help with codebase modernization efforts.
- @juggernautsei
- @matthewvi
- ?
- ?
- ?
GET /facility
GET /facility/:fid
POST /facility
PUT /facility/:fid
GET /provider
GET /provider/:prid
POST /provider
GET /patient
POST /patient
GET /patient/:pid
GET /patient/:pid/encounter
GET /patient/:pid/encounter/:eid
GET /version
GET /product
TODO(matthew): list out needed endpoints
The API is invoked with a resource
query string to define the path: https://localhost:8300/rest_router.php?resource=/patient
TODO(matthew): Implement token-based authentication.