PACS System 0.1.0
PACS DICOM system library
Loading...
Searching...
No Matches
pacs-web.cppm
Go to the documentation of this file.
1// BSD 3-Clause License
2// Copyright (c) 2025, 🍀☀🌕🌥 🌊
3// See the LICENSE file in the project root for full license information.
4
18module;
19
20// Standard library imports
21#include <cstddef>
22#include <cstdint>
23#include <functional>
24#include <memory>
25#include <optional>
26#include <span>
27#include <string>
28#include <string_view>
29#include <vector>
30
31// PACS web headers
36
37export module kcenon.pacs:web;
38
39// ============================================================================
40// Re-export pacs::web namespace
41// ============================================================================
42
43export namespace pacs::web {
44
45// REST server
46using pacs::web::rest_server;
47using pacs::web::rest_server_config;
48
49// REST types
50using pacs::web::http_status;
51using pacs::web::api_error;
52using pacs::web::to_json;
53using pacs::web::make_error_json;
54using pacs::web::make_success_json;
55using pacs::web::json_escape;
56
57} // namespace pacs::web
58
59// ============================================================================
60// Re-export pacs::web::dicomweb namespace
61// ============================================================================
62
63export namespace pacs::web::dicomweb {
64
65// Media types
66using pacs::web::dicomweb::media_type;
67
68// Accept header parsing
69using pacs::web::dicomweb::accept_info;
70using pacs::web::dicomweb::parse_accept_header;
71using pacs::web::dicomweb::is_acceptable;
72
73// Multipart response builder
74using pacs::web::dicomweb::multipart_builder;
75
76// DicomJSON conversion
77using pacs::web::dicomweb::dataset_to_dicom_json;
78using pacs::web::dicomweb::vr_to_string;
79using pacs::web::dicomweb::is_bulk_data_tag;
80
81// STOW-RS support
82using pacs::web::dicomweb::multipart_part;
83using pacs::web::dicomweb::multipart_parser;
84using pacs::web::dicomweb::store_instance_result;
85using pacs::web::dicomweb::store_response;
86using pacs::web::dicomweb::validation_result;
87using pacs::web::dicomweb::validate_instance;
88using pacs::web::dicomweb::build_store_response_json;
89
90// QIDO-RS support
91using pacs::web::dicomweb::study_record_to_dicom_json;
92using pacs::web::dicomweb::series_record_to_dicom_json;
93using pacs::web::dicomweb::instance_record_to_dicom_json;
94using pacs::web::dicomweb::parse_study_query_params;
95using pacs::web::dicomweb::parse_series_query_params;
96using pacs::web::dicomweb::parse_instance_query_params;
97
98// Frame retrieval (WADO-RS)
99using pacs::web::dicomweb::parse_frame_numbers;
100using pacs::web::dicomweb::extract_frame;
101
102// Rendered images (WADO-RS)
103using pacs::web::dicomweb::rendered_format;
104using pacs::web::dicomweb::rendered_params;
105using pacs::web::dicomweb::rendered_result;
106using pacs::web::dicomweb::parse_rendered_params;
107using pacs::web::dicomweb::apply_window_level;
108using pacs::web::dicomweb::render_dicom_image;
109
110} // namespace pacs::web::dicomweb
DICOMweb (WADO-RS) API endpoints for REST server.
Configuration for REST API server.
REST API server for PACS administration.
Common types and utilities for REST API.