marcelvanherk / Conquest-DICOM-Server

Conquest DICOM server, aiming for complete source code release
112 stars 47 forks source link

Webhooks for Modlity Worklist Server queries #6

Closed aptvision-paulw closed 3 years ago

aptvision-paulw commented 3 years ago

Hi,

We'd like to have an ability to call an API to retrieve data from a third party system when a modality queries the modality worklist server (rather than using the database). We are happy to do the development required, would you consider accepting a pull request when this is ready and you are satisfied with the implementation?

I presume this would only require adding the necessary code to: https://github.com/marcelvanherk/Conquest-DICOM-Server/blob/d963df1b66270f89e86b28be121f7c0913479ec4/src/dgate/src/vrtosql.cpp#L2592

Thanks

marcelvanherk commented 3 years ago

Hi,

I guess that the cleanest way to do this is to add a lua interface to create the response and then build a lua plugin. But what method do you have in mind? It must be generic enough to be in the main code. But of course we can put it in an #ifdef block, happy to include it if it comes with few dependencies.

regards,

Marcel

On Tue, Aug 11, 2020 at 1:22 PM aptvision-paulw notifications@github.com wrote:

Hi,

We'd like to have an ability to call an API to retrieve data from a third party system when a modality queries the modality worklist server (rather than using the database). We are happy to do the development required, would you consider accepting a pull request when this is ready and you are satisfied with the implementation?

I presume this would only require adding the necessary code to: https://github.com/marcelvanherk/Conquest-DICOM-Server/blob/d963df1b66270f89e86b28be121f7c0913479ec4/src/dgate/src/vrtosql.cpp#L2592

Thanks

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/marcelvanherk/Conquest-DICOM-Server/issues/6, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAVDWJJEBE2TAWZLRC7H5HDSAESWZANCNFSM4P25XSDA .

marcelvanherk commented 3 years ago

Closed because of lack of activity