Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WADO-RS / WADO-URI : Incorrect/Missing Transfer Syntax Parameter in Content Type header fields of multipart responses with compressed DICOM images #2813

Closed
gunterze opened this issue Oct 7, 2020 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@gunterze
Copy link
Member

gunterze commented Oct 7, 2020

  • The transfer-syntax parameter of the Content-Type header field of responses with compressed DICOM images shall specify the particular Transfer Syntax UID of the compressed DICOM object in the first message part - and not transfer-syntax=*.
  • Also the Content-Type header field of all message parts containing a compressed DICOM object shall include the transfer-syntax parameter with the particular Transfer Syntax UID of the compressed DICOM object in the part. Only for parts containing DICOM objects encoded with Explicit VR Little Endian Uncompressed including the transfer-syntax parameter in the Content-Type header field is optional. s. PS 3.18, 8.7.3.4 Transfer Syntax
$ wadors -v -a 'multipart/related;type="application/dicom";transfer-syntax=*' https://ihe.j4care.com:8443/dcm4chee-arc/aets/PACS_J4C/rs/studies/1.3.46.670589.45.1.1.4993912214784.1.5436.1538560374871/series/1.3.46.670589.45.1.1.4993912214784.1.5436.1538560600947.3/instances/1.3.6.1.4.1.5962.99.1.2466206057.1519790568.1583014203753.7.0
> GET /dcm4chee-arc/aets/PACS_J4C/rs/studies/1.3.46.670589.45.1.1.4993912214784.1.5436.1538560374871/series/1.3.46.670589.45.1.1.4993912214784.1.5436.1538560600947.3/instances/1.3.6.1.4.1.5962.99.1.2466206057.1519790568.1583014203753.7.0 HTTP/1.1
> Host: ihe.j4care.com:8443
> Accept: multipart/related;type="application/dicom";transfer-syntax=*
> 
< HTTP/1.1 200
< access-control-allow-credentials: true
< access-control-allow-headers: origin, content-type, accept, authorization
< access-control-allow-methods: GET, POST, PUT, DELETE, OPTIONS, HEAD
< access-control-allow-origin: *
< connection: keep-alive
< content-type: multipart/related;start="<ac84b2ce-da9e-4ad2-bca9-ea401d0bee6a@resteasy-multipart>";transfer-syntax=*;type="application/dicom"; boundary=8d1f6be6-d257-43ef-bfed-b9724c993968
< date: Wed, 07 Oct 2020 10:05:01 GMT
< etag: "-1153570366"
< last-modified: Wed, 23 Sep 2020 13:53:50 GMT
< transfer-encoding: chunked
< 
< --8d1f6be6-d257-43ef-bfed-b9724c993968
< Content-ID: <ac84b2ce-da9e-4ad2-bca9-ea401d0bee6a@resteasy-multipart>
< Content-Type: application/dicom
< 
* /home/gunter/work/dcm4chee-arc-light/1.3.6.1.4.1.5962.99.1.2466206057.1519790568.1583014203753.7.0-001.dcm
< --8d1f6be6-d257-43ef-bfed-b9724c993968--
$ dcmdump /home/gunter/work/dcm4chee-arc-light/1.3.6.1.4.1.5962.99.1.2466206057.1519790568.1583014203753.7.0-001.dcm | head
0: [0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\
132: (0002,0000) UL #4 [198] FileMetaInformationGroupLength
144: (0002,0001) OB #2 [0\1] FileMetaInformationVersion
158: (0002,0002) UI #30 [1.2.840.10008.5.1.4.1.1.77.1.6] MediaStorageSOPClassU
196: (0002,0003) UI #62 [1.3.6.1.4.1.5962.99.1.2466206057.1519790568.158301420
266: (0002,0010) UI #22 [1.2.840.10008.1.2.4.90] TransferSyntaxUID
296: (0002,0012) UI #16 [1.2.40.0.13.1.3] ImplementationClassUID
320: (0002,0013) SH #14 [dcm4che-5.22.6] ImplementationVersionName
342: (0008,0008) CS #32 [DERIVED\PRIMARY\VOLUME\RESAMPLED] ImageType
382: (0008,0012) DA #8 [20181003] InstanceCreationDate
@gunterze gunterze added the bug Something isn't working label Oct 7, 2020
@gunterze gunterze added this to the 5.22.6 milestone Oct 7, 2020
@gunterze gunterze changed the title WADO-RS: Incorrect Transfer Syntax Parameter in Content Type of multipart responses with compressed DICOM images WADO-RS: Incorrect/Missing Transfer Syntax Parameter in Content Type header field of multipart responses with compressed DICOM images Oct 7, 2020
@gunterze gunterze changed the title WADO-RS: Incorrect/Missing Transfer Syntax Parameter in Content Type header field of multipart responses with compressed DICOM images WADO-RS: Incorrect/Missing Transfer Syntax Parameter in Content Type header fields of multipart responses with compressed DICOM images Oct 7, 2020
vrindanayak added a commit that referenced this issue Oct 8, 2020
…header fields of multipart responses with compressed DICOM images #2813
@vrindanayak vrindanayak changed the title WADO-RS: Incorrect/Missing Transfer Syntax Parameter in Content Type header fields of multipart responses with compressed DICOM images WADO-RS / WADO-URI : Incorrect/Missing Transfer Syntax Parameter in Content Type header fields of multipart responses with compressed DICOM images Oct 9, 2020
vrindanayak added a commit that referenced this issue Oct 9, 2020
…ontent Type header fields of multipart responses with compressed DICOM images #2813
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants