A
download macros.php
Language: PHP
LOC: 65
Project Info
FreeMED Project(freemed)
Server: SourceForge
Type: cvs
...reemed\freemed\freemed\lib\
   acl.php
   API.php
   bcadd.php
   calendar-functions.php
   class.AdminModule.php
   class.Agata.php
   class.Authorizations.php
   class.BaseModule.php
   class.BillingModule.php
   class.CalendarModule.php
   class.ClaimLog.php
   class.Coverage.php
   class.Debug.php
   class.diagnosis_set.php
   class.Djvu.php
   class.EMRModule.php
   class.Fax.php
   class.FixedFormEntry.php
   ...s.FixedFormRenderer.php
   class.FormRenderer.php
   class.FreeMEDSelfTest.php
   class.GeneralConfig.php
   class.GraphModule.php
   class.Guarantor.php
   class.Handler_HL7v2.php
   ...s.Handler_HL7v2_A04.php
   ...s.Handler_HL7v2_A08.php
   ...s.Handler_HL7v2_S12.php
   ...s.Handler_HL7v2_S15.php
   class.InsuranceCompany.php
   class.LanguageRegistry.php
   class.Ledger.php
   ...s.MaintenanceModule.php
   class.Messages.php
   class.OMBS_Patient.php
   class.OMBS_Wrapper.php
   class.Parser_HL7v2.php
   class.Patient.php
   class.Payer.php
   class.PHPlot.php
   class.Physician.php
   class.Procedure.php
   class.RecordLock.php
   class.Remitt.php
   class.ReportsModule.php
   class.rxlist.php
   class.Scheduler.php
   class.TeX.php
   class.User.php
   class.UtilityModule.php
   class.vCalendar.php
   class.vCalendarEvent.php
   error_handler.php
   freemed.php
   i18n.php
   iso-set.php
   macros.php
   mail-functions.php
   settings.php
   settings.php.tmpl
   xml.php
   xmlrpc_services.php

<?php
 // $Id: macros.php,v 1.19 2005/06/03 04:54:03 rufustfirefly Exp $
 // note: macros for commonly used constants
 // lic : GPL, v2

if (!defined("__MACROS_PHP__")) {

define ('__MACROS_PHP__', true);

  // *****************************
  // User permission flags
  // *****************************
define ('USER_ADMIN',             1);
define ('USER_DELETE',            2);
define ('USER_DATABASE',          4);
define ('USER_DISABLED',          8);
define ('USER_ROOT',             16);

  // *****************************
  // Certification types
  // *****************************
define ('AMBULANCE',              1);
define ('CHIROPRACTIC',           2);
define ('DME',                    3); //Durable Medical Equipment
define ('ENT',                    4); //Enteral Nutrition Therapy
define ('PNT',                    5); //Parenteral Nutrition Therapy
define ('DMEPOS',                 6); //Prosthetics Orthotics and Supplies  

  // *****************************
  // Certification form numbers
  // *****************************
  // DMEPOS forms
define ('F0102',                 1); //Hospital Bed and Support Services
define ('F0203',                 2); //Manual and Motorized Wheelchairs
define ('F0302',                 3); //Continuous Positive Airway Pressure System
define ('F0403',                 4); //Lymphedema Pump, Osteogenesis Stimulator
define ('F0502',                 5); //Reserved for Future Use
define ('F0602',                 6); //Transcutaneous Electrical Nerve Stimulator (TENS)
define ('F0702',                 7); //Seat Lift Mechanisms, Power Operated Vehicle 
define ('F0802',                 8); //Immunosuppressive Drugs
define ('F0902',                 9); //External Infusion Pump
define ('F1002',                 10); //Parenteral and Enteral Nutrition
 

  // *****************************
  //    payment related macros
  // *****************************

$PAYER_TYPES = array (
	"Patient",
	"Primary",
	"Secondary",
	"Tertiary",
	"WorkComp"
);

	// coverage types
define ('PATIENT',              0);
define ('PRIMARY',              1);
define ('SECONDARY',            2);
define ('TERTIARY',             3);
define ('WORKCOMP',             4);
define ('MAXCOVTYPES',          4);   // max coverages contained in procrec cov1-4 (unless zero)

// coverage status
define ('ACTIVE',              0);
define ('DELETED',             1);

	// ledger transaction types
define ('PAYMENT',              0);
define ('ADJUSTMENT',           1);
define ('REFUND',               2);
define ('DENIAL',               3);
define ('REBILL',               4);
define ('PROCEDURE',            5);
define ('TRANSFER',             6);
define ('WITHHOLD',             7);
define ('DEDUCTABLE',           8);
define ('FEEADJUST',            9);
define ('BILLED',               10);
define ('COPAY',                11);
define ('WRITEOFF',             12);  // not used yet

// itemlist macros
define ('ITEMLIST_VIEW',        1);
define ('ITEMLIST_MOD',         2);
define ('ITEMLIST_DEL',         4);
define ('ITEMLIST_LOCK',        8);
define ('ITEMLIST_PRINT',      16);

// Flags for EMR summaries
define ('SUMMARY_VIEW',			1);
define ('SUMMARY_VIEW_NEWWINDOW',	2);
define ('SUMMARY_LOCK',			4);
define ('SUMMARY_PRINT',		8);
define ('SUMMARY_DELETE',		16);
define ('SUMMARY_NOANNOTATE',		32);

} // end checking for __MACROS_PHP__

?>

About Koders | Resources | Downloads | Support | Black Duck | Terms of Service | DMCA | Privacy Policy | Contact Us