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

22.1 Files compared

# Location File Last Modified
1 Caregivers-Title_1.zip\docroot\templates MVI.1305.ATTENDED.SEARCH.xml Mon Apr 17 14:00:36 2017 UTC
2 Caregivers-Title_1.zip\docroot\templates MVI.1305.ATTENDED.SEARCH.xml Tue Apr 18 17:55:15 2017 UTC

22.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 11 1858
Changed 10 20
Inserted 0 0
Removed 0 0

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

22.4 Active regular expressions

No regular expressions were active.

22.5 Comparison detail

  1   <?xml 
  2     version="1 .0" 
  3     encoding=" UTF-8"
  4   ?>
  5   <CTSSH_Tem plate 
  6     key="MVI.1 305.ATTEND ED.SEARCH"  
  7     type="simp le"
  8           
  9     fail_messa ge="MVI 13 05 Attende d Search c all has fa iled"
  10   >
  11             
  12     <request>
  13                       
  14                       
  15      <url 
  16       env = "LOC AL"
  17      >
  18       http:// URL . 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           .va.gov">
  240                        <soa penv:Heade r/>
  241                        <soa penv:Body>      
  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                                 <id ro ot="2.16.8 40.1.11388 3.4.349" e xtension=" MCID-12345 " />
  244                                 <creat ionTime va lue="20160 510150301"  />
  245                                 <versi onCode cod e="3.0" />
  246                                 <inter actionId r oot="2.16. 840.1.1138 83.1.6" ex tension="P RPA_IN2013 05UV02" />
  247                                 <proce ssingCode  code="T" / >
  248                                 <proce ssingModeC ode code=" T" />
  249                                 <accep tAckCode c ode="AL" / >
  250                                 <recei ver typeCo de="RCV">
  251                                     <d evice clas sCode="DEV " determin erCode="IN STANCE">
  252                                          <id root ="2.16.840 .1.113883. 4.349" />
  253                                     </ device>
  254                                 </rece iver>
  255                                 <sende r typeCode ="SND">
  256                                     <d evice clas sCode="DEV " determin erCode="IN STANCE">
  257                                     <i d extensio n="200CARE " root="2. 16.840.1.1 13883.4.34 9" />
  258                                     </ device>
  259                                 </send er>
  260                                 <contr olActProce ss classCo de="CACT"  moodCode=" EVN">
  261                                     <c ode code=" PRPA_TE201 305UV02" c odeSystem= "2.16.840. 1.113883.1 .6" />
  262                                     <d ataEnterer  contextCo ntrolCode= "AP" typeC ode="ENT">
  263                                          <assigne dPerson cl assCode="A SSIGNED">
  264                                              <id  root="##SE NDER.OID## " extensio n="##SENDE R.ID##"/>
  265                                              <ass ignedPerso n classCod e="PSN" de terminerCo de="INSTAN CE">
  266                                                   <name>
  267                                                       <given >##SENDER. NAME.FIRST ##</given>
  268                                                       <famil y>##SENDER .NAME.LAST ##</family >
  269                                                   </name>
  270                                              </as signedPers on>          
  271                                              <rep resentedOr ganization  classCode ="ORG" det erminerCod e="INSTANC E">
  272                                                   <id root=" 2.16.840.1 .113883.4. 349" exten sion="UID"  />
  273                                                   <code code ="KEY" />
  274                                                   <desc>Care T</desc>
  275                                                    <telecom v alue=" IP             " />
  276                                              </re presentedO rganizatio n>
  277                                          </assign edPerson>
  278                                     </ dataEntere r>               
  279      
  280                                     <q ueryByPara meter>
  281                                          <queryId  root="2.1 6.840.1.11 3883.4.349 " extensio n="18204"  />
  282                                          <statusC ode code=" new" />
  283                                          <modifyC ode/>
  284                                          <initial Quantity v alue="10"  />
  285                                          <paramet erList>
  286                                              <liv ingSubject Administra tiveGender >
  287                                                   <value cod e="##VET.G ENDER##">< /value>
  288                                                   <semantics Text>Livin gSubject.a dministrat iveGender< /semantics Text>
  289                                              </li vingSubjec tAdministr ativeGende r>
  290                                              <liv ingSubject BirthTime>
  291                                                   <value val ue="##VET. DOB##" />
  292                                                   <semantics Text>Date  of Birth</ semanticsT ext>
  293                                              </li vingSubjec tBirthTime >
  294                                              <liv ingSubject Id>
  295                                                   <value roo t="2.16.84 0.1.113883 .4.1" exte nsion="##V ET.SSN##"  />
  296                                                   <semantics Text>SSN</ semanticsT ext>
  297                                              </li vingSubjec tId>
  298                                              <liv ingSubject Name>
  299                                                   <value use ="##VET.NA ME.TYPE##" >
  300                                                       <given >##VET.NAM E.FIRST##< /given>
  301                                                       <given >##VET.NAM E.MIDDLE## </given>
  302                                                       <prefi x>##VET.NA ME.PREFIX# #</prefix>
  303                                                       <suffi x>##VET.NA ME.SUFFIX# #</suffix>
  304                                                       <famil y>##VET.NA ME.LAST##< /family>
  305                                                   </value>
  306                                                   <semantics Text>Livin gSubject.n ame</seman ticsText>
  307                                              </li vingSubjec tName>
  308                                              <oth erIDsScopi ngOrganiza tion>
  309                                                   <value roo t="2.16.84 0.1.113883 .4.349" ex tension="C TP" />
  310                                                   <semantics Text>MVI.O RCHESTRATI ON</semant icsText>
  311                                              </ot herIDsScop ingOrganiz ation>                                                                                      
  312                                              <pat ientAddres s>
  313                                                   <value use ="##VET.AD DRESS.TYPE ##">
  314                                                           <s treetAddre ssLine>##V ET.ADDRESS .STREET1## </streetAd dressLine>
  315                                                           <s treetAddre ssLine>##V ET.ADDRESS .STREET2## </streetAd dressLine>
  316                                                           <s treetAddre ssLine>##V ET.ADDRESS .STREET3## </streetAd dressLine>
  317                                                           <s treetAddre ssLine>##V ET.ADDRESS .STREET4## </streetAd dressLine>
  318                                                           <c ity>##VET. ADDRESS.CI TY##</city >
  319                                                           <s tate>##VET .ADDRESS.S TATE##</st ate>
  320                                                           <p ostalCode> ##VET.ADDR ESS.POSTAL CD##</post alCode>
  321                                                           <c ountry>##V ET.ADDRESS .COUNTRY## </country>
  322                                                   </value>
  323                                                   <semantics Text />
  324                                              </pa tientAddre ss>
  325                                              <pat ientTeleco m>
  326                                                   <value val ue="##VET. PHONE##"/>
  327                                                   <semantics Text />
  328                                              </pa tientTelec om>                                                                                           
  329                                          </parame terList>
  330                                     </ queryByPar ameter>
  331                                 </cont rolActProc ess>    
  332                             </ps:PRPA_ IN201305UV 02>   
  333                        </so apenv:Body >
  334                    </soapen v:Envelope >]]>
  335                        
  336      </body>
  337     
  338              
  339     </request>
  340    
  341             
  342     <response>
  343                       
  344      <transform >
  345       <![CDATA[< ?xml versi on="1.0" e ncoding="U TF-8"?>
  346                                                                    <xsl :styleshee t version= "1.0" xmln s:xsl="htt p://www.w3 .org/1999/ XSL/Transf orm">
  347                                                                             <xsl:o utput meth od="xml"/>
  348                                                                             <xsl:v ariable na me="delim1 ">^</xsl:v ariable>
  349                                                                             <xsl:v ariable na me="delim2 ">V</xsl:v ariable>
  350                                                                             <xsl:t emplate ma tch="/">
  351                                                                             <resul t>
  352                                                                                      <respons e><xsl:val ue-of disa ble-output -escaping= "yes" sele ct="//*[lo cal-name()  = 'queryR esponseCod e']/@code" /></respon se>
  353                                                                                      <result_ count><xsl :value-of  disable-ou tput-escap ing="yes"  select="// *[local-na me() = 're sultCurren tQuantity' ]/@value"/ ></result_ count>
  354                                                                                      <ack_typ e><xsl:val ue-of disa ble-output -escaping= "yes" sele ct="//*[lo cal-name()  = 'acknow ledgement' ]/typeCode /@code"/>< /ack_type>
  355                                                                                      <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>
  356                                                                                      <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>
  357                                                                                      
  358                                                                                      <faultst ring><xsl: value-of d isable-out put-escapi ng="yes" s elect="//* /faultstri ng"/></fau ltstring>
  359                                                                                      
  360                                                                                 <x sl:for-eac h select =  "//*[loca l-name() =  'subject1 ']/patient "> 
  361                                                                                 <r ec>
  362                                                                                        <statu s><xsl:val ue-of disa ble-output -escaping= "yes" sele ct="status Code/@code "/></statu s>
  363                                                                                        <score _code><xsl :value-of  disable-ou tput-escap ing="yes"  select="su bjectOf1/q ueryMatchO bservation /code/@cod e"/></scor e_code>
  364                                                                                        <score _value><xs l:value-of  disable-o utput-esca ping="yes"  select="s ubjectOf1/ queryMatch Observatio n/value/@v alue"/></s core_value >
  365                                                                                        <gende r><xsl:val ue-of disa ble-output -escaping= "yes" sele ct="patien tPerson/ad ministrati veGenderCo de/@code"/ ></gender>
  366                                                                                        <dob>< xsl:value- of disable -output-es caping="ye s" select= "patientPe rson/birth Time/@valu e"/></dob>
  367                                                                                        <decea sed_date>< xsl:value- of disable -output-es caping="ye s" select= "patientPe rson/birth Time/@valu e"/></dece ased_date>
  368                                                                                        <ssn>< xsl:value- of disable -output-es caping="ye s" select= "patientPe rson/asOth erIDs[@cla ssCode='SS N']/id/@ex tension"/> </ssn>
  369                                                                                        <birth _city><xsl :value-of  disable-ou tput-escap ing="yes"  select="pa tientPerso n/birthPla ce/addr/ci ty"/></bir th_city>
  370                                                                                        <birth _state><xs l:value-of  disable-o utput-esca ping="yes"  select="p atientPers on/birthPl ace/addr/s tate"/></b irth_state >
  371                                                                                        <birth _country>< xsl:value- of disable -output-es caping="ye s" select= "patientPe rson/birth Place/addr /country"/ ></birth_c ountry>
  372                                                                                        
  373                                                                                        
  374                                                                                        <!--   need to lo op through  the ID's  looking fo r the ICN  -->
  375                                                                                        <xsl:f or-each se lect = "id "> 
  376                                                                                                       <x sl:choose>
  377                                                                                                                <xsl :when test ="contains (@extensio n,'200M')" >
  378                                                                                                                         <icn>
  379                                                                                                                                  <xsl:cal l-template  name="get SplitEleme nt">      
  380                                                                                                                                           <xsl:with- param name ="value" s elect="@ex tension" / >
  381                                                                                                                                           <xsl:with- param name ="delim" s elect="$de lim1" />
  382                                                                                                                                           <xsl:with- param name ="index" s elect="1"  /> 
  383                                                                                                                                           <xsl:with- param name ="curindex " select=" 1" />                     
  384                                                                                                                                  </xsl:ca ll-templat e>                                                                                                     
  385                                                                                                                         </icn>
  386                                                                                                                         
  387                                                                                                                         <icn2>
  388                                                                                                                                  <xsl:cal l-template  name="get SplitEleme nt">      
  389                                                                                                                                           <xsl:with- param name ="value" s elect="@ex tension" / >
  390                                                                                                                                           <xsl:with- param name ="delim" s elect="$de lim2" />
  391                                                                                                                                           <xsl:with- param name ="index" s elect="1"  /> 
  392                                                                                                                                           <xsl:with- param name ="curindex " select=" 1" />                     
  393                                                                                                                                  </xsl:ca ll-templat e>                                                                                                     
  394                                                                                                                         </icn2 >
  395                                                                                                                         
  396                                                                                                                         
  397                                                                                                                         <patie nt_pid><xs l:call-tem plate name ="getSplit Element">          
  398                                                                                                                                           <xsl:with- param name ="value" s elect="@ex tension" / >
  399                                                                                                                                           <xsl:with- param name ="delim" s elect="$de lim1" />
  400                                                                                                                                           <xsl:with- param name ="index" s elect="1"  /> 
  401                                                                                                                                           <xsl:with- param name ="curindex " select=" 1" />                     
  402                                                                                                                                  </xsl:ca ll-templat e>^<xsl:ca ll-templat e name="ge tSplitElem ent">          
  403                                                                                                                                           <xsl:with- param name ="value" s elect="@ex tension" / >
  404                                                                                                                                           <xsl:with- param name ="delim" s elect="$de lim1" />
  405                                                                                                                                           <xsl:with- param name ="index" s elect="2"  /> 
  406                                                                                                                                           <xsl:with- param name ="curindex " select=" 1" />                     
  407                                                                                                                                  </xsl:ca ll-templat e></patien t_pid>
  408                                                                                                                         
  409                                                                                                                                  <patient _pid_root>
  410                                                                                                                                           <xsl:value -of select ="@root"/>                                                                                                   
  411                                                                                                                                  </patien t_pid_root >
  412                                                                                                                         
  413                                                                                                                </xs l:when>
  414                                                                                                       </ xsl:choose >
  415                                                                                       </xsl:f or-each>
  416                                                                                        
  417                                                                                                 <phone_c ount>
  418                                                                                                       <x sl:value-o f disable- output-esc aping="yes " select=" count(pati entPerson/ telecom)"/ >
  419                                                                                                 </phone_ count>           
  420                                                                                        <phone s>
  421                                                                                               <xsl:for-e ach select  = "patien tPerson/te lecom">
  422                                                                                               <phone> 
  423                                                                                                                         <numbe r><xsl:val ue-of disa ble-output -escaping= "yes" sele ct="@value "/></numbe r>
  424                                                                                                                         <type> <xsl:value -of disabl e-output-e scaping="y es" select ="@use"/>< /type>
  425                                                                                                                </ph one>                                                     
  426                                                                                                       </ xsl:for-ea ch>
  427                                                                                        </phon es>
  428                                                                                                 <name_co unt>
  429                                                                                                       <x sl:value-o f disable- output-esc aping="yes " select=" count(pati entPerson/ name)"/>
  430                                                                                                 </name_c ount>           
  431                                                                                        <names >
  432                                                                                               <xsl:for-e ach select  = "patien tPerson/na me">
  433                                                                                               <name>
  434                                                                                                       <t ype><xsl:v alue-of di sable-outp ut-escapin g="yes" se lect="@use "/></type>  
  435                                                                                                                         <first ><xsl:valu e-of disab le-output- escaping=" yes" selec t="given[1 ]"/></firs t>
  436                                                                                                                         <middl e><xsl:val ue-of disa ble-output -escaping= "yes" sele ct="given[ 2]"/></mid dle>
  437                                                                                                                         <last> <xsl:value -of disabl e-output-e scaping="y es" select ="family"/ ></last>
  438                                                                                                                         <suffi x><xsl:val ue-of disa ble-output -escaping= "yes" sele ct="suffix "/></suffi x>
  439                                                                                                                         <prefi x><xsl:val ue-of disa ble-output -escaping= "yes" sele ct="prefix "/></prefi x>
  440                                                                                                                         <type> <xsl:value -of disabl e-output-e scaping="y es" select ="type"/>< /type>
  441                                                                                                                </na me>
  442                                                                                                       </ xsl:for-ea ch>
  443                                                                                        </name s>
  444                                                                                                 <address _count>
  445                                                                                                       <x sl:value-o f disable- output-esc aping="yes " select=" count(pati entPerson/ addr)"/>
  446                                                                                                 </addres s_count>           
  447                                                                                        <addre sses>
  448                                                                                               <xsl:for-e ach select  = "patien tPerson/ad dr">
  449                                                                                               <address>
  450                                                                                                       <t ype><xsl:v alue-of di sable-outp ut-escapin g="yes" se lect="@use "/></type>  
  451                                                                                                                         <line1 ><xsl:valu e-of disab le-output- escaping=" yes" selec t="streetA ddressLine [1]"/></li ne1>
  452                                                                                                                         <line2 ><xsl:valu e-of disab le-output- escaping=" yes" selec t="streetA ddressLine [2]"/></li ne2>
  453                                                                                                                         <line3 ><xsl:valu e-of disab le-output- escaping=" yes" selec t="streetA ddressLine [3]"/></li ne3>
  454                                                                                                                         <line4 ><xsl:valu e-of disab le-output- escaping=" yes" selec t="streetA ddressLine [4]"/></li ne4>
  455                                                                                                                         <city> <xsl:value -of disabl e-output-e scaping="y es" select ="city"/>< /city>
  456                                                                                                                         <state ><xsl:valu e-of disab le-output- escaping=" yes" selec t="state"/ ></state>
  457                                                                                                                         <posta l><xsl:val ue-of disa ble-output -escaping= "yes" sele ct="postal Code"/></p ostal>
  458                                                                                                                         <count ry><xsl:va lue-of dis able-outpu t-escaping ="yes" sel ect="count ry"/></cou ntry>
  459                                                                                                                         
  460                                                                                                                </ad dress>
  461                                                                                                       </ xsl:for-ea ch>
  462                                                                                        </addr esses>
  463                                                                                                 <id_coun t>
  464                                                                                                       <x sl:value-o f disable- output-esc aping="yes " select=" count(id)" />
  465                                                                                                 </id_cou nt>           
  466                                                                                        <ids>
  467                                                                                                       <x sl:for-eac h select =  "id">
  468                                                                                               <id>
  469                                                                                                                         <type>
  470                                                                                                                                  <xsl:cal l-template  name="get SplitEleme nt"> 
  471                                                                                                                                           <xsl:with- param name ="value" s elect="@ex tension" / >
  472                                                                                                                                           <xsl:with- param name ="delim" s elect="$de lim1" />
  473                                                                                                                                           <xsl:with- param name ="index" s elect="3"  /> 
  474                                                                                                                                           <xsl:with- param name ="curindex " select=" 1" />                     
  475                                                                                                                                  </xsl:ca ll-templat e>   
  476                                                                                                                         </type >
  477                                                                                                                         <exten sion><xsl: value-of d isable-out put-escapi ng="yes" s elect="@ex tension"/> </extensio n>
  478                                                                                                                         <exten sion_part_ 1>
  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="1"  /> 
  483                                                                                                                                           <xsl:with- param name ="curindex " select=" 1" />                     
  484                                                                                                                                  </xsl:ca ll-templat e>   
  485                                                                                                                         </exte nsion_part _1>
  486                                                                                                                         <exten sion_part_ 2>
  487                                                                                                                                  <xsl:cal l-template  name="get SplitEleme nt"> 
  488                                                                                                                                           <xsl:with- param name ="value" s elect="@ex tension" / >
  489                                                                                                                                           <xsl:with- param name ="delim" s elect="$de lim1" />
  490                                                                                                                                           <xsl:with- param name ="index" s elect="2"  /> 
  491                                                                                                                                           <xsl:with- param name ="curindex " select=" 1" />                     
  492                                                                                                                                  </xsl:ca ll-templat e>   
  493                                                                                                                         </exte nsion_part _2>
  494                                                                                                                         <exten sion_part_ 3>
  495                                                                                                                                  <xsl:cal l-template  name="get SplitEleme nt"> 
  496                                                                                                                                           <xsl:with- param name ="value" s elect="@ex tension" / >
  497                                                                                                                                           <xsl:with- param name ="delim" s elect="$de lim1" />
  498                                                                                                                                           <xsl:with- param name ="index" s elect="3"  /> 
  499                                                                                                                                           <xsl:with- param name ="curindex " select=" 1" />                     
  500                                                                                                                                  </xsl:ca ll-templat e>   
  501                                                                                                                         </exte nsion_part _3>
  502                                                                                                                         <exten sion_part_ 4>
  503                                                                                                                                  <xsl:cal l-template  name="get SplitEleme nt"> 
  504                                                                                                                                           <xsl:with- param name ="value" s elect="@ex tension" / >
  505                                                                                                                                           <xsl:with- param name ="delim" s elect="$de lim1" />
  506                                                                                                                                           <xsl:with- param name ="index" s elect="4"  /> 
  507                                                                                                                                           <xsl:with- param name ="curindex " select=" 1" />                     
  508                                                                                                                                  </xsl:ca ll-templat e>   
  509                                                                                                                         </exte nsion_part _4>
  510                                                                                                                         <exten sion_part_ 5>
  511                                                                                                                                  <xsl:cal l-template  name="get SplitEleme nt"> 
  512                                                                                                                                           <xsl:with- param name ="value" s elect="@ex tension" / >
  513                                                                                                                                           <xsl:with- param name ="delim" s elect="$de lim1" />
  514                                                                                                                                           <xsl:with- param name ="index" s elect="5"  /> 
  515                                                                                                                                           <xsl:with- param name ="curindex " select=" 1" />                     
  516                                                                                                                                  </xsl:ca ll-templat e>   
  517                                                                                                                         </exte nsion_part _5>
  518                                                                                                                         <root> <xsl:value -of disabl e-output-e scaping="y es" select ="@root"/> </root>
  519                                                                                                                         <org_r oot><xsl:v alue-of di sable-outp ut-escapin g="yes" se lect="@roo t"/>
  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="4"  /> 
  524                                                                                                                                           <xsl:with- param name ="curindex " select=" 1" />                     
  525                                                                                                                                  </xsl:ca ll-templat e>   
  526                                                                                                                         </org_ root>
  527                                                                                                                </id >
  528                                                                                                       </ xsl:for-ea ch>
  529                                                                                        </ids>
  530                                                                               </re c>
  531                                                                           </xsl:fo r-each> 
  532                                                                    </re sult>        
  533                                                           </ xsl:templa te>          
  534                                                           
  535                                                           
  536                                                           <x sl:templat e name="ge tSplitElem ent">
  537                                                                    <xsl :param nam e="value"  />
  538                                                                    <xsl :param nam e="delim"  />
  539                                                                    <xsl :param nam e="index"  />
  540                                                                    <xsl :param nam e="curinde x" />
  541                                                                    
  542                                                                     <xs l:choose>
  543                                                                     <xs l:when tes t="$index  = $curinde x">
  544                                                                                      <xsl:cho ose>
  545                                                                                               <xsl:when  test="cont ains($valu e,$delim)" >
  546                                                                                                       <x sl:value-o f disable- output-esc aping="yes " select=" substring- before($va lue,$delim )"/>
  547                                                                                               </xsl:when >
  548                                                                                               <xsl:other wise>
  549                                                                                                       <x sl:value-o f disable- output-esc aping="yes " select=" $value"/>
  550                                                                                               </xsl:othe rwise>
  551                                                                                      </xsl:ch oose>
  552                                                                     </x sl:when>
  553                                                                               <xsl :when test ="not(cont ains($valu e,$delim)) ">
  554                                                                       < xsl:value- of disable -output-es caping="ye s" select= "NF"/>
  555                                                                     </x sl:when>
  556                                                                     <xs l:when tes t="$index  > $curinde x">
  557                                                                       < xsl:variab le name="l eader" sel ect="subst ring-befor e($value,$ delim)"/>
  558                                                                       < xsl:variab le name="n val" selec t="substri ng-after($ value,conc at($leader ,$delim))" />
  559                                                                       < xsl:call-t emplate na me="getSpl itElement" >
  560                                                                                               <xsl:with- param name ="value"     select=" $nval" />
  561                                                                                               <xsl:with- param name ="delim"     select=" $delim" />
  562                                                                                               <xsl:with- param name ="index"     select=" $index" />
  563                                                                                               <xsl:with- param name ="curindex " select=" $curindex  + 1" />
  564                                                                             </xsl: call-templ ate>
  565                                                                     </x sl:when>
  566                                                                     <xs l:otherwis e>
  567                                                                                      <xsl:val ue-of disa ble-output -escaping= "yes" sele ct="substr ing-before ($value,$d elim)"/>
  568                                                                     </x sl:otherwi se>
  569                                                          </x sl:choose>
  570                                                           </ xsl:templa te>
  571                                          </xsl:st ylesheet>] ]>
  572                        
  573      </transfor m>
  574                       
  575      <results>
  576                                 
  577       <result_pr operty 
  578        name="ERRO R.MESSAGE"  
  579        xpath="//r esult/faul tstring"     
  580        action="[e rror]"  
  581       />
  582                                 
  583       <result_pr operty 
  584        name="RESP .CODE"                          
  585        xpath="//r esult/resp onse" 
  586       />
  587                                 
  588       <result_pr operty 
  589        name="RESP .QUANTITY"              
  590        xpath="//r esult/resu lt_count" 
  591       />
  592                                 
  593       <result_pr operty 
  594        name="ACK. TYPECODE"               
  595        xpath="//r esult/ack_ type" 
  596       />
  597                                 
  598       <result_pr operty 
  599        name="IMT. THRESHOLD"              
  600        xpath="//r esult/imt"  
  601       />
  602                                 
  603       <result_pr operty 
  604        name="PDT. THRESHOLD"              
  605        xpath="//r esult/pdt"  
  606       />
  607                                 
  608       <result_pr operty 
  609        name="VET. PID"                    
  610        xpath="//r esult/rec[ 1]/patient _pid" 
  611       />
  612                                 
  613       <result_pr operty 
  614        name="VET. PID.ROOT"               
  615        xpath="//r esult/rec[ 1]/patient _pid_root"  
  616       />
  617                                 
  618       <result_pr operty 
  619        name="VET. ICN"                    
  620        xpath="//r esult/rec[ 1]/icn" 
  621       />
  622                                 
  623       <result_pr operty 
  624        name="VET. ICN2"                           
  625        xpath="//r esult/rec[ 1]/icn2" 
  626       />
  627      
  628                                 
  629       <record 
  630        xpath="//r esult/rec"
  631       >
  632        <!-- recor d can occu r many tim es -->
  633                                           
  634        <field 
  635         name="REC. STATUS"                         
  636         xpath="sta tus"                            
  637         default="[ null]" 
  638        />
  639                                           
  640        <field 
  641         name="REC. SCORE.CODE "            
  642         xpath="sco re_code"                        
  643         default="[ null]" 
  644        />
  645                                           
  646        <field 
  647         name="REC. SCORE.VALU E"           
  648         xpath="sco re_value"               
  649         default="[ null]" 
  650        />
  651                                           
  652        <field 
  653         name="VET. GENDER"                         
  654         xpath="gen der"                            
  655         default="[ null]" 
  656        />
  657                                           
  658        <field 
  659         name="VET. DOB"                            
  660         xpath="dob "                               
  661         default="[ null]" 
  662        />
  663                                           
  664        <field 
  665         name="VET. DECEASED.D ATE"         
  666         xpath="dec eased_date "            
  667         default="[ null]" 
  668        />
  669                                           
  670        <field 
  671         name="VET. SSN"                            
  672         xpath="ssn "                               
  673         default="[ null]" 
  674        />
  675                                           
  676        <field 
  677         name="VET. BIRTH.CITY "            
  678         xpath="bir th_city"                        
  679         default="[ null]" 
  680        />
  681                                           
  682        <field 
  683         name="VET. BIRTH.STAT E"           
  684         xpath="bir th_state"               
  685         default="[ null]" 
  686        />
  687                                           
  688        <field 
  689         name="VET. BIRTH.COUN TRY"         
  690         xpath="bir th_country "            
  691         default="[ null]" 
  692        />
  693                                           
  694        <field 
  695         name="VET. PID"           
  696         xpath="pat ient_pid"               
  697         default="[ null]" 
  698        />
  699                                           
  700        <field 
  701         name="VET. PID.ROOT"      
  702         xpath="pat ient_pid_r oot"         
  703         default="[ null]" 
  704        />
  705                                           
  706        <field 
  707         name="VET. ICN"                            
  708         xpath="icn "                               
  709         default="[ null]" 
  710        />
  711       
  712                                           
  713        <field 
  714         name="VET. PHONE.COUN T" 
  715         xpath="pho ne_count" 
  716         default="0
  717        />
  718                                           
  719        <field_gro up 
  720         name="VET. PHONES" 
  721         xpath="pho nes/phone"  
  722         list_key=" type"
  723        >
  724                                                    
  725         <field 
  726          name="NUMB ER" 
  727          xpath="num ber" 
  728          default="[ null]" 
  729         />
  730                                                    
  731         <field 
  732          name="TYPE
  733          xpath="typ e" 
  734          default="[ null]" 
  735         />
  736                                            
  737        </field_gr oup>
  738       
  739       
  740                                           
  741        <field 
  742         name="VET. NAME.COUNT
  743         xpath="nam e_count" 
  744         default="0
  745        />
  746                                           
  747        <field_gro up 
  748         name="VET. NAMES" 
  749         xpath="nam es/name" 
  750         list_key=" type"
  751        >
  752                                                    
  753         <field 
  754          name="FIRS T" 
  755          xpath="fir st" 
  756          default="[ null]" 
  757         />
  758                                                    
  759         <field 
  760          name="MIDD LE" 
  761          xpath="mid dle" 
  762          default="[ null]" 
  763         />
  764                                                    
  765         <field 
  766          name="LAST
  767          xpath="las t" 
  768          default="[ null]" 
  769         />
  770                                                    
  771         <field 
  772          name="SUFF IX" 
  773          xpath="suf fix" 
  774          default="[ null]" 
  775         />
  776                                                    
  777         <field 
  778          name="PREF IX" 
  779          xpath="pre fix" 
  780          default="[ null]" 
  781         />
  782                                                    
  783         <field 
  784          name="TYPE
  785          xpath="typ e" 
  786          default="[ null]" 
  787         />
  788                                            
  789        </field_gr oup>
  790       
  791                                           
  792        <field 
  793         name="VET. ADDRESS.CO UNT" 
  794         xpath="add ress_count
  795         default="0
  796        />
  797                                           
  798        <field_gro up 
  799         name="VET. ADDRESSES"  
  800         xpath="add resses/add ress"        
  801         list_key=" type"
  802        >
  803                                                    
  804         <field 
  805          name="STRE ET1" 
  806          xpath="lin e1" 
  807          default="[ null]" 
  808         />
  809                                                    
  810         <field 
  811          name="STRE ET2" 
  812          xpath="lin e2" 
  813          default="[ null]" 
  814         />
  815                                                    
  816         <field 
  817          name="STRE ET3" 
  818          xpath="lin e3" 
  819          default="[ null]" 
  820         />
  821                                                    
  822         <field 
  823          name="STRE ET4" 
  824          xpath="lin e4" 
  825          default="[ null]" 
  826         />
  827                                                    
  828         <field 
  829          name="CITY
  830          xpath="cit y" 
  831          default="[ null]" 
  832         />
  833                                                    
  834         <field 
  835          name="STAT E" 
  836          xpath="sta te" 
  837          default="[ null]" 
  838         />
  839                                                    
  840         <field 
  841          name="POST ALCD" 
  842          xpath="pos tal" 
  843          default="[ null]" 
  844         />
  845                                                    
  846         <field 
  847          name="COUN TRY" 
  848          xpath="cou ntry" 
  849          default="[ null]" 
  850         />
  851                                                    
  852         <field 
  853          name="TYPE
  854          xpath="typ e" 
  855          default="[ null]" 
  856         />
  857                                            
  858        </field_gr oup>
  859       
  860       
  861                                           
  862        <field 
  863         name="VET. ID.COUNT" 
  864         xpath="id_ count" 
  865         default="0
  866        />
  867                                           
  868        <field_gro up 
  869         name="VET. IDS" 
  870         xpath="ids /id" 
  871         list_key=" type"
  872        >
  873                                                    
  874         <field 
  875          name="EXTE NSION" 
  876          xpath="ext ension" 
  877          default="[ null]" 
  878         />
  879                                                    
  880         <field 
  881          name="PART _A" 
  882          xpath="ext ension_par t_1"         
  883          default="[ null]" 
  884         />
  885                                                    
  886         <field 
  887          name="PART _B" 
  888          xpath="ext ension_par t_2"         
  889          default="[ null]" 
  890         />
  891                                                    
  892         <field 
  893          name="PART _C" 
  894          xpath="ext ension_par t_3"         
  895          default="[ null]" 
  896         />
  897                                                    
  898         <field 
  899          name="PART _D" 
  900          xpath="ext ension_par t_4"         
  901          default="[ null]" 
  902         />
  903                                                    
  904         <field 
  905          name="PART _D" 
  906          xpath="ext ension_par t_5"         
  907          default="[ null]" 
  908         />
  909                                                    
  910         <field 
  911          name="ROOT
  912          xpath="roo t" 
  913          default="[ null]" 
  914         />
  915                                                    
  916         <field 
  917          name="ORG_ ROOT" 
  918          xpath="org _root" 
  919          default="[ null]" 
  920         />
  921                                                    
  922         <field 
  923          name="TYPE
  924          xpath="typ e" 
  925          default="[ null]" 
  926         />
  927                                            
  928        </field_gr oup>
  929                                  
  930       </record>
  931                        
  932      </results>
  933              
  934     </response >
  935    
  936    
  937   </CTSSH_Te mplate>
  938  
  939