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

46.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\worklist GetRemoteWorkItemListCommandImpl.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\worklist GetRemoteWorkItemListCommandImpl.java Tue Mar 19 12:03:52 2019 UTC

46.2 Comparison summary

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

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

46.4 Active regular expressions

No regular expressions were active.

46.5 Comparison detail

  1   /**
  2    * 
  3    */
  4   package go v.va.med.i maging.rou ter.comman ds.worklis t;
  5   import jav a.util.Lis t;
  6  
  7   import gov .va.med.Ro utingToken ;
  8   import gov .va.med.im aging.core .interface s.exceptio ns.Connect ionExcepti on;
  9   import gov .va.med.im aging.core .interface s.exceptio ns.MethodE xception;
  10   import gov .va.med.im aging.core .router.Ab stractComm andImpl;
  11   import gov .va.med.im aging.core .router.wo rklist.Int ernalWorkL istRouter;
  12   import gov .va.med.im aging.core .router.wo rklist.Wor kListConte xt;
  13   import gov .va.med.im aging.exch ange.busin ess.WorkIt em;
  14   import gov .va.med.im aging.rout er.facade. ImagingCon text;
  15   import gov .va.med.im aging.tran sactioncon text.Trans actionCont ext;
  16   import gov .va.med.im aging.tran sactioncon text.Trans actionCont extFactory ;
  17  
  18   /**
  19    * @author   DNS     tjahjb
  20    * 
  21    * Get Wor k items fr om Data So urce.
  22    *
  23    */
  24   public cla ss GetRemo teWorkItem ListComman dImpl 
  25   extends Ab stractComm andImpl<Li st<WorkIte m>> 
  26   {
  27  
  28           pr ivate stat ic final l ong serial VersionUID  = 1364589 8959201891 81L;
  29           pr ivate fina l RoutingT oken routi ngToken;
  30           pr ivate fina l String c ptCode;
  31           pr ivate fina l String i dType;
  32           pr ivate fina l String p atientId;
  33           
  34           pu blic GetRe moteWorkIt emListComm andImpl(
  35                             Routin gToken rou tingToken,
  36                             String  idType,
  37                             String  patientId ,
  38                             String  cptCode)
  39           {
  40                    supe r();
  41                    this .routingTo ken = rout ingToken;
  42                    this .idType =  idType;
  43                    this .patientId  = patient Id;
  44                    this .cptCode =  cptCode;
  45           }
  46           
  47           pu blic Strin g getIdTyp e()
  48           {
  49                    retu rn idType;
  50           }
  51  
  52           pu blic Strin g getPatie ntId()
  53           {
  54                    retu rn patient Id;
  55           }
  56  
  57           pu blic Strin g getCptCo de() 
  58           {
  59                    retu rn cptCode ;
  60           }
  61  
  62           pu blic Routi ngToken ge tRoutingTo ken() 
  63           {
  64                    retu rn routing Token;
  65           }
  66  
  67           @O verride
  68           pu blic List< WorkItem>  callSynchr onouslyInT ransaction Context() 
  69           th rows Metho dException , Connecti onExceptio
  70           {
  71                    getL ogger().in fo("Synchr onous Comm and [" + t his.getCla ss().getSi mpleName()  + "] - pr ocessing." );
  72                    
  73                    Tran sactionCon text trans actionCont ext = Tran sactionCon textFactor y.get();
  74                    tran sactionCon text.setSe rvicedSour ce(getRout ingToken() .toRouting TokenStrin g());
  75                    tran sactionCon text.setPa tientID(ge tPatientId ());
  76                    tran sactionCon text.setIt emCached(B oolean.FAL SE);
  77  
  78                    List <WorkItem>  workItems  = Imaging Context.ge tRouter(). getRemoteW orkItemLis tFromDataS ource(
  79                                      getRouti ngToken(),  
  80                                      getIdTyp e(), 
  81                                      getPatie ntId(), 
  82                                      getCptCo de());
  83                    
  84                    retu rn workIte ms;
  85           }
  86  
  87           @O verride
  88           pu blic boole an equals( Object obj
  89           {
  90                    retu rn false;
  91           }
  92  
  93           @O verride
  94           pr otected St ring param eterToStri ng() 
  95           {
  96                    retu rn this.ge tIdType()  + "," + th is.getPati entId() +  "," + this .getCptCod e();
  97           }
  98  
  99  
  100   }