Absolutely BRILLLIANT

saleemf wrote on Friday, May 20, 2011:

Hi There Developers,

Befoer i start the monaing and Groaning just want to say that you guys have done a great job with thie product and I enjoy working with it and customizing it for our clients in the Middle east.

I do have a couple of issues that i am hoping you guys can help set straight or point me in the right direction.

I am assuming that before you actually released this magnificent product for those of us who are not as brilliant as you guys to use, you have tested each of the modules and being happy that it works you let us have it to play with.

If this is correct, then may i please ask why there is no simple directives/manual/quick guide on some of the more mundane tasks like sending email reminders.

I have searched the FORUM high and low and only found bits and pieces here and there but nothing concrete.

Here is the question that i wouldl ike to ask you geniuses.

I am using OpenEMR Version 4.0 on the Windows Platform. I have tested it on XP Pro, VISTA, and Windows 7. Works like a champ.

In version 4 i can go through the Administration menu -> Notifications and can enter the necessary details for sending emails. But then nothing happens. What am I doing wrong. There is no documentation anywhere that can explain to idiots like myself what we should be doing next…

Then I decided I too wanted to be a genius and started exploring the various subdirectories under OpenEMR. I found by mistake a directory called sms-email_reminder under the direcotry called modules. Here there are 5 .php files and 1 readme.txtr file.

I have opened each one of these files and can find nothing that i can change that would send the emails.

Then i found another place from where emails can be sent. This one is called BatchCom and you can get there from the Miscellaneous Menu.

Absolutely brilliant. It copies the required number of records to a CSV file as per the criteria i put in. But then what. How does it send the email.

Do you think it is possible to get some help on this simple yet very perpplexing function.

I will be truly grateful and i can assure you my clients will be even more grateful, as they will finally be able to get rid of me.

Thank you in advance

Saleem

tmccormi wrote on Friday, May 20, 2011:

It’s easy to find developers, very hard to fine people willing to write documentation.  However there are several folks that are using email systems successfully so I bet they’ll help you out.
-Tony

visolveemr wrote on Saturday, May 21, 2011:

Hi Saleem,

Could you please check whether for patients you have chosen  “Allow Email” field under demographics -> choices section?

Thanks,
ViCarePlus Team,
service@vicarepluls.com

deepakmca05 wrote on Saturday, May 21, 2011:

Hello Saleem
I am also new user of OEMR.
Please let me know your mail id .Would like to have some conversation with you.

Thanks
Deepak

saleemf wrote on Saturday, May 21, 2011:

2011-05-21 03:00:47 GST
It’s easy to find developers, very hard to fine people willing to write documentation.  However there are several folks that are using email systems successfully so I bet they’ll help you out.
-Tony

Hi Tony,

Loveley to make your acquaintance.

If you need me to help write Documentation, please let me know. I am sure we can work something out

You mention that there are several folk that are using email and that you were/are confident that they will help me out.

If you know of any of these persons personally, please send them a link to this topic. I will be more than happy to follow their directionsand then write a document that others can follow without any problems.

Look forwrd to hearing back from you soon

Thanks

Saleem

saleemf wrote on Saturday, May 21, 2011:

Hi Visolveemr,

Yes I have made sure that has been selected as YES.

Any other ideas please

Saleem

saleemf wrote on Saturday, May 21, 2011:

Hi Deepak.

My email id is saleem@gulfmetrics.com

Look forward to hearing from you

Saleem

aethelwulffe wrote on Saturday, May 21, 2011:

Finding Tech Writers is not real hard.  Developer/programmers however, are not primarily interested in documentation, and place little/no emphasis on it.  I am not sure there is anyone in charge of gathering/commissioning new and expanded documentation.  There is certainly no-one in charge of getting rid of ancient links to really outdated versions.  I recently found someone downloading and installing 2.8 not knowing that it was not the most recent (old review, link worked).

saleemf wrote on Thursday, May 26, 2011:

Progress Report.

OK Guys, I have email working from OpenEMR.

However it is not fully automated.

It works in a batch mode, if that is what one wants to call it.

The problem is getting php to run a file from the task scheduler.

The task scheduler is working perfectly.

i get the same result when i use php from the command prompt.

Does anybody have any ideas on how to run a php script from the DOS Command prompt in Windows.

God Bless

Saleem

tmccormi wrote on Thursday, May 26, 2011:

For one you have to have the PHP CLI (command line) interface installed.   on Linux it’s called phpcli, but php can tell the diff and runs the correct one from the command line.
typically just looks like this

 /usr/bin/php program-to-run.php [argument1] [argument2] [..]

windows** might **look something like this

C:\XAMMP\bin\php program-to-run.php [argument1] [argument2] [..]

-Tony

saleemf wrote on Thursday, May 26, 2011:

Hi Tony,

Here is the command tha ti am using from the Windows Command Prompt

c:\xampp\php\php.exe c:\xampp\htdocs\openemr\modules\sms_email_reminder\cron_email_notification.php

I dont get any error message the command runs and return to the prompt

What is it that i might be doing wrong? Any ideas.

This is the missing link for automating emails from OpenEMR in windows

Thanks

God Bless

Saleem

tmccormi wrote on Thursday, May 26, 2011:

Since I don’t run windows, normally, I don’t know the answer off the top of my head.  I suspect it’s failing silently.  Perhaps Chris Lucena can help, he focused on Windows installs.
-Tony

phyaura-clucena wrote on Friday, May 27, 2011:

Saleem,

We haven’t dealt with the SMS aspects of the program on windows. So, we as well can’t advise on what the issue is off the top of our heads as well. But, we can certainly help diagnose the issue and get it working for you guys at a nominal fee. Please contact me off forum to coordinate more.

Regards,
Chris Lucena
clucena@phyuara.com
www.PHYAURA.com

saleemf wrote on Friday, May 27, 2011:

Hi Chris,

Which Clickatell API are you using under LINUX.

Thanks

God Bless

Saleem

mdsupport wrote on Friday, May 27, 2011:

If the commands work in ‘batch’ mode but not in scheduler, you have an issue with either the working directory or user settings.  Have you tried putting absolute paths for the include statements? Also a couple of echo statements to debug would save you a lot of guesswork.

saleemf wrote on Friday, May 27, 2011:

Hi mdsupport,

Could you please be so kind as to expand on that a little,

What do you mean by absolute path and where would i adda couple of exho statements please

God Bless

Saleem

mdsupport wrote on Friday, May 27, 2011:

Without looking at the specific script, the basic troubleshooting steps are:

1. If there are any “include” in the script for standard code, change it to “require”.
2. Change the relative path like

include_once("../../interface/globals.php");

to something like

[b]require[/b]_once("c:\www\emr\interface\globals.php");

as an example.
3. Add the debug stuff before and after the include/require like

echo "Test globals";
include_once("../../interface/globals.php");
echo "Globals ok";

When you run the ‘batch’ mode, if you do not see the output “Globals ok” you have isolated the problem.

Whatever you do, once you resolve the issue, post your findings for the community.