22497. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 4/2/2019 9:49:01 PM Eastern 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.

22497.1 Files compared

# Location File Last Modified
1 JLV_JLV 2_7_2_0_0.zip\JLV_Src\jMeadows\src\test\integration\java\gov\va\med\jmeadows\dao\provider ProviderLabsDaoTest.java Wed Mar 20 21:45:36 2019 UTC
2 JLV_JLV 2_7_2_0_0.zip\JLV_Src\jMeadows\src\test\integration\java\gov\va\med\jmeadows\dao\provider ProviderLabsDaoTest.java Tue Apr 2 13:30:31 2019 UTC

22497.2 Comparison summary

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

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

22497.4 Active regular expressions

No regular expressions were active.

22497.5 Comparison detail

  1   /**
  2    * Janus 4 .0 (c)
  3    * Copyrig ht (c) 201 1 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    *     Hon orable Sen ator Danie l K. Inouy e
  7    *     VA  Pacific Is lands Heal th Care Sy stem
  8    *     Tri pler Army  Medical Ce nter
  9    */
  10    
  11    
  12   package go v.va.med.j meadows.da o.provider ;
  13  
  14   import gov .va.med.jm eadows.com mon.JMeado wsExceptio n;
  15   import gov .va.med.jm eadows.dao .beans.JMe adowsQuery ;
  16   import gov .va.med.jm eadows.dao .patient.D aoBaseTest ;
  17   import gov .va.med.jm eadows.dao .provider. ProviderLa bsDao;
  18   import gov .va.med.vd s.webservi ce.LabResu lt;
  19   import gov .va.med.vh ahon.commo n.Utils;
  20   import org .junit.Tes t;
  21  
  22   import jav a.util.Lis t;
  23  
  24   import sta tic org.ju nit.Assert .assertTru e;
  25   import sta tic org.ju nit.Assert .fail;
  26  
  27   /**
  28    *
  29    * @author   DNS
  30    */
  31   public cla ss Provide rLabsDaoTe st extends  DaoBaseTe st
  32   {
  33       privat e Provider LabsDao la bDao;
  34       
  35       public  ProviderL absDaoTest () throws  JMeadowsEx ception
  36       {
  37           su per();
  38           la bDao = new  ProviderL absDao();
  39       }
  40  
  41       @Test
  42       public  void test GetProvide rLabAbnorm alResults( )
  43       {
  44           tr
  45           {
  46                startDat e.set(2011 , 6, 15);
  47                endDate. set(2011,  6, 30);
  48  
  49                JMeadows Query qb =  setupQuer y(user, pa tient, sta rtDate, en dDate);
  50                
  51                //mockPr oviderBase dQuery(qb. getUser(),  null, "25 8");
  52  
  53                List<Lab Result> la bResults =  labDao.ge tProviderA bnormalLab Results(qb );
  54                assertTr ue(labResu lts.size()  > 0);
  55                logger.d ebug("# of  Abnormal  Lab Result s: " + lab Results.si ze());
  56                testForP roviderBea nMeta(labR esults);
  57                for(LabR esult lr :  labResult s)
  58                {
  59                    logg er.debug(" OrderId: "  + lr.getO rderId());
  60                    logg er.debug(" PatientId:  " + lr.ge tPatientId ());
  61                    logg er.debug(" PatientNam e: " + lr. getPatient Name());
  62                    logg er.debug(" ResultDate : " + Util s.formatDi splayDate( lr.getResu ltDate())) ;
  63                    logg er.debug(" LabTest/Or derDescrip tion: " +  lr.getTest Name());
  64                    logg er.debug(" LabResult:  " + lr.ge tResult()) ;
  65                    if(E RROR_MSG_C ONNECTION_ UNAVAILABL E.equalsIg noreCase(l r.getTestN ame()))
  66                    {
  67                         fail("Fail ed to fetc h data..." );
  68                    }
  69                    logg er.debug(" ---");
  70                }
  71           } 
  72           ca tch (JMead owsExcepti on ex)
  73           {
  74                fail(ex. getMessage ());
  75           }
  76       }
  77       
  78   }