50884. EPMO Open Source Coordination Office Redaction File Detail Report

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

50884.1 Files compared

# Location File Last Modified
1 CV_src.zip\CVVistaDataService\src\main\java\gov\va\med\vds\common AppConfig.java Wed May 1 18:46:27 2019 UTC
2 CV_src.zip\CVVistaDataService\src\main\java\gov\va\med\vds\common AppConfig.java Tue May 28 17:38:31 2019 UTC

50884.2 Comparison summary

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

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

50884.4 Active regular expressions

No regular expressions were active.

50884.5 Comparison detail

  1   /*
  2    * Janus 4 .0 (c)
  3    * Copyrig ht (c) 201 6 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    *      Ho norable Se nator Dani el K. Inou ye
  7    *      VA  Pacific I slands Hea lth Care S ystem
  8    *      Tr ipler Army  Medical C enter
  9    */
  10    
  11    
  12   package go v.va.med.v ds.common;
  13  
  14   import gov .va.med.fo undations. utilities. EncryptUti l;
  15   import gov .va.med.rp c.StringUt ils;
  16   import gov .va.med.vh ahon.commo n.Utils;
  17   import org .slf4j.Log ger;
  18   import org .slf4j.Log gerFactory ;
  19  
  20   import jav a.io.FileI nputStream ;
  21   import jav a.io.FileN otFoundExc eption;
  22   import jav a.io.IOExc eption;
  23   import jav a.io.Input Stream;
  24   import jav a.util.Pro perties;
  25  
  26   /**
  27    * User:  D N S
  28    * Date: 8 /29/11
  29    * Time: 2 :36 PM
  30    */
  31   public cla ss AppConf ig {
  32       privat e static f inal Logge r LOGGER =  LoggerFac tory.getLo gger(AppCo nfig.class );
  33  
  34       privat e static f inal Strin g AGENCY_V A = "appco nfig.agenc y.va";
  35       privat e static f inal Strin g AGENCY_D OD = "appc onfig.agen cy.dod";
  36       privat e static f inal Strin g LOG4J_PR OPS = "app config.log 4j.props";
  37       privat e static f inal Strin g APP_ENVI RONMENT =  "app.envir onment";
  38       privat e static f inal Strin g APP_VERS ION = "app .version";
  39       privat e static f inal Strin g NON_BSE_ SECURITY_P HRASE = "a ppconfig.a uthenticat ion.nonBse SecurityPh rase";
  40       privat e static f inal Strin g REQUEST_ TIMEOUT_MS  = "appcon fig.reques t.timeout. ms";
  41       privat e static f inal Strin g CONNECTI ON_TIMEOUT _MS = "app config.con nection.ti meout.ms";
  42  
  43       privat e static f inal Strin g VLER_DQ_ URL = "app config.vle r.dq.url";
  44       privat e static f inal Strin g VLER_DR_ URL = "app config.vle r.dr.url";
  45       privat e static f inal Strin g VLER_DQ_ START_DATE _YEAR = "a ppconfig.v ler.dq.sta rtDateYear ";
  46       privat e static f inal Strin g VLER_DQ_ END_DATE_Y EAR_OFFSET  = "appcon fig.vler.d q.endDateY earOffset" ;
  47   //    priv ate static  final Str ing VLER_P D_URL = "a ppconfig.v ler.pd.url ";
  48   //    priv ate static  final Str ing VLER_P A_URL = "a ppconfig.v ler.pa.url ";
  49       privat e static f inal Strin g VLER_DAS _URL = "ap pconfig.vl er.das.url ";
  50       privat e static f inal Strin g VLER_DAS _CALLBACK  = "appconf ig.vler.da s.callback ";
  51       privat e static f inal Strin g VLER_DAS _EMPTY_NAR RATIVES =  "appconfig .vler.das. emptyNarra tives";
  52  
  53       privat e static f inal Strin g EVIX_STU DYQUERY_UR L = "appco nfig.evix. studyquery .url";
  54       privat e static f inal Strin g EVIX_VIX _ENDPOINT  = "appconf ig.evix.vi xEndpoint" ;
  55       privat e static f inal Strin g EVIX_REQ UEST_TIMEO UT = "appc onfig.evix .request.t imeout.ms" ;
  56       privat e static f inal Strin g EVIX_CON NECTION_TI MEOUT = "a ppconfig.e vix.connec tion.timeo ut.ms";
  57       privat e static f inal Strin g EVIX_VAL IDATION_BY PASS = "ap pconfig.ev ix.isVixVa lidationBy pass";
  58  
  59       privat e static f inal Strin g VI_STUDY _URL = "ap pconfig.vi .study.url ";
  60       privat e static f inal Strin g VI_IMAGE _URL = "ap pconfig.vi .image.url ";
  61       privat e static f inal Strin g VI_SRVCA CCT_TOKEN  = "appconf ig.vi.srvc acct.token ";
  62       privat e static f inal Strin g VI_SRVCA CCT_SITENA ME = "appc onfig.vi.s rvcacct.si tenName";
  63       privat e static f inal Strin g VI_SRVCA CCT_SITENU MBER = "ap pconfig.vi .srvcacct. siteNumber ";
  64       privat e static f inal Strin g VI_SRVCA CCT_TRANSA CTION_ID =  "appconfi g.vi.srvca cct.transa ctionId";
  65       privat e static f inal Strin g VI_GM_EX EC = "appc onfig.vi.g m.exec";
  66  
  67       //cons tants
  68       privat e static f inal Strin g PROTOCOL _RPC = "RP C";
  69       privat e static f inal Strin g PROTOCOL _CACHE = " CACHE";
  70       privat e static f inal Strin g DATASOUR CE = "appc onfig.data source";
  71  
  72       privat e final st atic int R PC_CONNECT ION_THREAD _CORE_POOL _SIZE_DEFA ULT = 200;
  73       privat e final st atic int R PC_CONNECT ION_THREAD _MAX_POOL_ SIZE_DEFAU LT = 600;
  74       privat e final st atic int R PC_CONNECT ION_THREAD _BLOCKING_ QUEUE_SIZE _DEFAULT =  25;
  75  
  76       privat e final st atic int P ARSER_THRE AD_CORE_PO OL_SIZE_DE FAULT = 10 0;
  77       privat e final st atic int P ARSER_THRE AD_MAX_POO L_SIZE_DEF AULT = 300 ;
  78       privat e final st atic int P ARSER_THRE AD_BLOCKIN G_QUEUE_SI ZE_DEFAULT  = 25;
  79  
  80       privat e final st atic int T HREAD_TIME OUT_SECOND S_DEFAULT  = 120;
  81       privat e final st atic int T HREAD_KEEP ALIVE_SECO NDS_DEFAUL T = 60;
  82  
  83       privat e final in t MAX_DATA  = 3000000 0;
  84       privat e final in t EXPECTED _BUFFER_DA TA = 1024;
  85       
  86       privat e static f inal Strin g DISABLE_ CACHED_THR EAD_POOL =  "appconfi g.thread.d isableCach edThreadPo ol";
  87       privat e static f inal Strin g DISABLE_ SINGLE_PAR SE_THREAD_ POOL = "ap pconfig.th read.disab leSinglePa rsePool";
  88       privat e static f inal Strin g RPC_CONN ECTION_THR EAD_USE_MA X_CACHED_P OOL_SIZE =  "appconfi g.rpc.thre ad.useMaxC achedPoolS ize";
  89  
  90       privat e static f inal Strin g RPC_CONN ECTION_THR EAD_CORE_P OOL_SIZE =  "appconfi g.rpc.thre ad.corePoo lSize";
  91       privat e static f inal Strin g RPC_CONN ECTION_THR EAD_MAX_PO OL_SIZE =  "appconfig .rpc.threa d.maxPoolS ize";
  92       privat e static f inal Strin g RPC_CONN ECTION_THR EAD_BLOCKI NG_QUEUE_S IZE = "app config.rpc .thread.bl ockingQueu eSize";
  93       privat e static f inal Strin g RPC_CONN ECTION_THR EAD_TIMEOU T_SECONDS  = "appconf ig.rpc.thr ead.timeou t.seconds" ;
  94       privat e static f inal Strin g RPC_CONN ECTION_THR EAD_POOL_K EEP_ALIVE_ SECONDS =  "appconfig .rpc.threa d.keepaliv e.seconds" ;
  95  
  96       privat e static f inal Strin g PARSER_T HREAD_CORE _POOL_SIZE  = "appcon fig.parse. thread.cor ePoolSize" ;
  97       privat e static f inal Strin g PARSER_T HREAD_MAX_ POOL_SIZE  = "appconf ig.parse.t hread.maxP oolSize";
  98       privat e static f inal Strin g PARSER_T HREAD_BLOC KING_QUEUE _SIZE = "a ppconfig.p arse.threa d.blocking QueueSize" ;
  99       privat e static f inal Strin g PARSER_T HREAD_TIME OUT_SECOND S = "appco nfig.parse .thread.ti meout.seco nds";
  100       privat e static f inal Strin g PARSER_T HREAD_POOL _KEEP_ALIV E_SECONDS  = "appconf ig.parse.t hread.keep alive.seco nds";
  101       privat e static f inal Strin g PARSER_T HREAD_USE_ MAX_CACHED _POOL_SIZE  = "appcon fig.parse. thread.use MaxPoolSiz e";
  102  
  103       privat e static f inal Strin g PARSER_T HREAD_CORE _POOL_SIZE _ENCOUNTER S = "appco nfig.parse .thread.co rePoolSize .encounter s";
  104       privat e static f inal Strin g PARSER_T HREAD_MAX_ POOL_SIZE_ ENCOUNTERS  = "appcon fig.parse. thread.max PoolSize.e ncounters" ;
  105       privat e static f inal Strin g PARSER_T HREAD_BLOC KING_QUEUE _SIZE_ENCO UNTERS = " appconfig. parse.thre ad.blockin gQueueSize .encounter s";
  106       privat e static f inal Strin g PARSER_T HREAD_CORE _POOL_SIZE _LABS = "a ppconfig.p arse.threa d.corePool Size.labs" ;
  107       privat e static f inal Strin g PARSER_T HREAD_MAX_ POOL_SIZE_ LABS = "ap pconfig.pa rse.thread .maxPoolSi ze.labs";
  108       privat e static f inal Strin g PARSER_T HREAD_BLOC KING_QUEUE _SIZE_LABS  = "appcon fig.parse. thread.blo ckingQueue Size.labs" ;
  109       privat e static f inal Strin g PARSER_T HREAD_CORE _POOL_SIZE _NOTES = " appconfig. parse.thre ad.corePoo lSize.note s";
  110       privat e static f inal Strin g PARSER_T HREAD_MAX_ POOL_SIZE_ NOTES = "a ppconfig.p arse.threa d.maxPoolS ize.notes" ;
  111       privat e static f inal Strin g PARSER_T HREAD_BLOC KING_QUEUE _SIZE_NOTE S = "appco nfig.parse .thread.bl ockingQueu eSize.note s";
  112       privat e static f inal Strin g PARSER_T HREAD_CORE _POOL_SIZE _ORDERS =  "appconfig .parse.thr ead.corePo olSize.ord ers";
  113       privat e static f inal Strin g PARSER_T HREAD_MAX_ POOL_SIZE_ ORDERS = " appconfig. parse.thre ad.maxPool Size.order s";
  114       privat e static f inal Strin g PARSER_T HREAD_BLOC KING_QUEUE _SIZE_ORDE RS = "appc onfig.pars e.thread.b lockingQue ueSize.ord ers";
  115       privat e static f inal Strin g PARSER_T HREAD_CORE _POOL_SIZE _MEDS = "a ppconfig.p arse.threa d.corePool Size.meds" ;
  116       privat e static f inal Strin g PARSER_T HREAD_MAX_ POOL_SIZE_ MEDS = "ap pconfig.pa rse.thread .maxPoolSi ze.meds";
  117       privat e static f inal Strin g PARSER_T HREAD_BLOC KING_QUEUE _SIZE_MEDS  = "appcon fig.parse. thread.blo ckingQueue Size.meds" ;
  118       
  119  
  120       privat e static f inal int P ARSER_BATC H_SIZE_DEF AULT = 25;
  121       privat e static f inal Strin g PARSER_B ATCH_SIZE_ ORDERS = " appconfig. parse.batc hSize.orde rs";
  122       privat e static f inal Strin g PARSER_B ATCH_SIZE_ NOTES = "a ppconfig.p arse.batch Size.notes ";
  123       privat e static f inal Strin g PARSER_B ATCH_SIZE_ APPOINTMEN TS = "appc onfig.pars e.batchSiz e.appointm ents";
  124       privat e static f inal Strin g PARSER_B ATCH_SIZE_ ENCOUNTERS  = "appcon fig.parse. batchSize. encounters ";
  125       privat e static f inal Strin g PARSER_B ATCH_SIZE_ ALLERGIES  = "appconf ig.parse.b atchSize.a llergies";
  126       privat e static f inal Strin g PARSER_B ATCH_SIZE_ REMINDERS  = "appconf ig.parse.b atchSize.r eminders";
  127       privat e static f inal Strin g PARSER_B ATCH_SIZE_ IMMUNIZATI ONS = "app config.par se.batchSi ze.immuniz ations";
  128       privat e static f inal Strin g PARSER_B ATCH_SIZE_ INSURANCE  = "appconf ig.parse.b atchSize.i nsurance";
  129       privat e static f inal Strin g PARSER_B ATCH_SIZE_ LAB_PANELS  = "appcon fig.parse. batchSize. lab.panels ";
  130       privat e static f inal Strin g PARSER_B ATCH_SIZE_ LAB_ACCESS IONS = "ap pconfig.pa rse.batchS ize.lab.ac cessions";
  131       privat e static f inal Strin g PARSER_B ATCH_SIZE_ MEDICATION S = "appco nfig.parse .batchSize .medicatio ns";
  132       privat e static f inal Strin g PARSER_B ATCH_SIZE_ PATIENT_FL AGS = "app config.par se.batchSi ze.patient .flags";
  133       privat e static f inal Strin g PARSER_B ATCH_SIZE_ PCE = "app config.par se.batchSi ze.pce";
  134       privat e static f inal Strin g PARSER_B ATCH_SIZE_ RADIOLOGY  = "appconf ig.parse.b atchSize.r adiology";
  135       privat e static f inal Strin g PARSER_B ATCH_SIZE_ VITALS = " appconfig. parse.batc hSize.vita ls";
  136  
  137       //rest  configs
  138       privat e static f inal Strin g REST_CON NECTION_TI MEOUT_MS =  "appconfi g.vler.das .REST_CONN ECTION_TIM EOUT_MS";
  139       privat e static f inal Strin g REST_REA D_TIMEOUT_ MS = "appc onfig.vler .das.REST_ READ_TIMEO UT_MS";
  140       privat e static f inal Strin g IS_DAS_C ACHE_ENABL ED = "appc onfig.vler .das.CACHE _ENABLED";
  141       privat e static f inal Strin g DAS_TEST _PAT = "ap pconfig.vl er.das.tes tpat";
  142       privat e static f inal Strin g DAS_ENAB LE_COMMUNI TY_SUMMARI ES = "appc onfig.vler .das.enabl eHealthSum maries";
  143       privat e static f inal Strin g DAS_DISA BLE_SSL_VE RIFICATION  = "appcon fig.vler.d as.disable SSLVerific ation";
  144  
  145       privat e static f inal Strin g USE_ENHA NCED_DEBUG  = "appcon fig.debug. enhanced";
  146  
  147       privat e static f inal Strin g ENCRYPTI ON_KEY_ARR AY = "appc onfig.encr yption.key .array";
  148  
  149       privat e static f inal Strin g BSE_TOKE N_ENABLED  = "appconf ig.bse.tok en.enabled ";
  150       privat e static f inal Strin g BSE_TOKE N_PHRASE =  "appconfi g.bse.toke n.bseToken Phrase";
  151  
  152       privat e static f inal AppCo nfig INSTA NCE = new  AppConfig( );
  153  
  154       privat e Properti es appProp erties;
  155  
  156       privat e AppConfi g() {
  157  
  158           ap pPropertie s = new Pr operties() ;
  159  
  160           lo adAppMetaP roperties( );
  161           lo adAppConfi gPropertie s();
  162       }
  163  
  164       privat e void loa dAppMetaPr operties()  {
  165           St ring prope rtiesFile  = "applica tion.prope rties";
  166  
  167           In putStream  inputStrea m = null;
  168  
  169           Cl assLoader  classLoade r = AppCon fig.class. getClassLo ader();
  170           if  (classLoa der != nul l) {
  171                inputStr eam = clas sLoader.ge tResourceA sStream(pr opertiesFi le);
  172           }
  173  
  174           tr y {
  175                appPrope rties.load (inputStre am);
  176           }  catch (IOE xception e ) {
  177                LOGGER.e rror("Fail ed load ap plication. properties : " + e.ge tMessage() );
  178                throw ne w RuntimeE xception(e );
  179           }  finally {
  180                try {
  181                    if ( inputStrea m != null)  {
  182                         inputStrea m.close();
  183                    }
  184                } catch  (IOExcepti on e) {
  185                    LOGG ER.error(e .getMessag e());
  186                }
  187           }
  188       }
  189  
  190       privat e void loa dAppConfig Properties () {
  191           St ring prope rtiesFile  = "vistada taservice. properties ";
  192  
  193           In putStream  inputStrea m = null;
  194  
  195           Cl assLoader  classLoade r = AppCon fig.class. getClassLo ader();
  196           if  (classLoa der != nul l) {
  197                inputStr eam = clas sLoader.ge tResourceA sStream(pr opertiesFi le);
  198           }
  199  
  200           if  (inputStr eam != nul l) {
  201                try {
  202                    appP roperties. load(input Stream);
  203                } catch  (IOExcepti on e) {
  204                    LOGG ER.error(" Failed loa d appconfi g properti es: " + e. getMessage ());
  205                    thro w new Runt imeExcepti on(e);
  206                } finall y {
  207                    try  {
  208                         inputStrea m.close();
  209                    } ca tch (IOExc eption e)  {
  210                         LOGGER.err or(e.getMe ssage());
  211                    }
  212                }
  213           }
  214  
  215           tr y {
  216  
  217                inputStr eam = new  FileInputS tream(prop ertiesFile );
  218  
  219                try {
  220                    appP roperties. load(input Stream);
  221                } catch  (IOExcepti on e) {
  222                    LOGG ER.error(" Failed loa d appconfi g properti es: " + e. getLocaliz edMessage( ));
  223                    thro w new Runt imeExcepti on(e);
  224                } finall y {
  225                    try  {
  226                         inputStrea m.close();
  227                    } ca tch (IOExc eption e)  {
  228                         LOGGER.err or(e.getMe ssage());
  229                    }
  230                }
  231  
  232           }  catch (Fil eNotFoundE xception e ) {
  233                LOGGER.i nfo("Faile d to load  appconfig  from file  (vistadata service.pr operties)  -"
  234                         + " utiliz ing defaul t appconfi g properti es.");
  235  
  236           }
  237       }
  238  
  239       public  static fi nal AppCon fig getIns tance() {
  240           re turn INSTA NCE;
  241       }
  242  
  243       public  final Str ing getPro tocolRPC()  {
  244           re turn PROTO COL_RPC;
  245       }
  246  
  247       public  final Str ing getPro tocolCache () {
  248           re turn PROTO COL_CACHE;
  249       }
  250  
  251       public  final Str ing getAge ncyVA() {
  252           re turn appPr operties.g etProperty (AGENCY_VA );
  253       }
  254  
  255       public  final Str ing getAge ncyDOD() {
  256           re turn appPr operties.g etProperty (AGENCY_DO D);
  257       }
  258  
  259       public  final Str ing getLog 4jProperti es() {
  260           re turn appPr operties.g etProperty (LOG4J_PRO PS);
  261       }
  262  
  263       public  final Str ing getApp Environmen t() {
  264           re turn appPr operties.g etProperty (APP_ENVIR ONMENT);
  265       }
  266  
  267       public  final Str ing getApp Version()  {
  268           re turn appPr operties.g etProperty (APP_VERSI ON);
  269       }
  270  
  271       public  final Str ing getNon BseSecurit yPhrase()  {
  272           re turn appPr operties.g etProperty (NON_BSE_S ECURITY_PH RASE);
  273       }
  274  
  275       public  final Str ing getBse TokenPhras e(){
  276           re turn Encry ptUtil.dec rypt(appPr operties.g etProperty (BSE_TOKEN _PHRASE));
  277       }
  278  
  279       public  final int  getConnec tionTimeou tMs() {
  280           re turn Integ er.parseIn t(appPrope rties.getP roperty(CO NNECTION_T IMEOUT_MS) );
  281       }
  282  
  283       public  final int  getReques tTimeoutMs () {
  284           re turn Integ er.parseIn t(appPrope rties.getP roperty(RE QUEST_TIME OUT_MS));
  285       }
  286  
  287       public  final Str ing getVLE R_DQ_URL()  {
  288           re turn appPr operties.g etProperty (VLER_DQ_U RL);
  289       }
  290  
  291       public  final Str ing getVLE R_DR_URL()  {
  292           re turn appPr operties.g etProperty (VLER_DR_U RL);
  293       }
  294  
  295       public  final Str ing getVLE R_DAS_URL( ) {
  296           re turn Encry ptUtil.dec rypt(appPr operties.g etProperty (VLER_DAS_ URL));
  297       }
  298  
  299       public  final Str ing getVLE R_DQ_START _DATE_YEAR () {
  300           re turn appPr operties.g etProperty (VLER_DQ_S TART_DATE_ YEAR, "");
  301       }
  302  
  303       public  final Str ing getVLE R_DQ_END_D ATE_YEAR_O FFSET() {
  304           re turn appPr operties.g etProperty (VLER_DQ_E ND_DATE_YE AR_OFFSET,  "");
  305       }
  306  
  307       public  final Str ing getVLE R_DAS_CALL BACK() {
  308           re turn appPr operties.g etProperty (VLER_DAS_ CALLBACK);
  309       }
  310  
  311       public  final Str ing getVLE R_DAS_EMPT Y_NARRATIV ES() {
  312           re turn appPr operties.g etProperty (VLER_DAS_ EMPTY_NARR ATIVES, "< text></tex t>,<text/> ");
  313       }
  314       public  final Str ing getEvi xStudyquer yUrl() { r eturn Encr yptUtil.de crypt(appP roperties. getPropert y(EVIX_STU DYQUERY_UR L));}
  315  
  316       public  final Str ing getEvi xVixEndpoi nt() { ret urn Encryp tUtil.decr ypt(appPro perties.ge tProperty( EVIX_VIX_E NDPOINT)); }
  317  
  318       public  final boo lean isVix Validation Bypass(){
  319           re turn Boole an.valueOf (appProper ties.getPr operty(EVI X_VALIDATI ON_BYPASS,  "false")) ;
  320       }
  321  
  322       public  final int  getEvixRe questTimeo ut() {
  323           re turn Integ er.parseIn t(appPrope rties.getP roperty(EV IX_REQUEST _TIMEOUT)) ;
  324       }
  325  
  326       public  final int  getEvixCo nnectionTi meout() {
  327           re turn Integ er.parseIn t(appPrope rties.getP roperty(EV IX_CONNECT ION_TIMEOU T));
  328       }
  329  
  330       public  final Str ing getViS tudyUrl()  {
  331           re turn Encry ptUtil.dec rypt(appPr operties.g etProperty (VI_STUDY_ URL));
  332       }
  333  
  334       public  final Str ing getViI mageUrl()  {
  335           re turn Encry ptUtil.dec rypt(appPr operties.g etProperty (VI_IMAGE_ URL));
  336       }
  337  
  338       public  final Str ing getViS rvcAcctTok en() {
  339           re turn Encry ptUtil.dec rypt(appPr operties.g etProperty (VI_SRVCAC CT_TOKEN)) ;
  340       }
  341  
  342       public  final Str ing getViS rvcAcctSit eName() {
  343           re turn appPr operties.g etProperty (VI_SRVCAC CT_SITENAM E);
  344       }
  345  
  346       public  final Str ing getViS rvcAcctSit enumber()  {
  347           re turn appPr operties.g etProperty (VI_SRVCAC CT_SITENUM BER);
  348       }
  349  
  350       public  final Str ing getViS rvcAcctTra nsactionId () {
  351           re turn appPr operties.g etProperty (VI_SRVCAC CT_TRANSAC TION_ID);
  352       }
  353  
  354       public  final Str ing getViG mExec() {
  355           re turn Encry ptUtil.dec rypt(appPr operties.g etProperty (VI_GM_EXE C));
  356       }
  357  
  358       public  final Str ing getDat aSource()  {
  359           re turn Encry ptUtil.dec rypt(appPr operties.g etProperty (DATASOURC E));
  360       }
  361  
  362       public  int getRe stConnecti onTimeoutM S() {
  363           re turn Integ er.parseIn t(appPrope rties.getP roperty(RE ST_CONNECT ION_TIMEOU T_MS));
  364       }
  365  
  366       public  int getRe stReadTime outMS() {
  367           re turn Integ er.parseIn t(appPrope rties.getP roperty(RE ST_READ_TI MEOUT_MS)) ;
  368       }
  369  
  370       public  int getMA X_DATA() {
  371           re turn MAX_D ATA;
  372       }
  373  
  374       public  int getEX PECTED_BUF FER_DATA()  {
  375           re turn EXPEC TED_BUFFER _DATA;
  376       }
  377  
  378       public  Propertie s getPrope rties() {
  379           re turn appPr operties;
  380       }
  381  
  382       public  final boo lean enabl eDASCommun itySummari es(){
  383           re turn Boole an.valueOf (appProper ties.getPr operty(DAS _ENABLE_CO MMUNITY_SU MMARIES));
  384       }
  385  
  386       public  final boo lean disab leDASSSLVe rify(){
  387           re turn Boole an.valueOf (appProper ties.getPr operty(DAS _DISABLE_S SL_VERIFIC ATION, "fa lse"));
  388       }
  389  
  390       public  final Str ing getDas TestPat()  {return ap pPropertie s.getPrope rty(DAS_TE ST_PAT, "" ); }
  391  
  392   //    publ ic final S tring getV LER_PD_URL ()
  393   //    {
  394   //         return app Properties .getProper ty(VLER_PD _URL);
  395   //    }
  396   //
  397   //    publ ic final S tring getV LER_PA_URL ()
  398   //    {
  399   //         return app Properties .getProper ty(VLER_PA _URL);
  400   //    }
  401  
  402       public  final boo lean disab leCachedTh readPool()  {
  403           re turn Boole an.valueOf (appProper ties.getPr operty(DIS ABLE_CACHE D_THREAD_P OOL));
  404       }
  405  
  406       public  final  bo olean disa bleSingleP arsePool()  {
  407           re turn Boole an.valueOf (appProper ties.getPr operty(DIS ABLE_SINGL E_PARSE_TH READ_POOL) );
  408       }
  409  
  410       public  final  bo olean useC onnectionC achedThrea dPoolMaxSi ze() {
  411           re turn Boole an.valueOf (appProper ties.getPr operty(RPC _CONNECTIO N_THREAD_U SE_MAX_CAC HED_POOL_S IZE));
  412       }
  413  
  414       public  final  bo olean useP arseCached ThreadPool MaxSize ()  {
  415           re turn Boole an.valueOf (appProper ties.getPr operty(PAR SER_THREAD _USE_MAX_C ACHED_POOL _SIZE));
  416       }
  417  
  418       public  final int  getRPCCon nectionMax ThreadPool Size() {
  419           in t rtn;
  420           tr y {
  421                rtn = In teger.pars eInt(appPr operties.g etProperty (RPC_CONNE CTION_THRE AD_MAX_POO L_SIZE));
  422           }  catch (Num berFormatE xception n fe) {
  423                rtn = RP C_CONNECTI ON_THREAD_ MAX_POOL_S IZE_DEFAUL T;
  424           }
  425           re turn rtn;
  426       }
  427  
  428       public  final int  getRPCCon nectionThr eadBlockin gQueueSize () {
  429           in t rtn;
  430           tr y {
  431                rtn = In teger.pars eInt(appPr operties.g etProperty (RPC_CONNE CTION_THRE AD_BLOCKIN G_QUEUE_SI ZE));
  432           }  catch (Num berFormatE xception n fe) {
  433                rtn = RP C_CONNECTI ON_THREAD_ BLOCKING_Q UEUE_SIZE_ DEFAULT;
  434           }
  435           re turn rtn;
  436       }
  437  
  438       public  final int  getRPCCon nectionThr eadTimeout Seconds()  {
  439           in t rtn;
  440           tr y {
  441                rtn = In teger.pars eInt(appPr operties.g etProperty (RPC_CONNE CTION_THRE AD_TIMEOUT _SECONDS)) ;
  442           }  catch (Num berFormatE xception n fe) {
  443                rtn = TH READ_TIMEO UT_SECONDS _DEFAULT;
  444           }
  445           re turn rtn;
  446       }
  447  
  448       public  final int  getParser MaxThreadP oolSize()  {
  449           in t rtn;
  450           tr y {
  451                rtn = In teger.pars eInt(appPr operties.g etProperty (PARSER_TH READ_MAX_P OOL_SIZE)) ;
  452           }  catch (Num berFormatE xception n fe) {
  453                rtn = PA RSER_THREA D_MAX_POOL _SIZE_DEFA ULT;
  454           }
  455           re turn rtn;
  456       }
  457  
  458       public  final int  getParser ThreadBloc kingQueueS ize() {
  459           in t rtn;
  460           tr y {
  461                rtn = In teger.pars eInt(appPr operties.g etProperty (PARSER_TH READ_BLOCK ING_QUEUE_ SIZE));
  462           }  catch (Num berFormatE xception n fe) {
  463                rtn = PA RSER_THREA D_BLOCKING _QUEUE_SIZ E_DEFAULT;
  464           }
  465           re turn rtn;
  466       }
  467  
  468       public  final int  getParser ThreadTime outSeconds () {
  469           in t rtn;
  470           tr y {
  471                rtn = In teger.pars eInt(appPr operties.g etProperty (PARSER_TH READ_TIMEO UT_SECONDS ));
  472           }  catch (Num berFormatE xception n fe) {
  473                rtn = TH READ_TIMEO UT_SECONDS _DEFAULT;
  474           }
  475           re turn rtn;
  476       }
  477  
  478       public  final int  getRpcCor eThreadPoo lSize() {
  479           in t rtn;
  480           tr y {
  481                rtn = In teger.pars eInt(appPr operties.g etProperty (RPC_CONNE CTION_THRE AD_CORE_PO OL_SIZE));
  482           }  catch (Num berFormatE xception n fe) {
  483                rtn = RP C_CONNECTI ON_THREAD_ CORE_POOL_ SIZE_DEFAU LT;
  484           }
  485           re turn rtn;
  486       }
  487  
  488       public  final int  getRpcThr eadPoolKee pAliveSeco nds() {
  489           in t rtn;
  490           tr y {
  491                rtn = In teger.pars eInt(appPr operties.g etProperty (RPC_CONNE CTION_THRE AD_POOL_KE EP_ALIVE_S ECONDS));
  492           }  catch (Num berFormatE xception n fe) {
  493                rtn = TH READ_KEEPA LIVE_SECON DS_DEFAULT ;
  494           }
  495           re turn rtn;
  496       }
  497  
  498       public  final int  getParser CoreThread PoolSize()  {
  499           in t rtn;
  500           tr y {
  501                rtn = In teger.pars eInt(appPr operties.g etProperty (PARSER_TH READ_CORE_ POOL_SIZE) );
  502           }  catch (Num berFormatE xception n fe) {
  503                rtn = PA RSER_THREA D_CORE_POO L_SIZE_DEF AULT;
  504           }
  505           re turn rtn;
  506       }
  507  
  508       public  final int  getParser ThreadPool KeepAliveS econds() {
  509           in t rtn;
  510           tr y {
  511                rtn = In teger.pars eInt(appPr operties.g etProperty (PARSER_TH READ_POOL_ KEEP_ALIVE _SECONDS)) ;
  512           }  catch (Num berFormatE xception n fe) {
  513                rtn = TH READ_KEEPA LIVE_SECON DS_DEFAULT ;
  514           }
  515           re turn rtn;
  516       }
  517  
  518       public  final int  getParser CoreThread PoolSizeEn counters()  {
  519           in t rtn;
  520           tr y {
  521                rtn = In teger.pars eInt(appPr operties.g etProperty (PARSER_TH READ_CORE_ POOL_SIZE_ ENCOUNTERS ));
  522           }  catch (Num berFormatE xception n fe) {
  523                rtn = ge tParserCor eThreadPoo lSize();
  524           }
  525           re turn rtn;
  526       }
  527       
  528       public  final int  getParser MaxThreadP oolSizeEnc ounters()  {
  529           in t rtn;
  530           tr y {
  531                rtn = In teger.pars eInt(appPr operties.g etProperty (PARSER_TH READ_MAX_P OOL_SIZE_E NCOUNTERS) );
  532           }  catch (Num berFormatE xception n fe) {
  533                rtn = ge tParserMax ThreadPool Size();
  534           }
  535           re turn rtn;
  536       }
  537  
  538       public  final int  getParser ThreadBloc kingQueueS izeEncount ers() {
  539           in t rtn;
  540           tr y {
  541                rtn = In teger.pars eInt(appPr operties.g etProperty (PARSER_TH READ_BLOCK ING_QUEUE_ SIZE_ENCOU NTERS));
  542           }  catch (Num berFormatE xception n fe) {
  543                rtn = ge tParserThr eadBlockin gQueueSize ();
  544           }
  545           re turn rtn;
  546       }
  547  
  548       public  final int  getParser CoreThread PoolSizeLa bs() {
  549           in t rtn;
  550           tr y {
  551                rtn = In teger.pars eInt(appPr operties.g etProperty (PARSER_TH READ_CORE_ POOL_SIZE_ LABS));
  552           }  catch (Num berFormatE xception n fe) {
  553                rtn = ge tParserCor eThreadPoo lSize();
  554           }
  555           re turn rtn;
  556       }
  557  
  558       public  final int  getParser MaxThreadP oolSizeLab s() {
  559           in t rtn;
  560           tr y {
  561                rtn = In teger.pars eInt(appPr operties.g etProperty (PARSER_TH READ_MAX_P OOL_SIZE_L ABS));
  562           }  catch (Num berFormatE xception n fe) {
  563                rtn = ge tParserMax ThreadPool Size();
  564           }
  565           re turn rtn;
  566       }
  567  
  568       public  final int  getParser ThreadBloc kingQueueS izeLabs()  {
  569           in t rtn;
  570           tr y {
  571                rtn = In teger.pars eInt(appPr operties.g etProperty (PARSER_TH READ_BLOCK ING_QUEUE_ SIZE_LABS) );
  572           }  catch (Num berFormatE xception n fe) {
  573                rtn = ge tParserThr eadBlockin gQueueSize ();
  574           }
  575           re turn rtn;
  576       }
  577  
  578       public  final int  getParser CoreThread PoolSizeNo tes() {
  579           in t rtn;
  580           tr y {
  581                rtn = In teger.pars eInt(appPr operties.g etProperty (PARSER_TH READ_CORE_ POOL_SIZE_ NOTES));
  582           }  catch (Num berFormatE xception n fe) {
  583                rtn = ge tParserCor eThreadPoo lSize();
  584           }
  585           re turn rtn;
  586       }
  587  
  588       public  final int  getParser MaxThreadP oolSizeNot es() {
  589           in t rtn;
  590           tr y {
  591                rtn = In teger.pars eInt(appPr operties.g etProperty (PARSER_TH READ_MAX_P OOL_SIZE_N OTES));
  592           }  catch (Num berFormatE xception n fe) {
  593                rtn = ge tParserMax ThreadPool Size();
  594           }
  595           re turn rtn;
  596       }
  597  
  598       public  final int  getParser ThreadBloc kingQueueS izeNotes()  {
  599           in t rtn;
  600           tr y {
  601                rtn = In teger.pars eInt(appPr operties.g etProperty (PARSER_TH READ_BLOCK ING_QUEUE_ SIZE_NOTES ));
  602           }  catch (Num berFormatE xception n fe) {
  603                rtn = ge tParserThr eadBlockin gQueueSize ();
  604           }
  605           re turn rtn;
  606       }
  607  
  608       public  final int  getParser CoreThread PoolSizeOr ders() {
  609           in t rtn;
  610           tr y {
  611                rtn = In teger.pars eInt(appPr operties.g etProperty (PARSER_TH READ_CORE_ POOL_SIZE_ ORDERS));
  612           }  catch (Num berFormatE xception n fe) {
  613                rtn = ge tParserCor eThreadPoo lSize();
  614           }
  615           re turn rtn;
  616       }
  617  
  618       public  final int  getParser MaxThreadP oolSizeOrd ers() {
  619           in t rtn;
  620           tr y {
  621                rtn = In teger.pars eInt(appPr operties.g etProperty (PARSER_TH READ_MAX_P OOL_SIZE_O RDERS));
  622           }  catch (Num berFormatE xception n fe) {
  623                rtn = ge tParserMax ThreadPool Size();
  624           }
  625           re turn rtn;
  626       }
  627  
  628       public  final int  getParser ThreadBloc kingQueueS izeOrders( ) {
  629           in t rtn;
  630           tr y {
  631                rtn = In teger.pars eInt(appPr operties.g etProperty (PARSER_TH READ_BLOCK ING_QUEUE_ SIZE_ORDER S));
  632           }  catch (Num berFormatE xception n fe) {
  633                rtn = ge tParserThr eadBlockin gQueueSize ();
  634           }
  635           re turn rtn;
  636       }
  637  
  638       public  final int  getParser CoreThread PoolSizeMe ds() {
  639           in t rtn;
  640           tr y {
  641                rtn = In teger.pars eInt(appPr operties.g etProperty (PARSER_TH READ_CORE_ POOL_SIZE_ MEDS));
  642           }  catch (Num berFormatE xception n fe) {
  643                rtn = ge tParserCor eThreadPoo lSize();
  644           }
  645           re turn rtn;
  646       }
  647  
  648       public  final int  getParser MaxThreadP oolSizeMed s() {
  649           in t rtn;
  650           tr y {
  651                rtn = In teger.pars eInt(appPr operties.g etProperty (PARSER_TH READ_MAX_P OOL_SIZE_M EDS));
  652           }  catch (Num berFormatE xception n fe) {
  653                rtn = ge tParserMax ThreadPool Size();
  654           }
  655           re turn rtn;
  656       }
  657  
  658       public  final int  getParser ThreadBloc kingQueueS izeMeds()  {
  659           in t rtn;
  660           tr y {
  661                rtn = In teger.pars eInt(appPr operties.g etProperty (PARSER_TH READ_BLOCK ING_QUEUE_ SIZE_MEDS) );
  662           }  catch (Num berFormatE xception n fe) {
  663                rtn = ge tParserThr eadBlockin gQueueSize ();
  664           }
  665           re turn rtn;
  666       }
  667  
  668       // tru e for runn ing enhanc ed debug c ode
  669       public  final boo lean useEn hancedDebu g() {
  670           re turn Boole an.valueOf (appProper ties.getPr operty(USE _ENHANCED_ DEBUG));
  671       }
  672  
  673       // tru e for runn ing enhanc ed debug c ode
  674       public  final boo lean bseTo kenEnabled () {
  675           re turn Boole an.valueOf (appProper ties.getPr operty(BSE _TOKEN_ENA BLED));
  676       }
  677       
  678       public  static fi nal byte[]  getEmptyB ytes(){
  679           re turn new b yte[16];
  680       }
  681  
  682       public  final byt e[] getEnc ryptionKey () {
  683           if  (!StringU tils.isEmp ty(appProp erties.get Property(E NCRYPTION_ KEY_ARRAY) )) {
  684                return U tils.parse ByteArray1 6(appPrope rties.getP roperty(EN CRYPTION_K EY_ARRAY)) ;
  685           }  else {
  686                return g etEmptyByt es();
  687           }
  688       }
  689  
  690       public  final int  getParser BatchSizeO rders() {
  691           in t rtn;
  692           tr y {
  693                rtn = In teger.pars eInt(appPr operties.g etProperty (PARSER_BA TCH_SIZE_O RDERS));
  694           }  catch (Num berFormatE xception n fe) {
  695                try {
  696                    rtn  = Integer. parseInt(a ppProperti es.getProp erty(PARSE R_BATCH_SI ZE_ORDERS) );
  697                } catch  (NumberFor matExcepti on nfe2) {
  698                    rtn  = PARSER_B ATCH_SIZE_ DEFAULT;
  699                }
  700           }
  701           re turn rtn;
  702       }
  703  
  704       public  final int  getParser BatchSizeN otes() {
  705           in t rtn;
  706           tr y {
  707                rtn = In teger.pars eInt(appPr operties.g etProperty (PARSER_BA TCH_SIZE_N OTES));
  708           }  catch (Num berFormatE xception n fe) {
  709                try {
  710                    rtn  = Integer. parseInt(a ppProperti es.getProp erty(PARSE R_BATCH_SI ZE_NOTES)) ;
  711                } catch  (NumberFor matExcepti on nfe2) {
  712                    rtn  = PARSER_B ATCH_SIZE_ DEFAULT;
  713                }
  714           }
  715           re turn rtn;
  716       }
  717  
  718       public  final int  getParser BatchSizeA ppointment s() {
  719           in t rtn;
  720           tr y {
  721                rtn = In teger.pars eInt(appPr operties.g etProperty (PARSER_BA TCH_SIZE_A PPOINTMENT S));
  722           }  catch (Num berFormatE xception n fe) {
  723                try {
  724                    rtn  = Integer. parseInt(a ppProperti es.getProp erty(PARSE R_BATCH_SI ZE_APPOINT MENTS));
  725                } catch  (NumberFor matExcepti on nfe2) {
  726                    rtn  = PARSER_B ATCH_SIZE_ DEFAULT;
  727                }
  728           }
  729           re turn rtn;
  730       }
  731  
  732       public  final int  getParser BatchSizeE ncounters( ) {
  733           in t rtn;
  734           tr y {
  735                rtn = In teger.pars eInt(appPr operties.g etProperty (PARSER_BA TCH_SIZE_E NCOUNTERS) );
  736           }  catch (Num berFormatE xception n fe) {
  737                try {
  738                    rtn  = Integer. parseInt(a ppProperti es.getProp erty(PARSE R_BATCH_SI ZE_ENCOUNT ERS));
  739                } catch  (NumberFor matExcepti on nfe2) {
  740                    rtn  = PARSER_B ATCH_SIZE_ DEFAULT;
  741                }
  742           }
  743           re turn rtn;
  744       }
  745  
  746       public  final int  getParser BatchSizeA llergies()  {
  747           in t rtn;
  748           tr y {
  749                rtn = In teger.pars eInt(appPr operties.g etProperty (PARSER_BA TCH_SIZE_A LLERGIES)) ;
  750           }  catch (Num berFormatE xception n fe) {
  751                try {
  752                    rtn  = Integer. parseInt(a ppProperti es.getProp erty(PARSE R_BATCH_SI ZE_ALLERGI ES));
  753                } catch  (NumberFor matExcepti on nfe2) {
  754                    rtn  = PARSER_B ATCH_SIZE_ DEFAULT;
  755                }
  756           }
  757           re turn rtn;
  758       }
  759  
  760       public  final int  getParser BatchSizeR eminders()  {
  761           in t rtn;
  762           tr y {
  763                rtn = In teger.pars eInt(appPr operties.g etProperty (PARSER_BA TCH_SIZE_R EMINDERS)) ;
  764           }  catch (Num berFormatE xception n fe) {
  765                try {
  766                    rtn  = Integer. parseInt(a ppProperti es.getProp erty(PARSE R_BATCH_SI ZE_REMINDE RS));
  767                } catch  (NumberFor matExcepti on nfe2) {
  768                    rtn  = PARSER_B ATCH_SIZE_ DEFAULT;
  769                }
  770           }
  771           re turn rtn;
  772       }
  773  
  774       public  final int  getParser BatchSizeI mmunizatio ns() {
  775           in t rtn;
  776           tr y {
  777                rtn = In teger.pars eInt(appPr operties.g etProperty (PARSER_BA TCH_SIZE_I MMUNIZATIO NS));
  778           }  catch (Num berFormatE xception n fe) {
  779                try {
  780                    rtn  = Integer. parseInt(a ppProperti es.getProp erty(PARSE R_BATCH_SI ZE_IMMUNIZ ATIONS));
  781                } catch  (NumberFor matExcepti on nfe2) {
  782                    rtn  = PARSER_B ATCH_SIZE_ DEFAULT;
  783                }
  784           }
  785           re turn rtn;
  786       }
  787  
  788       public  final int  getParser BatchSizeI nsurance()  {
  789           in t rtn;
  790           tr y {
  791                rtn = In teger.pars eInt(appPr operties.g etProperty (PARSER_BA TCH_SIZE_I NSURANCE)) ;
  792           }  catch (Num berFormatE xception n fe) {
  793                try {
  794                    rtn  = Integer. parseInt(a ppProperti es.getProp erty(PARSE R_BATCH_SI ZE_INSURAN CE));
  795                } catch  (NumberFor matExcepti on nfe2) {
  796                    rtn  = PARSER_B ATCH_SIZE_ DEFAULT;
  797                }
  798           }
  799           re turn rtn;
  800       }
  801  
  802       public  final int  getParser BatchSizeL abPanels()  {
  803           in t rtn;
  804           tr y {
  805                rtn = In teger.pars eInt(appPr operties.g etProperty (PARSER_BA TCH_SIZE_L AB_PANELS) );
  806           }  catch (Num berFormatE xception n fe) {
  807                try {
  808                    rtn  = Integer. parseInt(a ppProperti es.getProp erty(PARSE R_BATCH_SI ZE_LAB_PAN ELS));
  809                } catch  (NumberFor matExcepti on nfe2) {
  810                    rtn  = PARSER_B ATCH_SIZE_ DEFAULT;
  811                }
  812           }
  813           re turn rtn;
  814       }
  815  
  816       public  final int  getParser BatchSizeL abAccessio ns() {
  817           in t rtn;
  818           tr y {
  819                rtn = In teger.pars eInt(appPr operties.g etProperty (PARSER_BA TCH_SIZE_L AB_ACCESSI ONS));
  820           }  catch (Num berFormatE xception n fe) {
  821                try {
  822                    rtn  = Integer. parseInt(a ppProperti es.getProp erty(PARSE R_BATCH_SI ZE_LAB_ACC ESSIONS));
  823                } catch  (NumberFor matExcepti on nfe2) {
  824                    rtn  = PARSER_B ATCH_SIZE_ DEFAULT;
  825                }
  826           }
  827           re turn rtn;
  828       }
  829  
  830       public  final int  getParser BatchSizeM edications () {
  831           in t rtn;
  832           tr y {
  833                rtn = In teger.pars eInt(appPr operties.g etProperty (PARSER_BA TCH_SIZE_M EDICATIONS ));
  834           }  catch (Num berFormatE xception n fe) {
  835                try {
  836                    rtn  = Integer. parseInt(a ppProperti es.getProp erty(PARSE R_BATCH_SI ZE_MEDICAT IONS));
  837                } catch  (NumberFor matExcepti on nfe2) {
  838                    rtn  = PARSER_B ATCH_SIZE_ DEFAULT;
  839                }
  840           }
  841           re turn rtn;
  842       }
  843  
  844       public  final int  getParser BatchSizeP atientFlag s() {
  845           in t rtn;
  846           tr y {
  847                rtn = In teger.pars eInt(appPr operties.g etProperty (PARSER_BA TCH_SIZE_P ATIENT_FLA GS));
  848           }  catch (Num berFormatE xception n fe) {
  849                try {
  850                    rtn  = Integer. parseInt(a ppProperti es.getProp erty(PARSE R_BATCH_SI ZE_PATIENT _FLAGS));
  851                } catch  (NumberFor matExcepti on nfe2) {
  852                    rtn  = PARSER_B ATCH_SIZE_ DEFAULT;
  853                }
  854           }
  855           re turn rtn;
  856       }
  857  
  858       public  final int  getParser BatchSizeP CE() {
  859           in t rtn;
  860           tr y {
  861                rtn = In teger.pars eInt(appPr operties.g etProperty (PARSER_BA TCH_SIZE_P CE));
  862           }  catch (Num berFormatE xception n fe) {
  863                try {
  864                    rtn  = Integer. parseInt(a ppProperti es.getProp erty(PARSE R_BATCH_SI ZE_PCE));
  865                } catch  (NumberFor matExcepti on nfe2) {
  866                    rtn  = PARSER_B ATCH_SIZE_ DEFAULT;
  867                }
  868           }
  869           re turn rtn;
  870       }
  871  
  872       public  final int  getParser BatchSizeR adiology()  {
  873           in t rtn;
  874           tr y {
  875                rtn = In teger.pars eInt(appPr operties.g etProperty (PARSER_BA TCH_SIZE_R ADIOLOGY)) ;
  876           }  catch (Num berFormatE xception n fe) {
  877                try {
  878                    rtn  = Integer. parseInt(a ppProperti es.getProp erty(PARSE R_BATCH_SI ZE_RADIOLO GY));
  879                } catch  (NumberFor matExcepti on nfe2) {
  880                    rtn  = PARSER_B ATCH_SIZE_ DEFAULT;
  881                }
  882           }
  883           re turn rtn;
  884       }
  885  
  886       public  final int  getParser BatchSizeV itals() {
  887           in t rtn;
  888           tr y {
  889                rtn = In teger.pars eInt(appPr operties.g etProperty (PARSER_BA TCH_SIZE_V ITALS));
  890           }  catch (Num berFormatE xception n fe) {
  891                try {
  892                    rtn  = Integer. parseInt(a ppProperti es.getProp erty(PARSE R_BATCH_SI ZE_VITALS) );
  893                } catch  (NumberFor matExcepti on nfe2) {
  894                    rtn  = PARSER_B ATCH_SIZE_ DEFAULT;
  895                }
  896           }
  897           re turn rtn;
  898       }
  899   }