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

22493.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\patient VlerDaoTest.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\patient VlerDaoTest.java Tue Apr 2 13:35:48 2019 UTC

22493.2 Comparison summary

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

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

22493.4 Active regular expressions

No regular expressions were active.

22493.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.jm eadows.dao .beans.VLE RCCDA;
  18   import gov .va.med.vd s.webservi ce.VlerDoc ument;
  19   import org .junit.Tes t;
  20  
  21   import jav a.util.Lis t;
  22  
  23   import sta tic org.ju nit.Assert .assertTru e;
  24   import sta tic org.ju nit.Assert .fail;
  25  
  26   /**
  27    *
  28    * @author   DNS
  29    */
  30   public cla ss VlerDao Test exten ds DaoBase Test
  31   {
  32       privat e VLERDao  vlerDao;
  33  
  34       public  VlerDaoTe st() throw s JMeadows Exception
  35       {
  36           vl erDao = ne w VLERDao( );
  37       }
  38  
  39       @Test
  40       public  void test GetPatient VLERDocLis t()
  41       {
  42           tr y {
  43                JMeadows Query qb =  setupQuer y(user, pa tient, sta rtDate, en dDate);
  44  
  45                patient. setDob("1/ 2/1982");
  46                patient. setSSN("66 6100002");
  47                patient. setICN("10 12638925V2 04624");
  48                patient. setGender( "M");
  49                patient. setName("N WHINZZZTES TPATIENT,N WHINTWO");
  50                JMedResu ltCollecti on jMedRes ultCollect ion = vler Dao.getVLE RDocumentL ist(qb);
  51                List<Vle rDocument>  docList =  jMedResul tCollectio n.getVlerD ocuments() ;
  52                assertTr ue(docList .size() >  0);
  53           }  catch (JMe adowsExcep tion ex) {
  54                fail(ex. getMessage ());
  55           }
  56       }
  57  
  58       @Test
  59       public  void test GetPatient DODVLERDoc List()
  60       {
  61           tr y {
  62                JMeadows Query qb =  setupQuer y(user, pa tient, sta rtDate, en dDate);
  63  
  64                qb.setIn cludeDoDDa ta(true);
  65                qb.getUs er().setAg ency("DOD" );
  66                JMedResu ltCollecti on resultC ollection  = vlerDao. getDODVLER DocumentLi st(qb);
  67                assertTr ue(resultC ollection. getDocumen ts() != nu ll);
  68           }  catch (JMe adowsExcep tion ex) {
  69                fail(ex. getMessage ());
  70           }
  71       }
  72  
  73       @Test
  74       public  void test GetPatient VLERDoc()
  75       {
  76           tr y {
  77                JMeadows Query qb =  setupQuer y(user, pa tient, sta rtDate, en dDate);
  78  
  79                patient. setDob("1/ 2/1982");
  80                patient. setSSN("66 6100002");
  81                patient. setICN("10 12638925V2 04624");
  82                patient. setGender( "M");
  83                patient. setName("N WHINZZZTES TPATIENT,N WHINTWO");
  84                VlerDocu ment vDoc  = new Vler Document() ;
  85                vDoc.set HomeCommun ityId("urn :oid:1.3.6 .1.4.1.265 80.10");
  86                vDoc.set DocumentUn iqueId("12 2bd2c8-77f c-4727-b6c 7-2a799411 2058");
  87                vDoc.set Repository UniqueId(" 1.2.840.11 4350.1.13. 111.3.7.2. 688879");
  88  
  89                VlerDocu ment outpu tDoc = vle rDao.getVL ERDocument (vDoc, qb) ;
  90                assertTr ue(outputD oc.getName () != null );
  91           }  catch (JMe adowsExcep tion ex) {
  92                fail(ex. getMessage ());
  93           }
  94       }
  95  
  96       @Test
  97       public  void test GetDODVLER PatientCCD A()
  98       {
  99           tr y {
  100                JMeadows Query qb =  setupQuer y(user, pa tient, sta rtDate, en dDate);
  101                JMedResu ltCollecti on resultC ollection  = vlerDao. getDODVLER PatientCCD A(qb);
  102                List<VLE RCCDA> vle rCCDAs = r esultColle ction.getV lerCcdas() ;
  103                assertTr ue(vlerCCD As.size()  > 0);
  104                testForB eanMeta(vl erCCDAs);
  105           }  catch (JMe adowsExcep tion ex) {
  106                fail(ex. getMessage ());
  107           }
  108       }
  109  
  110       @Test
  111       public  void test GetDASVLER Data()
  112       {
  113           tr y {
  114                user.set UserId("12 3");
  115                JMeadows Query qb =  setupQuer y(user, pa tient, sta rtDate, en dDate);
  116                List<VLE RCCDA> vle rCCDAs = v lerDao.get DASVLERDat a(qb);
  117                assertTr ue(vlerCCD As.size()  > 0);
  118                testForB eanMeta(vl erCCDAs);
  119           }  catch (JMe adowsExcep tion ex) {
  120                fail(ex. getMessage ());
  121           }
  122       }
  123   }