49429. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 5/28/2019 3:28:33 PM Eastern 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.

49429.1 Files compared

# Location File Last Modified
1 CV_src.zip\CVjMeadows-CCP\src\gov\va\med\jmeadows\dataservicehandler BHIERelayServiceHandler.java Tue Apr 30 19:08:03 2019 UTC
2 CV_src.zip\CVjMeadows-CCP\src\gov\va\med\jmeadows\dataservicehandler BHIERelayServiceHandler.java Sat May 25 18:36:59 2019 UTC

49429.2 Comparison summary

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

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

49429.4 Active regular expressions

No regular expressions were active.

49429.5 Comparison detail

  1   /**
  2    * Janus 4 .0 (c)
  3    * Copyrig ht (c) 201 1 Hawaii R esource Gr oup LLC. A ll Rights  Reserved.
  4    * Develop ed for the  Pacific T elehealth  & Technolo gy Hui and  the Pacif ic Joint I nformation  Technolog y Center
  5    * Contrib utors:
  6    *     Hon orable Sen ator Danie l K. Inouy e
  7    *     VA  Pacific Is lands Heal th Care Sy stem
  8    *     Tri pler Army  Medical Ce nter
  9    */
  10    
  11    
  12   package go v.va.med.j meadows.da taserviceh andler;
  13  
  14   import gov .va.med.bh ie.BHIERel ay;
  15   import gov .va.med.bh ie.BHIERel ayService;
  16   import gov .va.med.bh ie.Dischar geNoteResu ltCollecti on;
  17   import gov .va.med.bh ie.History ResultColl ection;
  18   import gov .va.med.bh ie.NoteIma ge;
  19   import gov .va.med.bh ie.NoteRes ultCollect ion;
  20   import gov .va.med.bh ie.QueryBe an;
  21   import gov .va.med.bh ie.SnareUs er;
  22   import gov .va.med.bh ie.V4Resul tCollectio n;
  23   import gov .va.med.bh ie.VitalsR esultColle ction;
  24   import gov .va.med.jm eadows.com mon.JMeado wsExceptio n;
  25  
  26   import jav a.net.Malf ormedURLEx ception;
  27  
  28   import jav ax.xml.nam espace.QNa me;
  29   import jav ax.xml.ws. BindingPro vider;
  30   import jav ax.xml.ws. soap.MTOMF eature;
  31  
  32   /**
  33    * BHIESer viceHandle r
  34    */
  35   public cla ss BHIERel ayServiceH andler ext ends DataS erviceHand ler {
  36       privat e BHIERela yService b hieRelaySe rvice;
  37  
  38       public  BHIERelay ServiceHan dler(Strin g url) {
  39           su per();
  40  
  41           se rviceURL =  url;
  42           se rviceName  = "BHIERel ayService" ;
  43             serviceNam espace = " http:// DNS . URL         /";
  44           qS erviceName  = new QNa me(service Namespace,  serviceNa me);
  45  
  46           se rviceUsern ame = APP_ CONFIG.get BHIERelayS erviceUser name();
  47           se rvicePassw ord = APP_ CONFIG.get BHIERelayS ervicePass word();
  48  
  49  
  50       }
  51  
  52       privat e BHIERela y getBHIER elayPort()  throws Ma lformedURL Exception  {
  53           re turn getBH IERelayPor t(false);
  54       }
  55  
  56       privat e BHIERela y getBHIER elayPort(b oolean inc ludeMTOMFe ature) thr ows Malfor medURLExce ption
  57       {
  58           if  (bhieRela yService = = null) {
  59                createSe rvice();
  60           }
  61  
  62           BH IERelay po rt = null;
  63  
  64           if  (includeM TOMFeature ) {
  65                port = b hieRelaySe rvice.getB HIERelayPo rt(new MTO MFeature() );
  66           }  else {
  67                port = b hieRelaySe rvice.getB HIERelayPo rt();
  68           }
  69  
  70           // set port e ndpoint ad dress
  71           Bi ndingProvi der prov =  (BindingP rovider) p ort;
  72           pr ov.getRequ estContext ().put(Bin dingProvid er.ENDPOIN T_ADDRESS_ PROPERTY,  serviceURL );
  73           pr ov.getRequ estContext ().put(Bin dingProvid er.USERNAM E_PROPERTY , serviceU sername);
  74           pr ov.getRequ estContext ().put(Bin dingProvid er.PASSWOR D_PROPERTY , serviceP assword);
  75           pr ov.getRequ estContext ().put("co m.sun.xml. internal.w s.connect. timeout",  serviceCon nectionTim eoutMS);
  76           pr ov.getRequ estContext ().put("co m.sun.xml. internal.w s.request. timeout",  serviceReq uestTimeou tMS);
  77           pr ov.getRequ estContext ().put("co m.sun.xml. ws.connect .timeout",  serviceCo nnectionTi meoutMS);
  78           pr ov.getRequ estContext ().put("co m.sun.xml. ws.request .timeout",  serviceRe questTimeo utMS);
  79  
  80           re turn port;
  81       }
  82  
  83       privat e synchron ized void  createServ ice() {
  84           if  (bhieRela yService = = null) {
  85                try {
  86                    bhie RelayServi ce = new B HIERelaySe rvice();
  87                } catch  (Exception  e) {
  88                    thro w new Runt imeExcepti on(e);
  89                }
  90           }
  91       }
  92  
  93       public  V4ResultC ollection  getPatient Admissions (QueryBean  queryBean ) throws J MeadowsExc eption {
  94           tr y {
  95                return g etBHIERela yPort().ge tPatientAd missions(q ueryBean);
  96           }  catch (Exc eption e)  {
  97                throw ne w JMeadows Exception( e);
  98           }
  99       }
  100  
  101       public  V4ResultC ollection  getPatient Allergies( QueryBean  queryBean)  throws JM eadowsExce ption {
  102           tr y {
  103                return g etBHIERela yPort().ge tPatientAl lergies(qu eryBean);
  104           }  catch (Exc eption e)  {
  105                throw ne w JMeadows Exception( e);
  106           }
  107       }
  108  
  109       public  V4ResultC ollection  getPatient Immunizati ons(QueryB ean queryB ean) throw s JMeadows Exception  {
  110           tr y {
  111                return g etBHIERela yPort().ge tPatientIm munization s(queryBea n);
  112           }  catch (Exc eption e)  {
  113                throw ne w JMeadows Exception( e);
  114           }
  115       }
  116  
  117       public  V4ResultC ollection  getPatient ProblemLis t(QueryBea n queryBea n) throws  JMeadowsEx ception {
  118           tr y {
  119                return g etBHIERela yPort().ge tPatientPr oblemList( queryBean) ;
  120           }  catch (Exc eption e)  {
  121                throw ne w JMeadows Exception( e);
  122           }
  123       }
  124  
  125       public  V4ResultC ollection  getPatient RadiologyR eports(Que ryBean que ryBean) th rows JMead owsExcepti on {
  126           tr y {
  127                return g etBHIERela yPort().ge tPatientRa diologyRep orts(query Bean);
  128           }  catch (Exc eption e)  {
  129                throw ne w JMeadows Exception( e);
  130           }
  131       }
  132  
  133       public  VitalsRes ultCollect ion getPat ientVitals (QueryBean  queryBean ) throws J MeadowsExc eption {
  134           tr y {
  135                return g etBHIERela yPort().ge tPatientVi tals(query Bean);
  136           }  catch (Exc eption e)  {
  137                throw ne w JMeadows Exception( e);
  138           }
  139       }
  140  
  141       public  V4ResultC ollection  getPatient Appointmen ts(QueryBe an queryBe an) throws  JMeadowsE xception {
  142           tr y {
  143                return g etBHIERela yPort().ge tPatientAp pointments (queryBean );
  144           }  catch (Exc eption e)  {
  145                throw ne w JMeadows Exception( e);
  146           }
  147       }
  148  
  149       public  V4ResultC ollection  getPatient Encounters (QueryBean  queryBean ) throws J MeadowsExc eption {
  150           tr y {
  151                return g etBHIERela yPort().ge tPatientEn counters(q ueryBean);
  152           }  catch (Exc eption e)  {
  153                throw ne w JMeadows Exception( e);
  154           }
  155       }
  156  
  157       public  V4ResultC ollection  getEncount erNotes(Qu eryBean qu eryBean) t hrows JMea dowsExcept ion {
  158           tr y {
  159                return g etBHIERela yPort().ge tEncounter Notes(quer yBean);
  160           }  catch (Exc eption e)  {
  161                throw ne w JMeadows Exception( e);
  162           }
  163       }
  164  
  165       public  V4ResultC ollection  getPatient Notes(Quer yBean quer yBean) thr ows JMeado wsExceptio n {
  166           tr y {
  167                return g etBHIERela yPort().ge tPatientNo tes(queryB ean);
  168           }  catch (Exc eption e)  {
  169                throw ne w JMeadows Exception( e);
  170           }
  171       }
  172  
  173       public  NoteImage  getNoteIm age(String  url) thro ws JMeadow sException  {
  174           tr y {
  175                return g etBHIERela yPort(true ).getNoteI mageFromUr l(url);
  176           }  catch (Exc eption e)  {
  177                throw ne w JMeadows Exception( e);
  178           }
  179       }
  180  
  181       public  Discharge NoteResult Collection  getPatien tDischarge Summaries( QueryBean  queryBean)  throws JM eadowsExce ption {
  182           tr y {
  183                return g etBHIERela yPort().ge tPatientDi schargeSum maries(que ryBean);
  184           }  catch (Exc eption e)  {
  185                throw ne w JMeadows Exception( e);
  186           }
  187       }
  188  
  189       public  NoteResul tCollectio n getInpat ientNotes( QueryBean  queryBean)  throws JM eadowsExce ption {
  190           tr y {
  191                return g etBHIERela yPort().ge tInpatient Notes(quer yBean);
  192           }  catch (Exc eption e)  {
  193                throw ne w JMeadows Exception( e);
  194           }
  195       }
  196  
  197       public  V4ResultC ollection  getPatient Consults(Q ueryBean q ueryBean)  throws JMe adowsExcep tion {
  198           tr y {
  199                return g etBHIERela yPort().ge tPatientCo nsults(que ryBean);
  200           }  catch (Exc eption e)  {
  201                throw ne w JMeadows Exception( e);
  202           }
  203       }
  204  
  205       public  V4ResultC ollection  getPatient Medication s(QueryBea n queryBea n) throws  JMeadowsEx ception {
  206           tr y {
  207                return g etBHIERela yPort().ge tPatientMe dications( queryBean) ;
  208           }  catch (Exc eption e)  {
  209                throw ne w JMeadows Exception( e);
  210           }
  211       }
  212  
  213       public  V4ResultC ollection  getPatient LabChemist ries(Query Bean query Bean) thro ws JMeadow sException  {
  214           tr y {
  215                return g etBHIERela yPort().ge tPatientLa bChemistri es(queryBe an);
  216           }  catch (Exc eption e)  {
  217                throw ne w JMeadows Exception( e);
  218           }
  219       }
  220  
  221       public  V4ResultC ollection  getPatient LabMicrobi ologies(Qu eryBean qu eryBean) t hrows JMea dowsExcept ion {
  222           tr y {
  223                return g etBHIERela yPort().ge tPatientLa bMicrobiol ogies(quer yBean);
  224           }  catch (Exc eption e)  {
  225                throw ne w JMeadows Exception( e);
  226           }
  227       }
  228  
  229       public  V4ResultC ollection  getPatient LabAnatomi cPathologi es(QueryBe an queryBe an) throws  JMeadowsE xception {
  230           tr y {
  231                return g etBHIERela yPort().ge tPatientLa bAnatomicP athologies (queryBean );
  232           }  catch (Exc eption e)  {
  233                throw ne w JMeadows Exception( e);
  234           }
  235       }
  236  
  237       public  V4ResultC ollection  getPatient Demographi cs(QueryBe an queryBe an) throws  JMeadowsE xception {
  238           tr y {
  239                return g etBHIERela yPort().ge tPatientDe mographics (queryBean );
  240           }  catch (Exc eption e)  {
  241                throw ne w JMeadows Exception( e);
  242           }
  243       }
  244  
  245       public  HistoryRe sultCollec tion getPa tientSocia lHistory(Q ueryBean q ueryBean)  throws JMe adowsExcep tion {
  246           tr y {
  247                return g etBHIERela yPort().ge tPatientSo cialHistor y(queryBea n);
  248           }  catch (Exc eption e)  {
  249                throw ne w JMeadows Exception( e);
  250           }
  251       }
  252  
  253       public  HistoryRe sultCollec tion getPa tientOther History(Qu eryBean qu eryBean) t hrows JMea dowsExcept ion {
  254           tr y {
  255                return g etBHIERela yPort().ge tPatientOt herHistory (queryBean );
  256           }  catch (Exc eption e)  {
  257                throw ne w JMeadows Exception( e);
  258           }
  259       }
  260  
  261       public  HistoryRe sultCollec tion getPa tientFamil yHistory(Q ueryBean q ueryBean)  throws JMe adowsExcep tion {
  262           tr y {
  263                return g etBHIERela yPort().ge tPatientFa milyHistor y(queryBea n);
  264           }  catch (Exc eption e)  {
  265                throw ne w JMeadows Exception( e);
  266           }
  267       }
  268  
  269       public  V4ResultC ollection  getPatient Orders(Que ryBean que ryBean) th rows JMead owsExcepti on {
  270           tr y {
  271                return g etBHIERela yPort().ge tPatientOr ders(query Bean);
  272           }  catch (Exc eption e)  {
  273                throw ne w JMeadows Exception( e);
  274           }
  275       }
  276  
  277       public  V4ResultC ollection  getPatient ConsultOrd ers(QueryB ean queryB ean) throw s JMeadows Exception  {
  278           tr y {
  279                return g etBHIERela yPort().ge tPatientCo nsultOrder s(queryBea n);
  280           }  catch (Exc eption e)  {
  281                throw ne w JMeadows Exception( e);
  282           }
  283       }
  284  
  285       public  V4ResultC ollection  getPatient LabOrders( QueryBean  queryBean)  throws JM eadowsExce ption {
  286           tr y {
  287                return g etBHIERela yPort().ge tPatientLa bOrders(qu eryBean);
  288           }  catch (Exc eption e)  {
  289                throw ne w JMeadows Exception( e);
  290           }
  291       }
  292  
  293       public  V4ResultC ollection  getPatient Medication Orders(Que ryBean que ryBean) th rows JMead owsExcepti on {
  294           tr y {
  295                return g etBHIERela yPort().ge tPatientMe dicationOr ders(query Bean);
  296           }  catch (Exc eption e)  {
  297                throw ne w JMeadows Exception( e);
  298           }
  299       }
  300  
  301       public  V4ResultC ollection  getPatient RadiologyO rders(Quer yBean quer yBean) thr ows JMeado wsExceptio n {
  302           tr y {
  303                return g etBHIERela yPort().ge tPatientRa diologyOrd ers(queryB ean);
  304           }  catch (Exc eption e)  {
  305                throw ne w JMeadows Exception( e);
  306           }
  307       }
  308  
  309       public  V4ResultC ollection  getPatient Insurances (QueryBean  queryBean ) throws J MeadowsExc eption
  310       {
  311           tr y {
  312                return g etBHIERela yPort().ge tPatientIn surances(q ueryBean);
  313           }  catch (Exc eption e)  {
  314                throw ne w JMeadows Exception( e);
  315           }
  316       }
  317  
  318       public  V4ResultC ollection  getPatient Questionna ires(Query Bean query Bean) thro ws JMeadow sException  {
  319           tr y {
  320                return g etBHIERela yPort().ge tPatientQu estionnair es(queryBe an);
  321           }  catch (Exc eption e)  {
  322                throw ne w JMeadows Exception( e);
  323           }
  324       }
  325  
  326       public  V4ResultC ollection  getDeploym entForms(Q ueryBean q ueryBean)  throws JMe adowsExcep tion {
  327           tr y {
  328                return g etBHIERela yPort().ge tDeploymen tForms(que ryBean);
  329           }  catch (Exc eption e)  {
  330                throw ne w JMeadows Exception( e);
  331           }
  332       }
  333  
  334       public  V4ResultC ollection  getOutpati entProcedu res(QueryB ean queryB ean) throw s JMeadows Exception  {
  335           tr y {
  336                return g etBHIERela yPort().ge tOutpatien tProcedure s(queryBea n);
  337           }  catch (Exc eption e)  {
  338                throw ne w JMeadows Exception( e);
  339           }
  340       }
  341  
  342       public  V4ResultC ollection  getVLERPat ientAllerg ies(QueryB ean queryB ean) throw s JMeadows Exception  {
  343           tr y {
  344                return g etBHIERela yPort().ge tVLERPatie ntAllergie s(queryBea n);
  345           }  catch (Exc eption e)  {
  346                throw ne w JMeadows Exception( e);
  347           }
  348       }
  349  
  350       public  V4ResultC ollection  getVLERPat ientImmuni zations(Qu eryBean qu eryBean) t hrows JMea dowsExcept ion {
  351           tr y {
  352                return g etBHIERela yPort().ge tVLERPatie ntImmuniza tions(quer yBean);
  353           }  catch (Exc eption e)  {
  354                throw ne w JMeadows Exception( e);
  355           }
  356       }
  357  
  358       public  V4ResultC ollection  getVLERPat ientProble ms(QueryBe an queryBe an) throws  JMeadowsE xception {
  359           tr y {
  360                return g etBHIERela yPort().ge tVLERPatie ntProblemL ist(queryB ean);
  361           }  catch (Exc eption e)  {
  362                throw ne w JMeadows Exception( e);
  363           }
  364       }
  365  
  366       public  V4ResultC ollection  getVLERPat ientProced ures(Query Bean query Bean) thro ws JMeadow sException  {
  367           tr y {
  368                return g etBHIERela yPort().ge tVLERPatie ntProcedur es(queryBe an);
  369           }  catch (Exc eption e)  {
  370                throw ne w JMeadows Exception( e);
  371           }
  372       }
  373  
  374       public  V4ResultC ollection  getVLERPat ientInsura nces(Query Bean query Bean) thro ws JMeadow sException  {
  375           tr y {
  376                return g etBHIERela yPort().ge tVLERPatie ntInsuranc es(queryBe an);
  377           }  catch (Exc eption e)  {
  378                throw ne w JMeadows Exception( e);
  379           }
  380       }
  381  
  382       public  V4ResultC ollection  getVLERPat ientVitals (QueryBean  queryBean ) throws J MeadowsExc eption {
  383           tr y {
  384                return g etBHIERela yPort().ge tVLERPatie ntVitals(q ueryBean);
  385           }  catch (Exc eption e)  {
  386                throw ne w JMeadows Exception( e);
  387           }
  388       }
  389  
  390       public  V4ResultC ollection  getVLERPat ientDemogr aphics(Que ryBean que ryBean) th rows JMead owsExcepti on {
  391           tr y {
  392                return g etBHIERela yPort().ge tVLERPatie ntDemograp hics(query Bean);
  393           }  catch (Exc eption e)  {
  394                throw ne w JMeadows Exception( e);
  395           }
  396       }
  397  
  398       public  V4ResultC ollection  getVLERPat ientCCDA(Q ueryBean q ueryBean)  throws JMe adowsExcep tion {
  399           tr y {
  400                return g etBHIERela yPort().ge tVLERPatie ntCCDA(que ryBean);
  401           }  catch (Exc eption e)  {
  402                throw ne w JMeadows Exception( e);
  403           }
  404       }
  405  
  406       public  SnareUser  getSnarew orksUser(S tring cert ificate, S tring user , String c redential)  throws JM eadowsExce ption {
  407           tr y {
  408                return g etBHIERela yPort().ge tSnarework sUser(cert ificate, u ser, crede ntial);
  409           }  catch (Exc eption e)  {
  410                throw ne w JMeadows Exception( e);
  411           }
  412       }
  413   }