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

N-CREATE DIMSE service. More...

#include "dimse_message.h"
Include dependency graph for n_create.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-CREATE DIMSE service.

N-CREATE is used to create a new managed SOP Instance. It is primarily used for normalized SOP Classes such as MPPS (Modality Performed Procedure Step).

See also
DICOM PS3.7 Section 10.1.5 - N-CREATE Service

Usage Example

// SCU creates an MPPS instance
auto rq = make_n_create_rq(1, mpps_sop_class_uid, instance_uid);
rq.set_dataset(initial_attributes);
// SCP responds with created instance
auto rsp = make_n_create_rsp(1, mpps_sop_class_uid, instance_uid, status_success);
rsp.set_dataset(returned_attributes);

Command Elements

Tag Keyword Request Response
(0000,0002) AffectedSOPClassUID M M
(0000,0100) CommandField M (0x0140/0x8140) M
(0000,0110) MessageID M -
(0000,0120) MessageIDBeingRespondedTo - M
(0000,0800) CommandDataSetType M M
(0000,0900) Status - M
(0000,1000) AffectedSOPInstanceUID U C

M = Mandatory, U = User option, C = Conditional

Author
kcenon
Since
1.0.0

Definition in file n_create.h.