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

Public Member Functions | |
| auto | is_valid () const noexcept -> bool |
| Check if this record has valid data. | |
| auto | is_final () const noexcept -> bool |
| Check if this MPPS is in a final state. | |
| auto | get_status () const -> std::optional< mpps_status > |
| Get the status as enum. | |
Public Attributes | |
| int64_t | pk {0} |
| Primary key (auto-generated) | |
| std::string | mpps_uid |
| SOP Instance UID - unique identifier for this MPPS. | |
| std::string | status |
| Current status of the procedure step. | |
| std::string | start_datetime |
| Start date/time of the procedure (DICOM DT format: YYYYMMDDHHMMSS) | |
| std::string | end_datetime |
| End date/time of the procedure (set when completed/discontinued) | |
| std::string | station_ae |
| Performing station AE Title. | |
| std::string | station_name |
| Performing station name. | |
| std::string | modality |
| Modality type (CT, MR, etc.) | |
| std::string | study_uid |
| Related Study Instance UID. | |
| std::string | accession_no |
| Accession number. | |
| std::string | scheduled_step_id |
| Scheduled Procedure Step ID (from worklist) | |
| std::string | requested_proc_id |
| Requested Procedure ID. | |
| std::string | performed_series |
| Performed series information (JSON serialized) | |
| std::chrono::system_clock::time_point | created_at |
| Record creation timestamp. | |
| std::chrono::system_clock::time_point | updated_at |
| Record last update timestamp. | |
MPPS record from the database.
Represents a single Modality Performed Procedure Step record. Maps directly to the mpps table in the database.
MPPS State Machine:
Definition at line 115 of file mpps_record.h.
|
inlinenodiscard |
Get the status as enum.
Definition at line 184 of file mpps_record.h.
References kcenon::pacs::storage::parse_mpps_status(), and status.

|
inlinenodiscardnoexcept |
Check if this MPPS is in a final state.
Definition at line 175 of file mpps_record.h.
References status.
|
inlinenodiscardnoexcept |
Check if this record has valid data.
Definition at line 166 of file mpps_record.h.
References mpps_uid.
| std::string kcenon::pacs::storage::mpps_record::accession_no |
Accession number.
Definition at line 144 of file mpps_record.h.
| std::chrono::system_clock::time_point kcenon::pacs::storage::mpps_record::created_at |
Record creation timestamp.
Definition at line 156 of file mpps_record.h.
| std::string kcenon::pacs::storage::mpps_record::end_datetime |
End date/time of the procedure (set when completed/discontinued)
Definition at line 129 of file mpps_record.h.
| std::string kcenon::pacs::storage::mpps_record::modality |
Modality type (CT, MR, etc.)
Definition at line 138 of file mpps_record.h.
| std::string kcenon::pacs::storage::mpps_record::mpps_uid |
SOP Instance UID - unique identifier for this MPPS.
Definition at line 120 of file mpps_record.h.
Referenced by is_valid().
| std::string kcenon::pacs::storage::mpps_record::performed_series |
Performed series information (JSON serialized)
Definition at line 153 of file mpps_record.h.
| int64_t kcenon::pacs::storage::mpps_record::pk {0} |
| std::string kcenon::pacs::storage::mpps_record::requested_proc_id |
Requested Procedure ID.
Definition at line 150 of file mpps_record.h.
| std::string kcenon::pacs::storage::mpps_record::scheduled_step_id |
Scheduled Procedure Step ID (from worklist)
Definition at line 147 of file mpps_record.h.
| std::string kcenon::pacs::storage::mpps_record::start_datetime |
Start date/time of the procedure (DICOM DT format: YYYYMMDDHHMMSS)
Definition at line 126 of file mpps_record.h.
| std::string kcenon::pacs::storage::mpps_record::station_ae |
Performing station AE Title.
Definition at line 132 of file mpps_record.h.
| std::string kcenon::pacs::storage::mpps_record::station_name |
Performing station name.
Definition at line 135 of file mpps_record.h.
| std::string kcenon::pacs::storage::mpps_record::status |
Current status of the procedure step.
Definition at line 123 of file mpps_record.h.
Referenced by get_status(), and is_final().
| std::string kcenon::pacs::storage::mpps_record::study_uid |
Related Study Instance UID.
Definition at line 141 of file mpps_record.h.
| std::chrono::system_clock::time_point kcenon::pacs::storage::mpps_record::updated_at |
Record last update timestamp.
Definition at line 159 of file mpps_record.h.