private PatientItem(PatientItem source) : this(source.Node.Copy(false))
 {
     this.Icon = (Image)source.Icon.Clone();
     foreach (StudyItem study in source.Studies)
     {
         this.Studies.Add(study.Copy());
     }
 }
Exemple #2
0
        private ImageItem DoInsertImage(IPresentationImage pImage)
        {
            IImageSopProvider sop     = pImage as IImageSopProvider;
            DicomFile         dcf     = sop.ImageSop.NativeDicomObject as DicomFile;
            PatientItem       patient = _patients.GetById(dcf.DataSet);
            StudyItem         study   = patient.Studies.GetByUid(dcf.DataSet);
            SeriesItem        series  = study.Series.GetByUid(dcf.DataSet);
            ImageItem         image   = series.Images.GetByUid(dcf, pImage);

            return(image);
        }