🔍
VR Format Validation
Validates 15 Value Representation types including AE, DA, UI, and more to ensure DICOM standard compliance.
A lightweight validation library that comprehensively checks VR, VM, and IOD structure
npm install dicom-validator-tsimport { validate } from 'dicom-validator-ts'
const result = await validate('path/to/dicom-file.dcm')
if (result.passed) {
console.log('Validation passed')
} else {
console.log(`Errors: ${result.summary.errors}`)
result.findings.forEach(f => console.log(` [${f.rule}] ${f.message}`))
}