126 void _addMainParameterFields();
129 void _addMainDICOMTagFields();
153 template <
typename DCMTK_OBJECT_TYPE>
161 doc.setStudyDescription (toOFString(_generalStudyModule._studyDescriptionFld ->getStringValue()));
162 doc.setSeriesDescription (toOFString(_generalSeriesModule._seriesDescriptionFld ->getStringValue()));
163 doc.setPatientName (toOFString(_patientModule._patientsNameFld ->getStringValue()));
164 doc.setPatientBirthDate (toOFString(_patientModule._patientBirthDateYearStringFld ->getStringValue() +
165 _patientModule._patientBirthDateMonthStringFld ->getStringValue() +
166 _patientModule._patientBirthDateDayStringFld ->getStringValue()));
167 doc.setPatientSex (toOFString(_patientModule._patientSexStringFld ->getStringValue()));
168 doc.setPatientID (toOFString(_patientModule._patientIDFld ->getStringValue()));
170 doc.setManufacturer (toOFString(_generalEquipmentModule.manufacturerAddOn .getValueFld().getStringValue()));
171 doc.setManufacturerModelName (toOFString(_generalEquipmentModule.manufacturersModelNameAddOn.getValueFld().getStringValue()));
172 doc.setReferringPhysicianName (toOFString(_generalStudyModule._referringPhysicianNameFld ->getStringValue()));
173 doc.setDeviceSerialNumber (toOFString(_generalEquipmentModule.deviceSerialNumberAddOn .getValueFld().getStringValue()));
174 doc.setSoftwareVersions (toOFString(_generalEquipmentModule.softwareVersionsAddOn .getValueFld().getStringValue()));
175 doc.setContentDate (toOFString(_generalImageModule._contentDateFld ->getStringValue()));
176 doc.setContentTime (toOFString(_generalImageModule._contentTimeFld ->getStringValue()));
177 doc.setSeriesNumber (toOFString(_generalSeriesModule._seriesNumberFld ->getStringValue()));
178 doc.setInstanceNumber (toOFString(_generalImageModule._instanceNumberFld ->getStringValue()));
179 doc.setAccessionNumber (toOFString(_generalStudyModule._accessionNumberFld ->getStringValue()));
183#define _SR_PRINT_DOC_SAVE(A) \
184 shortStream << #A << ":" << ((doc.get##A(tmp,-1) == EC_Normal) ? tmp : "") << std::endl;
193 template <
typename DCMTK_OBJECT_TYPE>
209 shortStream <<
"DICOM Information from file:" << std::endl;
243#undef _SR_PRINT_DOC_SAVE
248 BoolField *_saveAsHTMLFld;
251 StringField *_longHTMLInfoFld;
254 BoolField *_saveAsDCMFld;
257 BoolField *_saveAsXMLFld;
260 StringField *_shortInfoFld;
263 StringField *_longXMLInfoFld;
266 EnumField *_documentTypeFld;
269 DicomPatientModuleTagInterface _patientModule;
272 DicomGeneralStudyModuleTagInterface _generalStudyModule;
275 DicomGeneralSeriesModuleTagInterface _generalSeriesModule;
278 DicomGeneralEquipmentModuleTagInterface _generalEquipmentModule;
281 DicomGeneralImageModuleTagInterface _generalImageModule;
285 BoolField *_completeDocumentFld;
287 StringField *_docCompletionDescriptionFld;
291 BoolField *_verifyDocumentFld;
293 StringField *_verifyDocumentObserverNameFld;
295 StringField *_verifyDocumentOrganizationFld;
299 BoolField *_finalizeDocumentFld;
302 BoolField *_preliminaryFlagFld;
305 StringField *_documentTitleFld;
308 StringField *_documentIntroTitleFld;
311 StringField *_documentIntroFld;
314 void _addTextSectionFields();
317 NumDocumentSections = 5
320 EnumField *_codingValueAndMeaningFld[NumDocumentSections];
322 StringField *_codeMeaningFld[NumDocumentSections];
324 BoolField *_openSubSectionFld[NumDocumentSections];
326 BoolField *_closeSubSectionFld[NumDocumentSections];
328 StringField *_subSectionContainerTitleFld[NumDocumentSections];
330 StringField *_subSectionTitleFld[NumDocumentSections];
332 StringField *_subSectionTextFld[NumDocumentSections];
334 StringField *_sectionTextFld[NumDocumentSections];
338 void _addInputConnectorFields();
342 NumInputConnectorFields = 10
346 StringField *_inputFld[NumInputConnectorFields];
Class which represents an image, which manages properties of an image and image data which is located...