20. EPMO Open Source Coordination Office Redaction File Detail Report

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

20.1 Files compared

# Location File Last Modified
1 JLV_2.6.zip\JLV_2.6\JLV_2.6\Joint Legacy Viewer\JLV\web-app\WEB-INF\xslt\c32styles\cds allergy.xsl Thu Aug 31 12:14:50 2017 UTC
2 JLV_2.6.zip\JLV_2.6\JLV_2.6\Joint Legacy Viewer\JLV\web-app\WEB-INF\xslt\c32styles\cds allergy.xsl Thu Aug 31 13:21:12 2017 UTC

20.2 Comparison summary

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

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

20.4 Active regular expressions

No regular expressions were active.

20.5 Comparison detail

  1   <?xml 
  2     version="1 .0" 
  3     encoding=" utf-8"
  4   ?>
  5  
  6   <xsl:style sheet 
  7     xmlns:xsl= "http://ww w.w3.org/1 999/XSL/Tr ansform"
  8                    
  9     xmlns:data ="Clinical data" 
  10     xmlns:site sTable="ht tp:// URL         /vistaweb/ sitesTable
  11     version="1 .0"
  12   >
  13    
  14         
  15     <xsl:impor
  16      href="../c ommon.xsl"
  17     />
  18         
  19     <xsl:impor
  20      href="cdsC ommon.xsl"
  21     />
  22    
  23         
  24     <xsl:strip -space 
  25      elements=" *"
  26     />
  27    
  28         
  29     <xsl:key 
  30      name="vhaS ites-looku p" 
  31      match="sit esTable:Vh aSite" 
  32      use="@ID"
  33     />
  34         
  35     <xsl:varia ble 
  36      name="vhaS ites-top"
  37                        
  38      select="do cument('.. /../VhaSit es.xml')/s itesTable: VhaVisnTab le/sitesTa ble:VhaVis n"
  39     />
  40    
  41         
  42     <xsl:templ ate 
  43      match="/da ta:Clinica lData"
  44     >
  45              
  46      <allergies >
  47                    
  48       <xsl:apply -templates  
  49        select="pa tient"
  50       />
  51                    
  52       <xsl:apply -templates  
  53        select="er rorSection "
  54       />
  55               
  56      </allergie s>
  57          
  58     </xsl:temp late>
  59    
  60         
  61     <xsl:templ ate 
  62      match="pat ient"
  63     >
  64              
  65      <xsl:apply -templates  
  66       select="in toleranceC onditions"
  67      />
  68              
  69      <xsl:apply -templates  
  70       select="al lergyAsses sments"
  71      />
  72          
  73     </xsl:temp late>
  74    
  75         
  76     <xsl:templ ate 
  77      name="erro rRecord"
  78     >
  79              
  80      <xsl:param  
  81       name="erro rType"
  82      />
  83              
  84      <xsl:param  
  85       name="erro rRecord"
  86      />
  87              
  88      <gov.va.me d.mdo.Alle rgyRpt>
  89                    
  90       <Observati onType>
  91        ERROR
  92       </Observat ionType>
  93                    
  94       <Reactants >
  95        ERROR
  96       </Reactant s>
  97                    
  98       <Type>
  99        ERROR
  100       </Type>
  101                    
  102       <Text>
  103                         
  104        <xsl:call- template 
  105         name="erro rDetailTex t"
  106        >
  107                              
  108         <xsl:with- param 
  109          name="erro rType" 
  110          select="$e rrorType"
  111         />
  112                              
  113         <xsl:with- param 
  114          name="erro rRecord" 
  115          select="$e rrorRecord "
  116         />
  117                          
  118        </xsl:call -template>
  119                     
  120       </Text>
  121                    
  122       <IsErrorEn try>
  123        true
  124       </IsErrorE ntry>
  125               
  126      </gov.va.m ed.mdo.All ergyRpt>
  127          
  128     </xsl:temp late>
  129    
  130         
  131     <xsl:templ ate 
  132      match="int oleranceCo nditions"
  133     >
  134              
  135      <gov.va.me d.mdo.Alle rgyRpt>
  136                    
  137       <Id>
  138                         
  139        <xsl:apply -templates  
  140         select="re cordIdenti fier"
  141        />
  142                     
  143       </Id>
  144                    
  145       <Reactants >
  146                         
  147        <xsl:apply -templates  
  148         select="ag ent"
  149        />
  150                     
  151       </Reactant s>
  152                    
  153       <Type>
  154                         
  155        <xsl:apply -templates  
  156         select="al lergyType"
  157        />
  158                     
  159       </Type>
  160                    
  161       <Timestamp >
  162                         
  163        <xsl:apply -templates  
  164         select="ve rifier/tim e"
  165        />
  166                     
  167       </Timestam p>
  168                    
  169       <Observati onType>
  170                         
  171        <xsl:apply -templates  
  172         select="in formationS ourceCateg ory"
  173        />
  174                     
  175       </Observat ionType>
  176                    
  177       <xsl:apply -templates  
  178        select="fa cilityIden tifier"
  179       />
  180                    
  181       <xsl:if 
  182        test="stat us"
  183       >
  184                         
  185        <Status>
  186                              
  187         <xsl:value -of 
  188          select="st atus"
  189         />
  190                          
  191        </Status>
  192                     
  193       </xsl:if>
  194                    
  195       <Message>
  196                         
  197        <xsl:apply -templates  
  198         select="gm rAllergyAg ent"
  199        />
  200                     
  201       </Message>
  202                    
  203       <Text>
  204                         
  205        <xsl:call- template 
  206         name="alle rgyDetail"
  207        />
  208                     
  209       </Text>
  210                    
  211       <IsErrorEn try>
  212        false
  213       </IsErrorE ntry>
  214               
  215      </gov.va.m ed.mdo.All ergyRpt>
  216          
  217     </xsl:temp late>
  218    
  219         
  220     <xsl:templ ate 
  221      match="all ergyAssess ments"
  222     >
  223              
  224      <gov.va.me d.mdo.Alle rgyRpt>
  225                    
  226       <Id>
  227                         
  228        <xsl:apply -templates  
  229         select="re cordIdenti fier"
  230        />
  231                     
  232       </Id>
  233                    
  234       <Reactants >
  235        assessment
  236       </Reactant s>
  237                    
  238       <Observati onType>
  239       </Observat ionType>
  240                    
  241       <Message>
  242                         
  243        <xsl:apply -templates  
  244         select="as sessmentVa lue"
  245        />
  246                     
  247       </Message>
  248                    
  249       <Timestamp >
  250                         
  251        <xsl:apply -templates  
  252         select="ob servationT ime"
  253        />
  254                     
  255       </Timestam p>
  256                    
  257       <SiteId>
  258                         
  259        <xsl:apply -templates  
  260         select="pa tient/iden tifier/ass igningFaci lity"
  261        />
  262                     
  263       </SiteId>
  264                    
  265       <Facility>
  266                         
  267        <xsl:apply -templates  
  268         select="$v haSites-to p"
  269        >
  270                              
  271         <xsl:with- param 
  272          name="item
  273          select="."
  274         />
  275                          
  276        </xsl:appl y-template s>
  277                     
  278       </Facility >
  279                    
  280       <xsl:if 
  281        test="stat us"
  282       >
  283                         
  284        <Status>
  285                              
  286         <xsl:value -of 
  287          select="st atus"
  288         />
  289                          
  290        </Status>
  291                     
  292       </xsl:if>
  293                    
  294       <Text>
  295                         
  296        <xsl:call- template 
  297         name="asse ssmentDeta il"
  298        />
  299                     
  300       </Text>
  301                    
  302       <IsErrorEn try>
  303        false
  304       </IsErrorE ntry>
  305               
  306      </gov.va.m ed.mdo.All ergyRpt>
  307          
  308     </xsl:temp late>
  309    
  310         
  311     <xsl:templ ate 
  312      match="rec ordIdentif ier"
  313     >
  314              
  315      <xsl:value -of 
  316       select="id entity"
  317      />
  318      :
  319      <xsl:value -of 
  320       select="na mespaceId"
  321      />
  322          
  323     </xsl:temp late>
  324    
  325         
  326     <xsl:templ ate 
  327      match="age nt"
  328     >
  329              
  330      <xsl:value -of 
  331       select="co de"
  332      />
  333          
  334     </xsl:temp late>
  335    
  336         
  337     <xsl:templ ate 
  338      match="all ergyType"
  339     >
  340              
  341      <xsl:value -of 
  342       select="di splayText"
  343      />
  344          
  345     </xsl:temp late>
  346    
  347         
  348     <xsl:templ ate 
  349      match="ver ifier/time "
  350     >
  351              
  352      <xsl:call- template 
  353       name="form atDateNume ric"
  354      >
  355                    
  356       <xsl:with- param 
  357        name="date String" 
  358        select="li teral"
  359       />
  360               
  361      </xsl:call -template>
  362          
  363     </xsl:temp late>
  364    
  365         
  366     <xsl:templ ate 
  367      match="inf ormationSo urceCatego ry"
  368     >
  369              
  370      <xsl:value -of 
  371       select="di splayText"
  372      />
  373          
  374     </xsl:temp late>
  375    
  376         
  377     <xsl:templ ate 
  378      match="fac ilityIdent ifier"
  379     >
  380              
  381      <SiteId>
  382                    
  383       <xsl:value -of 
  384        select="id entity"
  385       />
  386               
  387      </SiteId>
  388              
  389      <Facility>
  390                    
  391       <xsl:value -of 
  392        select="na me"
  393       />
  394               
  395      </Facility >
  396          
  397     </xsl:temp late>
  398    
  399         
  400     <xsl:templ ate 
  401      match="mec hanism"
  402     >
  403              
  404      <xsl:choos e>
  405                    
  406       <xsl:when 
  407        test="code ='4500979'  or displa yText='PHA RMACOLOGIC '"
  408       >
  409                         
  410        <xsl:text>
  411         Adverse Re action
  412        </xsl:text >
  413                     
  414       </xsl:when >
  415                    
  416       <xsl:other wise>
  417                         
  418        <xsl:value -of 
  419         select="di splayText"
  420        />
  421                     
  422       </xsl:othe rwise>
  423               
  424      </xsl:choo se>
  425          
  426     </xsl:temp late>
  427    
  428         
  429     <xsl:templ ate 
  430      match="rea ction/reac tion"
  431     >
  432              
  433      <xsl:value -of 
  434       select="di splayText"
  435      />
  436          
  437     </xsl:temp late>
  438    
  439         
  440     <xsl:templ ate 
  441      match="aut hor/practi tioner/nam e"
  442     >
  443              
  444      <xsl:value -of 
  445       select="fa mily"
  446      />
  447              
  448      <xsl:text>
  449      
  450      </xsl:text >
  451              
  452      <xsl:value -of 
  453       select="gi ven"
  454      />
  455              
  456      <xsl:if 
  457       test="midd le"
  458      >
  459                    
  460       <xsl:text>
  461         
  462       </xsl:text >
  463                    
  464       <xsl:value -of 
  465        select="mi ddle"
  466       />
  467               
  468      </xsl:if>
  469              
  470      <xsl:if 
  471       test="suff ix"
  472      >
  473                    
  474       <xsl:text>
  475         
  476       </xsl:text >
  477                    
  478       <xsl:value -of 
  479        select="su ffix"
  480       />
  481               
  482      </xsl:if>
  483              
  484      <xsl:if 
  485       test="titl e"
  486      >
  487                    
  488       <xsl:text>
  489         
  490       </xsl:text >
  491                    
  492       <xsl:value -of 
  493        select="ti tle"
  494       />
  495               
  496      </xsl:if>
  497          
  498     </xsl:temp late>
  499    
  500         
  501     <xsl:templ ate 
  502      match="aut hor/name"
  503     >
  504              
  505      <xsl:value -of 
  506       select="fa mily"
  507      />
  508              
  509      <xsl:text>
  510      
  511      </xsl:text >
  512              
  513      <xsl:value -of 
  514       select="gi ven"
  515      />
  516              
  517      <xsl:if 
  518       test="midd le"
  519      >
  520                    
  521       <xsl:text>
  522         
  523       </xsl:text >
  524                    
  525       <xsl:value -of 
  526        select="mi ddle"
  527       />
  528               
  529      </xsl:if>
  530              
  531      <xsl:if 
  532       test="suff ix"
  533      >
  534                    
  535       <xsl:text>
  536         
  537       </xsl:text >
  538                    
  539       <xsl:value -of 
  540        select="su ffix"
  541       />
  542               
  543      </xsl:if>
  544              
  545      <xsl:if 
  546       test="titl e"
  547      >
  548                    
  549       <xsl:text>
  550         
  551       </xsl:text >
  552                    
  553       <xsl:value -of 
  554        select="ti tle"
  555       />
  556               
  557      </xsl:if>
  558          
  559     </xsl:temp late>
  560    
  561         
  562     <xsl:templ ate 
  563      match="obs ervationTi me"
  564     >
  565              
  566      <xsl:call- template 
  567       name="form atDateNume ric"
  568      >
  569                    
  570       <xsl:with- param 
  571        name="date String" 
  572        select="li teral"
  573       />
  574               
  575      </xsl:call -template>
  576          
  577     </xsl:temp late>
  578    
  579         
  580     <xsl:templ ate 
  581      match="ver ifier/prac titioner/n ame"
  582     >
  583              
  584      <xsl:if 
  585       test="fami ly"
  586      >
  587                    
  588       <xsl:value -of 
  589        select="fa mily"
  590       />
  591                    
  592       <xsl:text>
  593       
  594       </xsl:text >
  595               
  596      </xsl:if>
  597              
  598      <xsl:value -of 
  599       select="gi ven"
  600      />
  601              
  602      <xsl:if 
  603       test="midd le"
  604      >
  605                    
  606       <xsl:text>
  607         
  608       </xsl:text >
  609                    
  610       <xsl:value -of 
  611        select="mi ddle"
  612       />
  613               
  614      </xsl:if>
  615              
  616      <xsl:if 
  617       test="suff ix"
  618      >
  619                    
  620       <xsl:text>
  621         
  622       </xsl:text >
  623                    
  624       <xsl:value -of 
  625        select="su ffix"
  626       />
  627               
  628      </xsl:if>
  629              
  630      <xsl:if 
  631       test="titl e"
  632      >
  633                    
  634       <xsl:text>
  635         
  636       </xsl:text >
  637                    
  638       <xsl:value -of 
  639        select="ti tle"
  640       />
  641               
  642      </xsl:if>
  643          
  644     </xsl:temp late>
  645    
  646         
  647     <xsl:templ ate 
  648      match="gmr AllergyAge nt"
  649     >
  650              
  651      <xsl:value -of 
  652       select="di splayText"
  653      />
  654          
  655     </xsl:temp late>
  656    
  657         
  658     <xsl:templ ate 
  659      match="ass essmentVal ue"
  660     >
  661              
  662      <xsl:value -of 
  663       select="di splayText"
  664      />
  665          
  666     </xsl:temp late>
  667    
  668         
  669     <xsl:templ ate 
  670      name="alle rgyDetail"
  671     >
  672              
  673      <xsl:text>
  674       Causative  agent:  
  675      </xsl:text >
  676              
  677      <xsl:apply -templates  
  678       select="ag ent"
  679      />
  680              
  681      <xsl:text>
  682       &#13;&#10;  Nature of  reaction:   
  683      </xsl:text >
  684              
  685      <xsl:apply -templates  
  686       select="me chanism"
  687      />
  688              
  689      <xsl:text>
  690       &#13;&#10;
  691      </xsl:text >
  692              
  693      <xsl:text>
  694       &#13;&#10;
  695      </xsl:text >
  696              
  697      <xsl:call- template 
  698       name="reac tionDetail "
  699      >
  700                    
  701       <xsl:with- param 
  702        name="node s" 
  703        select="re action"
  704       />
  705               
  706      </xsl:call -template>
  707              
  708      <xsl:text>
  709       &#13;&#10;
  710      </xsl:text >
  711              
  712      <xsl:call- template 
  713       name="drug ClassDetai l"
  714      >
  715                    
  716       <xsl:with- param 
  717        name="node s" 
  718        select="dr ugClass"
  719       />
  720               
  721      </xsl:call -template>
  722              
  723      <xsl:text>
  724       &#13;&#10;          O riginator:   
  725      </xsl:text >
  726              
  727      <xsl:apply -templates  
  728       select="au thor/pract itioner/na me"
  729      />
  730              
  731      <xsl:text>
  732       &#13;&#10;          O riginated:   
  733      </xsl:text >
  734              
  735      <xsl:apply -templates  
  736       select="ob servationT ime"
  737      />
  738              
  739      <xsl:text>
  740       &#13;&#10;             Verified:   
  741      </xsl:text >
  742              
  743      <xsl:call- template 
  744       name="alle rgyVerifie d"
  745      />
  746              
  747      <xsl:text>
  748       &#13;&#10; Observed/H istorical:   
  749      </xsl:text >
  750              
  751      <xsl:apply -templates  
  752       select="in formationS ourceCateg ory"
  753      />
  754              
  755      <xsl:text>
  756       &#13;&#10; &#13;&#10; Comments:  &#13;&#10;
  757      </xsl:text >
  758              
  759      <xsl:apply -templates  
  760       select="co mmentEvent s"
  761      />
  762          
  763     </xsl:temp late>
  764    
  765         
  766     <xsl:templ ate 
  767      name="alle rgyVerifie d"
  768     >
  769              
  770      <xsl:choos e>
  771                    
  772       <xsl:when 
  773        test="stri ng-length( verified)& gt;0"
  774       >
  775                         
  776        <xsl:value -of 
  777         select="ve rified"
  778        />
  779                     
  780       </xsl:when >
  781                    
  782       <xsl:other wise>
  783                         
  784        <xsl:apply -templates  
  785         select="ve rifier/pra ctitioner/ name"
  786        />
  787                     
  788       </xsl:othe rwise>
  789               
  790      </xsl:choo se>
  791          
  792     </xsl:temp late>
  793    
  794         
  795     <xsl:templ ate 
  796      match="com mentEvents "
  797     >
  798              
  799      <xsl:text>
  800        
  801      </xsl:text >
  802              
  803      <xsl:if 
  804       test="date /literal"
  805      >
  806                    
  807       <xsl:call- template 
  808        name="form atDateNume ric"
  809       >
  810                         
  811        <xsl:with- param 
  812         name="date String" 
  813         select="da te/literal "
  814        />
  815                     
  816       </xsl:call -template>
  817               
  818      </xsl:if>
  819              
  820      <xsl:if 
  821       test="auth or/name"
  822      >
  823                    
  824       <xsl:text>
  825         by 
  826       </xsl:text >
  827                    
  828       <xsl:apply -templates  
  829        select="au thor/name"
  830       />
  831               
  832      </xsl:if>
  833              
  834      <xsl:if 
  835       test="comm entType/di splayText"
  836      >
  837                    
  838       <xsl:text>
  839         (
  840       </xsl:text >
  841                    
  842       <xsl:value -of 
  843        select="co mmentType/ displayTex t"
  844       />
  845                    
  846       <xsl:text>
  847        )
  848       </xsl:text >
  849               
  850      </xsl:if>
  851              
  852      <xsl:text>
  853       &#13;&#10;
  854      </xsl:text >
  855              
  856      <xsl:for-e ach 
  857       select="co mments"
  858      >
  859                    
  860       <xsl:value -of 
  861        select="."
  862       />
  863                    
  864       <xsl:text>
  865        &#13;&#10;
  866       </xsl:text >
  867               
  868      </xsl:for- each>
  869              
  870      <xsl:text>
  871       &#13;&#10;
  872      </xsl:text >
  873          
  874     </xsl:temp late>
  875    
  876         
  877     <xsl:templ ate 
  878      name="reac tionDetail "
  879     >
  880              
  881      <xsl:param  
  882       name="node s"
  883      />
  884              
  885      <xsl:for-e ach 
  886       select="$n odes"
  887      >
  888                    
  889       <xsl:choos e>
  890                         
  891        <xsl:when 
  892         test="posi tion()=1"
  893        >
  894                              
  895         <xsl:text>
  896               Signs /symptoms:   
  897         </xsl:text >
  898                          
  899        </xsl:when >
  900                         
  901        <xsl:other wise>
  902                              
  903         <xsl:text>
  904                                  
  905         </xsl:text >
  906                          
  907        </xsl:othe rwise>
  908                     
  909       </xsl:choo se>
  910                    
  911       <xsl:value -of 
  912        select="re action/dis playText"
  913       />
  914                    
  915       <xsl:text>
  916        &#13;&#10;
  917       </xsl:text >
  918               
  919      </xsl:for- each>
  920          
  921     </xsl:temp late>
  922    
  923         
  924     <xsl:templ ate 
  925      name="drug ClassDetai l"
  926     >
  927              
  928      <xsl:param  
  929       name="node s"
  930      />
  931              
  932      <xsl:for-e ach 
  933       select="$n odes"
  934      >
  935                    
  936       <xsl:choos e>
  937                         
  938        <xsl:when 
  939         test="posi tion()=1"
  940        >
  941                              
  942         <xsl:text>
  943                 Dru g classes:   
  944         </xsl:text >
  945                          
  946        </xsl:when >
  947                         
  948        <xsl:other wise>
  949                              
  950         <xsl:text>
  951                                  
  952         </xsl:text >
  953                          
  954        </xsl:othe rwise>
  955                     
  956       </xsl:choo se>
  957                    
  958       <xsl:value -of 
  959        select="co de/display Text"
  960       />
  961                    
  962       <xsl:text>
  963        &#13;&#10;
  964       </xsl:text >
  965               
  966      </xsl:for- each>
  967          
  968     </xsl:temp late>
  969    
  970         
  971     <xsl:templ ate 
  972      name="reac tionList"
  973     >
  974              
  975      <xsl:param  
  976       name="node s"
  977      />
  978              
  979      <xsl:for-e ach 
  980       select="$n odes"
  981      >
  982                    
  983       <xsl:choos e>
  984                         
  985        <xsl:when 
  986         test="posi tion()=1"
  987        />
  988                         
  989        <xsl:other wise>
  990                              
  991         <xsl:text>
  992         
  993         </xsl:text >
  994                          
  995        </xsl:othe rwise>
  996                     
  997       </xsl:choo se>
  998                    
  999       <xsl:value -of 
  1000        select="re action/dis playText"
  1001       />
  1002               
  1003      </xsl:for- each>
  1004          
  1005     </xsl:temp late>
  1006    
  1007         
  1008     <xsl:templ ate 
  1009      name="asse ssmentDeta il"
  1010     >
  1011              
  1012      <xsl:text>
  1013       &#13;&#10;     Reacti on Assessm ent:  
  1014      </xsl:text >
  1015              
  1016      <xsl:apply -templates  
  1017       select="as sessmentVa lue"
  1018      />
  1019              
  1020      <xsl:text>
  1021       &#13;&#10;     Assess ing User:   
  1022      </xsl:text >
  1023              
  1024      <xsl:apply -templates  
  1025       select="au thor/pract itioner/na me"
  1026      />
  1027              
  1028      <xsl:text>
  1029       &#13;&#10;     Assess ment Times tamp:  
  1030      </xsl:text >
  1031              
  1032      <xsl:apply -templates  
  1033       select="ob servationT ime"
  1034      />
  1035              
  1036      <xsl:text>
  1037       &#13;&#10;     Site I d:  
  1038      </xsl:text >
  1039              
  1040      <xsl:apply -templates  
  1041       select="pa tient/iden tifier/ass igningFaci lity"
  1042      />
  1043          
  1044     </xsl:temp late>
  1045    
  1046         
  1047     <xsl:templ ate 
  1048      match="sit esTable:Vh aVisn"
  1049     >
  1050              
  1051      <xsl:param  
  1052       name="item "
  1053      />
  1054              
  1055      <xsl:if 
  1056       test="site sTable:Vha Site[@ID=$ item/patie nt/identif ier/assign ingFacilit y]"
  1057      >
  1058                    
  1059       <xsl:value -of 
  1060        select="ke y('vhaSite s-lookup',  $item/pat ient/ident ifier/assi gningFacil ity)/@name "
  1061       />
  1062               
  1063      </xsl:if>
  1064          
  1065     </xsl:temp late>
  1066    
  1067   </xsl:styl esheet>