1.0.12 • Published 4 months ago

@kno2/ccdaview v1.0.12

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
4 months ago

SialiaJS

Sialia is an embeddable C-CDA rendering library. It breaks down CDA documents into sections, allowing clinical users to order and select sections that are relevant to their job.

Installation

npm

npm add github:Kno2/sialia

npm

npm install --save github:Kno2/sialia

Usage

import { Sialia } from 'sialia';

ctrl.sialia = new Sialia({
    docs: [{
        name: 'Document Name',
        url: '/path/to/cda.xml'
    }]
});

The docs property is an array of document objects containing a name and url. Each URL would return an XML CDA document with a mime type of text/html; charset=utf-8. Here is an example docs array object:

[{
  name: "CCD_1",
  url: "http://sialia.ria.ms:80/file/CCD_1"
},
{
  name: "Doc2",
  url: "http://sialia.ria.ms:80/file/Doc2"
}]

Building

npm
npm build

Development

To use a development server and watch for file changes, run the following command:

npm start

BlueButton Updates

Sialia relies on a forked version of bluebutton.js:

https://github.com/Kno2/bluebutton.js

License

Licensed under Apache 2 - see License

1.0.12

4 months ago

1.0.11

7 months ago

1.0.10

11 months ago

1.0.9

1 year ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.4

2 years ago

1.0.3

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago