Do you have a question?

First Name:
Surname:
Email:
Phone:
Message:
Get Audio Code

how to read the DICOMDIR file tags in console application using Clearcanvas
Last Post 24 Aug 2011 12:17 AM by stewart. 1 Replies.
Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages Not Resolved
Sunil RUser is Offline
New Member
New Member
Posts:3

--
16 Aug 2011 12:22 AM  

 Hi everyone, 

I am new to Clearcanvas, i jus to wanted to display the patients name, ID, Study_date and other tags from DICOMDIR file which contains multiple patients details, i have a DICOMDIR file which contains the following.

 

(0004,1130) CS (no value available)                     #    0 File-set ID
(0004,1200) UL (no value available)                     #    0 Offset of the Fi
(0004,1202) UL (no value available)                     #    0 Offset of the La
(0004,1212) US (no value available)                     #    0 File-set Consist
(0004,1220) SQ Directory Record Sequence
 Item:
  > (0004,1430) CS [STUDY]                              #    6 Directory Record
  > (0004,1500) CS [S330630\DIRFILE]                    #   16 Referenced File 
  > (0008,0005) CS [ISO_IR 100]                         #   10 Specific Charact
  > (0008,0020) DA [20110224]                           #    8 Study Date
  > (0008,0030) TM [125444]                             #    6 Study Time
  > (0008,0050) SH (no value available)                 #    0 Accession Number
  > (0008,0054) AE [DATABASE]                           #    8 Retrieve AE Titl
  > (0008,0061) CS [CT]                                 #    2 Modalities in St
  > (0008,0090) PN [DR]                                 #    2 Referring Physic
  > (0008,1030) LO [ABDOMEN]                            #    8 Study Descriptio
  > (0008,1070) PN [VK]                                 #    2 Operators' Name
  > (0010,0010) PN [dsfsdfdsdfddsf  57/F]               #   20 Patient's Name
  > (0010,0020) LO [2574862]                            #    8 Patient ID
  > (0010,0030) DA (no value available)                 #    0 Patient's Birth 
  > (0010,0040) CS [F]                                  #    2 Patient's Sex
  > (0010,1010) AS [057Y]                               #    4 Patient's Age
  > (0020,000d) UI [1.2.840.113704.1.111.4016.129853    #   40 Study Instance U
  > (0020,0010) SH [33063]                              #    6 Study ID
  > (0020,1206) IS [4]                                  #    2 Number of Study 
  > (0020,1208) IS [18]                                 #    2 Number of Study 
  > (0040,a120) DT [20110415134230.898]                 #   18 DateTime
  > (00e1,0010) LO [ELSCINT1]                           #    8 Private Tag
  > (00e1,1005) IS [0]                                  #    2 Private Tag
  > (00e1,1006) IS [0]                                  #    2 Private Tag
  > (00e1,1007) IS [0]                                  #    2 Private Tag
 
 Item:
  > (0004,1430) CS [STUDY]                              #    6 Directory Record
  > (0004,1500) CS [S330720\DIRFILE]                    #   16 Referenced File 
  > (0008,0005) CS [ISO_IR 100]                         #   10 Specific Charact
  > (0008,0020) DA [20110224]                           #    8 Study Date
  > (0008,0030) TM [140701]                             #    6 Study Time
  > (0008,0050) SH (no value available)                 #    0 Accession Number
  > (0008,0054) AE [MXV]                                #    4 Retrieve AE Titl
  > (0008,0061) CS [CT]                                 #    2 Modalities in St
  > (0008,0080) LO [K.M.C. HOSPITALS]                   #   16 Institution Name
  > (0008,0090) PN [DR]                                 #    2 Referring Physic
  > (0008,1030) LO [ABDOMEN]                            #    8 Study Descriptio
  > (0008,1070) PN [VK]                                 #    2 Operators' Name
  > (0010,0010) PN [gnfgfg fdgf    66/F]                #   20 Patient's Name
  > (0010,0020) LO [2785446]                            #    8 Patient ID
  > (0010,0030) DA (no value available)                 #    0 Patient's Birth 
  > (0010,0040) CS [F]                                  #    2 Patient's Sex
  > (0010,1010) AS [066Y]                               #    4 Patient's Age
  > (0020,000d) UI [1.2.840.113704.1.111.4016.129853    #   40 Study Instance U
  > (0020,0010) SH [33072]                              #    6 Study ID
  > (0020,1206) IS [1]                                  #    2 Number of Study 
  > (0020,1208) IS [8]                                  #    2 Number of Study 
  > (0040,a120) DT [20110415134247.339]                 #   18 DateTime
  > (00e1,0010) LO [ELSCINT1]                           #    8 Private Tag
  > (00e1,1005) IS [0]                                  #    2 Private Tag
  > (00e1,1006) IS [0]                                  #    2 Private Tag
  > (00e1,1007) IS [0]                                  #    2 Private Tag
 
 
 
I want to get each study details in my console output seperatly, and want to store those data into database which contains different tables, patient, study, series, and image, containing details of particulers.

stewartUser is Offline
Veteran Member
Veteran Member
Posts:2359

--
24 Aug 2011 12:17 AM  
I believe there is a class in ClearCanvas.Dicom called DicomDirectory (I think) that will parse the DICOM Directory and return Patient, Study, Series, etc.
You are not authorized to post a reply.

Active Forums 4.1