Hi Steve
Thanks a lot for sending to me the link to ScriptRepository.
I can access to tags such as (0020,0010) to (300a,000c), but unfortunately I can not read tags that are located in item, such as (300a,012c), highlighted in the following figure.
The following figure is screenshot of DICOM File Browser and the tag that I want to access its value (300a,012c).
I enter the following commands:
>>> patientList=db.patients()
>>> studyList=db.studiesForPatient(patientList[0])
>>> seriesList=db.seriesForStudy(studyList[0])
>>> fileList=db.filesForSeries(seriesList[0])
>>> print(db.fileValue(fileList[0],‘300a,000c’))
PATIENT
>>> print(db.fileValue(fileList[0],‘300a,012c’))
>>>
As you see, the last command dose not give any output.
Please guide me to access tags that are loacted in Items.
Thanks a lot.
Shahrokh.