Prescription popup

cbezuidenhout wrote on Thursday, February 02, 2012:

Hi All,

busy with a customization, trying to get the prescription box opening, I have it open, but handling the callback is a problem, any advice ?

  - Craig
    Tajemo Enterprises

cbezuidenhout wrote on Thursday, February 02, 2012:

more detail, trying to have a form invoke the prescription dialogue, then populate a textarea with selected items from the prescription windows, can this be done ?

  - Craig
    Tajemo Enterprises

bradymiller wrote on Friday, February 03, 2012:

Hi,
Anything can be done. Still not clear what your doing (I’m slow). Code example may help.
-brady

cbezuidenhout wrote on Friday, February 03, 2012:

busy uploading to our demo, along with patch 7 and some other modifications, I will send details, once it is on there.

  - Craig
    Tajemo Enterprises

cbezuidenhout wrote on Friday, February 03, 2012:

okay, upload done, patch 7 applied.

We are working on an improved SOAP form, and we want to integrate the prescriptions in with it. I have got the prescriptions to pop-up now, just trying to get the postback working.

so far, I have had to add a “send to SOAP” button (which only appears when accessing prescriptions from SOAP form)

now to get the two talking to each other :slight_smile:

Thanks
  - Craig
    Tajemo Enterprises

cbezuidenhout wrote on Friday, February 03, 2012:

if I try to add a script from the new popup,it wont save ?

  - Craig
    Tajemo Enterprises

bradymiller wrote on Saturday, February 04, 2012:

Hi,
Just checked out your demo at: http://www.tajemo.co.za/demo/
The SOAP form looks to have a lot of potential. Guessing your sort of in Smarty hell at the moment trying to figure out above; always tough to follow the logic in the smarty stuff.
-brady

cbezuidenhout wrote on Monday, February 06, 2012:

okay, figured some of it out, just to keep you in the loop, the add/edit prescriptions box must be opened through fancybox, else the top.restoreSession gives all sorts of issues

  - Craig
    Tajemo Enterprises

cbezuidenhout wrote on Monday, February 06, 2012:

got this working perfectly (I hope)

how do I mark as solved ?  - Craig
    Tajemo Enterprises

bradymiller wrote on Tuesday, February 07, 2012:

You just did :slight_smile:

edisonfoster wrote on Thursday, April 12, 2012:

Hello, I was checking out your SOAP integration with prescription, nice feature. Is this a custom work or is it included in some patch?

We need to have a way to track when doctors have issued prescriptions and exactly what they wrote on it. The limitation with the current prescription module is that is unable to tell me what did the prescription contain since you have to select the medicine items to include and then generate a printout to give the patient. I believe this enhancement should be implemented in the code base as Craig did or something similar to it may be at the moment of printing the prescription create a prescription form and include it in the current visit of the patient.