Code to open patient chart

vambati wrote on Sunday, February 12, 2012:

I am trying to put a link in messages to open patient chart, I have the PID in the messages.php but where do I find the code (javascript) to open a patient chart based on the pid?

If some one already implemented this, can you share the code with me.

Thank you
venkat

cbezuidenhout wrote on Monday, February 13, 2012:

this is what I used in the dated reminder.

onclick=“goPid(<?php echo $thisPatientID; ?>)”

might work for you.

  - Craig
    Tajemo Enterprises