Querying with findscu

  • So I have a conquest server happily running under linux using mysql. I can happily send images to the database, and they are properly stored, and can be found via a search.


    If I want to list the studies on the server using the dcmtk's findscu, I can do it with:

    Code
    findscu -v -S -k 0009,1002= -k 0010,0010= -k 0010,0020= -k 0008,1030= -k 0008,0020= -k 0020,0010= -k 0008,0052=STUDY -k 8,20= -k 8,30= -k 0020,000D= -aec conquest servername 5678


    This gives me back 86 responses (for 86 studies currently in the DB), but each response is using the UN field code, and spitting out ASCII codes:

    Code
    # Dicom-Data-Set# Used TransferSyntax: LittleEndianExplicit(0008,0020) UN 32\30\30\36\30\39\31\34 # 8, 1 StudyDate(0008,0030) UN 31\31\33\32\34\36 # 6, 1 StudyTime(0008,0052) UN 53\54\55\44\59\20 # 6, 1 QueryRetrieveLevel(0008,1030) UN 4d\52\20\42\52\41\49\... # 14, 1 StudyDescription(0010,0010) UN 57\49\54\... # 16, 1 PatientsName(0010,0020) UN 31\36\32\... # 10, 1 PatientID(0020,000d) UN 31\2e\32\2e\31\32\34\2e\31\31\33\35\33\32\... # 52, 1 StudyInstanceUID(0020,0010) UN 32\36\35\35\33\20 # 6, 1 StudyID


    (I added the ... to replace possibly identifying fields)


    This seems to be stopping Osirix and e-film from properly qurying the server, as every other (nonConquest) dicom server I query responds back knowing the field codes and using real ASCII. Here's one of many examples:


    Am I missing a dicom dictionary somewhere? Can I specify a specific response syntax?


    Thanks for the help,
    Rex

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!