44498. EPMO Open Source Coordination Office Redaction File Detail Report

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

44498.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 MedicationsDaoTest.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 MedicationsDaoTest.java Wed Jul 31 18:41:37 2019 UTC

44498.2 Comparison summary

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

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

44498.4 Active regular expressions

No regular expressions were active.

44498.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.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.Medicat ion;
  18   import org .junit.Tes t;
  19  
  20   import jav a.util.Lis t;
  21  
  22   import sta tic org.ju nit.Assert .assertTru e;
  23   import sta tic org.ju nit.Assert .fail;
  24  
  25   /**
  26    *
  27    * @author   DNS
  28    */
  29   public cla ss Medicat ionsDaoTes t extends  DaoBaseTes t
  30   {
  31       privat e Medicati onsDao med sDao;
  32       
  33       public  Medicatio nsDaoTest( ) throws J MeadowsExc eption
  34       {
  35           me dsDao = ne w Medicati onsDao();
  36       }
  37  
  38       @Test
  39       public  void test GetPatient Medication sOutpatien t()
  40       {
  41           tr y {
  42                JMeadows Query qb =  setupQuer y(user, pa tient, sta rtDate, en dDate);
  43                //test o utpatient  meds
  44                qb.setSt atus("O");
  45                JMedResu ltCollecti on resultC ollection  = medsDao. getPatient Medication s(qb);
  46                List<Med ication> m eds = resu ltCollecti on.getMedi cations();
  47                assertTr ue(meds.si ze() > 0);
  48                testForB eanMeta(me ds);
  49           }  catch (JMe adowsExcep tion ex) {
  50                fail(ex. getMessage ());
  51           }
  52       }
  53  
  54       @Test
  55       public  void test GetPatient Medication sInpatient ()
  56       {
  57           tr y {
  58                JMeadows Query qb =  setupQuer y(user, pa tient, sta rtDate, en dDate);
  59                //test i npatient m eds
  60                qb.setSt atus("I");
  61                JMedResu ltCollecti on resultC ollection  = medsDao. getPatient Medication s(qb);
  62                List<Med ication> m eds = resu ltCollecti on.getMedi cations();
  63                assertTr ue(meds.si ze() > 0);
  64                testForB eanMeta(me ds);
  65           }  catch (JMe adowsExcep tion ex) {
  66                fail(ex. getMessage ());
  67           }
  68       }
  69   }