I cannot find Study that I sent via STOW-RS

Hi. everybody.

Now I use Orthanc as a DICOM web Server.

I send a DICOM data via STOW-RS and Orthanc return 200 but I cannot found the study in look up.
I saw a example in Python and my parameters seems fine.
https://hg.orthanc-server.com/orthanc-tests/file/tip/Plugins/DicomWeb/DicomWeb.py

Environment:

  • Orthanc Container
    jodogne/orthanc-plugins latest f2854b307c42 3 weeks ago 208MB
  • Postman

Phenomenon

  • Return 200
  • I cannot find the Study in look up.

Request Parameter

Auth.png

Auth

Header.png

Header

Body.png

Body

Response Body

{
“00080005”: {
“Value”: [
“ISO_IR 100”
],
“vr”: “CS”
},
“00081198”: {
“vr”: “SQ”
},
“00081199”: {
“vr”: “SQ”
}
}

Hello,

Please provide a minimal working example for other people to be able to reproduce your issue:
https://book.orthanc-server.com/users/support.html#discussing-a-minimal-working-example

You must at least provide a sample DICOM file, the command-line you used to upload the file (STOW-RS), and the cURL command-line to run the query (QIDO-RS). We cannot provide support based on partial screenshots.

Sébastien-

Thanks for your reply.

I make it the following curl command.

`

curl --location --request POST ‘http://172.17.0.2:8042/dicom-web/studies/
–header ‘Content-Type: multipart/related; type=“application/dicom”’
–header ‘Authorization: Basic b3J0aGFuYzpvcnRoYW5j’
–form ‘content=@sample.dcm; type=application/dicom’

`

And I found that I cannot send DICOM file via STOW-RS using Postman.

Postman does not set any header type for the binary body type.

{149D6318-ED3A-4C69-AB2B-8DE8203E1BB3}.png

On the other hand, STOW-RS need Content-type with each form.

{255D18FA-C93F-4400-8894-2EA8842AFEBD}.png

2020年5月19日火曜日 2時17分49秒 UTC+9 Sébastien Jodogne:

This is not how DICOMweb STOW-RS is supposed to work. You must send a multipart message.

Check out the Python sample from the DICOMweb plugin for full example:
https://hg.orthanc-server.com/orthanc-dicomweb/file/OrthancDicomWeb-1.1/Resources/Samples/Python/SendStow.py

A similar example also exists for JavaScript:
https://hg.orthanc-server.com/orthanc-dicomweb/file/OrthancDicomWeb-1.1/Resources/Samples/JavaScript/stow-rs.js