Пример #1
0
        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);
        }
Пример #2
0
 void _find_BeforeCFind(object sender, BeforeCFindEventArgs e)
 {
     if (_patientSearch)
     {
         e.Dataset.InsertElementAndSetValue(DicomTag.OtherPatientIDs, string.Empty);
         _patientSearch = false;
     }
 }