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

DICOM Storage SCP service (C-STORE handler) More...

#include "scp_service.h"
#include "storage_status.h"
#include "kcenon/pacs/core/dicom_dataset.h"
#include <atomic>
#include <functional>
#include <memory>
#include <string>
#include <vector>
Include dependency graph for storage_scp.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  kcenon::pacs::services::storage_scp_config
 Configuration for Storage SCP service. More...
 
class  kcenon::pacs::services::storage_scp
 

Namespaces

namespace  kcenon
 
namespace  kcenon::pacs
 
namespace  kcenon::pacs::security
 
namespace  kcenon::pacs::services
 

Typedefs

using kcenon::pacs::services::storage_handler
 Callback type for handling received DICOM images.
 
using kcenon::pacs::services::pre_store_handler = std::function<bool(const core::dicom_dataset& dataset)>
 Callback type for pre-store validation.
 
using kcenon::pacs::services::post_store_handler
 Callback type for post-store notification.
 

Enumerations

enum class  kcenon::pacs::services::duplicate_policy { kcenon::pacs::services::reject , kcenon::pacs::services::replace , kcenon::pacs::services::ignore }
 Policy for handling duplicate SOP instances. More...
 

Functions

std::vector< std::string > kcenon::pacs::services::get_standard_storage_sop_classes ()
 Get a list of all standard Storage SOP Class UIDs.
 

Variables

Common Storage SOP Class UIDs
constexpr std::string_view kcenon::pacs::services::ct_image_storage_uid
 CT Image Storage.
 
constexpr std::string_view kcenon::pacs::services::enhanced_ct_image_storage_uid
 Enhanced CT Image Storage.
 
constexpr std::string_view kcenon::pacs::services::mr_image_storage_uid
 MR Image Storage.
 
constexpr std::string_view kcenon::pacs::services::enhanced_mr_image_storage_uid
 Enhanced MR Image Storage.
 
constexpr std::string_view kcenon::pacs::services::cr_image_storage_uid
 CR Image Storage.
 
constexpr std::string_view kcenon::pacs::services::dx_image_storage_presentation_uid
 Digital X-Ray Image Storage - For Presentation.
 
constexpr std::string_view kcenon::pacs::services::dx_image_storage_processing_uid
 Digital X-Ray Image Storage - For Processing.
 
constexpr std::string_view kcenon::pacs::services::us_image_storage_uid
 US Image Storage.
 
constexpr std::string_view kcenon::pacs::services::secondary_capture_image_storage_uid
 Secondary Capture Image Storage.
 
constexpr std::string_view kcenon::pacs::services::rt_image_storage_uid
 RT Image Storage.
 
constexpr std::string_view kcenon::pacs::services::rt_dose_storage_uid
 RT Dose Storage.
 
constexpr std::string_view kcenon::pacs::services::rt_structure_set_storage_uid
 RT Structure Set Storage.
 
constexpr std::string_view kcenon::pacs::services::rt_plan_storage_uid
 RT Plan Storage.
 

Detailed Description

DICOM Storage SCP service (C-STORE handler)

This file provides the storage_scp class for handling C-STORE requests. The Storage SCP receives DICOM images from SCU applications (modalities, workstations) and stores them in the PACS archive.

See also
DICOM PS3.4 Section B - Storage Service Class
DICOM PS3.7 Section 9.1.1 - C-STORE Service
DES-SVC-002 - Storage SCP Design Specification
Author
kcenon
Since
1.0.0

Definition in file storage_scp.h.