141. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 10/2/2017 1:40:10 PM Central Daylight Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

141.1 Files compared

# Location File Last Modified
1 chef-repo.zip\chef-repo\project_cookbooks\vxsync\templates\default worker-config.json.erb Mon Aug 28 19:42:45 2017 UTC
2 chef-repo.zip\chef-repo\project_cookbooks\vxsync\templates\default worker-config.json.erb Mon Oct 2 12:41:34 2017 UTC

141.2 Comparison summary

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

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

141.4 Active regular expressions

No regular expressions were active.

141.5 Comparison detail

  1   {
  2     "VXSYNC_ IP": "<%=  @vxsync['i paddress']  %>",
  3     "vxsync" : {
  4       "track SolrStorag e": <%= @v xsync['vxs ync']['tra ckSolrStor age'] %>,
  5       "confi gRefresh":  <%= @vxsy nc['vxsync ']['config _refresh']  %>,
  6       "envir onmentName ": "<%= @e nvironment _name %>",
  7       "polle rIgnoreDup licateErro rTime": <% = @vxsync[ 'vxsync'][ 'poller'][ 'ignore_du plicate_er ror_time']  %>,
  8       "rules ": {
  9         "acc ept-all":  {
  10         },
  11         "rap id-fire":  {
  12         },
  13         "ope rational-d ata-sync":  {
  14           "o dsAttempts ": <%= @vx sync['vxsy nc']['ods_ attempts']  %>,
  15           "o dsDelay":  <%= @vxsyn c['vxsync' ]['ods_del ay'] %>
  16         },
  17         "exp iration":  {
  18           "d efault": < %= @vxsync ['vxsync'] ['default_ expiration '] %>,
  19           "d od": <%= @ vxsync['vx sync']['do d_expirati on'] %>
  20         },
  21         "err or-cooldow n": {
  22           "d efault": 6 00000,
  23           "D OD": 60000 0
  24         }
  25       },
  26       "event Prioritiza tionRules" : {
  27           "s ite-type":  {},
  28           "d omain-type ": {
  29                "consult ": 20,
  30                "allergy ": -20,
  31                "order":  40
  32           }
  33       },
  34       "solrS torageRule s": {
  35         "jds -domains":  {},
  36         "sto re-to-solr -attribute ": {},
  37         "ehm p-activity -data": {}
  38       },
  39       "retry Sync": {"m axRetries" : 3},
  40       "track ErrorsByMe tastamp":  ["record-e nrichment" , "store-r ecord", "s olr-record -storage",  "event-pr ioritizati on-request ", "vler-x form-vpr"] ,
  41       "endpo intMaxSock ets": <%=  @vxsync['v xsync']['e ndpoint_ma x_sockets' ] %>,
  42       "handl erMaxSocke ts": <%= @ vxsync['vx sync']['ha ndler_max_ sockets']  %>,
  43       "maxMe tastampSiz e": 104857 60,
  44       "vista AssigningA uthority":  "USVHA",
  45       "vista Sites": {
  46         <% i s_first_si te = true  %>
  47         <% @ vista_site s.each do  |site_info | %>
  48         <%if  !is_first _site %>
  49   ,
  50         <% e nd %>
  51         <% i s_first_si te = false  %>
  52           "< %= site_in fo['vista' ]['site_id '] %>": {
  53              "name": "< %= site_in fo['vista' ]['site']  %>",
  54              "host": "< %= site_in fo['ipaddr ess'] %>",
  55              "port": <% = site_inf o['vista'] ['rpc_port ']%>,
  56              "accessCod e": "<%= s ite_info[' vista']['a ccess_code '] %>",
  57              "verifyCod e": "<%= s ite_info[' vista']['v erify_code '] %>",
  58              "localIP":  "127.0.0. 1",
  59              "stationNu mber": "<% = site_inf o['vista'] ['station_ number'] % >",
  60              "localAddr ess": "loc alhost",
  61              "connectTi meout": <% = site_inf o['vista'] ['connect_ timeout']  %>,
  62              "sendTimeo ut": <%= s ite_info[' vista']['s end_timeou t'] %>,
  63              "multipleM ode": <%=  site_info[ 'vista'][' multiple_m ode'] %>
  64         }<%  end %>
  65       },
  66       "vista ": {
  67         "dom ainsNoSolr Tracking":  <%= @jds[ 'jds']['co nfig']['so lrStorageE xceptions' ] %>,
  68         "dom ains": [
  69           "a llergy",
  70           "a uxiliary",
  71           "a ppointment ",
  72           "d iagnosis",
  73           "d ocument",
  74           "i mmunizatio n",
  75           "l ab",
  76           "m ed",
  77           "o bs",
  78           "o rder",
  79           "p roblem",
  80           "p rocedure",
  81           "c onsult",
  82           "i mage",
  83           "s urgery",
  84           "t ask",
  85           "v isit",
  86           "v ital",
  87           "p tf",
  88           "e xam",
  89           "c pt",
  90           "e ducation",
  91           "p ov",
  92           "s kin",
  93           "t reatment",
  94           "r oadtrip",
  95           "p atient"
  96         ]
  97       },
  98       "syncR equestApi" : {
  99           "p rotocol":  "http",
  100           "h ost": "127 .0.0.1",
  101           "p ort": <%=  @vxsync['v xsync']['w eb_service _port'] %> ,
  102           "p atientSync Path": "/s ync/doLoad ",
  103           "p atientSync DemoPath":  "/sync/de mographicS ync",
  104           "p atientUnsy ncPath": " /sync/clea rPatient",
  105           "p atientStat usPath": " /sync/stat us",
  106           "m ethod": "P OST"
  107       },
  108  
  109       "hmp.s erver.id":  "hmp-deve lopment-bo x",
  110       "hmp.v ersion": " 0.7-S65",
  111       "hmp.b atch.size" : "1000",
  112       "hmp.e xtract.sch ema": "3.0 01",
  113  
  114       "jmead ows": {
  115           "d isabled":  <%=!@jmead ows_enable d %>,
  116           "v ersion": " <%=@jmeado ws['jmeado ws']['vers ion'] %>",
  117           "d omains": [
  118                "allergy ",
  119                "appoint ment",
  120                "consult ",
  121                "demogra phics",
  122                "dischar geSummary" ,
  123                "encount er",
  124                "immuniz ation",
  125                "lab",
  126                "medicat ion",
  127                "order",
  128                "problem ",
  129                "progres sNote",
  130                "radiolo gy",
  131                "vital"
  132           ],
  133           "d efaults":  {
  134                "host":  "127.0.0.1 ",
  135                "port":  "<%= @soap _handler[' server_por t'] %>",
  136                "adminPo rt": "<%=  @soap_hand ler['admin _port'] %> ",
  137                "method" : "GET",
  138                "timeout ": <%= @vx sync['vxsy nc']['jmea dows_timeo ut'] %>
  139           },
  140           "a llergy": {
  141                "path":  "/dod/alle rgy"
  142           },
  143           "a ppointment ": {
  144                "path":  "/dod/appo intment"
  145           },
  146           "c onsult": {
  147                "path":  "/dod/cons ult"
  148           },
  149           "d emographic s": {
  150                "path":  "/dod/demo graphics"
  151           },
  152           "d ischargeSu mmary": {
  153                "path":  "/dod/disc hargeSumma ry"
  154           },
  155           "d ocument":  {
  156                "path":  "/dod/docu ment"
  157           },
  158           "e ncounter":  {
  159                "path":  "/dod/enco unter"
  160           },
  161           "i mmunizatio n": {
  162                "path":  "/dod/immu nization"
  163           },
  164           "l ab": {
  165                "path":  "/dod/lab"
  166           },
  167           "m edication" : {
  168                "path":  "/dod/medi cation"
  169           },
  170           "o rder": {
  171                "path":  "/dod/orde r"
  172           },
  173           "p roblem": {
  174                "path":  "/dod/prob lem"
  175           },
  176           "p rogressNot e": {
  177                "path":  "/dod/prog ressNote"
  178           },
  179           "p tf": {
  180                "path":  "/dod/ptf"
  181           },
  182           "r adiology":  {
  183                "path":  "/dod/radi ology"
  184           },
  185           "v ital": {
  186                "path":  "/dod/vita l"
  187           }
  188       },
  189       "hdr":  {
  190           "d omains": [
  191                "allergy ",
  192                "appoint ment",
  193                "consult ",
  194                "cpt",
  195                "documen t",
  196                "immuniz ation",
  197                "image",
  198                "lab",
  199                "med",
  200                "order",
  201                "pov",
  202                "problem ",
  203                "procedu re",
  204                "surgery ",
  205                "visit",
  206                "vital"
  207           ],
  208           <%  if @vxsyn c['vxsync' ]['hdr_mod e'] == "PU B/SUB" %>
  209           "h drSites":  {
  210               <% @hdr_s ites.each_ with_index  do |hdr_s ite, outer _index| %>
  211                 <% hdr_ site['hdr' ]['hdr_sit es'].each_ with_index  do |site,  inner_ind ex| %>
  212                 "<%= si te['site_i d'] %>": {
  213                     "st ationNumbe r": <%= si te['statio n_number']  %>
  214                 }<%= ', ' unless i nner_index  == (hdr_s ite['hdr'] ['hdr_site s'].size -  1) && out er_index = = (@hdr_si tes.size -  1) %>
  215                 <% end  %>
  216               <% end %>
  217           },
  218           <%  end %>
  219           "o perationMo de": "<%=  @vxsync['v xsync']['h dr_mode']  %>",
  220           "d efaults":  {
  221                "host":  "localhost ",
  222                "port":  "<%= @soap _handler[' server_por t'] %>",
  223                "adminPo rt": "<%=  @soap_hand ler['admin _port'] %> ",
  224                "method" : "GET",
  225                "timeout ": <%= @vx sync['vxsy nc']['hdr_ timeout']  %>
  226           },
  227           "b lackList":  [
  228                  <% is_ first_site  = true %>
  229                  <% @hd r_blacklis t_sites.ea ch do |sit e_info| %>
  230                    <%if  !is_first _site %>,< % end %>
  231                    <% i s_first_si te = false  %>
  232                    {
  233                       " siteHash":  "<%= site _info['sit e_hash'] % >",
  234                       " stationNum ber": "<%=  site_info ['station_ number'] % >"
  235                    }
  236                  <% end  %>
  237           ],
  238           "d isabled":  <%=!@hdr_e nabled%>,
  239           "p ubsubConfi g": {
  240              "host": "< %= @hdr_si tes[0]['ip address']  %>",
  241              "port": <% = @hdr_sit es[0]['hdr ']['pub_su b']['port' ] %>,
  242              "protocol" : "<%= @hd r_sites[0] ['hdr']['p ub_sub'][' protocol']  %>",
  243               "path": "r epositorie s. URL         /fpds/vpr/ ",
  244              "server":  "HMPTest",
  245              "clientNam e": "eHMP" ,
  246              "_type": " json",
  247              "identifie r": "USVHA ",
  248              "extractSc hema": "3. 001",
  249              "maxBatchS ize": 500,
  250              "timeout":  <%= @hdr_ sites[0][' hdr']['pub _sub']['ti meout'] %>
  251           },
  252           "m ed": {
  253                "path":  "/hdr/getD ata?domain =med"
  254           },
  255           "t reatment":  {
  256                "path":  "/hdr/getD ata?domain =treatment "
  257           },
  258           "d iagnosis":  {
  259                "path":  "/hdr/getD ata?domain =diagnosis "
  260           },
  261           "v isit": {
  262                "path":  "/hdr/getD ata?domain =visit"
  263           },
  264           "e ducation":  {
  265                "path":  "/hdr/getD ata?domain =education "
  266           },
  267           "p ov": {
  268                "path":  "/hdr/getD ata?domain =pov"
  269           },
  270           "l ab": {
  271                "path":  "/hdr/getD ata?domain =lab"
  272           },
  273           "v lerdocumen t": {
  274                "path":  "/hdr/getD ata?domain =vlerdocum ent"
  275           },
  276           "s kin": {
  277                "path":  "/hdr/getD ata?domain =skin"
  278           },
  279           "s urgery": {
  280                "path":  "/hdr/getD ata?domain =surgery"
  281           },
  282           "i mmunizatio n": {
  283                "path":  "/hdr/getD ata?domain =immunizat ion"
  284           },
  285           "o bs": {
  286                "path":  "/hdr/getD ata?domain =obs"
  287           },
  288           "d ocument":  {
  289                "path":  "/hdr/getD ata?domain =document"
  290           },
  291           "o rder": {
  292                "path":  "/hdr/getD ata?domain =order"
  293           },
  294           "a uxiliary":  {
  295                "path":  "/hdr/getD ata?domain =auxiliary "
  296           },
  297           "m h": {
  298                "path":  "/hdr/getD ata?domain =mh"
  299           },
  300           "c onsult": {
  301                "path":  "/hdr/getD ata?domain =consult"
  302           },
  303           "p rocedure":  {
  304                "path":  "/hdr/getD ata?domain =procedure "
  305           },
  306           "p tf": {
  307                "path":  "/hdr/getD ata?domain =ptf"
  308           },
  309           "v ital": {
  310                "path":  "/hdr/getD ata?domain =vital"
  311           },
  312           "t ask": {
  313                "path":  "/hdr/getD ata?domain =task"
  314           },
  315           "c pt": {
  316                "path":  "/hdr/getD ata?domain =cpt"
  317           },
  318           "i mage": {
  319                "path":  "/hdr/getD ata?domain =image"
  320           },
  321           "p roblem": {
  322                "path":  "/hdr/getD ata?domain =problem"
  323           },
  324           "r oadtrip":  {
  325                "path":  "/hdr/getD ata?domain =roadtrip"
  326           },
  327           "a ppointment ": {
  328                "path":  "/hdr/getD ata?domain =appointme nt"
  329           },
  330           "e xam": {
  331                "path":  "/hdr/getD ata?domain =exam"
  332           },
  333           "p atient": {
  334                "path":  "/hdr/getD ata?domain =patient"
  335           },
  336           "a llergy": {
  337                "path":  "/hdr/getD ata?domain =allergy"
  338           }
  339       },
  340       "vler" : {
  341           "d omains": [
  342                "vlerdoc ument"
  343           ],
  344           "d isabled":  <%= !@vler _enabled % >,
  345           "d efaults":  {
  346                "host":  "localhost ",
  347                "port":  "<%= @soap _handler[' server_por t'] %>",
  348                "adminPo rt": "<%=  @soap_hand ler['admin _port'] %> ",
  349                "method" : "GET",
  350                "timeout ": <%= @vx sync['vxsy nc']['vler _timeout']  %>
  351           },
  352           "v lerdocumen t": {
  353                "documen tListPath" : "/vler/d ocumentLis t",
  354                "documen tPath": "/ vler/docum ent"
  355           }
  356       },
  357       "recor dEnrichmen t": {
  358           "d omains": [
  359                "allergy ",
  360                "appoint ment",
  361                "image",
  362                "consult ",
  363                "cpt",
  364                "documen t",
  365                "educati on",
  366                "immuniz ation",
  367                "lab",
  368                "med",
  369                "order",
  370                "patient ",
  371                "pov",
  372                "procedu re",
  373                "problem ",
  374                "ptf",
  375                "surgery ",
  376                "visit",
  377                "vital"
  378           ]
  379       },
  380       "handl erProfiles ": {
  381         "def aultWorker Count": <% = @vxsync[ 'vxsync'][ 'profile'] ['worker_c ount'] %>,
  382         "pro fileCollec tion": {
  383           "d efault": " all",
  384           "e rror": {
  385              "error-req uest": {
  386                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'error'][' error-requ est']['wor ker_count' ] %>
  387              }
  388           },
  389           "p rimary": {
  390              <% @vista_ sites.each  do |site_ info| %>
  391              "vista-<%=  site_info ['vista'][ 'site_id']  %>-subscr ibe-reques t": {
  392                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'primary'] ['vista-su bscribe-re quest']['w orker_coun t'] %>
  393              },
  394              <% end %>
  395              "enterpris e-sync-req uest": {
  396                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'primary'] ['enterpri se-sync-re quest']['w orker_coun t'] %>
  397              },
  398              "vista-ope rational-s ubscribe-r equest": {
  399                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'primary'] ['vista-op erational- subscribe- request'][ 'worker_co unt'] %>
  400              }
  401           },
  402           "j meadows":  {
  403              "jmeadows- sync-reque st": {
  404                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'jmeadows' ]['jmeadow s-sync-req uest']['wo rker_count '] %>
  405              },
  406  
  407              "jmeadows- sync-aller gy-request ": {
  408                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'jmeadows' ]['jmeadow s-sync-all ergy-reque st']['work er_count']  %>
  409              },
  410              "jmeadows- sync-appoi ntment-req uest": {
  411                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'jmeadows' ]['jmeadow s-sync-app ointment-r equest'][' worker_cou nt'] %>
  412              },
  413              "jmeadows- sync-consu lt-request ": {
  414                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'jmeadows' ]['jmeadow s-sync-con sult-reque st']['work er_count']  %>
  415              },
  416              "jmeadows- sync-demog raphics-re quest": {
  417                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'jmeadows' ]['jmeadow s-sync-dem ographics- request'][ 'worker_co unt'] %>
  418              },
  419              "jmeadows- sync-disch argeSummar y-request" : {
  420                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'jmeadows' ]['jmeadow s-sync-dis chargeSumm ary-reques t']['worke r_count']  %>
  421              },
  422              "jmeadows- sync-encou nter-reque st": {
  423                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'jmeadows' ]['jmeadow s-sync-enc ounter-req uest']['wo rker_count '] %>
  424              },
  425              "jmeadows- sync-immun ization-re quest": {
  426                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'jmeadows' ]['jmeadow s-sync-imm unization- request'][ 'worker_co unt'] %>
  427              },
  428              "jmeadows- sync-lab-r equest": {
  429                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'jmeadows' ]['jmeadow s-sync-lab -request'] ['worker_c ount'] %>
  430              },
  431              "jmeadows- sync-medic ation-requ est": {
  432                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'jmeadows' ]['jmeadow s-sync-med ication-re quest']['w orker_coun t'] %>
  433              },
  434              "jmeadows- sync-note- request":  {
  435                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'jmeadows' ]['jmeadow s-sync-not e-request' ]['worker_ count'] %>
  436              },
  437              "jmeadows- sync-order -request":  {
  438                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'jmeadows' ]['jmeadow s-sync-ord er-request ']['worker _count'] % >
  439              },
  440              "jmeadows- sync-probl em-request ": {
  441                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'jmeadows' ]['jmeadow s-sync-pro blem-reque st']['work er_count']  %>
  442              },
  443              "jmeadows- sync-progr essNote-re quest": {
  444                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'jmeadows' ]['jmeadow s-sync-pro gressNote- request'][ 'worker_co unt'] %>
  445              },
  446              "jmeadows- sync-radio logy-reque st": {
  447                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'jmeadows' ]['jmeadow s-sync-rad iology-req uest']['wo rker_count '] %>
  448              },
  449              "jmeadows- sync-vital -request":  {
  450                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'jmeadows' ]['jmeadow s-sync-vit al-request ']['worker _count'] % >
  451              },
  452  
  453              "jmeadows- xform-alle rgy-vpr":  {
  454                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'jmeadows' ]['jmeadow s-xform-al lergy-vpr' ]['worker_ count'] %>
  455              },
  456              "jmeadows- xform-appo intment-vp r": {
  457                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'jmeadows' ]['jmeadow s-xform-ap pointment- vpr']['wor ker_count' ] %>
  458              },
  459              "jmeadows- xform-cons ult-vpr":  {
  460                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'jmeadows' ]['jmeadow s-xform-co nsult-vpr' ]['worker_ count'] %>
  461              },
  462              "jmeadows- xform-demo graphics-v pr": {
  463                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'jmeadows' ]['jmeadow s-xform-de mographics -vpr']['wo rker_count '] %>
  464              },
  465              "jmeadows- xform-disc hargeSumma ry-vpr": {
  466                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'jmeadows' ]['jmeadow s-xform-di schargeSum mary-vpr'] ['worker_c ount'] %>
  467              },
  468              "jmeadows- xform-enco unter-vpr" : {
  469                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'jmeadows' ]['jmeadow s-xform-en counter-vp r']['worke r_count']  %>
  470              },
  471              "jmeadows- xform-immu nization-v pr": {
  472                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'jmeadows' ]['jmeadow s-xform-im munization -vpr']['wo rker_count '] %>
  473              },
  474              "jmeadows- xform-lab- vpr": {
  475                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'jmeadows' ]['jmeadow s-xform-la b-vpr']['w orker_coun t'] %>
  476              },
  477              "jmeadows- xform-medi cation-vpr ": {
  478                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'jmeadows' ]['jmeadow s-xform-me dication-v pr']['work er_count']  %>
  479              },
  480              "jmeadows- xform-note -vpr": {
  481                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'jmeadows' ]['jmeadow s-xform-no te-vpr'][' worker_cou nt'] %>
  482              },
  483              "jmeadows- xform-orde r-vpr": {
  484                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'jmeadows' ]['jmeadow s-xform-or der-vpr'][ 'worker_co unt'] %>
  485              },
  486              "jmeadows- xform-prob lem-vpr":  {
  487                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'jmeadows' ]['jmeadow s-xform-pr oblem-vpr' ]['worker_ count'] %>
  488              },
  489              "jmeadows- xform-prog ressNote-v pr": {
  490                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'jmeadows' ]['jmeadow s-xform-pr ogressNote -vpr']['wo rker_count '] %>
  491              },
  492              "jmeadows- xform-radi ology-vpr" : {
  493                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'jmeadows' ]['jmeadow s-xform-ra diology-vp r']['worke r_count']  %>
  494              },
  495              "jmeadows- xform-vita l-vpr": {
  496                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'jmeadows' ]['jmeadow s-xform-vi tal-vpr'][ 'worker_co unt'] %>
  497              }
  498           },
  499           "h dr": {
  500              "hdr-sync- request":  {
  501                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'hdr']['hd r-sync-req uest']['wo rker_count '] %>
  502              },
  503  
  504              "hdr-sync- allergy-re quest": {
  505                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'hdr']['hd r-sync-all ergy-reque st']['work er_count']  %>
  506              },
  507              "hdr-sync- appointmen t-request" : {
  508                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'hdr']['hd r-sync-app ointment-r equest'][' worker_cou nt'] %>
  509              },
  510              "hdr-sync- consult-re quest": {
  511                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'hdr']['hd r-sync-con sult-reque st']['work er_count']  %>
  512              },
  513              "hdr-sync- cpt-reques t": {
  514                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'hdr']['hd r-sync-cpt -request'] ['worker_c ount'] %>
  515              },
  516              "hdr-sync- document-r equest": {
  517                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'hdr']['hd r-sync-doc ument-requ est']['wor ker_count' ] %>
  518              },
  519              "hdr-sync- image-requ est": {
  520                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'hdr']['hd r-sync-ima ge-request ']['worker _count'] % >
  521              },
  522              "hdr-sync- immunizati on-request ": {
  523                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'hdr']['hd r-sync-imm unization- request'][ 'worker_co unt'] %>
  524              },
  525              "hdr-sync- lab-reques t": {
  526                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'hdr']['hd r-sync-lab -request'] ['worker_c ount'] %>
  527              },
  528              "hdr-sync- med-reques t": {
  529                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'hdr']['hd r-sync-med -request'] ['worker_c ount'] %>
  530              },
  531              "hdr-sync- order-requ est": {
  532                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'hdr']['hd r-sync-ord er-request ']['worker _count'] % >
  533              },
  534              "hdr-sync- patient-re quest": {
  535                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'hdr']['hd r-sync-pat ient-reque st']['work er_count']  %>
  536              },
  537              "hdr-sync- pov-reques t": {
  538                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'hdr']['hd r-sync-pov -request'] ['worker_c ount'] %>
  539              },
  540              "hdr-sync- problem-re quest": {
  541                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'hdr']['hd r-sync-pro blem-reque st']['work er_count']  %>
  542              },
  543              "hdr-sync- procedure- request":  {
  544                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'hdr']['hd r-sync-pro cedure-req uest']['wo rker_count '] %>
  545              },
  546              "hdr-sync- surgery-re quest": {
  547                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'hdr']['hd r-sync-sur gery-reque st']['work er_count']  %>
  548              },
  549              "hdr-sync- vital-requ est": {
  550                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'hdr']['hd r-sync-vit al-request ']['worker _count'] % >
  551              },
  552              "hdr-sync- visit-requ est": {
  553                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'hdr']['hd r-sync-vis it-request ']['worker _count'] % >
  554              },
  555  
  556              "hdr-xform -allergy-v pr": {
  557                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'hdr']['hd r-xform-al lergy-vpr' ]['worker_ count'] %>
  558              },
  559              "hdr-xform -appointme nt-vpr": {
  560                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'hdr']['hd r-xform-ap pointment- vpr']['wor ker_count' ] %>
  561              },
  562              "hdr-xform -consult-v pr": {
  563                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'hdr']['hd r-xform-co nsult-vpr' ]['worker_ count'] %>
  564              },
  565              "hdr-xform -cpt-vpr":  {
  566                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'hdr']['hd r-xform-cp t-vpr']['w orker_coun t'] %>
  567              },
  568              "hdr-xform -document- vpr": {
  569                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'hdr']['hd r-xform-do cument-vpr ']['worker _count'] % >
  570              },
  571              "hdr-xform -image-vpr ": {
  572                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'hdr']['hd r-xform-im age-vpr'][ 'worker_co unt'] %>
  573              },
  574              "hdr-xform -immunizat ion-vpr":  {
  575                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'hdr']['hd r-xform-im munization -vpr']['wo rker_count '] %>
  576              },
  577              "hdr-xform -lab-vpr":  {
  578                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'hdr']['hd r-xform-la b-vpr']['w orker_coun t'] %>
  579              },
  580              "hdr-xform -med-vpr":  {
  581                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'hdr']['hd r-xform-me d-vpr']['w orker_coun t'] %>
  582              },
  583              "hdr-xform -order-vpr ": {
  584                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'hdr']['hd r-xform-or der-vpr'][ 'worker_co unt'] %>
  585              },
  586              "hdr-xform -patient-v pr": {
  587                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'hdr']['hd r-xform-pa tient-vpr' ]['worker_ count'] %>
  588              },
  589              "hdr-xform -pov-vpr":  {
  590                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'hdr']['hd r-xform-po v-vpr']['w orker_coun t'] %>
  591              },
  592              "hdr-xform -problem-v pr": {
  593                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'hdr']['hd r-xform-pr oblem-vpr' ]['worker_ count'] %>
  594              },
  595              "hdr-xform -procedure -vpr": {
  596                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'hdr']['hd r-xform-pr ocedure-vp r']['worke r_count']  %>
  597              },
  598              "hdr-xform -surgery-v pr": {
  599                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'hdr']['hd r-xform-su rgery-vpr' ]['worker_ count'] %>
  600              },
  601              "hdr-xform -vital-vpr ": {
  602                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'hdr']['hd r-xform-vi tal-vpr'][ 'worker_co unt'] %>
  603              },
  604              "hdr-xform -visit-vpr ": {
  605                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'hdr']['hd r-xform-vi sit-vpr'][ 'worker_co unt'] %>
  606              }
  607           },
  608           "v istaProces sor": {
  609                "vista-r ecord-proc essor-requ est": {
  610                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'vistaProc essor']['v ista-recor d-processo r-request' ]['worker_ count'] %>
  611              }
  612           },
  613           "v istahdr":  {
  614              <% @hdr_si tes.each_w ith_index  do |hdr_si te, outer_ index| %>
  615                <% hdr_s ite['hdr'] ['hdr_site s'].each_w ith_index  do |site,  inner_inde x| %>
  616              "vistahdr- <%= site[' site_id']  %>-subscri be-request ": {
  617                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'worker_co unt'] %>
  618              }<%= ',' u nless inne r_index ==  (hdr_site ['hdr']['h dr_sites'] .size - 1)  && outer_ index == ( @hdr_sites .size - 1)  %>
  619                <% end % >
  620              <% end %>
  621           },
  622           "v ler": {
  623              "vler-sync -request":  {
  624                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'vler']['v ler-sync-r equest'][' worker_cou nt'] %>
  625              },
  626              "vler-xfor m-vpr": {
  627                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'vler']['v ler-xform- vpr']['wor ker_count' ] %>
  628              }
  629           },
  630           "p gd": {
  631              "pgd-sync- request":  {
  632                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'worker_co unt'] %>
  633              },
  634              "pgd-xform -vpr": {
  635                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'worker_co unt'] %>
  636              }
  637           },
  638           "d ocument":  {
  639              "jmeadows- pdf-docume nt-transfo rm": {
  640                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'document' ]['jmeadow s-pdf-docu ment-trans form']['wo rker_count '] %>
  641              },
  642              "jmeadows- document-r etrieval":  {
  643                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'document' ]['jmeadow s-document -retrieval ']['worker _count'] % >
  644              },
  645              "jmeadows- cda-docume nt-convers ion": {
  646                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'document' ]['jmeadow s-cda-docu ment-conve rsion']['w orker_coun t'] %>
  647              }
  648           },
  649           "j ds-storage ": {
  650              "store-rec ord": {
  651                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'jds-stora ge']['stor e-record'] ['worker_c ount'] %>
  652              },
  653              "operation al-store-r ecord": {
  654                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'jds-stora ge']['oper ational-st ore-record ']['worker _count'] % >
  655              }
  656           },
  657           "s olr-storag e": {
  658              "solr-reco rd-storage ": {
  659                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'solr-stor age']['sol r-record-s torage'][' worker_cou nt'] %>
  660              }
  661           },
  662           "e nrichment" : {
  663              "record-en richment":  {
  664                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'enrichmen t']['recor d-enrichme nt']['work er_count']  %>
  665              }
  666           },
  667           "p rioritizat ion": {
  668              "event-pri oritizatio n-request" : {
  669                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'prioritiz ation']['e vent-prior itization- request'][ 'worker_co unt'] %>
  670              }
  671           },
  672           "p ublish": {
  673              "publish-d ata-change -event": {
  674                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'publish'] ['publish- data-chang e-event'][ 'worker_co unt'] %>
  675              }
  676           },
  677           "r esync": {
  678              "resync-re quest": {
  679                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'resync'][ 'resync-re quest']['w orker_coun t'] %>
  680              }
  681           },
  682           "u pdate": {
  683              "record-up date": {
  684                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'update'][ 'record-up date']['wo rker_count '] %>
  685              }
  686           },
  687           "r etirement" : {
  688              "patient-r ecord-reti rement": {
  689                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'retiremen t']['patie nt-record- retirement ']['worker _count'] % >
  690              }
  691           },
  692           "n otificatio n": {
  693              "sync-noti fication":  {
  694                "workerC ount": <%=  @vxsync[' vxsync'][' profile'][ 'notificat ion']['syn c-notifica tion']['wo rker_count '] %>         
  695              }
  696           }
  697         }
  698       },
  699       "paral lelPublish ": 20,
  700       <% if  @vxsync_en vironments  %>
  701       "vxsyn cEnvironme nts": {
  702         <% @ vxsync_env ironments. each_with_ index do | vxsync_env ironment,  outer_inde x| %>
  703         <% v xsync_envi ronment['v xsync']['v xsync_appl ications'] .each_with _index do  |applicati on, inner_ index| %>
  704         "<%=  "#{vxsync _environme nt['machin ename']}_# {applicati on}" %>":  {
  705           "v xsync": {
  706              "beanstalk ": {
  707                "repoUni versal": {
  708                  "prior ity": <%=  vxsync_env ironment[' vxsync'][' beanstalk_ priority']  %>,
  709                  "delay ": <%= vxs ync_enviro nment['vxs ync']['bea nstalk_del ay'] %>,
  710                  "ttr":  <%= vxsyn c_environm ent['vxsyn c']['beans talk_ttr']  %>,
  711                  "timeo ut": <%= v xsync_envi ronment['v xsync']['b eanstalk_t imeout'] % >,
  712                  "initM illis": <% = vxsync_e nvironment ['vxsync'] ['beanstal k_init_mil lis'] %>,
  713                  "maxMi llis": <%=  vxsync_en vironment[ 'vxsync'][ 'beanstalk _max_milli s'] %>,
  714                  "incMi llis": <%=  vxsync_en vironment[ 'vxsync'][ 'beanstalk _inc_milli s'] %>
  715                },
  716                "repoDef aults": {
  717                  "host" : "<%= vxs ync_enviro nment['ipa ddress'] % >",
  718                  "port" : <%= vxsy nc_environ ment["vxsy nc_#{appli cation}"][ "beanstalk _processes "]["jobrep o_#{applic ation}"][" config"][" port"] %>,
  719                  "tuben ame": "<%=  vxsync_en vironment[ 'vxsync'][ 'beanstalk _processes ']['jobrep o']['confi g']['tube_ name'] %>" ,
  720                  "tubeP refix": "< %= vxsync_ environmen t['vxsync' ]['beansta lk_process es']['jobr epo']['con fig']['tub e_prefix']  %>",
  721                  "jobTy peForTube" : <%= vxsy nc_environ ment['vxsy nc']['bean stalk_proc esses']['j obrepo'][' config'][' job_type']  %>
  722                },
  723                "jobType s": {
  724                  <% if  applicatio n == 'vist a' %>
  725                  "vista -record-pr ocessor-re quest": {} ,
  726                  "opera tional-sto re-record" : {},
  727                  <% end  %>
  728                  <% if  applicatio n == 'clie nt' %>
  729                  "enter prise-sync -request":  {},
  730                  "vista -operation al-subscri be-request ": {},
  731                  <% @vi sta_sites. each do |s ite_info|  %>
  732                  "vista -<%= site_ info['vist a']['site_ id'] %>-su bscribe-re quest": {} ,
  733                  <% end  %>
  734                  "jmead ows-sync-r equest": { },
  735                  "jmead ows-sync-a llergy-req uest": {},
  736                  "jmead ows-sync-a ppointment -request":  {},
  737                  "jmead ows-sync-c onsult-req uest": {},
  738                  "jmead ows-sync-d emographic s-request" : {},
  739                  "jmead ows-sync-d ischargeSu mmary-requ est": {},
  740                  "jmead ows-sync-e ncounter-r equest": { },
  741                  "jmead ows-sync-i mmunizatio n-request" : {},
  742                  "jmead ows-sync-l ab-request ": {},
  743                  "jmead ows-sync-m edication- request":  {},
  744                  "jmead ows-sync-n ote-reques t": {},
  745                  "jmead ows-sync-o rder-reque st": {},
  746                  "jmead ows-sync-p roblem-req uest": {},
  747                  "jmead ows-sync-p rogressNot e-request" : {},
  748                  "jmead ows-sync-r adiology-r equest": { },
  749                  "jmead ows-sync-v ital-reque st": {},
  750                  "jmead ows-xform- allergy-vp r": {},
  751                  "jmead ows-xform- appointmen t-vpr": {} ,
  752                  "jmead ows-xform- consult-vp r": {},
  753                  "jmead ows-xform- demographi cs-vpr": { },
  754                  "jmead ows-xform- dischargeS ummary-vpr ": {},
  755                  "jmead ows-xform- encounter- vpr": {},
  756                  "jmead ows-xform- immunizati on-vpr": { },
  757                  "jmead ows-xform- lab-vpr":  {},
  758                  "jmead ows-xform- medication -vpr": {},
  759                  "jmead ows-xform- note-vpr":  {},
  760                  "jmead ows-xform- order-vpr" : {},
  761                  "jmead ows-xform- problem-vp r": {},
  762                  "jmead ows-xform- progressNo te-vpr": { },
  763                  "jmead ows-xform- radiology- vpr": {},
  764                  "jmead ows-xform- vital-vpr" : {},
  765                  "jmead ows-pdf-do cument-tra nsform": { },
  766                  "jmead ows-docume nt-retriev al": {},
  767                  "jmead ows-cda-do cument-con version":  {},
  768                  "hdr-s ync-reques t": {},
  769                  "hdr-s ync-allerg y-request" : {},
  770                  "hdr-s ync-appoin tment-requ est": {},
  771                  "hdr-s ync-consul t-request" : {},
  772                  "hdr-s ync-cpt-re quest": {} ,
  773                  "hdr-s ync-docume nt-request ": {},
  774                  "hdr-s ync-image- request":  {},
  775                  "hdr-s ync-immuni zation-req uest": {},
  776                  "hdr-s ync-lab-re quest": {} ,
  777                  "hdr-s ync-med-re quest": {} ,
  778                  "hdr-s ync-order- request":  {},
  779                  "hdr-s ync-patien t-request" : {},
  780                  "hdr-s ync-pov-re quest": {} ,
  781                  "hdr-s ync-proble m-request" : {},
  782                  "hdr-s ync-proced ure-reques t": {},
  783                  "hdr-s ync-surger y-request" : {},
  784                  "hdr-s ync-visit- request":  {},
  785                  "hdr-s ync-vital- request":  {},
  786                  "hdr-x form-aller gy-vpr": { },
  787                  "hdr-x form-appoi ntment-vpr ": {},
  788                  "hdr-x form-consu lt-vpr": { },
  789                  "hdr-x form-cpt-v pr": {},
  790                  "hdr-x form-docum ent-vpr":  {},
  791                  "hdr-x form-image -vpr": {},
  792                  "hdr-x form-immun ization-vp r": {},
  793                  "hdr-x form-lab-v pr": {},
  794                  "hdr-x form-med-v pr": {},
  795                  "hdr-x form-order -vpr": {},
  796                  "hdr-x form-patie nt-vpr": { },
  797                  "hdr-x form-pov-v pr": {},
  798                  "hdr-x form-probl em-vpr": { },
  799                  "hdr-x form-proce dure-vpr":  {},
  800                  "hdr-x form-surge ry-vpr": { },
  801                  "hdr-x form-visit -vpr": {},
  802                  "hdr-x form-vital -vpr": {},
  803                  "vler- sync-reque st": {},
  804                  "vler- xform-vpr" : {},
  805                  "pgd-s ync-reques t": {},
  806                  "pgd-x form-vpr":  {},
  807                  <% @hd r_sites.ea ch do |hdr _site| %>
  808                    <% h dr_site['h dr']['hdr_ sites'].ea ch do |sit e| %>
  809                  "vista hdr-<%= si te['site_i d'] %>-sub scribe-req uest":{},
  810                    <% e nd %>
  811                  <% end  %>
  812                  <% end  %>
  813                  "error -request":  {},
  814                  "recor d-enrichme nt": {
  815                    "tub eDetails":  [
  816                      {
  817                         "ratio": 5 000,
  818                         "priority" : {
  819                           "startVa lue": 1,
  820                           "endValu e": 20
  821                         }
  822                      },
  823                      {
  824                         "ratio": 3 000,
  825                         "priority" : {
  826                           "startVa lue": 21,
  827                           "endValu e": 40
  828                         }
  829                      },
  830                      {
  831                         "ratio": 2 000,
  832                         "priority" : {
  833                           "startVa lue": 41,
  834                           "endValu e": 60
  835                         }
  836                      },
  837                      {
  838                         "ratio": 1 000,
  839                         "priority" : {
  840                           "startVa lue": 61,
  841                           "endValu e": 80
  842                         }
  843                      },
  844                      {
  845                         "ratio": 5 00,
  846                         "priority" : {
  847                           "startVa lue": 81,
  848                           "endValu e": 100
  849                         }
  850                      }]
  851                  },
  852                  "store -record":  {},
  853                  "solr- record-sto rage": {},
  854                  "event -prioritiz ation-requ est": {},
  855                  "publi sh-data-ch ange-event ": {},
  856                  "activ ity-manage ment-event ": {},
  857                  "resyn c-request" : {
  858                      "d elay": 30
  859                  },
  860                  "recor d-update":  {
  861                      "h ost": "<%=  vxsync_en vironment[ 'ipaddress '] %>",
  862                      "p ort": 4999
  863                  },
  864                  "patie nt-record- retirement ": {},
  865                  "sync- notificati on": {}
  866                }
  867              }
  868           },
  869           "o sync": {
  870              "beanstalk ": {
  871                "repoUni versal": {
  872                    "pri ority": 10 ,
  873                    "del ay": 0,
  874                    "ttr ": <%= vxs ync_enviro nment['osy nc']['bean stalk_ttr' ] %>,
  875                    "tim eout": 10,
  876                    "ini tMillis":  1000,
  877                    "max Millis": 1 5000,
  878                    "inc Millis": 1 000
  879                },
  880                "repoDef aults": {
  881                    "hos t": "<%= v xsync_envi ronment['i paddress']  %>",
  882                    "por t": <%= vx sync_envir onment['os ync']['pro cesses'][' opportunis tic_sync_j obrepo'][' config'][' port'] %>,
  883                    "tub ename": "o sync",
  884                    "tub ePrefix":  "osync-",
  885                    "job TypeForTub e": true
  886                },
  887                "jobType s": {
  888                    "adm issions":  {},
  889                    "app ointments" : {},
  890                    "syn c": {},
  891                    "pat ientlist":  {}
  892                }
  893              }
  894           }
  895         }<%=  ',' unles s inner_in dex == (vx sync_envir onment['vx sync']['vx sync_appli cations']. size - 1)  && outer_i ndex == (@ vxsync_env ironments. size - 1)  %>
  896         <% e nd %>
  897         <% e nd %>
  898       },
  899       <% end  %>
  900       "beans talk": {
  901         "rep oUniversal ": {
  902           "p riority":  <%= @vxsyn c['vxsync' ]['beansta lk_priorit y'] %>,
  903           "d elay": <%=  @vxsync[' vxsync'][' beanstalk_ delay'] %> ,
  904           "t tr": <%= @ vxsync['vx sync']['be anstalk_tt r'] %>,
  905           "t imeout": < %= @vxsync ['vxsync'] ['beanstal k_timeout' ] %>,
  906           "i nitMillis" : <%= @vxs ync['vxsyn c']['beans talk_init_ millis'] % >,
  907           "m axMillis":  <%= @vxsy nc['vxsync ']['beanst alk_max_mi llis'] %>,
  908           "i ncMillis":  <%= @vxsy nc['vxsync ']['beanst alk_inc_mi llis'] %>
  909       },
  910       "repoD efaults":  {
  911           "h ost": "127 .0.0.1",
  912           "p ort": <%=  @beanstalk _port %>,
  913           "t ubename":  "<%= @vxsy nc['vxsync ']['beanst alk_proces ses']['job repo']['co nfig']['tu be_name']  %>",
  914           "t ubePrefix" : "<%= @vx sync['vxsy nc']['bean stalk_proc esses']['j obrepo'][' config'][' tube_prefi x'] %>",
  915           "j obTypeForT ube": <%=  @vxsync['v xsync']['b eanstalk_p rocesses'] ['jobrepo' ]['config' ]['job_typ e'] %>
  916       },
  917         "job Types": {
  918           "e rror-reque st": {},
  919           "e nterprise- sync-reque st": {},
  920           "v ista-opera tional-sub scribe-req uest": {},
  921           <%  @vista_si tes.each d o |site_in fo| %>
  922           "v ista-<%= s ite_info[' vista']['s ite_id'] % >-subscrib e-request" : {},
  923           <%  end %>
  924           "j meadows-sy nc-request ": {},
  925           "j meadows-sy nc-allergy -request":  {},
  926           "j meadows-sy nc-appoint ment-reque st": {},
  927           "j meadows-sy nc-consult -request":  {},
  928           "j meadows-sy nc-demogra phics-requ est": {},
  929           "j meadows-sy nc-dischar geSummary- request":  {},
  930           "j meadows-sy nc-encount er-request ": {},
  931           "j meadows-sy nc-immuniz ation-requ est": {},
  932           "j meadows-sy nc-lab-req uest": {},
  933           "j meadows-sy nc-medicat ion-reques t": {},
  934           "j meadows-sy nc-note-re quest": {} ,
  935           "j meadows-sy nc-order-r equest": { },
  936           "j meadows-sy nc-problem -request":  {},
  937           "j meadows-sy nc-progres sNote-requ est": {},
  938           "j meadows-sy nc-radiolo gy-request ": {},
  939           "j meadows-sy nc-vital-r equest": { },
  940           "j meadows-xf orm-allerg y-vpr": {} ,
  941           "j meadows-xf orm-appoin tment-vpr" : {},
  942           "j meadows-xf orm-consul t-vpr": {} ,
  943           "j meadows-xf orm-demogr aphics-vpr ": {},
  944           "j meadows-xf orm-discha rgeSummary -vpr": {},
  945           "j meadows-xf orm-encoun ter-vpr":  {},
  946           "j meadows-xf orm-immuni zation-vpr ": {},
  947           "j meadows-xf orm-lab-vp r": {},
  948           "j meadows-xf orm-medica tion-vpr":  {},
  949           "j meadows-xf orm-note-v pr": {},
  950           "j meadows-xf orm-order- vpr": {},
  951           "j meadows-xf orm-proble m-vpr": {} ,
  952           "j meadows-xf orm-progre ssNote-vpr ": {},
  953           "j meadows-xf orm-radiol ogy-vpr":  {},
  954           "j meadows-xf orm-vital- vpr": {},
  955           "j meadows-pd f-document -transform ": {},
  956           "j meadows-do cument-ret rieval": { },
  957           "j meadows-cd a-document -conversio n": {},
  958           "h dr-sync-re quest": {} ,
  959           "h dr-sync-al lergy-requ est": {},
  960           "h dr-sync-ap pointment- request":  {},
  961           "h dr-sync-co nsult-requ est": {},
  962           "h dr-sync-cp t-request" : {},
  963           "h dr-sync-do cument-req uest": {},
  964           "h dr-sync-im age-reques t": {},
  965           "h dr-sync-im munization -request":  {},
  966           "h dr-sync-la b-request" : {},
  967           "h dr-sync-me d-request" : {},
  968           "h dr-sync-or der-reques t": {},
  969           "h dr-sync-pa tient-requ est": {},
  970           "h dr-sync-po v-request" : {},
  971           "h dr-sync-pr oblem-requ est": {},
  972           "h dr-sync-pr ocedure-re quest": {} ,
  973           "h dr-sync-su rgery-requ est": {},
  974           "h dr-sync-vi sit-reques t": {},
  975           "h dr-sync-vi tal-reques t": {},
  976           "h dr-xform-a llergy-vpr ": {},
  977           "h dr-xform-a ppointment -vpr": {},
  978           "h dr-xform-c onsult-vpr ": {},
  979           "h dr-xform-c pt-vpr": { },
  980           "h dr-xform-d ocument-vp r": {},
  981           "h dr-xform-i mage-vpr":  {},
  982           "h dr-xform-i mmunizatio n-vpr": {} ,
  983           "h dr-xform-l ab-vpr": { },
  984           "h dr-xform-m ed-vpr": { },
  985           "h dr-xform-o rder-vpr":  {},
  986           "h dr-xform-p atient-vpr ": {},
  987           "h dr-xform-p ov-vpr": { },
  988           "h dr-xform-p roblem-vpr ": {},
  989           "h dr-xform-p rocedure-v pr": {},
  990           "h dr-xform-s urgery-vpr ": {},
  991           "h dr-xform-v isit-vpr":  {},
  992           "h dr-xform-v ital-vpr":  {},
  993           "v ler-sync-r equest": { },
  994           "v ler-xform- vpr": {},
  995           "p gd-sync-re quest": {} ,
  996           "p gd-xform-v pr": {},
  997           "r ecord-enri chment": {
  998                    "tub eDetails":  [{"ratio" : 5000, "p riority":  {"startVal ue": 1, "e ndValue":  20}}, {"ra tio": 3000 , "priorit y": {"star tValue": 2 1, "endVal ue": 40}},  {"ratio":  2000, "pr iority": { "startValu e": 41, "e ndValue":  60}}, {"ra tio": 1000 , "priorit y": {"star tValue": 6 1, "endVal ue": 80}},  {"ratio":  500, "pri ority": {" startValue ": 81, "en dValue": 1 00}}]
  999           },
  1000           "s tore-recor d": {},
  1001           "s olr-record -storage":  {},
  1002           "e vent-prior itization- request":  {},
  1003           <%  @hdr_site s.each do  |hdr_site|  %>
  1004           <%  hdr_site[ 'hdr']['hd r_sites']. each do |s ite| %>
  1005           "v istahdr-<% = site['si te_id'] %> -subscribe -request"  :{
  1006           },
  1007           <%  end %>
  1008           <%  end %>
  1009           "v ista-recor d-processo r-request" : {},
  1010           "o perational -store-rec ord": {},
  1011           "p ublish-dat a-change-e vent": {},
  1012           "a ctivity-ma nagement-e vent": {},
  1013           "r esync-requ est": {
  1014                "delay":  30
  1015           },
  1016           "r ecord-upda te": {
  1017                "host":  "127.0.0.1 ",
  1018                "port":  4999
  1019           },
  1020           "p atient-rec ord-retire ment": {},
  1021           "s ync-notifi cation": { }
  1022         }
  1023       },
  1024       <% if  @vxsync['v xsync']['p ublish_tub es'] %>
  1025       "publi shTubes":  {
  1026         "act ivity-mana gement-eve nt": {
  1027           "e ventFilter ": {
  1028              "generic":  {
  1029              <%if !@act ivity_filt er_sites.n il? %>
  1030                "sites":  [
  1031                  <% @ac tivity_fil ter_sites. each_with_ index do | site_hash,  index| %>
  1032                  "<%= s ite_hash % >"<%= ','  unless ind ex == @act ivity_filt er_sites.s ize - 1 %>
  1033                  <% end  %>
  1034                ],
  1035              <% end %>
  1036                "domains ": [
  1037                  "lab",
  1038                  "order ",
  1039                  "ehmp- order",
  1040                  "ehmp- activity",
  1041                  "ehmp- note",
  1042                  "disch arge"
  1043                ]
  1044              }
  1045           }
  1046         }
  1047       },
  1048       <% end  %>
  1049           "j ds": {
  1050                "protoco l": "http" ,
  1051                "host":  "<%= @jds[ 'ipaddress '] %>",
  1052                "port":  "<%= @jds[ 'jds']['ca che_listen er_ports'] ['vxsync']  %>",
  1053                "timeout ": <%= @vx sync['vxsy nc']['jds_ timeout']  %>
  1054           },
  1055           "p jds": {
  1056                "protoco l": "http" ,
  1057                "host":  "<%= @pjds ['ipaddres s'] %>",
  1058                "port":  "<%= @pjds ['jds']['c ache_liste ner_ports' ]['vxsync' ] %>",
  1059                "timeout ": <%= @vx sync['vxsy nc']['jds_ timeout']  %>
  1060           },
  1061  
  1062           "s olrClient" : {
  1063                "childIn stanceEnab led": <%=  @vxsync['v xsync']['l og_level'] ['solr_cli ent']['chi ld_instanc e_enabled' ] %>,
  1064                "dataTim eoutMillis ": <%= @so lr['vx_sol r']['clien t']['data_ timeout_mi llis'] %>,
  1065                "waitLoo pDelayMill is": <%= @ solr['vx_s olr']['cli ent']['wai t_loop_del ay_millis' ] %>,
  1066                "core":  "<%= @solr ['vx_solr' ]['client' ]['core']  %>",
  1067                "zooKeep erConnecti on": "<%=  @solr['vx_ solr']['zo okeeper'][ 'zookeeper _connectio n'] %>",
  1068                "path":  "<%= @solr ['vx_solr' ]['client' ]['path']  %>",
  1069                "nodeEve ntLogLevel ": "<%= @v xsync['vxs ync']['log _level'][' solr_clien t']['node_ event'] %> ",
  1070                "zookeep erEventLog Level": "< %= @vxsync ['vxsync'] ['log_leve l']['solr_ client'][' zookeeper_ event'] %> ",
  1071                "zooKeep erOptions" : {
  1072                    "ret ries": <%=  @solr['vx _solr']['c lient']['z ookeeper_o ptions'][' retries']  %>
  1073                }
  1074           },
  1075  
  1076           "s olr-xform" : {
  1077                "vlerdoc ument": {
  1078                    "reg exFilters"  : ["\\^mu ltipart\\^ \\^Base64\ \^\\w*"]
  1079                }
  1080           },
  1081  
  1082           "m vi": {
  1083                "protoco l": "http" ,
  1084                "host":  "127.0.0.1 ",
  1085                "port":  "<%= @soap _handler[' server_por t'] %>",
  1086                "corresp ondingIds" : "/mvi/co rrespondin gIds",
  1087                "attende dSearch":  "/mvi/atte ndedSearch ",
  1088                "timeout ": <%= @vx sync['vxsy nc']['mvi_ timeout']  %>
  1089           },
  1090  
  1091           "t erminology ": {
  1092                "protoco l": "http" ,
  1093                "host":  "127.0.0.1 ",
  1094                "port":  "<%= @soap _handler[' server_por t'] %>",
  1095                "timeout ": <%= @vx sync['vxsy nc']['term inology_ti meout'] %> ,
  1096                "lncPath ": "/term/ lnc",
  1097                "drugPat h": "/term /drug",
  1098                "jlvPath ": "/term/ jlv",
  1099                "jlvList Path": "/t erm/jlvLis t"
  1100           },
  1101       "docum entStorage ": {
  1102         "sta ging": {
  1103           "p ath": "/va r/vxsync/d ocuments/s taged",
  1104           "p ermissions ": "700"
  1105         },
  1106         "pub lish": {
  1107           "p ath": "/va r/vxsync/d ocuments/p ublished",
  1108           "p ermissions ": "400"
  1109         },
  1110         "uri Root": "/d ocuments"
  1111       },
  1112  
  1113       "error -processin g": {
  1114         "err orRetryLim it": <%= @ vxsync['er ror_proces sing']['er ror_retry_ limit'] %> ,
  1115         "jds GetErrorLi mit" : <%=  @vxsync[' error_proc essing'][' jdsGetErro rLimit'] % >,
  1116         "pro files": {
  1117           "c atastrophi c-recovery ": {
  1118              "enabled":  <%= @vxsy nc['error_ processing ']['profil es']['cata strophic_r ecovery'][ 'enabled']  %>,
  1119              "ignoreSev erity": tr ue,
  1120              "loopDelay Millis": < %= @vxsync ['error_pr ocessing'] ['profiles ']['catast rophic_rec overy']['l oop_delay_ millis'] % >,
  1121              "jobTypes" : [
  1122                "error-r equest",
  1123                "operati onal-store -record",
  1124                "solr-re cord-stora ge",
  1125                "store-r ecord",
  1126                "record- enrichment ",
  1127                "event-p rioritizat ion-reques t",
  1128                "vista-r ecord-proc essor-requ est",
  1129                <% @vist a_sites.ea ch do |sit e_info| %>
  1130                "vista-< %= site_in fo['vista' ]['site_id '] %>-data -poller",
  1131                <% end % >
  1132                <% @vist a_sites.ea ch do |sit e_info| %>
  1133                "vista-< %= site_in fo['vista' ]['site_id '] %>-subs cribe-requ est",
  1134                <% end % >
  1135                "hdr-xfo rm-allergy -vpr",
  1136                "hdr-xfo rm-appoint ment-vpr",
  1137                "hdr-xfo rm-consult -vpr",
  1138                "hdr-xfo rm-cpt-vpr ",
  1139                "hdr-xfo rm-documen t-vpr",
  1140                "hdr-xfo rm-image-v pr",
  1141                "hdr-xfo rm-immuniz ation-vpr" ,
  1142                "hdr-xfo rm-lab-vpr ",
  1143                "hdr-xfo rm-med-vpr ",
  1144                "hdr-xfo rm-order-v pr",
  1145                "hdr-xfo rm-patient -vpr",
  1146                "hdr-xfo rm-pov-vpr ",
  1147                "hdr-xfo rm-problem -vpr",
  1148                "hdr-xfo rm-procedu re-vpr",
  1149                "hdr-xfo rm-surgery -vpr",
  1150                "hdr-xfo rm-vital-v pr",
  1151                "hdr-xfo rm-visit-v pr",
  1152                "hdr-syn c-allergy- request",
  1153                "hdr-syn c-appointm ent-reques t",
  1154                "hdr-syn c-consult- request",
  1155                "hdr-syn c-cpt-requ est",
  1156                "hdr-syn c-document -request",
  1157                "hdr-syn c-image-re quest",
  1158                "hdr-syn c-immuniza tion-reque st",
  1159                "hdr-syn c-lab-requ est",
  1160                "hdr-syn c-med-requ est",
  1161                "hdr-syn c-order-re quest",
  1162                "hdr-syn c-patient- request",
  1163                "hdr-syn c-pov-requ est",
  1164                "hdr-syn c-problem- request",
  1165                "hdr-syn c-procedur e-request" ,
  1166                "hdr-syn c-surgery- request",
  1167                "hdr-syn c-vital-re quest",
  1168                "hdr-syn c-visit-re quest",
  1169                "hdr-syn c-request" ,
  1170                "jmeadow s-cda-docu ment-conve rsion",
  1171                "jmeadow s-pdf-docu ment-trans form",
  1172                "jmeadow s-document -retrieval ",
  1173                "jmeadow s-xform-al lergy-vpr" ,
  1174                "jmeadow s-xform-ap pointment- vpr",
  1175                "jmeadow s-xform-co nsult-vpr" ,
  1176                "jmeadow s-xform-de mographics -vpr",
  1177                "jmeadow s-xform-di schargeSum mary-vpr",
  1178                "jmeadow s-xform-en counter-vp r",
  1179                "jmeadow s-xform-im munization -vpr",
  1180                "jmeadow s-xform-la b-vpr",
  1181                "jmeadow s-xform-me dication-v pr",
  1182                "jmeadow s-xform-no te-vpr",
  1183                "jmeadow s-xform-or der-vpr",
  1184                "jmeadow s-xform-pr oblem-vpr" ,
  1185                "jmeadow s-xform-pr ogressNote -vpr",
  1186                "jmeadow s-xform-ra diology-vp r",
  1187                "jmeadow s-xform-vi tal-vpr",
  1188                "jmeadow s-sync-all ergy-reque st",
  1189                "jmeadow s-sync-app ointment-r equest",
  1190                "jmeadow s-sync-con sult-reque st",
  1191                "jmeadow s-sync-dem ographics- request",
  1192                "jmeadow s-sync-dis chargeSumm ary-reques t",
  1193                "jmeadow s-sync-enc ounter-req uest",
  1194                "jmeadow s-sync-imm unization- request",
  1195                "jmeadow s-sync-lab -request",
  1196                "jmeadow s-sync-med ication-re quest",
  1197                "jmeadow s-sync-not e-request" ,
  1198                "jmeadow s-sync-ord er-request ",
  1199                "jmeadow s-sync-pro blem-reque st",
  1200                "jmeadow s-sync-pro gressNote- request",
  1201                "jmeadow s-sync-rad iology-req uest",
  1202                "jmeadow s-sync-vit al-request ",
  1203                "jmeadow s-sync-req uest",
  1204                "vler-sy nc-request ",
  1205                "vler-xf orm-vpr",
  1206                "enterpr ise-sync-r equest",
  1207                "sync-no tification "
  1208              ]
  1209           },
  1210           "r ecord-enri chment": {
  1211              "enabled":  <%= @vxsy nc['error_ processing ']['profil es']['reco rd_enrichm ent']['ena bled'] %>,
  1212              "ignoreSev erity": tr ue,
  1213              "loopDelay Millis": < %= @vxsync ['error_pr ocessing'] ['profiles ']['record _enrichmen t']['loop_ delay_mill is'] %>,
  1214              "jobTypes" : [
  1215                "record- enrichment "
  1216              ]
  1217           },
  1218           "a ctivity-ma nagement":  {
  1219              "enabled":  <%= @vxsy nc['error_ processing ']['profil es']['acti vity_manag ement']['e nabled'] % >,
  1220              "ignoreSev erity": tr ue,
  1221              "loopDelay Millis": < %= @vxsync ['error_pr ocessing'] ['profiles ']['activi ty_managem ent']['loo p_delay_mi llis'] %>,
  1222              "jobTypes" : [
  1223                "activit y-manageme nt-event"
  1224              ]
  1225           },
  1226           "j meadows":  {
  1227              "enabled":  <%= @vxsy nc['error_ processing ']['profil es']['jmea dows']['en abled'] %> ,
  1228              "loopDelay Millis": < %= @vxsync ['error_pr ocessing'] ['profiles ']['jmeado ws']['loop _delay_mil lis'] %>,
  1229              "jobTypes" : [
  1230                "jmeadow s-sync-req uest",
  1231  
  1232                "jmeadow s-sync-all ergy-reque st",
  1233                "jmeadow s-sync-app ointment-r equest",
  1234                "jmeadow s-sync-con sult-reque st",
  1235                "jmeadow s-sync-dem ographics- request",
  1236                "jmeadow s-sync-dis chargeSumm ary-reques t",
  1237                "jmeadow s-sync-enc ounter-req uest",
  1238                "jmeadow s-sync-imm unization- request",
  1239                "jmeadow s-sync-lab -request",
  1240                "jmeadow s-sync-med ication-re quest",
  1241                "jmeadow s-sync-not e-request" ,
  1242                "jmeadow s-sync-ord er-request ",
  1243                "jmeadow s-sync-pro blem-reque st",
  1244                "jmeadow s-sync-pro gressNote- request",
  1245                "jmeadow s-sync-rad iology-req uest",
  1246                "jmeadow s-sync-vit al-request ",
  1247  
  1248                "jmeadow s-xform-al lergy-vpr" ,
  1249                "jmeadow s-xform-ap pointment- vpr",
  1250                "jmeadow s-xform-co nsult-vpr" ,
  1251                "jmeadow s-xform-de mographics -vpr",
  1252                "jmeadow s-xform-di schargeSum mary-vpr",
  1253                "jmeadow s-xform-en counter-vp r",
  1254                "jmeadow s-xform-im munization -vpr",
  1255                "jmeadow s-xform-la b-vpr",
  1256                "jmeadow s-xform-me dication-v pr",
  1257                "jmeadow s-xform-no te-vpr",
  1258                "jmeadow s-xform-or der-vpr",
  1259                "jmeadow s-xform-pr oblem-vpr" ,
  1260                "jmeadow s-xform-pr ogressNote -vpr",
  1261                "jmeadow s-xform-ra diology-vp r",
  1262                "jmeadow s-xform-vi tal-vpr"
  1263              ]
  1264           },
  1265           "h dr": {
  1266              "enabled":  <%= @vxsy nc['error_ processing ']['profil es']['hdr' ]['enabled '] %>,
  1267              "loopDelay Millis": < %= @vxsync ['error_pr ocessing'] ['profiles ']['hdr'][ 'loop_dela y_millis']  %>,
  1268              "jobTypes" : [
  1269                "hdr-syn c-request" ,
  1270  
  1271                "hdr-syn c-allergy- request",
  1272                "hdr-syn c-appointm ent-reques t",
  1273                "hdr-syn c-consult- request",
  1274                "hdr-syn c-cpt-requ est",
  1275                "hdr-syn c-document -request",
  1276                "hdr-syn c-image-re quest",
  1277                "hdr-syn c-immuniza tion-reque st",
  1278                "hdr-syn c-lab-requ est",
  1279                "hdr-syn c-med-requ est",
  1280                "hdr-syn c-order-re quest",
  1281                "hdr-syn c-patient- request",
  1282                "hdr-syn c-pov-requ est",
  1283                "hdr-syn c-problem- request",
  1284                "hdr-syn c-procedur e-request" ,
  1285                "hdr-syn c-surgery- request",
  1286                "hdr-syn c-vital-re quest",
  1287                "hdr-syn c-visit-re quest",
  1288  
  1289                "hdr-xfo rm-allergy -vpr",
  1290                "hdr-xfo rm-appoint ment-vpr",
  1291                "hdr-xfo rm-consult -vpr",
  1292                "hdr-xfo rm-cpt-vpr ",
  1293                "hdr-xfo rm-documen t-vpr",
  1294                "hdr-xfo rm-image-v pr",
  1295                "hdr-xfo rm-immuniz ation-vpr" ,
  1296                "hdr-xfo rm-lab-vpr ",
  1297                "hdr-xfo rm-med-vpr ",
  1298                "hdr-xfo rm-order-v pr",
  1299                "hdr-xfo rm-patient -vpr",
  1300                "hdr-xfo rm-pov-vpr ",
  1301                "hdr-xfo rm-problem -vpr",
  1302                "hdr-xfo rm-procedu re-vpr",
  1303                "hdr-xfo rm-surgery -vpr",
  1304                "hdr-xfo rm-vital-v pr",
  1305                "hdr-xfo rm-visit-v pr"
  1306              ]
  1307           },
  1308           "v ler": {
  1309              "enabled":  <%= @vxsy nc['error_ processing ']['profil es']['vler ']['enable d'] %>,
  1310              "loopDelay Millis": < %= @vxsync ['error_pr ocessing'] ['profiles ']['vler'] ['loop_del ay_millis' ] %>,
  1311              "jobTypes" : [
  1312                "vler-sy nc-request ",
  1313                "vler-xf orm-vpr"
  1314              ]
  1315           },
  1316           "p gd": {
  1317              "enabled":  <%= @vxsy nc['error_ processing ']['profil es']['pgd' ]['enabled '] %>,
  1318              "loopDelay Millis": < %= @vxsync ['error_pr ocessing'] ['profiles ']['pgd'][ 'loop_dela y_millis']  %>,
  1319              "jobTypes" : [
  1320                "pgd-syn c-request" ,
  1321                "pgd-xfo rm-vpr"
  1322              ]
  1323           }
  1324         }
  1325       },
  1326  
  1327       "error -handling" : {
  1328         "wri ters": ["l og-error-w riter", "j ds-error-w riter"],
  1329         "log -error-wri ter": {
  1330           "l ogger": {
  1331              "name": "e rrors",
  1332              "level": " <%= @vxsyn c['vxsync' ]['log_lev el']['erro r_handling '] %>"
  1333           }
  1334         }
  1335       },
  1336       "audit Path": "/v ar/log/vxs ync/audit/ ",
  1337       "logge rs": [
  1338         {
  1339           "n ame": "roo t",
  1340           "s treams": [ {
  1341                "level":  "<%= @vxs ync['vxsyn c']['log_l evel']['lo ggers']['r oot'] %>",
  1342                "type":  "rotating- file",
  1343                "path":  "<%= @log_ pattern %> ",
  1344                "period" : "1d",
  1345                "count":  7
  1346           }]
  1347         }
  1348       ],
  1349       "metri cs": [
  1350         {
  1351           "n ame": "met rics",
  1352           "l evel": "fa tal"
  1353         }
  1354       ],
  1355       "healt hcheck": {
  1356              "heartbeat Enabled":  false,
  1357              "heartbeat IntervalMi llis": 300 000,
  1358              "heartbeat StaleAgeMi llis": 600 000
  1359         },
  1360       "osync ": {
  1361           "s yncPriorit y": 50,
  1362           "r pcContext" : "HMP SYN CHRONIZATI ON CONTEXT ",
  1363           "c onfigRefre sh": <%= @ vxsync['os ync']['con fig_refres h'] %>,
  1364           "s yncUrl": " http://<%=  @vxsync[' ipaddress' ] %>:<%= @ vxsync['vx sync']['we b_service_ port'] %>/ sync/doLoa d",
  1365           "s tatusUrl":  "http://< %= @vxsync ['ipaddres s'] %>:<%=  @vxsync[' vxsync'][' web_servic e_port'] % >/sync/sta tus",
  1366           "m ixedEnviro nmentMode" : <%= @vxs ync['osync ']['mixedE nvironment Mode'] %>,
  1367           "a ctiveUserT hresholdDa ys": 30,
  1368           "h andlerProf iles": {
  1369                "default WorkerCoun t": <%= @v xsync['osy nc']['prof ile']['wor ker_count' ] %>,
  1370                "profile Collection ": {
  1371                    "def ault": "al l",
  1372                    "pri mary": {
  1373                      "a dmissions" : {
  1374                         "workerCou nt": <%= @ vxsync['os ync']['pro file']['pr imary']['a dmissions' ]['worker_ count'] %>
  1375                      },
  1376                      "a ppointment s": {
  1377                         "workerCou nt": <%= @ vxsync['os ync']['pro file']['pr imary']['a ppointment s']['worke r_count']  %>
  1378                      },
  1379                      "s ync": {
  1380                         "workerCou nt": <%= @ vxsync['os ync']['pro file']['pr imary']['s ync']['wor ker_count' ] %>
  1381                      },
  1382                      "p atientlist ": {
  1383                         "workerCou nt": <%= @ vxsync['os ync']['pro file']['pr imary']['p atientlist ']['worker _count'] % >
  1384                      }
  1385                    }
  1386                }
  1387           },
  1388           "b eanstalk":  {
  1389                "repoUni versal": {
  1390                    "pri ority": 10 ,
  1391                    "del ay": 0,
  1392                    "ttr ": <%= @vx sync['osyn c']['beans talk_ttr']  %>,
  1393                    "tim eout": 10,
  1394                    "ini tMillis":  1000,
  1395                    "max Millis": 1 5000,
  1396                    "inc Millis": 1 000
  1397                },
  1398                "repoDef aults": {
  1399                    "hos t": "127.0 .0.1",
  1400                    "por t": <%= @v xsync['osy nc']['proc esses']['o pportunist ic_sync_jo brepo']['c onfig']['p ort'] %>,
  1401                    "tub ename": "o sync",
  1402                    "tub ePrefix":  "osync-",
  1403                    "job TypeForTub e": true
  1404                },
  1405                "jobType s": {
  1406                    "adm issions":  {},
  1407                    "app ointments" : {},
  1408                    "syn c": {},
  1409                    "pat ientlist":  {}
  1410                }
  1411           },
  1412           "a ppointment sOptions":  {
  1413                "daysInF uture": 1
  1414           },
  1415           "l oggers": [ {
  1416                "name":  "root",
  1417                "streams ": [{
  1418                    "lev el": "<%=  @vxsync['o sync']['lo g_level'][ 'loggers'] ['root'] % >",
  1419                    "typ e": "rotat ing-file",
  1420                    "pat h": "/var/ log/osync/ osync.log" ,
  1421                    "per iod": "1d" ,
  1422                    "cou nt": 7
  1423                }]
  1424           },  {
  1425                "name":  "valid_pat ients",
  1426                "streams ": [{
  1427                    "lev el": "<%=  @vxsync['o sync']['lo g_level'][ 'loggers'] ['valid_pa tients'] % >",
  1428                    "typ e": "rotat ing-file",
  1429                    "pat h": "/var/ log/osync/ osync_vali d_patients .log",
  1430                    "per iod": "1d" ,
  1431                    "cou nt": 7
  1432                }]
  1433           },  {
  1434                "name":  "results",
  1435                "streams ": [{
  1436                    "lev el": "<%=  @vxsync['o sync']['lo g_level'][ 'loggers'] ['results' ] %>",
  1437                    "typ e": "rotat ing-file",
  1438                    "pat h": "/var/ log/osync/ osync_resu lts.log",
  1439                    "per iod": "1d" ,
  1440                    "cou nt": 7
  1441                }]
  1442           }] ,
  1443           "m etrics": [ {
  1444                "name":  "metrics",
  1445                "level":  "fatal"
  1446           }]
  1447       },
  1448       "recor dRetiremen t": {
  1449         "rul es": {
  1450           "l argePatien tRecord":  {
  1451              "patientTo talSizeLim it": 10000 0000,
  1452              "avgSizePe rEvent": 1 00
  1453                  }
  1454         },
  1455         "las tAccessed" : 180,
  1456         "uti lityLogLev el": "warn "
  1457       },
  1458       "syncN otificatio ns": <%= @ vxsync['vx sync']['sy ncNotifica tions'].to _json %>
  1459     }
  1460   }