Add start scan process from worklist and add scan protocal display in scan page.

This commit is contained in:
sunwen
2024-05-10 15:23:39 +08:00
parent 1f362d0340
commit 2c2b20ee55
7 changed files with 56 additions and 15 deletions

View File

@@ -329,7 +329,7 @@ void ScanFormWidget::initEvents()
DialogResult result = DialogManager::Default()->reuqestConfirmStartScan(patientInfo);
if(result.ResultCode == QDialog::Accepted)
{
mPatInf->setPatientInformation(patientInfo->Copy());
mPatInf->setPatientInformation(patientInfo->Copy(), static_cast<ScanProtocal>(result.ResultData.toInt()));
LOG_USER_OPERATION(QString("Select Patient, ID: %1").arg(patientInfo->ID))
EventCenter::Default()->triggerEvent(StartScanProcess, nullptr, patientInfo);
}