Is sending custom error messages possible in dcmtk, if so how that can be achieved. My scenario here is that I want to define my own error messages and send that message to the scu if the find fails for some reason. Similarly I want to be able to do this for echo, move and store. If this is achievable, how can I do it?
Thanks and regards,
Cyril M Jose
Sending custom error messages in dcmtk
Moderator: Moderator Team
Re: Sending custom error messages in dcmtk
Could we use addStatusDetail function for this purpose, I couldn't find any examples using it though. Could anyone please help me with this, it is actually needed urgently for the project I am working on
thanks and regards,
Cyril M Jose
PS : I am a just a beginner in DICOM and DCMTk
thanks and regards,
Cyril M Jose
PS : I am a just a beginner in DICOM and DCMTk
-
- DCMTK Developer
- Posts: 2048
- Joined: Fri, 2004-11-05, 13:47
- Location: Oldenburg, Germany
- Contact:
Re: Sending custom error messages in dcmtk
Status Detail is only a regular DICOM dataset (i.e. a list of DICOM attributes) that is sent along with the status returned by an SCP, usually.
Common attributes that you add into this dataset are Error Comment (0000,0902) or Offending Element (0000,0901). The attributes allowed depend on the status code (Status attribute 0000,0900) returned. See part 7 Appendix C for the different status codes.
Best,
Michael
Common attributes that you add into this dataset are Error Comment (0000,0902) or Offending Element (0000,0901). The attributes allowed depend on the status code (Status attribute 0000,0900) returned. See part 7 Appendix C for the different status codes.
Best,
Michael
Who is online
Users browsing this forum: Ahrefs [Bot], Bing [Bot], Google [Bot] and 1 guest