modules/ accounts_receivable. billing. module.php

Summary
Provide item details and main editing functions menu.
Allow interface to write off items
Creates link for insertion in anchor tags with detail criteria for the engine.
Creates link for insertion in anchor tags with search criteria for the engine.
Lookup procedure id from item (payment record) id
Get textual name of patient from id, with caching.
Get textual name of provider from id, with caching.
Get key and value pairs with full text names for providers

Functions

item_detail

function item_detail ( )

Provide item details and main editing functions menu.

writeoff_items

function writeoff_items ( )

Allow interface to write off items

_detail_link

function _detail_link ($param)

Creates link for insertion in anchor tags with detail criteria for the engine.

Parameters

$criteriaAssociative array with keys containing the variables to be passed.

Returns

Link text.

_search_link

function _search_link ($criteria)

Creates link for insertion in anchor tags with search criteria for the engine.

Parameters

$criteriaAssociative array with keys containing the search criteria type and values containing the search criteria.

Returns

Link text.

_item_to_procedure

function _item_to_procedure ($pid)

Lookup procedure id from item (payment record) id

Parameters

$pidPayment record id

Returns

Integer, procedure id

_lookup_patient

function _lookup_patient ($pid)

Get textual name of patient from id, with caching.

Parameters

$pidPatient ID

Returns

Full text name of patient

_lookup_provider

function _lookup_provider ($pid)

Get textual name of provider from id, with caching.

Parameters

$pidProvider ID

Returns

Full text name of provider

_provider_list

function _provider_list ( )

Get key and value pairs with full text names for providers

Returns

Hash, key = provider name, value = id

function item_detail ( )
Provide item details and main editing functions menu.
function writeoff_items ( )
Allow interface to write off items
function _detail_link ($param)
Creates link for insertion in anchor tags with detail criteria for the engine.
function _search_link ($criteria)
Creates link for insertion in anchor tags with search criteria for the engine.
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.
function _provider_list ( )
Get key and value pairs with full text names for providers