printLevel = 1
### Build the DicomDir element list
-dicomdir = gdcm.DicomDir()
+dicomdir = gdcm.DicomDir.New()
dicomdir.SetStartMethod(startMethod)
dicomdir.SetProgressMethod(progressMethod)
image=serie.GetFirstImage()
while(image):
print " Image"
- print " ---",image.GetValEntry(0x0004,0x1500).GetValue()
+ print " ---",image.GetDataEntry(0x0004,0x1500).GetString()
image=serie.GetNextImage()
serie=study.GetNextSerie()
study=patient.GetNextStudy()