|
PACS System 0.1.0
PACS DICOM system library
|
Patient record from the database. More...
#include <patient_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 | patient_id |
| Patient ID - DICOM tag (0010,0020) | |
| std::string | patient_name |
| Patient's Name - DICOM tag (0010,0010) | |
| std::string | birth_date |
| Patient's Birth Date - DICOM tag (0010,0030) format: YYYYMMDD. | |
| std::string | sex |
| Patient's Sex - DICOM tag (0010,0040) values: M, F, O. | |
| std::string | other_ids |
| Other Patient IDs - DICOM tag (0010,1000) | |
| std::string | ethnic_group |
| Ethnic Group - DICOM tag (0010,2160) | |
| std::string | comments |
| Patient Comments - DICOM tag (0010,4000) | |
| std::chrono::system_clock::time_point | created_at |
| Record creation timestamp. | |
| std::chrono::system_clock::time_point | updated_at |
| Record last update timestamp. | |
Patient record from the database.
Represents a single patient record with all demographic information. Maps directly to the patients table in the database.
Definition at line 31 of file patient_record.h.
|
inlinenodiscardnoexcept |
Check if this record has valid data.
Definition at line 67 of file patient_record.h.
References patient_id.
| std::string kcenon::pacs::storage::patient_record::birth_date |
Patient's Birth Date - DICOM tag (0010,0030) format: YYYYMMDD.
Definition at line 42 of file patient_record.h.
| std::string kcenon::pacs::storage::patient_record::comments |
Patient Comments - DICOM tag (0010,4000)
Definition at line 54 of file patient_record.h.
| std::chrono::system_clock::time_point kcenon::pacs::storage::patient_record::created_at |
Record creation timestamp.
Definition at line 57 of file patient_record.h.
| std::string kcenon::pacs::storage::patient_record::ethnic_group |
Ethnic Group - DICOM tag (0010,2160)
Definition at line 51 of file patient_record.h.
| std::string kcenon::pacs::storage::patient_record::other_ids |
Other Patient IDs - DICOM tag (0010,1000)
Definition at line 48 of file patient_record.h.
| std::string kcenon::pacs::storage::patient_record::patient_id |
Patient ID - DICOM tag (0010,0020)
Definition at line 36 of file patient_record.h.
Referenced by is_valid().
| std::string kcenon::pacs::storage::patient_record::patient_name |
Patient's Name - DICOM tag (0010,0010)
Definition at line 39 of file patient_record.h.
| int64_t kcenon::pacs::storage::patient_record::pk {0} |
| std::string kcenon::pacs::storage::patient_record::sex |
Patient's Sex - DICOM tag (0010,0040) values: M, F, O.
Definition at line 45 of file patient_record.h.
| std::chrono::system_clock::time_point kcenon::pacs::storage::patient_record::updated_at |
Record last update timestamp.
Definition at line 60 of file patient_record.h.