PACS System 0.1.0
PACS DICOM system library
Loading...
Searching...
No Matches
n_set.h File Reference

N-SET DIMSE service. More...

#include "dimse_message.h"
Include dependency graph for n_set.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  kcenon
 
namespace  kcenon::pacs
 
namespace  kcenon::pacs::network
 
namespace  kcenon::pacs::network::dimse
 

Detailed Description

N-SET DIMSE service.

N-SET is used to modify attributes of a managed SOP Instance. It is primarily used for normalized SOP Classes such as MPPS to update procedure step status.

See also
DICOM PS3.7 Section 10.1.3 - N-SET Service

Usage Example

// SCU updates MPPS status to COMPLETED
auto rq = make_n_set_rq(2, mpps_sop_class_uid, instance_uid);
core::dicom_dataset modification;
modification.set_string(tags::performed_procedure_step_status, vr_type::CS, "COMPLETED");
rq.set_dataset(std::move(modification));
// SCP responds
auto rsp = make_n_set_rsp(2, mpps_sop_class_uid, instance_uid, status_success);

Command Elements

Tag Keyword Request Response
(0000,0003) RequestedSOPClassUID M -
(0000,0002) AffectedSOPClassUID - M
(0000,0100) CommandField M (0x0120/0x8120) M
(0000,0110) MessageID M -
(0000,0120) MessageIDBeingRespondedTo - M
(0000,0800) CommandDataSetType M M
(0000,0900) Status - M
(0000,1001) RequestedSOPInstanceUID M -
(0000,1000) AffectedSOPInstanceUID - M

M = Mandatory

Author
kcenon
Since
1.0.0

Definition in file n_set.h.