152. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 7/10/2017 1:01:47 PM 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.

152.1 Files compared

# Location File Last Modified
1 C:\AraxisMergeCompare\Pri_un\IV-ehmp_cif\ViewerStudyWebApp\main\generated\java\gov\va\med\imaging\study\web ViewerStudyFacadeRouterImpl.java Thu Jun 29 17:22:47 2017 UTC
2 C:\AraxisMergeCompare\Pri_re\IV-ehmp_cif\ViewerStudyWebApp\main\generated\java\gov\va\med\imaging\study\web ViewerStudyFacadeRouterImpl.java Thu Jul 6 15:05:35 2017 UTC

152.2 Comparison summary

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

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

152.4 Active regular expressions

No regular expressions were active.

152.5 Comparison detail

  1   /**
  2    * Package : MAG - Vi stA Imagin g
  3    * WARNING : Per VHA  Directive  2004-038,  this routi ne should  not be mod ified.
  4    * Date Cr eated: Oct  1, 2008
  5    * Site Na me:  Washi ngton OI F ield Offic e, Silver  Spring, MD
  6    * @author         
BECKEC
  7    * @versio n 1.0
  8    *
  9    * ------- ---------- ---------- ---------- ---------- ---------- -------
  10    * Propert y of the U S Governme nt.
  11    * No perm ission to  copy or re distribute  this soft ware is gi ven.
  12    * Use of  unreleased  versions  of this so ftware req uires the  user
  13    * to exec ute a writ ten test a greement w ith the Vi stA Imagin g
  14    * Develop ment Offic e of the D epartment  of Veteran s Affairs,
  15    * telepho ne (301) 7 34-0100.
  16    * 
  17    * The Foo d and Drug  Administr ation clas sifies thi s software  as
  18    * a Class  II medica l device.   As such,  it may not  be change d
  19    * in any  way.  Modi fications  to this so ftware may  result in  an
  20    * adulter ated medic al device  under 21CF R820, the  use of whi ch
  21    * is cons idered to  be a viola tion of US  Federal S tatutes.
  22    * ------- ---------- ---------- ---------- ---------- ---------- -------
  23    */
  24    package g ov.va.med. imaging.st udy.web;
  25    
  26    import ja va.util.Da te;
  27    import or g.apache.l og4j.*;
  28    import go v.va.med.i maging.*;
  29    import go v.va.med.i maging.cor e.interfac es.excepti ons.*;
  30    import go v.va.med.i maging.cor e.interfac es.router. Command;
  31    import go v.va.med.i maging.cor e.interfac es.router. Asynchrono usCommandR esultListe ner;
  32    import ja vax.annota tion.Gener ated;
  33    import go v.va.med.i maging.exc hange.busi ness.*;
  34    import go v.va.med.i maging.exc hange.busi ness.dicom .*;
  35    import go v.va.med.i maging.exc hange.busi ness.vista rad.*;
  36    import go v.va.med.i maging.art ifactsourc e.*;
  37    
  38    /*
  39    * This is  generated  code and  is recreat ed on ever y build.
  40    * Do not  make chang es directl y in this  code, as t hey will b e lost (wi thout warn ing).
  41    * Changes  may be ma de to the  template t hat genera ted this c ode (Facad eRouterImp l.ftl in
  42    * the Cor eRouterAnn otationPro cessor pro ject), suc h changes  will be re flected in
  43    * all fac ade router  implement ations.
  44    * 
  45    * This co de was gen erated usi ng FreeMar ker, an op en-source  template p rocessing  engine.
  46    * See htt p://www.fr eemarker.o rg for doc umentation  on the te mplate syn tax.
  47    */
  48    @Generate d(value="g ov.va.med. imaging.co re.codegen erator.Fac adeRouterC odeGenerat or")
  49    public cl ass Viewer StudyFacad eRouterImp l
  50    extends g ov.va.med. imaging.co re.interfa ces.router .AbstractF acadeRoute rImpl 
  51    implement s ViewerSt udyFacadeR outer
  52    {
  53           pr ivate stat ic ViewerS tudyFacade RouterImpl  singleton ;
  54    
  55           /*
  56           *  The getSin gleton() m ethod is t he only wa y to get a  reference  to the ro uter facad e.
  57           */
  58           pu blic stati c synchron ized Viewe rStudyFaca deRouter g etSingleto n()
  59           {
  60                    if(s ingleton = = null)  
  61                             single ton = new  ViewerStud yFacadeRou terImpl();
  62                    
  63                    retu rn singlet on; 
  64           } 
  65    
  66           pr ivate Logg er logger  = Logger.g etLogger(t his.getCla ss());
  67           
  68           pr ivate Logg er getLogg er()
  69           {
  70                    retu rn logger;
  71           }
  72    
  73           /* *
  74           *  The constr uctor is p rotected b ecause the  class may  be derive d from.
  75           */
  76           pr otected Vi ewerStudyF acadeRoute rImpl()
  77           {
  78                    supe r();
  79           }
  80    
  81                             /*
  82           *  Generated  method, mo dification s will be  overwritte n when pro ject is bu ilt
  83           *
  84           *  The templa te for thi s method m ay be foun d in Facad eRouterSyn chronousCo llectionMe thodImpl.f tl
  85           */
  86           @S uppressWar nings("unc hecked")
  87           pu blic java. util.List< gov.va.med .imaging.e xchange.bu siness.Stu dy> getStu diesByCprs Identifier (
  88                             java.l ang.String  patientIc n
  89                                               , gov.va.m ed.Routing Token rout ingToken
  90                                               , gov.va.m ed.imaging .CprsIdent ifier cprs Identifier
  91                     ) 
  92                    thro ws MethodE xception,  Connection Exception
  93                    {
  94                             Comman d<java.uti l.List> co mmand = ge tCommandFa ctory().cr eateCollec tionComman d(
  95                                       java.ut il.List.cl ass, 
  96                                       gov.va. med.imagin g.exchange .business. Study.clas s, 
  97                                      "GetStud iesByCprsI dentifierC ommand",
  98                                      "",
  99                                      new Clas s<?>[]{
  100                                               java.lang. String.cla ss, gov.va .med.Routi ngToken.cl ass, gov.v a.med.imag ing.CprsId entifier.c lass 
  101                                      },
  102                                      new Obje ct[]{
  103                                               patientIcn ,routingTo ken,cprsId entifier
  104                                      }
  105                             );                                          
  106                    
  107                             gov.va .med.imagi ng.transac tioncontex t.Transact ionContext  transacti onContext  =
  108                               gov. va.med.ima ging.trans actioncont ext.Transa ctionConte xtFactory. get();
  109                             //tran sactionCon text.setCo mmandClass Name("GetS tudiesByCp rsIdentifi erCommand" );
  110                    
  111         
  112                             java.u til.List<g ov.va.med. imaging.ex change.bus iness.Stud y> command Result = g etRouter() .doSynchro nously(com mand);
  113                             return  commandRe sult;
  114                    }
  115  
  116                             /*
  117           *  Generated  method, mo dification s will be  overwritte n when pro ject is bu ilt
  118           *
  119           *  The templa te for thi s method m ay be foun d in Facad eRouterSyn chronousMe thodImpl.f tl
  120           */
  121           @S uppressWar nings("unc hecked")
  122           pu blic java. lang.Strin g getUserT oken(
  123    ) 
  124                    thro ws MethodE xception,  Connection Exception
  125                    {
  126                                      Command< java.lang. String> co mmand = (C ommand<jav a.lang.Str ing>)getCo mmandFacto ry().creat eCommand(
  127                                                java.lang .String.cl ass, 
  128                                               "GetUserTo kenCommand ",
  129                                               "",
  130                                               new Class< ?>[]{
  131                                                         
  132                                               },
  133                                               new Object []{
  134                                                       
  135                                               }
  136                                      );
  137                                      gov.va.m ed.imaging .transacti oncontext. Transactio nContext t ransaction Context =
  138                                        gov.va .med.imagi ng.transac tioncontex t.Transact ionContext Factory.ge t();
  139                                      //transa ctionConte xt.setComm andClassNa me("GetUse rTokenComm and");
  140                    
  141         
  142           ja va.lang.St ring comma ndResult =  getRouter ().doSynch ronously(c ommand);
  143                                      return c ommandResu lt;
  144                    }
  145  
  146                             /*
  147           *  Generated  method, mo dification s will be  overwritte n when pro ject is bu ilt
  148           *
  149           *  The templa te for thi s method m ay be foun d in Facad eRouterSyn chronousCo llectionMe thodImpl.f tl
  150           */
  151           @S uppressWar nings("unc hecked")
  152           pu blic java. util.List< gov.va.med .imaging.e xchange.bu siness.Stu dy> getSha llowStudyL istBySiteN umber(
  153                             gov.va .med.Routi ngToken ro utingToken
  154                                               , java.lan g.String p atientIcn
  155                                               , gov.va.m ed.imaging .exchange. business.S tudyFilter  filter
  156                     ) 
  157                    thro ws MethodE xception,  Connection Exception
  158                    {
  159                             Comman d<java.uti l.List> co mmand = ge tCommandFa ctory().cr eateCollec tionComman d(
  160                                       java.ut il.List.cl ass, 
  161                                       gov.va. med.imagin g.exchange .business. Study.clas s, 
  162                                      "GetShal lowStudyLi stBySiteNu mberComman d",
  163                                      "",
  164                                      new Clas s<?>[]{
  165                                               gov.va.med .RoutingTo ken.class,  java.lang .String.cl ass, gov.v a.med.imag ing.exchan ge.busines s.StudyFil ter.class 
  166                                      },
  167                                      new Obje ct[]{
  168                                               routingTok en,patient Icn,filter
  169                                      }
  170                             );                                          
  171                    
  172                             gov.va .med.imagi ng.transac tioncontex t.Transact ionContext  transacti onContext  =
  173                               gov. va.med.ima ging.trans actioncont ext.Transa ctionConte xtFactory. get();
  174                             //tran sactionCon text.setCo mmandClass Name("GetS hallowStud yListBySit eNumberCom mand");
  175                    
  176         
  177                             java.u til.List<g ov.va.med. imaging.ex change.bus iness.Stud y> command Result = g etRouter() .doSynchro nously(com mand);
  178                             return  commandRe sult;
  179                    }
  180  
  181                             /*
  182           *  Generated  method, mo dification s will be  overwritte n when pro ject is bu ilt
  183           *
  184           *  The templa te for thi s method m ay be foun d in Facad eRouterSyn chronousMe thodImpl.f tl
  185           */
  186           @S uppressWar nings("unc hecked")
  187           pu blic gov.v a.med.imag ing.exchan ge.busines s.Artifact Results ge tStudyWith ImagesBySt udyURN(
  188                             gov.va .med.Routi ngToken ro utingToken
  189                                               , gov.va.m ed.Patient Identifier  patientId entifier
  190                                               , gov.va.m ed.imaging .exchange. business.S tudyFilter  filter
  191                                               , boolean  includeRad iology
  192                                               , boolean  includeDoc uments
  193                     ) 
  194                    thro ws MethodE xception,  Connection Exception
  195                    {
  196                                      Command< gov.va.med .imaging.e xchange.bu siness.Art ifactResul ts> comman d = (Comma nd<gov.va. med.imagin g.exchange .business. ArtifactRe sults>)get CommandFac tory().cre ateCommand (
  197                                                gov.va.me d.imaging. exchange.b usiness.Ar tifactResu lts.class,  
  198                                               "GetStudyW ithImagesA rtifactRes ultsBySite NumberComm and",
  199                                               "",
  200                                               new Class< ?>[]{
  201                                                        g ov.va.med. RoutingTok en.class,  gov.va.med .PatientId entifier.c lass, gov. va.med.ima ging.excha nge.busine ss.StudyFi lter.class , boolean. class, boo lean.class  
  202                                               },
  203                                               new Object []{
  204                                                       ro utingToken ,patientId entifier,f ilter,incl udeRadiolo gy,include Documents
  205                                               }
  206                                      );
  207                                      gov.va.m ed.imaging .transacti oncontext. Transactio nContext t ransaction Context =
  208                                        gov.va .med.imagi ng.transac tioncontex t.Transact ionContext Factory.ge t();
  209                                      //transa ctionConte xt.setComm andClassNa me("GetStu dyWithImag esArtifact ResultsByS iteNumberC ommand");
  210                    
  211         
  212           go v.va.med.i maging.exc hange.busi ness.Artif actResults  commandRe sult = get Router().d oSynchrono usly(comma nd);
  213                                      return c ommandResu lt;
  214                    }
  215  
  216                             /*
  217           *  Generated  method, mo dification s will be  overwritte n when pro ject is bu ilt
  218           *
  219           *  The templa te for thi s method m ay be foun d in Facad eRouterSyn chronousMe thodImpl.f tl
  220           */
  221           @S uppressWar nings("unc hecked")
  222           pu blic gov.v a.med.imag ing.exchan ge.busines s.Artifact Results ge tStudyOnly ByStudyURN (
  223                             gov.va .med.Routi ngToken ro utingToken
  224                                               , gov.va.m ed.Patient Identifier  patientId entifier
  225                                               , gov.va.m ed.imaging .exchange. business.S tudyFilter  filter
  226                                               , boolean  includeRad iology
  227                                               , boolean  includeDoc uments
  228                     ) 
  229                    thro ws MethodE xception,  Connection Exception
  230                    {
  231                                      Command< gov.va.med .imaging.e xchange.bu siness.Art ifactResul ts> comman d = (Comma nd<gov.va. med.imagin g.exchange .business. ArtifactRe sults>)get CommandFac tory().cre ateCommand (
  232                                                gov.va.me d.imaging. exchange.b usiness.Ar tifactResu lts.class,  
  233                                               "GetStudyO nlyArtifac tResultsBy SiteNumber Command",
  234                                               "",
  235                                               new Class< ?>[]{
  236                                                        g ov.va.med. RoutingTok en.class,  gov.va.med .PatientId entifier.c lass, gov. va.med.ima ging.excha nge.busine ss.StudyFi lter.class , boolean. class, boo lean.class  
  237                                               },
  238                                               new Object []{
  239                                                       ro utingToken ,patientId entifier,f ilter,incl udeRadiolo gy,include Documents
  240                                               }
  241                                      );
  242                                      gov.va.m ed.imaging .transacti oncontext. Transactio nContext t ransaction Context =
  243                                        gov.va .med.imagi ng.transac tioncontex t.Transact ionContext Factory.ge t();
  244                                      //transa ctionConte xt.setComm andClassNa me("GetStu dyOnlyArti factResult sBySiteNum berCommand ");
  245                    
  246         
  247           go v.va.med.i maging.exc hange.busi ness.Artif actResults  commandRe sult = get Router().d oSynchrono usly(comma nd);
  248                                      return c ommandResu lt;
  249                    }
  250  
  251    }