Personal tools

Code Notes

From OpenEMR Project Wiki

Jump to: navigation, search



Important PHP Includes

[OpenEMR Path]/interface/globals.php
Establishes global functions & variables.
[OpenEMR Path]/library/
Establishes global functions & variables. If you include globals.php, this will be included as part of that.

[OpenEMR Path]/library/
Access control system. Manages which users can control/see which features.

[OpenEMR Path]/library/
Functions to search and modify the table "patient_data".

[OpenEMR Path]/library/
SQL Functions.

Important Javascript Includes

[OpenEMR Path]/library/js/jquery-[VERSION].min.js

[OpenEMR Path]/library/dialog.js

Functions to open a new window, just a regular window or a dialog window.


  • $srcdir - [OpenEMR Path]/library

Important Functions

  • function xl(<text>)
Translates text to the language specified in global preferences. Use this for all text that will be displayed.
Declared in: /library/
Included if you include: /library/globals.php

General How To

Code Analysis - Specific Features