]> Creatis software - gdcm.git/commitdiff
ENH: Patient Birthday is of type VR=DA
authormalaterre <malaterre>
Mon, 27 Mar 2006 19:02:43 +0000 (19:02 +0000)
committermalaterre <malaterre>
Mon, 27 Mar 2006 19:02:43 +0000 (19:02 +0000)
Example/AnonymizeNoLoad.cxx

index b212f36b9dbd2b2dfc79390d8cc00b85a7e399d6..12a24e481c875fd3f245271c4e2c700374db485d 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: AnonymizeNoLoad.cxx,v $
   Language:  C++
-  Date:      $Date: 2006/01/26 15:52:42 $
-  Version:   $Revision: 1.16 $
+  Date:      $Date: 2006/03/27 19:02:43 $
+  Version:   $Revision: 1.17 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -141,7 +141,7 @@ int main(int argc, char *argv[])
       // Patient's ID
       f->AddAnonymizeElement( 0x0010, 0x0020,"1515" );
       // Patient's Birthdate
-      f->AddAnonymizeElement( 0x0010, 0x0030,"11.11.1111" );
+      f->AddAnonymizeElement( 0x0010, 0x0030,"11111111" );
       // Patient's Adress
       f->AddAnonymizeElement( 0x0010, 0x1040,"Sing-sing" );
       // Patient's Mother's Birth Name
@@ -212,7 +212,7 @@ int main(int argc, char *argv[])
          // Patient's ID
          f->AddAnonymizeElement( 0x0010, 0x0020,"1515" );
          // Patient's Birthdate
-         f->AddAnonymizeElement( 0x0010, 0x0030,"11.11.1111" );
+         f->AddAnonymizeElement( 0x0010, 0x0030,"11111111" );
          // Patient's Adress
          f->AddAnonymizeElement( 0x0010, 0x1040,"Sing-sing" );
          // Patient's Mother's Birth Name