Skip to content

Node.JS simple API responder the uses Amida Tech's CDA Bluebutton Module. Dockerfile included also.

License

Notifications You must be signed in to change notification settings

pacmano1/bluebutton

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node.js CDA Parser

This project is a simple Node.js application that uses Amida Tech's excellenet Blue Button to parse Continuity of Care Documents (CCDs). It exposes an endpoint where you can POST a base64 encoded CCD (also known as CDA) and it will return the parsed CCD as JSON. This is not a fork of their project.

Prerequisites

  • Node.js 16+
  • Docker (optional)

Installation

Clone the repository:

git clone https://github.com/pacmano1/bluebutton.git
cd <your-repository>

Install the dependencies:

npm install

Start the application:

node bluebutton_node_listener.js 

The server will start on http://localhost:3000

Usage

POST a JSON payload to http://localhost:3000/bb with the following structure:

{
  "cda": "<base64-encoded CDA>"
}

The server will respond with the parsed CDA in JSON format:

{
 "cda_json": "<parsed CDA>"
}

Docker

The project also contains a Dockerfile, so you can build and run the application using Docker:

docker build -t cda-parser .
docker run -p 3000:3000 cda-parser

The server will start on http://localhost:3000

License

License

This project is licensed under the terms of the MIT license.

About

Node.JS simple API responder the uses Amida Tech's CDA Bluebutton Module. Dockerfile included also.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published