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

Series record from the database. More...

#include <series_record.h>

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

Public Member Functions

auto is_valid () const noexcept -> bool
 Check if this record has valid data.
 

Public Attributes

int64_t pk {0}
 Primary key (auto-generated)
 
int64_t study_pk {0}
 Foreign key to studies table.
 
std::string series_uid
 Series Instance UID - DICOM tag (0020,000E)
 
std::string modality
 Modality - DICOM tag (0008,0060)
 
std::optional< int > series_number
 Series Number - DICOM tag (0020,0011)
 
std::string series_description
 Series Description - DICOM tag (0008,103E)
 
std::string body_part_examined
 Body Part Examined - DICOM tag (0018,0015)
 
std::string station_name
 Station Name - DICOM tag (0008,1010)
 
int num_instances {0}
 Number of instances in this series (denormalized)
 
std::chrono::system_clock::time_point created_at
 Record creation timestamp.
 
std::chrono::system_clock::time_point updated_at
 Record last update timestamp.
 

Detailed Description

Series record from the database.

Represents a single series record with all series-level information. Maps directly to the series table in the database.

Definition at line 32 of file series_record.h.

Member Function Documentation

◆ is_valid()

auto kcenon::pacs::storage::series_record::is_valid ( ) const -> bool
inlinenodiscardnoexcept

Check if this record has valid data.

Returns
true if series_uid is not empty
Examples
/home/runner/work/pacs_system/pacs_system/include/kcenon/pacs/storage/series_record.h.

Definition at line 71 of file series_record.h.

71 {
72 return !series_uid.empty();
73 }
std::string series_uid
Series Instance UID - DICOM tag (0020,000E)

References series_uid.

Member Data Documentation

◆ body_part_examined

std::string kcenon::pacs::storage::series_record::body_part_examined

Body Part Examined - DICOM tag (0018,0015)

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

Definition at line 52 of file series_record.h.

◆ created_at

std::chrono::system_clock::time_point kcenon::pacs::storage::series_record::created_at

Record creation timestamp.

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

Definition at line 61 of file series_record.h.

◆ modality

std::string kcenon::pacs::storage::series_record::modality

Modality - DICOM tag (0008,0060)

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

Definition at line 43 of file series_record.h.

◆ num_instances

int kcenon::pacs::storage::series_record::num_instances {0}

Number of instances in this series (denormalized)

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

Definition at line 58 of file series_record.h.

58{0};

Referenced by kcenon::pacs::web::thumbnail_service::select_representative_series().

◆ pk

int64_t kcenon::pacs::storage::series_record::pk {0}

Primary key (auto-generated)

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

Definition at line 34 of file series_record.h.

34{0};

◆ series_description

std::string kcenon::pacs::storage::series_record::series_description

Series Description - DICOM tag (0008,103E)

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

Definition at line 49 of file series_record.h.

◆ series_number

std::optional<int> kcenon::pacs::storage::series_record::series_number

Series Number - DICOM tag (0020,0011)

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

Definition at line 46 of file series_record.h.

◆ series_uid

std::string kcenon::pacs::storage::series_record::series_uid

◆ station_name

std::string kcenon::pacs::storage::series_record::station_name

Station Name - DICOM tag (0008,1010)

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

Definition at line 55 of file series_record.h.

◆ study_pk

int64_t kcenon::pacs::storage::series_record::study_pk {0}

Foreign key to studies table.

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

Definition at line 37 of file series_record.h.

37{0};

◆ updated_at

std::chrono::system_clock::time_point kcenon::pacs::storage::series_record::updated_at

Record last update timestamp.

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

Definition at line 64 of file series_record.h.


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