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

3165.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 cda2MdoChemHem.xsl Fri Apr 21 20:03:26 2017 UTC

3165.2 Comparison summary

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

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

3165.4 Active regular expressions

No regular expressions were active.

3165.5 Comparison detail

        1   <?xml 
        2     version="1 .0" 
        3     encoding=" UTF-8" 
        4   ?>
        5   <xsl:style sheet 
        6     version="1 .0"
        7           
        8     xmlns:xsl= "http://ww w.w3.org/1 999/XSL/Tr ansform"
        9           
        10     xmlns:xsi= "http://ww w.w3.org/2 001/XMLSch ema-instan ce"
        11           
        12     xmlns:n1=" urn:hl7-or g:v3"
        13   >
        14       
        15     <xsl:impor
        16      href="deta ilCommon.x sl"
        17     />
        18       
        19     <xsl:impor
        20      href="../c ommon.xsl"
        21     />
        22       
        23     <xsl:outpu
        24      method="xm l" 
        25      encoding=" utf-8" 
        26      indent="ye s" 
        27      media-type ="text/xml "
        28     />
        29       
        30       
        31             
        32     <xsl:templ ate 
        33      match="/"
        34     >
        35                       
        36      <xsl:apply -templates  
        37       select="/n 1:Clinical Document"
        38      />
        39              
        40     </xsl:temp late>
        41    
        42             
        43     <xsl:templ ate 
        44      match="n1: ClinicalDo cument"
        45     >
        46                       
        47      <labs>
        48                                 
        49       <xsl:if 
        50        test="not( $noMdoResu lt)"
        51       >
        52                                           
        53        <xsl:apply -templates  
        54         select="n1 :component /n1:struct uredBody/n 1:componen t/n1:secti on[n1:code /@code='30 954-2' and  n1:code/@ codeSystem ='2.16.840 .1.113883. 6.1']"
        55        />
        56                                  
        57       </xsl:if>
        58                        
        59      </labs>
        60              
        61     </xsl:temp late>
        62    
        63             
        64     <xsl:templ ate 
        65      match="n1: component/ n1:structu redBody/n1 :component /n1:sectio n"
        66     >
        67                       
        68      <gov.va.me d.mdo.Doma inMessage>
        69                                 
        70       <Message>
        71                                           
        72        <xsl:call- template 
        73         name="comm ents"
        74        />
        75                                  
        76       </Message>
        77                                 
        78       <Facility>
        79                                           
        80        <xsl:call- template 
        81         name="faci lityName"
        82        />
        83                                  
        84       </Facility >
        85                                 
        86       <Domain>
        87                                           
        88        <xsl:text>
        89         ChemHem
        90        </xsl:text >
        91                                  
        92       </Domain>
        93                        
        94      </gov.va.m ed.mdo.Dom ainMessage >
        95                       
        96      <xsl:apply -templates  
        97       select="n1 :entry" 
        98      />
        99              
        100     </xsl:temp late>
        101    
        102             
        103     <xsl:templ ate 
        104      match="n1: entry"
        105     >
        106                       
        107      <xsl:call- template 
        108       name="labs AggregateR ow"
        109      >
        110                                 
        111       <xsl:with- param 
        112        name="row"  
        113        select="."
        114       />
        115                        
        116      </xsl:call -template>
        117              
        118     </xsl:temp late>
        119    
        120             
        121     <xsl:templ ate 
        122      name="labs AggregateR ow"
        123     >
        124                       
        125      <xsl:param  
        126       name="row"
        127      />
        128                       
        129      <xsl:varia ble 
        130       name="obse rvation" 
        131       select="$r ow/n1:orga nizer/n1:c omponent/n 1:observat ion"
        132      />
        133                       
        134      <xsl:varia ble 
        135       name="obse rvation1" 
        136       select="$r ow/n1:obse rvation"
        137      />
        138                       
        139      <xsl:choos e>
        140                                 
        141       <xsl:when   
        142        test="stri ng-length( $row/n1:or ganizer)!= 0"
        143       >
        144                                           
        145        <xsl:for-e ach 
        146         select="$o bservation "
        147        >
        148                                                    
        149         <gov.va.me d.mdo.Chem Hem>
        150                                                              
        151          <Protocol>
        152           NHIN
        153          </Protocol >
        154                                                              
        155          <Panel>
        156                                                                        
        157           <xsl:varia ble 
        158            name="orga nizerName"
        159           >
        160                                                                                  
        161            <xsl:call- template 
        162             name="getO rganizerNa me"
        163            >
        164                                                                                            
        165             <xsl:with- param 
        166              name="row"  
        167              select="./ ../../../. "
        168             />
        169                                                                                   
        170            </xsl:call -template>
        171                                                                         
        172           </xsl:vari able>
        173                                                                        
        174           <xsl:choos e>
        175                                                                                  
        176            <xsl:when 
        177             test="stri ng-length( $organizer Name)>0"
        178            >
        179                                                                                            
        180             <xsl:value -of 
        181              select="$o rganizerNa me"
        182             />
        183                                                                                   
        184            </xsl:when >
        185                                                                                  
        186            <xsl:other wise>
        187                                                                                            
        188             <xsl:text>
        189              ..Not Avai lable..
        190             </xsl:text >
        191                                                                                   
        192            </xsl:othe rwise>
        193                                                                         
        194           </xsl:choo se>
        195                                                               
        196          </Panel>
        197                                                              
        198          <PanelDate >
        199                                                                        
        200           <xsl:call- template 
        201            name="getP anelDT"
        202           >
        203                                                                                  
        204            <xsl:with- param 
        205             name="orga nizer" 
        206             select=".. /../."
        207            />
        208                                                                         
        209           </xsl:call -template>
        210                                                               
        211          </PanelDat e>
        212                                                              
        213          <Timestamp >
        214                                                                        
        215           <xsl:call- template 
        216            name="getR esultDT"
        217           >
        218                                                                                  
        219            <xsl:with- param 
        220             name="obse rvation" 
        221             select="."
        222            />
        223                                                                         
        224           </xsl:call -template>
        225                                                               
        226          </Timestam p>
        227                                                              
        228          <Name>
        229                                                                        
        230           <xsl:varia ble 
        231            name="type Result2"
        232           >
        233                                                                                  
        234            <xsl:call- template 
        235             name="getR esultType2 "
        236            >
        237                                                                                            
        238             <xsl:with- param 
        239              name="obse rvation" 
        240              select="."
        241             />
        242                                                                                   
        243            </xsl:call -template>
        244                                                                         
        245           </xsl:vari able>
        246                                                                        
        247           <xsl:choos e>
        248                                                                                  
        249            <xsl:when 
        250             test="stri ng-length( $typeResul t2)>0"
        251            >
        252                                                                                            
        253             <xsl:value -of 
        254              select="$t ypeResult2 "
        255             />
        256                                                                                   
        257            </xsl:when >
        258                                                                                  
        259            <xsl:other wise>
        260                                                                                            
        261             <xsl:varia ble 
        262              name="type Result3"
        263             >
        264                                                                                                     
        265              <xsl:call- template 
        266               name="getR esultType"
        267              >
        268                                                                                                               
        269               <xsl:with- param 
        270                name="obse rvation" 
        271                select="."
        272               />
        273                                                                                                      
        274              </xsl:call -template>
        275                                                                                             
        276             </xsl:vari able>
        277                                                                                            
        278             <xsl:choos e>
        279                                                                                                     
        280              <xsl:when 
        281               test="stri ng-length( $typeResul t3)>0"
        282              >
        283                                                                                                               
        284               <xsl:value -of 
        285                select="$t ypeResult3 "
        286               />
        287                                                                                                      
        288              </xsl:when >
        289                                                                                             
        290             </xsl:choo se>
        291                                                                                   
        292            </xsl:othe rwise>
        293                                                                         
        294           </xsl:choo se>
        295                                                               
        296          </Name>
        297         
        298                                                              
        299          <Result>
        300                                                                        
        301           <xsl:call- template 
        302            name="getR esultValue _detail"
        303           >
        304                                                                                  
        305            <xsl:with- param 
        306             name="obse rvation" 
        307             select="."
        308            />
        309                                                                         
        310           </xsl:call -template>
        311                                                               
        312          </Result>
        313         
        314                                                              
        315          <Flag>
        316                                                                        
        317           <xsl:varia ble 
        318            name="inte rpResult1"
        319           >
        320                                                                                  
        321            <xsl:call- template 
        322             name="getI nterpretat ion2"
        323            >
        324                                                                                            
        325             <xsl:with- param 
        326              name="obse rvation" 
        327              select="."
        328             />
        329                                                                                   
        330            </xsl:call -template>
        331                                                                         
        332           </xsl:vari able>
        333                                                                        
        334           <xsl:choos e>
        335                                                                                  
        336            <xsl:when 
        337             test="stri ng-length( $interpRes ult1)>0"
        338            >
        339                                                                                            
        340             <xsl:value -of 
        341              select="$i nterpResul t1"
        342             />
        343                                                                                   
        344            </xsl:when >
        345                                                                                  
        346            <xsl:other wise>
        347                                                                                            
        348             <xsl:varia ble 
        349              name="inte rpResult2"
        350             >
        351                                                                                                     
        352              <xsl:call- template 
        353               name="getI nterpretat ion"
        354              >
        355                                                                                                               
        356               <xsl:with- param 
        357                name="obse rvation" 
        358                select="."
        359               />
        360                                                                                                      
        361              </xsl:call -template>
        362                                                                                             
        363             </xsl:vari able>
        364                                                                                            
        365             <xsl:choos e>
        366                                                                                                     
        367              <xsl:when 
        368               test="stri ng-length( $interpRes ult2)>0"
        369              >
        370                                                                                                               
        371               <xsl:value -of 
        372                select="$i nterpResul t2"
        373               />
        374                                                                                                      
        375              </xsl:when >
        376                                                                                             
        377             </xsl:choo se>
        378                                                                                   
        379            </xsl:othe rwise>
        380                                                                         
        381           </xsl:choo se>
        382                                                               
        383          </Flag>
        384         
        385                                                              
        386          <Units>
        387                                                                        
        388           <xsl:call- template 
        389            name="getR esultUnit"
        390           >
        391                                                                                  
        392            <xsl:with- param 
        393             name="obse rvation" 
        394             select="."
        395            />
        396                                                                         
        397           </xsl:call -template>
        398                                                               
        399          </Units>
        400         
        401                                                              
        402          <RefRange>
        403                                                                        
        404           <xsl:call- template 
        405            name="getR esultRefRa nge"
        406           >
        407                                                                                  
        408            <xsl:with- param 
        409             name="obse rvation" 
        410             select="."
        411            />
        412                                                                         
        413           </xsl:call -template>
        414                                                               
        415          </RefRange >
        416         
        417                                                              
        418          <ResultId>
        419           <xsl:value -of 
        420            select="n1 :id/@root"
        421           />
        422          </ResultId >
        423         
        424                                                              
        425          <ResultSta tus>
        426           <xsl:value -of 
        427            select="$o bservation /n1:status Code/@code "
        428           />
        429          </ResultSt atus>
        430         
        431                                                              
        432          <Facility>
        433           <xsl:call- template 
        434            name="faci lityName"
        435           />
        436          </Facility >
        437         
        438                                                              
        439          <Location>
        440                                                                        
        441           <xsl:call- template 
        442            name="getL ocationNam e"
        443           >
        444                                                                                  
        445            <xsl:with- param 
        446             name="orga nizer" 
        447             select="./ ../../."
        448            />
        449                                                                         
        450           </xsl:call -template>
        451                                                               
        452          </Location >
        453         
        454                                                     
        455         </gov.va.m ed.mdo.Che mHem>
        456                                            
        457        </xsl:for- each>
        458                                  
        459       </xsl:when >
        460                                 
        461       <xsl:other wise>
        462                                           
        463        <xsl:choos e>
        464                                                    
        465         <xsl:when 
        466          test="stri ng-length( $row/n1:ob servation/ n1:code/@d isplayName )!=0 or $r ow/n1:obse rvation/n1 :text/n1:r eference/@ value"
        467         >
        468                                                              
        469          <gov.va.me d.mdo.Chem Hem>
        470                                                                        
        471           <Protocol>
        472            NHIN
        473           </Protocol >
        474                                                                        
        475           <Timestamp >
        476                                                                                  
        477            <xsl:call- template 
        478             name="getR esultDT"
        479            >
        480                                                                                            
        481             <xsl:with- param 
        482              name="obse rvation" 
        483              select="$o bservation 1"
        484             />
        485                                                                                   
        486            </xsl:call -template>
        487                                                                         
        488           </Timestam p>
        489          
        490                                                                        
        491           <Name>
        492                                                                                  
        493            <xsl:call- template 
        494             name="getR esultType"
        495            >
        496                                                                                            
        497             <xsl:with- param 
        498              name="obse rvation" 
        499              select="$o bservation 1"
        500             />
        501                                                                                   
        502            </xsl:call -template>
        503                                                                         
        504           </Name>
        505          
        506                                                                        
        507           <Result>
        508                                                                                  
        509            <xsl:call- template 
        510             name="getR esultValue _detail"
        511            >
        512                                                                                            
        513             <xsl:with- param 
        514              name="obse rvation" 
        515              select="$o bservation 1"
        516             />
        517                                                                                   
        518            </xsl:call -template>
        519                                                                         
        520           </Result>
        521          
        522                                                                        
        523           <Flag>
        524                                                                                  
        525            <xsl:call- template 
        526             name="getF lag"
        527            >
        528                                                                                            
        529             <xsl:with- param 
        530              name="inte rpretation
        531              select="./ n1:interpr etationCod e"
        532             />
        533                                                                                   
        534            </xsl:call -template>
        535                                                                         
        536           </Flag>
        537          
        538                                                                        
        539           <Units>
        540                                                                                  
        541            <xsl:call- template 
        542             name="getR esultUnit"
        543            >
        544                                                                                            
        545             <xsl:with- param 
        546              name="obse rvation" 
        547              select="$o bservation 1"
        548             />
        549                                                                                   
        550            </xsl:call -template>
        551                                                                         
        552           </Units>
        553          
        554                                                                        
        555           <RefRange>
        556                                                                                  
        557            <xsl:call- template 
        558             name="getR efRange"
        559            >
        560                                                                                            
        561             <xsl:with- param 
        562              name="obse rvation" 
        563              select="$o bservation 1"
        564             />
        565                                                                                   
        566            </xsl:call -template>
        567                                                                         
        568           </RefRange >
        569          
        570                                                                        
        571           <ResultId>
        572            <xsl:value -of 
        573             select="n1 :id/@root"
        574            />
        575           </ResultId >
        576          
        577                                                                        
        578           <ResultSta tus>
        579            <xsl:value -of 
        580             select="$o bservation /n1:status Code/@code "
        581            />
        582           </ResultSt atus>
        583          
        584                                                                        
        585           <Facility>
        586            <xsl:call- template 
        587             name="faci lityName"
        588            />
        589           </Facility >
        590          
        591                                                               
        592          </gov.va.m ed.mdo.Che mHem>
        593                                                     
        594         </xsl:when >
        595                                            
        596        </xsl:choo se>
        597                                  
        598       </xsl:othe rwise>
        599                        
        600      </xsl:choo se>
        601              
        602     </xsl:temp late>
        603    
        604    
        605             
        606     <xsl:templ ate 
        607      name="comm ents"
        608     >
        609                       
        610      <xsl:varia ble 
        611       name="path
        612       select="n1 :component /n1:struct uredBody/n 1:componen t/n1:secti on[n1:code /@code='30 954-2' and  n1:code/@ codeSystem ='2.16.840 .1.113883. 6.1']"
        613      />
        614                       
        615      <xsl:varia ble 
        616       name="ref1
        617       select="n1 :entry/n1: act/n1:tex t/n1:refer ence/@valu e"
        618      />
        619                       
        620      <xsl:varia ble 
        621       name="ref2
        622       select="su bstring-af ter($ref1, '#')"
        623      />
        624                       
        625      <xsl:choos e>
        626                                 
        627       <xsl:when 
        628        test="n1:t ext//n1:co ntent[@ID= $ref1]"
        629       >
        630                                           
        631        <xsl:value -of 
        632         select="n1 :text//n1: content[@I D=$ref1]"
        633        />
        634                                  
        635       </xsl:when >
        636                                 
        637       <xsl:when 
        638        test="n1:t ext//n1:co ntent[@ID= $ref2]"
        639       >
        640                                           
        641        <xsl:value -of 
        642         select="n1 :text//n1: content[@I D=$ref2]"
        643        />
        644                                  
        645       </xsl:when >
        646                                 
        647       <xsl:other wise>
        648                                           
        649        <xsl:call- template 
        650         name="na"
        651        />
        652                                  
        653       </xsl:othe rwise>
        654                        
        655      </xsl:choo se>
        656              
        657     </xsl:temp late>
        658    
        659   </xsl:styl esheet>