public KeyObjectSelectionDocumentIod(IDicomAttributeProvider dicomAttributeProvider) { _dicomAttributeProvider = dicomAttributeProvider; _patientModule = new PatientModuleIod(_dicomAttributeProvider); _specimenIdentificationModule = new SpecimenIdentificationModuleIod(_dicomAttributeProvider); _clinicalTrialSubjectModule = new ClinicalTrialSubjectModuleIod(_dicomAttributeProvider); _generalStudyModule = new GeneralStudyModuleIod(_dicomAttributeProvider); _patientStudyModule = new PatientStudyModuleIod(_dicomAttributeProvider); _clinicalTrialStudyModule = new ClinicalTrialStudyModuleIod(_dicomAttributeProvider); _keyObjectDocumentSeriesModule = new KeyObjectDocumentSeriesModuleIod(_dicomAttributeProvider); _clinicalTrialSeriesModule = new ClinicalTrialSeriesModuleIod(_dicomAttributeProvider); _generalEquipmentModule = new GeneralEquipmentModuleIod(_dicomAttributeProvider); _keyObjectDocumentModule = new KeyObjectDocumentModuleIod(_dicomAttributeProvider); _srDocumentContentModule = new SrDocumentContentModuleIod(_dicomAttributeProvider); _sopCommonModule = new SopCommonModuleIod(_dicomAttributeProvider); }
/// <summary> /// Initializes a new instance of the <see cref="EncapsulatedPdfIod"/> class. /// </summary> /// <param name="dicomAttributeProvider">The DICOM attribute provider.</param> public EncapsulatedPdfIod(IDicomAttributeProvider dicomAttributeProvider) { _dicomAttributeProvider = dicomAttributeProvider; _patientModule = new PatientModuleIod(_dicomAttributeProvider); _clinicalTrialSubjectModule = new ClinicalTrialSubjectModuleIod(_dicomAttributeProvider); _generalStudyModule = new GeneralStudyModuleIod(_dicomAttributeProvider); _patientStudyModule = new PatientStudyModuleIod(_dicomAttributeProvider); _clinicalTrialStudyModule = new ClinicalTrialStudyModuleIod(_dicomAttributeProvider); _encapsulatedDocumentSeriesModule = new EncapsulatedDocumentSeriesModuleIod(_dicomAttributeProvider); _clinicalTrialSeriesModule = new ClinicalTrialSeriesModuleIod(_dicomAttributeProvider); _generalEquipmentModule = new GeneralEquipmentModuleIod(_dicomAttributeProvider); _scEquipmentModule = new ScEquipmentModuleIod(_dicomAttributeProvider); _encapsulatedDocumentModule = new EncapsulatedDocumentModuleIod(_dicomAttributeProvider); _sopCommonModule = new SopCommonModuleIod(_dicomAttributeProvider); }
protected static bool CopyGeneralStudyModule(IDicomAttributeProvider source, IDicomAttributeProvider target) { var sourceGeneralStudy = new GeneralStudyModuleIod(source); if (!sourceGeneralStudy.HasValues()) return false; var targetGeneralStudy = new GeneralStudyModuleIod(target); targetGeneralStudy.AccessionNumber = sourceGeneralStudy.AccessionNumber; targetGeneralStudy.NameOfPhysiciansReadingStudy = sourceGeneralStudy.NameOfPhysiciansReadingStudy; targetGeneralStudy.PhysiciansOfRecord = sourceGeneralStudy.PhysiciansOfRecord; targetGeneralStudy.PhysiciansOfRecordIdentificationSequence = sourceGeneralStudy.PhysiciansOfRecordIdentificationSequence; targetGeneralStudy.PhysiciansReadingStudyIdentificationSequence = sourceGeneralStudy.PhysiciansReadingStudyIdentificationSequence; targetGeneralStudy.ProcedureCodeSequence = sourceGeneralStudy.ProcedureCodeSequence; targetGeneralStudy.ReferencedStudySequence = sourceGeneralStudy.ReferencedStudySequence; targetGeneralStudy.ReferringPhysicianIdentificationSequence = sourceGeneralStudy.ReferringPhysicianIdentificationSequence; targetGeneralStudy.ReferringPhysiciansName = sourceGeneralStudy.ReferringPhysiciansName; targetGeneralStudy.StudyDateTime = sourceGeneralStudy.StudyDateTime; targetGeneralStudy.StudyDescription = sourceGeneralStudy.StudyDescription; targetGeneralStudy.StudyId = sourceGeneralStudy.StudyId; targetGeneralStudy.StudyInstanceUid = sourceGeneralStudy.StudyInstanceUid; return true; }