42. EPMO Open Source Coordination Office Redaction File Detail Report

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

42.1 Files compared

# Location File Last Modified
1 JLV_2.6.zip\JLV_2.6\JLV_2.6\Joint Legacy Viewer\VistaDataService\src\main\java\gov\va\med\vds\common AppConfig.java Thu Aug 31 12:13:14 2017 UTC
2 JLV_2.6.zip\JLV_2.6\JLV_2.6\Joint Legacy Viewer\VistaDataService\src\main\java\gov\va\med\vds\common AppConfig.java Thu Aug 31 13:26:38 2017 UTC

42.2 Comparison summary

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

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

42.4 Active regular expressions

No regular expressions were active.

42.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.rp c.StringUt ils;
  15   import gov .va.med.vh ahon.commo n.Utils;
  16   import org .slf4j.Log ger;
  17   import org .slf4j.Log gerFactory ;
  18  
  19   import jav a.io.FileI nputStream ;
  20   import jav a.io.FileN otFoundExc eption;
  21   import jav a.io.IOExc eption;
  22   import jav a.io.Input Stream;
  23   import jav a.util.Pro perties;
  24  
  25   /**
  26    * User:  D N    UYEHAC
  27    * Date: 8 /29/11
  28    * Time: 2 :36 PM
  29    */
  30   public cla ss AppConf ig {
  31       privat e static f inal Logge r LOGGER =  LoggerFac tory.getLo gger(AppCo nfig.class );
  32  
  33       privat e static f inal Strin g AGENCY_V A = "appco nfig.agenc y.va";
  34       privat e static f inal Strin g AGENCY_D OD = "appc onfig.agen cy.dod";
  35       privat e static f inal Strin g LOG4J_PR OPS = "app config.log 4j.props";
  36       privat e static f inal Strin g APP_ENVI RONMENT =  "app.envir onment";
  37       privat e static f inal Strin g APP_VERS ION = "app .version";
  38       privat e static f inal Strin g NON_BSE_ SECURITY_P HRASE = "a ppconfig.a uthenticat ion.nonBse SecurityPh rase";
  39  
  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   //    priv ate static  final Str ing VLER_P D_URL = "a ppconfig.v ler.pd.url ";
  46   //    priv ate static  final Str ing VLER_P A_URL = "a ppconfig.v ler.pa.url ";
  47       privat e static f inal Strin g VLER_DAS _URL = "ap pconfig.vl er.das.url ";
  48       privat e static f inal Strin g VLER_DAS _CALLBACK  = "appconf ig.vler.da s.callback ";
  49  
  50       privat e static f inal Strin g EVIX_STU DYQUERY_UR L = "appco nfig.evix. studyquery .url";
  51       privat e static f inal Strin g EVIX_REQ UEST_TIMEO UT = "appc onfig.evix .request.t imeout.ms" ;
  52       privat e static f inal Strin g EVIX_CON NECTION_TI MEOUT = "a ppconfig.e vix.connec tion.timeo ut.ms";
  53  
  54       //cons tants
  55       privat e static f inal Strin g PROTOCOL _RPC = "RP C";
  56       privat e static f inal Strin g PROTOCOL _CACHE = " CACHE";
  57       privat e static f inal Strin g DATASOUR CE = "appc onfig.data source";
  58  
  59       privat e static f inal Strin g RPC_CONN ECTION_THR EAD_MAX_PO OL_SIZE =  "appconfig .rpc.threa d.maxPoolS ize";
  60       privat e static f inal Strin g RPC_CONN ECTION_THR EAD_TIMEOU T_SECONDS  = "appconf ig.rpc.thr ead.timeou t.seconds" ;
  61  
  62       privat e static f inal Strin g PARSER_T HREAD_MAX_ POOL_SIZE  = "appconf ig.parse.t hread.maxP oolSize";
  63       privat e static f inal Strin g PARSER_T HREAD_TIME OUT_SECOND S = "appco nfig.parse .thread.ti meout.seco nds";
  64  
  65       privat e static f inal Strin g PARSER_T HREAD_MAX_ POOL_SIZE_ ENCOUNTERS  = "appcon fig.parse. thread.max PoolSize.e ncounters" ;
  66       privat e static f inal Strin g PARSER_T HREAD_MAX_ POOL_SIZE_ LABS = "ap pconfig.pa rse.thread .maxPoolSi ze.labs";
  67       privat e static f inal Strin g PARSER_T HREAD_MAX_ POOL_SIZE_ NOTES = "a ppconfig.p arse.threa d.maxPoolS ize.notes" ;
  68       privat e static f inal Strin g PARSER_T HREAD_MAX_ POOL_SIZE_ ORDERS = " appconfig. parse.thre ad.maxPool Size.order s";
  69       privat e static f inal Strin g PARSER_T HREAD_MAX_ POOL_SIZE_ MEDS = "ap pconfig.pa rse.thread .maxPoolSi ze.meds";
  70  
  71       privat e static f inal int P ARSER_BATC H_SIZE_DEF AULT = 25;
  72       privat e static f inal Strin g PARSER_B ATCH_SIZE_ ORDERS = " appconfig. parse.batc hSize.orde rs";
  73       privat e static f inal Strin g PARSER_B ATCH_SIZE_ NOTES = "a ppconfig.p arse.batch Size.notes ";
  74       privat e static f inal Strin g PARSER_B ATCH_SIZE_ APPOINTMEN TS = "appc onfig.pars e.batchSiz e.appointm ents";
  75       privat e static f inal Strin g PARSER_B ATCH_SIZE_ ENCOUNTERS  = "appcon fig.parse. batchSize. encounters ";
  76       privat e static f inal Strin g PARSER_B ATCH_SIZE_ ALLERGIES  = "appconf ig.parse.b atchSize.a llergies";
  77       privat e static f inal Strin g PARSER_B ATCH_SIZE_ REMINDERS  = "appconf ig.parse.b atchSize.r eminders";
  78       privat e static f inal Strin g PARSER_B ATCH_SIZE_ IMMUNIZATI ONS = "app config.par se.batchSi ze.immuniz ations";
  79       privat e static f inal Strin g PARSER_B ATCH_SIZE_ INSURANCE  = "appconf ig.parse.b atchSize.i nsurance";
  80       privat e static f inal Strin g PARSER_B ATCH_SIZE_ LAB_PANELS  = "appcon fig.parse. batchSize. lab.panels ";
  81       privat e static f inal Strin g PARSER_B ATCH_SIZE_ LAB_ACCESS IONS = "ap pconfig.pa rse.batchS ize.lab.ac cessions";
  82       privat e static f inal Strin g PARSER_B ATCH_SIZE_ MEDICATION S = "appco nfig.parse .batchSize .medicatio ns";
  83       privat e static f inal Strin g PARSER_B ATCH_SIZE_ PATIENT_FL AGS = "app config.par se.batchSi ze.patient .flags";
  84       privat e static f inal Strin g PARSER_B ATCH_SIZE_ PCE = "app config.par se.batchSi ze.pce";
  85       privat e static f inal Strin g PARSER_B ATCH_SIZE_ RADIOLOGY  = "appconf ig.parse.b atchSize.r adiology";
  86       privat e static f inal Strin g PARSER_B ATCH_SIZE_ VITALS = " appconfig. parse.batc hSize.vita ls";
  87  
  88       //rest  configs
  89       privat e static f inal Strin g REST_CON NECTION_TI MEOUT_MS =  "appconfi g.vler.das .REST_CONN ECTION_TIM EOUT_MS";
  90       privat e static f inal Strin g REST_REA D_TIMEOUT_ MS = "appc onfig.vler .das.REST_ READ_TIMEO UT_MS";
  91       privat e static f inal Strin g IS_DAS_C ACHE_ENABL ED = "appc onfig.vler .das.CACHE _ENABLED";
  92       privat e static f inal Strin g DAS_TEST _PAT = "ap pconfig.vl er.das.tes tpat";
  93       privat e static f inal Strin g DAS_ENAB LE_COMMUNI TY_SUMMARI ES = "appc onfig.vler .das.enabl eHealthSum maries";
  94  
  95       privat e static f inal Strin g USE_ENHA NCED_DEBUG  = "appcon fig.debug. enhanced";
  96  
  97       privat e static f inal Strin g ENCRYPTI ON_KEY_ARR AY = "appc onfig.encr yption.key .array";
  98  
  99       privat e static f inal Strin g BSE_TOKE N_ENABLED  = "appconf ig.bse.tok en.enabled ";
  100  
  101       privat e static f inal AppCo nfig INSTA NCE = new  AppConfig( );
  102  
  103       privat e Properti es appProp erties;
  104  
  105       privat e AppConfi g() {
  106  
  107           ap pPropertie s = new Pr operties() ;
  108  
  109           lo adAppMetaP roperties( );
  110           lo adAppConfi gPropertie s();
  111       }
  112  
  113       privat e void loa dAppMetaPr operties()  {
  114           St ring prope rtiesFile  = "applica tion.prope rties";
  115  
  116           In putStream  inputStrea m = null;
  117  
  118           Cl assLoader  classLoade r = AppCon fig.class. getClassLo ader();
  119           if  (classLoa der != nul l) {
  120                inputStr eam = clas sLoader.ge tResourceA sStream(pr opertiesFi le);
  121           }
  122  
  123           tr y {
  124                appPrope rties.load (inputStre am);
  125           }  catch (IOE xception e ) {
  126                LOGGER.e rror("Fail ed load ap plication. properties : " + e.ge tMessage() );
  127                throw ne w RuntimeE xception(e );
  128           }  finally {
  129                try {
  130                    if ( inputStrea m != null)  {
  131                         inputStrea m.close();
  132                    }
  133                } catch  (IOExcepti on e) {
  134                    LOGG ER.error(e .getMessag e());
  135                }
  136           }
  137       }
  138  
  139       privat e void loa dAppConfig Properties () {
  140           St ring prope rtiesFile  = "vistada taservice. properties ";
  141  
  142           In putStream  inputStrea m = null;
  143  
  144           Cl assLoader  classLoade r = AppCon fig.class. getClassLo ader();
  145           if  (classLoa der != nul l) {
  146                inputStr eam = clas sLoader.ge tResourceA sStream(pr opertiesFi le);
  147           }
  148  
  149           if  (inputStr eam != nul l) {
  150                try {
  151                    appP roperties. load(input Stream);
  152                } catch  (IOExcepti on e) {
  153                    LOGG ER.error(" Failed loa d appconfi g properti es: " + e. getMessage ());
  154                    thro w new Runt imeExcepti on(e);
  155                } finall y {
  156                    try  {
  157                         inputStrea m.close();
  158                    } ca tch (IOExc eption e)  {
  159                         LOGGER.err or(e.getMe ssage());
  160                    }
  161                }
  162           }
  163  
  164           tr y {
  165  
  166                inputStr eam = new  FileInputS tream(prop ertiesFile );
  167  
  168                try {
  169                    appP roperties. load(input Stream);
  170                } catch  (IOExcepti on e) {
  171                    LOGG ER.error(" Failed loa d appconfi g properti es: " + e. getLocaliz edMessage( ));
  172                    thro w new Runt imeExcepti on(e);
  173                } finall y {
  174                    try  {
  175                         inputStrea m.close();
  176                    } ca tch (IOExc eption e)  {
  177                         LOGGER.err or(e.getMe ssage());
  178                    }
  179                }
  180  
  181           }  catch (Fil eNotFoundE xception e ) {
  182                LOGGER.i nfo("Faile d to load  appconfig  from file  (vistadata service.pr operties)  -"
  183                         + " utiliz ing defaul t appconfi g properti es.");
  184  
  185           }
  186       }
  187  
  188       public  static fi nal AppCon fig getIns tance() {
  189           re turn INSTA NCE;
  190       }
  191  
  192       public  final Str ing getPro tocolRPC()  {
  193           re turn PROTO COL_RPC;
  194       }
  195  
  196       public  final Str ing getPro tocolCache () {
  197           re turn PROTO COL_CACHE;
  198       }
  199  
  200       public  final Str ing getAge ncyVA() {
  201           re turn appPr operties.g etProperty (AGENCY_VA );
  202       }
  203  
  204       public  final Str ing getAge ncyDOD() {
  205           re turn appPr operties.g etProperty (AGENCY_DO D);
  206       }
  207  
  208       public  final Str ing getLog 4jProperti es() {
  209           re turn appPr operties.g etProperty (LOG4J_PRO PS);
  210       }
  211  
  212       public  final Str ing getApp Environmen t() {
  213           re turn appPr operties.g etProperty (APP_ENVIR ONMENT);
  214       }
  215  
  216       public  final Str ing getApp Version()  {
  217           re turn appPr operties.g etProperty (APP_VERSI ON);
  218       }
  219  
  220       public  final Str ing getNon BseSecurit yPhrase()  {
  221           re turn appPr operties.g etProperty (NON_BSE_S ECURITY_PH RASE);
  222       }
  223  
  224       public  final int  getConnec tionTimeou tMs() {
  225           re turn Integ er.parseIn t(appPrope rties.getP roperty(CO NNECTION_T IMEOUT_MS) );
  226       }
  227  
  228       public  final int  getReques tTimeoutMs () {
  229           re turn Integ er.parseIn t(appPrope rties.getP roperty(RE QUEST_TIME OUT_MS));
  230       }
  231  
  232       public  final Str ing getVLE R_DQ_URL()  {
  233           re turn appPr operties.g etProperty (VLER_DQ_U RL);
  234       }
  235  
  236       public  final Str ing getVLE R_DR_URL()  {
  237           re turn appPr operties.g etProperty (VLER_DR_U RL);
  238       }
  239  
  240       public  final Str ing getVLE R_DAS_URL( ) {
  241           re turn appPr operties.g etProperty (VLER_DAS_ URL);
  242       }
  243  
  244       public  final Str ing getVLE R_DAS_CALL BACK() {
  245           re turn appPr operties.g etProperty (VLER_DAS_ CALLBACK);
  246       }
  247  
  248       public  final Str ing getEvi xStudyquer yUrl() { r eturn appP roperties. getPropert y(EVIX_STU DYQUERY_UR L);}
  249  
  250       public  final int  getEvixRe questTimeo ut() {
  251           re turn Integ er.parseIn t(appPrope rties.getP roperty(EV IX_REQUEST _TIMEOUT)) ;
  252       }
  253  
  254       public  final int  getEvixCo nnectionTi meout() {
  255           re turn Integ er.parseIn t(appPrope rties.getP roperty(EV IX_CONNECT ION_TIMEOU T));
  256       }
  257  
  258       public  final Str ing getDat aSource()  {
  259           re turn appPr operties.g etProperty (DATASOURC E);
  260       }
  261  
  262       public  int getRe stConnecti onTimeoutM S() {
  263           re turn Integ er.parseIn t(appPrope rties.getP roperty(RE ST_CONNECT ION_TIMEOU T_MS));
  264       }
  265  
  266       public  int getRe stReadTime outMS() {
  267           re turn Integ er.parseIn t(appPrope rties.getP roperty(RE ST_READ_TI MEOUT_MS)) ;
  268       }
  269  
  270       public  Propertie s getPrope rties() {
  271           re turn appPr operties;
  272       }
  273  
  274       public  final boo lean isDAS CacheEnabl ed() {
  275           re turn Boole an.valueOf (appProper ties.getPr operty(IS_ DAS_CACHE_ ENABLED));
  276       }
  277  
  278       public  final boo lean enabl eDASCommun itySummari es(){
  279           re turn Boole an.valueOf (appProper ties.getPr operty(DAS _ENABLE_CO MMUNITY_SU MMARIES));
  280       }
  281  
  282       public  final Str ing getDas TestPat()  {return ap pPropertie s.getPrope rty(DAS_TE ST_PAT, "" ); }
  283  
  284   //    publ ic final S tring getV LER_PD_URL ()
  285   //    {
  286   //         return app Properties .getProper ty(VLER_PD _URL);
  287   //    }
  288   //
  289   //    publ ic final S tring getV LER_PA_URL ()
  290   //    {
  291   //         return app Properties .getProper ty(VLER_PA _URL);
  292   //    }
  293  
  294  
  295       public  final int  getRPCCon nectionMax ThreadPool Size() {
  296           re turn Integ er.parseIn t(appPrope rties.getP roperty(RP C_CONNECTI ON_THREAD_ MAX_POOL_S IZE));
  297       }
  298  
  299       public  final int  getRPCCon nectionThr eadTimeout Seconds()  {
  300           re turn Integ er.parseIn t(appPrope rties.getP roperty(RP C_CONNECTI ON_THREAD_ TIMEOUT_SE CONDS));
  301       }
  302  
  303       public  final int  getParser MaxThreadP oolSize()  {
  304           re turn Integ er.parseIn t(appPrope rties.getP roperty(PA RSER_THREA D_MAX_POOL _SIZE));
  305       }
  306  
  307       public  final int  getParser ThreadTime outSeconds () {
  308           re turn Integ er.parseIn t(appPrope rties.getP roperty(PA RSER_THREA D_TIMEOUT_ SECONDS));
  309       }
  310  
  311       privat e final st atic int P ARSER_THRE AD_MAX_POO L_SIZE_LAR GE = 30;
  312       
  313       public  final int  getParser MaxThreadP oolSizeEnc ounters()  {
  314           in t rtn;
  315           tr y {
  316                rtn = In teger.pars eInt(appPr operties.g etProperty (PARSER_TH READ_MAX_P OOL_SIZE_E NCOUNTERS) );
  317           }  catch (Num berFormatE xception n fe) {
  318                try {
  319                    rtn  = Integer. parseInt(a ppProperti es.getProp erty(PARSE R_THREAD_M AX_POOL_SI ZE));
  320                } catch  (NumberFor matExcepti on nfe2) {
  321                    rtn  = PARSER_T HREAD_MAX_ POOL_SIZE_ LARGE;
  322                }
  323           }
  324           
  325           re turn rtn;
  326       }
  327  
  328       public  final int  getParser MaxThreadP oolSizeLab s() {
  329           in t rtn;
  330           tr y {
  331                rtn = In teger.pars eInt(appPr operties.g etProperty (PARSER_TH READ_MAX_P OOL_SIZE_L ABS));
  332           }  catch (Num berFormatE xception n fe) {
  333                try {
  334                    rtn  = Integer. parseInt(a ppProperti es.getProp erty(PARSE R_THREAD_M AX_POOL_SI ZE));
  335                } catch  (NumberFor matExcepti on nfe2) {
  336                    rtn  = PARSER_T HREAD_MAX_ POOL_SIZE_ LARGE;
  337                }
  338           }
  339           re turn rtn;
  340       }
  341  
  342       public  final int  getParser MaxThreadP oolSizeNot es() {
  343           in t rtn;
  344           tr y {
  345                rtn = In teger.pars eInt(appPr operties.g etProperty (PARSER_TH READ_MAX_P OOL_SIZE_N OTES));
  346           }  catch (Num berFormatE xception n fe) {
  347                try {
  348                    rtn  = Integer. parseInt(a ppProperti es.getProp erty(PARSE R_THREAD_M AX_POOL_SI ZE));
  349                } catch  (NumberFor matExcepti on nfe2) {
  350                    rtn  = PARSER_T HREAD_MAX_ POOL_SIZE_ LARGE;
  351                }
  352           }
  353           re turn rtn;
  354       }
  355  
  356       public  final int  getParser MaxThreadP oolSizeOrd ers() {
  357           in t rtn;
  358           tr y {
  359                rtn = In teger.pars eInt(appPr operties.g etProperty (PARSER_TH READ_MAX_P OOL_SIZE_O RDERS));
  360           }  catch (Num berFormatE xception n fe) {
  361                try {
  362                    rtn  = Integer. parseInt(a ppProperti es.getProp erty(PARSE R_THREAD_M AX_POOL_SI ZE));
  363                } catch  (NumberFor matExcepti on nfe2) {
  364                    rtn  = PARSER_T HREAD_MAX_ POOL_SIZE_ LARGE;
  365                }
  366           }
  367           re turn rtn;
  368       }
  369  
  370       public  final int  getParser MaxThreadP oolSizeMed s() {
  371           in t rtn;
  372           tr y {
  373                rtn = In teger.pars eInt(appPr operties.g etProperty (PARSER_TH READ_MAX_P OOL_SIZE_M EDS));
  374           }  catch (Num berFormatE xception n fe) {
  375                try {
  376                    rtn  = Integer. parseInt(a ppProperti es.getProp erty(PARSE R_THREAD_M AX_POOL_SI ZE));
  377                } catch  (NumberFor matExcepti on nfe2) {
  378                    rtn  = PARSER_T HREAD_MAX_ POOL_SIZE_ LARGE;
  379                }
  380           }
  381           re turn rtn;
  382       }
  383  
  384       // tru e for runn ing enhanc ed debug c ode
  385       public  final boo lean useEn hancedDebu g() {
  386           re turn Boole an.valueOf (appProper ties.getPr operty(USE _ENHANCED_ DEBUG));
  387       }
  388  
  389       // tru e for runn ing enhanc ed debug c ode
  390       public  final boo lean bseTo kenEnabled () {
  391           re turn Boole an.valueOf (appProper ties.getPr operty(BSE _TOKEN_ENA BLED));
  392       }
  393       
  394       public  static fi nal byte[]  EMPTY_BYT ES = new b yte[16];
  395       public  final byt e[] getEnc ryptionKey () {
  396           if  (!StringU tils.isEmp ty(appProp erties.get Property(E NCRYPTION_ KEY_ARRAY) )) {
  397                return U tils.parse ByteArray1 6(appPrope rties.getP roperty(EN CRYPTION_K EY_ARRAY)) ;
  398           }  else {
  399                return E MPTY_BYTES ;
  400           }
  401       }
  402  
  403       public  final int  getParser BatchSizeO rders() {
  404           in t rtn;
  405           tr y {
  406                rtn = In teger.pars eInt(appPr operties.g etProperty (PARSER_BA TCH_SIZE_O RDERS));
  407           }  catch (Num berFormatE xception n fe) {
  408                try {
  409                    rtn  = Integer. parseInt(a ppProperti es.getProp erty(PARSE R_BATCH_SI ZE_ORDERS) );
  410                } catch  (NumberFor matExcepti on nfe2) {
  411                    rtn  = PARSER_B ATCH_SIZE_ DEFAULT;
  412                }
  413           }
  414           re turn rtn;
  415       }
  416  
  417       public  final int  getParser BatchSizeN otes() {
  418           in t rtn;
  419           tr y {
  420                rtn = In teger.pars eInt(appPr operties.g etProperty (PARSER_BA TCH_SIZE_N OTES));
  421           }  catch (Num berFormatE xception n fe) {
  422                try {
  423                    rtn  = Integer. parseInt(a ppProperti es.getProp erty(PARSE R_BATCH_SI ZE_NOTES)) ;
  424                } catch  (NumberFor matExcepti on nfe2) {
  425                    rtn  = PARSER_B ATCH_SIZE_ DEFAULT;
  426                }
  427           }
  428           re turn rtn;
  429       }
  430  
  431       public  final int  getParser BatchSizeA ppointment s() {
  432           in t rtn;
  433           tr y {
  434                rtn = In teger.pars eInt(appPr operties.g etProperty (PARSER_BA TCH_SIZE_A PPOINTMENT S));
  435           }  catch (Num berFormatE xception n fe) {
  436                try {
  437                    rtn  = Integer. parseInt(a ppProperti es.getProp erty(PARSE R_BATCH_SI ZE_APPOINT MENTS));
  438                } catch  (NumberFor matExcepti on nfe2) {
  439                    rtn  = PARSER_B ATCH_SIZE_ DEFAULT;
  440                }
  441           }
  442           re turn rtn;
  443       }
  444  
  445       public  final int  getParser BatchSizeE ncounters( ) {
  446           in t rtn;
  447           tr y {
  448                rtn = In teger.pars eInt(appPr operties.g etProperty (PARSER_BA TCH_SIZE_E NCOUNTERS) );
  449           }  catch (Num berFormatE xception n fe) {
  450                try {
  451                    rtn  = Integer. parseInt(a ppProperti es.getProp erty(PARSE R_BATCH_SI ZE_ENCOUNT ERS));
  452                } catch  (NumberFor matExcepti on nfe2) {
  453                    rtn  = PARSER_B ATCH_SIZE_ DEFAULT;
  454                }
  455           }
  456           re turn rtn;
  457       }
  458  
  459       public  final int  getParser BatchSizeA llergies()  {
  460           in t rtn;
  461           tr y {
  462                rtn = In teger.pars eInt(appPr operties.g etProperty (PARSER_BA TCH_SIZE_A LLERGIES)) ;
  463           }  catch (Num berFormatE xception n fe) {
  464                try {
  465                    rtn  = Integer. parseInt(a ppProperti es.getProp erty(PARSE R_BATCH_SI ZE_ALLERGI ES));
  466                } catch  (NumberFor matExcepti on nfe2) {
  467                    rtn  = PARSER_B ATCH_SIZE_ DEFAULT;
  468                }
  469           }
  470           re turn rtn;
  471       }
  472  
  473       public  final int  getParser BatchSizeR eminders()  {
  474           in t rtn;
  475           tr y {
  476                rtn = In teger.pars eInt(appPr operties.g etProperty (PARSER_BA TCH_SIZE_R EMINDERS)) ;
  477           }  catch (Num berFormatE xception n fe) {
  478                try {
  479                    rtn  = Integer. parseInt(a ppProperti es.getProp erty(PARSE R_BATCH_SI ZE_REMINDE RS));
  480                } catch  (NumberFor matExcepti on nfe2) {
  481                    rtn  = PARSER_B ATCH_SIZE_ DEFAULT;
  482                }
  483           }
  484           re turn rtn;
  485       }
  486  
  487       public  final int  getParser BatchSizeI mmunizatio ns() {
  488           in t rtn;
  489           tr y {
  490                rtn = In teger.pars eInt(appPr operties.g etProperty (PARSER_BA TCH_SIZE_I MMUNIZATIO NS));
  491           }  catch (Num berFormatE xception n fe) {
  492                try {
  493                    rtn  = Integer. parseInt(a ppProperti es.getProp erty(PARSE R_BATCH_SI ZE_IMMUNIZ ATIONS));
  494                } catch  (NumberFor matExcepti on nfe2) {
  495                    rtn  = PARSER_B ATCH_SIZE_ DEFAULT;
  496                }
  497           }
  498           re turn rtn;
  499       }
  500  
  501       public  final int  getParser BatchSizeI nsurance()  {
  502           in t rtn;
  503           tr y {
  504                rtn = In teger.pars eInt(appPr operties.g etProperty (PARSER_BA TCH_SIZE_I NSURANCE)) ;
  505           }  catch (Num berFormatE xception n fe) {
  506                try {
  507                    rtn  = Integer. parseInt(a ppProperti es.getProp erty(PARSE R_BATCH_SI ZE_INSURAN CE));
  508                } catch  (NumberFor matExcepti on nfe2) {
  509                    rtn  = PARSER_B ATCH_SIZE_ DEFAULT;
  510                }
  511           }
  512           re turn rtn;
  513       }
  514  
  515       public  final int  getParser BatchSizeL abPanels()  {
  516           in t rtn;
  517           tr y {
  518                rtn = In teger.pars eInt(appPr operties.g etProperty (PARSER_BA TCH_SIZE_L AB_PANELS) );
  519           }  catch (Num berFormatE xception n fe) {
  520                try {
  521                    rtn  = Integer. parseInt(a ppProperti es.getProp erty(PARSE R_BATCH_SI ZE_LAB_PAN ELS));
  522                } catch  (NumberFor matExcepti on nfe2) {
  523                    rtn  = PARSER_B ATCH_SIZE_ DEFAULT;
  524                }
  525           }
  526           re turn rtn;
  527       }
  528  
  529       public  final int  getParser BatchSizeL abAccessio ns() {
  530           in t rtn;
  531           tr y {
  532                rtn = In teger.pars eInt(appPr operties.g etProperty (PARSER_BA TCH_SIZE_L AB_ACCESSI ONS));
  533           }  catch (Num berFormatE xception n fe) {
  534                try {
  535                    rtn  = Integer. parseInt(a ppProperti es.getProp erty(PARSE R_BATCH_SI ZE_LAB_ACC ESSIONS));
  536                } catch  (NumberFor matExcepti on nfe2) {
  537                    rtn  = PARSER_B ATCH_SIZE_ DEFAULT;
  538                }
  539           }
  540           re turn rtn;
  541       }
  542  
  543       public  final int  getParser BatchSizeM edications () {
  544           in t rtn;
  545           tr y {
  546                rtn = In teger.pars eInt(appPr operties.g etProperty (PARSER_BA TCH_SIZE_M EDICATIONS ));
  547           }  catch (Num berFormatE xception n fe) {
  548                try {
  549                    rtn  = Integer. parseInt(a ppProperti es.getProp erty(PARSE R_BATCH_SI ZE_MEDICAT IONS));
  550                } catch  (NumberFor matExcepti on nfe2) {
  551                    rtn  = PARSER_B ATCH_SIZE_ DEFAULT;
  552                }
  553           }
  554           re turn rtn;
  555       }
  556  
  557       public  final int  getParser BatchSizeP atientFlag s() {
  558           in t rtn;
  559           tr y {
  560                rtn = In teger.pars eInt(appPr operties.g etProperty (PARSER_BA TCH_SIZE_P ATIENT_FLA GS));
  561           }  catch (Num berFormatE xception n fe) {
  562                try {
  563                    rtn  = Integer. parseInt(a ppProperti es.getProp erty(PARSE R_BATCH_SI ZE_PATIENT _FLAGS));
  564                } catch  (NumberFor matExcepti on nfe2) {
  565                    rtn  = PARSER_B ATCH_SIZE_ DEFAULT;
  566                }
  567           }
  568           re turn rtn;
  569       }
  570  
  571       public  final int  getParser BatchSizeP CE() {
  572           in t rtn;
  573           tr y {
  574                rtn = In teger.pars eInt(appPr operties.g etProperty (PARSER_BA TCH_SIZE_P CE));
  575           }  catch (Num berFormatE xception n fe) {
  576                try {
  577                    rtn  = Integer. parseInt(a ppProperti es.getProp erty(PARSE R_BATCH_SI ZE_PCE));
  578                } catch  (NumberFor matExcepti on nfe2) {
  579                    rtn  = PARSER_B ATCH_SIZE_ DEFAULT;
  580                }
  581           }
  582           re turn rtn;
  583       }
  584  
  585       public  final int  getParser BatchSizeR adiology()  {
  586           in t rtn;
  587           tr y {
  588                rtn = In teger.pars eInt(appPr operties.g etProperty (PARSER_BA TCH_SIZE_R ADIOLOGY)) ;
  589           }  catch (Num berFormatE xception n fe) {
  590                try {
  591                    rtn  = Integer. parseInt(a ppProperti es.getProp erty(PARSE R_BATCH_SI ZE_RADIOLO GY));
  592                } catch  (NumberFor matExcepti on nfe2) {
  593                    rtn  = PARSER_B ATCH_SIZE_ DEFAULT;
  594                }
  595           }
  596           re turn rtn;
  597       }
  598  
  599       public  final int  getParser BatchSizeV itals() {
  600           in t rtn;
  601           tr y {
  602                rtn = In teger.pars eInt(appPr operties.g etProperty (PARSER_BA TCH_SIZE_V ITALS));
  603           }  catch (Num berFormatE xception n fe) {
  604                try {
  605                    rtn  = Integer. parseInt(a ppProperti es.getProp erty(PARSE R_BATCH_SI ZE_VITALS) );
  606                } catch  (NumberFor matExcepti on nfe2) {
  607                    rtn  = PARSER_B ATCH_SIZE_ DEFAULT;
  608                }
  609           }
  610           re turn rtn;
  611       }
  612   }