Prescription note missing when in CAMOS Rx

paradocs wrote on Monday, September 19, 2011:

Greetings all,
I am adding some expanded coding for CAMOS
as I find this a very useful module.
I have found the following omission in
4.1 pre-release.

Do this ->
Activate the CAMOS form
Admin -> Other -> Forms -> CAMOS(register)
Install DB -> disable

Open a patient and an encounter
Click on  Prescriptions
Enter a prescription
Zithromax
5
250 mg
*see note   tablet   per oris   stat
Take 2 tablets as soon as you can and then take 1 tablet daily for 4 more days.

Click on a tab on bottom panel and click on CAMOS
Make any CAMOS i.e.
radiology -> x-ray -> thoracic spine
-> ->

On the CAMOS form click  and
check the boxes on the pop up or new browser tab.
click  and you will see the faulty
prescription missing the necessary note.

Solution:
/openemr/interface/forms/CAMOS/rx_print.php is better with
      $content = ‘’
      . $rx->drug . ’ ’
      . $rx->size . ’ ’
      . $rx->unit_array . ‘<br/>’
      . $rx->quantity. ’ ’
      . $rx->form_array. ‘<br/>’
      . $rx->dosage . ’ ’
      . $rx->form_array. ’ ’
      . $rx->route_array . ’ ’
      . $rx->interval_array . ‘<br/>’
      . $rx->note . ‘<br/>’
      . ‘refills:’ . $rx->refills . ‘’;

I add the additional line      . $rx->note . ‘<br/>’
before refills.

This is a fine point and may be added after 4.1 is released
since we are all anxious to see 4.1 released.

Best Wishes
paradocs     David Marc Tan Creti, M. D.
Linux 2.6.33.2 i686 : Hiawatha v7.3 : MySQL 5.1.47-MariaDB : PHP 5.3.3
openemr 4.1 pre-release

bradymiller wrote on Tuesday, September 20, 2011:

Hi,

I just committed this to sourceforge (both the master and rel-410 branches, so will be in the 4.1 release). Thank you for the contribution.

-brady
OpenEMR