204. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 12/5/2017 12:06:41 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.

204.1 Files compared

# Location File Last Modified
1 IV-eHMP_CIF.zip\IMAG_Source\VISA\Java\Hi5\src\gov\va\med\imaging\hi5\client DicomDataElementRecord.java Mon Dec 4 21:34:26 2017 UTC
2 IV-eHMP_CIF.zip\IMAG_Source\VISA\Java\Hi5\src\gov\va\med\imaging\hi5\client DicomDataElementRecord.java Mon Dec 4 22:00:51 2017 UTC

204.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 2 114
Changed 1 2
Inserted 0 0
Removed 0 0

204.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

204.4 Active regular expressions

No regular expressions were active.

204.5 Comparison detail

  1   /**
  2    * 
  3    */
  4   package go v.va.med.i maging.hi5 .client;
  5  
  6   import gov .va.med.im aging.dico m.dataset. elements.D ataElement ;
  7   import gov .va.med.im aging.dico m.dataset. elements.D ataElement Tag;
  8   import gov .va.med.im aging.dico m.exceptio ns.ValueRe presentati onInterpre tationExce ption;
  9  
  10   import org .apache.lo gging.log4 j.LogManag er;
  11   import org .apache.lo gging.log4 j.Logger;
  12  
  13   import com .smartgwt. client.wid gets.grid. ListGridRe cord;
  14  
  15   /**
  16    * @author         
BECKEC
  17    *
  18    */
  19   public cla ss DicomDa taElementR ecord 
  20   extends Li stGridReco rd
  21   {
  22       privat e Logger l ogger = Lo gManager.g etLogger(" DicomDataE lementReco rd");
  23       
  24       public  static fi nal String  ELEMENT_T AG = "elem entTag";
  25       public  static fi nal String  ELEMENT_V ALUE = "el ementValue ";
  26       
  27       privat e DataElem entTag dat aElementTa g;
  28       privat e DataElem ent<?> dat aElement;
  29       
  30       /**
  31        * @pa ram dataEl ementTag 
  32        * 
  33        */
  34       public  DicomData ElementRec ord(DataEl ementTag d ataElement Tag, DataE lement<?>  dataElemen t)
  35       {
  36           th is.dataEle mentTag =  dataElemen tTag;
  37           th is.dataEle ment = dat aElement;
  38       }
  39  
  40       @Overr ide
  41       public  String ge tAttribute (String fi eld)
  42       {
  43           lo gger.info( "getAttrib ute(" + fi eld + ")") ;
  44  
  45           if (ELEMENT_T AG.equals( field))
  46                return t his.dataEl ementTag.t oString();
  47           el se if(ELEM ENT_VALUE. equals(fie ld))
  48                try
  49                {
  50                    retu rn this.da taElement. getValue() .toString( );
  51                } 
  52                catch (V alueRepres entationIn terpretati onExceptio n e)
  53                {
  54                    retu rn e.getMe ssage();
  55                }
  56           re turn "<unk nown field  name>";
  57       }
  58   }