https://github.com/caoshouse/dcmjs-dictionary
A tool to get DICOM dictionary informations from dcmjs library.
https://github.com/caoshouse/dcmjs-dictionary
dcmjs dicom dictionary nodejs
Last synced: 20 days ago
JSON representation
A tool to get DICOM dictionary informations from dcmjs library.
- Host: GitHub
- URL: https://github.com/caoshouse/dcmjs-dictionary
- Owner: caoshouse
- Created: 2022-09-23T11:49:12.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-09-23T12:11:05.000Z (over 3 years ago)
- Last Synced: 2025-08-14T23:48:03.785Z (10 months ago)
- Topics: dcmjs, dicom, dictionary, nodejs
- Language: TypeScript
- Homepage:
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# dcmjs-dictionary
A tool to get DICOM dictionary informations from [dcmjs][dcmjs-url] 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'
}
*/
[dcmjs-url]: https://github.com/dcmjs-org/dcmjs