nanodocumet/Nanodicom — Issue #7: Dictionaries are not loaded unless list of vrs is passed to parse
Author: nanodocumet
Created: 2011-10-13 02:07:11+00:00
State: open

Code like the one below will return no value.

$dicom = Nanodicom::factory($filename, 'simple');
$dicom->parse();
echo $dicom->PatientName;

The dictionaries are not forced to be loaded by name when no list of VRs are passed to parse(). The one below works:

$dicom = Nanodicom::factory($filename, 'simple');
$dicom->parse(array('PatientName'));
echo $dicom->PatientName;