54. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 4/5/2017 4:21:46 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.

54.1 Files compared

# Location File Last Modified
1 C:\working_scrub\Unredacted\eHX Code Base\eHX_Bld2_Source Code_CIF_2017-02-14\NHIN_adapter\AdapterEJB\src\test\java\gov\va\med\nhin\adapter\mock\actions StoreAuditAction.java Fri Feb 10 15:41:44 2017 UTC
2 eHX-CIF.zip\eHX-CIF\eHX Code Base\eHX_Bld2_Source Code_CIF_2017-02-14\NHIN_adapter\AdapterEJB\src\test\java\gov\va\med\nhin\adapter\mock\actions StoreAuditAction.java Mon Apr 3 14:23:40 2017 UTC

54.2 Comparison summary

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

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

54.4 Active regular expressions

No regular expressions were active.

54.5 Comparison detail

  1   /*
  2    * To chan ge this te mplate, ch oose Tools  | Templat es
  3    * and ope n the temp late in th e editor.
  4    */
  5   package go v.va.med.n hin.adapte r.mock.act ions;
  6  
  7   import gov .va.med.nh in.adapter .audit.Aud it;
  8   import org .jmock.api .Action;
  9   import org .jmock.api .Invocatio n;
  10  
  11   /**
  12    *
  13    * @author   DN S      VAZQUD
  14    */
  15   public cla ss StoreAu ditAction  implements  Action
  16   {
  17       static  public Ac tion store Audit(Audi t inAudit)
  18       {
  19           re turn new S toreAuditA ction(inAu dit);
  20       }
  21       
  22       privat e Audit in Audit;
  23  
  24       public  StoreAudi tAction(Au dit inAudi t)
  25       {
  26           th is.inAudit  = inAudit ;
  27       }
  28  
  29       public  void desc ribeTo(org .hamcrest. Descriptio n descript ion)
  30       {
  31           de scription. appendText ("stores a udit in gi ven Audit  object");
  32       }
  33  
  34       public  Object in voke(Invoc ation invo cation) th rows Throw able
  35       {
  36           Au dit audit  = (Audit)i nvocation. getParamet er(0);
  37           in Audit.setA ction(audi t.getActio n());
  38           in Audit.setA uditId(aud it.getAudi tId());
  39           in Audit.setA uditTime(a udit.getAu ditTime()) ;
  40           in Audit.setD etails(aud it.getDeta ils());
  41           in Audit.setD ocumentId( audit.getD ocumentId( ));
  42           in Audit.setO ptoutReaso nId(audit. getOptoutR easonId()) ;
  43           in Audit.setO rganizatio nId(audit. getOrganiz ationId()) ;
  44           in Audit.setP atientFaci lityName(a udit.getPa tientFacil ityName()) ;
  45           in Audit.setP atientFaci lityNumber (audit.get PatientFac ilityNumbe r());
  46           in Audit.setP atientGive nName(audi t.getPatie ntGivenNam e());
  47           in Audit.setP atientId(a udit.getPa tientId()) ;
  48           in Audit.setP atientLast Name(audit .getPatien tLastName( ));
  49           in Audit.setP atientSSN( audit.getP atientSSN( ));
  50           in Audit.setP urposeForU se(audit.g etPurposeF orUse());
  51           in Audit.setR emoteDocum entId(audi t.getRemot eDocumentI d());
  52           in Audit.setR emoteDocum entReposit oryId(audi t.getRemot eDocumentR epositoryI d());
  53           in Audit.setR emoteOrgan izationId( audit.getR emoteOrgan izationId( ));
  54           in Audit.setU serFacilit yName(audi t.getUserF acilityNam e());
  55           in Audit.setU serFacilit yNumber(au dit.getUse rFacilityN umber());
  56           in Audit.setU serId(audi t.getUserI d());
  57           in Audit.setU serName(au dit.getUse rName());
  58           in Audit.setU serRole(au dit.getUse rRole());
  59           re turn null;
  60       }
  61       
  62   }