feat: Add patienInformation with RPID,SPSID,MPPSUID,StudyUID,Modality
This commit is contained in:
@@ -55,6 +55,11 @@ public:
|
||||
this->Comment = other.Comment;
|
||||
this->AccessionNumber = other.AccessionNumber;
|
||||
this->AddDate = other.AddDate;
|
||||
this->RPID = other.RPID;
|
||||
this->SPSID = other.SPSID;
|
||||
this->MPPSUID = other.MPPSUID;
|
||||
this->StudyUID = other.StudyUID;
|
||||
this->Modality = other.Modality;
|
||||
}
|
||||
QString ScheduledStartDate;
|
||||
QSharedPointer<PatientInformation> Copy()
|
||||
@@ -68,6 +73,11 @@ public:
|
||||
n->Comment = this->Comment;
|
||||
n->AccessionNumber = this->AccessionNumber;
|
||||
n->AddDate = this->AddDate;
|
||||
n->RPID = this->RPID;
|
||||
n->SPSID = this->SPSID;
|
||||
n->MPPSUID = this->MPPSUID;
|
||||
n->StudyUID = this->StudyUID;
|
||||
n->Modality = this->Modality;
|
||||
return n;
|
||||
}
|
||||
};
|
||||
|
||||
@@ -284,7 +284,7 @@ void SelectFormWidget::setPatientDetail(const SlideTableView *table, const QSqlT
|
||||
PatientInformation pat;
|
||||
#define ADD_PATIENT_PROPERTY(val)\
|
||||
pat. val = model->data(model->index(table->currentIndex().row(),PatientInformationEnum:: val),Qt::EditRole).toString();
|
||||
EDIT_PATIENT()
|
||||
ADD_PATIENT()
|
||||
#undef ADD_PATIENT_PROPERTY
|
||||
edit_patient->setPatientInformation(&pat);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user