|
PACS System 0.1.0
PACS DICOM system library
|
UPS subscription record from the database. More...
#include <ups_workitem.h>

Public Member Functions | |
| auto | is_global () const noexcept -> bool |
| Check if this is a global subscription. | |
| auto | is_workitem_specific () const noexcept -> bool |
| Check if this is a workitem-specific subscription. | |
Public Attributes | |
| int64_t | pk {0} |
| Primary key (auto-generated) | |
| std::string | subscriber_ae |
| Subscriber AE Title (required) | |
| std::string | workitem_uid |
| Specific workitem UID (empty for worklist/global subscriptions) | |
| bool | deletion_lock {false} |
| Whether deletion is locked for this subscriber. | |
| std::string | filter_criteria |
| Filter criteria for worklist subscriptions (JSON serialized) | |
| std::chrono::system_clock::time_point | created_at |
| Record creation timestamp. | |
UPS subscription record from the database.
Represents a subscription to UPS workitem state change events. Subscribers receive N-EVENT-REPORT notifications when workitems matching their criteria change state.
Subscription types (PS3.4 CC.2.4):
Definition at line 285 of file ups_workitem.h.
|
inlinenodiscardnoexcept |
Check if this is a global subscription.
A global subscription matches all workitems.
Definition at line 311 of file ups_workitem.h.
References filter_criteria, and workitem_uid.
|
inlinenodiscardnoexcept |
Check if this is a workitem-specific subscription.
Definition at line 320 of file ups_workitem.h.
References workitem_uid.
| std::chrono::system_clock::time_point kcenon::pacs::storage::ups_subscription::created_at |
Record creation timestamp.
Definition at line 302 of file ups_workitem.h.
Referenced by kcenon::pacs::storage::ups_repository::get_ups_subscriptions().
| bool kcenon::pacs::storage::ups_subscription::deletion_lock {false} |
Whether deletion is locked for this subscriber.
Definition at line 296 of file ups_workitem.h.
Referenced by kcenon::pacs::storage::ups_repository::get_ups_subscriptions().
| std::string kcenon::pacs::storage::ups_subscription::filter_criteria |
Filter criteria for worklist subscriptions (JSON serialized)
Definition at line 299 of file ups_workitem.h.
Referenced by kcenon::pacs::storage::ups_repository::get_ups_subscriptions(), and is_global().
| int64_t kcenon::pacs::storage::ups_subscription::pk {0} |
Primary key (auto-generated)
Definition at line 287 of file ups_workitem.h.
Referenced by kcenon::pacs::storage::ups_repository::get_ups_subscriptions().
| std::string kcenon::pacs::storage::ups_subscription::subscriber_ae |
Subscriber AE Title (required)
Definition at line 290 of file ups_workitem.h.
Referenced by kcenon::pacs::storage::ups_repository::get_ups_subscriptions().
| std::string kcenon::pacs::storage::ups_subscription::workitem_uid |
Specific workitem UID (empty for worklist/global subscriptions)
Definition at line 293 of file ups_workitem.h.
Referenced by kcenon::pacs::storage::ups_repository::get_ups_subscriptions(), is_global(), and is_workitem_specific().