internal RenameStudyComponent(StudyItem studyItem)
        {
            _original = new StudyData();
            _original.AccessionNumber      = studyItem.AccessionNumber;
            _original.PatientsName         = studyItem.PatientsName;
            _original.PatientId            = studyItem.PatientId;
            _original.StudyDescription     = studyItem.StudyDescription;
            _original.PatientsBirthDateRaw = studyItem.PatientsBirthDate;
            _original.StudyDateRaw         = studyItem.StudyDate;

            _renamed = _original.Clone();

            _validator = new DicomAnonymizer.ValidationStrategy();
        }
Esempio n. 2
0
        internal AnonymizeStudyComponent(IStudyRootData studyItem)
        {
            _original = new StudyData
            {
                AccessionNumber      = studyItem.AccessionNumber,
                PatientsName         = new PersonName(studyItem.PatientsName),
                PatientId            = studyItem.PatientId,
                StudyDescription     = studyItem.StudyDescription,
                PatientsBirthDateRaw = studyItem.PatientsBirthDate,
                StudyDateRaw         = studyItem.StudyDate
            };

            _anonymized = _original.Clone();

            _validator = new DicomAnonymizer.ValidationStrategy();
        }
Esempio n. 3
0
        internal AnonymizeStudyComponent(IStudyRootData studyItem)
        {
            _original = new StudyData
            {
                AccessionNumber      = studyItem.AccessionNumber,
                PatientsName         = new PersonName(studyItem.PatientsName),
                PatientId            = studyItem.PatientId,
                StudyDescription     = studyItem.StudyDescription,
                PatientsBirthDateRaw = studyItem.PatientsBirthDate,
                StudyDateRaw         = studyItem.StudyDate
            };

            _anonymized = _original.Clone();

            _validator = new DicomAnonymizer.ValidationStrategy();

            ShowKeepReportsAndAttachments = true;
            ShowPreserveSeriesData        = true;
        }