From b9372708953d25aa0544cf44446387ca87b725b0 Mon Sep 17 00:00:00 2001 From: sunwen Date: Wed, 20 Nov 2024 16:52:34 +0800 Subject: [PATCH] fix: Gender translate problem in start scan process dialog. --- src/dialogs/StartScanProcessDialog.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/dialogs/StartScanProcessDialog.cpp b/src/dialogs/StartScanProcessDialog.cpp index 683e43a..c155993 100644 --- a/src/dialogs/StartScanProcessDialog.cpp +++ b/src/dialogs/StartScanProcessDialog.cpp @@ -5,6 +5,7 @@ #include "json/jsonobject.h" #include "utilities/GetProtocalHelper.h" +#include "utilities/GenderHelper.h" #include @@ -67,7 +68,7 @@ void StartScanProcessDialog::setPatientDetailForm(PatientInformation* aPatient) setButtonModeFromPatient(aPatient); mUI->mPatientID->setText(aPatient->ID); mUI->mPatienName->setText(aPatient->Name); - mUI->mPatientGender->setText(aPatient->Sex); + mUI->mPatientGender->setText(GenderHelper::getStringfromDicomGender(aPatient->Sex)); mUI->mPatientBirth->setText(aPatient->BirthDate); QList selectedAccesson = aPatient->getSelectedAccession(); if(selectedAccesson.size() == 1)