]> Creatis software - gdcm.git/commitdiff
ENH: Insert dummy value until a better solution is found
authormalaterre <malaterre>
Tue, 21 Feb 2006 15:55:41 +0000 (15:55 +0000)
committermalaterre <malaterre>
Tue, 21 Feb 2006 15:55:41 +0000 (15:55 +0000)
src/gdcmFileHelper.cxx

index 65edc40b1c6461ae3dc688fdfe150c94294723db..d3ae79e1447fffffd753f874c30ea1adcdf0a38f 100644 (file)
@@ -4,8 +4,8 @@
   Module:    $RCSfile: gdcmFileHelper.cxx,v $
   Language:  C++
 
-  Date:      $Date: 2006/02/16 21:27:41 $
-  Version:   $Revision: 1.94 $
+  Date:      $Date: 2006/02/21 15:55:41 $
+  Version:   $Revision: 1.95 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -1613,6 +1613,9 @@ void FileHelper::CheckMandatoryElements()
    else   
       CheckMandatoryEntry(0x0020,0x0020,"");
 
+   // Default Patient Position to HFS
+   CheckMandatoryEntry(0x0018,0x5100,"HFS");
+
    // Modality : if missing we set it to 'OTher'
    CheckMandatoryEntry(0x0008,0x0060,"OT");