Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
$#!
 ___sort_aging
 __composite_to_provider, FreeMED. Parser_HL7v2
 __obr_to_lab
 _acl_object
 _add, FreeMED. MaintenanceModule
 _addzero, PHP. html_form. html_form
 _array, Frontier:: RPC2
 _attachments, FreeMED.Fax
 _autoserialize, FreeMED. Remitt
 _cache_feed
 _call, FreeMED. Remitt
 _check_cached_copy
 _convert, Encode
 _ConvertDate, FreeMED. Handler_HL7v2. Handler_HL7v2
 _DashedLine, FreeMED. GraphNormalize
 _del, FreeMED. MaintenanceModule
 _detail_link
 _ExplodeParameters
 _fixcaps, FreeMED. Patient
 _FixCase, FreeMED.TeX
 _FixPhoneNumber, FreeMED. Handler_HL7v2. Handler_HL7v2
 _footer, FreeMED. BaseModule. BaseModule
 _get
 _get_string_split, PHP. Postscript
 _get_text_height, PHP. Postscript
 _get_text_length, PHP. Postscript
 _get_user_from_phy
 _GetAssociations, FreeMED. BaseModule. BaseModule
 _GetLastFinancialRecord, SlidingFeeScale
 _hash, Frontier:: RPC2
 _header, FreeMED. BaseModule. BaseModule
 _HTMLToRichText, FreeMED.TeX
 _IN1ToPayer, FreeMED. Handler_HL7v2. Handler_HL7v2
 _is_struct, FreeMED. Remitt
 _item, Frontier:: RPC2
 _item_to_procedure
 _lookup_patient
 _lookup_provider
 _make_filehandle, Config:: IniFiles
 _mod, FreeMED. MaintenanceModule
 _params, Frontier:: RPC2
 _ParseTag, FreeMED.TeX
 _PIDToPatient, FreeMED. Handler_HL7v2. Handler_HL7v2
 _print, FreeMED. BaseModule
 _print_mapping, FreeMED. BaseModule
 _procedure_to_patient
 _provider_list
 _query_to_result_array
 _ReadMetaInformation
 _recent_record, FreeMED. EMRModule
 _RenderField, FreeMED. EMRModule
 _RenderTeX, FreeMED. EMRModule
 _RenderToPDF, FreeMED. EMRModule
 _ReplaceQuotes, FreeMED.TeX
 _ResolveICDCode, FreeMED. Handler_HL7v2. Handler_HL7v2
 _RoundedBox, FreeMED. GraphNormalize
 _SanitizeText, FreeMED.TeX
 _scalar, Frontier:: RPC2
 _scan_directory, PHP. module_list
 _search_link
 _set_defaults
 _SetAssociation, FreeMED. BaseModule. BaseModule
 _SetHandler, FreeMED. BaseModule. BaseModule
 _setup
 _StripToNumeric, FreeMED. Handler_HL7v2. Handler_HL7v2
 _T, Locale:: Framework
 _TeX_Information
 _text2vcal, FreeMED. vCalendarEvent
 _ts2vcal, FreeMED. vCalendarEvent
 _utf8_off, Encode
 _utf8_on, Encode
function ___sort_aging ($a,
$b)
It is a helper function which sorts by an embedded array.
function __composite_to_provider ($composite)
Resolve CN composite to provider in FreeMED.
function __obr_to_lab ($obr,
$patient)
Convert parsed OBR array into labs record ID
function _acl_object ( )
Simple way to get complex ACL API object
function _add ($_param =  NULL)
Basic superclass addition routine.
Adds leading zeros to a number
sub _array
function _attachments ( )
Internal method to provide a command-line set of arguments to be passed to the faxing application.
function _autoserialize ($mixed)
Automagically determines what kind of resource this is supposed to be and creates a PHP.xmlrpcval object to wrap it in.
function _cache_feed ($feed)
function _call ($method,  
$parameters =  NULL,
$debug =  false)
Call Remitt server with the specified parameters.
function _check_cached_copy ($feed)
Check to see whether or not the cached copy of the provided feed is okay.
sub _convert
Convert date from HL7 v2.3 date format to standard SQL date format.
function _DashedLine($x0,
$y0,
$x1,
$y1,
$fg,
$bg)
Internal method to produce “dashed” line style
function _del ($_id =  -1)
Basic superclass deletion routine.
function _detail_link ($param)
Creates link for insertion in anchor tags with detail criteria for the engine.
function _ExplodeParameters ($joint_key)
Internal FreeMED function to handle the ‘diagkeys’ that are used as arguments to the FBDiagnosis functions.
function _fixcaps ($string)
Produce proper capitalization of a string.
function _FixCase ($string)
Fix capitalization with what we think is “natural” capitalization.
Make sure phone number has area code when pulling into system.
function _get ($host,
$url,
$username,
$password)
Retrieve URL via raw sockets
function _get_string_split ($font,
$size,
$_string,
$width)
Internal function to determine the split of a string while still fitting within a virtual boundary
function _get_text_height ($font,
$size,
$string)
Internal method to determine maximum height of a string in the designated font and size.
function _get_text_length ($font,
$size,
$string)
Internal method to determine length of a string in the designated font and size.
function _get_user_from_phy ($phy)
Lookup user by provider, with caching
Get a list of associations for the current module.
function _GetLastFinancialRecord ( )
Retrieve the most recent financial record on file for the current patient.
sub _hash
function _HTMLToRichText ($orig)
Convert SGML/HTML formatted “rich text” to LaTeX-formatted rich text, while sanitizing.
Resolve or create and resolve a payer record (insco table) from an HL7 v2.3 IN1 segment.
function _is_struct ($var)
Determines if in an array is a structure (associative array) or a regular array.
sub _item
function _item_to_procedure ($pid)
Lookup procedure id from item (payment record) id
function _lookup_patient ($pid)
Get textual name of patient from id, with caching.
function _lookup_provider ($pid)
Get textual name of provider from id, with caching.
Args: $thing $thing An input source
function _mod ($_param =  NULL)
Basic superclass modification routine.
sub _params
function _ParseTag ($rec,
$tag)
Parse appropriate information from tag to convert into output data to be passed back to TeX.
Determine patient identifier by PID segment.
function _print ( )
Provides basic printing interface
function _print_mapping ($TeX,
$id)
Callback to provide a macro mapping for TeX templating.
function _procedure_to_patient ($procedure)
Look up a patient by a procedure id
function _procedure_to_patient ($procedure)
Look up a patient by a procedure id
function _provider_list ( )
Get key and value pairs with full text names for providers
function _query_to_result_array ($query,  
$sequential =  false)
Internal helper function to convert SQL queries into arrays of associative arrays.
function _query_to_result_array ($query,  
$sequential =  false)
Internal helper function to convert SQL queries into arrays of associative arrays.
function _query_to_result_array ($query)
Internal helper function to convert SQL queries into scheduler appointment arrays (arrays of associative arrays).
function _ReadMetaInformation ($report)
Get report meta-information
function _ReadMetaInformation ($report)
Get report meta-information
function _recent_record ($patient,  
$recent_date =  NULL)
Return most recent record, possibly qualified by a particular date.
function _RenderField ($arg,  
$r =  NULL)
Render out ##a:b@c## or ##a## type fields.
function _RenderTeX ($TeX,
$id)
Internal TeX renderer for the record.
function _RenderToPDF ($record)
Render internal record for printing directly to a PDF file.
function _ReplaceQuotes ($string)
Replace quotes with proper beginning and ending quotation marks, TeX-style.
function _RoundedBox ($x1,
$y1,
$x2,
$y2,
$radius,
$color)
Internal method to draw a “rounded” box
function _SanitizeText ($text,  
$skip_html = false)
Escapes offending TeX control sequences.
sub _scalar
function _scan_directory ($dir,  
$recurse =  false)
Scans directory for modules
function _search_link ($criteria)
Creates link for insertion in anchor tags with search criteria for the engine.
function _set_defaults ( )
Method used to set the default ACL values for a new FreeMED installation, since the ACL system is very complex and cannot use the default table information and methods.
Creates an association with another module.
Attaches the current module to the specified system handler.
function _setup ( )
Overrides the default _setup method to wrap phpgacl’s bizarre XML-based schema setup.
function _setup ()
Internal method called by the module superclass, which executes initial table creation from create_table and initial data import from freemed_import_stock_data.
Strip all non-numeric characters from a string
sub _T
function _TeX_Information ( )
Callback to provide information to the TeX renderer about formatting.
function _TeX_Information ( )
Callback to provide information to the TeX renderer about formatting.
Internal method to convert regular text into vCalendar formatted text.
function _ts2vcal ($timestamp)
Internal method to convert timestamps into vCalendar format times.
sub _utf8_off
sub _utf8_on