Difference between revisions of "The OpenEMR API"
From OpenEMR Project Wiki
(add overview, include directions, and pointer to the documentation project.) |
(add forms and notes API stubs and pointers.) |
||
Line 3: | Line 3: | ||
There is presently a documentation project underway. please see [[OpenEMR API]] for an overview. | There is presently a documentation project underway. please see [[OpenEMR API]] for an overview. | ||
= Core API = | |||
== api.inc == | == api.inc == | ||
Line 18: | Line 20: | ||
| check access permissions | | check access permissions | ||
|} | |} | ||
= Forms API = | |||
The Forms API includes all of the functions required to create both per-encounter and non-encounter forms in the OpenEMR system. see [[The Forms API]] for more information. | |||
= Notes API = | |||
The Notes API manages non-medical notes, attached to a client's medical record. see [[The Notes API]] for more information. |
Revision as of 05:09, 6 December 2012
Overview
The OpenEMR API is divided into many modules, few of which have been documented.
There is presently a documentation project underway. please see OpenEMR API for an overview.
Core API
api.inc
The preferred method of including api.inc from your form is to use require_once. for instance: require_once($GLOBALS['srcdir'].'/api.inc');.
The following functions are common to use everywhere in OpenEMR:
Function | Use | Returns |
---|---|---|
acl_check | check access permissions |
Forms API
The Forms API includes all of the functions required to create both per-encounter and non-encounter forms in the OpenEMR system. see The Forms API for more information.
Notes API
The Notes API manages non-medical notes, attached to a client's medical record. see The Notes API for more information.