35. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 7/10/2017 1:01:43 PM Central Daylight 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.

35.1 Files compared

# Location File Last Modified
1 C:\AraxisMergeCompare\Pri_un\IV-ehmp_cif\CoreValueObjects\main\test\java\gov\va\med\imaging\exchange\business PatientTest.java Thu Jun 29 17:22:15 2017 UTC
2 C:\AraxisMergeCompare\Pri_re\IV-ehmp_cif\CoreValueObjects\main\test\java\gov\va\med\imaging\exchange\business PatientTest.java Thu Jul 6 15:00:25 2017 UTC

35.2 Comparison summary

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

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

35.4 Active regular expressions

No regular expressions were active.

35.5 Comparison detail

  1   /**
  2    * 
  3     Package:  MAG - Vis tA Imaging
  4     WARNING:  Per VHA D irective 2 004-038, t his routin e should n ot be modi fied.
  5     Date Cre ated: May  7, 2012
  6     Site Nam e:  Washin gton OI Fi eld Office , Silver S pring, MD
  7       Developer:          
WERFEJ
  8     Descript ion: 
  9  
  10           ;;  +-------- ---------- ---------- ---------- ---------- ---------- ---------- +
  11           ;;  Property  of the US  Government .
  12           ;;  No permis sion to co py or redi stribute t his softwa re is give n.
  13           ;;  Use of un released v ersions of  this soft ware requi res the us er
  14           ;;   to execu te a writt en test ag reement wi th the Vis tA Imaging
  15           ;;   Developm ent Office  of the De partment o f Veterans  Affairs,
  16           ;;   telephon e (301) 73 4-0100.
  17           ;;
  18           ;;  The Food  and Drug A dministrat ion classi fies this  software a s
  19           ;;  a Class I I medical  device.  A s such, it  may not b e changed
  20           ;;  in any wa y.  Modifi cations to  this soft ware may r esult in a n
  21           ;;  adulterat ed medical  device un der 21CFR8 20, the us e of which
  22           ;;  is consid ered to be  a violati on of US F ederal Sta tutes.
  23           ;;  +-------- ---------- ---------- ---------- ---------- ---------- ---------- +
  24  
  25    */
  26   package go v.va.med.i maging.exc hange.busi ness;
  27  
  28   import sta tic org.ju nit.Assert .assertEqu als;
  29   import sta tic org.ju nit.Assert .assertNot Same;
  30   import gov .va.med.im aging.exch ange.busin ess.Patien t.PatientS ex;
  31  
  32   import org .junit.Tes t;
  33  
  34   /**
  35    * @author         
WERFEJ
  36    *
  37    */
  38   public cla ss Patient Test
  39   {
  40           
  41           @T est
  42           pu blic void  testSsnFor matting()
  43           {
  44                    Stri ng origina lSsn = "12 3456789";
  45                    Pati ent p = ne w Patient( "test,name ", null, n ull, Patie ntSex.Fema le, null,  originalSs n, null, f alse);
  46                    asse rtNotSame( originalSs n, p.getFi lteredSsn( ));
  47                    asse rtEquals(" *****6789" , p.getFil teredSsn() );
  48           }
  49           
  50           @T est
  51           pu blic void  testSsnWit hDashesFor matting()
  52           {
  53                    Stri ng origina lSsn = "12 3-45-6789" ;
  54                    Pati ent p = ne w Patient( "test,name ", null, n ull, Patie ntSex.Fema le, null,  originalSs n, null, f alse);
  55                    Stri ng formatt edSsn = p. getFiltere dSsn();
  56                    asse rtNotSame( originalSs n, formatt edSsn);
  57                    asse rtEquals(" *****6789" , formatte dSsn);
  58                    
  59                    orig inalSsn =  "12345-678 9";
  60                    p =  new Patien t("test,na me", null,  null, Pat ientSex.Fe male, null , original Ssn, null,  false);
  61                    form attedSsn =  p.getFilt eredSsn();
  62                    asse rtNotSame( originalSs n, formatt edSsn);
  63                    asse rtEquals(" *****6789" , formatte dSsn);
  64                    
  65                    orig inalSsn =  "123-45678 9";
  66                    p =  new Patien t("test,na me", null,  null, Pat ientSex.Fe male, null , original Ssn, null,  false);
  67                    form attedSsn =  p.getFilt eredSsn();
  68                    asse rtNotSame( originalSs n, formatt edSsn);
  69                    asse rtEquals(" *****6789" , formatte dSsn);
  70           }
  71  
  72   }