- // Patient's ID : if missing, we set it to 'GDCM_Patient_ID'
- ValEntry *e_0010_0020 = FileInternal->GetValEntry(0x0010, 0x0020);
- if ( !e_0010_0020 )
- {
- e_0010_0020 = new ValEntry(
- Global::GetDicts()->GetDefaultPubDict()->GetEntry(0x0010, 0x0020) );
- e_0010_0020->SetValue("GDCM_Patient_ID");
- Archive->Push(e_0010_0020);
- }
-
- // Patient's Birth Date :'type 2' entry -> must exist, value not mandatory