@caoshouse/dcmjs-dictionary
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

dcmjs-dictionary

A tool to get DICOM dictionary informations from dcmjs library.

Note

Work in progress.

Install

npm install @caoshouse/dcmjs-dictionary

Examples

import DcmjsDictionary from '@caoshouse/dcmjs-dictionary';

/**
* Create a typescript type declaration
* Optionally a file name can be specified for saving the generated content to a .d.ts file
*/
new DcmjsDictionary().createDTS('file.to.save.d.ts')



new DcmjsDictionary().getNaturalizedData().PatientName
/**
 returns:

 {
  tag: '(0010,0010)',
    vr: 'PN',
    name: 'PatientName',
    vm: '1',
    version: 'DICOM'
  }
*/

Readme

Keywords

none

Package Sidebar

Install

npm i @caoshouse/dcmjs-dictionary

Weekly Downloads

1

Version

1.0.3

License

ISC

Unpacked Size

16.8 kB

Total Files

8

Last publish

Collaborators

  • caoshouse