11. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 8/31/2017 11:16:52 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.

11.1 Files compared

# Location File Last Modified
1 JLV_2.6.zip\JLV_2.6\JLV_2.6\Joint Legacy Viewer\JLV\src\java\gov\va\med\jmeadows JMeadowsServiceHandlerImpl.java Thu Aug 31 12:14:54 2017 UTC
2 JLV_2.6.zip\JLV_2.6\JLV_2.6\Joint Legacy Viewer\JLV\src\java\gov\va\med\jmeadows JMeadowsServiceHandlerImpl.java Thu Aug 31 13:21:02 2017 UTC

11.2 Comparison summary

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

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

11.4 Active regular expressions

No regular expressions were active.

11.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    *              Honor able Senat or Daniel  K. Inouye
  7    *              VA Pa cific Isla nds Health  Care Syst em
  8    *              Tripl er Army Me dical Cent er
  9    *
  10    * License d under th e Apache L icense, Ve rsion 2.0  (the "Lice nse"); you  may not u se this fi le except  in complia nce with t he License .
  11    *
  12    * You may  obtain a  copy of th e License  at:
  13    *
  14    *             http:/ /www.apach e.org/lice nses/LICEN SE-2.0.txt
  15    *
  16    * Unless  required b y applicab le law or  agreed to  in writing , software
  17    * distrib uted under  the Licen se is dist ributed on  an "AS IS " BASIS,
  18    * WITHOUT  WARRANTIE S OR CONDI TIONS OF A NY KIND, e ither expr ess or imp lied.
  19    * See the  License f or the spe cific lang uage gover ning permi ssions and  limitatio ns under t he License .
  20    */
  21  
  22  
  23   package go v.va.med.j meadows;
  24  
  25   import gov .va.med.co mmon.AppCo nfig;
  26   import gov .va.med.jm eadows.web service.*;
  27   import gov .va.med.vh ahon.commo n.Utils;
  28   import org .apache.lo g4j.Logger ;
  29   import org .springfra mework.bea ns.factory .annotatio n.Autowire d;
  30   import org .springfra mework.ste reotype.Co mponent;
  31  
  32   import jav ax.xml.nam espace.QNa me;
  33   import jav ax.xml.soa p.SOAPExce ption;
  34   import jav ax.xml.ws. BindingPro vider;
  35   import jav ax.xml.ws. soap.MTOMF eature;
  36   import jav a.util.Arr ayList;
  37   import jav a.util.Lis t;
  38  
  39   @Component
  40   public cla ss JMeadow sServiceHa ndlerImpl  implements  JMeadowsS erviceHand ler {
  41  
  42       privat e static f inal Logge r logger =  Logger.ge tLogger(JM eadowsServ iceHandler Impl.class .getName() );
  43       @Autow ired
  44       protec ted AppCon fig appCon fig;
  45       privat e String s erviceURL;
  46       privat e String m _ServiceNa me = "JMea dowsDataSe rvice";
  47         private St ring m_nam espace = " http://web service.jm eadows. URL         /";
  48       privat e QName m_ QserviceNa me = new Q Name(m_nam espace, m_ ServiceNam e);
  49  
  50       privat e String a ppName;
  51  
  52       privat e String u sername;
  53       privat e String p assword;
  54  
  55       privat e int conn ectionTime outMS = 30 000;
  56       privat e int requ estTimeout MS = 30000 ;
  57  
  58       privat e JMeadows DataServic e m_jmeado wsDataServ ice;
  59  
  60       public  JMeadowsS erviceHand lerImpl(St ring url)  {
  61           se rviceURL =  url;
  62       }
  63  
  64       public  JMeadowsS erviceHand lerImpl()  {
  65       }
  66  
  67  
  68       public  int getCo nnectionTi meoutMS()  {
  69           re turn conne ctionTimeo utMS;
  70       }
  71  
  72       public  void setC onnectionT imeoutMS(i nt connect ionTimeout MS) {
  73           th is.connect ionTimeout MS = conne ctionTimeo utMS;
  74       }
  75  
  76       public  int getRe questTimeo utMS() {
  77           re turn reque stTimeoutM S;
  78       }
  79  
  80       public  void setR equestTime outMS(int  requestTim eoutMS) {
  81           th is.request TimeoutMS  = requestT imeoutMS;
  82       }
  83  
  84       public  String ge tServiceUR L() {
  85           re turn servi ceURL;
  86       }
  87  
  88       public  void setS erviceURL( String ser viceURL) {
  89           th is.service URL = serv iceURL;
  90       }
  91  
  92       privat e JMeadows Data getJM eadowsData Port() {
  93           re turn getJM eadowsData Port(false );
  94       }
  95  
  96       public  String ge tUsername( ) {
  97           re turn usern ame;
  98       }
  99  
  100       public  void setU sername(St ring usern ame) {
  101           th is.usernam e = userna me;
  102       }
  103  
  104       public  String ge tPassword( ) {
  105           re turn passw ord;
  106       }
  107  
  108       public  void setP assword(St ring passw ord) {
  109           th is.passwor d = passwo rd;
  110       }
  111  
  112       privat e JMeadows Data getJM eadowsData Port(boole an include MTOMFeatur e) {
  113           if  (m_jmeado wsDataServ ice == nul l) {
  114                createSe rvice();
  115                if (appC onfig.getE nableWSSec urityHeade r()) {
  116                    m_jm eadowsData Service.se tHandlerRe solver(new  HeaderHan dlerResolv er());
  117                }
  118           }
  119  
  120           JM eadowsData  port = nu ll;
  121           if  (includeM TOMFeature ) {
  122                port = m _jmeadowsD ataService .getJMeado wsDataPort (new MTOMF eature());
  123           }  else port  = m_jmeado wsDataServ ice.getJMe adowsDataP ort();
  124  
  125           // set connec tion timeo ut
  126           Bi ndingProvi der bp = ( BindingPro vider) por t;
  127           bp .getReques tContext() .put(Bindi ngProvider .ENDPOINT_ ADDRESS_PR OPERTY, se rviceURL);
  128           bp .getReques tContext() .put("com. sun.xml.in ternal.ws. connect.ti meout", co nnectionTi meoutMS);
  129           bp .getReques tContext() .put("com. sun.xml.in ternal.ws. request.ti meout", re questTimeo utMS);
  130           bp .getReques tContext() .put("com. sun.xml.ws .connect.t imeout", c onnectionT imeoutMS);
  131           bp .getReques tContext() .put("com. sun.xml.ws .request.t imeout", r equestTime outMS);
  132  
  133           re turn port;
  134       }
  135  
  136       privat e synchron ized void  createServ ice() {
  137           if  (m_jmeado wsDataServ ice == nul l) {
  138                try {
  139                    m_jm eadowsData Service =  new JMeado wsDataServ ice();
  140                } catch  (Exception  e) {
  141                    thro w new Runt imeExcepti on(e);
  142                }
  143  
  144           }
  145       }
  146  
  147       privat e void log (String me thodName)  {
  148           lo g(methodNa me, null);
  149       }
  150  
  151       privat e void log (String me thodName,  JMeadowsQu ery queryB ean) {
  152           if  (logger.i sDebugEnab led()) {
  153                logger.d ebug("Invo king metho d: " + met hodName);
  154                if (quer yBean != n ull) {
  155                    logQ ueryBeanPa rams(metho dName, que ryBean);
  156                }
  157           }
  158       }
  159  
  160       privat e void log QueryBeanP arams(Stri ng methodN ame, JMead owsQuery q ueryBean)  {
  161           if  (!logger. isDebugEna bled()) re turn;
  162  
  163           St ring userI d;
  164           Si te hostSit e;
  165           St ring patVA Icn;
  166           St ring patDo DEdipi;
  167           Li st<Site> v istaSites  = new Arra yList<Site >();
  168           St ring itemI d;
  169           St ring recor dSiteCode;
  170           St ring statu s;
  171           In teger acti ve;
  172           St ring start Date;
  173           St ring endDa te;
  174  
  175           St ringBuilde r sb = new  StringBui lder();
  176           sb .append(me thodName);
  177           sb .append("  query bean  params: " );
  178  
  179           if  (queryBea n != null)  {
  180                User use r = queryB ean.getUse r();
  181                Patient  patient =  queryBean. getPatient ();
  182  
  183                if (user  != null)  {
  184                    user Id = user. getUserId( );
  185                    host Site = use r.getHostS ite();
  186  
  187                    sb.a ppend("Use r - userId : ");
  188                    sb.a ppend(user Id);
  189                    sb.a ppend(" ,  hostSite:  ");
  190                    if ( hostSite ! = null) sb .append(ho stSite.get SiteCode() );
  191                } else {
  192                    sb.a ppend("Use r - null") ;
  193                }
  194  
  195                if (pati ent != nul l) {
  196  
  197                    patV AIcn = pat ient.getIC N();
  198                    patD oDEdipi =  patient.ge tEDIPI();
  199  
  200                    sb.a ppend("; P atient - " );
  201                    sb.a ppend(", I CN: ");
  202                    sb.a ppend(patV AIcn);
  203                    sb.a ppend(", E DIPI: ");
  204                    sb.a ppend(patD oDEdipi);
  205  
  206                    sb.a ppend(", v istaSites:  ");
  207  
  208                    if ( vistaSites .size() <  1) sb.appe nd("none") ;
  209  
  210                    for  (Site site  : vistaSi tes) {
  211                         String sit eCode = si te.getSite Code();
  212                         sb.append( siteCode);
  213                         sb.append( ", ");
  214                    }
  215                } else {
  216                    sb.a ppend("; P atient - n ull");
  217                }
  218  
  219                itemId =  queryBean .getItemId ();
  220                active =  queryBean .getActive ();
  221                recordSi teCode = q ueryBean.g etRecordSi teCode();
  222                startDat e = Utils. formatDisp layDate(qu eryBean.ge tStartDate ());
  223                endDate  = Utils.fo rmatDispla yDate(quer yBean.getE ndDate());
  224                status =  queryBean .getStatus ();
  225  
  226                sb.appen d("; start Date: ");
  227                sb.appen d(startDat e);
  228                sb.appen d(", endDa te: ");
  229                sb.appen d(endDate) ;
  230                sb.appen d(", itemI d: ");
  231                sb.appen d(itemId);
  232                sb.appen d(", recor dSiteCode:  ");
  233                sb.appen d(recordSi teCode);
  234                sb.appen d(", statu s: ");
  235                sb.appen d(status);
  236                sb.appen d(", activ e: ");
  237                sb.appen d(active);
  238  
  239           }
  240  
  241           lo gger.debug (sb.toStri ng());
  242       }
  243  
  244       @Overr ide
  245       public  User logi nEnterpris e(String c ardID, Str ing siteCo de, String  accessCod e, String  verifyCode , String i pAddress,  String sub jectDN, St ring email Address) t hrows SOAP Exception  {
  246  
  247           lo g("loginEn terprise") ;
  248  
  249           Us er result  = null;
  250  
  251           tr y {
  252  
  253                JMeadows Data port  = getJMead owsDataPor t();
  254                result =  port.logi nEnterpris e(cardID,  siteCode,  accessCode , verifyCo de, appNam e, ipAddre ss, subjec tDN, email Address);
  255  
  256           }  catch (Exc eption e)  {
  257                logError (e);
  258                throw ne w SOAPExce ption(e);
  259           }
  260  
  261           re turn resul t;
  262       }
  263  
  264       @Overr ide
  265       public  User logi nSaml(Stri ng siteCod e, String  samlToken,  String ip Address, S tring emai lAddress)  throws SOA PException  {
  266  
  267           lo g("loginSa ml");
  268  
  269           Us er result  = null;
  270  
  271           tr y {
  272  
  273                JMeadows Data port  = getJMead owsDataPor t();
  274                result =  port.logi nSaml(site Code, saml Token, app Name, ipAd dress, ema ilAddress) ;
  275  
  276           }  catch (Exc eption e)  {
  277                logError (e);
  278                throw ne w SOAPExce ption(e);
  279           }
  280  
  281           re turn resul t;
  282       }
  283  
  284   //    @Ove rride
  285   //    publ ic User lo ginEnterpr ise(String  cardID, S tring site Code, Stri ng accessC ode, Strin g verifyCo de, String  ipAddress , String s ubjectDN)  throws SOA PException  {
  286   //
  287   //         log("login Enterprise ");
  288   //
  289   //         User resul t = null;
  290   //
  291   //         try {
  292   //
  293   //             JMeado wsData por t = getJMe adowsDataP ort();
  294   //             result  = port.lo ginEnterpr ise(cardID , siteCode , accessCo de, verify Code, appN ame, ipAdd ress, subj ectDN, "") ;
  295   //
  296   //         } catch (E xception e ) {
  297   //             throw  new SOAPEx ception(e) ;
  298   //         }
  299   //
  300   //         return res ult;
  301   //
  302   //         //code to  mock DoD u ser
  303   ////         siteCode  = "200";
  304   ////
  305   ////         User use r = new Us er();
  306   ////         user.set EncryptedF ederatedUi d(EncryptU til.encryp t("1234567 89"));
  307   ////         user.set Name("Mock User,DoD") ;
  308   ////         user.set UserIen("1 234");
  309   ////         user.set ProviderIe n("4321");
  310   ////         user.set Agency("DO D");
  311   ////
  312   ////         JMeadows Data port  = getJMead owsDataPor t();
  313   ////         List<Sit e> sites =  port.getS ites();
  314   ////         java.uti l.Iterator <Site> it  = sites.it erator();
  315   ////         while(it .hasNext() )
  316   ////         {
  317   ////             Site  site = it .next();
  318   ////             if(s iteCode.eq ualsIgnore Case(site. getSiteCod e()))
  319   ////             {
  320   ////                  user.setHo stSite(sit e);
  321   ////                  break;
  322   ////             }
  323   ////         }
  324   ////         return u ser;
  325   //
  326   //    }
  327  
  328       @Overr ide
  329       public  Admission Detail get AdmissionD etails(JMe adowsQuery  queryBean ) throws S OAPExcepti on {
  330  
  331           lo g("getAdmi ssionDetai ls", query Bean);
  332  
  333           Ad missionDet ail return Val = null ;
  334  
  335           tr y {
  336  
  337                JMeadows Data port  = getJMead owsDataPor t();
  338                returnVa l = port.g etAdmissio nDetails(q ueryBean);
  339           }  catch (Exc eption e)  {
  340                logError (e);
  341                throw ne w SOAPExce ption(e);
  342           }
  343  
  344  
  345           re turn retur nVal;
  346       }
  347  
  348       @Overr ide
  349       public  Diagnosis [] getAdmi ssionDiagn osis(JMead owsQuery q ueryBean)  throws SOA PException  {
  350  
  351           lo g("getAdmi ssionDiagn osis", que ryBean);
  352  
  353           Di agnosis[]  returnVal  = null;
  354  
  355           tr y {
  356  
  357                JMeadows Data port  = getJMead owsDataPor t();
  358                returnVa l = port.g etAdmissio nDiagnosis (queryBean ).toArray( new Diagno sis[0]);
  359           }  catch (Exc eption e)  {
  360                logError (e);
  361                throw ne w SOAPExce ption(e);
  362           }
  363  
  364           re turn retur nVal;
  365  
  366       }
  367  
  368  
  369       @Overr ide
  370       public  Procedure [] getAdmi ssionProce dures(JMea dowsQuery  queryBean)  throws SO APExceptio n {
  371  
  372           lo g("getAdmi ssionProce dures", qu eryBean);
  373  
  374           Pr ocedure[]  returnVal  = null;
  375  
  376           tr y {
  377  
  378                JMeadows Data port  = getJMead owsDataPor t();
  379                returnVa l = port.g etAdmissio nProcedure s(queryBea n).toArray (new Proce dure[0]);
  380           }  catch (Exc eption e)  {
  381                logError (e);
  382                throw ne w SOAPExce ption(e);
  383           }
  384  
  385           re turn retur nVal;
  386       }
  387  
  388       @Overr ide
  389       public  FreeTextR eport getC linicalRem inderDetai l(JMeadows Query quer yBean) thr ows SOAPEx ception {
  390  
  391           lo g("getClin icalRemind erDetail",  queryBean );
  392  
  393           Fr eeTextRepo rt returnV al = null;
  394  
  395           tr y {
  396  
  397                JMeadows Data port  = getJMead owsDataPor t();
  398                returnVa l = port.g etClinical ReminderDe tail(query Bean);
  399           }  catch (Exc eption e)  {
  400                logError (e);
  401                throw ne w SOAPExce ption(e);
  402           }
  403  
  404           re turn retur nVal;
  405  
  406       }
  407  
  408       @Overr ide
  409       public  FreeTextR eport[] ge tConsultRe port(JMead owsQuery q ueryBean)  throws SOA PException  {
  410  
  411           lo g("getCons ultReport" , queryBea n);
  412  
  413           Fr eeTextRepo rt[] retur nVal = nul l;
  414  
  415           tr y {
  416  
  417                JMeadows Data port  = getJMead owsDataPor t();
  418                returnVa l = port.g etConsultR eport(quer yBean).toA rray(new F reeTextRep ort[0]);
  419           }  catch (Exc eption e)  {
  420                logError (e);
  421                throw ne w SOAPExce ption(e);
  422           }
  423  
  424           re turn retur nVal;
  425       }
  426  
  427       @Overr ide
  428       public  FreeTextR eport getM edicationD etails(JMe adowsQuery  queryBean ) throws S OAPExcepti on {
  429  
  430           lo g("getMedi cationDeta ils", quer yBean);
  431  
  432           Fr eeTextRepo rt returnV al = null;
  433  
  434           tr y {
  435  
  436                JMeadows Data port  = getJMead owsDataPor t();
  437                returnVa l = port.g etMedicati onDetail(q ueryBean);
  438           }  catch (Exc eption e)  {
  439                logError (e);
  440                throw ne w SOAPExce ption(e);
  441           }
  442  
  443           re turn retur nVal;
  444       }
  445  
  446       @Overr ide
  447       public  LabResult [] getLabO rderResult (JMeadowsQ uery query Bean) thro ws SOAPExc eption {
  448           lo g("getLabO rderResult ", queryBe an);
  449  
  450           La bResult[]  returnVal  = null;
  451  
  452           tr y {
  453  
  454                JMeadows Data port  = getJMead owsDataPor t();
  455                returnVa l = port.g etLabOrder Result(que ryBean).to Array(new  LabResult[ 0]);
  456           }  catch (Exc eption e)  {
  457                logError (e);
  458                throw ne w SOAPExce ption(e);
  459           }
  460  
  461           re turn retur nVal;
  462       }
  463  
  464       @Overr ide
  465       public  FreeTextR eport getO rderDetail (JMeadowsQ uery query Bean) thro ws SOAPExc eption {
  466  
  467           lo g("getOrde rDetail",  queryBean) ;
  468  
  469           Fr eeTextRepo rt returnV al = null;
  470  
  471           tr y {
  472  
  473                JMeadows Data port  = getJMead owsDataPor t();
  474                returnVa l = port.g etOrderDet ail(queryB ean);
  475           }  catch (Exc eption e)  {
  476                logError (e);
  477                throw ne w SOAPExce ption(e);
  478           }
  479  
  480           re turn retur nVal;
  481       }
  482  
  483       @Overr ide
  484       public  PatientAd mission[]  getPatient Admissions (JMeadowsQ uery query Bean) thro ws SOAPExc eption {
  485  
  486           lo g("getPati entAdmissi ons", quer yBean);
  487  
  488           Pa tientAdmis sion[] ret urnVal = n ull;
  489  
  490           tr y {
  491  
  492                JMeadows Data port  = getJMead owsDataPor t();
  493                returnVa l = port.g etPatientA dmissions( queryBean) .toArray(n ew Patient Admission[ 0]);
  494           }  catch (Exc eption e)  {
  495                logError (e);
  496                throw ne w SOAPExce ption(e);
  497           }
  498  
  499           re turn retur nVal;
  500       }
  501  
  502       @Overr ide
  503       public  Allergy[]  getPatien tAllergies (JMeadowsQ uery query Bean) thro ws SOAPExc eption {
  504           lo g("getPati entAllergi es", query Bean);
  505  
  506           Al lergy[] re turnVal =  null;
  507  
  508           tr y {
  509  
  510                JMeadows Data port  = getJMead owsDataPor t();
  511                returnVa l = port.g etPatientA llergies(q ueryBean). toArray(ne w Allergy[ 0]);
  512           }  catch (Exc eption e)  {
  513                logError (e);
  514                throw ne w SOAPExce ption(e);
  515           }
  516  
  517           re turn retur nVal;
  518       }
  519  
  520       @Overr ide
  521       public  AllergyDe tail getAl lergyDetai l(JMeadows Query quer yBean) thr ows SOAPEx ception {
  522           lo g("getAlle rgyDetail" , queryBea n);
  523  
  524           Al lergyDetai l returnVa l = null;
  525  
  526           tr y {
  527  
  528                JMeadows Data port  = getJMead owsDataPor t();
  529                returnVa l = port.g etAllergyD etail(quer yBean);
  530           }  catch (Exc eption e)  {
  531                logError (e);
  532                throw ne w SOAPExce ption(e);
  533           }
  534  
  535           re turn retur nVal;
  536       }
  537  
  538       @Overr ide
  539       public  PatientAp pointments [] getPati entAppoint ments(JMea dowsQuery  queryBean)  throws SO APExceptio n {
  540           lo g("getPati entAppoint ments", qu eryBean);
  541  
  542           Pa tientAppoi ntments[]  returnVal  = null;
  543  
  544           tr y {
  545  
  546                JMeadows Data port  = getJMead owsDataPor t();
  547                returnVa l = port.g etPatientA ppointment s(queryBea n).toArray (new Patie ntAppointm ents[0]);
  548           }  catch (Exc eption e)  {
  549                logError (e);
  550                throw ne w SOAPExce ption(e);
  551           }
  552  
  553           re turn retur nVal;
  554       }
  555  
  556       @Overr ide
  557       public  PatientDo cument[] g etPatientD ocuments(J MeadowsQue ry queryBe an) throws  SOAPExcep tion {
  558           lo g("getPati entDocumen ts", query Bean);
  559  
  560           Pa tientDocum ent[] retu rnVal = nu ll;
  561  
  562           tr y {
  563  
  564                JMeadows Data port  = getJMead owsDataPor t();
  565                returnVa l = port.g etPatientD ocuments(q ueryBean). toArray(ne w PatientD ocument[0] );
  566           }  catch (Exc eption e)  {
  567                logError (e);
  568                throw ne w SOAPExce ption(e);
  569           }
  570  
  571           re turn retur nVal;
  572       }
  573  
  574       @Overr ide
  575       public  Encounter [] getPati entEncount ers(JMeado wsQuery qu eryBean) t hrows SOAP Exception  {
  576           lo g("getPati entEncount er", query Bean);
  577  
  578           En counter[]  returnVal  = null;
  579  
  580           tr y {
  581  
  582                JMeadows Data port  = getJMead owsDataPor t();
  583                returnVa l = port.g etPatientE ncounters( queryBean) .toArray(n ew Encount er[0]);
  584           }  catch (Exc eption e)  {
  585                logError (e);
  586                throw ne w SOAPExce ption(e);
  587           }
  588  
  589           re turn retur nVal;
  590       }
  591  
  592       @Overr ide
  593       public  ClinicalR eminder[]  getPatient ClinicalRe minders(JM eadowsQuer y queryBea n) throws  SOAPExcept ion {
  594           lo g("getPati entClinica lReminders ", queryBe an);
  595  
  596           Cl inicalRemi nder[] ret urnVal = n ull;
  597  
  598           tr y {
  599  
  600                JMeadows Data port  = getJMead owsDataPor t();
  601                returnVa l = port.g etPatientC linicalRem inders(que ryBean).to Array(new  ClinicalRe minder[0]) ;
  602           }  catch (Exc eption e)  {
  603                logError (e);
  604                throw ne w SOAPExce ption(e);
  605           }
  606  
  607           re turn retur nVal;
  608       }
  609  
  610       @Overr ide
  611       public  Consult[]  getPatien tConsultRe quests(JMe adowsQuery  queryBean ) throws S OAPExcepti on {
  612           lo g("getPati entConsult Requests",  queryBean );
  613  
  614           Co nsult[] re turnVal =  null;
  615  
  616           tr y {
  617  
  618                JMeadows Data port  = getJMead owsDataPor t();
  619                returnVa l = port.g etPatientC onsultRequ ests(query Bean).toAr ray(new Co nsult[0]);
  620           }  catch (Exc eption e)  {
  621                logError (e);
  622                throw ne w SOAPExce ption(e);
  623           }
  624  
  625           re turn retur nVal;
  626       }
  627  
  628       @Overr ide
  629       public  Vitals[]  getPatient CurrentVit als(JMeado wsQuery qu eryBean) t hrows SOAP Exception  {
  630           lo g("getPati entCurrent Vitals", q ueryBean);
  631  
  632           Vi tals[] ret urnVal = n ull;
  633  
  634           tr y {
  635  
  636                JMeadows Data port  = getJMead owsDataPor t();
  637                returnVa l = port.g etPatientC urrentVita ls(queryBe an).toArra y(new Vita ls[0]);
  638           }  catch (Exc eption e)  {
  639                logError (e);
  640                throw ne w SOAPExce ption(e);
  641           }
  642  
  643           re turn retur nVal;
  644  
  645       }
  646  
  647       @Overr ide
  648       public  List<Pati entDemogra phicsDetai l> getAllP atientDemo graphicDet ails(JMead owsQuery q ueryBean)  throws SOA PException  {
  649           lo g("getAllP atientDemo graphicDet ails", que ryBean);
  650  
  651           Li st<Patient Demographi csDetail>  returnVal  = null;
  652           tr y {
  653  
  654                JMeadows Data port  = getJMead owsDataPor t();
  655                returnVa l = port.g etPatientD emographic sDetail(qu eryBean);
  656           }  catch (Exc eption e)  {
  657                logError (e);
  658                throw ne w SOAPExce ption(e);
  659           }
  660           re turn retur nVal;
  661       }
  662  
  663       @Overr ide
  664       public  List<Pati entDemogra phics> get PatientDem ographics( JMeadowsQu ery queryB ean) throw s SOAPExce ption {
  665           lo g("getPati entDemogra phics", qu eryBean);
  666  
  667           Li st<Patient Demographi cs> return Val = null ;
  668           tr y {
  669  
  670                JMeadows Data port  = getJMead owsDataPor t();
  671                returnVa l = port.g etPatientD emographic s(queryBea n);
  672           }  catch (Exc eption e)  {
  673                logError (e);
  674                throw ne w SOAPExce ption(e);
  675           }
  676           re turn retur nVal;
  677       }
  678  
  679       @Overr ide
  680       public  Procedure [] getPati entProcedu res(JMeado wsQuery qu eryBean) t hrows SOAP Exception  {
  681           lo g("getPati entProcedu res", quer yBean);
  682  
  683           Pr ocedure[]  returnVal  = null;
  684  
  685           tr y {
  686  
  687                JMeadows Data port  = getJMead owsDataPor t();
  688                returnVa l = port.g etOutpatie ntProcedur es(queryBe an).toArra y(new Proc edure[0]);
  689           }  catch (Exc eption e)  {
  690                logError (e);
  691                throw ne w SOAPExce ption(e);
  692           }
  693  
  694           re turn retur nVal;
  695       }
  696  
  697  
  698   //    @Ove rride
  699   //    publ ic Questio nnaireBean [] getPati entQuestio nnaires(JM eadowsQuer y queryBea n) throws  SOAPExcept ion {
  700   //         log("getPa tientQuest ionnaires" , queryBea n);
  701   //
  702   //         Questionna ireBean[]  returnVal  = null;
  703   //
  704   //         try {
  705   //
  706   //             JMeado wsData por t = getJMe adowsDataP ort();
  707   //             return Val = port .getPatien tQuestionn aires(quer yBean).toA rray(new Q uestionnai reBean[0]) ;
  708   //         } catch (E xception e ) {
  709   //             throw  new SOAPEx ception(e) ;
  710   //         }
  711   //
  712   //         return ret urnVal;
  713   //    }
  714  
  715       @Overr ide
  716       public  Form[] ge tPatientFo rms(JMeado wsQuery qu eryBean) t hrows SOAP Exception  {
  717           lo g("getPati entForms",  queryBean );
  718  
  719           Fo rm[] retur nVal = nul l;
  720  
  721           tr y {
  722  
  723                JMeadows Data port  = getJMead owsDataPor t();
  724                returnVa l = port.g etPatientF orms(query Bean).toAr ray(new Fo rm[0]);
  725           }  catch (Exc eption e)  {
  726                logError (e);
  727                throw ne w SOAPExce ption(e);
  728           }
  729  
  730           re turn retur nVal;
  731       }
  732  
  733       @Overr ide
  734       public  ProgressN ote[] getP atientDisc hargeSumma ries(JMead owsQuery q ueryBean)  throws SOA PException  {
  735           lo g("getPati entDischar geSummarie s", queryB ean);
  736  
  737           Pr ogressNote [] returnV al = null;
  738  
  739           tr y {
  740  
  741                JMeadows Data port  = getJMead owsDataPor t();
  742                returnVa l = port.g etPatientD ischargeSu mmaries(qu eryBean).t oArray(new  ProgressN ote[0]);
  743           }  catch (Exc eption e)  {
  744                logError (e);
  745                throw ne w SOAPExce ption(e);
  746           }
  747  
  748           re turn retur nVal;
  749       }
  750  
  751       @Overr ide
  752       public  Immunizat ion[] getP atientImmu nizations( JMeadowsQu ery queryB ean) throw s SOAPExce ption {
  753           lo g("getPati entImmuniz ations", q ueryBean);
  754  
  755           Im munization [] returnV al = null;
  756           tr y {
  757  
  758                JMeadows Data port  = getJMead owsDataPor t();
  759                returnVa l = port.g etPatientI mmunizatio ns(queryBe an).toArra y(new Immu nization[0 ]);
  760           }  catch (Exc eption e)  {
  761                logError (e);
  762                throw ne w SOAPExce ption(e);
  763           }
  764           re turn retur nVal;
  765       }
  766  
  767       @Overr ide
  768       public  Insurance Bean[] get PatientIns urances(JM eadowsQuer y queryBea n) throws  SOAPExcept ion {
  769           lo g("getPati entInsuran ces", quer yBean);
  770  
  771           In suranceBea n[] return Val = null ;
  772  
  773           tr y {
  774                JMeadows Data port  = getJMead owsDataPor t();
  775                returnVa l = port.g etPatientI nsurances( queryBean) .toArray(n ew Insuran ceBean[0]) ;
  776  
  777           }  catch (Exc eption e)  {
  778                logError (e);
  779                throw ne w SOAPExce ption(e);
  780           }
  781  
  782           re turn retur nVal;
  783       }
  784  
  785  
  786       @Overr ide
  787       public  LabOrder[ ] getPatie ntLabs(JMe adowsQuery  queryBean ) throws S OAPExcepti on {
  788           lo g("getPati entLabs",  queryBean) ;
  789  
  790           La bOrder[] r eturnVal =  null;
  791           tr y {
  792  
  793                JMeadows Data port  = getJMead owsDataPor t();
  794                returnVa l = port.g etPatientL abs(queryB ean).toArr ay(new Lab Order[0]);
  795           }  catch (Exc eption e)  {
  796                logError (e);
  797                throw ne w SOAPExce ption(e);
  798           }
  799  
  800           re turn retur nVal;
  801       }
  802  
  803       @Overr ide
  804       public  FreeTextR eport getP atientLabR eport(JMea dowsQuery  queryBean)  throws SO APExceptio n {
  805           lo g("getPati entLabRepo rt", query Bean);
  806  
  807           Fr eeTextRepo rt returnV al = null;
  808           tr y {
  809  
  810                JMeadows Data port  = getJMead owsDataPor t();
  811                returnVa l = port.g etPatientL abReport(q ueryBean);
  812           }  catch (Exc eption e)  {
  813                logError (e);
  814                throw ne w SOAPExce ption(e);
  815           }
  816  
  817           re turn retur nVal;
  818       }
  819  
  820       @Overr ide
  821       public  LabResult [] getPati entLabTest Results(JM eadowsQuer y queryBea n) throws  SOAPExcept ion {
  822           lo g("getPati entLabTest Results",  queryBean) ;
  823  
  824           La bResult[]  returnVal  = null;
  825           tr y {
  826  
  827                JMeadows Data port  = getJMead owsDataPor t();
  828                returnVa l = port.g etPatientL abTestResu lts(queryB ean).toArr ay(new Lab Result[0]) ;
  829           }  catch (Exc eption e)  {
  830                logError (e);
  831                throw ne w SOAPExce ption(e);
  832           }
  833  
  834           re turn retur nVal;
  835       }
  836  
  837       @Overr ide
  838       public  LabResult [] getPati entLabResu lts(JMeado wsQuery qu eryBean) t hrows SOAP Exception  {
  839           lo g("getPati entLabResu lts", quer yBean);
  840  
  841           La bResult[]  returnVal  = null;
  842           tr y {
  843  
  844                JMeadows Data port  = getJMead owsDataPor t();
  845                returnVa l = port.g etPatientL abResults( queryBean) .toArray(n ew LabResu lt[0]);
  846           }  catch (Exc eption e)  {
  847                logError (e);
  848                throw ne w SOAPExce ption(e);
  849           }
  850  
  851           re turn retur nVal;
  852       }
  853  
  854       @Overr ide
  855       public  Medicatio n[] getPat ientMedica tions(JMea dowsQuery  queryBean)  throws SO APExceptio n {
  856           lo g("getPati entMedicat ions", que ryBean);
  857  
  858           Me dication[]  returnVal  = null;
  859           tr y {
  860  
  861                JMeadows Data port  = getJMead owsDataPor t();
  862                returnVa l = port.g etPatientM edications (queryBean ).toArray( new Medica tion[0]);
  863           }  catch (Exc eption e)  {
  864                logError (e);
  865                throw ne w SOAPExce ption(e);
  866           }
  867  
  868           re turn retur nVal;
  869       }
  870  
  871   //    publ ic Medicat ion[] getP atientMedi cationsNVA (JMeadowsQ uery query Bean) thro ws SOAPExc eption {
  872   //         log("getPa tientMedic ationsNVA" , queryBea n);
  873   //
  874   //         Medication [] returnV al = null;
  875   //         try {
  876   //
  877   //             JMeado wsData por t = getJMe adowsDataP ort();
  878   //             return Val = port .getPatien tMedicatio nsNVA(quer yBean).toA rray(new M edication[ 0]);
  879   //         } catch (E xception e ) {
  880   //             throw  new SOAPEx ception(e) ;
  881   //         }
  882   //         return ret urnVal;
  883   //
  884   //    }
  885  
  886       @Overr ide
  887       public  Order[] g etPatientO rders(JMea dowsQuery  queryBean)  throws SO APExceptio n {
  888           lo g("getPati entOrders" , queryBea n);
  889  
  890           Or der[] retu rnVal = nu ll;
  891  
  892           tr y {
  893  
  894                JMeadows Data port  = getJMead owsDataPor t();
  895                returnVa l = port.g etPatientO rders(quer yBean).toA rray(new O rder[0]);
  896           }  catch (Exc eption e)  {
  897                logError (e);
  898                throw ne w SOAPExce ption(e);
  899           }
  900  
  901           re turn retur nVal;
  902       }
  903  
  904       @Overr ide
  905       public  Problem[]  getPatien tProblemLi st(JMeadow sQuery que ryBean) th rows SOAPE xception {
  906           lo g("getPati entProblem List", que ryBean);
  907  
  908           Pr oblem[] re turnVal =  null;
  909  
  910           tr y {
  911  
  912                JMeadows Data port  = getJMead owsDataPor t();
  913                returnVa l = port.g etPatientP roblemList (queryBean ).toArray( new Proble m[0]);
  914           }  catch (Exc eption e)  {
  915                logError (e);
  916                throw ne w SOAPExce ption(e);
  917           }
  918  
  919           re turn retur nVal;
  920       }
  921  
  922   //      pu blic Proce dure[] get PatientPro cedures(JM eadowsQuer y queryBea n) throws  SOAPExcept ion
  923   //      {
  924   //               Proc edure[] re turnVal =  null;
  925   //
  926   //         try {
  927   //
  928   //                      JMeadows Data port  = getJMead owsDataPor t();
  929   //                      returnVa l = port.g etPatientP rocedures( queryBean) .toArray(n ew Procedu re[0]);
  930   //             }
  931   //             catch  (Exception  e)
  932   //             {
  933   //                      throw ne w SOAPExce ption(e);
  934   //             }
  935   //
  936   //         return ret urnVal;
  937   //
  938   //      }
  939  
  940       @Overr ide
  941       public  ProgressN ote[] getP atientProg ressNotes( JMeadowsQu ery queryB ean) throw s SOAPExce ption {
  942           lo g("getPati entProgres sNotes", q ueryBean);
  943  
  944           Pr ogressNote [] returnV al = null;
  945  
  946           tr y {
  947  
  948                JMeadows Data port  = getJMead owsDataPor t();
  949                returnVa l = port.g etPatientP rogressNot es(queryBe an).toArra y(new Prog ressNote[0 ]);
  950           }  catch (Exc eption e)  {
  951                logError (e);
  952                throw ne w SOAPExce ption(e);
  953           }
  954  
  955           re turn retur nVal;
  956       }
  957  
  958       /**
  959        * Fet ches a BHI E note ima ge.
  960        *
  961        * @pa ram queryB ean requir ed params:  provider,  itemid (c ontaining  bhie note  event id)
  962        * @re turn Note  image
  963        * @th rows javax .xml.soap. SOAPExcept ion if an  error occu rs.
  964        */
  965       @Overr ide
  966       public  NoteImage  getBHIENo teImage(JM eadowsQuer y queryBea n) throws  SOAPExcept ion {
  967           lo g("getBHIE NoteImage" , queryBea n);
  968  
  969           tr y {
  970                return g etJMeadows DataPort(t rue).getBH IENoteImag e(queryBea n);
  971  
  972           }  catch (Exc eption e)  {
  973                logError (e);
  974                throw ne w SOAPExce ption(e);
  975           }
  976  
  977       }
  978  
  979       /**
  980        * Fet ches a BHI E note ima ge.
  981        *
  982        * @pa ram queryB ean requir ed params:  provider,  itemid (c ontaining  bhie note  event id)
  983        * @re turn Note  image
  984        * @th rows javax .xml.soap. SOAPExcept ion if an  error occu rs.
  985        */
  986       @Overr ide
  987       public  NoteImage  getBHIENo teAttachme nt(JMeadow sQuery que ryBean) th rows SOAPE xception {
  988           lo g("getBHIE NoteImage" , queryBea n);
  989  
  990           tr y {
  991                return g etJMeadows DataPort(t rue).getBH IENoteAtta chment(que ryBean);
  992  
  993           }  catch (Exc eption e)  {
  994                logError (e);
  995                throw ne w SOAPExce ption(e);
  996           }
  997  
  998       }
  999  
  1000       @Overr ide
  1001       public  Radiology Report[] g etPatientR ads(JMeado wsQuery qu eryBean) t hrows SOAP Exception  {
  1002           lo g("getPati entRads",  queryBean) ;
  1003  
  1004           Ra diologyRep ort[] retu rnVal = nu ll;
  1005  
  1006           tr y {
  1007  
  1008                JMeadows Data port  = getJMead owsDataPor t();
  1009                returnVa l = port.g etPatientR ads(queryB ean).toArr ay(new Rad iologyRepo rt[0]);
  1010           }  catch (Exc eption e)  {
  1011                logError (e);
  1012                throw ne w SOAPExce ption(e);
  1013           }
  1014  
  1015           re turn retur nVal;
  1016       }
  1017  
  1018       @Overr ide
  1019       public  Vitals[]  getPatient Vitals(JMe adowsQuery  queryBean ) throws S OAPExcepti on {
  1020           lo g("getPati entVitals" , queryBea n);
  1021  
  1022           Vi tals[] ret urnVal = n ull;
  1023  
  1024           tr y {
  1025  
  1026                JMeadows Data port  = getJMead owsDataPor t();
  1027                returnVa l = port.g etPatientV itals(quer yBean).toA rray(new V itals[0]);
  1028           }  catch (Exc eption e)  {
  1029                logError (e);
  1030                throw ne w SOAPExce ption(e);
  1031           }
  1032  
  1033           re turn retur nVal;
  1034       }
  1035  
  1036       //     public Pre scription  getPrescri ptionFills (JMeadowsQ uery query Bean) thro ws SOAPExc eption {
  1037   //         log("getPr escription Fills", qu eryBean);
  1038   //
  1039   //         Prescripti on returnV al = null;
  1040   //
  1041   //         try {
  1042   //
  1043   //             JMeado wsData por t = getJMe adowsDataP ort();
  1044   //             return Val = port .getPrescr iptionFill s(queryBea n);
  1045   //         } catch (E xception e ) {
  1046   //             throw  new SOAPEx ception(e) ;
  1047   //         }
  1048   //
  1049   //         return ret urnVal;
  1050   //
  1051   //    }
  1052       @Overr ide
  1053       public  PatientHi story[] ge tPatientHi stories(JM eadowsQuer y queryBea n) throws  SOAPExcept ion {
  1054           lo g("getPati entHistori es", query Bean);
  1055  
  1056           Pa tientHisto ry[] retur nVal = nul l;
  1057  
  1058           tr y {
  1059  
  1060                JMeadows Data port  = getJMead owsDataPor t();
  1061                returnVa l = port.g etPatientH istory(que ryBean).to Array(new  PatientHis tory[0]);
  1062           }  catch (Exc eption e)  {
  1063                logError (e);
  1064                throw ne w SOAPExce ption(e);
  1065           }
  1066  
  1067           re turn retur nVal;
  1068       }
  1069  
  1070       @Overr ide
  1071       public  VlerDocum ent[] getV LERDocumen tList(JMea dowsQuery  queryBean)  throws SO APExceptio n {
  1072           lo g("getVLER DocumentLi st", query Bean);
  1073  
  1074           Vl erDocument [] returnV al = null;
  1075  
  1076           tr y {
  1077  
  1078                JMeadows Data port  = getJMead owsDataPor t();
  1079                returnVa l = port.g etVLERDocu mentList(q ueryBean). toArray(ne w VlerDocu ment[0]);
  1080           }  catch (Exc eption e)  {
  1081                logError (e);
  1082                throw ne w SOAPExce ption(e);
  1083           }
  1084  
  1085           re turn retur nVal;
  1086       }
  1087  
  1088       @Overr ide
  1089       public  VlerDocum ent getVLE RDocument( JMeadowsQu ery queryB ean, VlerD ocument vD oc) throws  SOAPExcep tion {
  1090           lo g("getVLER Document",  queryBean );
  1091  
  1092           Vl erDocument  returnVal  = null;
  1093  
  1094           tr y {
  1095  
  1096                JMeadows Data port  = getJMead owsDataPor t();
  1097                returnVa l = port.g etVLERDocu ment(vDoc,  queryBean );
  1098           }  catch (Exc eption e)  {
  1099                logError (e);
  1100                throw ne w SOAPExce ption(e);
  1101           }
  1102  
  1103           re turn retur nVal;
  1104       }
  1105  
  1106       @Overr ide
  1107       public  Vlerccda[ ] getDODVL ERPatientC CDA(JMeado wsQuery qu eryBean) t hrows SOAP Exception  {
  1108           lo g("getDODV LERPatient CCDA", que ryBean);
  1109  
  1110           Vl erccda[] r eturnVal =  null;
  1111  
  1112           tr y {
  1113  
  1114                JMeadows Data port  = getJMead owsDataPor t();
  1115                returnVa l = port.g etDODVLERP atientCCDA (queryBean ).toArray( new Vlercc da[0]);
  1116           }  catch (Exc eption e)  {
  1117                logError (e);
  1118                throw ne w SOAPExce ption(e);
  1119           }
  1120  
  1121           re turn retur nVal;
  1122       }
  1123  
  1124       @Overr ide
  1125       public  Vlerccda[ ] getDASVL ERPatientC CDA(JMeado wsQuery qu eryBean) t hrows SOAP Exception  {
  1126           lo g("getDASV LERPatient CCDA", que ryBean);
  1127  
  1128           Vl erccda[] r eturnVal =  null;
  1129  
  1130           tr y {
  1131  
  1132                JMeadows Data port  = getJMead owsDataPor t();
  1133                returnVa l = port.g etDASPatie ntData(que ryBean).to Array(new  Vlerccda[0 ]);
  1134           }  catch (Exc eption e)  {
  1135                logError (e);
  1136                throw ne w SOAPExce ption(e);
  1137           }
  1138  
  1139           re turn retur nVal;
  1140       }
  1141  
  1142  
  1143       @Overr ide
  1144       public  ProblemDe tail getPr oblemDetai l(JMeadows Query quer yBean) thr ows SOAPEx ception {
  1145           lo g("getProb lemDetail" , queryBea n);
  1146  
  1147           Pr oblemDetai l returnVa l = null;
  1148  
  1149           tr y {
  1150  
  1151                JMeadows Data port  = getJMead owsDataPor t();
  1152                returnVa l = port.g etProblemD etail(quer yBean);
  1153           }  catch (Exc eption e)  {
  1154                logError (e);
  1155                throw ne w SOAPExce ption(e);
  1156           }
  1157  
  1158           re turn retur nVal;
  1159       }
  1160  
  1161       @Overr ide
  1162       public  FreeTextR eport getP rogressNot e(JMeadows Query quer yBean) thr ows SOAPEx ception {
  1163           lo g("getProg ressNote",  queryBean );
  1164  
  1165           Fr eeTextRepo rt returnV al = null;
  1166  
  1167           tr y {
  1168  
  1169                JMeadows Data port  = getJMead owsDataPor t();
  1170                returnVa l = port.g etProgress Note(query Bean);
  1171           }  catch (Exc eption e)  {
  1172                logError (e);
  1173                throw ne w SOAPExce ption(e);
  1174           }
  1175  
  1176           re turn retur nVal;
  1177       }
  1178  
  1179       @Overr ide
  1180       public  MhsGenesi s[] getMhs GenesisDoc uments(JMe adowsQuery  queryBean ) throws S OAPExcepti on {
  1181           lo g("getMhsG enesisDocu ments", qu eryBean);
  1182  
  1183           Mh sGenesis[]  returnVal  = null;
  1184  
  1185           tr y {
  1186                JMeadows Data port  = getJMead owsDataPor t();
  1187                returnVa l = port.g etMhsGenes isDocument s(queryBea n).toArray (new MhsGe nesis[0]);
  1188           }  catch (Exc eption e)  {
  1189                logError (e);
  1190                throw ne w SOAPExce ption(e);
  1191           }
  1192  
  1193           re turn retur nVal;
  1194       }
  1195  
  1196       @Overr ide
  1197       public  User getP roviderPro file(JMead owsQuery q ueryBean)  throws SOA PException  {
  1198           lo g("getProv iderProfil e", queryB ean);
  1199  
  1200           Us er returnV al = null;
  1201           tr y {
  1202  
  1203                JMeadows Data port  = getJMead owsDataPor t();
  1204                returnVa l = port.g etProvider Profile(qu eryBean);
  1205  
  1206           }  catch (Exc eption e)  {
  1207                logError (e);
  1208                throw ne w SOAPExce ption(e);
  1209           }
  1210           re turn retur nVal;
  1211       }
  1212  
  1213       @Overr ide
  1214       public  Radiology Report get RadiologyR eport(JMea dowsQuery  queryBean)  throws SO APExceptio n {
  1215           lo g("getRadi ologyRepor t", queryB ean);
  1216  
  1217           Ra diologyRep ort return Val = null ;
  1218  
  1219           tr y {
  1220  
  1221                JMeadows Data port  = getJMead owsDataPor t();
  1222                returnVa l = port.g etRadiolog yReport(qu eryBean);
  1223           }  catch (Exc eption e)  {
  1224                logError (e);
  1225                throw ne w SOAPExce ption(e);
  1226           }
  1227  
  1228           re turn retur nVal;
  1229  
  1230       }
  1231  
  1232       @Overr ide
  1233       public  Alert[] g etUserAler ts(JMeadow sQuery que ryBean) th rows SOAPE xception {
  1234           lo g("getUser Alerts", q ueryBean);
  1235  
  1236           Al ert[] retu rnVal = nu ll;
  1237  
  1238           tr y {
  1239  
  1240                JMeadows Data port  = getJMead owsDataPor t();
  1241                returnVa l = port.g etUserAler ts(queryBe an).toArra y(new Aler t[0]);
  1242           }  catch (Exc eption e)  {
  1243                logError (e);
  1244                throw ne w SOAPExce ption(e);
  1245           }
  1246           re turn retur nVal;
  1247  
  1248       }
  1249  
  1250       @Overr ide
  1251       public  FreeTextR eport getV isitNotes( JMeadowsQu ery queryB ean) throw s SOAPExce ption {
  1252           lo g("getVisi tNotes", q ueryBean);
  1253  
  1254           Fr eeTextRepo rt returnV al = null;
  1255  
  1256           tr y {
  1257  
  1258                JMeadows Data port  = getJMead owsDataPor t();
  1259                returnVa l = port.g etVisitNot es(queryBe an);
  1260           }  catch (Exc eption e)  {
  1261                logError (e);
  1262                throw ne w SOAPExce ption(e);
  1263           }
  1264           re turn retur nVal;
  1265       }
  1266  
  1267       @Overr ide
  1268       public  FreeTextR eport getP atientEnco untersRepo rt(JMeadow sQuery que ryBean) th rows SOAPE xception {
  1269           lo g("getPati entEncount ersReport" , queryBea n);
  1270  
  1271           Fr eeTextRepo rt returnV al = null;
  1272  
  1273           tr y {
  1274  
  1275                JMeadows Data port  = getJMead owsDataPor t();
  1276                returnVa l = port.g etPatientE ncountersR eport(quer yBean);
  1277           }  catch (Exc eption e)  {
  1278                logError (e);
  1279                throw ne w SOAPExce ption(e);
  1280           }
  1281           re turn retur nVal;
  1282       }
  1283  
  1284       @Overr ide
  1285       public  Patient[]  lookupPat ient(JMead owsQuery q ueryBean)  throws SOA PException  {
  1286           lo g("lookupP atient", q ueryBean);
  1287  
  1288           Pa tient[] re turnVal =  null;
  1289  
  1290           tr y {
  1291  
  1292                JMeadows Data port  = getJMead owsDataPor t();
  1293                returnVa l = port.l ookupPatie nt(queryBe an).toArra y(new Pati ent[0]);
  1294           }  catch (Exc eption e)  {
  1295                logError (e);
  1296                throw ne w SOAPExce ption(e);
  1297           }
  1298  
  1299           re turn retur nVal;
  1300  
  1301       }
  1302  
  1303       @Overr ide
  1304       public  ResponseP atientQuer y lookupPa tientPDWS( PdwsQueryB ean queryB ean) throw s SOAPExce ption {
  1305           lo g("lookupP atientPDWS ");
  1306  
  1307           Re sponsePati entQuery r eturnVal =  null;
  1308  
  1309           tr y {
  1310                JMeadows Data port  = getJMead owsDataPor t();
  1311                returnVa l = port.l ookupPatie ntPDWS(que ryBean);
  1312           }  catch (Exc eption e)  {
  1313                logError (e);
  1314                throw ne w SOAPExce ption(e);
  1315           }
  1316  
  1317           re turn retur nVal;
  1318       }
  1319  
  1320       @Overr ide
  1321       public  ResponseP atientQuer y lookupPa tientMVI(P dwsQueryBe an queryBe an) throws  SOAPExcep tion {
  1322           lo g("lookupP atientMVI" );
  1323  
  1324           Re sponsePati entQuery r eturnVal =  null;
  1325  
  1326           tr y {
  1327                JMeadows Data port  = getJMead owsDataPor t();
  1328                returnVa l = port.l ookupPatie ntMVI(quer yBean);
  1329           }  catch (Exc eption e)  {
  1330                logError (e);
  1331                throw ne w SOAPExce ption(e);
  1332           }
  1333  
  1334           re turn retur nVal;
  1335       }
  1336  
  1337       @Overr ide
  1338       public  Patient s electPatie nt(JMeadow sQuery que ryBean) th rows SOAPE xception {
  1339           lo g("selectP atient", q ueryBean);
  1340  
  1341           Pa tient retu rnVal = nu ll;
  1342  
  1343           tr y {
  1344  
  1345                JMeadows Data port  = getJMead owsDataPor t();
  1346                returnVa l = port.s electPatie nt(queryBe an);
  1347           }  catch (Exc eption e)  {
  1348                logError (e);
  1349                throw ne w SOAPExce ption(e);
  1350           }
  1351  
  1352           re turn retur nVal;
  1353  
  1354       }
  1355  
  1356       @Overr ide
  1357       public  ResponseP atientSele ct selectP atientMVI( JMeadowsQu ery queryB ean) throw s SOAPExce ption {
  1358           lo g("selectP atientMVI" );
  1359  
  1360           Re sponsePati entSelect  returnVal  = null;
  1361  
  1362           tr y {
  1363                JMeadows Data port  = getJMead owsDataPor t();
  1364                returnVa l = port.s electPatie ntMVI(quer yBean);
  1365           }  catch (Exc eption e)  {
  1366                logError (e);
  1367                throw ne w SOAPExce ption(e);
  1368           }
  1369  
  1370           re turn retur nVal;
  1371       }
  1372  
  1373       @Overr ide
  1374       public  void sele ctPatientF orVASensit ive(JMeado wsQuery qu eryBean) t hrows SOAP Exception  {
  1375           lo g("selectP atientForV ASensitive ");
  1376  
  1377           tr y {
  1378                JMeadows Data port  = getJMead owsDataPor t();
  1379                port.sel ectPatient ForVASensi tive(query Bean);
  1380           }  catch (Exc eption e)  {
  1381                logError (e);
  1382                throw ne w SOAPExce ption(e);
  1383           }
  1384       }
  1385  
  1386       @Overr ide
  1387       public  Alert[] g etVASensit ivePatient Alerts(JMe adowsQuery  queryBean ) throws S OAPExcepti on{
  1388           lo g("getVASe nsitivePat ientAlerts ");
  1389  
  1390           Al ert[] retu rnVal = nu ll;
  1391  
  1392           tr y {
  1393                JMeadows Data port  = getJMead owsDataPor t();
  1394                returnVa l = port.g etVASensit ivePatient Alerts(que ryBean).to Array(new  Alert[0]);
  1395           }  catch (Exc eption e)  {
  1396                logError (e);
  1397                throw ne w SOAPExce ption(e);
  1398           }
  1399           re turn retur nVal;
  1400  
  1401       }
  1402  
  1403  
  1404       @Overr ide
  1405       public  void audi tVARestric tedAccess( JMeadowsQu ery queryB ean) throw s SOAPExce ption {
  1406           lo g("auditVA Restricted Access");
  1407  
  1408           tr y {
  1409                JMeadows Data port  = getJMead owsDataPor t();
  1410                port.aud itVARestri ctedAccess (queryBean );
  1411           }  catch (Exc eption e)  {
  1412                logError (e);
  1413                throw ne w SOAPExce ption(e);
  1414           }
  1415       }
  1416  
  1417       @Overr ide
  1418       public  void audi tSensitive RecordAcce ss(JMeadow sQuery que ryBean) th rows SOAPE xception {
  1419           lo g("auditSe nsitiveRec ordAccess" );
  1420  
  1421           tr y {
  1422                JMeadows Data port  = getJMead owsDataPor t();
  1423                port.aud itSensitiv eRecordAcc ess(queryB ean);
  1424           }  catch (Exc eption e)  {
  1425                logError (e);
  1426                throw ne w SOAPExce ption(e);
  1427           }
  1428       }
  1429  
  1430       @Overr ide
  1431       public  void logA udit(Strin g siteId,  String sit eMoniker,  String sit eAgency, S tring reco rdID, Stri ng userId,  String pr oviderId,  String use rNPI,
  1432                              Strin g userName , String p atId, Stri ng categor y, String  requesting App,
  1433                              Strin g startDat e, String  endDate, S tring info , String c ardId, Str ing emailA ddress,
  1434                              Strin g complexT ransaction ) throws S OAPExcepti on {
  1435  
  1436           lo g("logAudi t");
  1437  
  1438           tr y {
  1439                JMeadows Data port  = getJMead owsDataPor t();
  1440                port.log Audit(site Id, siteMo niker, sit eAgency, r ecordID, u serId, pro viderId, u serNPI, us erName, pa tId,
  1441                         category,  appName, s tartDate,  endDate, i nfo, cardI d, emailAd dress, com plexTransa ction);
  1442           }  catch (Exc eption e)  {
  1443                logError (e);
  1444                throw ne w SOAPExce ption(e);
  1445           }
  1446  
  1447       }
  1448  
  1449   //    @Ove rride
  1450   //    publ ic void lo gAudit(Str ing siteId , String u serId, Str ing provid erId, Stri ng userNPI ,
  1451   //                           Str ing userNa me, String  patId, St ring categ ory,
  1452   //                           Str ing startD ate, Strin g endDate)  throws SO APExceptio n {
  1453   //
  1454   //         log("logAu dit");
  1455   //
  1456   //         try {
  1457   //             JMeado wsData por t = getJMe adowsDataP ort();
  1458   //             port.l ogAudit(si teId, user Id, provid erId, user NPI, userN ame, patId , category , appName,  startDate , endDate) ;
  1459   //         } catch (E xception e ) {
  1460   //             throw  new SOAPEx ception(e) ;
  1461   //         }
  1462   //
  1463   //    }
  1464  
  1465       @Overr ide
  1466       public  PatientAd mission[]  getProvide rAdmission s(JMeadows Query quer yBean) thr ows SOAPEx ception {
  1467  
  1468           lo g("getProv iderAdmiss ions", que ryBean);
  1469  
  1470           Pa tientAdmis sion[] ret urnVal = n ull;
  1471           tr y {
  1472                JMeadows Data port  = getJMead owsDataPor t();
  1473                returnVa l = port.g etProvider Admissions (queryBean ).toArray( new Patien tAdmission [0]);
  1474           }  catch (Exc eption e)  {
  1475                logError (e);
  1476                throw ne w SOAPExce ption(e);
  1477           }
  1478           re turn retur nVal;
  1479       }
  1480  
  1481       @Overr ide
  1482       public  PatientAp pointments [] getProv iderAppoin tments(JMe adowsQuery  queryBean ) throws S OAPExcepti on {
  1483           lo g("getProv iderAppoin tments", q ueryBean);
  1484  
  1485           Pa tientAppoi ntments[]  returnVal  = null;
  1486           tr y {
  1487                JMeadows Data port  = getJMead owsDataPor t();
  1488                returnVa l = port.g etProvider Appointmen ts(queryBe an).toArra y(new Pati entAppoint ments[0]);
  1489           }  catch (Exc eption e)  {
  1490                logError (e);
  1491                throw ne w SOAPExce ption(e);
  1492           }
  1493           re turn retur nVal;
  1494       }
  1495  
  1496       @Overr ide
  1497       public  Consult[]  getProvid erConsults Received(J MeadowsQue ry queryBe an) throws  SOAPExcep tion {
  1498           lo g("getProv iderConsul tsReceived ", queryBe an);
  1499  
  1500           Co nsult[] re turnVal =  null;
  1501           tr y {
  1502                JMeadows Data port  = getJMead owsDataPor t();
  1503                returnVa l = port.g etProvider ConsultsRe ceived(que ryBean).to Array(new  Consult[0] );
  1504           }  catch (Exc eption e)  {
  1505                logError (e);
  1506                throw ne w SOAPExce ption(e);
  1507           }
  1508           re turn retur nVal;
  1509       }
  1510  
  1511       @Overr ide
  1512       public  Consult[]  getProvid erConsults Requested( JMeadowsQu ery queryB ean) throw s SOAPExce ption {
  1513           lo g("getProv iderConsul tsRequeste d", queryB ean);
  1514  
  1515           Co nsult[] re turnVal =  null;
  1516           tr y {
  1517                JMeadows Data port  = getJMead owsDataPor t();
  1518                returnVa l = port.g etProvider ConsultsRe quested(qu eryBean).t oArray(new  Consult[0 ]);
  1519           }  catch (Exc eption e)  {
  1520                logError (e);
  1521                throw ne w SOAPExce ption(e);
  1522           }
  1523           re turn retur nVal;
  1524       }
  1525  
  1526       @Overr ide
  1527       public  LabResult [] getProv iderLabAbn ormalResul ts(JMeadow sQuery que ryBean) th rows SOAPE xception {
  1528           lo g("getProv iderLabAbn ormalResul ts", query Bean);
  1529  
  1530           La bResult[]  returnVal  = null;
  1531           tr y {
  1532                JMeadows Data port  = getJMead owsDataPor t();
  1533                returnVa l = port.g etProvider LabAbnorma lResults(q ueryBean). toArray(ne w LabResul t[0]);
  1534           }  catch (Exc eption e)  {
  1535                logError (e);
  1536                throw ne w SOAPExce ption(e);
  1537           }
  1538           re turn retur nVal;
  1539       }
  1540  
  1541       @Overr ide
  1542       public  Order[] g etProvider OrdersPend ing(JMeado wsQuery qu eryBean) t hrows SOAP Exception  {
  1543           lo g("getProv iderOrders Pending",  queryBean) ;
  1544  
  1545           Or der[] retu rnVal = nu ll;
  1546           tr y {
  1547                JMeadows Data port  = getJMead owsDataPor t();
  1548                returnVa l = port.g etProvider OrdersPend ing(queryB ean).toArr ay(new Ord er[0]);
  1549           }  catch (Exc eption e)  {
  1550                logError (e);
  1551                throw ne w SOAPExce ption(e);
  1552           }
  1553           re turn retur nVal;
  1554       }
  1555  
  1556       @Overr ide
  1557       public  Order[] g etProvider OrdersResu lted(JMead owsQuery q ueryBean)  throws SOA PException  {
  1558           lo g("getProv iderOrders Resulted",  queryBean );
  1559  
  1560           Or der[] retu rnVal = nu ll;
  1561           tr y {
  1562                JMeadows Data port  = getJMead owsDataPor t();
  1563                returnVa l = port.g etProvider OrdersResu lted(query Bean).toAr ray(new Or der[0]);
  1564           }  catch (Exc eption e)  {
  1565                logError (e);
  1566                throw ne w SOAPExce ption(e);
  1567           }
  1568           re turn retur nVal;
  1569       }
  1570  
  1571       @Overr ide
  1572       public  ProgressN ote[] getP roviderUns ignedNotes (JMeadowsQ uery query Bean) thro ws SOAPExc eption {
  1573           lo g("getProv iderUnsign edNotes",  queryBean) ;
  1574  
  1575           Pr ogressNote [] returnV al = null;
  1576           tr y {
  1577                JMeadows Data port  = getJMead owsDataPor t();
  1578                returnVa l = port.g etProvider UnsignedNo tes(queryB ean).toArr ay(new Pro gressNote[ 0]);
  1579           }  catch (Exc eption e)  {
  1580                logError (e);
  1581                throw ne w SOAPExce ption(e);
  1582           }
  1583           re turn retur nVal;
  1584       }
  1585  
  1586       @Overr ide
  1587       public  boolean s etJanusGUI Config(JMe adowsQuery  queryBean , String c fg) throws  SOAPExcep tion {
  1588           lo g("setJanu sGUIConfig ", queryBe an);
  1589  
  1590           bo olean bRet  = false;
  1591           tr y {
  1592                JMeadows Data port  = getJMead owsDataPor t();
  1593                bRet = p ort.setJan usGUIConfi g(queryBea n, cfg);
  1594           }  catch (Exc eption e)  {
  1595                logError (e);
  1596                throw ne w SOAPExce ption(e);
  1597           }
  1598           re turn bRet;
  1599       }
  1600  
  1601       @Overr ide
  1602       public  String ge tJanusGUIC onfig(JMea dowsQuery  queryBean)  throws SO APExceptio n {
  1603           lo g("getJanu sGUIConfig ", queryBe an);
  1604  
  1605           St ring retVa l = "";
  1606           tr y {
  1607                JMeadows Data port  = getJMead owsDataPor t();
  1608                retVal =  port.getJ anusGUICon fig(queryB ean);
  1609           }  catch (Exc eption e)  {
  1610                logError (e);
  1611                throw ne w SOAPExce ption(e);
  1612           }
  1613           re turn retVa l;
  1614       }
  1615  
  1616       @Overr ide
  1617       public  boolean s etProvider Flags(JMea dowsQuery  queryBean,  String fl ags) throw s SOAPExce ption {
  1618           lo g("setProv iderFlags" , queryBea n);
  1619  
  1620           bo olean bRet  = false;
  1621           tr y {
  1622                JMeadows Data port  = getJMead owsDataPor t();
  1623                bRet = p ort.setPro viderFlags (queryBean , flags);
  1624           }  catch (Exc eption e)  {
  1625                logError (e);
  1626                throw ne w SOAPExce ption(e);
  1627           }
  1628           re turn bRet;
  1629       }
  1630  
  1631       @Overr ide
  1632       public  String ge tProviderF lags(JMead owsQuery q ueryBean)  throws SOA PException  {
  1633           lo g("getProv iderFlags" , queryBea n);
  1634  
  1635           St ring retVa l = "";
  1636           tr y {
  1637                JMeadows Data port  = getJMead owsDataPor t();
  1638                retVal =  port.getP roviderFla gs(queryBe an);
  1639           }  catch (Exc eption e)  {
  1640                logError (e);
  1641                throw ne w SOAPExce ption(e);
  1642           }
  1643           re turn retVa l;
  1644       }
  1645  
  1646   //    @Ove rride
  1647   //    publ ic IehrUse rProfile g etIehrUser Profile(St ring smart CardID, St ring smart CardAgency ) throws S OAPExcepti on {
  1648   //         return get IehrUserPr ofile(smar tCardID, s martCardAg ency, "");
  1649   //    }
  1650  
  1651       @Overr ide
  1652       public  IehrUserP rofile get IehrUserPr ofile(Stri ng smartCa rdID, Stri ng smartCa rdAgency,  String ema ilAddress)  throws SO APExceptio n {
  1653           Ie hrUserProf ile retVal  = null;
  1654           tr y {
  1655                JMeadows Data port  = getJMead owsDataPor t();
  1656                retVal =  port.getI ehrUserPro file(smart CardID, sm artCardAge ncy, email Address);
  1657           }  catch (Exc eption e)  {
  1658                logError (e);
  1659                throw ne w SOAPExce ption(e);
  1660           }
  1661           re turn retVa l;
  1662       }
  1663  
  1664       @Overr ide
  1665       public  boolean s etIehrUser Profile(Ie hrUserProf ile userPr ofile) thr ows SOAPEx ception {
  1666           bo olean bRet  = false;
  1667           tr y {
  1668                JMeadows Data port  = getJMead owsDataPor t();
  1669                bRet = p ort.setIeh rUserProfi le(userPro file);
  1670           }  catch (Exc eption e)  {
  1671                logError (e);
  1672                throw ne w SOAPExce ption(e);
  1673           }
  1674           re turn bRet;
  1675       }
  1676  
  1677       @Overr ide
  1678       public  String ge tAppName()  {
  1679           re turn appNa me;
  1680       }
  1681  
  1682       @Overr ide
  1683       public  void setA ppName(Str ing appNam e) {
  1684           th is.appName  = appName ;
  1685       }
  1686  
  1687       @Overr ide
  1688       public  List<Site > getSites () throws  SOAPExcept ion {
  1689           Li st<Site> r etVal = nu ll;
  1690           tr y {
  1691                JMeadows Data port  = getJMead owsDataPor t();
  1692                retVal =  port.getS ites();
  1693           }  catch (Exc eption e)  {
  1694                logError (e);
  1695                throw ne w SOAPExce ption(e);
  1696           }
  1697           re turn retVa l;
  1698       }
  1699  
  1700       @Overr ide
  1701       public  List<Audi tEntry> ge tLoginInfo (String ca rdID, Stri ng emailAd dress) thr ows SOAPEx ception {
  1702           Li st<AuditEn try> retVa l = null;
  1703           tr y {
  1704                JMeadows Data port  = getJMead owsDataPor t();
  1705                retVal =  port.getL oginInfo(c ardID, ema ilAddress) ;
  1706           }  catch (Exc eption e)  {
  1707                logError (e);
  1708                throw ne w SOAPExce ption(e);
  1709           }
  1710           re turn retVa l;
  1711       }
  1712  
  1713   //    @Ove rride
  1714   //    publ ic String  getService Errors() t hrows SOAP Exception  {
  1715   //         String ret Val = null ;
  1716   //         try {
  1717   //             JMeado wsData por t = getJMe adowsDataP ort();
  1718   //             retVal  = port.ge tServiceEr rors();
  1719   //         } catch (E xception e ) {
  1720   //             logErr or(e);
  1721   //             throw  new SOAPEx ception(e) ;
  1722   //         }
  1723   //         return ret Val;
  1724   //    }
  1725  
  1726       @Overr ide
  1727       public  AuthUserI nfo getAut hUser(Auth UserInfo a uthUserInf oQuery) th rows SOAPE xception {
  1728           Au thUserInfo  retVal =  null;
  1729  
  1730           tr y {
  1731                JMeadows Data port  = getJMead owsDataPor t();
  1732                retVal =  port.getA uthUser(au thUserInfo Query);
  1733           }  catch (Exc eption e)  {
  1734                logError (e);
  1735                throw ne w SOAPExce ption(e);
  1736           }
  1737  
  1738           re turn retVa l;
  1739       }
  1740  
  1741       @Overr ide
  1742       public  List<Pati ent> getRe centlyView edPatients (String us erId) thro ws SOAPExc eption {
  1743           Li st<Patient > patients  = null;
  1744  
  1745           tr y {
  1746                JMeadows Data port  = getJMead owsDataPor t();
  1747                patients  = port.ge tRecentlyV iewedPatie nts(userId );
  1748           }
  1749           ca tch (Excep tion e) {
  1750                logError (e);
  1751                throw ne w SOAPExce ption(e);
  1752           }
  1753  
  1754           re turn patie nts;
  1755       }
  1756  
  1757       @Overr ide
  1758       public  String ge tPatientDo cumentVixS tudyViewer Url(JMeado wsQuery qu eryBean, P atientDocu ment docum ent) throw s SOAPExce ption {
  1759           tr y {
  1760                JMeadows Data port  = getJMead owsDataPor t();
  1761                return p ort.getPat ientDocume ntVixStudy ViewerUrl( queryBean,  document) ;
  1762           }  catch (Exc eption e)  {
  1763                logError (e);
  1764                throw ne w SOAPExce ption(e);
  1765           }
  1766       }
  1767  
  1768       @Overr ide
  1769       public  String ge tEncounter DocumentVi xStudyView erUrl(JMea dowsQuery  queryBean,  String do cumentId,  String doc umentSiteI d) throws  SOAPExcept ion {
  1770           tr y {
  1771                JMeadows Data port  = getJMead owsDataPor t();
  1772                return p ort.getEnc ounterDocu mentVixStu dyViewerUr l(queryBea n, documen tId, docum entSiteId) ;
  1773           }  catch (Exc eption e)  {
  1774                logError (e);
  1775                throw ne w SOAPExce ption(e);
  1776           }
  1777       }
  1778  
  1779       @Overr ide
  1780       public  String ge tRadiology VixStudyVi ewerUrl(JM eadowsQuer y queryBea n, Radiolo gyReport r adiologyRe port) thro ws SOAPExc eption {
  1781           tr y {
  1782                JMeadows Data port  = getJMead owsDataPor t();
  1783                return p ort.getRad iologyVixS tudyViewer Url(queryB ean, radio logyReport );
  1784           }  catch (Exc eption e)  {
  1785                logError (e);
  1786                throw ne w SOAPExce ption(e);
  1787           }
  1788       }
  1789  
  1790       @Overr ide
  1791       public  FreeTextR eport getP atientHeal thSummary( JMeadowsQu ery queryB ean) throw s SOAPExce ption {
  1792           tr y {
  1793                JMeadows Data port  = getJMead owsDataPor t();
  1794                return p ort.getPat ientHealth Summary(qu eryBean);
  1795           }  catch (Exc eption e)  {
  1796                logError (e);
  1797                throw ne w SOAPExce ption(e);
  1798           }
  1799       }
  1800  
  1801       @Overr ide
  1802       public  List<Heal thSummaryT ypeList> g etPatientH ealthSumma ryTypes(JM eadowsQuer y queryBea n) throws  SOAPExcept ion {
  1803           tr y {
  1804                JMeadows Data port  = getJMead owsDataPor t();
  1805                return p ort.getPat ientHealth SummaryTyp es(queryBe an);
  1806           }  catch (Exc eption e)  {
  1807                logError (e);
  1808                throw ne w SOAPExce ption(e);
  1809           }
  1810       }
  1811  
  1812       @Overr ide
  1813       public  List<Pce>  getPcesFo rNote(JMea dowsQuery  queryBean)  throws SO APExceptio n {
  1814           tr y {
  1815                JMeadows Data port  = getJMead owsDataPor t();
  1816                return p ort.getPce sForNote(q ueryBean);
  1817           }  catch (Exc eption e)  {
  1818                logError (e);
  1819                throw ne w SOAPExce ption(e);
  1820           }
  1821       }
  1822  
  1823       privat e void log Error(Exce ption e){
  1824           lo gger.error ("JLV ERRO R: " + e.g etMessage( ), e);
  1825       }
  1826   }