A
download class.Guarantor.php
Language: PHP
LOC: 42
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: class.Guarantor.php,v 1.2 2003/11/05 04:40:54 rufustfirefly Exp $
	// $Author: rufustfirefly $

// Class: FreeMED.Guarantor
//
//	Class container for source of patient payment (another person.)
//
class Guarantor {
	var $local_record;                // stores basic record
	var $id;                          // record ID for insurance company
	var $guarfname;
	var $guarlname;
	var $guarmname;
	var $guaraddr1;
	var $guaraddr2;
	var $guarcity;
	var $guarstate;
	var $guarzip;
	var $guarsex;
	var $guardob;
	var $guarsame;

	// Method: Guarantor constructor
	//
	// Parameters:
	//
	//	$coverageid - Coverage database table identifier.
	//
	function Guarantor ($coverageid = "") {
		if ($coverageid=="") return false;    // error checking

		if (!isset($GLOBALS['__freemed']['cache']['coverage'][$coverageid])) {
			// Retrieve record
			$this->local_record = freemed::get_link_rec (
				$coverageid, "coverage"
			);

			// Cache record
			$GLOBALS['__freemed']['cache']['coverage'][$coverageid] = $this->local_record;
		} else {
			// Retrieve from cache
			$this->local_record = $GLOBALS['__freemed']['cache']['coverage'][$coverageid];
		}

		$this->guarfname = $this->local_record["covfname"];
		$this->guarlname = $this->local_record["covlname"];
		$this->guarmname = $this->local_record["covmname"];
		$this->guaraddr1 = $this->local_record["covaddr1"];
		$this->guaraddr2 = $this->local_record["covaddr2"];
		$this->guarcity = $this->local_record["covcity"];
		$this->guarstate = $this->local_record["covstate"];
		$this->guarzip = $this->local_record["covzip"];
		$this->guardob = $this->local_record["covdob"];
		$this->guarsex = $this->local_record["covsex"];
		$this->id = $this->local_record["id"];
		if (empty($this->local_record[covaddr1])) {
			$this->guarsame = 1;
		}
	
	} // end constructor Guarantor
} // end class Guarantor

?>

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