DicomCStoreResponse and multiple files saving

109 views
Skip to first unread message

Ali Habib

unread,
Jun 28, 2015, 9:41:09 PM6/28/15
to fo-d...@googlegroups.com

Hi,

 

Am new to pacs and DICOM , I review  the c-store example , and I want to ask what if the response containing many files (CT- scan ) how can I modify this part in code to store all of that

 

public DicomCStoreResponse OnCStoreRequest(DicomCStoreRequest request)  => request.File.Save(path);  how to modify that

Anders Gustafsson Cureos AB

unread,
Jun 30, 2015, 5:56:53 AM6/30/15
to fo-d...@googlegroups.com
Hi Ali,

please have a look at the OnCStoreRequest event handler in the C-Store SCP example program. This should give you an example of how to name each file with its own SOP instance UIDs as base.

Regards,
Anders @ Cureos

Ali Habib

unread,
Jun 30, 2015, 8:06:23 AM6/30/15
to fo-d...@googlegroups.com
U mean OnCStoreRequest event handler will fire per file receiving , what confused me is that in some modalities all files are sent as bulk or am missing something

Anders Gustafsson Cureos AB

unread,
Jun 30, 2015, 8:12:45 AM6/30/15
to fo-d...@googlegroups.com
Your comment makes me a little insecure, because I haven't got a running example in front of me to test, but YES, I am fairly sure that the event handler will fire once for each received file. 

Reply all
Reply to author
Forward
0 new messages