23. EPMO Open Source Coordination Office Redaction File Detail Report

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

23.1 Files compared

# Location File Last Modified
1 C:\AraxisMergeCompare\Pri_un\IMAG_Source\VISA\Java\FederationDataSourceProvider\main\src\java\gov\va\med\imaging\federationdatasource AbstractFederationExternalPackageDataSourceService.java Mon Mar 18 20:39:05 2019 UTC
2 C:\AraxisMergeCompare\Pri_re\IMAG_Source\VISA\Java\FederationDataSourceProvider\main\src\java\gov\va\med\imaging\federationdatasource AbstractFederationExternalPackageDataSourceService.java Tue Mar 19 12:03:36 2019 UTC

23.2 Comparison summary

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

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

23.4 Active regular expressions

No regular expressions were active.

23.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  1, 2009
  6     Site Nam e:  Washin gton OI Fi eld Office , Silver S pring, MD
  7       Developer:     DNS     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;
  27  
  28   import jav a.util.Lis t;
  29  
  30   import gov .va.med.Pa tientIdent ifier;
  31   import gov .va.med.Ro utingToken ;
  32   import gov .va.med.im aging.Cprs Identifier ;
  33   import gov .va.med.im aging.arti factsource .ResolvedA rtifactSou rce;
  34   import gov .va.med.im aging.core .interface s.exceptio ns.Connect ionExcepti on;
  35   import gov .va.med.im aging.core .interface s.exceptio ns.MethodE xception;
  36   import gov .va.med.im aging.data source.Ext ernalPacka geDataSour ceSpi;
  37   import gov .va.med.im aging.data source.exc eptions.Un supportedS erviceMeth odExceptio n;
  38   import gov .va.med.im aging.exch ange.busin ess.Resolv edSite;
  39   import gov .va.med.im aging.exch ange.busin ess.Site;
  40   import gov .va.med.im aging.exch ange.busin ess.Study;
  41   import gov .va.med.im aging.exch ange.busin ess.StudyF ilter;
  42   import gov .va.med.im aging.exch ange.busin ess.WorkIt em;
  43   import gov .va.med.im aging.fede ration.pro xy.Federat ionProxyUt ilities;
  44   import gov .va.med.im aging.prox y.services .ProxyServ ices;
  45  
  46   import org .apache.lo gging.log4 j.LogManag er;
  47   import org .apache.lo gging.log4 j.Logger;
  48  
  49   /**
  50    * The bas e class fo r federati on data se rvices.
  51    * The res olved arti fact sourc e MUST be  a realizat ion of Res olvedSite
  52    * or the  constructo r for this  class wil l throw an  Unsupport edOperatio nException .
  53    * 
  54    * @author   DNS     werfej
  55    *
  56    */
  57   public abs tract clas s Abstract Federation ExternalPa ckageDataS ourceServi ce
  58   extends Ab stractFede rationData SourceServ ice
  59   implements  ExternalP ackageData SourceSpi 
  60   {
  61           pr ivate Prox yServices  federation ProxyServi ces = null ;
  62           pr ivate fina l static S tring FEDE RATION_PRO XY_SERVICE _NAME = "F ederation" ;
  63           pr ivate fina l static L ogger logg er = 
  64                    LogM anager.get Logger(Abs tractFeder ationExter nalPackage DataSource Service.cl ass); 
  65           
  66           pu blic abstr act String  getDataSo urceVersio n();
  67  
  68           /* *
  69            *  
  70            *  @param re solvedArti factSource
  71            *  @param pr otocol
  72            *  @throws U nsupported OperationE xception i f the Reso lvedArtifa ctSource i s not an i nstance of  ResolvedS ite
  73            * /
  74           pu blic Abstr actFederat ionExterna lPackageDa taSourceSe rvice(
  75                    Reso lvedArtifa ctSource r esolvedArt ifactSourc e,
  76                    Stri ng protoco l)
  77           th rows Unsup portedOper ationExcep tion
  78           {
  79                    supe r(resolved ArtifactSo urce, prot ocol);
  80                    if(!  (resolved ArtifactSo urce insta nceof Reso lvedSite)  )
  81                             throw  new Unsupp ortedOpera tionExcept ion("The a rtifact so urce must  be an inst ance of Re solvedSite  and it is  a '" + re solvedArti factSource .getClass( ).getSimpl eName() +  "'.");
  82           }
  83  
  84           /* *
  85            *  The artif act source  must be c hecked in  the constr uctor to a ssure that  it is an  instance
  86            *  of Resolv edSite.
  87            *  
  88            *  @return
  89            * /
  90           pr otected Re solvedSite  getResolv edSite()
  91           {
  92                    retu rn (Resolv edSite)get ResolvedAr tifactSour ce();
  93           }
  94           
  95           pr otected Si te getSite ()
  96           {
  97                    retu rn getReso lvedSite() .getSite() ;
  98           }
  99           
  100           pr otected Lo gger getLo gger()
  101           {
  102                    retu rn logger;
  103           }
  104           
  105           pr otected Pr oxyService s getFeder ationProxy Services()
  106           {
  107                    if(f ederationP roxyServic es == null )
  108                    {
  109                             federa tionProxyS ervices = 
  110                                      Federati onProxyUti lities.get Federation ProxyServi ces(getSit e(), 
  111                                                       ge tFederatio nProxyName (), getDat aSourceVer sion());
  112                    }
  113                    retu rn federat ionProxySe rvices;
  114           }
  115           
  116           pr otected St ring getFe derationPr oxyName()
  117           {
  118                    retu rn FEDERAT ION_PROXY_ SERVICE_NA ME;
  119           }
  120  
  121           /*  (non-Java doc)
  122            *  @see gov. va.med.ima ging.datas ource.Exte rnalPackag eDataSourc e#isVersio nCompatibl e()
  123            * /
  124           @O verride
  125           pu blic boole an isVersi onCompatib le() 
  126           {
  127                    if(g etFederati onProxySer vices() ==  null)
  128                             return  false;            
  129                    retu rn true;
  130           }
  131  
  132           /*  (non-Java doc)
  133            *  @see gov. va.med.ima ging.datas ource.Exte rnalPackag eDataSourc eSpi#getSt udiesFromC prsIdentif ier(gov.va .med.Routi ngToken, j ava.lang.S tring, gov .va.med.im aging.Cprs Identifier )
  134            * /
  135           @O verride
  136           pu blic List< Study> get StudiesFro mCprsIdent ifier(Rout ingToken g lobalRouti ngToken, S tring pati entIcn,
  137                    Cprs Identifier  cprsIdent ifier) thr ows Method Exception,  Connectio nException
  138           {
  139                    thro w new Unsu pportedSer viceMethod Exception( ExternalPa ckageDataS ourceSpi.c lass, "get StudiesFro mCprsIdent ifier");
  140           }
  141  
  142           /*  (non-Java doc)
  143            *  @see gov. va.med.ima ging.datas ource.Exte rnalPackag eDataSourc eSpi#postS tudiesFrom CprsIdenti fiers(gov. va.med.Rou tingToken,  gov.va.me d.PatientI dentifier,  java.util .List)
  144            * /
  145           @O verride
  146           pu blic List< Study> pos tStudiesFr omCprsIden tifiers(
  147                             Routin gToken glo balRouting Token,
  148                             Patien tIdentifie r patientI dentifier,
  149                             List<C prsIdentif ier> cprsI dentifiers ) throws M ethodExcep tion,
  150                             Connec tionExcept ion {
  151                    thro w new Unsu pportedSer viceMethod Exception( ExternalPa ckageDataS ourceSpi.c lass, "pos tStudiesFr omCprsIden tifiers");
  152           }
  153  
  154           
  155  
  156           @O verride
  157           pu blic List< Study> pos tStudiesFr omCprsIden tifiersAnd Filter(
  158                             Routin gToken glo balRouting Token,
  159                             Patien tIdentifie r patientI dentifier,
  160                             List<C prsIdentif ier> cprsI dentifiers
  161                             StudyF ilter filt er)
  162           th rows Metho dException , Connecti onExceptio
  163           {
  164                    thro w new Unsu pportedSer viceMethod Exception( ExternalPa ckageDataS ourceSpi.c lass, "pos tStudiesFr omCprsIden tifiersAnd Filter");
  165           }
  166  
  167           @O verride
  168           pu blic List< Study> get StudiesFro mCprsIdent ifierAndFi lter(
  169                             Routin gToken glo balRouting Token, 
  170                             String  patientIc n,
  171                             CprsId entifier c prsIdentif ier, 
  172                             StudyF ilter filt er)
  173                             throws  MethodExc eption, Co nnectionEx ception {
  174                    thro w new Unsu pportedSer viceMethod Exception( ExternalPa ckageDataS ourceSpi.c lass, "get StudiesFro mCprsIdent ifier");
  175           }
  176  
  177           @O verride
  178           pu blic List< Study> pos tViewerStu diesForQaR eview(
  179                             Routin gToken glo balRouting Token,
  180                             StudyF ilter filt er)
  181           th rows Metho dException , Connecti onExceptio
  182           {
  183                    thro w new Unsu pportedSer viceMethod Exception( ExternalPa ckageDataS ourceSpi.c lass, "pos tViewerStu diesForQaR eview");
  184           }
  185           
  186           @O verride
  187           pu blic List< WorkItem>  getRemoteW orkItemLis tFromDataS ource(
  188                             Routin gToken glo balRouting Token,
  189                             String  idType,
  190                             String  patientId ,
  191                             String  cptCode) 
  192           th rows Metho dException , Connecti onExceptio
  193           {
  194                    thro w new Unsu pportedSer viceMethod Exception( ExternalPa ckageDataS ourceSpi.c lass, "get RemoteWork ItemListFr omDataSour ce");
  195           }
  196  
  197           @O verride
  198           pu blic boole an deleteR emoteWorkI temFromDat aSource(
  199                             Routin gToken glo balRouting Token,
  200                             String  id) 
  201           th rows Metho dException , Connecti onExceptio
  202           {
  203                    thro w new Unsu pportedSer viceMethod Exception( ExternalPa ckageDataS ourceSpi.c lass, "del eteRemoteW orkItemFro mDataSourc e");
  204           }
  205           
  206  
  207   }