|
PACS System 0.1.0
PACS DICOM system library
|
Rule defining when and how to prefetch DICOM data. More...
#include <prefetch_types.h>

Public Attributes | |
| std::string | rule_id |
| Unique rule identifier (UUID) | |
| std::string | name |
| Human-readable name. | |
| bool | enabled {true} |
| Whether the rule is active. | |
| prefetch_trigger | trigger |
| What triggers this rule. | |
| std::string | modality_filter |
| Modality filter (e.g., "CT,MR") | |
| std::string | body_part_filter |
| Body part filter (e.g., "CHEST,ABDOMEN") | |
| std::string | station_ae_filter |
| Station AE title filter. | |
| std::chrono::hours | prior_lookback {8760} |
| Lookback period (default: 1 year) | |
| size_t | max_prior_studies {3} |
| Maximum prior studies to fetch. | |
| std::vector< std::string > | prior_modalities |
| Modalities to fetch (empty = same) | |
| std::vector< std::string > | source_node_ids |
| Nodes to search for data. | |
| std::string | schedule_cron |
| Cron expression (e.g., "0 6 * * *") | |
| std::chrono::minutes | advance_time {60} |
| Prefetch N minutes before scheduled. | |
| size_t | triggered_count {0} |
| Times rule was triggered. | |
| size_t | studies_prefetched {0} |
| Total studies prefetched. | |
| std::chrono::system_clock::time_point | last_triggered |
| Last trigger time. | |
| int64_t | pk {0} |
| Primary key (0 if not persisted) | |
Rule defining when and how to prefetch DICOM data.
Contains all configuration for a prefetch rule including filters, prior study settings, and scheduling information.
Definition at line 80 of file prefetch_types.h.
| std::chrono::minutes kcenon::pacs::client::prefetch_rule::advance_time {60} |
Prefetch N minutes before scheduled.
Definition at line 118 of file prefetch_types.h.
Referenced by kcenon::pacs::storage::prefetch_repository::save_rule().
| std::string kcenon::pacs::client::prefetch_rule::body_part_filter |
Body part filter (e.g., "CHEST,ABDOMEN")
Definition at line 96 of file prefetch_types.h.
Referenced by kcenon::pacs::storage::prefetch_repository::save_rule().
| bool kcenon::pacs::client::prefetch_rule::enabled {true} |
Whether the rule is active.
Definition at line 87 of file prefetch_types.h.
Referenced by kcenon::pacs::storage::prefetch_repository::save_rule().
| std::chrono::system_clock::time_point kcenon::pacs::client::prefetch_rule::last_triggered |
Last trigger time.
Definition at line 126 of file prefetch_types.h.
Referenced by kcenon::pacs::storage::prefetch_repository::save_rule().
| size_t kcenon::pacs::client::prefetch_rule::max_prior_studies {3} |
Maximum prior studies to fetch.
Definition at line 104 of file prefetch_types.h.
Referenced by kcenon::pacs::storage::prefetch_repository::save_rule().
| std::string kcenon::pacs::client::prefetch_rule::modality_filter |
Modality filter (e.g., "CT,MR")
Definition at line 95 of file prefetch_types.h.
Referenced by kcenon::pacs::storage::prefetch_repository::save_rule().
| std::string kcenon::pacs::client::prefetch_rule::name |
Human-readable name.
Definition at line 86 of file prefetch_types.h.
Referenced by kcenon::pacs::client::prefetch_manager::add_rule(), and kcenon::pacs::storage::prefetch_repository::save_rule().
| int64_t kcenon::pacs::client::prefetch_rule::pk {0} |
| std::chrono::hours kcenon::pacs::client::prefetch_rule::prior_lookback {8760} |
Lookback period (default: 1 year)
Definition at line 103 of file prefetch_types.h.
Referenced by kcenon::pacs::storage::prefetch_repository::save_rule().
| std::vector<std::string> kcenon::pacs::client::prefetch_rule::prior_modalities |
Modalities to fetch (empty = same)
Definition at line 105 of file prefetch_types.h.
Referenced by kcenon::pacs::storage::prefetch_repository::save_rule().
| std::string kcenon::pacs::client::prefetch_rule::rule_id |
Unique rule identifier (UUID)
Definition at line 85 of file prefetch_types.h.
Referenced by kcenon::pacs::client::prefetch_manager::add_rule(), kcenon::pacs::storage::prefetch_repository::save_rule(), and kcenon::pacs::client::prefetch_manager::update_rule().
| std::string kcenon::pacs::client::prefetch_rule::schedule_cron |
Cron expression (e.g., "0 6 * * *")
Definition at line 117 of file prefetch_types.h.
Referenced by kcenon::pacs::storage::prefetch_repository::save_rule().
| std::vector<std::string> kcenon::pacs::client::prefetch_rule::source_node_ids |
Nodes to search for data.
Definition at line 111 of file prefetch_types.h.
Referenced by kcenon::pacs::storage::prefetch_repository::save_rule().
| std::string kcenon::pacs::client::prefetch_rule::station_ae_filter |
Station AE title filter.
Definition at line 97 of file prefetch_types.h.
Referenced by kcenon::pacs::storage::prefetch_repository::save_rule().
| size_t kcenon::pacs::client::prefetch_rule::studies_prefetched {0} |
Total studies prefetched.
Definition at line 125 of file prefetch_types.h.
Referenced by kcenon::pacs::storage::prefetch_repository::save_rule().
| prefetch_trigger kcenon::pacs::client::prefetch_rule::trigger |
What triggers this rule.
Definition at line 89 of file prefetch_types.h.
Referenced by kcenon::pacs::storage::prefetch_repository::save_rule().
| size_t kcenon::pacs::client::prefetch_rule::triggered_count {0} |
Times rule was triggered.
Definition at line 124 of file prefetch_types.h.
Referenced by kcenon::pacs::storage::prefetch_repository::save_rule().