PACS System 0.1.0
PACS DICOM system library
Loading...
Searching...
No Matches
mr_storage.h
Go to the documentation of this file.
1// BSD 3-Clause License
2// Copyright (c) 2021-2025, 🍀☀🌕🌥 🌊
3// See the LICENSE file in the project root for full license information.
4
20#ifndef PACS_SERVICES_SOP_CLASSES_MR_STORAGE_HPP
21#define PACS_SERVICES_SOP_CLASSES_MR_STORAGE_HPP
22
23#include <string>
24#include <string_view>
25#include <vector>
26
28
29// =============================================================================
30// MR Storage SOP Class UIDs
31// =============================================================================
32
34inline constexpr std::string_view mr_image_storage_uid =
35 "1.2.840.10008.5.1.4.1.1.4";
36
38inline constexpr std::string_view enhanced_mr_image_storage_uid =
39 "1.2.840.10008.5.1.4.1.1.4.1";
40
41// =============================================================================
42// MR SOP Class Utilities
43// =============================================================================
44
49[[nodiscard]] std::vector<std::string> get_mr_storage_sop_classes();
50
56[[nodiscard]] bool is_mr_storage_sop_class(std::string_view uid) noexcept;
57
66[[nodiscard]] bool is_valid_mr_photometric(std::string_view value) noexcept;
67
68} // namespace kcenon::pacs::services::sop_classes
69
70#endif // PACS_SERVICES_SOP_CLASSES_MR_STORAGE_HPP
bool is_mr_storage_sop_class(std::string_view uid) noexcept
Check if a SOP Class UID is an MR Storage SOP Class.
constexpr std::string_view enhanced_mr_image_storage_uid
Enhanced MR Image Storage SOP Class UID.
Definition mr_storage.h:38
std::vector< std::string > get_mr_storage_sop_classes()
Get all MR Storage SOP Class UIDs.
bool is_valid_mr_photometric(std::string_view value) noexcept
Check if photometric interpretation is valid for MR.
constexpr std::string_view mr_image_storage_uid
MR Image Storage SOP Class UID.
Definition mr_storage.h:34
std::string_view uid