3164. EPMO Open Source Coordination Office Redaction File Detail Report

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

3164.1 Files compared

# Location File Last Modified
1 Fri Jun 9 19:49:54 2017 UTC
2 eHealth_Exch (eHealth Exchange Enhancements) Build 3 docs & code_May_2017.zip\VAP_CIF_CODE0502.zip\VAP_CIF_CODE0502\VAP_CIF_CODE0502\nvap-client\src\main\resources\gov\va\nvap\document\xsl\vistaweb\nhin cda2MdoAllergy.xsl Fri Apr 21 20:03:26 2017 UTC

3164.2 Comparison summary

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

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

3164.4 Active regular expressions

No regular expressions were active.

3164.5 Comparison detail

        1   <?xml 
        2     version="1 .0" 
        3     encoding=" utf-8"
        4   ?>
        5  
        6   <xsl:style sheet 
        7     version="1 .0"
        8       
        9     xmlns:xsl= "http://ww w.w3.org/1 999/XSL/Tr ansform" 
        10     xmlns:n1=" urn:hl7-or g:v3"
        11   >
        12    
        13             
        14     <xsl:impor
        15      href="deta ilCommon.x sl"
        16     />
        17             
        18     <xsl:impor
        19      href="../c ommon.xsl"
        20     />
        21             
        22     <xsl:outpu
        23      method="xm l" 
        24      indent="ye s" 
        25      media-type ="text/xml
        26      omit-xml-d eclaration ="yes"
        27     />
        28    
        29             
        30     <xsl:templ ate 
        31      match="/"
        32     >
        33                       
        34      <xsl:apply -templates  
        35       select="/n 1:Clinical Document"
        36      />
        37              
        38     </xsl:temp late>
        39    
        40             
        41     <xsl:templ ate 
        42      match="n1: ClinicalDo cument"
        43     >
        44                       
        45      <allergies >
        46                                 
        47       <xsl:apply -templates  
        48        select="n1 :component /n1:struct uredBody/n 1:componen t/n1:secti on[n1:code /@code='48 765-2' and  n1:code/@ codeSystem ='2.16.840 .1.113883. 6.1']"
        49       />
        50                        
        51      </allergie s>
        52              
        53     </xsl:temp late>
        54    
        55             
        56     <xsl:templ ate 
        57      match="n1: component/ n1:structu redBody/n1 :component /n1:sectio n"
        58     >
        59                       
        60      <gov.va.me d.mdo.Doma inMessage>
        61                                 
        62       <Message>
        63        <xsl:call- template 
        64         name="comm ents"
        65        />
        66       </Message>
        67                                 
        68       <Facility>
        69        <xsl:call- template 
        70         name="faci lityName"
        71        />
        72       </Facility >
        73                                 
        74       <Domain>
        75        <xsl:text>
        76         AllergyRpt s
        77        </xsl:text >
        78       </Domain>
        79                        
        80      </gov.va.m ed.mdo.Dom ainMessage >
        81                       
        82      <xsl:apply -templates  
        83       select="n1 :entry[n1: act/n1:ent ryRelation ship]"
        84      />
        85              
        86     </xsl:temp late>
        87    
        88             
        89     <xsl:templ ate 
        90      match="n1: entry"
        91     >
        92                       
        93      <gov.va.me d.mdo.Alle rgyRpt>
        94                                 
        95       <xsl:call- template 
        96        name="entr yRow"
        97       >
        98                                           
        99        <xsl:with- param 
        100         select="."  
        101         name="entr y"
        102        />
        103                                  
        104       </xsl:call -template>
        105                        
        106      </gov.va.m ed.mdo.All ergyRpt>
        107              
        108     </xsl:temp late>
        109    
        110             
        111     <xsl:templ ate 
        112      name="entr yRow"
        113     >
        114                       
        115      <xsl:param  
        116       name="entr y"
        117      />
        118                       
        119      <xsl:varia ble 
        120       name="obse rvation" 
        121       select="$e ntry/n1:ac t/n1:entry Relationsh ip/n1:obse rvation"
        122      />
        123                       
        124      <Protocol>
        125       NHIN
        126      </Protocol >
        127                       
        128      <Type>
        129                                 
        130       <xsl:call- template 
        131        name="getA llergyType "
        132       >
        133                                           
        134        <xsl:with- param 
        135         name="obs"  
        136         select="$o bservation "
        137        />
        138                                  
        139       </xsl:call -template>
        140                        
        141      </Type>
        142                       
        143      <Timestamp >
        144                                 
        145       <xsl:call- template 
        146        name="getA llergyVeri ficationDa te"
        147       >
        148                                           
        149        <xsl:with- param 
        150         name="obse rvation" 
        151         select="$o bservation "
        152        />
        153                                  
        154       </xsl:call -template>
        155                        
        156      </Timestam p>
        157                       
        158      <xsl:varia ble 
        159       name="alle rgenName"
        160      >
        161                                 
        162       <xsl:call- template 
        163        name="getA llergen"
        164       >
        165                                           
        166        <xsl:with- param 
        167         name="obse rvation" 
        168         select="$o bservation "
        169        />
        170                                  
        171       </xsl:call -template>
        172                        
        173      </xsl:vari able>
        174                       
        175      <Reactants >
        176                                 
        177       <xsl:choos e>
        178                                           
        179        <xsl:when 
        180         test="$all ergenName= 'NKA'"
        181        >
        182                                                    
        183         <xsl:text>
        184          assessment
        185         </xsl:text >
        186                                            
        187        </xsl:when >
        188                                           
        189        <xsl:other wise>
        190                                                    
        191         <xsl:value -of 
        192          select="$a llergenNam e"
        193         />
        194                                            
        195        </xsl:othe rwise>
        196                                  
        197       </xsl:choo se>
        198                        
        199      </Reactant s>
        200                       
        201      <xsl:if 
        202       test="$all ergenName= 'NKA'"
        203      >
        204                                 
        205       <Message>
        206        no known a llergies
        207       </Message>
        208                        
        209      </xsl:if>
        210                       
        211      <xsl:call- template 
        212       name="faci lityProper ty"
        213      />
        214                       
        215      <xsl:call- template 
        216       name="deta ilText"
        217      >
        218                                 
        219       <xsl:with- param 
        220        name="obs"  
        221        select="$o bservation "
        222       />
        223                                 
        224       <xsl:with- param 
        225        name="entr y" 
        226        select="$e ntry"
        227       />
        228                        
        229      </xsl:call -template>
        230              
        231     </xsl:temp late>
        232    
        233             
        234     <xsl:templ ate 
        235      name="deta ilText"
        236     >
        237                       
        238      <xsl:param  
        239       name="obs"
        240      />
        241                       
        242      <xsl:param  
        243       name="entr y"
        244      />
        245                       
        246      <Text>
        247                                 
        248       <xsl:text>
        249        Causative  agent:  
        250       </xsl:text >
        251                                 
        252       <xsl:value -of 
        253        select="$o bs/n1:part icipant/n1 :participa ntRole/n1: playingEnt ity/n1:nam e"
        254       />
        255                                 
        256       <xsl:text>
        257        &#13;&#10;  Nature of  reaction:   
        258       </xsl:text >
        259      
        260                                 
        261       <xsl:call- template 
        262        name="getA llergyType "
        263       >
        264                                           
        265        <xsl:with- param 
        266         name="obs"  
        267         select="$o bs"
        268        />
        269                                  
        270       </xsl:call -template>
        271                                 
        272       <xsl:text>
        273        &#13;&#10;
        274       </xsl:text >
        275                                 
        276                                 
        277       <xsl:text>
        278        &#13;&#10;
        279       </xsl:text >
        280                                 
        281                                 
        282       <xsl:text>
        283             Signs /symptoms:   
        284       </xsl:text >
        285                                 
        286       <xsl:varia ble 
        287        name="resu lt"
        288       >
        289                                           
        290        <xsl:call- template 
        291         name="getR eactionVal ue"
        292        >
        293                                                    
        294         <xsl:with- param 
        295          name="entr yRelations hip" 
        296          select="$e ntry/n1:ac t/n1:entry Relationsh ip"
        297         />
        298                                            
        299        </xsl:call -template>
        300                                  
        301       </xsl:vari able>
        302                                 
        303       <xsl:choos e>
        304                                           
        305        <xsl:when 
        306         test="$res ult"
        307        >
        308                                                    
        309         <xsl:value -of 
        310          select="$r esult"
        311         />
        312                                            
        313        </xsl:when >
        314                                           
        315        <xsl:other wise>
        316                                                    
        317         <xsl:call- template 
        318          name="na"
        319         />
        320                                            
        321        </xsl:othe rwise>
        322                                  
        323       </xsl:choo se>
        324                                 
        325       <xsl:text>
        326        &#13;&#10;
        327       </xsl:text >
        328                                 
        329                                 
        330       <xsl:text>
        331               Dru g classes:   
        332       </xsl:text >
        333                                 
        334       <xsl:text>
        335        &#13;&#10;
        336       </xsl:text >
        337                                 
        338                                 
        339       <xsl:text>
        340        &#13;&#10;          O riginator:   
        341       </xsl:text >
        342                                 
        343                                 
        344       <xsl:text>
        345        &#13;&#10;          O riginated:   
        346       </xsl:text >
        347                                 
        348       <xsl:call- template 
        349        name="disp layAllergy Verificati onDate"
        350       >
        351                                           
        352        <xsl:with- param 
        353         name="obse rvation" 
        354         select="$o bs"
        355        />
        356                                  
        357       </xsl:call -template>
        358      
        359                                 
        360       <xsl:text>
        361        &#13;&#10;             Verified:   
        362       </xsl:text >
        363                                 
        364       <xsl:call- template 
        365        name="disp layAllergy Verificati onDate"
        366       >
        367                                           
        368        <xsl:with- param 
        369         name="obse rvation" 
        370         select="$o bs"
        371        />
        372                                  
        373       </xsl:call -template>
        374      
        375                                 
        376       <xsl:text>
        377        &#13;&#10;               Source:   
        378       </xsl:text >
        379                                 
        380       <xsl:call- template 
        381        name="getA llergySour ce"
        382       >
        383                                           
        384        <xsl:with- param 
        385         name="row"  
        386         select="$e ntry"
        387        />
        388                                  
        389       </xsl:call -template>
        390      
        391                                 
        392       <xsl:text>
        393        &#13;&#10; Observed/H istorical:   
        394       </xsl:text >
        395                                 
        396                                 
        397       <xsl:text>
        398        &#13;&#10; Site:  
        399       </xsl:text >
        400                                 
        401       <xsl:call- template 
        402        name="faci lityName"
        403       />
        404                                 
        405       <xsl:text>
        406        &#13;&#10; &#13;&#10; Comments:  &#13;&#10;
        407       </xsl:text >
        408                        
        409      </Text>
        410              
        411     </xsl:temp late>
        412    
        413             
        414     <xsl:templ ate 
        415      name="getA llergyType "
        416     >
        417                       
        418      <xsl:param  
        419       name="obs"
        420      />
        421                       
        422      <xsl:choos e>
        423                                 
        424       <xsl:when 
        425        test="$obs /n1:code/@ displayNam e and not( $isKaiser) "
        426       >
        427                                           
        428        <xsl:value -of 
        429         select="$o bs/n1:code /@displayN ame"
        430        />
        431                                  
        432       </xsl:when >
        433                                 
        434       <xsl:other wise>
        435                                           
        436        <xsl:call- template 
        437         name="na"
        438        />
        439                                  
        440       </xsl:othe rwise>
        441                        
        442      </xsl:choo se>
        443              
        444     </xsl:temp late>
        445    
        446             
        447     <!-- Aller gy Comment s-->
        448             
        449     <xsl:templ ate 
        450      name="comm ents"
        451     >
        452                       
        453      <xsl:varia ble 
        454       name="ref1
        455       select="n1 :entry/n1: act/n1:tex t/n1:refer ence/@valu e"
        456      />
        457                       
        458      <xsl:varia ble 
        459       name="ref2
        460       select="su bstring-af ter($ref1, '#')"
        461      />
        462                       
        463      <xsl:choos e>
        464                                 
        465       <xsl:when 
        466        test="n1:e ntry/n1:ac t/n1:entry Relationsh ip/n1:obse rvation/n1 :value[@co de=$allerg yNkaCode]"
        467       >
        468                                           
        469        <xsl:value -of 
        470         select="n1 :entry/n1: act/n1:ent ryRelation ship/n1:ob servation/ n1:value/@ displayNam e"
        471        />
        472                                  
        473       </xsl:when >
        474                                 
        475       <xsl:when 
        476        test="n1:t ext//n1:co ntent[@ID= $ref1]"
        477       >
        478                                           
        479        <xsl:value -of 
        480         select="n1 :text//n1: content[@I D=$ref1]"
        481        />
        482                                  
        483       </xsl:when >
        484                                 
        485       <xsl:when 
        486        test="n1:t ext//n1:co ntent[@ID= $ref2]"
        487       >
        488                                           
        489        <xsl:value -of 
        490         select="n1 :text//n1: content[@I D=$ref2]"
        491        />
        492                                  
        493       </xsl:when >
        494                                 
        495       <xsl:other wise>
        496                                  
        497       </xsl:othe rwise>
        498                        
        499      </xsl:choo se>
        500              
        501     </xsl:temp late>
        502    
        503   </xsl:styl esheet>