-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
Handling of inability to C-STORE by clients #42
Comments
Hi @richard-viney, |
Yep for sure, dcmjs-imaging is a very good step towards implementing transcoding should a client want to do that, but this falls outside of the scope of dcmjs-dimse. Propagating an event to the client is reasonable, and if that event goes unhandled the current behaviour of reporting a log message and continuing one could be kept unchanged in order to preserve compatibility. However, in my opinion the current behaviour of only emitting a log message and continuing on as if there was no problem isn't an ideal default, so perhaps a breaking change to the current behaviour is preferable in order to surface this case more reliably to all clients, i.e. treat it as an error in all cases. If the client wants to, they can detect the error, transcode the dataset, and then re-send it. Thoughts? |
Hi Richard! |
It would be a great feature. And the same thing for Unsupported Abstract Syntax is appreciated. |
Just noticed that it would be useful if the
A transfer syntax transcoding from ${t.getTransferSyntaxUid()} to ${s} is currently not supported. Skipping...
error could be surfaced/handled by clients of dcmjs-dimse. Is there a good way to achieve this currently? I think I can loop through the accepted presentation contexts to see if one will match, but it would nice to have a way to directly handle this case when dcmjs-dimse does run into it.A possible extension to this, though not one I have any need of, would be to allow the client to transcode the DICOM to a supported transfer syntax when this error does happen, which could be used to convert to Implicit VR Little Endian for maximum compatibility with other systems. Obviously there's more involved there, and any acutal transcoding itself is completely out of scope for dcmjs-dimse.
The text was updated successfully, but these errors were encountered: