FINDSCU INFORMATION MODELS

All other questions regarding DCMTK

Moderator: Moderator Team

Message
Author
Ebaad
Posts: 5
Joined: Fri, 2006-02-17, 19:17

#16 Post by Ebaad »

Just did something different, I ran the same file with -P option and gave me the following output,

Requesting Association
Association Accepted (Max Send PDV: 64500)
Find SCU RQ: MsgID 1
REQUEST:

# Dicom-Data-Set
# Used TransferSyntax: LittleEndianExplicit
(0008,0050) SH (no value available) # 0, 0 AccessionNumber

(0010,0010) PN [A*] # 2, 1 PatientsName
(0010,0020) LO (no value available) # 0, 0 PatientID
(0010,0030) DA (no value available) # 0, 0 PatientsBirthDa
te
(0010,0040) CS (no value available) # 0, 0 PatientsSex
(0032,1060) LO (no value available) # 0, 0 RequestedProced
ureDescription
(0040,0100) SQ (Sequence with explicit length #=1) # 80, 1 ScheduledProced
ureStepSequence
(fffe,e000) na (Item with explicit length #=9) # 72, 1 Item
(0008,0060) CS (no value available) # 0, 0 Modality
(0040,0001) AE (no value available) # 0, 0 ScheduledSt
ationAETitle
(0040,0002) DA (no value available) # 0, 0 ScheduledPr
ocedureStepStartDate
(0040,0003) TM (no value available) # 0, 0 ScheduledPr
ocedureStepStartTime
(0040,0006) PN (no value available) # 0, 0 ScheduledPe
rformingPhysiciansName
(0040,0007) LO (no value available) # 0, 0 ScheduledPr
ocedureStepDescription
(0040,0009) SH (no value available) # 0, 0 ScheduledPr
ocedureStepID
(0040,0010) SH (no value available) # 0, 0 ScheduledSt
ationName
(0040,0011) SH (no value available) # 0, 0 ScheduledPr
ocedureStepLocation
(fffe,e00d) na (ItemDelimitationItem for re-encoding) # 0, 0 ItemDelimitat
ionItem
(fffe,e0dd) na (SequenceDelimitationItem for re-encod.) # 0, 0 SequenceDelimit
ationItem
(0040,1001) SH (no value available) # 0, 0 RequestedProced
ureID
(0040,1003) SH (no value available) # 0, 0 RequestedProced
urePriority
--------
C-Find RSP: MsgID: 1 [Status=Failed: IdentifierDoesNotMatchSOPClass]
AffectedSOPClassUID: =FINDPatientRootQueryRetrieveInformationModel
Data Set: Not Present
Releasing Association


Please help,
Thanks,
Ebaad.

Ebaad
Posts: 5
Joined: Fri, 2006-02-17, 19:17

#17 Post by Ebaad »

Finally I got the following query working for me from the .dcm file,

# query patient names and IDs
(0008,0052) CS [STUDY] # QueryRetrieveLevel
(0010,0010) PN [A*] # PatientsName
(0010,0020) LO [] # PatientID
(0008,0060) CS [] # Modality
(0008,0020) DA [20060319] # Date of Exam
(0008,0050) SH [] # AccessionNumber
(0008,1090) LO [] # AccessionNumber

I know I have asked this question before but I would really apprecaite if somebody can give me an example of how to get the MODALITY value back in the results, as it is not showing up.

Thanks,
Ebaad.

Marco Eichelberg
OFFIS DICOM Team
OFFIS DICOM Team
Posts: 1473
Joined: Tue, 2004-11-02, 17:22
Location: Oldenburg, Germany
Contact:

#18 Post by Marco Eichelberg »

I know I have asked this question before but I would really apprecaite if somebody can give me an example of how to get the MODALITY value back in the results, as it is not showing up.
Modality (0008,0060) is a return key on SERIES level, not on STUDY level. The query you have posted is not well-formed since it combines keys from different levels of the information model, which is only allowed with the optional "relational retrieve" function that is not supported by most Q/R SCPs.

Ebaad
Posts: 5
Joined: Fri, 2006-02-17, 19:17

Re: FINDSCU INFORMATION MODELS

#19 Post by Ebaad »

After 17 years, I am back to the same question, but was able to resolve it.

I ran the following file through dump2dcm and created a .dcm file

Code: Select all

(0008,0050) SH []  					#     6,  1  AccessionNumber
(0010,0010) PN []                                       #     6,  1  PatientName
(0010,0020) LO []                                       #     6,  1  PatientID
(0010,0030) DA []                                       #     8,  1  PatientBirthDate
(0010,0040) CS []                                       #     2,  1  PatientSex
(0032,1060) LO []                                       #     8,  1  RequestedProcedureDescription
(0040,0100) SQ                                             #   250,  1  ScheduledProcedureStepSequence
  (fffe,e000) na                                             #   242,  1  Item
    (0008,0060) CS []                                       #     2,  1  Modality
    (0040,0001) AE []                                       #     8,  2  ScheduledStationAETitle
    (0040,0002) DA []                                       #     8,  1  ScheduledProcedureStepStartDate
    (0040,0003) TM []                                       #     6,  1  ScheduledProcedureStepStartTime
    (0040,0006) PN []                                       #     8,  1  ScheduledPerformingPhysiciansName
    (0040,0007) LO []                                       #     8,  1  ScheduledProcedureStepDescription
    (0040,0009) SH []                                       #     8,  1  ScheduledProcedureStepID
    (0040,0010) SH []                                       #     6,  2  ScheduledStationName
    (0040,0011) SH []                                       #     4,  1  ScheduledProcedureStepLocation
  (fffe,e00d) na (ItemDelimitationItem for re-encoding)   #     0,  1  ItemDelimitationItem
(fffe,e0dd) na (SequenceDelimitationItem for re-enc.)   #     0,  1  SequenceDelimitationItem
(0040,1001) SH []                                       #     6,  1  RequestedProcedureID
(0040,1003) SH []                                       #     4,  1  RequestedProcedurePriority
Executed the following command, also defined the output format and output directory to create an XML file.

findscu -od ../includes/ -Xs -P 10.10.10.20 1104 ..\includes\query2.dcm

Michael Onken
DCMTK Developer
Posts: 2067
Joined: Fri, 2004-11-05, 13:47
Location: Oldenburg, Germany
Contact:

Re: FINDSCU INFORMATION MODELS

#20 Post by Michael Onken »

Ebaad wrote: Tue, 2023-07-25, 14:42 After 17 years, I am back to the same question, but was able to resolve it.
It took a little while but what the heck :) Glad that it works for you now and that you remember this old post ;)

BR Michael

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 1 guest