+/**
+ * \brief Add an entry to one of the DicomDir Elements
+ * (Patient, Study, Serie, Image)
+ * @param type Element type (DD_PATIENT, DD_STUDY, DD_SERIE, DD_IMAGE)
+ * @param group Group number of the entry to be added
+ * @param elem Element number of the entry to be added
+ * @param vr Value Representation of the entry to be added
+ */
+void DicomDirElement::AddDicomDirElement(DicomDirType type,
+ uint16_t group, uint16_t elem, VRKey vr)
+{
+ DicomElement el;
+ el.Group = group;
+ el.Elem = elem;
+ el.VR = vr;
+ el.Value = "";
+ AddEntry(type, el);
+}
+