Index: sources/storage/TreatmentLog.h =================================================================== diff -u -raacca8cc53f5e4ff5abb6d7df3d5ad48c915645c -rdc8969f6c7bbdb46d2de22622e58e457ceb37df4 --- sources/storage/TreatmentLog.h (.../TreatmentLog.h) (revision aacca8cc53f5e4ff5abb6d7df3d5ad48c915645c) +++ sources/storage/TreatmentLog.h (.../TreatmentLog.h) (revision dc8969f6c7bbdb46d2de22622e58e457ceb37df4) @@ -103,6 +103,7 @@ enum TreatmentLogIndex { ePatientID , + eSecondaryPatientID , eBloodFlowRate , eDialysateFlowRate , eTreatmentDuration , @@ -137,6 +138,7 @@ const QStringList _titles { tr("Patient ID" ), // ePatientID + tr("Secondary Patient ID" ), // eSecondaryPatientID tr("Blood Flow Rate" ), // eBloodFlowRate tr("Dialysate Flow Rate" ), // eDialysateFlowRate tr("Treatment Duration" ), // eTreatmentDuration @@ -170,6 +172,7 @@ const QStringList _units { "" , // ePatientID + "" , // eSecondaryPatientID _unitTextFlowRate , // eBloodFlowRate _unitTextFlowRate , // eDialysateFlowRate _unitTextDurationMin , // eTreatmentDuration @@ -252,7 +255,7 @@ void timerEvent(QTimerEvent *) override; public: - void initModel(const AdjustTreatmentLogResponseData &vData, const QString &vPatientID, bool vHeparinBolusVolumeOff, bool vHeparinDispensingRateOff); + void initModel(const AdjustTreatmentLogResponseData &vData, const QString &vPatientID, const QString &vSecondaryPatientID); void clearModel() { _values.clear(); for (int i = 0; i < eTreatmentLogIndexCount; i++) _values << "";