Difference between revisions of "Prescribing Module"

From OpenEMR Project Wiki
Line 1: Line 1:
Vital files:
==Files==


*'''openemr/controllers/C_Prescription.class.php'''
===openemr/controllers/C_Prescription.class.php===
**Contains all the vital functions
*Contains all the vital functions
**is called via /openemr/controller.php
*is called via /openemr/controller.php
**Contains the class C_Prescription extends Controller
*Contains the class C_Prescription extends Controller
***Included functions:
**Included functions:
****C_Prescription (constructor)
***C_Prescription (constructor)
****default_action
***default_action
*****'''This calls the edit template screen at openemr/templates/prescription/general_edit.html'''
****'''This calls the edit template screen at openemr/templates/prescription/general_edit.html'''
****edit_action
***edit_action
*****'''This redirects to default_action'''
****'''This redirects to default_action'''
****list_action
***list_action
****block_action
***block_action
****lookup_action
***lookup_action
****edit_action_process
***edit_action_process
****send_action
***send_action
****multiprintfax_header
***multiprintfax_header
****multiprint_header
***multiprint_header
****multiprintcss_header
***multiprintcss_header
****multiprintcss_preheader
***multiprintcss_preheader
****multiprintfax_footer
***multiprintfax_footer
****multiprint_footer
***multiprint_footer
****multiprintcss_footer
***multiprintcss_footer
****multiprintcss_postfooter
***multiprintcss_postfooter
****get_prescription_body_text
***get_prescription_body_text
****multiprintfax_body
***multiprintfax_body
****multiprint_body
***multiprint_body
****multiprintfax_action
***multiprintfax_action
****multiprint_action
***multiprint_action
****multiprintcss_action
***multiprintcss_action
****send_action_process
***send_action_process
****_print_prescription
***_print_prescription
****_print_prescription_old
***_print_prescription_old
****_email_prescription
***_email_prescription
****do_lookup
***do_lookup
****_fax_prescription
***_fax_prescription


===library/classes/Prescription.class.php===
*This is the container for each prescription
*Contains the class Prescription extends ORDataObject
**Important functions:
***Prescription (constructor)
***get_prescription_display
***A whole bunch of others, check out the file


*'''library/classes/Prescription.class.php'''
===library/classes/RXList.class.php===
**This is the container for each prescription
*This is for online lookup of prescriptions
**Contains the class Prescription extends ORDataObject
***Important functions:
****Prescription (constructor)
****get_prescription_display
****A whole bunch of others, check out the file


 
==Database==
*'''library/classes/RXList.class.php'''
===prescriptions table===
**This is for online lookup of prescriptions

Revision as of 23:10, 2 December 2009

Files

openemr/controllers/C_Prescription.class.php

  • Contains all the vital functions
  • is called via /openemr/controller.php
  • Contains the class C_Prescription extends Controller
    • Included functions:
      • C_Prescription (constructor)
      • default_action
        • This calls the edit template screen at openemr/templates/prescription/general_edit.html
      • edit_action
        • This redirects to default_action
      • list_action
      • block_action
      • lookup_action
      • edit_action_process
      • send_action
      • multiprintfax_header
      • multiprint_header
      • multiprintcss_header
      • multiprintcss_preheader
      • multiprintfax_footer
      • multiprint_footer
      • multiprintcss_footer
      • multiprintcss_postfooter
      • get_prescription_body_text
      • multiprintfax_body
      • multiprint_body
      • multiprintfax_action
      • multiprint_action
      • multiprintcss_action
      • send_action_process
      • _print_prescription
      • _print_prescription_old
      • _email_prescription
      • do_lookup
      • _fax_prescription

library/classes/Prescription.class.php

  • This is the container for each prescription
  • Contains the class Prescription extends ORDataObject
    • Important functions:
      • Prescription (constructor)
      • get_prescription_display
      • A whole bunch of others, check out the file

library/classes/RXList.class.php

  • This is for online lookup of prescriptions

Database

prescriptions table