Getting the Care Coordination Module to Work

**I have installed OpenEMR on a test machine and I am using the XAMPP package. I am trying to load the Care Coordination module, and it throws an error that it cannot find Node. I am assuming that it cannot find Node.js.

I have reviewed the instructions for configuring the Care Coordination module, but I don’t understand how to go about installing Node.js.

Thank you**

You can follow this tutorial https://www.youtube.com/watch?v=8FjrJ51fyqo

1 Like

Luis -

Thank you. Do I need a specific version of Node.js? Also, do I need to need to anything with Node.js as it pertains to the ccdaservice directory in the OpenEmr folder. Earlier instructions which were confusing made reference to this directory.

Thank you,

Robert

Did you follow Readme.md in ccdaservice directory?

1 Like

MD Support that you very much. I appreciate your help. I will check out the Readme.md file.

Robert

MD Support -

The Readme file makes reference to Node.js version 22 but only if you are building from the code repository. I used XAMPP. The file does not make mention of installing Node.js within the ccdaservice directory. Therefore, I am assuming that I should run version 22 of Node.js on the computer as a service and that will allow OpenEMR to run the Care Coordination module. Am I missing something?

Thank you,

Robert

Since node version requirement can and will change or if using on dev machine recommend NVM

A. Install NVM for Windows

  1. Download the installer:
    Releases · coreybutler/nvm-windows · GitHub
    (choose nvm-setup.exe)

  2. Run the installer and accept default paths.

  3. Close and reopen Command Prompt or PowerShell.


B. Install the Node Version Required by CCDAServer

Open a terminal and run:

  1. Verify NVM is installed:

    nvm version
    
    
  2. Install Node 22 (currently recommended for CCDA service, I think!):

    nvm install 22
    
    

    Or install Node 24:

    nvm install 24
    
    
  3. Activate the version:

    nvm use 24
    
    

Go to ccdaservice directory and npm install

Re: edit where I mistyped install URL

Jerry -

Thank you. At the end of your instructions, when I navigate to the ccdaservice directory, do I type npm i? Is there something else I need to type?

Nope not unless you want to type “Where do I donate a million dollars?”. :slight_smile:

Jerry -

Thanks. I was able to install Node version 24.12.0. When I run NPM i – I get several deprecated warnings, but at the end of the code build I am told that 485 packages were added.

When I try to run the Care Coordination Module in OpenEMR, I get the following message: “Windows cannot find ‘node’. Make sure you types the name correctly, and then try again.” When I try to start the Care Coordination module, I am not asked any questions, it just spits out the above error message.

In readme I point out to ensure node exe path is added to environment path. Installer I believe asked to do for you and maybe should have mentioned in post.

Jerry - not sure that I follow. When I review the read.md file, I don’t see a reference to the node.exe path. I don’t recall being prompted during the installation process for the node exe path. Do I need to uninstall and use different commands?

Thank you,

Robert

okay sorry we used NVM so if you used default paths then add C:\nvm4w\nodejs to the path var from System Properties environment variables.

Jerry:

I have a path variable set for both the user and the system, and I am still getting the same error message. I have configured the Care Coordination module in the OpenEMR administration section.

Robert

Did you restart? Can you run node -v or start the service with node serveccda from ccdaservice then create CDA in app.

Also verify node isn’t already running in Task manager.

Jerry -

Thank you. At the command line, when I type node -v, I am told that I am running v24.12.0.

Node is not running as a service in Task Manager.

When I try to manually start the service in the C:\xampp\htdocs\openemr\ccdaservice directory, the system just hangs.

Whenever I try to run Care Coordination module, it tries to generate a report, and I get the following error message: Cannot complete report request. Node Service is not running.

When I try to manually start the service, I am using the command node serveccda

But the system just hangs.

Thank you for your help.

Wait…it seems to be working now. Not sure why? Looks like I can try Export and Import CCDA or QRDA documents.

Not hangs, the service is running in foreground for that thread. You should be able to go back to openemr CCM and create a CCDA. Any errors will show where you started the service. To stop service do ctrl-c where you started node ccdaservice dir.

What is strange is that I have my Command Prompt open and the command node serveccda is still running. I just have a flashing cursor. This have been happening for five minutes.