C-FIND error with Issuer of Patient ID attribute

Hello,
I faced an issue when performing a C-FIND requesting the Issuer Of Patient ID attribute.
This issue came up after upgrading orthanc docker from 1.9.1 to latest (1.9.4). But this issue seems to be present on version 1.9.2 too, after some testing.

I had this issue with pynetdicom and dcmtk’s findscu. The issue on Orthanc logs is “E0625 14:47:19.389812 FindScp.cpp:295] C-FIND request handler has failed: Unknown resource”

Here are the findscu commands I tried :

  • The one that fails

$ findscu -P -aet TEST -aec ORTHANC -k "(0010,0010)=" -k “StudyDate=19950630” -k “StudyInstanceUID=” -k “QueryRetrieveLevel=STUDY” -k “IssuerOfPatientID=” localhost 4242 -v
I: Requesting Association
I: Association Accepted (Max Send PDV: 16372)
I: Sending Find Request (MsgID 1)
I: Request Identifiers:
I:
I: # Dicom-Data-Set
I: # Used TransferSyntax: Little Endian Explicit
I: (0008,0020) DA [19950630] # 8, 1 StudyDate
I: (0008,0052) CS [STUDY] # 6, 1 QueryRetrieveLevel
I: (0010,0010) PN [
] # 2, 1 PatientName
I: (0010,0021) LO (no value available) # 0, 0 IssuerOfPatientID
I: (0020,000d) UI (no value available) # 0, 0 StudyInstanceUID
I:
I: Received Final Find Response (Failed: UnableToProcess)
I: Releasing Association

  • The one that succeeds :
    $ findscu -S -aet TEST -aec ORTHANC -k "(0010,0010)=" -k “StudyDate=19950630” -k “StudyInstanceUID=” -k “QueryRetrieveLevel=STUDY” localhost 4242 -v
    I: Requesting Association
    I: Association Accepted (Max Send PDV: 16372)
    I: Sending Find Request (MsgID 1)
    I: Request Identifiers:
    I:
    I: # Dicom-Data-Set
    I: # Used TransferSyntax: Little Endian Explicit
    I: (0008,0020) DA [19950630] # 8, 1 StudyDate
    I: (0008,0052) CS [STUDY] # 6, 1 QueryRetrieveLevel
    I: (0010,0010) PN [
    ] # 2, 1 PatientName
    I: (0020,000d) UI (no value available) # 0, 0 StudyInstanceUID
    I:
    I: ---------------------------
    I: Find Response: 1 (Pending)
    I:
    I: # Dicom-Data-Set
    I: # Used TransferSyntax: Little Endian Explicit
    I: (0008,0005) CS [ISO_IR 100] # 10, 1 SpecificCharacterSet
    I: (0008,0020) DA [19950630] # 8, 1 StudyDate
    I: (0008,0052) CS [STUDY ] # 6, 1 QueryRetrieveLevel
    I: (0008,0054) AE [ORTHANC ] # 8, 1 RetrieveAETitle
    I: (0010,0010) PN [TCGA-50-6673] # 12, 1 PatientName
    I: (0020,000d) UI [1.3.6.1.4.1.14519.5.2.1.6450.9002.831040543056463454351773985760] # 64, 1 StudyInstanceUID
    I:
    I: Received Final Find Response (Success)
    I: Releasing Association

I think IssuerOfPatientID is an optional key on Study level, maybe this is why it fails ?

I couldn’t find any information about a conformance statement, to know what are the keys we can query/retrieve, if it exists.

Thank you in advance, if I can provide any other information please ask.

Yonatan

Hello,

Thanks for the report. Please could you provide a (possibly anonymized) sample DICOM file for us to independently reproduce your issue?
https://book.orthanc-server.com/users/support.html#discussing-a-minimal-working-example

Regards,
Sébastien-

Hello again,

I have been trying with the BRAINIX sample DICOM file, and both of your requests work correctly once I adapt the “StudyDate”:

$ findscu -P -aet TEST -aec ORTHANC -k “(0010,0010)=*” -k “StudyDate=20061201” -k “StudyInstanceUID=” -k “QueryRetrieveLevel=STUDY” -k “IssuerOfPatientID=” localhost 4242 -v

[…]
I: (0008,0005) CS [ISO_IR 100] # 10, 1 SpecificCharacterSet
I: (0008,0020) DA [20061201] # 8, 1 StudyDate
I: (0008,0052) CS [STUDY ] # 6, 1 QueryRetrieveLevel
I: (0008,0054) AE [ORTHANC ] # 8, 1 RetrieveAETitle
I: (0010,0010) PN [BRAINIX ] # 8, 1 PatientName
I: (0010,0021) LO (no value available) # 0, 0 IssuerOfPatientID
I: (0020,000d) UI [2.16.840.1.113669.632.20.1211.10000357775] # 42, 1 StudyInstanceUID
I:
I: Received Final Find Response (Success)
I: Releasing Association

$ findscu -S -aet TEST -aec ORTHANC -k “(0010,0010)=*” -k “StudyDate=20061201” -k “StudyInstanceUID=” -k “QueryRetrieveLevel=STUDY” localhost 4242 -v

[…]

I: (0008,0005) CS [ISO_IR 100] # 10, 1 SpecificCharacterSet
I: (0008,0020) DA [20061201] # 8, 1 StudyDate
I: (0008,0052) CS [STUDY ] # 6, 1 QueryRetrieveLevel
I: (0008,0054) AE [ORTHANC ] # 8, 1 RetrieveAETitle
I: (0010,0010) PN [BRAINIX ] # 8, 1 PatientName
I: (0020,000d) UI [2.16.840.1.113669.632.20.1211.10000357775] # 42, 1 StudyInstanceUID
I:
I: Received Final Find Response (Success)
I: Releasing Association

As can be seen, no “UnableToProcess” error is generated, and both requests succeed in reporting about the BRAINIX study.

There is visibly something wrong with your DICOM files. As written in my previous answer, I cannot provide any further support without one sample DICOM.

Sébastien-