Difference between revisions of "The Notes API"

From OpenEMR Project Wiki
(create page.)
 
(add a note about the used database table.)
Line 1: Line 1:
= Using the Notes API =
= Using the Notes API =
The notes api is available in Openemr by including the following line in your code:
The Notes API is available in OpenEMR by including the following line in your code:


  require_once("$srcdir/pnotes.inc");
  require_once("$srcdir/pnotes.inc");
Line 12: Line 12:
== updatePnote ==
== updatePnote ==
== updatePnoteMessageStatus ==
== updatePnoteMessageStatus ==
= Dependencies =
The Notes API uses the database table 'pnotes' to store its data.

Revision as of 02:54, 6 December 2012

Using the Notes API

The Notes API is available in OpenEMR by including the following line in your code:

require_once("$srcdir/pnotes.inc");

Once that file is included, the following functions are available:

addPnote

deletePnote

getPnoteById

getPnotesByUser

updatePnote

updatePnoteMessageStatus

Dependencies

The Notes API uses the database table 'pnotes' to store its data.