PACS System 0.1.0
PACS DICOM system library
Loading...
Searching...
No Matches
kcenon::pacs::services::pir Namespace Reference

Classes

struct  demographics_update_request
 Request to update patient demographics. More...
 
struct  patient_demographics
 Updated patient demographics for a reconciliation operation. More...
 
struct  patient_merge_request
 Request to merge two patients. More...
 
class  patient_reconciliation_service
 
struct  reconciliation_audit_record
 Audit record of a reconciliation operation. More...
 
struct  reconciliation_result
 Result of a reconciliation operation. More...
 

Enumerations

enum class  reconciliation_type { demographics_update , patient_merge , patient_link }
 Type of patient reconciliation operation. More...
 

Functions

std::string to_string (reconciliation_type type)
 Convert reconciliation_type to string.
 

Enumeration Type Documentation

◆ reconciliation_type

Type of patient reconciliation operation.

Enumerator
demographics_update 

ADT^A08: update patient demographics.

patient_merge 

ADT^A40: merge two patients.

patient_link 

ADT^A24: link related patients.

Examples
/home/runner/work/pacs_system/pacs_system/include/kcenon/pacs/services/pir/patient_reconciliation_service.h.

Definition at line 39 of file patient_reconciliation_service.h.

39 {
43};
@ patient_link
ADT^A24: link related patients.
@ demographics_update
ADT^A08: update patient demographics.
@ patient_merge
ADT^A40: merge two patients.

Function Documentation

◆ to_string()

std::string kcenon::pacs::services::pir::to_string ( reconciliation_type type)
nodiscard

Convert reconciliation_type to string.

Definition at line 254 of file patient_reconciliation_service.cpp.

254 {
255 switch (type) {
256 case reconciliation_type::demographics_update: return "demographics_update";
257 case reconciliation_type::patient_merge: return "patient_merge";
258 case reconciliation_type::patient_link: return "patient_link";
259 }
260 return "demographics_update";
261}

References demographics_update, patient_link, and patient_merge.