|
PACS System 0.1.0
PACS DICOM system library
|
Audit log record from the database. More...
#include <audit_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) | |
| std::string | event_type |
| Event type. | |
| std::string | outcome |
| Outcome/status of the event. | |
| std::chrono::system_clock::time_point | timestamp |
| Timestamp of the event. | |
| std::string | user_id |
| User ID or AE Title that initiated the action. | |
| std::string | source_ae |
| Source AE Title (for DICOM operations) | |
| std::string | target_ae |
| Target/Called AE Title (for DICOM operations) | |
| std::string | source_ip |
| Source IP address. | |
| std::string | patient_id |
| Patient ID (if applicable) | |
| std::string | study_uid |
| Study Instance UID (if applicable) | |
| std::string | message |
| Human-readable message. | |
| std::string | details |
| Additional details in JSON format. | |
Audit log record from the database.
Represents a single audit log entry for regulatory compliance and system monitoring.
Definition at line 170 of file audit_record.h.
|
inlinenodiscardnoexcept |
Check if this record has valid data.
Definition at line 210 of file audit_record.h.
References event_type.
| std::string kcenon::pacs::storage::audit_record::details |
Additional details in JSON format.
Definition at line 205 of file audit_record.h.
| std::string kcenon::pacs::storage::audit_record::event_type |
| std::string kcenon::pacs::storage::audit_record::message |
Human-readable message.
Definition at line 202 of file audit_record.h.
| std::string kcenon::pacs::storage::audit_record::outcome |
Outcome/status of the event.
Definition at line 178 of file audit_record.h.
| std::string kcenon::pacs::storage::audit_record::patient_id |
Patient ID (if applicable)
Definition at line 196 of file audit_record.h.
| int64_t kcenon::pacs::storage::audit_record::pk {0} |
| std::string kcenon::pacs::storage::audit_record::source_ae |
Source AE Title (for DICOM operations)
Definition at line 187 of file audit_record.h.
| std::string kcenon::pacs::storage::audit_record::source_ip |
Source IP address.
Definition at line 193 of file audit_record.h.
| std::string kcenon::pacs::storage::audit_record::study_uid |
Study Instance UID (if applicable)
Definition at line 199 of file audit_record.h.
| std::string kcenon::pacs::storage::audit_record::target_ae |
Target/Called AE Title (for DICOM operations)
Definition at line 190 of file audit_record.h.
| std::chrono::system_clock::time_point kcenon::pacs::storage::audit_record::timestamp |
Timestamp of the event.
Definition at line 181 of file audit_record.h.
| std::string kcenon::pacs::storage::audit_record::user_id |
User ID or AE Title that initiated the action.
Definition at line 184 of file audit_record.h.