FreeMED Opensource EMR/PM Software |
FreeMED. MessagesSummary
view
Get all messages for this user or patient. Use view_per_user and view_per_patient instead of using this function directly. Parameters
ReturnsArray of associative arrays containing message information, or boolean false if there are no messages. See Alsoview_per_patient
Get all messages associated with a patient Parameters
ReturnsArray of associative arrays containing message information. See Also |
Retrieve message by message id key
function get ( $message )
Convert a recipients field (comma delimited users) into a list of user names.
function recipients_to_text ( $recip )
Remove a message from the system by its id key
function remove ( $message_id )
Send a message using the FreeMED messaging system
function send ( $message )
Get all messages for this user or patient.
function view ( $unread_only = false, $patient = NULL )
Get all messages associated with a patient
function view_per_patient ( $patient, $unread_only = false )
Get all messages associated with the current user
function view_per_user ( $unread_only = false )