PACS System 0.1.0
PACS DICOM system library
Loading...
Searching...
No Matches
kcenon::pacs::storage::ups_workitem_query Struct Reference

#include <ups_workitem.h>

Collaboration diagram for kcenon::pacs::storage::ups_workitem_query:
Collaboration graph

Public Member Functions

auto has_criteria () const noexcept -> bool
 Check if any filter criteria is set.
 

Public Attributes

std::optional< std::string > workitem_uid
 Workitem SOP Instance UID (exact match)
 
std::optional< std::string > state
 State filter (exact match)
 
std::optional< std::string > priority
 Priority filter (exact match)
 
std::optional< std::string > procedure_step_label
 Procedure Step Label filter (supports wildcards with '*')
 
std::optional< std::string > worklist_label
 Worklist Label filter (supports wildcards with '*')
 
std::optional< std::string > performing_ae
 Performing AE filter (exact match)
 
std::optional< std::string > scheduled_date_from
 Scheduled start date range begin (inclusive, format: YYYYMMDD)
 
std::optional< std::string > scheduled_date_to
 Scheduled start date range end (inclusive, format: YYYYMMDD)
 
size_t limit {0}
 Maximum number of results to return (0 = unlimited)
 
size_t offset {0}
 Offset for pagination.
 

Detailed Description

Definition at line 339 of file ups_workitem.h.

Member Function Documentation

◆ has_criteria()

auto kcenon::pacs::storage::ups_workitem_query::has_criteria ( ) const -> bool
inlinenodiscardnoexcept

Check if any filter criteria is set.

Returns
true if at least one filter field is set
Examples
/home/runner/work/pacs_system/pacs_system/include/kcenon/pacs/storage/ups_workitem.h.

Definition at line 375 of file ups_workitem.h.

375 {
376 return workitem_uid.has_value() || state.has_value() ||
377 priority.has_value() || procedure_step_label.has_value() ||
378 worklist_label.has_value() || performing_ae.has_value() ||
379 scheduled_date_from.has_value() || scheduled_date_to.has_value();
380 }
std::optional< std::string > procedure_step_label
Procedure Step Label filter (supports wildcards with '*')
std::optional< std::string > workitem_uid
Workitem SOP Instance UID (exact match)
std::optional< std::string > priority
Priority filter (exact match)
std::optional< std::string > state
State filter (exact match)
std::optional< std::string > worklist_label
Worklist Label filter (supports wildcards with '*')
std::optional< std::string > scheduled_date_from
Scheduled start date range begin (inclusive, format: YYYYMMDD)
std::optional< std::string > performing_ae
Performing AE filter (exact match)
std::optional< std::string > scheduled_date_to
Scheduled start date range end (inclusive, format: YYYYMMDD)

References performing_ae, priority, procedure_step_label, scheduled_date_from, scheduled_date_to, state, workitem_uid, and worklist_label.

Member Data Documentation

◆ limit

size_t kcenon::pacs::storage::ups_workitem_query::limit {0}

Maximum number of results to return (0 = unlimited)

Examples
/home/runner/work/pacs_system/pacs_system/include/kcenon/pacs/storage/ups_workitem.h.

Definition at line 365 of file ups_workitem.h.

365{0};

◆ offset

size_t kcenon::pacs::storage::ups_workitem_query::offset {0}

Offset for pagination.

Examples
/home/runner/work/pacs_system/pacs_system/include/kcenon/pacs/storage/ups_workitem.h.

Definition at line 368 of file ups_workitem.h.

368{0};

◆ performing_ae

std::optional<std::string> kcenon::pacs::storage::ups_workitem_query::performing_ae

Performing AE filter (exact match)

Examples
/home/runner/work/pacs_system/pacs_system/include/kcenon/pacs/storage/ups_workitem.h.

Definition at line 356 of file ups_workitem.h.

Referenced by has_criteria().

◆ priority

std::optional<std::string> kcenon::pacs::storage::ups_workitem_query::priority

Priority filter (exact match)

Examples
/home/runner/work/pacs_system/pacs_system/include/kcenon/pacs/storage/ups_workitem.h.

Definition at line 347 of file ups_workitem.h.

Referenced by has_criteria().

◆ procedure_step_label

std::optional<std::string> kcenon::pacs::storage::ups_workitem_query::procedure_step_label

Procedure Step Label filter (supports wildcards with '*')

Examples
/home/runner/work/pacs_system/pacs_system/include/kcenon/pacs/storage/ups_workitem.h.

Definition at line 350 of file ups_workitem.h.

Referenced by has_criteria().

◆ scheduled_date_from

std::optional<std::string> kcenon::pacs::storage::ups_workitem_query::scheduled_date_from

Scheduled start date range begin (inclusive, format: YYYYMMDD)

Examples
/home/runner/work/pacs_system/pacs_system/include/kcenon/pacs/storage/ups_workitem.h.

Definition at line 359 of file ups_workitem.h.

Referenced by has_criteria().

◆ scheduled_date_to

std::optional<std::string> kcenon::pacs::storage::ups_workitem_query::scheduled_date_to

Scheduled start date range end (inclusive, format: YYYYMMDD)

Examples
/home/runner/work/pacs_system/pacs_system/include/kcenon/pacs/storage/ups_workitem.h.

Definition at line 362 of file ups_workitem.h.

Referenced by has_criteria().

◆ state

std::optional<std::string> kcenon::pacs::storage::ups_workitem_query::state

State filter (exact match)

Examples
/home/runner/work/pacs_system/pacs_system/include/kcenon/pacs/storage/ups_workitem.h.

Definition at line 344 of file ups_workitem.h.

Referenced by has_criteria().

◆ workitem_uid

std::optional<std::string> kcenon::pacs::storage::ups_workitem_query::workitem_uid

Workitem SOP Instance UID (exact match)

Examples
/home/runner/work/pacs_system/pacs_system/include/kcenon/pacs/storage/ups_workitem.h.

Definition at line 341 of file ups_workitem.h.

Referenced by has_criteria().

◆ worklist_label

std::optional<std::string> kcenon::pacs::storage::ups_workitem_query::worklist_label

Worklist Label filter (supports wildcards with '*')

Examples
/home/runner/work/pacs_system/pacs_system/include/kcenon/pacs/storage/ups_workitem.h.

Definition at line 353 of file ups_workitem.h.

Referenced by has_criteria().


The documentation for this struct was generated from the following file: