Skip to content

Latest commit

 

History

History

ccdaservice

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

About

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

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.
  • The Carecoordination module setting for Mirth IP must be set to localhost. Menu item: Modules->Manage Modules click in Carecoordination Config, the settings tab. Also add any other appropriate settings.
  • 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 --production

This will ensure the lastest libraries are installed.

Ubuntu Setup

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_9.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 --production

Windows Setup

  • Download and install nodejs v9.4 for your windows version.
  • 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 --production windows-build-tools
  • npm install --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 [email protected]
	GNU GPL