FreeMED. Physician

Class object wrapper for physician/provider.

Summary
Class object wrapper for physician/provider.
Form full name of physician/provider.
Generate textual representation of the current object.
Retrieves a value from the phyidmap.
Retrieve the full practice name for this physician/provider.
Retrieve the providers’ practice phone number.

Functions

Physician constructor

Parameters

$physicianDatabase table identifier for physician/provider.

fullName

function fullName ($use_salutation =  false)

Form full name of physician/provider.

Parameters

$use_salutation(optional) Use Dr/Mr/Mrs instead of printing degress and certifications.  Boolean, defaults to false.

Returns

Text of provider/physician’s full name

to_text

function to_text ( )

Generate textual representation of the current object.

Returns

Simple string consisting of the name of the current provider object.

getMapId

function getMapId ($this_id =  0)

Retrieves a value from the phyidmap.

Parameters

$this_idKey for value to retrieve from the map.

Returns

Value of specified key, or NULL if the key does not exist in the map.

practiceName

function practiceName ()

Retrieve the full practice name for this physician/provider.

Returns

Practice name text.

practicePhoneNumber

function practicePhoneNumber ( )

Retrieve the providers’ practice phone number.

Returns

Formatted phone number.

function fullName ($use_salutation =  false)
Form full name of physician/provider.
function to_text ( )
Generate textual representation of the current object.
function getMapId ($this_id =  0)
Retrieves a value from the phyidmap.
function practiceName ()
Retrieve the full practice name for this physician/provider.
function practicePhoneNumber ( )
Retrieve the providers’ practice phone number.