void find_BeforeCFind(object sender, BeforeCFindEventArgs e) { DicomConnection connection = sender as DicomConnection; string message = string.Format(CFIND_REQUEST_SEND, e.MessageId, e.PresentationID, e.AffectedClass, e.Priority); LogEvent(LogType.Information, MessageDirection.Output, message, DicomCommandType.CFind, e.Dataset, connection, null); }
void _find_BeforeCFind(object sender, BeforeCFindEventArgs e) { if (_patientSearch) { e.Dataset.InsertElementAndSetValue(DicomTag.OtherPatientIDs, string.Empty); _patientSearch = false; } }