117. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 6/21/2017 10:24:37 AM 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.

117.1 Files compared

# Location File Last Modified
1 JLV_2.5.3.0.2_cif.zip\JLV_2.5.3.0.2_src\VistaDataService\src\test\integration\java\gov\va\med\vds\rpc OrderRPCTest.java Wed Jun 7 15:11:32 2017 UTC
2 JLV_2.5.3.0.2_cif.zip\JLV_2.5.3.0.2_src\VistaDataService\src\test\integration\java\gov\va\med\vds\rpc OrderRPCTest.java Wed Jun 21 14:43:31 2017 UTC

117.2 Comparison summary

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

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

117.4 Active regular expressions

No regular expressions were active.

117.5 Comparison detail

  1   /*
  2    * Janus 4 .0 (c)
  3    * Copyrig ht (c) 201 3 Hawaii R esource Gr oup LLC. A ll Rights  Reserved.
  4    * Develop ed for the  Pacific T elehealth  & Technolo gy Hui and  the Pacif ic Joint I nformation  Technolog y Center
  5    * Contrib utors:
  6    *      Ho norable Se nator Dani el K. Inou ye
  7    *      VA  Pacific I slands Hea lth Care S ystem
  8    *      Tr ipler Army  Medical C enter
  9    */
  10  
  11   package go v.va.med.v ds.rpc;
  12  
  13   import gov .va.med.rp c.RPCExcep tion;
  14   import gov .va.med.vd s.patient. dao.rpc.Or derRPC;
  15   import gov .va.med.vd s.vistabea ns.FreeTex tReport;
  16   import gov .va.med.vd s.vistabea ns.Order;
  17   import org .junit.Bef ore;
  18   import org .junit.Tes t;
  19  
  20   import jav a.util.Cal endar;
  21  
  22   import sta tic org.ju nit.Assert .assertFal se;
  23   import sta tic org.ju nit.Assert .assertTru e;
  24  
  25   /**
  26    * Created  with Inte lliJ IDEA.
  27    * User:  RED A CTED
  28    * Date: 2 /7/13
  29    * Time: 9 :02 AM
  30    * To chan ge this te mplate use  File | Se ttings | F ile Templa tes.
  31    */
  32   public cla ss OrderRP CTest exte nds BaseRP CTest
  33   {
  34       privat e OrderRPC  orderRPC;
  35       privat e Calendar  startDate ;
  36       privat e Calendar  endDate;
  37  
  38       @Befor e
  39       public  void setU p () {
  40           su per.setUp( );
  41  
  42           or derRPC = n ew OrderRP C(vistaCxn );
  43           st artDate =  Calendar.g etInstance ();
  44           en dDate = Ca lendar.get Instance() ;
  45           st artDate.se t(1980, 0,  1);
  46           en dDate.set( 2000, 0, 1 );
  47  
  48       }
  49  
  50       @Test
  51       public  void test GetPatient Orders() t hrows RPCE xception
  52       {
  53           Or der[] orde rs = order RPC.getPat ientOrders (patientId , startDat e, endDate );
  54  
  55           as sertTrue(o rders.leng th > 0);
  56       }
  57  
  58       @Test  public voi d testGetO rderDetail () throws  RPCExcepti on {
  59           Or der[] orde rs = order RPC.getPat ientOrders (patientId , startDat e, endDate );
  60           as sertTrue(o rders.leng th > 0);
  61  
  62           Fr eeTextRepo rt detail  = orderRPC .getOrderD etail(pati entId, ord ers[0].get Orderid()) ;
  63           as sertFalse( detail.get ReportText ().isEmpty ());
  64       }
  65   }