44495. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 8/1/2019 1:42:44 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.

44495.1 Files compared

# Location File Last Modified
1 JLV_2_8_0_0_0_July_2019.zip\JLV_2_8_0_0_0_July_2019\jMeadows\src\test\integration\java\gov\va\med\jmeadows\dao\patient HealthSummariesDaoTest.java Mon Jul 8 19:18:44 2019 UTC
2 JLV_2_8_0_0_0_July_2019.zip\JLV_2_8_0_0_0_July_2019\jMeadows\src\test\integration\java\gov\va\med\jmeadows\dao\patient HealthSummariesDaoTest.java Wed Jul 31 18:41:37 2019 UTC

44495.2 Comparison summary

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

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

44495.4 Active regular expressions

No regular expressions were active.

44495.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    * Honorab le Senator  Daniel K.  Inouye
  7    * VA Paci fic Island s Health C are System
  8    * Tripler  Army Medi cal Center
  9    */
  10  
  11  
  12   package go v.va.med.j meadows.da o.patient;
  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 .beans.JMe dResultCol lection;
  17   import gov .va.med.vd s.webservi ce.FreeTex tReport;
  18   import gov .va.med.vd s.webservi ce.HealthS ummaryType List;
  19   import org .apache.co mmons.lang 3.StringUt ils;
  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 HealthS ummariesDa oTest exte nds DaoBas eTest {
  32       privat e HealthSu mmariesDao  hsDao;
  33  
  34       public  HealthSum mariesDaoT est() thro ws JMeadow sException  {
  35           hs Dao = new  HealthSumm ariesDao() ;
  36       }
  37  
  38       @Test
  39       public  void test GetPatient HealthSumm aryTypes()  {
  40           tr y {
  41                JMeadows Query qb =  setupQuer y(user, pa tient, sta rtDate, en dDate);
  42                JMedResu ltCollecti on resultC ollection  = hsDao.ge tPatientHe althSummar yTypes(qb) ;
  43                List<Hea lthSummary TypeList>  appts = re sultCollec tion.getHe althSummar yTypes();
  44                assertTr ue(appts.s ize() > 0) ;
  45           }  catch (JMe adowsExcep tion ex) {
  46                fail(ex. getMessage ());
  47           }
  48       }
  49  
  50       @Test
  51       public  void test GetPatient HealthSumm ary() {
  52           tr y {
  53                JMeadows Query qb =  setupQuer y(user, pa tient, sta rtDate, en dDate);
  54                qb.setIt emId("10") ;
  55                qb.setRe cordSiteCo de("200");
  56                FreeText Report rpt  = hsDao.g etPatientH ealthSumma ry(qb);
  57                assertTr ue(rpt.get ReportText ().length( ) > 0);
  58           }  catch (JMe adowsExcep tion ex) {
  59                fail(ex. getMessage ());
  60           }
  61       }
  62  
  63       @Test
  64       public  void test GetPatient HealthSumm aries() {
  65           tr y {
  66                JMeadows Query qb =  setupQuer y(user, pa tient, sta rtDate, en dDate);
  67                qb.setIt emId("5000 008");
  68                List<Fre eTextRepor t> rptList  = hsDao.g etPatientH ealthSumma ries(qb);
  69                assertTr ue(rptList .size() ==  patient.g etVistaSit es().size( ));
  70                for (Fre eTextRepor t report :  rptList)  {
  71                    asse rtTrue(Str ingUtils.i sNotEmpty( report.get ReportText ()));
  72                }
  73           }  catch (JMe adowsExcep tion ex) {
  74                fail(ex. getMessage ());
  75           }
  76       }
  77  
  78  
  79   }