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 CopyPatientStudyModule(IDicomAttributeProvider source, IDicomAttributeProvider target) { var sourcePatientStudy = new PatientStudyModuleIod(source); if (!sourcePatientStudy.HasValues()) return false; var targetPatientStudy = new PatientStudyModuleIod(target); targetPatientStudy.AdditionalPatientHistory = sourcePatientStudy.AdditionalPatientHistory; targetPatientStudy.AdmissionId = sourcePatientStudy.AdmissionId; targetPatientStudy.AdmittingDiagnosesCodeSequence = sourcePatientStudy.AdmittingDiagnosesCodeSequence; targetPatientStudy.AdmittingDiagnosesDescription = sourcePatientStudy.AdmittingDiagnosesDescription; targetPatientStudy.IssuerOfAdmissionId = sourcePatientStudy.IssuerOfAdmissionId; targetPatientStudy.IssuerOfServiceEpisodeId = sourcePatientStudy.IssuerOfServiceEpisodeId; targetPatientStudy.Occupation = sourcePatientStudy.Occupation; targetPatientStudy.PatientsAge = sourcePatientStudy.PatientsAge; targetPatientStudy.PatientsSexNeutered = sourcePatientStudy.PatientsSexNeutered; targetPatientStudy.PatientsSize = sourcePatientStudy.PatientsSize; targetPatientStudy.PatientsWeight = sourcePatientStudy.PatientsWeight; targetPatientStudy.ServiceEpisodeDescription = sourcePatientStudy.ServiceEpisodeDescription; targetPatientStudy.ServiceEpisodeId = sourcePatientStudy.ServiceEpisodeId; return true; }