19#ifndef PACS_SERVICES_SOP_CLASSES_SR_STORAGE_HPP
20#define PACS_SERVICES_SOP_CLASSES_SR_STORAGE_HPP
39 "1.2.840.10008.5.1.4.1.1.88.11";
43 "1.2.840.10008.5.1.4.1.1.88.22";
47 "1.2.840.10008.5.1.4.1.1.88.33";
51 "1.2.840.10008.5.1.4.1.1.88.34";
55 "1.2.840.10008.5.1.4.1.1.88.35";
64 "1.2.840.10008.5.1.4.1.1.88.50";
68 "1.2.840.10008.5.1.4.1.1.88.65";
72 "1.2.840.10008.5.1.4.1.1.88.69";
76 "1.2.840.10008.5.1.4.1.1.88.67";
80 "1.2.840.10008.5.1.4.1.1.88.68";
84 "1.2.840.10008.5.1.4.1.1.88.71";
88 "1.2.840.10008.5.1.4.1.1.88.72";
92 "1.2.840.10008.5.1.4.1.1.88.73";
96 "1.2.840.10008.5.1.4.1.1.88.74";
100 "1.2.840.10008.5.1.4.1.1.88.75";
104 "1.2.840.10008.5.1.4.1.1.88.76";
113 "1.2.840.10008.5.1.4.1.1.88.59";
324[[nodiscard]] std::vector<std::string>
377namespace sr_template {
constexpr std::string_view mammography_cad_report
Mammography CAD Report (TID 4000)
constexpr std::string_view key_object_selection
Key Object Selection (TID 2010)
constexpr std::string_view measurement_report
AI Results Report (TID 1500 - measurement group)
constexpr std::string_view chest_cad_report
Chest CAD Report (TID 4100)
constexpr std::string_view ct_radiation_dose_report
CT Radiation Dose Report (TID 10011)
constexpr std::string_view xray_radiation_dose_report
X-Ray Radiation Dose Report (TID 10001)
constexpr std::string_view projection_xray_dose_report
Projection X-Ray Radiation Dose Report (TID 10020)
constexpr std::string_view colon_cad_report
Colon CAD Report (TID 4200)
constexpr std::string_view basic_diagnostic_imaging_report
Basic Diagnostic Imaging Report (TID 2000)
constexpr std::string_view comprehensive_sr_storage_uid
Comprehensive SR Storage SOP Class UID.
sr_relationship_type
SR Content Item Relationship Type (0040,A010)
@ inferred_from
INFERRED FROM - Inference source.
@ selected_from
SELECTED FROM - Selection source.
@ has_concept_mod
HAS CONCEPT MOD - Concept modifier.
@ has_obs_context
HAS OBS CONTEXT - Observation context.
@ contains
CONTAINS - Parent contains child.
@ has_properties
HAS PROPERTIES - Property value.
@ has_acq_context
HAS ACQ CONTEXT - Acquisition context.
constexpr std::string_view simplified_adult_echo_sr_storage_uid
Simplified Adult Echo SR Storage SOP Class UID.
constexpr std::string_view colon_cad_sr_storage_uid
Colon CAD SR Storage SOP Class UID.
sr_document_type get_sr_document_type(std::string_view uid) noexcept
Get SR document type for a SOP Class UID.
constexpr std::string_view patient_radiation_dose_sr_storage_uid
Patient Radiation Dose SR Storage SOP Class UID.
constexpr std::string_view mammography_cad_sr_storage_uid
Mammography CAD SR Storage SOP Class UID.
bool is_dose_sr_storage_sop_class(std::string_view uid) noexcept
Check if a SOP Class UID is a Dose Report SR Storage SOP Class.
constexpr std::string_view radiopharmaceutical_radiation_dose_sr_storage_uid
Radiopharmaceutical Radiation Dose SR Storage SOP Class UID.
sr_completion_flag parse_sr_completion_flag(std::string_view value) noexcept
Parse SR completion flag from DICOM string.
bool is_sr_storage_sop_class(std::string_view uid) noexcept
Check if a SOP Class UID is an SR Storage SOP Class.
constexpr std::string_view acquisition_context_sr_storage_uid
Acquisition Context SR Storage SOP Class UID.
bool sr_supports_spatial_coords(std::string_view uid) noexcept
Check if an SR SOP Class supports spatial coordinates.
std::vector< std::string > get_sr_transfer_syntaxes()
Get recommended transfer syntaxes for SR objects.
bool is_valid_sr_value_type(std::string_view value) noexcept
Check if SR value type string is valid.
bool is_cad_sr_storage_sop_class(std::string_view uid) noexcept
Check if a SOP Class UID is a CAD SR Storage SOP Class.
constexpr std::string_view basic_text_sr_storage_uid
Basic Text SR Storage SOP Class UID.
sr_document_type
SR Document type classification.
@ procedure_log
Procedure Log - Procedure documentation.
@ enhanced
Enhanced SR - References to images/waveforms.
@ extensible
Extensible SR - Template-based.
@ comprehensive
Comprehensive SR - Complex with spatial coords.
@ comprehensive_3d
Comprehensive 3D SR - 3D spatial coordinates.
@ basic_text
Basic Text SR - Simple text reports.
@ cad
CAD SR - Computer-aided detection results.
@ key_object_selection
Key Object Selection - Image selection.
@ dose_report
Dose Report - Radiation dose information.
sr_completion_flag
SR Completion Flag (0040,A491)
@ partial
PARTIAL - Document is not complete.
@ complete
COMPLETE - Document is complete.
@ other
Other/unspecified.
sr_value_type parse_sr_value_type(std::string_view value) noexcept
Parse SR value type from DICOM string.
constexpr std::string_view performed_imaging_agent_admin_sr_storage_uid
Performed Imaging Agent Administration SR Storage SOP Class UID.
std::string_view get_recommended_sr_template(std::string_view uid) noexcept
Get recommended template ID for an SR SOP Class.
sr_relationship_type parse_sr_relationship_type(std::string_view value) noexcept
Parse SR relationship type from DICOM string.
constexpr std::string_view extensible_sr_storage_uid
Extensible SR Storage SOP Class UID.
sr_verification_flag parse_sr_verification_flag(std::string_view value) noexcept
Parse SR verification flag from DICOM string.
constexpr std::string_view enhanced_sr_storage_uid
Enhanced SR Storage SOP Class UID.
const sr_sop_class_info * get_sr_sop_class_info(std::string_view uid) noexcept
Get information about a specific SR SOP Class.
constexpr std::string_view xray_radiation_dose_sr_storage_uid
X-Ray Radiation Dose SR Storage SOP Class UID.
constexpr std::string_view planned_imaging_agent_admin_sr_storage_uid
Planned Imaging Agent Administration SR Storage SOP Class UID.
constexpr std::string_view comprehensive_3d_sr_storage_uid
Comprehensive 3D SR Storage SOP Class UID.
sr_verification_flag
SR Verification Flag (0040,A493)
@ verified
VERIFIED - Verified by authorized person.
@ unverified
UNVERIFIED - Not verified.
constexpr std::string_view chest_cad_sr_storage_uid
Chest CAD SR Storage SOP Class UID.
@ unknown
Unknown or unspecified laterality.
constexpr std::string_view key_object_selection_document_storage_uid
Key Object Selection Document Storage SOP Class UID.
sr_value_type
SR Content Item Value Type (0040,A040)
@ num
NUM - Numeric measurement.
@ pname
PNAME - Person name.
@ scoord
SCOORD - Spatial coordinates (2D)
@ container
CONTAINER - Container for other items.
@ image
IMAGE - Reference to image.
@ uidref
UIDREF - UID reference.
@ waveform
WAVEFORM - Reference to waveform.
@ table
TABLE - Tabular data (Extensible SR)
@ code
CODE - Coded entry.
@ scoord3d
SCOORD3D - Spatial coordinates (3D)
@ tcoord
TCOORD - Temporal coordinates.
@ datetime
DATETIME - Date/time value.
@ composite
COMPOSITE - Reference to composite object.
std::string_view to_string(dx_photometric_interpretation interp) noexcept
Convert photometric interpretation enum to DICOM string.
std::vector< std::string > get_sr_storage_sop_classes(bool include_cad=true, bool include_dose=true)
Get all SR Storage SOP Class UIDs.
constexpr std::string_view enhanced_xray_radiation_dose_sr_storage_uid
Enhanced X-Ray Radiation Dose SR Storage SOP Class UID.
Information about an SR Storage SOP Class.
std::string_view name
Human-readable name.
bool is_retired
Whether this SOP class is retired.
std::string_view description
Brief description.
bool supports_waveform_ref
Can reference waveforms.
std::string_view uid
SOP Class UID.
sr_document_type document_type
Document type classification.
bool supports_spatial_coords
Can contain SCOORD/SCOORD3D.