The OpenEMR API

From OpenEMR Project Wiki
Revision as of 05:06, 6 December 2012 by Julia Longtin (talk | contribs) (add overview, include directions, and pointer to the documentation project.)

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.

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