Beispiel #1
0
        public DicomComparator InitializeDicomComparator(DicomMessage dicomMessage)
        {
            DicomComparator dicomComparator = new DicomComparator(_name);
            bool            initialized     = dicomComparator.Initialize(dicomMessage.DvtkDataDicomMessage);

            if (initialized == false)
            {
                dicomComparator = null;
            }

            return(dicomComparator);
        }
Beispiel #2
0
        /// <summary>
        /// Initializes the encapsulated Dvtk.Comparator.DicomComparator class with the supplied DICOM message.
        /// </summary>
        /// <param name="dicomMessage">The DICOM message.</param>
        /// <returns>The encapsulated Dvtk.Comparator.DicomComparator instance.</returns>
        public DicomComparator InitializeDicomComparator(DicomMessage dicomMessage)
        {
            _hl7Comparator = null;

            bool initialized = _dicomComparator.Initialize(dicomMessage.DvtkDataDicomMessage);

            if (initialized == false)
            {
                _dicomComparator = null;
            }

            return(_dicomComparator);
        }