feat: add utf-8 chinese Patient Name query support to query
This commit is contained in:
@@ -90,6 +90,14 @@ void QueryWorker::executeCFind(DcmDataset* aQueryKeys)
|
||||
}
|
||||
OFList<QRResponse*> responses;
|
||||
T_ASC_PresentationContextID pcid = m_Scu->findPresentationContextID(UID_FINDStudyRootQueryRetrieveInformationModel,"");
|
||||
OFString patName;
|
||||
if (aQueryKeys->findAndGetOFString(DCM_PatientName, patName).good())
|
||||
{
|
||||
if (!patName.empty())
|
||||
{
|
||||
aQueryKeys->putAndInsertString(DCM_SpecificCharacterSet, "ISO_IR 192");
|
||||
}
|
||||
}
|
||||
OFCondition cond = m_Scu->sendFINDRequest(pcid, aQueryKeys, &responses);
|
||||
emit sendFindDone(responses.empty() ? 0 : static_cast<int>(responses.size())-1);
|
||||
if (!responses.empty())
|
||||
|
||||
Reference in New Issue
Block a user