Skip to content

Simple nodejs server that simulates the EHR's side of a CDS Hooks interaction

License

Notifications You must be signed in to change notification settings

cds-hooks/cds-invoker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cds-invoker

Build Status devDependency Status

Simple nodejs server that simulates the EHR's side of a CDS Hooks interaction, for testing purposes.

Usage

This service exposes one API call (invoke) that causes it to call the external CDS Service and pass through the resulting cards.

POST /invoke
{
  "service": "https://invoker.cds-hooks.org",
  "payload": {
    // data to call with
  }
}

Deployment

This card service can be deployed with docker. By default, the Dockerfile exposes port 3000. Creating the docker container can be done by:

$ docker build -t <your-name>/cds-invoker .
Successfully built <container-id>

$ docker run -p 3000:3000 -d --rm <your-name>/cds-invoker

About

Simple nodejs server that simulates the EHR's side of a CDS Hooks interaction

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published