You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Ken Schaefer c59cac0cb8 Add openemr to git 2 years ago
..
oe-blue-button-generate Add openemr to git 2 years ago
oe-blue-button-meta Add openemr to git 2 years ago
oe-blue-button-util Add openemr to git 2 years ago
README.md Add openemr to git 2 years ago
ccda_gateway.php Add openemr to git 2 years ago
package-lock.json Add openemr to git 2 years ago
package.json Add openemr to git 2 years ago
serveccda.js Add openemr to git 2 years ago

README.md

About

This module/service will provide the necessary template engine to create a Patient Summary CCD. CCD's can be generated from the Onsite Patient Portal or the Carecoordination Module.

Beside installing the C-CDA service, also included in this install are two new services.

  • oe-schematron-service for validating QRDA and CDA type documents. Runs on port 6662.
  • oe-cqm-service is our CQM calculator service. Runs on port 6660

Prepare

  • If not already completed, you must install/initialize the CCM features by going to the Modules->Manage Modules top menu then click Unregistered tab and install the necessary components.
  • Add any appropriate settings like granting Access Control for the appropriate users. Menu item: Modules->Manage Modules->Access Control->General->Care Coordination.
  • Ensure all appropriate fields are populated in Modules->Manage Modules Settings tab such as Author, Primary Care Provider and so forth.
  • Ignore any errors that do not throw you back to command prompt when using npm install as some libs need to be compiled and is verbose about it.

Updating

Whenever there are new versions or updates, be sure to navigate into the ccdaservice directory and run:

  • npm i --only=production

This will ensure the lastest libraries are installed.

Ubuntu Setup

  • Latest version tested is node v16

If node is not already installed then do the following:

  • cd ~
  • apt-get remove --purge nodejs npm // Ensures clean install and will allow chance to cleanup.
  • curl -sL https://deb.nodesource.com/setup_16.x | sudo -E bash -
  • sudo apt-get install -y nodejs

Navigate to: openemr/ccdaservice and run the following to install requires dependencies.

  • sudo npm install --only=production

Windows Setup

  • Download and install nodejs for your windows version.
    • Latest version tested is node v16.13.1
  • Ensure system variable NODE_PATH is set i.e %USERPROFILE%\AppData\Roaming\npm\node_modules.

Navigate to: openemr/ccdaservice and run the following from an elevated PowerShell or CMD.exe (run as Administrator):

  • npm install --global --only=production windows-build-tools. (Deprecated) No longer required unless for some reason your environment doesn't have libxmljs binary available.
  • npm install --only=production

Use

  • CCDA service must be enabled in OpenEMR's menu Globals->Connectors.
  • This service will automatically start on demand when required by OpenEMR.

Developing

  • Note that these scripts run in strict mode so javascript will hold you very much accountable with how objects and variables are handled.
  • For now, node modules are run local to service directory so all support dependecies are installed there.

Tools

  • The nodejs ccda service now starts on demand.

License

    Copyright 2018-2022 sjpadgett@gmail.com
    https://github.com/openemr/openemr/blob/master/LICENSE GNU General Public License 3