23. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 4/18/2017 5:22:13 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.

23.1 Files compared

# Location File Last Modified
1 Caregivers-Title_1.zip\docroot\templates MVI.1305.UNATTENDED.SEARCH.xml Mon Apr 17 14:00:32 2017 UTC
2 Caregivers-Title_1.zip\docroot\templates MVI.1305.UNATTENDED.SEARCH.xml Tue Apr 18 18:04:20 2017 UTC

23.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 10 1864
Changed 9 18
Inserted 0 0
Removed 0 0

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

23.4 Active regular expressions

No regular expressions were active.

23.5 Comparison detail

  1   <?xml 
  2     version="1 .0" 
  3     encoding=" UTF-8"
  4   ?>
  5   <CTSSH_Tem plate 
  6     key="MVI.1 305.UNATTE NDED.SEARC H" 
  7     type="simp le"
  8           
  9     fail_messa ge="MVI 13 05 Unatten ded Search  call has  failed"
  10   >
  11             
  12     <request>
  13                       
  14                       
  15      <url 
  16       env = "LOC AL"
  17      >
  18       http:// DNS                  . DNS             : PORT /psim_webs ervice/IdM WebService
  19      </url>
  20                       
  21      <url 
  22       env = "DEV "
  23      >
  24       https:// URL . DNS : PORT /psim_webs ervice/sta ge1a/IdMWe bService
  25      </url>
  26                       
  27      <url 
  28       env = "SQA "
  29      >
  30       https:// URL . DNS : PORT /psim_webs ervice/sta ge1a/IdMWe bService
  31      </url>
  32                       
  33      <url 
  34       env = "LPE RF"
  35      >
  36       https:// URL . DNS : PORT /psim_webs ervice/sta ge1a/IdMWe bService
  37      </url>
  38                       
  39      <url 
  40       env = "PPR OD"
  41      >
  42       https:// URL . DNS : PORT /psim_webs ervice/sta ge1a/IdMWe bService
  43      </url>
  44                       
  45      <url 
  46       env = "PRO D"
  47      >
  48       https:// URL . DNS : PORT /psim_webs ervice/sta ge1a/IdMWe bService
  49      </url>
  50                       
  51                       
  52      <http_requ est_method >
  53       POST
  54      </http_req uest_metho d>
  55                       
  56      <authentic ation>
  57       none
  58      </authenti cation>
  59                       
  60      <http_head ers>
  61                                 
  62       <header 
  63        name="Acce pt-Encodin g" 
  64        value="gzi p,deflate"  
  65       />
  66                                 
  67       <header 
  68        name="Cont ent-Type" 
  69        value="tex t/xml;char set=UTF-8"  
  70       />
  71                                 
  72       <header 
  73        name="SOAP Action" 
  74        value="" 
  75       />
  76                                 
  77       <header 
  78        name="Host
  79        value="DNS                 .DNS             :PORT" 
  80       />
  81                                 
  82       <header 
  83        name="Conn ection" 
  84        value="Kee p-Alive" 
  85       />
  86                                 
  87       <header 
  88        name="User -Agent" 
  89        value="Apa che-HttpCl ient/4.1.1  (java 1.5 )" 
  90       />
  91                        
  92      </http_hea ders>
  93     
  94              
  95      <parameter s>
  96                                 
  97       <parameter  
  98        token="##V ET.DOB##"                                         
  99        name="VET. DOB"                                     
  100        default="[ remove]" 
  101       />
  102                                 
  103       <parameter  
  104        token="##V ET.SSN##"                                         
  105        name="VET. SSN"                                     
  106        default="[ remove]" 
  107       />
  108                                 
  109       <parameter  
  110        token="##V ET.GENDER# #"                            
  111        name="VET. GENDER"                                  
  112        default="[ remove]" 
  113       />
  114                                 
  115       <parameter  
  116        token="##V ET.NAME.TY PE##"                         
  117        name="VET. NAME.TYPE"                      
  118        default="L
  119       />
  120                                 
  121       <parameter  
  122        token="##V ET.NAME.FI RST##"                        
  123        name="VET. NAME.FIRST "                    
  124        default="[ remove]" 
  125       />
  126                                 
  127       <parameter  
  128        token="##V ET.NAME.MI DDLE##"                       
  129        name="VET. NAME.MIDDL E"                   
  130        default="[ remove]" 
  131       />
  132                                 
  133       <parameter  
  134        token="##V ET.NAME.LA ST##"                         
  135        name="VET. NAME.LAST"                      
  136        default="[ error]" 
  137       />
  138                                 
  139       <parameter  
  140        token="##V ET.NAME.PR EFIX##"                       
  141        name="VET. NAME.PREFI X"                   
  142        default="[ remove]" 
  143       />
  144                                 
  145       <parameter  
  146        token="##V ET.NAME.SU FFIX##"                       
  147        name="VET. NAME.SUFFI X"                   
  148        default="[ remove]" 
  149       />
  150                                 
  151       <parameter  
  152        token="##V ET.PHONE## "                             
  153        name="VET. PHONE"                                   
  154        default="[ remove]" 
  155       />
  156                                 
  157       <parameter  
  158        token="##V ET.ADDRESS .TYPE##"             
  159        name="VET. ADDRESS.TY PE"                  
  160        default="P HYS" 
  161       />
  162                                 
  163       <parameter  
  164        token="##V ET.ADDRESS .STREET1## "                  
  165        name="VET. ADDRESS.ST REET1"               
  166        default="[ remove]" 
  167       />
  168                                 
  169       <parameter  
  170        token="##V ET.ADDRESS .STREET2## "                  
  171        name="VET. ADDRESS.ST REET2"               
  172        default="[ remove]" 
  173       />
  174                                 
  175       <parameter  
  176        token="##V ET.ADDRESS .STREET3## "                  
  177        name="VET. ADDRESS.ST REET3"               
  178        default="[ remove]" 
  179       />
  180                                 
  181       <parameter  
  182        token="##V ET.ADDRESS .STREET4## "                  
  183        name="VET. ADDRESS.ST REET4"               
  184        default="[ remove]" 
  185       />
  186                                 
  187       <parameter  
  188        token="##V ET.ADDRESS .CITY##"             
  189        name="VET. ADDRESS.CI TY"                  
  190        default="[ remove]" 
  191       />
  192                                 
  193       <parameter  
  194        token="##V ET.ADDRESS .STATE##"            
  195        name="VET. ADDRESS.ST ATE"                 
  196        default="[ remove]" 
  197       />
  198                                 
  199       <parameter  
  200        token="##V ET.ADDRESS .POSTALCD# #"        
  201        name="VET. ADDRESS.PO STALCD"              
  202        default="[ remove]" 
  203       />
  204                                 
  205       <parameter  
  206        token="##V ET.ADDRESS .COUNTRY## "                  
  207        name="VET. ADDRESS.CO UNTRY"               
  208        default="[ remove]" 
  209       />
  210                                 
  211       <parameter  
  212        token="##S ENDER.OID# #"                            
  213        name="SEND ER.OID"                                  
  214        default="[ error]" 
  215       />
  216                                 
  217       <parameter  
  218        token="##S ENDER.ID## "                             
  219        name="SEND ER.ID"                                   
  220        default="[ error]" 
  221       />
  222                                 
  223       <parameter  
  224        token="##S ENDER.NAME .FIRST##"            
  225        name="SEND ER.NAME.FI RST"                 
  226        default="[ remove]" 
  227       />
  228                                 
  229       <parameter  
  230        token="##S ENDER.NAME .LAST##"             
  231        name="SEND ER.NAME.LA ST"                  
  232        default="[ remove]" 
  233       />
  234                        
  235      </paramete rs>
  236     
  237                       
  238      <body>
  239       <![CDATA[< soapenv:En velope xml ns:soapenv ="http://s chemas.xml soap.org/s oap/envelo pe/" xmlns :vaww="htt p:// URL           . DNS ">
  240                           < soapenv:He ader/>
  241                           < soapenv:Bo dy>     
  242                               <ps:PRPA_I N201305UV0 2 xmlns:ps ="http:// URL           . DNS " xmlns:xs i="http:// www.w3.org /2001/XMLS chema-inst ance" xsi: schemaLoca tion="urn: hl7-org:v3  ../../sch ema/HL7V3/ NE2008/mul ticachesch emas/PRPA_ IN201305UV 02.xsd" xm lns="urn:h l7-org:v3"  ITSVersio n="XML_1.0 ">
  243                                     <i d root="2. 16.840.1.1 13883.4.34 9" extensi on="MCID-1 2345" />
  244                                     <c reationTim e value="2 0160510150 301" />
  245                                          <version Code code= "3.0" />
  246                                     <i nteraction Id root="2 .16.840.1. 113883.1.6 " extensio n="PRPA_IN 201305UV02 " />
  247                                     <p rocessingC ode code=" T" />
  248                                     <p rocessingM odeCode co de="T" />
  249                                     <a cceptAckCo de code="A L" />
  250                                     <r eceiver ty peCode="RC V">
  251                                          <device  classCode= "DEV" dete rminerCode ="INSTANCE ">
  252                                              <id  root="2.16 .840.1.113 883.4.349"  />
  253                                          </device >
  254                                     </ receiver>
  255                                     <s ender type Code="SND" >
  256                                          <device  classCode= "DEV" dete rminerCode ="INSTANCE ">
  257                                                   <id extens ion="200CA RE" root=" 2.16.840.1 .113883.4. 349" />
  258                                          </device >
  259                                     </ sender>
  260                                     <c ontrolActP rocess cla ssCode="CA CT" moodCo de="EVN">
  261                                          <code co de="PRPA_T E201305UV0 2" codeSys tem="2.16. 840.1.1138 83.1.6" />
  262                                          <queryBy Parameter>
  263                                              <que ryId root= "2.16.840. 1.113883.4 .349" exte nsion="182 04" />
  264                                              <sta tusCode co de="new" / >
  265                                              <mod ifyCode co de="MVI.CO MP1" />
  266                                              <ini tialQuanti ty value=" 1" />
  267                                           <parame terList>
  268                                              <liv ingSubject Administra tiveGender >
  269                                                   <value cod e="##VET.G ENDER##">< /value>
  270                                                   <semantics Text>Livin gSubject.a dministrat iveGender< /semantics Text>
  271                                              </li vingSubjec tAdministr ativeGende r>
  272                                              <liv ingSubject BirthTime>
  273                                                   <value val ue="##VET. DOB##" />
  274                                                   <semantics Text>Date  of Birth</ semanticsT ext>
  275                                              </li vingSubjec tBirthTime >
  276                                              <liv ingSubject Id>
  277                                                   <value roo t="2.16.84 0.1.113883 .4.1" exte nsion="##V ET.SSN##"  />
  278                                                   <semantics Text>SSN</ semanticsT ext>
  279                                              </li vingSubjec tId>
  280                                              <liv ingSubject Name>
  281                                                   <value use ="##VET.NA ME.TYPE##" >
  282                                                       <given >##VET.NAM E.FIRST##< /given>
  283                                                       <given >##VET.NAM E.MIDDLE## </given>
  284                                                       <prefi x>##VET.NA ME.PREFIX# #</prefix>
  285                                                       <suffi x>##VET.NA ME.SUFFIX# #</suffix>
  286                                                       <famil y>##VET.NA ME.LAST##< /family>
  287                                                   </value>
  288                                                   <semantics Text>Livin gSubject.n ame</seman ticsText>
  289                                              </li vingSubjec tName>
  290                                              <oth erIDsScopi ngOrganiza tion>
  291                                                   <value roo t="2.16.84 0.1.113883 .4.349" ex tension="C TP" />
  292                                                   <semantics Text>MVI.O RCHESTRATI ON</semant icsText>
  293                                              </ot herIDsScop ingOrganiz ation>                                                                                      
  294                                              <pat ientAddres s>
  295                                                   <value use ="##VET.AD DRESS.TYPE ##">
  296                                                           <s treetAddre ssLine>##V ET.ADDRESS .STREET1## </streetAd dressLine>
  297                                                           <s treetAddre ssLine>##V ET.ADDRESS .STREET2## </streetAd dressLine>
  298                                                           <s treetAddre ssLine>##V ET.ADDRESS .STREET3## </streetAd dressLine>
  299                                                           <s treetAddre ssLine>##V ET.ADDRESS .STREET4## </streetAd dressLine>
  300                                                           <c ity>##VET. ADDRESS.CI TY##</city >
  301                                                           <s tate>##VET .ADDRESS.S TATE##</st ate>
  302                                                           <p ostalCode> ##VET.ADDR ESS.POSTAL CD##</post alCode>
  303                                                           <c ountry>##V ET.ADDRESS .COUNTRY## </country>
  304                                                   </value>
  305                                                   <semantics Text />
  306                                              </pa tientAddre ss>
  307                                              <pat ientTeleco m>
  308                                                   <value val ue="##VET. PHONE##"/>
  309                                                   <semantics Text />
  310                                              </pa tientTelec om>                                                                                           
  311                                          </parame terList>
  312                                          </queryB yParameter >
  313                                     </ controlAct Process>     
  314                               </ps:PRP A_IN201305 UV02>   
  315                           < /soapenv:B ody>
  316                        </so apenv:Enve lope>]]>
  317                        
  318      </body>
  319     
  320              
  321     </request>
  322    
  323             
  324     <response>
  325                       
  326      <transform >
  327       <![CDATA[< ?xml versi on="1.0" e ncoding="U TF-8"?>
  328                                                                    <xsl :styleshee t version= "1.0" xmln s:xsl="htt p://www.w3 .org/1999/ XSL/Transf orm">
  329                                                                             <xsl:o utput meth od="xml"/>
  330                                                                             <xsl:v ariable na me="delim1 ">^</xsl:v ariable>
  331                                                                             <xsl:t emplate ma tch="/">
  332                                                                             <resul t>
  333                                                                                      <respons e><xsl:val ue-of disa ble-output -escaping= "yes" sele ct="//*[lo cal-name()  = 'queryR esponseCod e']/@code" /></respon se>
  334                                                                                      <result_ count><xsl :value-of  disable-ou tput-escap ing="yes"  select="// *[local-na me() = 're sultCurren tQuantity' ]/@value"/ ></result_ count>
  335                                                                                      <ack_typ e><xsl:val ue-of disa ble-output -escaping= "yes" sele ct="//*[lo cal-name()  = 'acknow ledgement' ]/typeCode /@code"/>< /ack_type>
  336                                                                                      <imt><xs l:value-of  disable-o utput-esca ping="yes"  select="/ /*[local-n ame() = 'a cknowledge mentDetail ']/code[@d isplayName ='IMT']/@c ode"/></im t>
  337                                                                                      <pdt><xs l:value-of  disable-o utput-esca ping="yes"  select="/ /*[local-n ame() = 'a cknowledge mentDetail ']/code[@d isplayName ='PDT']/@c ode"/></pd t>
  338                                                                                      <faultst ring><xsl: value-of d isable-out put-escapi ng="yes" s elect="//* /faultstri ng"/></fau ltstring>
  339                                                                                      
  340                                                                                      
  341                                                                                      <xsl:for -each sele ct = "//*/ patient[1] /id"> 
  342                                                                                                       <x sl:choose>
  343                                                                                                                <xsl :when test ="contains (@extensio n,'200M')" >
  344                                                                                                                         <patie nt0_icn>
  345                                                                                                                                  <xsl:cal l-template  name="get SplitEleme nt">      
  346                                                                                                                                           <xsl:with- param name ="value" s elect="@ex tension" / >
  347                                                                                                                                           <xsl:with- param name ="delim" s elect="$de lim1" />
  348                                                                                                                                           <xsl:with- param name ="index" s elect="1"  /> 
  349                                                                                                                                           <xsl:with- param name ="curindex " select=" 1" />                     
  350                                                                                                                                  </xsl:ca ll-templat e>                                                                                                     
  351                                                                                                                         </pati ent0_icn>
  352                                                                                                                         
  353                                                                                                                         
  354                                                                                                                         <patie nt0_pid><x sl:call-te mplate nam e="getSpli tElement">         
  355                                                                                                                                           <xsl:with- param name ="value" s elect="@ex tension" / >
  356                                                                                                                                           <xsl:with- param name ="delim" s elect="$de lim1" />
  357                                                                                                                                           <xsl:with- param name ="index" s elect="1"  /> 
  358                                                                                                                                           <xsl:with- param name ="curindex " select=" 1" />                     
  359                                                                                                                                  </xsl:ca ll-templat e>^<xsl:ca ll-templat e name="ge tSplitElem ent">          
  360                                                                                                                                           <xsl:with- param name ="value" s elect="@ex tension" / >
  361                                                                                                                                           <xsl:with- param name ="delim" s elect="$de lim1" />
  362                                                                                                                                           <xsl:with- param name ="index" s elect="2"  /> 
  363                                                                                                                                           <xsl:with- param name ="curindex " select=" 1" />                     
  364                                                                                                                                  </xsl:ca ll-templat e></patien t0_pid>
  365                                                                                                                         
  366                                                                                                                                  <patient 0_pid_root >
  367                                                                                                                                           <xsl:value -of select ="@root"/>                                                                                                   
  368                                                                                                                                  </patien t0_pid_roo t>
  369                                                                                                                         
  370                                                                                                                </xs l:when>
  371                                                                                                       </ xsl:choose >
  372                                                                                       </xsl:f or-each>                                                                               
  373                                                                                      
  374                                                                                      
  375                                                                                                                                                                     
  376                                                                                      
  377                                                                                 <x sl:for-eac h select =  "//*[loca l-name() =  'subject1 ']/patient "> 
  378                                                                               <rec >
  379                                                                                        <statu s><xsl:val ue-of disa ble-output -escaping= "yes" sele ct="status Code/@code "/></statu s>
  380                                                                                        <score _code><xsl :value-of  disable-ou tput-escap ing="yes"  select="su bjectOf1/q ueryMatchO bservation /code/@cod e"/></scor e_code>
  381                                                                                        <score _value><xs l:value-of  disable-o utput-esca ping="yes"  select="s ubjectOf1/ queryMatch Observatio n/value/@v alue"/></s core_value >
  382                                                                                        <gende r><xsl:val ue-of disa ble-output -escaping= "yes" sele ct="patien tPerson/ad ministrati veGenderCo de/@code"/ ></gender>
  383                                                                                        <dob>< xsl:value- of disable -output-es caping="ye s" select= "patientPe rson/birth Time/@valu e"/></dob>
  384                                                                                        <decea sed_date>< xsl:value- of disable -output-es caping="ye s" select= "patientPe rson/birth Time/@valu e"/></dece ased_date>
  385                                                                                        <ssn>< xsl:value- of disable -output-es caping="ye s" select= "patientPe rson/asOth erIDs[@cla ssCode='SS N']/id/@ex tension"/> </ssn>
  386                                                                                        <birth _city><xsl :value-of  disable-ou tput-escap ing="yes"  select="pa tientPerso n/birthPla ce/addr/ci ty"/></bir th_city>
  387                                                                                        <birth _state><xs l:value-of  disable-o utput-esca ping="yes"  select="p atientPers on/birthPl ace/addr/s tate"/></b irth_state >
  388                                                                                        <birth _country>< xsl:value- of disable -output-es caping="ye s" select= "patientPe rson/birth Place/addr /country"/ ></birth_c ountry>
  389                                                                                        
  390                 
  391                                                                                        <!--   need to lo op through  the ID's  looking fo r the ICN  -->
  392                                                                                        <xsl:f or-each se lect = "id "> 
  393                                                                                                       <x sl:choose>
  394                                                                                                                <xsl :when test ="contains (@extensio n,'200M')" >
  395                                                                                                                         <icn>
  396                                                                                                                                  <xsl:cal l-template  name="get SplitEleme nt">      
  397                                                                                                                                           <xsl:with- param name ="value" s elect="@ex tension" / >
  398                                                                                                                                           <xsl:with- param name ="delim" s elect="$de lim1" />
  399                                                                                                                                           <xsl:with- param name ="index" s elect="1"  /> 
  400                                                                                                                                           <xsl:with- param name ="curindex " select=" 1" />                     
  401                                                                                                                                  </xsl:ca ll-templat e>                                                                                                     
  402                                                                                                                         </icn>
  403                                                                                                                         
  404                                                                                                                         
  405                                                                                                                         <patie nt_pid><xs l:call-tem plate name ="getSplit Element">          
  406                                                                                                                                           <xsl:with- param name ="value" s elect="@ex tension" / >
  407                                                                                                                                           <xsl:with- param name ="delim" s elect="$de lim1" />
  408                                                                                                                                           <xsl:with- param name ="index" s elect="1"  /> 
  409                                                                                                                                           <xsl:with- param name ="curindex " select=" 1" />                     
  410                                                                                                                                  </xsl:ca ll-templat e>^<xsl:ca ll-templat e name="ge tSplitElem ent">          
  411                                                                                                                                           <xsl:with- param name ="value" s elect="@ex tension" / >
  412                                                                                                                                           <xsl:with- param name ="delim" s elect="$de lim1" />
  413                                                                                                                                           <xsl:with- param name ="index" s elect="2"  /> 
  414                                                                                                                                           <xsl:with- param name ="curindex " select=" 1" />                     
  415                                                                                                                                  </xsl:ca ll-templat e></patien t_pid>
  416                                                                                                                         
  417                                                                                                                                  <patient _pid_root>
  418                                                                                                                                           <xsl:value -of select ="@root"/>                                                                                                   
  419                                                                                                                                  </patien t_pid_root >
  420                                                                                                                         
  421                                                                                                                </xs l:when>
  422                                                                                                       </ xsl:choose >
  423                                                                                       </xsl:f or-each>                                                                                  
  424                                                                                        
  425                                                                                                 <phone_c ount>
  426                                                                                                       <x sl:value-o f disable- output-esc aping="yes " select=" count(pati entPerson/ telecom)"/ >
  427                                                                                                 </phone_ count>           
  428                                                                                        <phone s>
  429                                                                                               <xsl:for-e ach select  = "patien tPerson/te lecom">
  430                                                                                               <phone> 
  431                                                                                                                         <numbe r><xsl:val ue-of disa ble-output -escaping= "yes" sele ct="@value "/></numbe r>
  432                                                                                                                         <type> <xsl:value -of disabl e-output-e scaping="y es" select ="@use"/>< /type>
  433                                                                                                                </ph one>                                                     
  434                                                                                                       </ xsl:for-ea ch>
  435                                                                                        </phon es>
  436                                                                                                 <name_co unt>
  437                                                                                                       <x sl:value-o f disable- output-esc aping="yes " select=" count(pati entPerson/ name)"/>
  438                                                                                                 </name_c ount>           
  439                                                                                        <names >
  440                                                                                               <xsl:for-e ach select  = "patien tPerson/na me">
  441                                                                                               <name>
  442                                                                                                       <t ype><xsl:v alue-of di sable-outp ut-escapin g="yes" se lect="@use "/></type>  
  443                                                                                                                         <first ><xsl:valu e-of disab le-output- escaping=" yes" selec t="given[1 ]"/></firs t>
  444                                                                                                                         <middl e><xsl:val ue-of disa ble-output -escaping= "yes" sele ct="given[ 2]"/></mid dle>
  445                                                                                                                         <last> <xsl:value -of disabl e-output-e scaping="y es" select ="family"/ ></last>
  446                                                                                                                         <suffi x><xsl:val ue-of disa ble-output -escaping= "yes" sele ct="suffix "/></suffi x>
  447                                                                                                                         <prefi x><xsl:val ue-of disa ble-output -escaping= "yes" sele ct="prefix "/></prefi x>
  448                                                                                                                         <type> <xsl:value -of disabl e-output-e scaping="y es" select ="type"/>< /type>
  449                                                                                                                </na me>
  450                                                                                                                
  451                                                                                                       </ xsl:for-ea ch>
  452                                                                                        </name s>
  453                                                                                                 <address _count>
  454                                                                                                       <x sl:value-o f disable- output-esc aping="yes " select=" count(pati entPerson/ addr)"/>
  455                                                                                                 </addres s_count>           
  456                                                                                        <addre sses>
  457                                                                                               <xsl:for-e ach select  = "patien tPerson/ad dr">
  458                                                                                               <address>
  459                                                                                                       <t ype><xsl:v alue-of di sable-outp ut-escapin g="yes" se lect="@use "/></type>  
  460                                                                                                                         <line1 ><xsl:valu e-of disab le-output- escaping=" yes" selec t="streetA ddressLine [1]"/></li ne1>
  461                                                                                                                         <line2 ><xsl:valu e-of disab le-output- escaping=" yes" selec t="streetA ddressLine [2]"/></li ne2>
  462                                                                                                                         <line3 ><xsl:valu e-of disab le-output- escaping=" yes" selec t="streetA ddressLine [3]"/></li ne3>
  463                                                                                                                         <line4 ><xsl:valu e-of disab le-output- escaping=" yes" selec t="streetA ddressLine [4]"/></li ne4>
  464                                                                                                                         <city> <xsl:value -of disabl e-output-e scaping="y es" select ="city"/>< /city>
  465                                                                                                                         <state ><xsl:valu e-of disab le-output- escaping=" yes" selec t="state"/ ></state>
  466                                                                                                                         <posta l><xsl:val ue-of disa ble-output -escaping= "yes" sele ct="postal Code"/></p ostal>
  467                                                                                                                         <count ry><xsl:va lue-of dis able-outpu t-escaping ="yes" sel ect="count ry"/></cou ntry>
  468                                                                                                                         
  469                                                                                                                </ad dress>
  470                                                                                                       </ xsl:for-ea ch>
  471                                                                                        </addr esses>
  472                                                                                                 <id_coun t>
  473                                                                                                       <x sl:value-o f disable- output-esc aping="yes " select=" count(id)" />
  474                                                                                                 </id_cou nt>           
  475                                                                                        <ids>
  476                                                                                                       <x sl:for-eac h select =  "id">
  477                                                                                               <id>
  478                                                                                                                         <type>
  479                                                                                                                                  <xsl:cal l-template  name="get SplitEleme nt"> 
  480                                                                                                                                           <xsl:with- param name ="value" s elect="@ex tension" / >
  481                                                                                                                                           <xsl:with- param name ="delim" s elect="$de lim1" />
  482                                                                                                                                           <xsl:with- param name ="index" s elect="3"  /> 
  483                                                                                                                                           <xsl:with- param name ="curindex " select=" 1" />                     
  484                                                                                                                                  </xsl:ca ll-templat e>   
  485                                                                                                                         </type >
  486                                                                                                                         <exten sion><xsl: value-of d isable-out put-escapi ng="yes" s elect="@ex tension"/> </extensio n>
  487                                                                                                                         <exten sion_part_ 1>
  488                                                                                                                                  <xsl:cal l-template  name="get SplitEleme nt"> 
  489                                                                                                                                           <xsl:with- param name ="value" s elect="@ex tension" / >
  490                                                                                                                                           <xsl:with- param name ="delim" s elect="$de lim1" />
  491                                                                                                                                           <xsl:with- param name ="index" s elect="1"  /> 
  492                                                                                                                                           <xsl:with- param name ="curindex " select=" 1" />                     
  493                                                                                                                                  </xsl:ca ll-templat e>   
  494                                                                                                                         </exte nsion_part _1>
  495                                                                                                                         <exten sion_part_ 2>
  496                                                                                                                                  <xsl:cal l-template  name="get SplitEleme nt"> 
  497                                                                                                                                           <xsl:with- param name ="value" s elect="@ex tension" / >
  498                                                                                                                                           <xsl:with- param name ="delim" s elect="$de lim1" />
  499                                                                                                                                           <xsl:with- param name ="index" s elect="2"  /> 
  500                                                                                                                                           <xsl:with- param name ="curindex " select=" 1" />                     
  501                                                                                                                                  </xsl:ca ll-templat e>   
  502                                                                                                                         </exte nsion_part _2>
  503                                                                                                                         <exten sion_part_ 3>
  504                                                                                                                                  <xsl:cal l-template  name="get SplitEleme nt"> 
  505                                                                                                                                           <xsl:with- param name ="value" s elect="@ex tension" / >
  506                                                                                                                                           <xsl:with- param name ="delim" s elect="$de lim1" />
  507                                                                                                                                           <xsl:with- param name ="index" s elect="3"  /> 
  508                                                                                                                                           <xsl:with- param name ="curindex " select=" 1" />                     
  509                                                                                                                                  </xsl:ca ll-templat e>   
  510                                                                                                                         </exte nsion_part _3>
  511                                                                                                                         <exten sion_part_ 4>
  512                                                                                                                                  <xsl:cal l-template  name="get SplitEleme nt"> 
  513                                                                                                                                           <xsl:with- param name ="value" s elect="@ex tension" / >
  514                                                                                                                                           <xsl:with- param name ="delim" s elect="$de lim1" />
  515                                                                                                                                           <xsl:with- param name ="index" s elect="4"  /> 
  516                                                                                                                                           <xsl:with- param name ="curindex " select=" 1" />                     
  517                                                                                                                                  </xsl:ca ll-templat e>   
  518                                                                                                                         </exte nsion_part _4>
  519                                                                                                                         <exten sion_part_ 5>
  520                                                                                                                                  <xsl:cal l-template  name="get SplitEleme nt"> 
  521                                                                                                                                           <xsl:with- param name ="value" s elect="@ex tension" / >
  522                                                                                                                                           <xsl:with- param name ="delim" s elect="$de lim1" />
  523                                                                                                                                           <xsl:with- param name ="index" s elect="5"  /> 
  524                                                                                                                                           <xsl:with- param name ="curindex " select=" 1" />                     
  525                                                                                                                                  </xsl:ca ll-templat e>   
  526                                                                                                                         </exte nsion_part _5>
  527                                                                                                                         <root> <xsl:value -of disabl e-output-e scaping="y es" select ="@root"/> </root>
  528                                                                                                                         <org_r oot><xsl:v alue-of di sable-outp ut-escapin g="yes" se lect="@roo t"/>
  529                                                                                                                                  <xsl:cal l-template  name="get SplitEleme nt"> 
  530                                                                                                                                           <xsl:with- param name ="value" s elect="@ex tension" / >
  531                                                                                                                                           <xsl:with- param name ="delim" s elect="$de lim1" />
  532                                                                                                                                           <xsl:with- param name ="index" s elect="4"  /> 
  533                                                                                                                                           <xsl:with- param name ="curindex " select=" 1" />                     
  534                                                                                                                                  </xsl:ca ll-templat e>   
  535                                                                                                                         </org_ root>
  536                                                                                                                </id >
  537                                                                                                       </ xsl:for-ea ch>
  538                                                                                        </ids>
  539                                                                               </re c>
  540                                                                           </xsl:fo r-each> 
  541                                                                    </re sult>        
  542                                                           </ xsl:templa te>          
  543                                                           <x sl:templat e name="ge tSplitElem ent">
  544                                                                    <xsl :param nam e="value"  />
  545                                                                    <xsl :param nam e="delim"  />
  546                                                                    <xsl :param nam e="index"  />
  547                                                                    <xsl :param nam e="curinde x" />
  548                                                                     <xs l:choose>
  549                                                                     <xs l:when tes t="$index  = $curinde x">
  550                                                                                      <xsl:cho ose>
  551                                                                                               <xsl:when  test="cont ains($valu e,$delim)" >
  552                                                                                                       <x sl:value-o f disable- output-esc aping="yes " select=" substring- before($va lue,$delim )"/>
  553                                                                                               </xsl:when >
  554                                                                                               <xsl:other wise>
  555                                                                                                       <x sl:value-o f disable- output-esc aping="yes " select=" $value"/>
  556                                                                                               </xsl:othe rwise>
  557                                                                                      </xsl:ch oose>
  558                                                                     </x sl:when>
  559                                                                               <xsl :when test ="not(cont ains($valu e,$delim)) ">
  560                                                                       < xsl:value- of disable -output-es caping="ye s" select= "NF"/>
  561                                                                     </x sl:when>
  562                                                                     <xs l:when tes t="$index  > $curinde x">
  563                                                                       < xsl:variab le name="l eader" sel ect="subst ring-befor e($value,$ delim)"/>
  564                                                                       < xsl:variab le name="n val" selec t="substri ng-after($ value,conc at($leader ,$delim))" />
  565                                                                       < xsl:call-t emplate na me="getSpl itElement" >
  566                                                                                               <xsl:with- param name ="value"     select=" $nval" />
  567                                                                                               <xsl:with- param name ="delim"     select=" $delim" />
  568                                                                                               <xsl:with- param name ="index"     select=" $index" />
  569                                                                                               <xsl:with- param name ="curindex " select=" $curindex  + 1" />
  570                                                                             </xsl: call-templ ate>
  571                                                                     </x sl:when>
  572                                                                     <xs l:otherwis e>
  573                                                                                      <xsl:val ue-of disa ble-output -escaping= "yes" sele ct="substr ing-before ($value,$d elim)"/>
  574                                                                     </x sl:otherwi se>
  575                                                          </x sl:choose>
  576                                                           </ xsl:templa te>
  577                                          </xsl:st ylesheet>] ]>
  578                        
  579      </transfor m>
  580                       
  581      <results>
  582                                 
  583       <result_pr operty 
  584        name="ERRO R.MESSAGE"  
  585        xpath="//r esult/faul tstring"     
  586        action="[e rror]"  
  587       />
  588                                 
  589       <result_pr operty 
  590        name="RESP .CODE"                          
  591        xpath="//r esult/resp onse" 
  592       />
  593                                 
  594       <result_pr operty 
  595        name="RESP .QUANTITY"              
  596        xpath="//r esult/resu lt_count" 
  597       />
  598                                 
  599       <result_pr operty 
  600        name="ACK. TYPECODE"               
  601        xpath="//r esult/ack_ type" 
  602       />
  603                                 
  604       <result_pr operty 
  605        name="IMT. THRESHOLD"              
  606        xpath="//r esult/imt"  
  607       />
  608                                 
  609       <result_pr operty 
  610        name="PDT. THRESHOLD"              
  611        xpath="//r esult/pdt"  
  612       />
  613                                 
  614       <result_pr operty 
  615        name="VET. PID"                    
  616        xpath="//r esult/rec[ 1]/patient _pid" 
  617       />
  618                                 
  619       <result_pr operty 
  620        name="VET. PID.ROOT"               
  621        xpath="//r esult/rec[ 1]/patient _pid_root"  
  622       />
  623                                 
  624       <result_pr operty 
  625        name="VET. ICN"                    
  626        xpath="//r esult/rec[ 1]/icn" 
  627       />
  628                                 
  629                                 
  630       <record 
  631        xpath="//r esult/rec"
  632       >
  633        <!-- recor d can occu r many tim es -->
  634                                           
  635        <field 
  636         name="REC. STATUS"                         
  637         xpath="sta tus"                            
  638         default="[ null]" 
  639        />
  640                                           
  641        <field 
  642         name="REC. SCORE.CODE "            
  643         xpath="sco re_code"                        
  644         default="[ null]" 
  645        />
  646                                           
  647        <field 
  648         name="REC. SCORE.VALU E"           
  649         xpath="sco re_value"               
  650         default="[ null]" 
  651        />
  652                                           
  653        <field 
  654         name="VET. GENDER"                         
  655         xpath="gen der"                            
  656         default="[ null]" 
  657        />
  658                                           
  659        <field 
  660         name="VET. DOB"                            
  661         xpath="dob "                               
  662         default="[ null]" 
  663        />
  664                                           
  665        <field 
  666         name="VET. DECEASED.D ATE"         
  667         xpath="dec eased_date "            
  668         default="[ null]" 
  669        />
  670                                           
  671        <field 
  672         name="VET. SSN"                            
  673         xpath="ssn "                               
  674         default="[ null]" 
  675        />
  676                                           
  677        <field 
  678         name="VET. BIRTH.CITY "            
  679         xpath="bir th_city"                        
  680         default="[ null]" 
  681        />
  682                                           
  683        <field 
  684         name="VET. BIRTH.STAT E"           
  685         xpath="bir th_state"               
  686         default="[ null]" 
  687        />
  688                                           
  689        <field 
  690         name="VET. BIRTH.COUN TRY"         
  691         xpath="bir th_country "            
  692         default="[ null]" 
  693        />
  694                                           
  695        <field 
  696         name="VET. PID"           
  697         xpath="pat ient_pid"               
  698         default="[ null]" 
  699        />
  700                                           
  701        <field 
  702         name="VET. PID.ROOT"      
  703         xpath="pat ient_pid_r oot"         
  704         default="[ null]" 
  705        />
  706                                           
  707        <field 
  708         name="VET. ICN"                            
  709         xpath="icn "                               
  710         default="[ null]" 
  711        />
  712       
  713                                           
  714        <field 
  715         name="VET. PHONE.COUN T" 
  716         xpath="pho ne_count" 
  717         default="0
  718        />
  719                                           
  720        <field_gro up 
  721         name="VET. PHONES" 
  722         xpath="pho nes/phone"  
  723         list_key=" type"
  724        >
  725                                                    
  726         <field 
  727          name="NUMB ER" 
  728          xpath="num ber" 
  729          default="[ null]" 
  730         />
  731                                                    
  732         <field 
  733          name="TYPE
  734          xpath="typ e" 
  735          default="[ null]" 
  736         />
  737                                            
  738        </field_gr oup>
  739       
  740       
  741                                           
  742        <field 
  743         name="VET. NAME.COUNT
  744         xpath="nam e_count" 
  745         default="0
  746        />
  747                                           
  748        <field_gro up 
  749         name="VET. NAMES" 
  750         xpath="nam es/name" 
  751         list_key=" type"
  752        >
  753                                                    
  754         <field 
  755          name="FIRS T" 
  756          xpath="fir st" 
  757          default="[ null]" 
  758         />
  759                                                    
  760         <field 
  761          name="MIDD LE" 
  762          xpath="mid dle" 
  763          default="[ null]" 
  764         />
  765                                                    
  766         <field 
  767          name="LAST
  768          xpath="las t" 
  769          default="[ null]" 
  770         />
  771                                                    
  772         <field 
  773          name="SUFF IX" 
  774          xpath="suf fix" 
  775          default="[ null]" 
  776         />
  777                                                    
  778         <field 
  779          name="PREF IX" 
  780          xpath="pre fix" 
  781          default="[ null]" 
  782         />
  783                                                    
  784         <field 
  785          name="TYPE
  786          xpath="typ e" 
  787          default="[ null]" 
  788         />
  789                                            
  790        </field_gr oup>
  791       
  792                                           
  793        <field 
  794         name="VET. ADDRESS.CO UNT" 
  795         xpath="add ress_count
  796         default="0
  797        />
  798                                           
  799        <field_gro up 
  800         name="VET. ADDRESSES"  
  801         xpath="add resses/add ress"        
  802         list_key=" type"
  803        >
  804                                                    
  805         <field 
  806          name="STRE ET1" 
  807          xpath="lin e1" 
  808          default="[ null]" 
  809         />
  810                                                    
  811         <field 
  812          name="STRE ET2" 
  813          xpath="lin e2" 
  814          default="[ null]" 
  815         />
  816                                                    
  817         <field 
  818          name="STRE ET3" 
  819          xpath="lin e3" 
  820          default="[ null]" 
  821         />
  822                                                    
  823         <field 
  824          name="STRE ET4" 
  825          xpath="lin e4" 
  826          default="[ null]" 
  827         />
  828                                                    
  829         <field 
  830          name="CITY
  831          xpath="cit y" 
  832          default="[ null]" 
  833         />
  834                                                    
  835         <field 
  836          name="STAT E" 
  837          xpath="sta te" 
  838          default="[ null]" 
  839         />
  840                                                    
  841         <field 
  842          name="POST ALCD" 
  843          xpath="pos tal" 
  844          default="[ null]" 
  845         />
  846                                                    
  847         <field 
  848          name="COUN TRY" 
  849          xpath="cou ntry" 
  850          default="[ null]" 
  851         />
  852                                                    
  853         <field 
  854          name="TYPE
  855          xpath="typ e" 
  856          default="[ null]" 
  857         />
  858                                            
  859        </field_gr oup>
  860       
  861       
  862                                           
  863        <field 
  864         name="VET. ID.COUNT" 
  865         xpath="id_ count" 
  866         default="0
  867        />
  868                                           
  869        <field_gro up 
  870         name="VET. IDS" 
  871         xpath="ids /id" 
  872         list_key=" type"
  873        >
  874                                                    
  875         <field 
  876          name="EXTE NSION" 
  877          xpath="ext ension" 
  878          default="[ null]" 
  879         />
  880                                                    
  881         <field 
  882          name="PART _A" 
  883          xpath="ext ension_par t_1"         
  884          default="[ null]" 
  885         />
  886                                                    
  887         <field 
  888          name="PART _B" 
  889          xpath="ext ension_par t_2"         
  890          default="[ null]" 
  891         />
  892                                                    
  893         <field 
  894          name="PART _C" 
  895          xpath="ext ension_par t_3"         
  896          default="[ null]" 
  897         />
  898                                                    
  899         <field 
  900          name="PART _D" 
  901          xpath="ext ension_par t_4"         
  902          default="[ null]" 
  903         />
  904                                                    
  905         <field 
  906          name="PART _D" 
  907          xpath="ext ension_par t_5"         
  908          default="[ null]" 
  909         />
  910                                                    
  911         <field 
  912          name="ROOT
  913          xpath="roo t" 
  914          default="[ null]" 
  915         />
  916                                                    
  917         <field 
  918          name="ORG_ ROOT" 
  919          xpath="org _root" 
  920          default="[ null]" 
  921         />
  922                                                    
  923         <field 
  924          name="TYPE
  925          xpath="typ e" 
  926          default="[ null]" 
  927         />
  928                                            
  929        </field_gr oup>
  930                                  
  931       </record>
  932      
  933                        
  934      </results>
  935              
  936     </response >
  937    
  938    
  939   </CTSSH_Te mplate>
  940  
  941