Hi,
For research subjects we keep research project ID as Patient's Last Name. We keep a master list of all such IDs. For any incoming store requests containing invalid ID for Patient's Last Name, I would like to reject store request for the incoming DICOM study. Can this be done through -xcr script option? If yes, is there a way to pass reject message via storescp command-line to the sending station? Please let me know. Thanks.
Sundar
reject DICOM store request based on DICOM header information
Moderator: Moderator Team
-
- DCMTK Developer
- Posts: 2517
- Joined: Tue, 2011-05-03, 14:38
- Location: Oldenburg, Germany
- Contact:
Re: reject DICOM store request based on DICOM header informa
If I were you I would use the new command line tool dcmrecv (instead of storescp) as the basis and modify the code in class DcmStorageSCP accordingly.
The methods DcmStorageSCP::handleIncomingCommand() or DcmStorageSCP::checkAndProcessSTORERequest() are probably best suited.
This would also allow you for returning an appropriate DIMSE status code.
The methods DcmStorageSCP::handleIncomingCommand() or DcmStorageSCP::checkAndProcessSTORERequest() are probably best suited.
This would also allow you for returning an appropriate DIMSE status code.
No, this cannot be done with executing a shell script since the C-STORE-RSP message has already been sent at that time.Can this be done through -xcr script option? If yes, is there a way to pass reject message via storescp command-line to the sending station
Who is online
Users browsing this forum: Bing [Bot], Google [Bot] and 1 guest