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

DICOM Association hooks #706

Open
Enet4 opened this issue Nov 20, 2024 · 2 comments
Open

DICOM Association hooks #706

Enet4 opened this issue Nov 20, 2024 · 2 comments

Comments

@Enet4
Copy link
Collaborator

Enet4 commented Nov 20, 2024

In some scenarios of Dicoogle extensions, it would be nice to be able to react to certain events in the DICOM association lifecycle immediately. At the moment, it is only possible to react to file storage and indexing, which can be either too late for the intended action or make it impossible to intervene with the association itself.

This is a request for a feature enabling Dicoogle plugins to attach custom hooks to DICOM associations, including when they are requested, established, released, and for each incoming PData PDU. This should probably also make it possible to control whether an incoming request should be accepted based on additional, non-standard criteria.

@beavermml
Copy link

For example in Orthanc, we can make a custom Lua script for hooking to done/final study.

Which is great for web based system when we can make the orthanc to trigger the system whenever the study is ready to be used ( view etc )

@Enet4
Copy link
Collaborator Author

Enet4 commented Jan 10, 2025

For example in Orthanc, we can make a custom Lua script for hooking to done/final study.

Which is great for web based system when we can make the orthanc to trigger the system whenever the study is ready to be used ( view etc )

That functionality can be brought to Dicoogle via indexing plugins. It is available as part of the PACScenter archive offering.

Association hooks would probably help create the intended heuristics, but we have preferred not to assume that the entirety of the study will be sent in the same association, so we would still keep track of image provenance and only assume that the study is complete after a small while without receiving any images of that study.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants