Patch for Lab results receipt alert

mdsupport wrote on Monday, July 22, 2013:

This patch will alert ordering provider of receipt of lab results. Unfortunately the standard function does not allow any additional messages. That would be a good way to handle information / warning and error messages.

Has anyone fixed the message body generated by lab_results_messages.php? The message shows with raw html code in the list.

mdsupport wrote on Tuesday, July 23, 2013:

This patch updates the lab_results message to use gprelations table.

CAUTION:
The messages.php uses (2,6) pair for procedure orders while the gprelations.inc author seems to have ‘reserved’ type 2 for form_encounter/visits!!! We are not sure if the gprelations is used by anyone for linking encounters.