28. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 12/5/2017 12:06:34 PM Central Standard 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.

28.1 Files compared

# Location File Last Modified
1 IV-eHMP_CIF.zip\IMAG_Source\VISA\Java\BaseWebFacade\main\src\java\gov\va\med\imaging\exchange\business\taglib\artifactsource TreatingFacilitySiteCollectionTag.java Mon Dec 4 21:35:32 2017 UTC
2 IV-eHMP_CIF.zip\IMAG_Source\VISA\Java\BaseWebFacade\main\src\java\gov\va\med\imaging\exchange\business\taglib\artifactsource TreatingFacilitySiteCollectionTag.java Mon Dec 4 21:57:14 2017 UTC

28.2 Comparison summary

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

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

28.4 Active regular expressions

No regular expressions were active.

28.5 Comparison detail

  1   package go v.va.med.i maging.exc hange.busi ness.tagli b.artifact source;
  2  
  3   import gov .va.med.Pa tientIdent ifier;
  4   import gov .va.med.Ro utingToken Impl;
  5   import gov .va.med.ex ceptions.R outingToke nFormatExc eption;
  6   import gov .va.med.im aging.Base WebFacadeR outer;
  7   import gov .va.med.im aging.arti factsource .ArtifactS ource;
  8   import gov .va.med.im aging.arti factsource .ResolvedA rtifactSou rce;
  9   import gov .va.med.im aging.core .FacadeRou terUtility ;
  10   import gov .va.med.im aging.core .interface s.exceptio ns.Connect ionExcepti on;
  11   import gov .va.med.im aging.core .interface s.exceptio ns.MethodE xception;
  12   import gov .va.med.im aging.exch ange.busin ess.Site;
  13   import gov .va.med.im aging.exch ange.busin ess.taglib .exception s.MissingR equiredArg umentExcep tion;
  14  
  15   import jav a.util.Col lection;
  16  
  17   import jav ax.servlet .jsp.JspEx ception;
  18  
  19   import org .apache.lo gging.log4 j.Logger;
  20   import org .apache.lo gging.log4 j.LogManag er;
  21  
  22  
  23   /**
  24    * 
  25    * @author         
BECKEC
  26    *
  27    */
  28   public cla ss Treatin gFacilityS iteCollect ionTag 
  29   extends Ab stractArti factSource Collection Tag
  30   {
  31           pr ivate stat ic final l ong serial VersionUID  = 1L;
  32  
  33           pr ivate Logg er logger  = LogManag er.getLogg er(this.ge tClass());
  34           pr ivate Stri ng patient Icn;
  35           pr ivate Stri ng siteNum ber;
  36  
  37           pu blic Strin g getPatie ntIcn()
  38       {
  39           re turn patie ntIcn;
  40       }
  41  
  42           pu blic void  setPatient Icn(String  patientIc n)
  43       {
  44           th is.patient Icn = pati entIcn;
  45       }
  46  
  47           pu blic Strin g getSiteN umber()
  48       {
  49           re turn siteN umber;
  50       }
  51  
  52           pu blic void  setSiteNum ber(String  siteNumbe r)
  53       {
  54           th is.siteNum ber = site Number;
  55       }
  56  
  57  
  58           @O verride
  59           pr otected Co llection<R esolvedArt ifactSourc e> getArti factSource s() 
  60           th rows JspEx ception, M issingRequ iredArgume ntExceptio n
  61           {
  62                    if(g etPatientI cn() == nu ll || getP atientIcn( ).length()  < 1)
  63                             throw  new Missin gRequiredA rgumentExc eption("Th e patient  ICN is req uired but  was not pr ovided.");
  64                    
  65                    if(g etSiteNumb er() == nu ll || getS iteNumber( ).length()  < 1)
  66                             throw  new Missin gRequiredA rgumentExc eption("Th e site num ber is req uired but  was not pr ovided.");
  67                    
  68           // Router vix Core = App licationCo ntextUtil. getRouter( this.pageC ontext);
  69           
  70           tr
  71           {
  72                    Base WebFacadeR outer rout er;
  73                    try
  74                    {
  75                             router  = FacadeR outerUtili ty.getFaca deRouter(B aseWebFaca deRouter.c lass);
  76                    } 
  77                    catc h (Excepti on x)
  78                    {
  79                             logger .error("Ex ception ge tting the  facade rou ter implem entation." , x);
  80                             throw  new JspExc eption(x);
  81                    }
  82                    
  83                    retu rn router. getTreatin gSites( 
  84                             Routin gTokenImpl .createVAR adiologySi te(getSite Number()),
  85                             Patien tIdentifie r.icnPatie ntIdentifi er(getPati entIcn())
  86                    );
  87           }
  88           ca tch(Method Exception  mX)
  89           {
  90                    logg er.error(m X);
  91                    thro w new JspE xception(m X);
  92           }
  93           ca tch(Connec tionExcept ion mX)
  94           {
  95                    logg er.error(m X);
  96                    thro w new JspE xception(m X);
  97           }
  98                    catc h (Routing TokenForma tException  rtfX)
  99                    {
  100                    logg er.error(r tfX);
  101                    thro w new JspE xception(r tfX);
  102                    }
  103       }
  104  
  105           
  106   }