+ // Let's allow User to add an Entry (e.g Patient Weight )
+
+ // We can add an Entry to the default list of any of the Element
+
+ // Add Patient Weight to the default list
+
+ // FIXME : Why doesn't it compile ?!?
+ // FIXME :`DD_PATIENT' undeclared (first use this function)
+ // FIXME : see gdcmCommon.h !!
+
+ //ddElt->AddDicomDirElement ( DD_PATIENT, 0x0010, 0x1010 );
+
+ // We could add others
+
+ std::cout << " -------- DicomDirElement After modif --------" <<std::endl;
+ ddElt->Print( std::cout );
+
+ ddElt->Delete();