PACS System 0.1.0
PACS DICOM system library
Loading...
Searching...
No Matches
kcenon::pacs::web::storage_commitment::commitment_transaction Struct Reference

A storage commitment transaction record. More...

#include <storage_commitment_endpoints.h>

Collaboration diagram for kcenon::pacs::web::storage_commitment::commitment_transaction:
Collaboration graph

Public Attributes

std::string transaction_uid
 Unique transaction identifier (DICOM UID format)
 
transaction_state state {transaction_state::pending}
 Current state of the transaction.
 
std::vector< services::sop_referencerequested_references
 SOP Instance references requested for commitment.
 
std::vector< services::sop_referencesuccess_references
 Successfully committed references (populated when verified)
 
std::vector< std::pair< services::sop_reference, services::commitment_failure_reason > > failed_references
 Failed references with reasons (populated when verified)
 
std::string study_instance_uid
 Study Instance UID (optional, for study-level commitment)
 
std::chrono::system_clock::time_point created_at
 Timestamp when the commitment was requested.
 
std::optional< std::chrono::system_clock::time_point > completed_at
 Timestamp when verification completed.
 

Detailed Description

A storage commitment transaction record.

Definition at line 61 of file storage_commitment_endpoints.h.

Member Data Documentation

◆ completed_at

std::optional<std::chrono::system_clock::time_point> kcenon::pacs::web::storage_commitment::commitment_transaction::completed_at

Timestamp when verification completed.

Definition at line 85 of file storage_commitment_endpoints.h.

Referenced by kcenon::pacs::web::storage_commitment::transaction_to_json().

◆ created_at

std::chrono::system_clock::time_point kcenon::pacs::web::storage_commitment::commitment_transaction::created_at

◆ failed_references

std::vector<std::pair<services::sop_reference, services::commitment_failure_reason> > kcenon::pacs::web::storage_commitment::commitment_transaction::failed_references

Failed references with reasons (populated when verified)

Definition at line 76 of file storage_commitment_endpoints.h.

Referenced by kcenon::pacs::web::storage_commitment::transaction_to_json().

◆ requested_references

std::vector<services::sop_reference> kcenon::pacs::web::storage_commitment::commitment_transaction::requested_references

◆ state

transaction_state kcenon::pacs::web::storage_commitment::commitment_transaction::state {transaction_state::pending}

◆ study_instance_uid

std::string kcenon::pacs::web::storage_commitment::commitment_transaction::study_instance_uid

Study Instance UID (optional, for study-level commitment)

Definition at line 79 of file storage_commitment_endpoints.h.

Referenced by kcenon::pacs::web::endpoints::register_storage_commitment_endpoints_impl(), and kcenon::pacs::web::storage_commitment::transaction_to_json().

◆ success_references

std::vector<services::sop_reference> kcenon::pacs::web::storage_commitment::commitment_transaction::success_references

Successfully committed references (populated when verified)

Definition at line 72 of file storage_commitment_endpoints.h.

Referenced by kcenon::pacs::web::storage_commitment::transaction_to_json().

◆ transaction_uid

std::string kcenon::pacs::web::storage_commitment::commitment_transaction::transaction_uid

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