Odil
A C++11 library for the DICOM standard
|
Go to the documentation of this file.
9 #ifndef _0dd2e31e_212a_494a_a8d3_93b235336658
10 #define _0dd2e31e_212a_494a_a8d3_93b235336658
37 AttributeListError=0x0107,
38 AttributeValueOutOfRange=0x0116,
41 SOPClassNotSupported=0x0122,
42 ClassInstanceConflict=0x0119,
43 DuplicateSOPInstance=0x0111,
44 DuplicateInvocation=0x0210,
45 InvalidArgumentValue=0x0115,
46 InvalidAttributeValue=0x0106,
47 InvalidObjectInstance=0x0117,
48 MissingAttribute=0x0120,
49 MissingAttributeValue=0x0121,
50 MistypedArgument=0x0212,
51 NoSuchArgument=0x0114,
52 NoSuchAttribute=0x0105,
53 NoSuchEventType=0x0113,
54 NoSuchSOPInstance=0x0112,
55 NoSuchSOPClass=0x0118,
56 ProcessingFailure=0x0110,
57 ResourceLimitation=0x0213,
58 UnrecognizedOperation=0x0211,
59 NoSuchActionType=0x0123,
60 RefusedNotAuthorized=0x0124,
81 Response(std::shared_ptr<Message const> message);
99 bool is_pending() const;
102 bool is_warning() const;
105 bool is_failure() const;
108 void set_status_fields(std::shared_ptr<
DataSet const> status_fields);
115 #endif // _0dd2e31e_212a_494a_a8d3_93b235336658
Tag const OffendingElement(0x0000, 0x0901)
Response(Value::Integer message_id_being_responded_to, Value::Integer status)
Create a response with given message id and status;.
#define ODIL_MESSAGE_OPTIONAL_FIELD_STRING_MACRO(name, tag)
Definition: Message.h:70
Tag const AttributeIdentifierList(0x0000, 0x1005)
Tag const AffectedSOPInstanceUID(0x0000, 0x1000)
Definition: Association.h:25
#define ODIL_API
Definition: odil.h:28
static bool is_failure(Value::Integer status)
Test whether the status class is failure.
ODIL_MESSAGE_MANDATORY_FIELD_INTEGER_MACRO(message_id_being_responded_to, registry::MessageIDBeingRespondedTo) ODIL_MESSAGE_OPTIONAL_FIELD_STRING_MACRO(offending_element
Tag const ErrorComment(0x0000, 0x0902)
Response(std::shared_ptr< Message const > message)
Create a response from the Message ID Being Responded To and the Status stored in the message command...
#define ODIL_MESSAGE_OPTIONAL_FIELD_INTEGER_MACRO(name, tag)
Definition: Message.h:67
static bool is_pending(Value::Integer status)
Test whether the status class is pending.
static bool is_warning(Value::Integer status)
Test whether the status class is warning.
Tag const MessageIDBeingRespondedTo(0x0000, 0x0120)
int64_t Integer
Integer type.
Definition: Value.h:42
Base class for all DIMSE response messages.
Definition: Response.h:25
Status
General status codes, from PS3.7, C.
Definition: Response.h:29
Tag const ErrorID(0x0000, 0x0903)
#define ODIL_MESSAGE_MANDATORY_FIELD_INTEGER_MACRO(name, tag)
Definition: Message.h:61
Tag const Status(0x0000, 0x0900)
DICOM Data set.
Definition: DataSet.h:30
Base class for all DIMSE messages.
Definition: Message.h:77