+/**
+ * \brief Build a new DataEntry from all the low level arguments.
+ * Check for existence of dictionary entry, and build
+ * a default one when absent.
+ * @param group Group number of the new Entry
+ * @param elem Element number of the new Entry
+ * @param vr V(alue) R(epresentation) of the new Entry
+ * \remarks The user of this method must destroy the DataEntry when unused
+ */
+DataEntry *DocEntrySet::NewDataEntry(uint16_t group,uint16_t elem,
+ VRKey const &vr)
+{
+ DictEntry *dictEntry = GetDictEntry(group, elem, vr);
+
+ DataEntry *newEntry = DataEntry::New(dictEntry);
+ dictEntry->Unregister(); // GetDictEntry register it