2.0.8 • Published 11 months ago

ecg-dicom-web-viewer v2.0.8

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

ecg-dicom-web-viewer

This library allows viewing an ECG file in DICOM format in web view.

Installation

This module is distributed via npm which is bundled with node and should be installed as one of your project's dependencies:

// To install the newest version
npm install --save ecg-dicom-web-viewer

Example

  1. Once installed import the project.
// Import
import {
  ReadECG, //Optional.
  Constants, //Optional.
  DicomECGViewer, //Principal.
} from "ecg-dicom-web-viewer";
  1. Instantiate the new class with the necessary data and create the view.
//Load view:
let viewer = new DicomECGViewer(
  byteArray, //Data array ECG (XMLHttpRequest response array or...local open data)
  divView, //Div where to draw the view
  viewportIndex //View number, since you can have several views.
);
viewer.loadCanvas(); // Load canvas view.

Result

Documentation

Currently it works:

Features

2.0.5

11 months ago

2.0.4

11 months ago

2.0.7

11 months ago

2.0.6

11 months ago

2.0.8

11 months ago

2.0.3

12 months ago

2.0.2

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago