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