GDCM 3.0.24
gdcmDIMSE.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: GDCM (Grassroots DICOM). A DICOM library
4
5 Copyright (c) 2006-2011 Mathieu Malaterre
6 All rights reserved.
7 See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details.
8
9 This software is distributed WITHOUT ANY WARRANTY; without even
10 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11 PURPOSE. See the above copyright notice for more information.
12
13=========================================================================*/
14#ifndef GDCMDIMSE_H
15#define GDCMDIMSE_H
16
17#include "gdcmTypes.h"
18
19namespace gdcm
20{
21
22namespace network
23{
24
33class DIMSE {
34public:
35 typedef enum {
36C_STORE_RQ = 0x0001,
37C_STORE_RSP = 0x8001,
38C_GET_RQ = 0x0010,
39C_GET_RSP = 0x8010,
40C_FIND_RQ = 0x0020,
41C_FIND_RSP = 0x8020,
42C_MOVE_RQ = 0x0021,
43C_MOVE_RSP = 0x8021,
44C_ECHO_RQ = 0x0030,
45C_ECHO_RSP = 0x8030,
48N_GET_RQ = 0x0110,
49N_GET_RSP = 0x8110,
50N_SET_RQ = 0x0120,
51N_SET_RSP = 0x8120,
52N_ACTION_RQ = 0x0130,
53N_ACTION_RSP = 0x8130,
54N_CREATE_RQ = 0x0140,
55N_CREATE_RSP = 0x8140,
56N_DELETE_RQ = 0x0150,
57N_DELETE_RSP = 0x8150,
58C_CANCEL_RQ = 0x0FFF
60};
61
62/*
639.1.5.1 C-ECHO parameters
64Table 9.1-5
65C-ECHO PARAMETERS
66*/
67class CEchoRQ
68{
69public:
70 uint16_t MessageID; /* M */
72};
73
74class CEchoRSP
75{
76public:
77/*
78Message ID M U
79Message ID Being Responded To M
80Affected SOP Class UID M U(=)
81Status M
82*/
83};
84
89class CFind
90{
91/*
92Failure Refused: Out of Resources A700 (0000,0902)
93Identifier does not match SOP Class A900 (0000,0901)
94(0000,0902)
95Unable to process Cxxx (0000,0901)
96(0000,0902)
97Cancel Matching terminated due to Cancel
98request
99FE00 None
100Success Matching is complete – No final Identifier
101is supplied.
1020000 None
103Pending Matches are continuing – Current Match
104is supplied and any Optional Keys were
105supported in the same manner as
106Required Keys.
107FF00 Identifier
108Matches are continuing – Warning that
109one or more Optional Keys were not
110supported for existence and/or matching
111for this Identifier.
112FF01 Identifier
113*/
114};
115
116
117} // end namespace network
118
119} // end namespace gdcm
120
121#endif //GDCMDIMSE_H
String.
Definition gdcmString.h:32
UIComp AffectedSOPClassUID
Definition gdcmDIMSE.h:71
uint16_t MessageID
Definition gdcmDIMSE.h:70
CEchoRSP this file defines the messages for the cecho action.
Definition gdcmCEchoMessages.h:42
Definition gdcmDIMSE.h:90
DIMSE.
Definition gdcmDIMSE.h:33
CommandTypes
Definition gdcmDIMSE.h:35
@ C_STORE_RSP
Definition gdcmDIMSE.h:37
@ C_FIND_RSP
Definition gdcmDIMSE.h:41
@ C_STORE_RQ
Definition gdcmDIMSE.h:36
@ N_SET_RQ
Definition gdcmDIMSE.h:50
@ N_ACTION_RSP
Definition gdcmDIMSE.h:53
@ C_CANCEL_RQ
Definition gdcmDIMSE.h:58
@ C_MOVE_RQ
Definition gdcmDIMSE.h:42
@ C_ECHO_RSP
Definition gdcmDIMSE.h:45
@ N_EVENT_REPORT_RSP
Definition gdcmDIMSE.h:47
@ N_CREATE_RSP
Definition gdcmDIMSE.h:55
@ N_CREATE_RQ
Definition gdcmDIMSE.h:54
@ N_EVENT_REPORT_RQ
Definition gdcmDIMSE.h:46
@ N_GET_RQ
Definition gdcmDIMSE.h:48
@ N_ACTION_RQ
Definition gdcmDIMSE.h:52
@ N_DELETE_RQ
Definition gdcmDIMSE.h:56
@ N_SET_RSP
Definition gdcmDIMSE.h:51
@ C_GET_RQ
Definition gdcmDIMSE.h:38
@ C_GET_RSP
Definition gdcmDIMSE.h:39
@ N_DELETE_RSP
Definition gdcmDIMSE.h:57
@ C_ECHO_RQ
Definition gdcmDIMSE.h:44
@ C_FIND_RQ
Definition gdcmDIMSE.h:40
@ C_MOVE_RSP
Definition gdcmDIMSE.h:43
@ N_GET_RSP
Definition gdcmDIMSE.h:49
Definition gdcmASN1.h:21