|
PACS System 0.1.0
PACS DICOM system library
|
Instance record from the database. More...
#include <instance_record.h>

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 | series_pk {0} |
| Foreign key to series table. | |
| std::string | sop_uid |
| SOP Instance UID - DICOM tag (0008,0018) | |
| std::string | sop_class_uid |
| SOP Class UID - DICOM tag (0008,0016) | |
| std::optional< int > | instance_number |
| Instance Number - DICOM tag (0020,0013) | |
| std::string | transfer_syntax |
| Transfer Syntax UID - DICOM tag (0002,0010) | |
| std::string | content_date |
| Content Date - DICOM tag (0008,0023) format: YYYYMMDD. | |
| std::string | content_time |
| Content Time - DICOM tag (0008,0033) format: HHMMSS. | |
| std::optional< int > | rows |
| Image Rows - DICOM tag (0028,0010) | |
| std::optional< int > | columns |
| Image Columns - DICOM tag (0028,0011) | |
| std::optional< int > | bits_allocated |
| Bits Allocated - DICOM tag (0028,0100) | |
| std::optional< int > | number_of_frames |
| Number of Frames - DICOM tag (0028,0008) | |
| std::string | file_path |
| File path where the instance is stored. | |
| int64_t | file_size {0} |
| File size in bytes. | |
| std::string | file_hash |
| File hash (e.g., MD5 or SHA-256) for integrity verification. | |
| std::chrono::system_clock::time_point | created_at |
| Record creation timestamp. | |
Instance record from the database.
Represents a single DICOM instance (SOP Instance) record with all instance-level information. Maps directly to the instances table.
Definition at line 32 of file instance_record.h.
|
inlinenodiscardnoexcept |
Check if this record has valid data.
Definition at line 86 of file instance_record.h.
| std::optional<int> kcenon::pacs::storage::instance_record::bits_allocated |
Bits Allocated - DICOM tag (0028,0100)
Definition at line 64 of file instance_record.h.
| std::optional<int> kcenon::pacs::storage::instance_record::columns |
Image Columns - DICOM tag (0028,0011)
Definition at line 61 of file instance_record.h.
| std::string kcenon::pacs::storage::instance_record::content_date |
Content Date - DICOM tag (0008,0023) format: YYYYMMDD.
Definition at line 52 of file instance_record.h.
| std::string kcenon::pacs::storage::instance_record::content_time |
Content Time - DICOM tag (0008,0033) format: HHMMSS.
Definition at line 55 of file instance_record.h.
| std::chrono::system_clock::time_point kcenon::pacs::storage::instance_record::created_at |
Record creation timestamp.
Definition at line 79 of file instance_record.h.
| std::string kcenon::pacs::storage::instance_record::file_hash |
File hash (e.g., MD5 or SHA-256) for integrity verification.
Definition at line 76 of file instance_record.h.
| std::string kcenon::pacs::storage::instance_record::file_path |
File path where the instance is stored.
Definition at line 70 of file instance_record.h.
Referenced by is_valid().
| int64_t kcenon::pacs::storage::instance_record::file_size {0} |
| std::optional<int> kcenon::pacs::storage::instance_record::instance_number |
Instance Number - DICOM tag (0020,0013)
Definition at line 46 of file instance_record.h.
| std::optional<int> kcenon::pacs::storage::instance_record::number_of_frames |
Number of Frames - DICOM tag (0028,0008)
Definition at line 67 of file instance_record.h.
| int64_t kcenon::pacs::storage::instance_record::pk {0} |
| std::optional<int> kcenon::pacs::storage::instance_record::rows |
Image Rows - DICOM tag (0028,0010)
Definition at line 58 of file instance_record.h.
| int64_t kcenon::pacs::storage::instance_record::series_pk {0} |
| std::string kcenon::pacs::storage::instance_record::sop_class_uid |
SOP Class UID - DICOM tag (0008,0016)
Definition at line 43 of file instance_record.h.
| std::string kcenon::pacs::storage::instance_record::sop_uid |
SOP Instance UID - DICOM tag (0008,0018)
Definition at line 40 of file instance_record.h.
Referenced by is_valid().
| std::string kcenon::pacs::storage::instance_record::transfer_syntax |
Transfer Syntax UID - DICOM tag (0002,0010)
Definition at line 49 of file instance_record.h.