43. EPMO Open Source Coordination Office Redaction File Detail Report

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

43.1 Files compared

# Location File Last Modified
1 C:\AraxisMergeCompare\Pri_un\IV-ehmp_cif\ImagingBaseWebFacade\main\src\java\gov\va\med\imaging ImagingBaseWebFacadeRouter.java Thu Jun 29 17:23:05 2017 UTC
2 C:\AraxisMergeCompare\Pri_re\IV-ehmp_cif\ImagingBaseWebFacade\main\src\java\gov\va\med\imaging ImagingBaseWebFacadeRouter.java Thu Jul 6 15:02:14 2017 UTC

43.2 Comparison summary

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

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

43.4 Active regular expressions

No regular expressions were active.

43.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: Sep  9, 2012
  6     Site Nam e:  Washin gton OI Fi eld Office , Silver S pring, MD
  7     Develope r:  vhaisw beckec
  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;
  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.core .annotatio ns.routerf acade.Faca deRouterIn terface;
  32   import gov .va.med.im aging.core .annotatio ns.routerf acade.Faca deRouterIn terfaceCom mandTester ;
  33   import gov .va.med.im aging.core .annotatio ns.routerf acade.Faca deRouterMe thod;
  34   import gov .va.med.im aging.core .interface s.ImageMet adataNotif ication;
  35   import gov .va.med.im aging.core .interface s.PhotoIDI nformation Notificati on;
  36   import gov .va.med.im aging.core .interface s.exceptio ns.Connect ionExcepti on;
  37   import gov .va.med.im aging.core .interface s.exceptio ns.ImageNo tFoundExce ption;
  38   import gov .va.med.im aging.core .interface s.exceptio ns.MethodE xception;
  39   import gov .va.med.im aging.exch ange.Image AccessLogE vent;
  40   import gov .va.med.im aging.exch ange.busin ess.Artifa ctResults;
  41   import gov .va.med.im aging.exch ange.busin ess.Docume ntFilter;
  42   import gov .va.med.im aging.exch ange.busin ess.ImageF ormatQuali tyList;
  43   import gov .va.med.im aging.exch ange.busin ess.ImageM etadata;
  44   import gov .va.med.im aging.exch ange.busin ess.Passth roughInput Method;
  45   import gov .va.med.im aging.exch ange.busin ess.Study;
  46   import gov .va.med.im aging.exch ange.busin ess.StudyF ilter;
  47   import gov .va.med.im aging.exch ange.busin ess.StudyS etResult;
  48   import gov .va.med.im aging.exch ange.busin ess.docume nts.Docume ntRetrieve Result;
  49   import gov .va.med.im aging.exch ange.busin ess.docume nts.Docume ntSet;
  50   import gov .va.med.im aging.exch ange.busin ess.docume nts.Docume ntSetResul t;
  51   import gov .va.med.im aging.exch ange.enums .SiteConne ctivitySta tus;
  52  
  53   import jav a.io.IOExc eption;
  54   import jav a.io.Input Stream;
  55   import jav a.io.Outpu tStream;
  56   import jav a.util.Lis t;
  57  
  58   /**
  59    * @author         
WERFEJ
  60    *
  61    */
  62   @FacadeRou terInterfa ce(extends ClassName= "gov.va.me d.imaging. BaseWebFac adeRouterI mpl")
  63   @FacadeRou terInterfa ceCommandT ester
  64   public int erface Ima gingBaseWe bFacadeRou ter 
  65   extends go v.va.med.i maging.Bas eWebFacade Router
  66   {
  67           
  68           /* *
  69            *  Checks to  see if th e ViX can  communicat e with the  specified  site
  70            *  @param si teNumber T he site nu mber to co mmunicate  with
  71            *  @return T he status  of the sit e
  72            * /
  73           @F acadeRoute rMethod(as ynchronous =false, co mmandClass Name="GetS iteConnect ivityStatu sCommand")
  74           pu blic abstr act SiteCo nnectivity Status isS iteAvailab le(Routing Token rout ingToken)
  75           th rows Metho dException , Connecti onExceptio n;
  76           
  77           /* *
  78            *  Given a s ite number , patient  ID and an  optional f ilter, fin d all of t he Study
  79            *  instances  for that  patient, a t that Sit e and matc hing the f ilter crit eria.
  80            *  
  81            *  @param si teNumber
  82            *  @param pa tientId
  83            *  @param fi lter
  84            *  @return
  85            *  @throws M ethodExcep tion
  86            * /
  87           @F acadeRoute rMethod(as ynchronous =false, co mmandClass Name="GetS tudyListBy SiteComman d")
  88           pu blic abstr act List<S tudy> getP atientStud yList(
  89                    Rout ingToken r outingToke n, 
  90                    Pati entIdentif ier patien tIdentifie r, 
  91                    Stud yFilter fi lter)
  92           th rows Metho dException , Connecti onExceptio n;
  93           
  94           /* *
  95            *  Given a s ite number , patient  ID and an  optional f ilter, fin d all of t he Study
  96            *  instances  for that  patient (f ully loade d), at tha t Site and  matching  the filter  criteria.
  97            *  
  98            *  @param si teNumber
  99            *  @param pa tientId
  100            *  @param fi lter
  101            *  @return
  102            *  @throws M ethodExcep tion
  103            * /
  104           @F acadeRoute rMethod(as ynchronous =false, co mmandClass Name="GetS tudySetRes ultBySiteC ommand")
  105           pu blic abstr act StudyS etResult g etPatientS tudySet(
  106                    Rout ingToken r outingToke n, 
  107                    Pati entIdentif ier patien tIdentifie r, 
  108                    Stud yFilter fi lter)
  109           th rows Metho dException , Connecti onExceptio n;
  110           
  111           /* *
  112            *  Given a s tudy ident ifier, ret urn a sing le study f or the stu dyUrn spec ified.
  113            *  
  114            *  @param st udyUrn
  115            *  @return
  116            *  @throws M ethodExcep tion
  117            * /
  118           @F acadeRoute rMethod(as ynchronous =false, co mmandClass Name="GetS tudyComman d")
  119           pu blic abstr act Study  getPatient Study(Stud yURN study Urn)
  120           th rows Metho dException , Connecti onExceptio n;
  121           
  122           
  123           /* *
  124            *  Given a s tudy ident ifier, ret urn a sing le study f or the stu dyUrn spec ified.
  125            *  
  126            *  @param st udyUrn
  127            *  @return
  128            *  @throws M ethodExcep tion
  129            * /     
  130           @F acadeRoute rMethod(as ynchronous =false, co mmandClass Name="GetS tudyComman d")
  131           pu blic abstr act Study  getPatient StudyWithD eletedImag es(StudyUR N studyUrn , boolean  includeDel etedImages )
  132           th rows Metho dException , Connecti onExceptio n;
  133           
  134  
  135           
  136           @F acadeRoute rMethod(as ynchronous =false, co mmandClass Name="GetS tudyComman d")
  137           pu blic abstr act Study  getPatient Study(Bhie StudyURN s tudyUrn)
  138           th rows Metho dException , Connecti onExceptio n;
  139           
  140           
  141           /* *
  142            *  An image  access log ging metho d.  This s ynchronous  command c alls an as ync comman d to do th e actual w ork
  143            *   
  144            *  @param ev ent
  145            *  @throws M ethodExcep tion 
  146            * /
  147           @F acadeRoute rMethod(as ynchronous =false, co mmandClass Name="Post ImageAcces sEventComm and")
  148           pu blic abstr act void l ogImageAcc essEvent(I mageAccess LogEvent e vent)
  149           th rows Metho dException , Connecti onExceptio n;
  150           
  151           /* *
  152            *  Call an a sync comma nd to post  an image  access eve nt
  153            *  @param ev ent
  154            * /
  155           @F acadeRoute rMethod(as ynchronous =true, com mandClassN ame="PostI mageAccess EventRetry ableComman d")
  156           pu blic abstr act void l ogImageAcc essEventRe tryable(Im ageAccessL ogEvent ev ent);
  157           
  158           /* *
  159            *  Retrieves  image inf ormation a bout an im age in the  form of a  newline t erminated  string
  160            *  @param im ageUrn
  161            *  @return -  image inf ormation o r a null i f the imag e is not f ound
  162            *  @throws M ethodExcep tion
  163            * /
  164           @F acadeRoute rMethod(as ynchronous =false)
  165           pu blic abstr act String  getImageI nformation (AbstractI magingURN  imagingUrn )
  166           th rows Metho dException , Connecti onExceptio n;
  167           
  168           /* *
  169            *  Retrieves  image inf ormation a bout an im age in the  form of a  newline t erminated  string
  170            *  @param im ageUrn
  171            *  @param in cludeDelet edImages
  172            *  @return -  image inf ormation o r a null i f the imag e is not f ound
  173            *  @throws M ethodExcep tion
  174            * /
  175           @F acadeRoute rMethod(as ynchronous =false)
  176           pu blic abstr act String  getImageI nformation (AbstractI magingURN  imagingUrn , boolean  includeDel etedImages )
  177           th rows Metho dException , Connecti onExceptio n;
  178  
  179           /* *
  180            *  
  181            *  @param im ageUrn
  182            *  @return
  183            *  @throws M ethodExcep tion
  184            * /
  185           @F acadeRoute rMethod(as ynchronous =false)
  186           pu blic abstr act String  getImageS ystemGloba lNode(Abst ractImagin gURN imagi ngUrn)
  187           th rows Metho dException , Connecti onExceptio n;
  188  
  189           /* *
  190            *  
  191            *  @param im ageURN
  192            *  @param fl ags
  193            *  @return
  194            *  @throws I OException
  195            *  @throws I mageNotFou ndExceptio n
  196            *  @throws M ethodExcep tion
  197            * /
  198           @F acadeRoute rMethod(as ynchronous =false)
  199           pu blic abstr act String  getImageD evFields(A bstractIma gingURN im agingUrn,  String fla gs)
  200           th rows Metho dException , Connecti onExceptio n;
  201           
  202           /* *
  203            *  Given an  ImageURN ( a globally  unique id entifier o f an image ) return t he
  204            *  number of  bytes wri tten to th e output s tream. The  metadata  callback i s called
  205            *  before wr iting to t he stream
  206            *  
  207            *  @param im ageUrn
  208            *  @param re questedFor matQuality
  209            *  @param ou tStream
  210            *  @param me tadataCall back
  211            *  @return
  212            *  @throws I OException
  213            *  @throws M ethodExcep tion
  214            * /
  215           @F acadeRoute rMethod(as ynchronous =false, co mmandClass Name="GetI nstanceByI mageUrnCom mand")
  216           pu blic abstr act Long g etInstance ByImageURN (
  217                             ImageU RN imageUr n, 
  218                             ImageF ormatQuali tyList req uestedForm atQuality,  
  219                             Output Stream out Stream,
  220                             ImageM etadataNot ification  metadataCa llback)
  221           th rows Metho dException , Connecti onExceptio n;
  222  
  223           /* *
  224            *  
  225            *  @param si teNumber
  226            *  @param pa tientIcn
  227            *  @param st udyFilter
  228            *  @param im ageFormatL ist
  229            *  @throws M ethodExcep tion
  230            *  @throws C onnectionE xception
  231            * /
  232           @F acadeRoute rMethod(as ynchronous =true)
  233           pu blic abstr act void p refetchPat ientStudyL ist(
  234                    Rout ingToken r outingToke n, 
  235                    Pati entIdentif ier patien tIdentifie r, 
  236                    Stud yFilter st udyFilter,  
  237                    Imag eFormatQua lityList i mageFormat List);
  238           
  239           /* *
  240            *  
  241            *  @param im ageUrn
  242            *  @param ou tStream
  243            *  @param me tadataNoti fication
  244            *  @return
  245            *  @throws M ethodExcep tion
  246            *  @throws C onnectionE xception
  247            * /
  248           @F acadeRoute rMethod(as ynchronous =false, co mmandClass Name="GetI mageTextCo mmand")
  249           pu blic abstr act int ge tTxtFileBy ImageURN(
  250                    Imag eURN image Urn, 
  251                    Outp utStream o utStream, 
  252                    Imag eMetadataN otificatio n metadata Notificati on)
  253           th rows Metho dException , Connecti onExceptio n;
  254           
  255           @F acadeRoute rMethod(as ynchronous =false, is ChildComma nd=true, c ommandClas sName="Get ImageTextC ommand")
  256           pu blic abstr act int ge tTxtFileBy ImageURNAs Child(
  257                    Imag eURN image Urn, 
  258                    Outp utStream o utStream, 
  259                    Imag eMetadataN otificatio n metadata Notificati on)
  260           th rows Metho dException , Connecti onExceptio n;
  261           
  262           /* *
  263            *  
  264            *  @param pa tientIcn
  265            *  @param si teNumber
  266            *  @return
  267            *  @throws M ethodExcep tion
  268            *  @throws C onnectionE xception
  269            * /
  270           @F acadeRoute rMethod(as ynchronous =false)
  271           pu blic abstr act InputS tream getP atientIden tification Image(
  272                    Pati entIdentif ier patien tIdentifie r,
  273                    Rout ingToken r outingToke n,
  274                    Phot oIDInforma tionNotifi cation pho toIdInform ationNotif ication)
  275           th rows Metho dException , Connecti onExceptio n;
  276  
  277           @F acadeRoute rMethod(as ynchronous =false)
  278           pu blic abstr act InputS tream getP atientIden tification Image(
  279                    Pati entIdentif ier patien tIdentifie r,
  280                    Rout ingToken r outingToke n)
  281           th rows Metho dException , Connecti onExceptio n;    
  282      
  283      /**
  284            *  Given an  ImageURN ( a globally  unique id entifier o f an image ) return t he
  285            *  number of  bytes wri tten to th e output s tream. The  metadata  callback i s called
  286            *  before wr iting to t he stream
  287            *  
  288            *  @param im ageUrn
  289            *  @param re questedFor matQuality
  290            *  @param ou tStream
  291            *  @param me tadataCall back
  292            *  @return
  293            *  @throws I OException
  294            *  @throws M ethodExcep tion
  295            * /
  296           @F acadeRoute rMethod(as ynchronous =false, co mmandClass Name="GetE xamInstanc eByImageUr nCommand")
  297           pu blic abstr act Long g etExamInst anceByImag eUrn(
  298                             ImageU RN imageUr n, 
  299                             ImageM etadataNot ification  metadataCa llback,
  300                             Output Stream out Stream,
  301                             ImageF ormatQuali tyList req uestedForm atQuality)
  302           th rows Metho dException , Connecti onExceptio n;
  303  
  304           /* *
  305            *  Given an  ImageURN ( a globally  unique id entifier o f an image ) cache th e image an d then
  306            *  return th e number o f bytes in  the image .
  307            *  
  308            *  
  309            *  @param im ageUrn
  310            *  @param re questedFor matQuality
  311            *  @return
  312            *  @throws M ethodExcep tion
  313            *  @throws C onnectionE xception
  314            * /
  315           @F acadeRoute rMethod(as ynchronous =false, co mmandClass Name="Head InstanceBy ImageUrnCo mmand")
  316           pu blic abstr act ImageM etadata he adInstance ByImageUrn (
  317                    Imag eURN image Urn, 
  318                    Imag eFormatQua lityList r equestedFo rmatQualit y)
  319           th rows Metho dException , Connecti onExceptio n;
  320           
  321           /* *
  322            *  Another v ersion of  headInstan ceByImageU rn with mo re paramet ers.
  323            *  @param im ageUrn
  324            *  @param im ageFormatQ ualityList
  325            *  @param ou tStream
  326            *  @param fo rceDatasou rceAccess
  327            *  @param fo rceSizeCal culation
  328            *  @param al lowCaching
  329            *  @return
  330            * /
  331           @F acadeRoute rMethod(as ynchronous =false, co mmandClass Name="Head InstanceBy ImageUrnCo mmand")
  332           pu blic abstr act ImageM etadata he adInstance ByImageUrn Verbose(
  333                    Imag eURN image Urn, 
  334                    Imag eFormatQua lityList i mageFormat QualityLis t,
  335                    Outp utStream o utStream,
  336                    bool ean forceD atasourceA ccess,
  337                    bool ean forceS izeCalcula tion,
  338                    bool ean allowC aching)
  339           th rows Metho dException , Connecti onExceptio n;
  340           
  341           /* *
  342            *  Given a s ite number , patient  ID and fil ter, find  all of the  shallow s tudies for  that pati ent.
  343            *  Shallow s tudies do  not contai n images o r the radi ology repo rt.
  344            *  
  345            *  @param si teNumber
  346            *  @param pa tientId
  347            *  @param fi lter
  348            *  @return
  349            *  @throws M ethodExcep tion
  350            *  @throws C onnectionE xception
  351            * /
  352           @F acadeRoute rMethod(as ynchronous =false, co mmandClass Name="GetS hallowStud yListBySit eNumberCom mand")
  353           pu blic abstr act List<S tudy> getP atientShal lowStudyLi st(
  354                    Rout ingToken r outingToke n, 
  355                    Pati entIdentif ier patien tIdentifie r, 
  356                    Stud yFilter fi lter)
  357           th rows Metho dException , Connecti onExceptio n;
  358           
  359           /* *
  360            *  Given a s ite number , patient  ID and fil ter, find  all of the  shallow s tudies for  that pati ent.
  361            *  Shallow s tudies do  not contai n images o r the radi ology repo rt.
  362            *  
  363            *  @param si teNumber
  364            *  @param pa tientId
  365            *  @param fi lter
  366            *  @return
  367            *  @throws M ethodExcep tion
  368            *  @throws C onnectionE xception
  369            * /
  370           @F acadeRoute rMethod(as ynchronous =false, co mmandClass Name="GetS hallowStud ySetResult BySiteNumb erCommand" )
  371           pu blic abstr act StudyS etResult g etPatientS hallowStud ySetResult (
  372                    Rout ingToken r outingToke n, 
  373                    Pati entIdentif ier patien tIdentifie r, 
  374                    Stud yFilter fi lter)
  375           th rows Metho dException , Connecti onExceptio n;
  376           
  377           /* *
  378            *  Given a s ite number , patient  ID and fil ter, find  all of the  shallow s tudies wit h reports
  379            *  for that  patient. S hallow stu dies do no t contain  images but  these inc lude repor ts for eac
  380            *  study.
  381            *  
  382            *  @param si teNumber
  383            *  @param pa tientId
  384            *  @param fi lter
  385            *  @return
  386            *  @throws M ethodExcep tion
  387            *  @throws C onnectionE xception
  388            * /
  389           @F acadeRoute rMethod(as ynchronous =false, co mmandClass Name="GetS hallowStud yListWithR eportBySit eNumberCom mand")
  390           pu blic abstr act List<S tudy> getP atientShal lowStudyWi thReportLi st(
  391                    Rout ingToken r outingToke n, 
  392                    Pati entIdentif ier patien tIdentifie r, 
  393                    Stud yFilter fi lter)
  394           th rows Metho dException , Connecti onExceptio n;
  395           
  396           /* *
  397            *  Given a s ite number , patient  ID and fil ter, find  all of the  shallow s tudies wit h reports
  398            *  for that  patient. S hallow stu dies do no t contain  images but  these inc lude repor ts for eac
  399            *  study.
  400            *  
  401            *  @param si teNumber
  402            *  @param pa tientId
  403            *  @param fi lter
  404            *  @return
  405            *  @throws M ethodExcep tion
  406            *  @throws C onnectionE xception
  407            * /
  408           @F acadeRoute rMethod(as ynchronous =false, co mmandClass Name="GetS hallowStud ySetWithRe portBySite NumberComm and")
  409           pu blic abstr act StudyS etResult g etPatientS hallowStud ySetWithRe port(
  410                    Rout ingToken r outingToke n, 
  411                    Pati entIdentif ier patien tIdentifie r, 
  412                    Stud yFilter fi lter)
  413           th rows Metho dException , Connecti onExceptio n;
  414  
  415           /* *
  416            *  
  417            *  @param do cumentFilt er
  418            *  @return
  419            *  @throws M ethodExcep tion
  420            *  @throws C onnectionE xception
  421            * /
  422           @F acadeRoute rMethod(as ynchronous =false, co mmandClass Name="GetD ocumentSet ListComman d")
  423           pu blic abstr act List<D ocumentSet > getDocum entSetList (RoutingTo ken routin gToken, Do cumentFilt er documen tFilter)
  424           th rows Metho dException , Connecti onExceptio n;
  425           
  426           @F acadeRoute rMethod(as ynchronous =false, co mmandClass Name="GetD ocumentSet ResultForP atientComm and")
  427           pu blic abstr act Docume ntSetResul t getDocum entSetResu lt(Routing Token rout ingToken,  DocumentFi lter docum entFilter)
  428           th rows Metho dException , Connecti onExceptio n;
  429           
  430           @F acadeRoute rMethod(as ynchronous =false, co mmandClass Name="GetD ocumentSet ResultBySi teNumberCo mmand")
  431           pu blic abstr act Docume ntSetResul t getDocum entSetResu ltFromSite (RoutingTo ken routin gToken, Do cumentFilt er filter)
  432           th rows Metho dException , Connecti onExceptio n;
  433  
  434           /* *
  435            *  @param si teNumber
  436            *  @param do cumentFilt er
  437            *  @return
  438            *  @throws M ethodExcep tion
  439            *  @throws C onnectionE xception
  440            * /
  441           @F acadeRoute rMethod(as ynchronous =false, co mmandClass Name="GetD ocumentSet ListBySite NumberComm and")
  442           pu blic abstr act List<D ocumentSet > getDocum entSetList BySiteNumb er(Routing Token rout ingToken,  DocumentFi lter docum entFilter)
  443           th rows Metho dException , Connecti onExceptio n;
  444           
  445           /* *
  446            *  
  447            *  @param ho meCommunit yId
  448            *  @param si teNumber
  449            *  @param do cumentUrn
  450            *  @return
  451            *  @throws M ethodExcep tion
  452            *  @throws C onnectionE xception
  453            * /
  454           // @FacadeRou terMethod( )
  455           // public abs tract Docu mentRetrie veResult g etDocument (DocumentU RN documen tUrn)
  456           // throws Met hodExcepti on, Connec tionExcept ion;
  457  
  458           @F acadeRoute rMethod()
  459           pu blic abstr act Docume ntRetrieve Result get Document(G lobalArtif actIdentif ier docume ntIdentifi er)
  460           th rows Metho dException , Connecti onExceptio n;
  461           
  462           @F acadeRoute rMethod()
  463           pu blic abstr act Docume ntRetrieve Result get Document(G lobalArtif actIdentif ier docume ntIdentifi er,
  464                             ImageM etadataNot ification  imageMetad ataNotific ation)
  465           th rows Metho dException , Connecti onExceptio n;
  466  
  467           @F acadeRoute rMethod(as ynchronous =false, co mmandClass Name="GetE xamTextFil eByImageUr nCommand")
  468           pu blic abstr act Intege r getExamT extFileByI mageUrn(
  469                    Imag eURN image Urn, 
  470                    Imag eMetadataN otificatio n metadata Callback,
  471                    Outp utStream o utStream)
  472           th rows Metho dException , Connecti onExceptio n;
  473           
  474           @F acadeRoute rMethod(as ynchronous =false, is ChildComma nd=true, c ommandClas sName="Get ExamTextFi leByImageU rnCommand" )
  475           pu blic abstr act Intege r getExamT extFileByI mageUrnAsC hild(
  476                    Imag eURN image Urn, 
  477                    Imag eMetadataN otificatio n metadata Callback,
  478                    Outp utStream o utStream)
  479           th rows Metho dException , Connecti onExceptio n;
  480           
  481           @F acadeRoute rMethod(as ynchronous =false, co mmandClass Name="GetS tudyListWi thImagesCo mmand")
  482           pu blic abstr act List<S tudy> getP atientStud yWithImage sList(
  483                    Rout ingToken r outingToke n, 
  484                    Pati entIdentif ier patien tIdentifie r, 
  485                    Stud yFilter fi lter)
  486           th rows Metho dException , Connecti onExceptio n;
  487           
  488           @F acadeRoute rMethod(as ynchronous =false, co mmandClass Name="GetS tudySetRes ultWithIma gesBySiteN umberComma nd")
  489           pu blic abstr act StudyS etResult g etPatientS tudySetRes ultWithIma ges(
  490                    Rout ingToken r outingToke n, 
  491                    Pati entIdentif ier patien tIdentifie r, 
  492                    Stud yFilter fi lter)
  493           th rows Metho dException , Connecti onExceptio n;
  494           
  495           @F acadeRoute rMethod(as ynchronous =false, co mmandClass Name="Post Passthroug hMethodCom mand")
  496           pu blic abstr act String  postPasst hroughMeth od(
  497                    Rout ingToken r outingToke nr, 
  498                    Pass throughInp utMethod i nputMethod )
  499           th rows Metho dException , Connecti onExceptio n;
  500           
  501           @F acadeRoute rMethod(as ynchronous =false, co mmandClass Name="GetE xamInstanc eByImageUr nNotCached Command")
  502           pu blic abstr act Long g etExamInst anceByImag eUrnNotFro mCache(
  503                             ImageU RN imageUr n, 
  504                             ImageM etadataNot ification  metadataCa llback,
  505                             Output Stream out Stream,
  506                             ImageF ormatQuali tyList req uestedForm atQuality)
  507           th rows Metho dException , Connecti onExceptio n;
  508           
  509           /* *
  510            *  Given an  ImageURN ( a globally  unique id entifier o f an image ) return t he
  511            *  number of  bytes wri tten to th e output s tream only  if the im age is in  the
  512            *  cache.  I f the imag e is not i n the cach e, an exce ption will  be thrown .
  513            *  The metad ata callba ck is call ed before  writing to  the strea m
  514            *  
  515            *  @param im ageUrn
  516            *  @param re questedFor matQuality
  517            *  @param ou tStream
  518            *  @param me tadataCall back
  519            *  @return
  520            *  @throws I OException
  521            *  @throws M ethodExcep tion
  522            * /
  523           @F acadeRoute rMethod(as ynchronous =false, co mmandClass Name="GetE xamInstanc eFromCache ByImageUrn Command")
  524           pu blic abstr act Long g etExamInst anceFromCa cheByImage Urn(
  525                             ImageU RN imageUr n, 
  526                             ImageM etadataNot ification  metadataCa llback,
  527                             Output Stream out Stream,
  528                             ImageF ormatQuali tyList req uestedForm atQuality)
  529           th rows Metho dException , Connecti onExceptio n;
  530           
  531           /* *
  532            *  Get studi es with im ages for t he patient  from all  sites
  533            *  @param pa tientId
  534            *  @param st udyFilter
  535            *  @return
  536            *  @throws M ethodExcep tion
  537            *  @throws C onnectionE xception
  538            * /
  539           @F acadeRoute rMethod(as ynchronous =false, co mmandClass Name="GetS tudySetRes ultWithIma gesForPati entCommand ")
  540           pu blic abstr act StudyS etResult g etStudySet ResultWith ImagesForP atient(Pat ientIdenti fier patie ntIdentifi er, StudyF ilter stud yFilter)
  541           th rows Metho dException , Connecti onExceptio n;
  542           
  543           /* *
  544            *  Get fully  loaded st udies for  the patien t from all  sites
  545            *  @param pa tientId
  546            *  @param st udyFilter
  547            *  @return
  548            *  @throws M ethodExcep tion
  549            *  @throws C onnectionE xception
  550            * /
  551           @F acadeRoute rMethod(as ynchronous =false, co mmandClass Name="GetS tudySetRes ultForPati entCommand ")
  552           pu blic abstr act StudyS etResult g etStudySet ResultForP atient(Pat ientIdenti fier patie ntIdentifi er, StudyF ilter stud yFilter)
  553           th rows Metho dException , Connecti onExceptio n;
  554           
  555           /* *
  556            *  Get studi es with re ports for  the patien t from all  sites
  557            *  @param pa tientId
  558            *  @param st udyFilter
  559            *  @return
  560            *  @throws M ethodExcep tion
  561            *  @throws C onnectionE xception
  562            * /
  563           @F acadeRoute rMethod(as ynchronous =false, co mmandClass Name="GetS tudySetRes ultWithRep ortForPati entCommand ")
  564           pu blic abstr act StudyS etResult g etStudySet ResultWith ReportsFor Patient(Pa tientIdent ifier pati entIdentif ier, Study Filter stu dyFilter)
  565           th rows Metho dException , Connecti onExceptio n;
  566           
  567           /* *
  568            *  Get studi es with no  images or  reports f or patient  from all  sites
  569            *  @param pa tientId
  570            *  @param st udyFilter
  571            *  @return
  572            *  @throws M ethodExcep tion
  573            *  @throws C onnectionE xception
  574            * /
  575           @F acadeRoute rMethod(as ynchronous =false, co mmandClass Name="GetS hallowStud ySetResult ForPatient Command")
  576           pu blic abstr act StudyS etResult g etShallowS tudySetRes ultForPati ent(Patien tIdentifie r patientI dentifier,  StudyFilt er studyFi lter)
  577           th rows Metho dException , Connecti onExceptio n;
  578           
  579           /* *
  580            *  Get the a rtifact re sults (stu dy level o nly) for a  patient f rom a spec ific site
  581            *  @param ro utingToken
  582            *  @param pa tientId
  583            *  @param fi lter
  584            *  @param in cludeRadio logy
  585            *  @param in cludeDocum ents
  586            *  @return
  587            *  @throws M ethodExcep tion
  588            *  @throws C onnectionE xception
  589            * /
  590           @F acadeRoute rMethod(as ynchronous =false, co mmandClass Name="GetS tudyOnlyAr tifactResu ltsBySiteN umberComma nd")
  591           pu blic abstr act Artifa ctResults  getShallow ArtifactRe sultsForPa tientFromS ite(Routin gToken rou tingToken,
  592                    Pati entIdentif ier patien tIdentifie r, 
  593                    Stud yFilter fi lter, 
  594                    bool ean includ eRadiology
  595                    bool ean includ eDocuments )
  596           th rows Metho dException , Connecti onExceptio n;
  597           
  598           /* *
  599            *  Get the a rtifact re sults (stu dy and rep ort) for a  patient f rom a spec ific site
  600            *  @param ro utingToken
  601            *  @param pa tientId
  602            *  @param fi lter
  603            *  @param in cludeRadio logy
  604            *  @param in cludeDocum ents
  605            *  @return
  606            *  @throws M ethodExcep tion
  607            *  @throws C onnectionE xception
  608            * /
  609           @F acadeRoute rMethod(as ynchronous =false, co mmandClass Name="GetS tudyWithRe portArtifa ctResultsB ySiteNumbe rCommand")
  610           pu blic abstr act Artifa ctResults  getStudyWi thReportAr tifactResu ltsForPati entFromSit e(RoutingT oken routi ngToken,
  611                    Pati entIdentif ier patien tIdentifie r, 
  612                    Stud yFilter fi lter, 
  613                    bool ean includ eRadiology
  614                    bool ean includ eDocuments )
  615           th rows Metho dException , Connecti onExceptio n;
  616           
  617           @F acadeRoute rMethod(as ynchronous =false, co mmandClass Name="GetD ocumentStr eamCommand ")
  618           pu blic abstr act Long g etDocument Streamed(G lobalArtif actIdentif ier docume ntIdentifi er, Output Stream out Stream,
  619                             ImageM etadataNot ification  imageMetad ataNotific ation)
  620           th rows Metho dException , Connecti onExceptio n;
  621  
  622   }