CMS (WordPress) Portal

sunsetsystems wrote on Tuesday, June 17, 2014:

Just wanted to mention that I’ve started documenting the upcoming CMS Portal:

http://open-emr.org/wiki/index.php/Patient_Portal#CMS_Portal

I’m not really soliciting code review yet, but here’s the current OpenEMR side of it based on a slightly older version of 4.1.3 development code:

https://github.com/sunsetsystems/openemr/commits/balexander-portal

The top 2 commits are the ones of interest. Preliminary comments are of course welcome.

More to come soon!

Rod
http://www.sunsetsystems.com/

bradymiller wrote on Saturday, June 21, 2014:

Hi Rod,

Sounds great. Looking forward to this; will there be a demo on the wordpress side of things to try it out?

-brady
OpenEMR

sunsetsystems wrote on Saturday, June 21, 2014:

Hi Brady, still mulling what to do about demos. Could it be reasonable to use one of the up-for-grabs machines for wordpress instead of openemr, with an automatic daily reset to a known state?

Rod
http://www.sunsetsystems.com/

bradymiller wrote on Saturday, June 21, 2014:

Hi Rod,

Can all the wordpress stuff be installed via bash commandline. If so, would be easy to incorporate it into a up for grabs demo:

If can be done, then I’d just add another option to the demo_farm_openemr/ip_map_branch.txt at master · bradymiller/demo_farm_openemr · GitHub script that toggles it to set up the wordpress demo rather than the openemr demo (could even get fancy and set up both the wordpress demo and openemr on the same demo (or on a different demo) and bring in a sql piece that contains the authentication stuff and settings on the openemr side).

-brady
OpenEMR

sunsetsystems wrote on Saturday, June 21, 2014:

Hi Brady, yes that sounds do-able. I could work up a shell script that downloads and installs the latest WP and needed components, and also restores the database from a dump. Putting openemr on the same server would also work for demo purposes, although it fundamentally violates the security concept. :slight_smile:

Rod
http://www.sunsetsystems.com/

bradymiller wrote on Sunday, June 22, 2014:

Sounds good. Keep the openemr sql file in a separate file since there is already a mechanism for bringing that in.
-brady
OpenEMR

sunsetsystems wrote on Friday, July 04, 2014:

Almost ready. If anyone is interested I have code to review here:

Rod
http://www.sunsetsystems.com/

arnabnaha wrote on Friday, July 04, 2014:

i created a wordpress site with the mentioned plugins…except the two optional ones at the end… I activated the portal in thew openemr with all the site address, username and password. but, how a patient can add himself…can you please clear it out. couldnt find in the wiki

sunsetsystems wrote on Friday, July 04, 2014:

Hi Arnab, if you have WP configured to allow self-registration then a patient can create their own account there. Then they can fill out the demographics form and clinic staff can add them to OpenEMR as part of the processing of that form. Or they can fill out the demographics form without self-registering, and the clinic staff can handle that too.

But you’ll need the portal plugin and some sample forms before you can do that. Coming soon!

Rod
http://www.sunsetsystems.com/

bradymiller wrote on Saturday, July 05, 2014:

Hi Rod,

Placed a review on github:
https://github.com/sunsetsystems/openemr/commit/3238e410232ce4d322ae828f65843d62eeca3770

-brady
OpenEMR

sunsetsystems wrote on Sunday, July 06, 2014:

Thanks Brady! I have made your suggested changes and amended/replaced the commit.

By the way that same commit also adds data type 17 that you were asking about.

Rod
http://www.sunsetsystems.com/

sunsetsystems wrote on Sunday, July 06, 2014:

Arnab – and anyone else wanting to try this out – you can get the WordPress portal plugin as well as a couple of sample Ninja forms here:

http://www.sunsetsystems.com/download/portal/

Rod
http://www.sunsetsystems.com/

blankev wrote on Sunday, July 06, 2014:

Do I only have to download the ZIP file?
Place it in the root and UNZIP?
Mint17 compatible?

Except for long lines of characters, do I also need to download the Ninja files as an example or to get the feeling of Ninja forms? HOW??

Please advice

sunsetsystems wrote on Sunday, July 06, 2014:

Download the files to any convenient place on your PC.

To install the plugin from the WordPress admin dashboard, start with Plugins -> Add New -> Upload and browse to the zip file. Install and activate it.

To import a sample form go to Forms -> Import/Export and browse to the desired .ninja file. Remember you’ll need to also create a page for each form and add the page to your menu. Spend some time with the WP documentation to understand all this better.

Yes Mint 17 should be fine as either a server or workstation.

Rod
http://www.sunsetsystems.com/

bradymiller wrote on Monday, July 07, 2014:

Thanks Rod,
Looks good to go. Looking forward to trying to set up a demo on the demo farm with this thing.
-brady
OpenEMR

1 Like

sunsetsystems wrote on Monday, July 07, 2014:

Thanks again Brady, the repository push is done.

Still thinking about the demo situation. The database needs to be in sync with the versions of WordPress and its themes and plugins, and updates to those happen fairly often. So I guess I’ll need to provide a complete package of web directory contents and database dump, and upgrade it from time to time. Can that be handled cleanly?

BTW just talking about Wordpress here. I think we can use the existing openemr dev demo for the openemr side of it.

Rod
http://www.sunsetsystems.com/

moshegorin wrote on Monday, July 07, 2014:

Thanks for all your hard work! I plan to test it out soon.

Quick question: For doctors in the USA - could the patient portal/Wordpress be run on a regular host with SSL or would the patient portal/Wordpress host also need to be HIPAA compliant?

bradymiller wrote on Monday, July 07, 2014:

Hi Rod,

Can be done. On the demo farm repo(https://github.com/bradymiller/demo_farm_openemr), plan to:

  1. Create a new portal directory
  2. Place wordpress web site in portal/web/
  3. Place the wordpress database file in portal/database/
  4. The openemr database file that contains customizations(turning on portal, name, password etc.) is separate and goes in pieces directory (there is already a mechanism to bring this into openemr)
    (For the web and database files, plan is to not package them(ie. no zip or tar))

Then will place a new toggle option in the demo farm that will set up wordpress portal from the web and database stuff in the portal directory. Shouldn’t be too tough.

-brady
OpenEMR

sunsetsystems wrote on Monday, July 07, 2014:

Moshe, HIPAA will certainly apply. But hosting per se is not certified as “HIPAA compliant”. The point is that if you use a third party to provide hosting then they have to be willing to execute a Business Associate Agreement and comply with all of the associated requirements and procedures. Most of my U.S. clients run their own servers in-house.

Rod
http://www.sunsetsystems.com/

sunsetsystems wrote on Monday, July 07, 2014:

Brady, great, just let me know what I should do. It would be ideal if I can install WP on the actual demo site, and then from time to time start it up in “maintenance mode” (so nobody else can log in), do updates, and copy the resulting files back to the github repo.

Rod
http://www.sunsetsystems.com/