Q/R model testing

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
hakan
Posts: 5
Joined: Tue, 2010-02-23, 16:37

Q/R model testing

#1 Post by hakan »

hello Offis;
I try to use "Patient Root" Q/R model with eFilm 2.1 (as SCP ) but I can't. After read lot of message on this forum, as I understood, eFilm does not support "Patient Root" Q/R model.

Here is my test:

Code: Select all

C:\dcmtk-3.5.4\bin\Release>findscu.exe -v -P -aec AK_CLIENT -k 0008,0052=PATIENT -k 0010,0020=*  192.168.67.155 4006

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

# Dicom-Data-Set
# Used TransferSyntax: UnknownTransferSyntax
(0008,0052) CS [PATIENT]                                #   8, 1 QueryRetrieveLe
vel
(0010,0020) LO [*]                                      #   2, 1 PatientID
--------
findscu: Find Failed, query keys:

# Dicom-Data-Set
# Used TransferSyntax: UnknownTransferSyntax
(0008,0052) CS [PATIENT ]                               #   8, 1 QueryRetrieveLe
vel
(0010,0020) LO [* ]                                     #   2, 1 PatientID
0006:0319 DUL Peer Requested Release
findscu: Protocol Error: peer requested release (Aborting)
Aborting Association

C:\dcmtk-3.5.4\bin\Release>
but in "Study Root" level:

Code: Select all

C:\dcmtk-3.5.4\bin\Release>findscu.exe -v -S -aec AK_CLIENT -k 0008,0052=STUDY -k 0010,0020=L02* 192.168.67.155 4006

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

# Dicom-Data-Set
# Used TransferSyntax: UnknownTransferSyntax
(0008,0052) CS [STUDY]                                  #   6, 1 QueryRetrieveLe
vel
(0010,0020) LO [L02*]                                   #   4, 1 PatientID
--------
DIMSE Warning: (FINDSCU,AK_CLIENT): findUser: Pending with statusDetail, ignorin
g detail
RESPONSE: 1 (Pending)

# Dicom-Data-Set
# Used TransferSyntax: LittleEndianImplicit
(0008,0000) UL 126                                      #   4, 1 IdentifyingGrou
pLength
(0008,0016) UI []                                       #  28, 1 SOPClassUID
(0008,0020) DA [20090809]                               #   8, 1 StudyDate
(0008,0030) TM [091817]                                 #   6, 1 StudyTime
(0008,0050) SH [4341988 ]                               #   8, 1 AccessionNumber

(0008,0060) CS [CR]                                     #   2, 1 Modality
(0008,0090) PN [DR75]                                   #   4, 1 ReferringPhysic
iansName
(0008,1030) LO [Skull ]                                 #   6, 1 StudyDescriptio
n
(0008,1040) LO (no value available)                     #   0, 0 InstitutionalDe
partmentName
(0010,0000) UL 62                                       #   4, 1 PatientGroupLen
gth
(0010,0010) PN [MEHMET^YIGIT]                           #  12, 1 PatientsName
(0010,0020) LO [L0218290]                               #   8, 1 PatientID
(0010,0030) DA [19570401]                               #   8, 1 PatientsBirthDa
te
(0010,0040) CS [M ]                                     #   2, 1 PatientsSex
(0020,0000) UL 74                                       #   4, 1 ImageGroupLengt
h
(0020,000d) UI [1.2.826.0.1.3680043.8.165.4301001.10306356] #  42, 1 StudyInstan
ceUID
(0020,0010) SH [171609080947859 ]                       #  16, 1 StudyID
--------
C-Find RSP: MsgID: 1 [Status=Success]
  AffectedSOPClassUID: =FINDStudyRootQueryRetrieveInformationModel
  Data Set: Not Present
  Status Detail:

# Dicom-Data-Set
# Used TransferSyntax: LittleEndianImplicit
(0000,0110) US 1                                        #   2, 1 MessageID
(0000,0700) US 2                                        #   2, 1 Priority
Releasing Association

C:\dcmtk-3.5.4\bin\Release>
I have tested these querys dcmqrscp and DVTk Query/Retrieve emulator too and findscu.exe running good.

I want to learn; Is enable testing the SCP that is support "Patient Root" Q/R model or not. Because I want to able to change my Q/R model acording to SCP ability in my application.

best regards

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

#2 Post by Michael Onken »

Hi,

Code: Select all

C:\dcmtk-3.5.4\bin\Release>findscu.exe -v -P -aec AK_CLIENT -k 0008,0052=PATIENT -k 0010,0020=*  192.168.67.155 4006

Requesting Association
Association Accepted (Max Send PDV: 16372) 
So that looks like eFilm accepts the proposed Patient Root Model but then after receiving the query just ends the association (DICOM connection). That is not a normal behaviour. You could use the -d option to get some more information, if there is some. For me it looks like an eFilm bug but I can't say for sure.

Code: Select all

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

# Dicom-Data-Set
# Used TransferSyntax: UnknownTransferSyntax
(0008,0052) CS [STUDY]                                  #   6, 1 QueryRetrieveLe
vel
(0010,0020) LO [L02*]                                   #   4, 1 PatientID
--------
DIMSE Warning: (FINDSCU,AK_CLIENT): findUser: Pending with statusDetail, ignorin
g detail
RESPONSE: 1 (Pending)

# Dicom-Data-Set
# Used TransferSyntax: LittleEndianImplicit
(0008,0000) UL 126                                      #   4, 1 IdentifyingGrou
pLength
(0008,0016) UI []                                       #  28, 1 SOPClassUID
(0008,0020) DA [20090809]                               #   8, 1 StudyDate
(0008,0030) TM [091817]                                 #   6, 1 StudyTime
(0008,0050) SH [4341988 ]                               #   8, 1 AccessionNumber

(0008,0060) CS [CR]                                     #   2, 1 Modality
(0008,0090) PN [DR75]                                   #   4, 1 ReferringPhysic
iansName
(0008,1030) LO [Skull ]                                 #   6, 1 StudyDescriptio
n
(0008,1040) LO (no value available)                     #   0, 0 InstitutionalDe
partmentName
(0010,0000) UL 62                                       #   4, 1 PatientGroupLen
gth
(0010,0010) PN [MEHMET^YIGIT]                           #  12, 1 PatientsName
(0010,0020) LO [L0218290]                               #   8, 1 PatientID
(0010,0030) DA [19570401]                               #   8, 1 PatientsBirthDa
te
(0010,0040) CS [M ]                                     #   2, 1 PatientsSex
(0020,0000) UL 74                                       #   4, 1 ImageGroupLengt
h
(0020,000d) UI [1.2.826.0.1.3680043.8.165.4301001.10306356] #  42, 1 StudyInstan
ceUID
(0020,0010) SH [171609080947859 ]                       #  16, 1 StudyID
--------
C-Find RSP: MsgID: 1 [Status=Success]
  AffectedSOPClassUID: =FINDStudyRootQueryRetrieveInformationModel
  Data Set: Not Present
  Status Detail: 
So, actually that seems to work, correct. However, the response does not match the query: you are just asking for a patient ID and returned are many many other attributes, too. This is not permitted in the DICOM standard.

Best regards,
Michael

hakan
Posts: 5
Joined: Tue, 2010-02-23, 16:37

#3 Post by hakan »

First of all, thanks for your interest.
Here is my test with debug options. ( NOTE: on the server; port 104 listen by dcmqrscp.exe, port 4006 listen by eFilm and they use same dicom files on their database.)

First; dcmqrscp.exe response:

Code: Select all

C:\dcmtk-3.5.4\bin\Release>findscu.exe -v -d -aec AK_CLIENT -P -k 0008,0052=PATIENT -k 0010,0020 192.168.67.155 104

Request Parameters:
Our Implementation Class UID:    1.2.276.0.7230010.3.0.3.5.4
Our Implementation Version Name: OFFIS_DCMTK_354
Their Implementation Class UID:    
Their Implementation Version Name: 
Application Context Name:    1.2.840.10008.3.1.1.1
Calling Application Name:    FINDSCU
Called Application Name:     AK_CLIENT
Responding Application Name: resp AP Title
Our Max PDU Receive Size: 16384
Their Max PDU Receive Size: 0
Presentation Contexts:
  Context ID:        1 (Proposed)
    Abstract Syntax: =FINDPatientRootQueryRetrieveInformationModel
    Proposed SCP/SCU Role: Default
    Accepted SCP/SCU Role: Default
    Proposed Transfer Syntax(es):
      =LittleEndianExplicit
      =BigEndianExplicit
      =LittleEndianImplicit
Requested Extended Negotiation: none
Accepted Extended Negotiation: none
Requesting Association
Constructing Associate RQ PDU
PDU Type: Associate Accept, PDU Length: 186 + 6 bytes PDU header
  02  00  00  00  00  ba  00  01  00  00  41  4b  5f  43  4c  49
  45  4e  54  20  20  20  20  20  20  20  46  49  4e  44  53  43
  55  20  20  20  20  20  20  20  20  20  00  00  00  00  00  00
  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00
  00  00  00  00  00  00  00  00  00  00  10  00  00  15  31  2e
  32  2e  38  34  30  2e  31  30  30  30  38  2e  33  2e  31  2e
  31  2e  31  21  00  00  1b  01  00  00  00  40  00  00  13  31
  2e  32  2e  38  34  30  2e  31  30  30  30  38  2e  31  2e  32
  2e  31  50  00  00  3a  51  00  00  04  00  00  40  00  52  00
  00  1b  31  2e  32  2e  32  37  36  2e  30  2e  37  32  33  30
  30  31  30  2e  33  2e  30  2e  33  2e  35  2e  34  55  00  00
  0f  4f  46  46  49  53  5f  44  43  4d  54  4b  5f  33  35  34

Association Parameters Negotiated:
Our Implementation Class UID:    1.2.276.0.7230010.3.0.3.5.4
Our Implementation Version Name: OFFIS_DCMTK_354
Their Implementation Class UID:    1.2.276.0.7230010.3.0.3.5.4
Their Implementation Version Name: OFFIS_DCMTK_354
Application Context Name:    1.2.840.10008.3.1.1.1
Calling Application Name:    FINDSCU
Called Application Name:     AK_CLIENT
Responding Application Name: AK_CLIENT
Our Max PDU Receive Size: 16384
Their Max PDU Receive Size: 16384
Presentation Contexts:
  Context ID:        1 (Accepted)
    Abstract Syntax: =FINDPatientRootQueryRetrieveInformationModel
    Proposed SCP/SCU Role: Default
    Accepted SCP/SCU Role: Default
    Accepted Transfer Syntax: =LittleEndianExplicit
Requested Extended Negotiation: none
Accepted Extended Negotiation: none
Association Accepted (Max Send PDV: 16372)
Find SCU RQ: MsgID 1
REQUEST:

# Dicom-Data-Set
# Used TransferSyntax: UnknownTransferSyntax
(0008,0052) CS [PATIENT]                                #   8, 1 QueryRetrieveLevel
(0010,0020) LO (no value available)                     #   0, 0 PatientID
--------
DIMSE Command To Send:

# Dicom-Data-Set
# Used TransferSyntax: UnknownTransferSyntax
(0000,0000) UL 0                                        #   4, 1 CommandGroupLength
(0000,0002) UI =FINDPatientRootQueryRetrieveInformationModel #  28, 1 AffectedSOPClassUID
(0000,0100) US 32                                       #   2, 1 CommandField
(0000,0110) US 1                                        #   2, 1 MessageID
(0000,0700) US 2                                        #   2, 1 Priority
(0000,0800) US 1                                        #   2, 1 DataSetType
DIMSE sendDcmDataset: sending 88 bytes
DIMSE sendDcmDataset: sending 24 bytes
DIMSE receiveCommand
DIMSE receiveCommand: 1 pdv's (88 bytes), presID=1
DIMSE Command Received:

# Dicom-Data-Set
# Used TransferSyntax: LittleEndianImplicit
(0000,0002) UI =FINDPatientRootQueryRetrieveInformationModel #  28, 1 AffectedSOPClassUID
(0000,0100) US 32800                                    #   2, 1 CommandField
(0000,0120) US 1                                        #   2, 1 MessageIDBeingRespondedTo
(0000,0800) US 1                                        #   2, 1 DataSetType
(0000,0900) US 65280                                    #   2, 1 Status
DIMSE receiveFileData: 56 bytes read (last: YES)
RESPONSE: 1 (Pending)

# Dicom-Data-Set
# Used TransferSyntax: LittleEndianExplicit
(0008,0052) CS [PATIENT ]                               #   8, 1 QueryRetrieveLevel
(0008,0054) AE [AK_CLIENT ]                             #  10, 1 RetrieveAETitle
(0010,0020) LO [88140@DICOMRM ]                         #  14, 1 PatientID
--------
DIMSE receiveCommand
DIMSE receiveCommand: 1 pdv's (88 bytes), presID=1
DIMSE Command Received:

# Dicom-Data-Set
# Used TransferSyntax: LittleEndianImplicit
(0000,0002) UI =FINDPatientRootQueryRetrieveInformationModel #  28, 1 AffectedSOPClassUID
(0000,0100) US 32800                                    #   2, 1 CommandField
(0000,0120) US 1                                        #   2, 1 MessageIDBeingRespondedTo
(0000,0800) US 1                                        #   2, 1 DataSetType
(0000,0900) US 65280                                    #   2, 1 Status
DIMSE receiveFileData: 50 bytes read (last: YES)
RESPONSE: 2 (Pending)

# Dicom-Data-Set
# Used TransferSyntax: LittleEndianExplicit
(0008,0052) CS [PATIENT ]                               #   8, 1 QueryRetrieveLevel
(0008,0054) AE [AK_CLIENT ]                             #  10, 1 RetrieveAETitle
(0010,0020) LO [KUT04246]                               #   8, 1 PatientID
--------
DIMSE receiveCommand
DIMSE receiveCommand: 1 pdv's (88 bytes), presID=1
DIMSE Command Received:

# Dicom-Data-Set
# Used TransferSyntax: LittleEndianImplicit
(0000,0002) UI =FINDPatientRootQueryRetrieveInformationModel #  28, 1 AffectedSOPClassUID
(0000,0100) US 32800                                    #   2, 1 CommandField
(0000,0120) US 1                                        #   2, 1 MessageIDBeingRespondedTo
(0000,0800) US 1                                        #   2, 1 DataSetType
(0000,0900) US 65280                                    #   2, 1 Status
DIMSE receiveFileData: 50 bytes read (last: YES)
RESPONSE: 3 (Pending)

# Dicom-Data-Set
# Used TransferSyntax: LittleEndianExplicit
(0008,0052) CS [PATIENT ]                               #   8, 1 QueryRetrieveLevel
(0008,0054) AE [AK_CLIENT ]                             #  10, 1 RetrieveAETitle
(0010,0020) LO [KUT04248]                               #   8, 1 PatientID
--------
DIMSE receiveCommand
DIMSE receiveCommand: 1 pdv's (88 bytes), presID=1
DIMSE Command Received:

# Dicom-Data-Set
# Used TransferSyntax: LittleEndianImplicit
(0000,0002) UI =FINDPatientRootQueryRetrieveInformationModel #  28, 1 AffectedSOPClassUID
(0000,0100) US 32800                                    #   2, 1 CommandField
(0000,0120) US 1                                        #   2, 1 MessageIDBeingRespondedTo
(0000,0800) US 1                                        #   2, 1 DataSetType
(0000,0900) US 65280                                    #   2, 1 Status
DIMSE receiveFileData: 50 bytes read (last: YES)
RESPONSE: 4 (Pending)

# Dicom-Data-Set
# Used TransferSyntax: LittleEndianExplicit
(0008,0052) CS [PATIENT ]                               #   8, 1 QueryRetrieveLevel
(0008,0054) AE [AK_CLIENT ]                             #  10, 1 RetrieveAETitle
(0010,0020) LO [KUT04250]                               #   8, 1 PatientID
--------
DIMSE receiveCommand
DIMSE receiveCommand: 1 pdv's (88 bytes), presID=1
DIMSE Command Received:

# Dicom-Data-Set
# Used TransferSyntax: LittleEndianImplicit
(0000,0002) UI =FINDPatientRootQueryRetrieveInformationModel #  28, 1 AffectedSOPClassUID
(0000,0100) US 32800                                    #   2, 1 CommandField
(0000,0120) US 1                                        #   2, 1 MessageIDBeingRespondedTo
(0000,0800) US 1                                        #   2, 1 DataSetType
(0000,0900) US 65280                                    #   2, 1 Status
DIMSE receiveFileData: 50 bytes read (last: YES)
RESPONSE: 5 (Pending)

# Dicom-Data-Set
# Used TransferSyntax: LittleEndianExplicit
(0008,0052) CS [PATIENT ]                               #   8, 1 QueryRetrieveLevel
(0008,0054) AE [AK_CLIENT ]                             #  10, 1 RetrieveAETitle
(0010,0020) LO [L0021590]                               #   8, 1 PatientID
--------
DIMSE receiveCommand
DIMSE receiveCommand: 1 pdv's (88 bytes), presID=1
DIMSE Command Received:

# Dicom-Data-Set
# Used TransferSyntax: LittleEndianImplicit
(0000,0002) UI =FINDPatientRootQueryRetrieveInformationModel #  28, 1 AffectedSOPClassUID
(0000,0100) US 32800                                    #   2, 1 CommandField
(0000,0120) US 1                                        #   2, 1 MessageIDBeingRespondedTo
(0000,0800) US 1                                        #   2, 1 DataSetType
(0000,0900) US 65280                                    #   2, 1 Status
DIMSE receiveFileData: 50 bytes read (last: YES)
RESPONSE: 6 (Pending)

# Dicom-Data-Set
# Used TransferSyntax: LittleEndianExplicit
(0008,0052) CS [PATIENT ]                               #   8, 1 QueryRetrieveLevel
(0008,0054) AE [AK_CLIENT ]                             #  10, 1 RetrieveAETitle
(0010,0020) LO [L0044255]                               #   8, 1 PatientID
--------
DIMSE receiveCommand
DIMSE receiveCommand: 1 pdv's (88 bytes), presID=1
DIMSE Command Received:

# Dicom-Data-Set
# Used TransferSyntax: LittleEndianImplicit
(0000,0002) UI =FINDPatientRootQueryRetrieveInformationModel #  28, 1 AffectedSOPClassUID
(0000,0100) US 32800                                    #   2, 1 CommandField
(0000,0120) US 1                                        #   2, 1 MessageIDBeingRespondedTo
(0000,0800) US 1                                        #   2, 1 DataSetType
(0000,0900) US 65280                                    #   2, 1 Status
DIMSE receiveFileData: 50 bytes read (last: YES)
RESPONSE: 7 (Pending)

# Dicom-Data-Set
# Used TransferSyntax: LittleEndianExplicit
(0008,0052) CS [PATIENT ]                               #   8, 1 QueryRetrieveLevel
(0008,0054) AE [AK_CLIENT ]                             #  10, 1 RetrieveAETitle
(0010,0020) LO [L0094768]                               #   8, 1 PatientID
--------
DIMSE receiveCommand
DIMSE receiveCommand: 1 pdv's (88 bytes), presID=1
DIMSE Command Received:

# Dicom-Data-Set
# Used TransferSyntax: LittleEndianImplicit
(0000,0002) UI =FINDPatientRootQueryRetrieveInformationModel #  28, 1 AffectedSOPClassUID
(0000,0100) US 32800                                    #   2, 1 CommandField
(0000,0120) US 1                                        #   2, 1 MessageIDBeingRespondedTo
(0000,0800) US 1                                        #   2, 1 DataSetType
(0000,0900) US 65280                                    #   2, 1 Status
DIMSE receiveFileData: 50 bytes read (last: YES)
RESPONSE: 8 (Pending)

# Dicom-Data-Set
# Used TransferSyntax: LittleEndianExplicit
(0008,0052) CS [PATIENT ]                               #   8, 1 QueryRetrieveLevel
(0008,0054) AE [AK_CLIENT ]                             #  10, 1 RetrieveAETitle
(0010,0020) LO [L0131616]                               #   8, 1 PatientID
--------
DIMSE receiveCommand
DIMSE receiveCommand: 1 pdv's (88 bytes), presID=1
DIMSE Command Received:

# Dicom-Data-Set
# Used TransferSyntax: LittleEndianImplicit
(0000,0002) UI =FINDPatientRootQueryRetrieveInformationModel #  28, 1 AffectedSOPClassUID
(0000,0100) US 32800                                    #   2, 1 CommandField
(0000,0120) US 1                                        #   2, 1 MessageIDBeingRespondedTo
(0000,0800) US 1                                        #   2, 1 DataSetType
(0000,0900) US 65280                                    #   2, 1 Status
DIMSE receiveFileData: 50 bytes read (last: YES)
RESPONSE: 9 (Pending)

# Dicom-Data-Set
# Used TransferSyntax: LittleEndianExplicit
(0008,0052) CS [PATIENT ]                               #   8, 1 QueryRetrieveLevel
(0008,0054) AE [AK_CLIENT ]                             #  10, 1 RetrieveAETitle
(0010,0020) LO [L0141249]                               #   8, 1 PatientID
--------
DIMSE receiveCommand
DIMSE receiveCommand: 1 pdv's (88 bytes), presID=1
DIMSE Command Received:

# Dicom-Data-Set
# Used TransferSyntax: LittleEndianImplicit
(0000,0002) UI =FINDPatientRootQueryRetrieveInformationModel #  28, 1 AffectedSOPClassUID
(0000,0100) US 32800                                    #   2, 1 CommandField
(0000,0120) US 1                                        #   2, 1 MessageIDBeingRespondedTo
(0000,0800) US 1                                        #   2, 1 DataSetType
(0000,0900) US 65280                                    #   2, 1 Status
DIMSE receiveFileData: 50 bytes read (last: YES)
RESPONSE: 10 (Pending)

# Dicom-Data-Set
# Used TransferSyntax: LittleEndianExplicit
(0008,0052) CS [PATIENT ]                               #   8, 1 QueryRetrieveLevel
(0008,0054) AE [AK_CLIENT ]                             #  10, 1 RetrieveAETitle
(0010,0020) LO [L0218290]                               #   8, 1 PatientID
--------
DIMSE receiveCommand
DIMSE receiveCommand: 1 pdv's (88 bytes), presID=1
DIMSE Command Received:

# Dicom-Data-Set
# Used TransferSyntax: LittleEndianImplicit
(0000,0002) UI =FINDPatientRootQueryRetrieveInformationModel #  28, 1 AffectedSOPClassUID
(0000,0100) US 32800                                    #   2, 1 CommandField
(0000,0120) US 1                                        #   2, 1 MessageIDBeingRespondedTo
(0000,0800) US 1                                        #   2, 1 DataSetType
(0000,0900) US 65280                                    #   2, 1 Status
DIMSE receiveFileData: 50 bytes read (last: YES)
RESPONSE: 11 (Pending)

# Dicom-Data-Set
# Used TransferSyntax: LittleEndianExplicit
(0008,0052) CS [PATIENT ]                               #   8, 1 QueryRetrieveLevel
(0008,0054) AE [AK_CLIENT ]                             #  10, 1 RetrieveAETitle
(0010,0020) LO [L0322563]                               #   8, 1 PatientID
--------
DIMSE receiveCommand
DIMSE receiveCommand: 1 pdv's (88 bytes), presID=1
DIMSE Command Received:

# Dicom-Data-Set
# Used TransferSyntax: LittleEndianImplicit
(0000,0002) UI =FINDPatientRootQueryRetrieveInformationModel #  28, 1 AffectedSOPClassUID
(0000,0100) US 32800                                    #   2, 1 CommandField
(0000,0120) US 1                                        #   2, 1 MessageIDBeingRespondedTo
(0000,0800) US 1                                        #   2, 1 DataSetType
(0000,0900) US 65280                                    #   2, 1 Status
DIMSE receiveFileData: 50 bytes read (last: YES)
RESPONSE: 12 (Pending)

# Dicom-Data-Set
# Used TransferSyntax: LittleEndianExplicit
(0008,0052) CS [PATIENT ]                               #   8, 1 QueryRetrieveLevel
(0008,0054) AE [AK_CLIENT ]                             #  10, 1 RetrieveAETitle
(0010,0020) LO [L0388934]                               #   8, 1 PatientID
--------
DIMSE receiveCommand
DIMSE receiveCommand: 1 pdv's (88 bytes), presID=1
DIMSE Command Received:

# Dicom-Data-Set
# Used TransferSyntax: LittleEndianImplicit
(0000,0002) UI =FINDPatientRootQueryRetrieveInformationModel #  28, 1 AffectedSOPClassUID
(0000,0100) US 32800                                    #   2, 1 CommandField
(0000,0120) US 1                                        #   2, 1 MessageIDBeingRespondedTo
(0000,0800) US 1                                        #   2, 1 DataSetType
(0000,0900) US 65280                                    #   2, 1 Status
DIMSE receiveFileData: 50 bytes read (last: YES)
RESPONSE: 13 (Pending)

# Dicom-Data-Set
# Used TransferSyntax: LittleEndianExplicit
(0008,0052) CS [PATIENT ]                               #   8, 1 QueryRetrieveLevel
(0008,0054) AE [AK_CLIENT ]                             #  10, 1 RetrieveAETitle
(0010,0020) LO [L0510547]                               #   8, 1 PatientID
--------
DIMSE receiveCommand
DIMSE receiveCommand: 1 pdv's (88 bytes), presID=1
DIMSE Command Received:

# Dicom-Data-Set
# Used TransferSyntax: LittleEndianImplicit
(0000,0002) UI =FINDPatientRootQueryRetrieveInformationModel #  28, 1 AffectedSOPClassUID
(0000,0100) US 32800                                    #   2, 1 CommandField
(0000,0120) US 1                                        #   2, 1 MessageIDBeingRespondedTo
(0000,0800) US 1                                        #   2, 1 DataSetType
(0000,0900) US 65280                                    #   2, 1 Status
DIMSE receiveFileData: 50 bytes read (last: YES)
RESPONSE: 14 (Pending)

# Dicom-Data-Set
# Used TransferSyntax: LittleEndianExplicit
(0008,0052) CS [PATIENT ]                               #   8, 1 QueryRetrieveLevel
(0008,0054) AE [AK_CLIENT ]                             #  10, 1 RetrieveAETitle
(0010,0020) LO [L0523301]                               #   8, 1 PatientID
--------
DIMSE receiveCommand
DIMSE receiveCommand: 1 pdv's (88 bytes), presID=1
DIMSE Command Received:

# Dicom-Data-Set
# Used TransferSyntax: LittleEndianImplicit
(0000,0002) UI =FINDPatientRootQueryRetrieveInformationModel #  28, 1 AffectedSOPClassUID
(0000,0100) US 32800                                    #   2, 1 CommandField
(0000,0120) US 1                                        #   2, 1 MessageIDBeingRespondedTo
(0000,0800) US 1                                        #   2, 1 DataSetType
(0000,0900) US 65280                                    #   2, 1 Status
DIMSE receiveFileData: 50 bytes read (last: YES)
RESPONSE: 15 (Pending)

# Dicom-Data-Set
# Used TransferSyntax: LittleEndianExplicit
(0008,0052) CS [PATIENT ]                               #   8, 1 QueryRetrieveLevel
(0008,0054) AE [AK_CLIENT ]                             #  10, 1 RetrieveAETitle
(0010,0020) LO [L0667093]                               #   8, 1 PatientID
--------
DIMSE receiveCommand
DIMSE receiveCommand: 1 pdv's (88 bytes), presID=1
DIMSE Command Received:

# Dicom-Data-Set
# Used TransferSyntax: LittleEndianImplicit
(0000,0002) UI =FINDPatientRootQueryRetrieveInformationModel #  28, 1 AffectedSOPClassUID
(0000,0100) US 32800                                    #   2, 1 CommandField
(0000,0120) US 1                                        #   2, 1 MessageIDBeingRespondedTo
(0000,0800) US 1                                        #   2, 1 DataSetType
(0000,0900) US 65280                                    #   2, 1 Status
DIMSE receiveFileData: 50 bytes read (last: YES)
RESPONSE: 16 (Pending)

# Dicom-Data-Set
# Used TransferSyntax: LittleEndianExplicit
(0008,0052) CS [PATIENT ]                               #   8, 1 QueryRetrieveLevel
(0008,0054) AE [AK_CLIENT ]                             #  10, 1 RetrieveAETitle
(0010,0020) LO [7Thjq7g ]                               #   8, 1 PatientID
--------
DIMSE receiveCommand
DIMSE receiveCommand: 1 pdv's (88 bytes), presID=1
DIMSE Command Received:

# Dicom-Data-Set
# Used TransferSyntax: LittleEndianImplicit
(0000,0002) UI =FINDPatientRootQueryRetrieveInformationModel #  28, 1 AffectedSOPClassUID
(0000,0100) US 32800                                    #   2, 1 CommandField
(0000,0120) US 1                                        #   2, 1 MessageIDBeingRespondedTo
(0000,0800) US 257                                      #   2, 1 DataSetType
(0000,0900) US 0                                        #   2, 1 Status
C-Find RSP: MsgID: 1 [Status=Success]
  AffectedSOPClassUID: =FINDPatientRootQueryRetrieveInformationModel
  Data Set: Not Present
Releasing Association
and than eFilm response:

Code: Select all

C:\dcmtk-3.5.4\bin\Release>findscu.exe -v -d -aec AK_CLIENT -P -k 0008,0052=PATIENT -k 0010,0020 -k 0010,0010 192.168.67.155 4006
Request Parameters:
Our Implementation Class UID:    1.2.276.0.7230010.3.0.3.5.4
Our Implementation Version Name: OFFIS_DCMTK_354
Their Implementation Class UID:
Their Implementation Version Name:
Application Context Name:    1.2.840.10008.3.1.1.1
Calling Application Name:    FINDSCU
Called Application Name:     AK_CLIENT
Responding Application Name: resp AP Title
Our Max PDU Receive Size: 16384
Their Max PDU Receive Size: 0
Presentation Contexts:
  Context ID:        1 (Proposed)
    Abstract Syntax: =FINDPatientRootQueryRetrieveInformationModel
    Proposed SCP/SCU Role: Default
    Accepted SCP/SCU Role: Default
    Proposed Transfer Syntax(es):
      =LittleEndianExplicit
      =BigEndianExplicit
      =LittleEndianImplicit
Requested Extended Negotiation: none
Accepted Extended Negotiation: none
Requesting Association
Constructing Associate RQ PDU
PDU Type: Associate Accept, PDU Length: 164 + 6 bytes PDU header
  02  00  00  00  00  a4  00  01  00  00  41  4b  5f  43  4c  49
  45  4e  54  20  20  20  20  20  20  20  46  49  4e  44  53  43
  55  20  20  20  20  20  20  20  20  20  00  00  00  00  00  00
  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00
  00  00  00  00  00  00  00  00  00  00  10  00  00  15  31  2e
  32  2e  38  34  30  2e  31  30  30  30  38  2e  33  2e  31  2e
  31  2e  31  21  00  00  19  01  00  00  00  40  00  00  11  31
  2e  32  2e  38  34  30  2e  31  30  30  30  38  2e  31  2e  32
  50  00  00  26  51  00  00  04  00  00  40  00  52  00  00  10
  31  2e  32  2e  38  30  34  2e  31  31  34  31  31  38  2e  33
  55  00  00  06  65  46  69  6c  6d  20
Association Parameters Negotiated:
Our Implementation Class UID:    1.2.276.0.7230010.3.0.3.5.4
Our Implementation Version Name: OFFIS_DCMTK_354
Their Implementation Class UID:    1.2.804.114118.3
Their Implementation Version Name: eFilm
Application Context Name:    1.2.840.10008.3.1.1.1
Calling Application Name:    FINDSCU
Called Application Name:     AK_CLIENT
Responding Application Name: AK_CLIENT
Our Max PDU Receive Size: 16384
Their Max PDU Receive Size: 16384
Presentation Contexts:
  Context ID:        1 (Accepted)
    Abstract Syntax: =FINDPatientRootQueryRetrieveInformationModel
    Proposed SCP/SCU Role: Default
    Accepted SCP/SCU Role: Default
    Accepted Transfer Syntax: =LittleEndianImplicit
Requested Extended Negotiation: none
Accepted Extended Negotiation: none
Association Accepted (Max Send PDV: 16372)
Find SCU RQ: MsgID 1
REQUEST:

# Dicom-Data-Set
# Used TransferSyntax: UnknownTransferSyntax
(0008,0052) CS [PATIENT]                                #   8, 1 QueryRetrieveLe
vel
(0010,0010) PN (no value available)                     #   0, 0 PatientsName
(0010,0020) LO (no value available)                     #   0, 0 PatientID
--------
DIMSE Command To Send:

# Dicom-Data-Set
# Used TransferSyntax: UnknownTransferSyntax
(0000,0000) UL 0                                        #   4, 1 CommandGroupLen
gth
(0000,0002) UI =FINDPatientRootQueryRetrieveInformationModel #  28, 1 AffectedSO
PClassUID
(0000,0100) US 32                                       #   2, 1 CommandField
(0000,0110) US 1                                        #   2, 1 MessageID
(0000,0700) US 2                                        #   2, 1 Priority
(0000,0800) US 1                                        #   2, 1 DataSetType
DIMSE sendDcmDataset: sending 88 bytes
DIMSE sendDcmDataset: sending 32 bytes
DIMSE receiveCommand
DIMSE receiveCommand: 1 pdv's (108 bytes), presID=1
DIMSE Command Received:

# Dicom-Data-Set
# Used TransferSyntax: LittleEndianImplicit
(0000,0002) UI =FINDPatientRootQueryRetrieveInformationModel #  28, 1 AffectedSO
PClassUID
(0000,0100) US 32800                                    #   2, 1 CommandField
(0000,0110) US 1                                        #   2, 1 MessageID
(0000,0120) US 1                                        #   2, 1 MessageIDBeingR
espondedTo
(0000,0700) US 2                                        #   2, 1 Priority
(0000,0800) US 257                                      #   2, 1 DataSetType
(0000,0900) US 0                                        #   2, 1 Status
C-Find RSP: MsgID: 1 [Status=Success]
  AffectedSOPClassUID: =FINDPatientRootQueryRetrieveInformationModel
  Data Set: Not Present
  Status Detail:

# Dicom-Data-Set
# Used TransferSyntax: LittleEndianImplicit
(0000,0110) US 1                                        #   2, 1 MessageID
(0000,0700) US 2                                        #   2, 1 Priority
Releasing Association
I investigate findscu.exe code and write a small class to use on Qt platform but because of eFilm, I can not trust my Patient Root level code of my class ( it is optional in code.)
I try to debug findscu.exe and find what is difference at SCU side but I can not find any things. So, I start to think; e film does not support Patient Root Query Level. if I wrong, how can I run Patient Root level query with eFilm, what is wrong I made plaese help me.

best regards

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

#4 Post by Michael Onken »

Hi,

eFilm accepts your PatientRoot connection:

Code: Select all

Presentation Contexts:
  Context ID:        1 (Accepted)
    Abstract Syntax: =FINDPatientRootQueryRetrieveInformationModel
    Proposed SCP/SCU Role: Default
    Accepted SCP/SCU Role: Default
    Accepted Transfer Syntax: =LittleEndianExplicit 
In your first posted connection, everything works fine. The second one you posted should contain as many responses from eFilm as the first one but it returns no response at all (only SUCCESS as if there were no matches). So from your posts it really seems that your version of eFilm is broken regarding PatientRoot queries.

Best regards,
Michael

hakan
Posts: 5
Joined: Tue, 2010-02-23, 16:37

#5 Post by hakan »

Hi Michael;
this is my last post because case looks like solved. After your response, I test findscu.exe with little different query on eFilm and it run!!.

here are my tests:

on 192.168.67.155 port 105 listen by DVTk Q/R emulator.
on 192.168.67.155 port 104 listen by dcmqrscp.exe.
on 192.168.67.155 port 4006 listen by eFilm.
Last two SCP have same dicom files.

first DVTk Q/R emulator:

Code: Select all

C:\dcmtk-3.5.4\bin\Release>findscu.exe -v -aec AK_CLIENT -P -k 0008,0052=PATIENT -k 0010,0020 -k 0010,0010 192.168.67.155 105
Requesting Association
Association Accepted (Max Send PDV: 16372)
Find SCU RQ: MsgID 1
REQUEST:

# Dicom-Data-Set
# Used TransferSyntax: UnknownTransferSyntax
(0008,0052) CS [PATIENT]                                #   8, 1 QueryRetrieveLe
vel
(0010,0010) PN (no value available)                     #   0, 0 PatientsName
(0010,0020) LO (no value available)                     #   0, 0 PatientID
--------
RESPONSE: 1 (Pending)

# Dicom-Data-Set
# Used TransferSyntax: LittleEndianImplicit
(0008,0052) CS [PATIENT ]                               #   8, 1 QueryRetrieveLe
vel
(0010,0010) PN [One^Secondary Capture Image ]           #  28, 1 PatientsName
(0010,0020) LO [SC-I1 ]                                 #   6, 1 PatientID
--------
RESPONSE: 2 (Pending)

# Dicom-Data-Set
# Used TransferSyntax: LittleEndianImplicit
(0008,0052) CS [PATIENT ]                               #   8, 1 QueryRetrieveLe
vel
(0010,0010) PN [Two^Secondary Capture Image ]           #  28, 1 PatientsName
(0010,0020) LO [SC-I2 ]                                 #   6, 1 PatientID
--------
RESPONSE: 3 (Pending)

# Dicom-Data-Set
# Used TransferSyntax: LittleEndianImplicit
(0008,0052) CS [PATIENT ]                               #   8, 1 QueryRetrieveLe
vel
(0010,0010) PN [Three^Secondary Capture Image ]         #  30, 1 PatientsName
(0010,0020) LO [SC-I3 ]                                 #   6, 1 PatientID
--------
C-Find RSP: MsgID: 1 [Status=Success]
  AffectedSOPClassUID: =FINDPatientRootQueryRetrieveInformationModel
  Data Set: Not Present
Releasing Association
good...
and the second on dcmqrscp (same query):

Code: Select all

C:\dcmtk-3.5.4\bin\Release>findscu.exe -v -aec AK_CLIENT -P -k 0008,0052=PATIENT -k 0010,0020 -k 0010,0010 192.168.67.155 104
Requesting Association
Association Accepted (Max Send PDV: 16372)
Find SCU RQ: MsgID 1
REQUEST:

# Dicom-Data-Set
# Used TransferSyntax: UnknownTransferSyntax
(0008,0052) CS [PATIENT]                                #   8, 1 QueryRetrieveLe
vel
(0010,0010) PN (no value available)                     #   0, 0 PatientsName
(0010,0020) LO (no value available)                     #   0, 0 PatientID
--------
RESPONSE: 1 (Pending)

# Dicom-Data-Set
# Used TransferSyntax: LittleEndianExplicit
(0008,0052) CS [PATIENT ]                               #   8, 1 QueryRetrieveLe
vel
(0008,0054) AE [AK_CLIENT ]                             #  10, 1 RetrieveAETitle

(0010,0010) PN [Abbasov^Rafail^^^ ]                     #  18, 1 PatientsName
(0010,0020) LO [88140@DICOMRM ]                         #  14, 1 PatientID
--------
RESPONSE: 2 (Pending)

# Dicom-Data-Set
# Used TransferSyntax: LittleEndianExplicit
(0008,0052) CS [PATIENT ]                               #   8, 1 QueryRetrieveLe
vel
(0008,0054) AE [AK_CLIENT ]                             #  10, 1 RetrieveAETitle

(0010,0010) PN [EBRU ULUCA-3]                           #  12, 1 PatientsName
(0010,0020) LO [KUT04246]                               #   8, 1 PatientID
--------
RESPONSE: 3 (Pending)

# Dicom-Data-Set
# Used TransferSyntax: LittleEndianExplicit
(0008,0052) CS [PATIENT ]                               #   8, 1 QueryRetrieveLe
vel
(0008,0054) AE [AK_CLIENT ]                             #  10, 1 RetrieveAETitle

(0010,0010) PN [HASAN TAKKA-3 ]                         #  14, 1 PatientsName
(0010,0020) LO [KUT04248]                               #   8, 1 PatientID
--------
RESPONSE: 4 (Pending)

# Dicom-Data-Set
# Used TransferSyntax: LittleEndianExplicit
(0008,0052) CS [PATIENT ]                               #   8, 1 QueryRetrieveLe
vel
(0008,0054) AE [AK_CLIENT ]                             #  10, 1 RetrieveAETitle

(0010,0010) PN [HAVVA ULUSOY-1]                         #  14, 1 PatientsName
(0010,0020) LO [KUT04250]                               #   8, 1 PatientID
--------
RESPONSE: 5 (Pending)

# Dicom-Data-Set
# Used TransferSyntax: LittleEndianExplicit
(0008,0052) CS [PATIENT ]                               #   8, 1 QueryRetrieveLe
vel
(0008,0054) AE [AK_CLIENT ]                             #  10, 1 RetrieveAETitle

(0010,0010) PN [NESIME^OCEL ]                           #  12, 1 PatientsName
(0010,0020) LO [L0021590]                               #   8, 1 PatientID
--------
RESPONSE: 6 (Pending)

# Dicom-Data-Set
# Used TransferSyntax: LittleEndianExplicit
(0008,0052) CS [PATIENT ]                               #   8, 1 QueryRetrieveLe
vel
(0008,0054) AE [AK_CLIENT ]                             #  10, 1 RetrieveAETitle

(0010,0010) PN [M.ALI^ERDURAN ]                         #  14, 1 PatientsName
(0010,0020) LO [L0044255]                               #   8, 1 PatientID
--------
RESPONSE: 7 (Pending)

# Dicom-Data-Set
# Used TransferSyntax: LittleEndianExplicit
(0008,0052) CS [PATIENT ]                               #   8, 1 QueryRetrieveLe
vel
(0008,0054) AE [AK_CLIENT ]                             #  10, 1 RetrieveAETitle

(0010,0010) PN [KEZBAN^CAKIR]                           #  12, 1 PatientsName
(0010,0020) LO [L0094768]                               #   8, 1 PatientID
--------
RESPONSE: 8 (Pending)

# Dicom-Data-Set
# Used TransferSyntax: LittleEndianExplicit
(0008,0052) CS [PATIENT ]                               #   8, 1 QueryRetrieveLe
vel
(0008,0054) AE [AK_CLIENT ]                             #  10, 1 RetrieveAETitle

(0010,0010) PN [HAMIYET^SARAC ]                         #  14, 1 PatientsName
(0010,0020) LO [L0131616]                               #   8, 1 PatientID
--------
RESPONSE: 9 (Pending)

# Dicom-Data-Set
# Used TransferSyntax: LittleEndianExplicit
(0008,0052) CS [PATIENT ]                               #   8, 1 QueryRetrieveLe
vel
(0008,0054) AE [AK_CLIENT ]                             #  10, 1 RetrieveAETitle

(0010,0010) PN [IBRAHIM^ATES]                           #  12, 1 PatientsName
(0010,0020) LO [L0141249]                               #   8, 1 PatientID
--------
RESPONSE: 10 (Pending)

# Dicom-Data-Set
# Used TransferSyntax: LittleEndianExplicit
(0008,0052) CS [PATIENT ]                               #   8, 1 QueryRetrieveLe
vel
(0008,0054) AE [AK_CLIENT ]                             #  10, 1 RetrieveAETitle

(0010,0010) PN [MEHMET^YIGIT]                           #  12, 1 PatientsName
(0010,0020) LO [L0218290]                               #   8, 1 PatientID
--------
RESPONSE: 11 (Pending)

# Dicom-Data-Set
# Used TransferSyntax: LittleEndianExplicit
(0008,0052) CS [PATIENT ]                               #   8, 1 QueryRetrieveLe
vel
(0008,0054) AE [AK_CLIENT ]                             #  10, 1 RetrieveAETitle

(0010,0010) PN [FADIME^OZACAR ]                         #  14, 1 PatientsName
(0010,0020) LO [L0322563]                               #   8, 1 PatientID
--------
RESPONSE: 12 (Pending)

# Dicom-Data-Set
# Used TransferSyntax: LittleEndianExplicit
(0008,0052) CS [PATIENT ]                               #   8, 1 QueryRetrieveLe
vel
(0008,0054) AE [AK_CLIENT ]                             #  10, 1 RetrieveAETitle

(0010,0010) PN [ENES^KOYULMUS ]                         #  14, 1 PatientsName
(0010,0020) LO [L0388934]                               #   8, 1 PatientID
--------
RESPONSE: 13 (Pending)

# Dicom-Data-Set
# Used TransferSyntax: LittleEndianExplicit
(0008,0052) CS [PATIENT ]                               #   8, 1 QueryRetrieveLe
vel
(0008,0054) AE [AK_CLIENT ]                             #  10, 1 RetrieveAETitle

(0010,0010) PN [AHMET^UZUN]                             #  10, 1 PatientsName
(0010,0020) LO [L0510547]                               #   8, 1 PatientID
--------
RESPONSE: 14 (Pending)

# Dicom-Data-Set
# Used TransferSyntax: LittleEndianExplicit
(0008,0052) CS [PATIENT ]                               #   8, 1 QueryRetrieveLe
vel
(0008,0054) AE [AK_CLIENT ]                             #  10, 1 RetrieveAETitle

(0010,0010) PN [CEMILE^OZKAN]                           #  12, 1 PatientsName
(0010,0020) LO [L0523301]                               #   8, 1 PatientID
--------
RESPONSE: 15 (Pending)

# Dicom-Data-Set
# Used TransferSyntax: LittleEndianExplicit
(0008,0052) CS [PATIENT ]                               #   8, 1 QueryRetrieveLe
vel
(0008,0054) AE [AK_CLIENT ]                             #  10, 1 RetrieveAETitle

(0010,0010) PN [HABIBE^CIFTCI ]                         #  14, 1 PatientsName
(0010,0020) LO [L0667093]                               #   8, 1 PatientID
--------
RESPONSE: 16 (Pending)

# Dicom-Data-Set
# Used TransferSyntax: LittleEndianExplicit
(0008,0052) CS [PATIENT ]                               #   8, 1 QueryRetrieveLe
vel
(0008,0054) AE [AK_CLIENT ]                             #  10, 1 RetrieveAETitle

(0010,0010) PN [MANIX ]                                 #   6, 1 PatientsName
(0010,0020) LO [7Thjq7g ]                               #   8, 1 PatientID
--------
C-Find RSP: MsgID: 1 [Status=Success]
  AffectedSOPClassUID: =FINDPatientRootQueryRetrieveInformationModel
  Data Set: Not Present
Releasing Association
but with same query, I can not see patient's ID or name from eFilm:

Code: Select all

C:\dcmtk-3.5.4\bin\Release>findscu.exe -v -aec AK_CLIENT -P -k 0008,0052=PATIENT -k 0010,0020 -k 0010,0010 192.168.67.155 4006
Requesting Association
Association Accepted (Max Send PDV: 16372)
Find SCU RQ: MsgID 1
REQUEST:

# Dicom-Data-Set
# Used TransferSyntax: UnknownTransferSyntax
(0008,0052) CS [PATIENT]                                #   8, 1 QueryRetrieveLe
vel
(0010,0010) PN (no value available)                     #   0, 0 PatientsName
(0010,0020) LO (no value available)                     #   0, 0 PatientID
--------
C-Find RSP: MsgID: 1 [Status=Success]
  AffectedSOPClassUID: =FINDPatientRootQueryRetrieveInformationModel
  Data Set: Not Present
  Status Detail:

# Dicom-Data-Set
# Used TransferSyntax: LittleEndianImplicit
(0000,0110) US 1                                        #   2, 1 MessageID
(0000,0700) US 2                                        #   2, 1 Priority
Releasing Association
but -k 0010,0020=* -k 0010,0010=* run with all of them.
eFilm response:

Code: Select all

C:\dcmtk-3.5.4\bin\Release>findscu.exe -v -aec AK_CLIENT -P -k 0008,0052=PATIENT -k 0010,0020=* -k 0010,0010=* 192.168.67.155 4006

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

# Dicom-Data-Set
# Used TransferSyntax: UnknownTransferSyntax
(0008,0052) CS [PATIENT]                                #   8, 1 QueryRetrieveLevel
(0010,0010) PN [*]                                      #   2, 1 PatientsName
(0010,0020) LO [*]                                      #   2, 1 PatientID
--------
DIMSE Warning: (FINDSCU,AK_CLIENT): findUser: Pending with statusDetail, ignoring detail
RESPONSE: 1 (Pending)

# Dicom-Data-Set
# Used TransferSyntax: LittleEndianImplicit
(0008,0000) UL 36                                       #   4, 1 IdentifyingGroupLength
(0008,0016) UI []                                       #  28, 1 SOPClassUID
(0010,0000) UL 48                                       #   4, 1 PatientGroupLength
(0010,0010) PN [OMER^ONEY]                              #  10, 1 PatientsName
(0010,0020) LO [142350]                                 #   6, 1 PatientID
(0010,0030) DA (no value available)                     #   0, 0 PatientsBirthDate
(0010,0040) CS (no value available)                     #   0, 0 PatientsSex
--------
DIMSE Warning: (FINDSCU,AK_CLIENT): findUser: Pending with statusDetail, ignoring detail
RESPONSE: 2 (Pending)

# Dicom-Data-Set
# Used TransferSyntax: LittleEndianImplicit
(0008,0000) UL 36                                       #   4, 1 IdentifyingGroupLength
(0008,0016) UI []                                       #  28, 1 SOPClassUID
(0010,0000) UL 72                                       #   4, 1 PatientGroupLength
(0010,0010) PN [Abbasov^Rafail^^^]                      #  18, 1 PatientsName
(0010,0020) LO [88140@DICOMRM]                          #  14, 1 PatientID
(0010,0030) DA [19771015]                               #   8, 1 PatientsBirthDate
(0010,0040) CS (no value available)                     #   0, 0 PatientsSex
--------
DIMSE Warning: (FINDSCU,AK_CLIENT): findUser: Pending with statusDetail, ignoring detail
RESPONSE: 3 (Pending)

# Dicom-Data-Set
# Used TransferSyntax: LittleEndianImplicit
(0008,0000) UL 36                                       #   4, 1 IdentifyingGroupLength
(0008,0016) UI []                                       #  28, 1 SOPClassUID
(0010,0000) UL 54                                       #   4, 1 PatientGroupLength
(0010,0010) PN [EBRU ULUCA-3]                           #  12, 1 PatientsName
(0010,0020) LO [KUT04246]                               #   8, 1 PatientID
(0010,0030) DA (no value available)                     #   0, 0 PatientsBirthDate
(0010,0040) CS [F]                                      #   2, 1 PatientsSex
--------
DIMSE Warning: (FINDSCU,AK_CLIENT): findUser: Pending with statusDetail, ignoring detail
RESPONSE: 4 (Pending)

# Dicom-Data-Set
# Used TransferSyntax: LittleEndianImplicit
(0008,0000) UL 36                                       #   4, 1 IdentifyingGroupLength
(0008,0016) UI []                                       #  28, 1 SOPClassUID
(0010,0000) UL 56                                       #   4, 1 PatientGroupLength
(0010,0010) PN [HASAN TAKKA-3]                          #  14, 1 PatientsName
(0010,0020) LO [KUT04248]                               #   8, 1 PatientID
(0010,0030) DA (no value available)                     #   0, 0 PatientsBirthDate
(0010,0040) CS [M]                                      #   2, 1 PatientsSex
--------
DIMSE Warning: (FINDSCU,AK_CLIENT): findUser: Pending with statusDetail, ignoring detail
RESPONSE: 5 (Pending)

# Dicom-Data-Set
# Used TransferSyntax: LittleEndianImplicit
(0008,0000) UL 36                                       #   4, 1 IdentifyingGroupLength
(0008,0016) UI []                                       #  28, 1 SOPClassUID
(0010,0000) UL 56                                       #   4, 1 PatientGroupLength
(0010,0010) PN [HAVVA ULUSOY-1]                         #  14, 1 PatientsName
(0010,0020) LO [KUT04250]                               #   8, 1 PatientID
(0010,0030) DA (no value available)                     #   0, 0 PatientsBirthDate
(0010,0040) CS [F]                                      #   2, 1 PatientsSex
--------
DIMSE Warning: (FINDSCU,AK_CLIENT): findUser: Pending with statusDetail, ignoring detail
RESPONSE: 6 (Pending)

# Dicom-Data-Set
# Used TransferSyntax: LittleEndianImplicit
(0008,0000) UL 36                                       #   4, 1 IdentifyingGroupLength
(0008,0016) UI []                                       #  28, 1 SOPClassUID
(0010,0000) UL 62                                       #   4, 1 PatientGroupLength
(0010,0010) PN [NESIME^OCEL]                            #  12, 1 PatientsName
(0010,0020) LO [L0021590]                               #   8, 1 PatientID
(0010,0030) DA [19600101]                               #   8, 1 PatientsBirthDate
(0010,0040) CS [F]                                      #   2, 1 PatientsSex
--------
DIMSE Warning: (FINDSCU,AK_CLIENT): findUser: Pending with statusDetail, ignoring detail
RESPONSE: 7 (Pending)

# Dicom-Data-Set
# Used TransferSyntax: LittleEndianImplicit
(0008,0000) UL 36                                       #   4, 1 IdentifyingGroupLength
(0008,0016) UI []                                       #  28, 1 SOPClassUID
(0010,0000) UL 64                                       #   4, 1 PatientGroupLength
(0010,0010) PN [M.ALI^ERDURAN]                          #  14, 1 PatientsName
(0010,0020) LO [L0044255]                               #   8, 1 PatientID
(0010,0030) DA [19450101]                               #   8, 1 PatientsBirthDate
(0010,0040) CS [M]                                      #   2, 1 PatientsSex
--------
DIMSE Warning: (FINDSCU,AK_CLIENT): findUser: Pending with statusDetail, ignoring detail
RESPONSE: 8 (Pending)

# Dicom-Data-Set
# Used TransferSyntax: LittleEndianImplicit
(0008,0000) UL 36                                       #   4, 1 IdentifyingGroupLength
(0008,0016) UI []                                       #  28, 1 SOPClassUID
(0010,0000) UL 62                                       #   4, 1 PatientGroupLength
(0010,0010) PN [KEZBAN^CAKIR]                           #  12, 1 PatientsName
(0010,0020) LO [L0094768]                               #   8, 1 PatientID
(0010,0030) DA [19500605]                               #   8, 1 PatientsBirthDate
(0010,0040) CS [F]                                      #   2, 1 PatientsSex
--------
DIMSE Warning: (FINDSCU,AK_CLIENT): findUser: Pending with statusDetail, ignoring detail
RESPONSE: 9 (Pending)

# Dicom-Data-Set
# Used TransferSyntax: LittleEndianImplicit
(0008,0000) UL 36                                       #   4, 1 IdentifyingGroupLength
(0008,0016) UI []                                       #  28, 1 SOPClassUID
(0010,0000) UL 64                                       #   4, 1 PatientGroupLength
(0010,0010) PN [HAMIYET^SARAC]                          #  14, 1 PatientsName
(0010,0020) LO [L0131616]                               #   8, 1 PatientID
(0010,0030) DA [19580101]                               #   8, 1 PatientsBirthDate
(0010,0040) CS [F]                                      #   2, 1 PatientsSex
--------
DIMSE Warning: (FINDSCU,AK_CLIENT): findUser: Pending with statusDetail, ignoring detail
RESPONSE: 10 (Pending)

# Dicom-Data-Set
# Used TransferSyntax: LittleEndianImplicit
(0008,0000) UL 36                                       #   4, 1 IdentifyingGroupLength
(0008,0016) UI []                                       #  28, 1 SOPClassUID
(0010,0000) UL 62                                       #   4, 1 PatientGroupLength
(0010,0010) PN [IBRAHIM^ATES]                           #  12, 1 PatientsName
(0010,0020) LO [L0141249]                               #   8, 1 PatientID
(0010,0030) DA [19820610]                               #   8, 1 PatientsBirthDate
(0010,0040) CS [M]                                      #   2, 1 PatientsSex
--------
DIMSE Warning: (FINDSCU,AK_CLIENT): findUser: Pending with statusDetail, ignoring detail
RESPONSE: 11 (Pending)

# Dicom-Data-Set
# Used TransferSyntax: LittleEndianImplicit
(0008,0000) UL 36                                       #   4, 1 IdentifyingGroupLength
(0008,0016) UI []                                       #  28, 1 SOPClassUID
(0010,0000) UL 62                                       #   4, 1 PatientGroupLength
(0010,0010) PN [MEHMET^YIGIT]                           #  12, 1 PatientsName
(0010,0020) LO [L0218290]                               #   8, 1 PatientID
(0010,0030) DA [19570401]                               #   8, 1 PatientsBirthDate
(0010,0040) CS [M]                                      #   2, 1 PatientsSex
--------
DIMSE Warning: (FINDSCU,AK_CLIENT): findUser: Pending with statusDetail, ignoring detail
RESPONSE: 12 (Pending)

# Dicom-Data-Set
# Used TransferSyntax: LittleEndianImplicit
(0008,0000) UL 36                                       #   4, 1 IdentifyingGroupLength
(0008,0016) UI []                                       #  28, 1 SOPClassUID
(0010,0000) UL 64                                       #   4, 1 PatientGroupLength
(0010,0010) PN [FADIME^OZACAR]                          #  14, 1 PatientsName
(0010,0020) LO [L0322563]                               #   8, 1 PatientID
(0010,0030) DA [19621001]                               #   8, 1 PatientsBirthDate
(0010,0040) CS [F]                                      #   2, 1 PatientsSex
--------
DIMSE Warning: (FINDSCU,AK_CLIENT): findUser: Pending with statusDetail, ignoring detail
RESPONSE: 13 (Pending)

# Dicom-Data-Set
# Used TransferSyntax: LittleEndianImplicit
(0008,0000) UL 36                                       #   4, 1 IdentifyingGroupLength
(0008,0016) UI []                                       #  28, 1 SOPClassUID
(0010,0000) UL 64                                       #   4, 1 PatientGroupLength
(0010,0010) PN [ENES^KOYULMUS]                          #  14, 1 PatientsName
(0010,0020) LO [L0388934]                               #   8, 1 PatientID
(0010,0030) DA [19981207]                               #   8, 1 PatientsBirthDate
(0010,0040) CS [M]                                      #   2, 1 PatientsSex
--------
DIMSE Warning: (FINDSCU,AK_CLIENT): findUser: Pending with statusDetail, ignoring detail
RESPONSE: 14 (Pending)

# Dicom-Data-Set
# Used TransferSyntax: LittleEndianImplicit
(0008,0000) UL 36                                       #   4, 1 IdentifyingGroupLength
(0008,0016) UI []                                       #  28, 1 SOPClassUID
(0010,0000) UL 60                                       #   4, 1 PatientGroupLength
(0010,0010) PN [AHMET^UZUN]                             #  10, 1 PatientsName
(0010,0020) LO [L0510547]                               #   8, 1 PatientID
(0010,0030) DA [19930820]                               #   8, 1 PatientsBirthDate
(0010,0040) CS [M]                                      #   2, 1 PatientsSex
--------
DIMSE Warning: (FINDSCU,AK_CLIENT): findUser: Pending with statusDetail, ignoring detail
RESPONSE: 15 (Pending)

# Dicom-Data-Set
# Used TransferSyntax: LittleEndianImplicit
(0008,0000) UL 36                                       #   4, 1 IdentifyingGroupLength
(0008,0016) UI []                                       #  28, 1 SOPClassUID
(0010,0000) UL 62                                       #   4, 1 PatientGroupLength
(0010,0010) PN [CEMILE^OZKAN]                           #  12, 1 PatientsName
(0010,0020) LO [L0523301]                               #   8, 1 PatientID
(0010,0030) DA [19880401]                               #   8, 1 PatientsBirthDate
(0010,0040) CS [F]                                      #   2, 1 PatientsSex
--------
DIMSE Warning: (FINDSCU,AK_CLIENT): findUser: Pending with statusDetail, ignoring detail
RESPONSE: 16 (Pending)

# Dicom-Data-Set
# Used TransferSyntax: LittleEndianImplicit
(0008,0000) UL 36                                       #   4, 1 IdentifyingGroupLength
(0008,0016) UI []                                       #  28, 1 SOPClassUID
(0010,0000) UL 64                                       #   4, 1 PatientGroupLength
(0010,0010) PN [HABIBE^CIFTCI]                          #  14, 1 PatientsName
(0010,0020) LO [L0667093]                               #   8, 1 PatientID
(0010,0030) DA [20051128]                               #   8, 1 PatientsBirthDate
(0010,0040) CS [F]                                      #   2, 1 PatientsSex
--------
DIMSE Warning: (FINDSCU,AK_CLIENT): findUser: Pending with statusDetail, ignoring detail
RESPONSE: 17 (Pending)

# Dicom-Data-Set
# Used TransferSyntax: LittleEndianImplicit
(0008,0000) UL 36                                       #   4, 1 IdentifyingGroupLength
(0008,0016) UI []                                       #  28, 1 SOPClassUID
(0010,0000) UL 46                                       #   4, 1 PatientGroupLength
(0010,0010) PN [MANIX]                                  #   6, 1 PatientsName
(0010,0020) LO [7Thjq7g]                                #   8, 1 PatientID
(0010,0030) DA (no value available)                     #   0, 0 PatientsBirthDate
(0010,0040) CS (no value available)                     #   0, 0 PatientsSex
--------
C-Find RSP: MsgID: 1 [Status=Success]
  AffectedSOPClassUID: =FINDPatientRootQueryRetrieveInformationModel
  Data Set: Not Present
  Status Detail:

# Dicom-Data-Set
# Used TransferSyntax: LittleEndianImplicit
(0000,0110) US 1                                        #   2, 1 MessageID
(0000,0700) US 2                                        #   2, 1 Priority
Releasing Association
thanks a lot

best regards.

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

#6 Post by Michael Onken »

Alright, this seems to work (using an explicit * instead of leaving the attributes empty). However note that eFilm's behaviour is not correct in that regard:

1) It should also work with leaving fields empty instead of sending *.
2) It returns more attributes than it should: you just ask for patient ID and patient's name but eFilm returns Patient's Birth Date and also Patient's Sex.

I have the feeling that eFilm's behaviour is a bit unpredictable...;-)

Best regards,
Michael

Post Reply

Who is online

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