|
PACS System 0.1.0
PACS DICOM system library
|
Classes | |
| struct | annotation_query |
| struct | annotation_record |
| Annotation record from the database. More... | |
| class | annotation_repository |
| Repository for annotation persistence (legacy SQLite interface) More... | |
| struct | annotation_style |
| Style information for annotations. More... | |
| struct | audit_query |
| Query parameters for audit log search. More... | |
| struct | audit_record |
| Audit log record from the database. More... | |
| class | audit_repository |
| struct | azure_blob_info |
| Information about an Azure Blob object. More... | |
| class | azure_blob_storage |
| struct | azure_storage_config |
| Configuration for Azure Blob storage. More... | |
| struct | cloud_storage_config |
| Configuration for S3-compatible cloud storage. More... | |
| class | file_storage |
| struct | file_storage_config |
| Configuration for file_storage. More... | |
| class | hsm_migration_service |
| struct | hsm_statistics |
| Combined statistics for all HSM tiers. More... | |
| class | hsm_storage |
| struct | hsm_storage_config |
| Configuration for HSM storage. More... | |
| struct | index_config |
| Configuration for index database. More... | |
| class | index_database |
| struct | instance_query |
| struct | instance_record |
| Instance record from the database. More... | |
| class | instance_repository |
| Repository for instance metadata persistence (legacy SQLite interface) More... | |
| struct | job_query_options |
| Query options for listing jobs. More... | |
| class | job_repository |
| Repository for job persistence (legacy SQLite interface) More... | |
| struct | key_image_query |
| struct | key_image_record |
| Key image record from the database. More... | |
| class | key_image_repository |
| Repository for key image persistence (legacy SQLite interface) More... | |
| struct | measurement_query |
| struct | measurement_record |
| Measurement record from the database. More... | |
| class | measurement_repository |
| Repository for measurement persistence (legacy SQLite interface) More... | |
| struct | migration_record |
| Represents a record of an applied database migration. More... | |
| struct | migration_result |
| Result of a migration operation. More... | |
| class | migration_runner |
| struct | migration_service_config |
| Configuration for the migration service. More... | |
| class | mock_azure_client |
| Mock Azure Blob client for testing without Azure SDK dependency. More... | |
| class | mock_s3_client |
| Mock S3 client for testing without AWS SDK dependency. More... | |
| struct | mpps_query |
| struct | mpps_record |
| MPPS record from the database. More... | |
| class | mpps_repository |
| class | node_repository |
| Repository for remote node persistence (legacy SQLite interface) More... | |
| struct | patient_query |
| struct | patient_record |
| Patient record from the database. More... | |
| class | patient_repository |
| Repository for patient metadata persistence (legacy SQLite interface) More... | |
| struct | performed_series_info |
| Information about a performed series. More... | |
| struct | prefetch_history_query_options |
| Query options for listing prefetch history. More... | |
| class | prefetch_repository |
| Repository for prefetch persistence (legacy SQLite interface) More... | |
| struct | prefetch_rule_query_options |
| Query options for listing prefetch rules. More... | |
| struct | recent_study_record |
| Recent study access record from the database. More... | |
| class | routing_repository |
| Repository for routing rule persistence (legacy SQLite interface) More... | |
| struct | routing_rule_query_options |
| Query options for listing routing rules. More... | |
| struct | s3_object_info |
| Information about an S3 object. More... | |
| class | s3_storage |
| struct | series_query |
| struct | series_record |
| Series record from the database. More... | |
| class | series_repository |
| Repository for series metadata persistence (legacy SQLite interface) More... | |
| class | storage_interface |
| struct | storage_statistics |
| Storage statistics structure. More... | |
| struct | study_query |
| struct | study_record |
| Study record from the database. More... | |
| class | study_repository |
| Repository for study metadata persistence (legacy SQLite interface) More... | |
| class | sync_repository |
| Repository for sync persistence (legacy SQLite interface) More... | |
| struct | tier_metadata |
| Metadata for tracking instance tier location. More... | |
| struct | tier_policy |
| struct | tier_statistics |
| Statistics for a single storage tier. More... | |
| class | ups_repository |
| struct | ups_subscription |
| UPS subscription record from the database. More... | |
| struct | ups_workitem |
| UPS workitem record from the database. More... | |
| struct | ups_workitem_query |
| struct | viewer_state_query |
| struct | viewer_state_record |
| Viewer state record from the database. More... | |
| class | viewer_state_repository |
| Repository for viewer state persistence (legacy SQLite interface) More... | |
| struct | worklist_item |
| Worklist item record from the database. More... | |
| struct | worklist_query |
| class | worklist_repository |
Typedefs | |
| template<typename T > | |
| using | Result = kcenon::common::Result<T> |
| Result type alias for operations returning a value. | |
| using | azure_progress_callback |
| Callback type for upload/download progress tracking. | |
| using | migration_function = std::function<VoidResult(sqlite3* db)> |
| Function type for migration implementations (SQLite) | |
| using | progress_callback |
| Callback type for upload/download progress tracking. | |
Enumerations | |
| enum class | annotation_type { arrow , line , rectangle , ellipse , polygon , freehand , text , angle , roi } |
| Annotation types supported by the system. More... | |
| enum class | audit_event_type { association_established , association_released , c_store , c_find , c_move , c_get , security_event , configuration_change , system_startup , system_shutdown , user_login , user_logout , data_access , data_export , error } |
| Audit event type enumeration. More... | |
| enum class | audit_outcome { success , failure , warning } |
| Audit log outcome/status. More... | |
| enum class | naming_scheme { uid_hierarchical , date_hierarchical , flat } |
| Naming scheme for DICOM file organization. More... | |
| enum class | duplicate_policy { reject , replace , ignore } |
| Policy for handling duplicate SOP Instance UIDs. More... | |
| enum class | storage_tier { hot , warm , cold } |
| Storage tier classification. More... | |
| enum class | measurement_type { length , area , angle , hounsfield , suv , ellipse_area , polygon_area } |
| Measurement types supported by the system. More... | |
| enum class | mpps_status { in_progress , completed , discontinued } |
| MPPS status values. More... | |
| enum class | ups_state { scheduled , in_progress , completed , canceled } |
| UPS workitem state values. More... | |
| enum class | ups_priority { low , medium , high } |
| UPS workitem priority values. More... | |
| enum class | worklist_status { scheduled , started , completed } |
| Worklist step status values. More... | |
Functions | |
| auto | to_string (annotation_type type) -> std::string |
| Convert annotation_type to string. | |
| auto | annotation_type_from_string (std::string_view str) -> std::optional< annotation_type > |
| Parse string to annotation_type. | |
| auto | to_string (audit_event_type type) -> std::string |
| Convert audit_event_type enum to string representation. | |
| auto | parse_audit_event_type (std::string_view str) -> std::optional< audit_event_type > |
| Parse string to audit_event_type enum. | |
| auto | to_string (audit_outcome outcome) -> std::string |
| Convert audit_outcome enum to string. | |
| constexpr auto | to_string (storage_tier tier) noexcept -> std::string_view |
| Convert storage_tier to string representation. | |
| constexpr auto | storage_tier_from_string (std::string_view str) -> std::optional< storage_tier > |
| Parse storage_tier from string. | |
| auto | to_string (measurement_type type) -> std::string |
| Convert measurement_type to string. | |
| auto | measurement_type_from_string (std::string_view str) -> std::optional< measurement_type > |
| Parse string to measurement_type. | |
| auto | to_string (mpps_status status) -> std::string |
| Convert mpps_status enum to string representation. | |
| auto | parse_mpps_status (std::string_view str) -> std::optional< mpps_status > |
| Parse string to mpps_status enum. | |
| auto | to_string (ups_state state) -> std::string |
| Convert ups_state enum to string representation. | |
| auto | parse_ups_state (std::string_view str) -> std::optional< ups_state > |
| Parse string to ups_state enum. | |
| auto | to_string (ups_priority priority) -> std::string |
| Convert ups_priority enum to string representation. | |
| auto | parse_ups_priority (std::string_view str) -> std::optional< ups_priority > |
| Parse string to ups_priority enum. | |
| auto | to_string (worklist_status status) -> std::string |
| Convert worklist_status enum to string representation. | |
| auto | parse_worklist_status (std::string_view str) -> std::optional< worklist_status > |
| Parse string to worklist_status enum. | |
Callback type for upload/download progress tracking.
Parameters:
Definition at line 124 of file azure_blob_storage.h.
| using kcenon::pacs::storage::migration_function = std::function<VoidResult(sqlite3* db)> |
Function type for migration implementations (SQLite)
Each migration function receives a database handle and should execute the necessary SQL to upgrade the schema to its target version.
| db | The SQLite database handle |
Definition at line 58 of file migration_runner.h.
Callback type for upload/download progress tracking.
Parameters:
Definition at line 115 of file s3_storage.h.
| using kcenon::pacs::storage::Result = kcenon::common::Result<T> |
Result type alias for operations returning a value.
Result type alias.
Definition at line 176 of file annotation_repository.h.
|
strong |
Annotation types supported by the system.
Definition at line 29 of file annotation_record.h.
|
strong |
Audit event type enumeration.
Definition at line 28 of file audit_record.h.
|
strong |
Audit log outcome/status.
| Enumerator | |
|---|---|
| success | |
| failure | |
| warning | |
Definition at line 142 of file audit_record.h.
|
strong |
Policy for handling duplicate SOP Instance UIDs.
| Enumerator | |
|---|---|
| reject | Return error if instance already exists. |
| replace | Overwrite existing instance. |
| ignore | Skip silently if instance exists. |
Definition at line 52 of file file_storage.h.
|
strong |
Measurement types supported by the system.
Definition at line 29 of file measurement_record.h.
|
strong |
MPPS status values.
Defines the valid states for a Modality Performed Procedure Step. COMPLETED and DISCONTINUED are final states.
| Enumerator | |
|---|---|
| in_progress | Procedure is currently being performed. |
| completed | Procedure completed successfully. |
| discontinued | Procedure was stopped/cancelled. |
Definition at line 33 of file mpps_record.h.
|
strong |
Naming scheme for DICOM file organization.
Determines how files are organized in the storage directory.
| Enumerator | |
|---|---|
| uid_hierarchical | {StudyUID}/{SeriesUID}/{SOPUID}.dcm |
| date_hierarchical | YYYY/MM/DD/{StudyUID}/{SOPUID}.dcm. |
| flat | {SOPUID}.dcm (flat structure) |
Definition at line 38 of file file_storage.h.
|
strong |
Storage tier classification.
Represents the different tiers in the hierarchical storage system. Each tier has different performance characteristics and cost implications:
| Enumerator | |
|---|---|
| hot | Hot tier - Recent, frequently accessed data (SSD/NVMe) |
| warm | Warm tier - Older, occasionally accessed data (HDD) |
| cold | Cold tier - Archive, rarely accessed data (S3/Glacier) |
Definition at line 37 of file hsm_types.h.
|
strong |
UPS workitem priority values.
Defines the priority levels for UPS workitems (PS3.4 CC.1.1).
| Enumerator | |
|---|---|
| low | Low priority. |
| medium | Medium priority (default) |
| high | High priority. |
Definition at line 90 of file ups_workitem.h.
|
strong |
UPS workitem state values.
Defines the valid states for a Unified Procedure Step workitem. State transitions are unidirectional as defined in PS3.4 Table CC.1.1-2.
| Enumerator | |
|---|---|
| scheduled | Workitem is scheduled (initial state) |
| in_progress | Workitem is being performed. |
| completed | Workitem completed successfully (final) |
| canceled | Workitem was canceled (final) |
Definition at line 34 of file ups_workitem.h.
|
strong |
Worklist step status values.
Defines the valid states for a Scheduled Procedure Step.
| Enumerator | |
|---|---|
| scheduled | Procedure is scheduled (default) |
| started | Procedure has been started (MPPS received) |
| completed | Procedure has been completed. |
Definition at line 31 of file worklist_record.h.
|
inlinenodiscard |
Parse string to annotation_type.
Definition at line 62 of file annotation_record.h.
References angle, arrow, ellipse, freehand, line, polygon, rectangle, roi, and text.
|
inlinenodiscard |
Parse string to measurement_type.
Definition at line 58 of file measurement_record.h.
References angle, area, ellipse_area, hounsfield, length, polygon_area, and suv.
Referenced by kcenon::pacs::web::endpoints::register_measurement_endpoints_impl().

|
inlinenodiscard |
Parse string to audit_event_type enum.
Definition at line 89 of file audit_record.h.
References association_established, association_released, c_find, c_get, c_move, c_store, configuration_change, data_access, data_export, error, security_event, system_shutdown, system_startup, user_login, and user_logout.
|
inlinenodiscard |
Parse string to mpps_status enum.
| str | The string representation |
Definition at line 64 of file mpps_record.h.
References completed, discontinued, and in_progress.
Referenced by kcenon::pacs::storage::mpps_record::get_status().

|
inlinenodiscard |
Parse string to ups_priority enum.
| str | The string representation |
Definition at line 121 of file ups_workitem.h.
References high, low, and medium.
Referenced by kcenon::pacs::storage::ups_workitem::get_priority().

|
inlinenodiscard |
Parse string to ups_state enum.
| str | The string representation |
Definition at line 68 of file ups_workitem.h.
References canceled, completed, in_progress, and scheduled.
Referenced by kcenon::pacs::storage::ups_repository::change_ups_state(), kcenon::pacs::storage::ups_workitem::get_state(), kcenon::pacs::services::ups_push_scp::handle_n_action(), kcenon::pacs::services::ups_push_scp::handle_n_create(), and kcenon::pacs::services::ups_push_scp::handle_n_set().

|
inlinenodiscard |
Parse string to worklist_status enum.
| str | The string representation |
Definition at line 62 of file worklist_record.h.
References completed, scheduled, and started.
Referenced by kcenon::pacs::storage::worklist_item::get_status().

|
nodiscardconstexpr |
Parse storage_tier from string.
| str | String representation ("hot", "warm", "cold") |
Definition at line 71 of file hsm_types.h.
|
inlinenodiscard |
Convert annotation_type to string.
Definition at line 44 of file annotation_record.h.
References angle, arrow, ellipse, freehand, line, polygon, rectangle, roi, and text.
Referenced by kcenon::pacs::storage::hsm_storage::migrate_instance(), kcenon::pacs::storage::sync_repository::resolve_conflict(), kcenon::pacs::storage::annotation_repository::save(), kcenon::pacs::storage::measurement_repository::save(), kcenon::pacs::storage::sync_repository::save_config(), kcenon::pacs::storage::sync_repository::save_conflict(), kcenon::pacs::storage::annotation_repository::search(), kcenon::pacs::storage::measurement_repository::search(), and kcenon::pacs::storage::hsm_storage::verify_integrity().

|
inlinenodiscard |
Convert audit_event_type enum to string representation.
Definition at line 49 of file audit_record.h.
References association_established, association_released, c_find, c_get, c_move, c_store, configuration_change, data_access, data_export, error, security_event, system_shutdown, system_startup, user_login, and user_logout.
|
inlinenodiscard |
Convert audit_outcome enum to string.
Definition at line 151 of file audit_record.h.
|
inlinenodiscard |
Convert measurement_type to string.
Definition at line 42 of file measurement_record.h.
References angle, area, ellipse_area, hounsfield, length, polygon_area, and suv.
|
inlinenodiscard |
Convert mpps_status enum to string representation.
| status | The status enum value |
Definition at line 45 of file mpps_record.h.
References completed, discontinued, and in_progress.
|
nodiscardconstexprnoexcept |
Convert storage_tier to string representation.
| tier | The storage tier |
Definition at line 53 of file hsm_types.h.
|
inlinenodiscard |
Convert ups_priority enum to string representation.
| priority | The priority enum value |
Definition at line 102 of file ups_workitem.h.
|
inlinenodiscard |
Convert ups_state enum to string representation.
| state | The state enum value |
Definition at line 47 of file ups_workitem.h.
References canceled, completed, in_progress, and scheduled.
|
inlinenodiscard |
Convert worklist_status enum to string representation.
| status | The status enum value |
Definition at line 43 of file worklist_record.h.