LoginSignup
0
0

More than 3 years have passed since last update.

STOW-RSでハマった話

Posted at

STOW-RSでハマった話

Docker Desktop for WindowsでOrthancコンテナを立ち上げ、DICOM Webの確認をしていたときのハマった事例を共有します。

環境

  • Docker Desktop for Windows
    • Orthanc
    • CentOS 8
  • Postman

ハマったこと

  • Postman→OrthancにSTOW-RSでDICOMデータを登録しても登録されない。
    • HTTP 200応答される
    • データは登録されていない。

調査~解決

  1. Orthancコミュニティで質問したところ、curlコマンドとDICOMファイルの提出を求められたのでPostmanからcurlを生成して調査
  2. --formにContent-typeがついてないことに気がつく。
  3. つけてみてcurl実行 (CentOS8上で) →成功・ファイル登録された。
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' \
--verbose

仕様・規格

現行のPostman仕様とDICOM規格からすると、PostmanでSTOW-RSを使うのは不可能のようです。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0