Difference between revisions of "OpenEMR API"

From OpenEMR Project Wiki
Line 7: Line 7:
::*Next run:
::*Next run:
:::*Try to fix following parameter: ''--sourcecode'' (considered an unstable option and doesn't appear to be working) to get it to link to the source code (or figure out another mechanism)
:::*Try to fix following parameter: ''--sourcecode'' (considered an unstable option and doesn't appear to be working) to get it to link to the source code (or figure out another mechanism)
:*Will also try other documentation software.


== Plan ==
== Plan ==

Revision as of 08:51, 21 June 2012

Overview

This is a project that was recently started to auto-document the OpenEMR codebase. The project is still in an early phase.

API

  • (Was completed with phpDocumentor using following command on ubuntu: sudo phpdoc -t apidocs -o HTML:frames:earthli -d . --ignore apidocs/,gacl/,phpmyadmin/,library/adodb/,interface/main/calendar/pnadodb/ --defaultpackagename OpenEMR --title "OpenEMR API Documentation" --sourcecode)
  • Next run:
  • Try to fix following parameter: --sourcecode (considered an unstable option and doesn't appear to be working) to get it to link to the source code (or figure out another mechanism)
  • Will also try other documentation software.

Plan

  • Directories/Files to ignore:
  • apidocs/
  • Reason - This is the API docs directory
  • gacl/
  • Reason - This is an embedded module with an API already included. Additionally, connector functions can be found at library/acl.inc .
  • phpmyadmin/
  • Reason - This is an embedded application that does not communicate directly with OpenEMR.
  • library/adodb/
  • Reason - This is an embedded module and connector functions can be found at library/sql.inc
  • interface/main/calendar/pnadodb/
  • Reason - This is an embedded module and connector functions can be found at library/sql.inc