67 [[nodiscard]]
auto is_valid() const noexcept ->
bool {
103 std::optional<std::string>
sex;
auto has_criteria() const noexcept -> bool
Check if any filter criteria is set.
size_t limit
Maximum number of results to return (0 = unlimited)
std::optional< std::string > birth_date_to
Birth date range end (inclusive)
std::optional< std::string > patient_name
Patient name pattern (supports * wildcard)
std::optional< std::string > patient_id
Patient ID pattern (supports * wildcard)
std::optional< std::string > birth_date
Birth date (exact match, format: YYYYMMDD)
size_t offset
Offset for pagination.
std::optional< std::string > birth_date_from
Birth date range start (inclusive)
std::optional< std::string > sex
Sex (exact match: M, F, O)
Patient record from the database.
std::string ethnic_group
Ethnic Group - DICOM tag (0010,2160)
std::chrono::system_clock::time_point created_at
Record creation timestamp.
std::string birth_date
Patient's Birth Date - DICOM tag (0010,0030) format: YYYYMMDD.
auto is_valid() const noexcept -> bool
Check if this record has valid data.
std::string sex
Patient's Sex - DICOM tag (0010,0040) values: M, F, O.
std::string patient_name
Patient's Name - DICOM tag (0010,0010)
std::chrono::system_clock::time_point updated_at
Record last update timestamp.
std::string patient_id
Patient ID - DICOM tag (0010,0020)
std::string comments
Patient Comments - DICOM tag (0010,4000)
int64_t pk
Primary key (auto-generated)
std::string other_ids
Other Patient IDs - DICOM tag (0010,1000)