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

24.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 AbstractFederationStudyGraphDataSourceService.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 AbstractFederationStudyGraphDataSourceService.java Tue Mar 19 12:03:36 2019 UTC

24.2 Comparison summary

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

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

24.4 Active regular expressions

No regular expressions were active.

24.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: May  4, 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 gov .va.med.Gl obalArtifa ctIdentifi er;
  29   import gov .va.med.Pa tientIdent ifier;
  30   import gov .va.med.Ro utingToken ;
  31   import gov .va.med.im aging.arti factsource .ResolvedA rtifactSou rce;
  32   import gov .va.med.im aging.core .interface s.exceptio ns.Connect ionExcepti on;
  33   import gov .va.med.im aging.core .interface s.exceptio ns.MethodE xception;
  34   import gov .va.med.im aging.data source.Stu dyGraphDat aSourceSpi ;
  35   import gov .va.med.im aging.data source.exc eptions.Un supportedS erviceMeth odExceptio n;
  36   import gov .va.med.im aging.exch ange.busin ess.*;
  37   import gov .va.med.im aging.exch ange.enums .StudyLoad Level;
  38   import gov .va.med.im aging.fede ration.pro xy.Federat ionProxyUt ilities;
  39   import gov .va.med.im aging.prox y.services .ProxyServ ices;
  40  
  41   import jav a.util.Lis t;
  42  
  43   import org .apache.lo gging.log4 j.LogManag er;
  44   import org .apache.lo gging.log4 j.Logger;
  45  
  46   /**
  47    * @author   DNS     werfej
  48    *
  49    */
  50   public abs tract clas s Abstract Federation StudyGraph DataSource Service 
  51   extends Ab stractFede rationData SourceServ ice 
  52   implements  StudyGrap hDataSourc eSpi 
  53   {
  54           pr ivate Prox yServices  federation ProxyServi ces = null ;
  55           pr ivate fina l static S tring FEDE RATION_PRO XY_SERVICE _NAME = "F ederation" ;
  56           pr ivate fina l static L ogger logg er = LogMa nager.getL ogger(Abst ractFedera tionStudyG raphDataSo urceServic e.class); 
  57           
  58           pu blic abstr act String  getDataSo urceVersio n();
  59           
  60           /* *
  61            *  
  62            *  @param re solvedArti factSource
  63            *  @param pr otocol
  64            *  @throws U nsupported OperationE xception i f the Reso lvedArtifa ctSource i s not an i nstance of  ResolvedS ite
  65            * /
  66           pu blic Abstr actFederat ionStudyGr aphDataSou rceService (
  67                    Reso lvedArtifa ctSource r esolvedArt ifactSourc e,
  68                    Stri ng protoco l)
  69           th rows Unsup portedOper ationExcep tion
  70           {
  71                    supe r(resolved ArtifactSo urce, prot ocol);
  72                    if(!  (resolved ArtifactSo urce insta nceof Reso lvedSite)  )
  73                             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() +  "'.");
  74           }
  75  
  76           /* *
  77            *  The artif act source  must be c hecked in  the constr uctor to a ssure that  it is an  instance
  78            *  of Resolv edSite.
  79            *  
  80            *  @return
  81            * /
  82           pr otected Re solvedSite  getResolv edSite()
  83           {
  84                    retu rn (Resolv edSite)get ResolvedAr tifactSour ce();
  85           }
  86           
  87           pr otected Si te getSite ()
  88           {
  89                    retu rn getReso lvedSite() .getSite() ;
  90           }
  91           
  92           pr otected Lo gger getLo gger()
  93           {
  94                    retu rn logger;
  95           }
  96           
  97           /* *
  98            *  Returns t he proxy s ervices av ailable, i f none are  available  then null  is return ed
  99            * /
  100           pr otected Pr oxyService s getFeder ationProxy Services()
  101           {
  102                    if(f ederationP roxyServic es == null )
  103                    {
  104                             federa tionProxyS ervices = 
  105                                      Federati onProxyUti lities.get Federation ProxyServi ces(getSit e(), 
  106                                                       ge tFederatio nProxyName (), getDat aSourceVer sion());
  107                    }
  108                    retu rn federat ionProxySe rvices;
  109           }
  110           
  111           pr otected St ring getFe derationPr oxyName()
  112           {
  113                    retu rn FEDERAT ION_PROXY_ SERVICE_NA ME;
  114           }
  115  
  116           /*  (non-Java doc)
  117            *  @see gov. va.med.ima ging.datas ource.Stud yGraphData Source#isV ersionComp atible()
  118            * /
  119           @O verride
  120           pu blic boole an isVersi onCompatib le() 
  121           {
  122                    if(g etFederati onProxySer vices() ==  null)
  123                             return  false;            
  124                    retu rn true;
  125           }
  126  
  127           /*  (non-Java doc)
  128            *  @see gov. va.med.ima ging.datas ource.Stud yGraphData SourceSpi# getPatient Studies(go v.va.med.R outingToke n, java.la ng.String,  gov.va.me d.imaging. exchange.b usiness.St udyFilter,  gov.va.me d.imaging. exchange.e nums.Study LoadLevel)
  129            * /
  130           @O verride
  131           pu blic Study SetResult  getPatient Studies(Ro utingToken  globalRou tingToken,  PatientId entifier p atientIden tifier, St udyFilter  filter,
  132                    Stud yLoadLevel  studyLoad Level) thr ows Method Exception,  Connectio nException
  133           {
  134                    thro w new Unsu pportedSer viceMethod Exception( StudyGraph DataSource Spi.class,  "getPatie ntStudies" );
  135           }
  136  
  137           /*  (non-Java doc)
  138            *  @see gov. va.med.ima ging.datas ource.Stud yGraphData SourceSpi# getStudy(j ava.lang.S tring, gov .va.med.Gl obalArtifa ctIdentifi er)
  139            * /
  140           @O verride
  141           pu blic Study  getStudy( PatientIde ntifier pa tientIdent ifier, Glo balArtifac tIdentifie r studyId)  throws Me thodExcept ion,
  142                    Conn ectionExce ption
  143           {
  144                    thro w new Unsu pportedSer viceMethod Exception( StudyGraph DataSource Spi.class,  "getStudy ");
  145           }
  146  
  147           /*  (non-Java doc)
  148            *  @see gov. va.med.ima ging.datas ource.Stud yGraphData SourceSpi# getStudyRe port(java. lang.Strin g, gov.va. med.Global ArtifactId entifier)
  149            * /
  150           @O verride
  151           pu blic Strin g getStudy Report(Pat ientIdenti fier patie ntIdentifi er, Global ArtifactId entifier s tudyId) th rows Metho dException ,
  152                    Conn ectionExce ption
  153           {
  154                    thro w new Unsu pportedSer viceMethod Exception( StudyGraph DataSource Spi.class,  "getStudy Report");
  155           }
  156  
  157           @O verride
  158           pu blic List< StoredStud yFilter> g etStoredFi lters(Rout ingToken g lobalRouti ngToken)
  159           th rows Metho dException , Connecti onExceptio
  160           {
  161                    thro w new Unsu pportedSer viceMethod Exception( StudyGraph DataSource Spi.class,  "getStore dFilters") ;
  162           }
  163           
  164           
  165           
  166   }