From: malaterre Date: Tue, 21 Feb 2006 15:55:41 +0000 (+0000) Subject: ENH: Insert dummy value until a better solution is found X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=d526fcda28c830b9a675623599d7dcb1d31b8b0b;p=gdcm.git ENH: Insert dummy value until a better solution is found --- diff --git a/src/gdcmFileHelper.cxx b/src/gdcmFileHelper.cxx index 65edc40b..d3ae79e1 100644 --- a/src/gdcmFileHelper.cxx +++ b/src/gdcmFileHelper.cxx @@ -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");