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

12.1 Files compared

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

12.2 Comparison summary

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

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

12.4 Active regular expressions

No regular expressions were active.

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