338. EPMO Open Source Coordination Office Redaction File Detail Report

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

338.1 Files compared

# Location File Last Modified
1 IV-eHMP_CIF.zip\IMAG_Source\VISA\Java\PathologyFederationDataSourceProvider\main\src\java\gov\va\med\imaging\federationdatasource\pathology\proxy\commands PathologyFederationAddCaseAssistanceCommand.java Mon Dec 4 21:35:30 2017 UTC
2 IV-eHMP_CIF.zip\IMAG_Source\VISA\Java\PathologyFederationDataSourceProvider\main\src\java\gov\va\med\imaging\federationdatasource\pathology\proxy\commands PathologyFederationAddCaseAssistanceCommand.java Mon Dec 4 22:05:00 2017 UTC

338.2 Comparison summary

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

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

338.4 Active regular expressions

No regular expressions were active.

338.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: Jun  21, 2012
  6     Site Nam e:  Washin gton OI Fi eld Office , Silver S pring, MD
  7       Developer:          
WERFEJ
  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.fed erationdat asource.pa thology.pr oxy.comman ds;
  27  
  28   import jav a.util.Has hMap;
  29   import jav a.util.Map ;
  30  
  31   import org .apache.lo gging.log4 j.LogManag er;
  32   import org .apache.lo gging.log4 j.Logger;
  33  
  34   import gov .va.med.im aging.core .interface s.exceptio ns.MethodE xception;
  35   import gov .va.med.im aging.fede ration.pat hology.res t.endpoint s.Patholog yFederatio nRestUri;
  36   import gov .va.med.im aging.fede ration.pat hology.res t.translat or.Patholo gyFederati onRestTran slator;
  37   import gov .va.med.im aging.fede ration.pat hology.res t.types.Pa thologyFed erationCas eUpdateAtt ributeResu ltType;
  38   import gov .va.med.im aging.fede rationdata source.con figuration .Federatio nConfigura tion;
  39   import gov .va.med.im aging.path ology.Path ologyCaseU RN;
  40   import gov .va.med.im aging.path ology.Path ologyCaseU pdateAttri buteResult ;
  41   import gov .va.med.im aging.path ology.enum s.Patholog yCaseAssis tance;
  42   import gov .va.med.im aging.prox y.services .ProxyServ ices;
  43  
  44   /**
  45    * @author         
WERFEJ
  46    *
  47    */
  48   public cla ss Patholo gyFederati onAddCaseA ssistanceC ommand
  49   extends Ab stractPath ologyFeder ationRestP roxyGetCom mand<Patho logyFedera tionCaseUp dateAttrib uteResultT ype, Patho logyCaseUp dateAttrib uteResult>
  50   {
  51           pr ivate fina l Patholog yCaseURN p athologyCa seUrn;
  52           pr ivate fina l Patholog yCaseAssis tance assi stanceType ;
  53           pr ivate fina l String s tationNumb er;
  54           
  55           pr ivate fina l static L ogger logg er = LogMa nager.getL ogger(Path ologyFeder ationAddCa seAssistan ceCommand. class);
  56           
  57           pr otected Lo gger getLo gger()
  58           {
  59                    retu rn logger;
  60           }
  61           
  62           pu blic Patho logyFedera tionAddCas eAssistanc eCommand(S tring data SourceVers ion,
  63                             ProxyS ervices pr oxyService s,
  64                             Federa tionConfig uration fe derationCo nfiguratio n,
  65                             Pathol ogyCaseURN  pathology CaseUrn,
  66                             Pathol ogyCaseAss istance as sistanceTy pe, String  stationNu mber)
  67           {
  68                    supe r("addCase Assistance ", dataSou rceVersion , proxySer vices, fed erationCon figuration );
  69                    this .pathology CaseUrn =  pathologyC aseUrn;
  70                    this .assistanc eType = as sistanceTy pe;
  71                    this .stationNu mber = sta tionNumber ;
  72           }
  73           
  74           pu blic Patho logyCaseUR N getPatho logyCaseUr n()
  75           {
  76                    retu rn patholo gyCaseUrn;
  77           }
  78  
  79           pu blic Patho logyCaseAs sistance g etAssistan ceType()
  80           {
  81                    retu rn assista nceType;
  82           }
  83  
  84           pu blic Strin g getStati onNumber()
  85           {
  86                    retu rn station Number;
  87           }
  88  
  89           /*  (non-Java doc)
  90            *  @see gov. va.med.ima ging.feder ationdatas ource.path ology.prox y.commands .AbstractF ederationR estProxyCo mmand#getM ethodParam etersDescr iption()
  91            * /
  92           @O verride
  93           pr otected St ring getMe thodParame tersDescri ption()
  94           {
  95                    retu rn " for c ase '" + g etPatholog yCaseUrn() .toString( ) + ", ass istance ty pe '" + as sistanceTy pe + "'.";
  96           }
  97  
  98           /*  (non-Java doc)
  99            *  @see gov. va.med.ima ging.feder ationdatas ource.path ology.prox y.commands .AbstractF ederationR estProxyCo mmand#getM ethodUri()
  100            * /
  101           @O verride
  102           pr otected St ring getMe thodUri()
  103           {
  104                    retu rn Patholo gyFederati onRestUri. addCaseAss istancePat h;
  105           }
  106  
  107           /*  (non-Java doc)
  108            *  @see gov. va.med.ima ging.feder ationdatas ource.path ology.prox y.commands .AbstractF ederationR estProxyCo mmand#getU rlParamete rsKeyValue s()
  109            * /
  110           @O verride
  111           pr otected Ma p<String,  String> ge tUrlParame tersKeyVal ues()
  112           {
  113                    Map< String, St ring> urlP arameterKe yValues =  new HashMa p<String,  String>();
  114                    urlP arameterKe yValues.pu t("{caseId }", getPat hologyCase Urn().toSt ring());
  115                    urlP arameterKe yValues.pu t("{assist anceType}" , Patholog yFederatio nRestTrans lator.tran slate(getA ssistanceT ype()).nam e());
  116                    urlP arameterKe yValues.pu t("{statio nNumber}",  getStatio nNumber()) ;
  117                    retu rn urlPara meterKeyVa lues;
  118           }
  119  
  120           /*  (non-Java doc)
  121            *  @see gov. va.med.ima ging.feder ationdatas ource.path ology.prox y.commands .AbstractF ederationR estProxyCo mmand#getW ebServiceR esultClass ()
  122            * /
  123           @O verride
  124           pr otected Cl ass<Pathol ogyFederat ionCaseUpd ateAttribu teResultTy pe> getWeb ServiceRes ultClass()
  125           {
  126                    retu rn Patholo gyFederati onCaseUpda teAttribut eResultTyp e.class;
  127           }
  128  
  129           /*  (non-Java doc)
  130            *  @see gov. va.med.ima ging.feder ationdatas ource.path ology.prox y.commands .AbstractF ederationR estProxyCo mmand#tran slateWebSe rviceResul t(java.lan g.Object)
  131            * /
  132           @O verride
  133           pr otected Pa thologyCas eUpdateAtt ributeResu lt transla teWebServi ceResult(
  134                             Pathol ogyFederat ionCaseUpd ateAttribu teResultTy pe webServ iceResult)
  135                             throws  MethodExc eption
  136           {
  137                    retu rn Patholo gyFederati onRestTran slator.tra nslate(web ServiceRes ult);
  138           }
  139  
  140           /*  (non-Java doc)
  141            *  @see gov. va.med.ima ging.feder ationdatas ource.path ology.prox y.commands .AbstractF ederationR estProxyCo mmand#getT ranslatedR esultDescr iption(jav a.lang.Obj ect)
  142            * /
  143           @O verride
  144           pr otected St ring getTr anslatedRe sultDescri ption(
  145                             Pathol ogyCaseUpd ateAttribu teResult r esult)
  146           {
  147                    retu rn "return ed [" + (r esult == n ull ? "nul l" : resul t.isSucces s()) + "]  result.";
  148           }
  149  
  150   }