137. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 12/5/2017 12:06:39 PM Central Standard Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

137.1 Files compared

# Location File Last Modified
1 IV-eHMP_CIF.zip\IMAG_Source\VISA\Java\DicomCodecImpl\main\src\java\gov\va\med\imaging\dicom\dataelement DataElement_FL.java Mon Dec 4 21:34:56 2017 UTC
2 IV-eHMP_CIF.zip\IMAG_Source\VISA\Java\DicomCodecImpl\main\src\java\gov\va\med\imaging\dicom\dataelement DataElement_FL.java Mon Dec 4 21:59:21 2017 UTC

137.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 3 178
Changed 2 4
Inserted 0 0
Removed 0 0

137.3 Comparison options

Whitespace
Character case Differences in character case are significant
Line endings Differences in line endings (CR and LF characters) are ignored
CR/LF characters Not shown in the comparison detail

137.4 Active regular expressions

No regular expressions were active.

137.5 Comparison detail

  1   /**
  2    * Package : MAG - Vi stA Imagin g
  3    * WARNING : Per VHA  Directive  2004-038,  this routi ne should  not be mod ified.
  4    * Date Cr eated: Aug  8, 2008
  5    * Site Na me:  Washi ngton OI F ield Offic e, Silver  Spring, MD
  6    * @author         
BECKEC
  7    * @versio n 1.0
  8    *
  9    * ------- ---------- ---------- ---------- ---------- ---------- -------
  10    * Propert y of the U S Governme nt.
  11    * No perm ission to  copy or re distribute  this soft ware is gi ven.
  12    * Use of  unreleased  versions  of this so ftware req uires the  user
  13    * to exec ute a writ ten test a greement w ith the Vi stA Imagin g
  14    * Develop ment Offic e of the D epartment  of Veteran s Affairs,
  15    * telepho ne (301) 7 34-0100.
  16    * 
  17    * The Foo d and Drug  Administr ation clas sifies thi s software  as
  18    * a Class  II medica l device.   As such,  it may not  be change d
  19    * in any  way.  Modi fications  to this so ftware may  result in  an
  20    * adulter ated medic al device  under 21CF R820, the  use of whi ch
  21    * is cons idered to  be a viola tion of US  Federal S tatutes.
  22    * ------- ---------- ---------- ---------- ---------- ---------- -------
  23    */
  24   package go v.va.med.i maging.dic om.dataele ment;
  25  
  26   import org .apache.lo gging.log4 j.Level;
  27  
  28   import gov .va.med.im aging.dico m.DataElem ent;
  29   import gov .va.med.im aging.dico m.DataElem entFactory ;
  30   import gov .va.med.im aging.dico m.DataElem entTag;
  31   import gov .va.med.im aging.dico m.ValueRep resentatio n;
  32   import gov .va.med.im aging.dico m.dictiona ry.DicomDi ctionaryEn try;
  33   import gov .va.med.im aging.dico m.exceptio ns.DicomFo rmatExcept ion;
  34   import gov .va.med.im aging.dico m.exceptio ns.ValueRe presentati onInterpre tationExce ption;
  35  
  36   /**
  37    * @author         
BECKEC
  38    *
  39    * Single  precision  binary flo ating poin t number r epresented  in IEEE 7 54:1985 
  40    * 32-bit  Floating P oint Numbe r Format.
  41    * 
  42    * @see ht tp://en.wi kipedia.or g/wiki/IEE E_754
  43    */
  44   public cla ss DataEle ment_FL 
  45   extends Da taElement< Float>
  46   {
  47           pr ivate Floa t value =  null;
  48           
  49           pu blic DataE lement_FL( DataElemen tFactory i nstantiati ngFactory,  DataEleme ntTag data ElementTag ,
  50                DicomDic tionaryEnt ry diction aryEntry,  long value Length, by te[] value
  51           th rows Dicom FormatExce ption
  52       {
  53                super(in stantiatin gFactory,  dataElemen tTag, dict ionaryEntr y, valueLe ngth, valu e);
  54       }
  55  
  56           pu blic DataE lement_FL( DataElemen tFactory i nstantiati ngFactory,  DataEleme ntTag data ElementTag ,
  57                ValueRep resentatio n explicit VRField, l ong valueL ength, byt e[] value)  
  58           th rows Dicom FormatExce ption
  59       {
  60                super(in stantiatin gFactory,  dataElemen tTag, expl icitVRFiel d, valueLe ngth, valu e);
  61       }
  62  
  63           @O verride
  64           pr otected vo id parseRa wValue() 
  65           th rows Value Representa tionInterp retationEx ception
  66       {
  67                    if(g etRawValue () == null  || getRaw Value().le ngth == 0)
  68                             value  = new Floa t(0);
  69                    else
  70                    {
  71                             try
  72                    {
  73                                      value =  getInstant iatingFact ory().getT ransferSyn taxUid().m akeFloatFr om4Bytes(g etRawValue ());
  74                    } 
  75                             catch  (Exception  e)
  76                    {
  77                                      getLogge r().log(Le vel.WARN,  "");
  78                                      throw ne w ValueRep resentatio nInterpret ationExcep tion("Valu e '" + get RawValueCh aracterRep resentatio n()+ "' co uld not be  interpret ed as a Fl oating Poi nt String" );
  79                    }
  80                    }            
  81       }
  82  
  83           /* *
  84            *  @see gov. va.med.ima ging.dicom .DataEleme nt#getValu e()
  85            * /
  86           @O verride
  87           pu blic Float  getValue( )
  88           {
  89                    retu rn value;
  90           }
  91   }