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

N-GET DIMSE service. More...

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

N-GET is used to retrieve attribute values from a managed SOP Instance. It supports selective retrieval via the Attribute Identifier List.

See also
DICOM PS3.7 Section 10.1.2 - N-GET Service

Usage Example

// SCU requests specific attributes
std::vector<core::dicom_tag> tags_to_get = {
tags::patient_name,
tags::patient_id,
tags::performed_procedure_step_status
};
auto rq = make_n_get_rq(3, sop_class_uid, instance_uid, tags_to_get);
// SCP responds with requested attributes
auto rsp = make_n_get_rsp(3, sop_class_uid, instance_uid, status_success);
rsp.set_dataset(requested_attributes);

Command Elements

Tag Keyword Request Response
(0000,0003) RequestedSOPClassUID M -
(0000,0002) AffectedSOPClassUID - M
(0000,0100) CommandField M (0x0110/0x8110) 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
(0000,1005) AttributeIdentifierList U -

M = Mandatory, U = User option (if empty, all attributes returned)

Author
kcenon
Since
1.0.0

Definition in file n_get.h.