44. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 3/25/2019 8:58:03 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.

44.1 Files compared

# Location File Last Modified
1 C:\AraxisMergeCompare\Pri_un\IMAG_Source\VISA\Java\ImagingRouter\main\src\java\gov\va\med\imaging\router\commands\datasource PostViewerStudiesForQaReviewFromDataSourceCommandImpl.java Mon Mar 18 20:39:14 2019 UTC
2 C:\AraxisMergeCompare\Pri_re\IMAG_Source\VISA\Java\ImagingRouter\main\src\java\gov\va\med\imaging\router\commands\datasource PostViewerStudiesForQaReviewFromDataSourceCommandImpl.java Tue Mar 19 12:03:52 2019 UTC

44.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 3 298
Changed 2 4
Inserted 0 0
Removed 0 0

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

44.4 Active regular expressions

No regular expressions were active.

44.5 Comparison detail

  1   /**
  2    * 
  3     Package:  MAG - Vis tA Imaging
  4     WARNING:  Per VHA D irective 2 004-038, t his routin e should n ot be modi fied.
  5     Date Cre ated: Jan  9, 2017
  6     Site Nam e:  Washin gton OI Fi eld Office , Silver S pring, MD
  7       Developer:     DNS     tjahjb
  8     Descript ion: 
  9  
  10           ;;  +-------- ---------- ---------- ---------- ---------- ---------- ---------- +
  11           ;;  Property  of the US  Government .
  12           ;;  No permis sion to co py or redi stribute t his softwa re is give n.
  13           ;;  Use of un released v ersions of  this soft ware requi res the us er
  14           ;;   to execu te a writt en test ag reement wi th the Vis tA Imaging
  15           ;;   Developm ent Office  of the De partment o f Veterans  Affairs,
  16           ;;   telephon e (301) 73 4-0100.
  17           ;;
  18           ;;  The Food  and Drug A dministrat ion classi fies this  software a s
  19           ;;  a Class I I medical  device.  A s such, it  may not b e changed
  20           ;;  in any wa y.  Modifi cations to  this soft ware may r esult in a n
  21           ;;  adulterat ed medical  device un der 21CFR8 20, the us e of which
  22           ;;  is consid ered to be  a violati on of US F ederal Sta tutes.
  23           ;;  +-------- ---------- ---------- ---------- ---------- ---------- ---------- +
  24  
  25    */
  26   package go v.va.med.i maging.rou ter.comman ds.datasou rce;
  27  
  28   import gov .va.med.Pa tientIdent ifier;
  29   import gov .va.med.Ro utingToken ;
  30   import gov .va.med.im aging.Cprs Identifier ;
  31   import gov .va.med.im aging.core .interface s.exceptio ns.Connect ionExcepti on;
  32   import gov .va.med.im aging.core .interface s.exceptio ns.MethodE xception;
  33   import gov .va.med.im aging.core .router.Ab stractData SourceComm andImpl;
  34   import gov .va.med.im aging.data source.Ext ernalPacka geDataSour ceSpi;
  35   import gov .va.med.im aging.exch ange.busin ess.Study;
  36   import gov .va.med.im aging.exch ange.busin ess.StudyF ilter;
  37   import gov .va.med.im aging.tran sactioncon text.Trans actionCont extFactory ;
  38  
  39   import jav a.util.Lis t;
  40  
  41   /**
  42    * @author   DNS     tjahjb
  43    *
  44    */
  45   public cla ss PostVie werStudies ForQaRevie wFromDataS ourceComma ndImpl 
  46   extends Ab stractData SourceComm andImpl<Li st<Study>,  ExternalP ackageData SourceSpi>  
  47   {
  48  
  49           pr ivate stat ic final l ong serial VersionUID  = -537999 4879566937 841L;
  50           
  51           pr ivate stat ic final S tring SPI_ METHOD_NAM E = "postV iewerStudi esForQaRev iew";
  52           
  53           pr ivate fina l RoutingT oken routi ngToken;
  54           pr ivate fina l StudyFil ter filter ;
  55           
  56           pu blic PostV iewerStudi esForQaRev iewFromDat aSourceCom mandImpl(
  57                    Rout ingToken r outingToke n, 
  58                    Stud yFilter fi lter)
  59           {
  60                    this .routingTo ken = rout ingToken;
  61                    this .filter =  filter;
  62           }
  63  
  64           /*  (non-Java doc)
  65            *  @see gov. va.med.ima ging.core. router.Abs tractDataS ourceComma ndImpl#get CommandRes ult(gov.va .med.imagi ng.datasou rce.Versio nableDataS ourceSpi)
  66            * /
  67           @O verride
  68           pr otected Li st<Study>  getCommand Result(Ext ernalPacka geDataSour ceSpi spi)
  69           th rows Conne ctionExcep tion, Meth odExceptio
  70           {
  71                    List <Study> st udyList =  null;
  72                    getL ogger().in fo("spi.po stViewerSt udiesForQa Review");
  73                    stud yList = sp i.postView erStudiesF orQaReview (
  74                             getRou tingToken( ), 
  75                             getFil ter());
  76  
  77                    getL ogger().de bug("Numbe r of studi es: " + st udyList.si ze());
  78                    getL ogger().de bug("Study  List: "+s tudyList.t oString()) ;
  79                    
  80                    retu rn studyLi st;
  81           }
  82  
  83           pu blic Routi ngToken ge tRoutingTo ken()
  84           {
  85                    retu rn this.ro utingToken ;
  86           }
  87  
  88           /*  (non-Java doc)
  89            *  @see gov. va.med.ima ging.core. router.Abs tractDataS ourceComma ndImpl#get SiteNumber ()
  90            * /
  91           @O verride
  92           pr otected St ring getSi teNumber()  
  93           {
  94                    retu rn getRout ingToken() .getReposi toryUnique Id();
  95           }
  96  
  97           pu blic Study Filter get Filter() {
  98                    retu rn filter;
  99           }
  100  
  101           /*  (non-Java doc)
  102            *  @see gov. va.med.ima ging.core. router.Abs tractDataS ourceComma ndImpl#get SpiClass()
  103            * /
  104           @O verride
  105           pr otected Cl ass<Extern alPackageD ataSourceS pi> getSpi Class() 
  106           {
  107                    retu rn Externa lPackageDa taSourceSp i.class;
  108           }
  109  
  110           /*  (non-Java doc)
  111            *  @see gov. va.med.ima ging.core. router.Abs tractDataS ourceComma ndImpl#get SpiMethodN ame()
  112            * /
  113           @O verride
  114           pr otected St ring getSp iMethodNam e() 
  115           {
  116                    retu rn SPI_MET HOD_NAME;
  117           }
  118  
  119           @O verride
  120           pr otected Ob ject[] get SpiMethodP arameters( )
  121           {
  122                    retu rn new Obj ect[]{getR outingToke n(), getFi lter()};
  123           }
  124  
  125           @O verride
  126           pr otected Cl ass<?>[] g etSpiMetho dParameter Types()
  127           {
  128                    retu rn new Cla ss<?>[]{Ro utingToken .class, St udyFilter. class};
  129           }
  130  
  131           /*  (non-Java doc)
  132            *  @see gov. va.med.ima ging.core. router.Abs tractDataS ourceComma ndImpl#par ameterToSt ring()
  133            * /
  134           @O verride
  135           pr otected St ring param eterToStri ng() 
  136           {
  137                    Stri ngBuilder  sb = new S tringBuild er();
  138                    sb.a ppend(getS iteNumber( ));
  139                    retu rn sb.toSt ring();
  140           }
  141  
  142           /*  (non-Java doc)
  143            *  @see gov. va.med.ima ging.core. router.Abs tractDataS ourceComma ndImpl#pos tProcessRe sult(java. lang.Objec t)
  144            * /
  145           @O verride
  146           pr otected Li st<Study>  postProces sResult(Li st<Study>  result) 
  147           {
  148                    Tran sactionCon textFactor y.get().se tDataSourc eEntriesRe turned(res ult == nul l ? 0 : re sult.size( ));
  149                    retu rn result;
  150           }
  151   }