666. EPMO Open Source Coordination Office Redaction File Detail Report

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

666.1 Files compared

# Location File Last Modified
1 C:\working_scrub\Unredacted\VAP Code Base\VAP_Bld2_Source_Code_CIF_2017-02-14\nvap-server\src\soapui\VAP2.0 VAP-XACML-2-0-soapui-project.xml Wed Feb 1 18:37:28 2017 UTC
2 eHX-CIF.zip\eHX-CIF\VAP Code Base\VAP_Bld2_Source_Code_CIF_2017-02-14\nvap-server\src\soapui\VAP2.0 VAP-XACML-2-0-soapui-project.xml Wed Apr 5 14:38:40 2017 UTC

666.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 64 6976
Changed 63 130
Inserted 0 0
Removed 0 0

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

666.4 Active regular expressions

No regular expressions were active.

666.5 Comparison detail

  1   <?xml 
  2     version="1 .0" 
  3     encoding=" UTF-8"
  4   ?>
  5   <con:soapu i-project 
  6     name="VAP_ XACML_2.0"  
  7     resourceRo ot="" 
  8     soapui-ver sion="4.0. 1" 
  9     xmlns:con= "http://ev iware.com/ soapui/con fig"
  10   >
  11     <con:setti ngs/>
  12     <con:inter face 
  13      xsi:type=" con:WsdlIn terface" 
  14      wsaVersion ="NONE" 
  15      name="XACM LContextHa ndlerPortB inding" 
  16      type="wsdl
  17      bindingNam e="{http:/ /contextha ndler.perm ission.ser vice.serve r.vap.nhin . URL         /}XACMLCon textHandle rPortBindi ng" 
  18      soapVersio n="1_1" 
  19      anonymous= "optional"  
  20      definition ="http:// s e r v er : port /XACMLCont extHandler Service/XA CMLContext HandlerSer vice?wsdl"  
  21      xmlns:xsi= "http://ww w.w3.org/2 001/XMLSch ema-instan ce"
  22     >
  23      <con:setti ngs/>
  24      <con:defin itionCache  
  25       type="TEXT
  26       rootPart=" http:// s e r v er : port /XACMLCont extHandler Service/XA CMLContext HandlerSer vice?wsdl"
  27      >
  28       <con:part>
  29        <con:url>
  30         http:// s e r v er : port /XACMLCont extHandler Service/XA CMLContext HandlerSer vice?wsdl
  31        </con:url>
  32        <con:conte nt>
  33         <![CDATA[< !--Publish ed by  DN     RI at http ://jax-ws. dev.java.n et. RI's v ersion is  Oracle  DN     2.1.5.-->
  34         <!--Genera ted by  DN     RI at http ://jax-ws. dev.java.n et. RI's v ersion is  Oracle  DN     2.1.3-07/1 0/2008 08: 41 PM(bt). -->
  35         <definitio ns targetN amespace=" http://con texthandle r.permissi on.service .server.va p.nhin. URL         /" name="X ACMLContex tHandlerSe rvice" xml ns="http:/ /schemas.x mlsoap.org /wsdl/" xm lns:tns="h ttp://cont exthandler .permissio n.service. server.vap .nhin. URL         /" xmlns:x sd="http:/ /www.w3.or g/2001/XML Schema" xm lns:xacml= "urn:oasis :names:tc: xacml:2.0: context:sc hema:os" x mlns:soap= "http://sc hemas.xmls oap.org/ws dl/soap/">
  36           <xsd:typ es>
  37             <xsd:s chema>
  38                 <xsd:impor t namespac e="urn:oas is:names:t c:xacml:2. 0:context: schema:os"  schemaLoc ation="htt p:// s e r v er : port /XACMLCont extHandler Service/XA CMLContext HandlerSer vice?xsd=1 "/>
  39             </xsd: schema>
  40           </xsd:ty pes>
  41           <message  name="che ckPolicyRe quest">
  42             <part  name="chec kPolicy" e lement="xa cml:Reques t"/>
  43           </messag e>
  44           <message  name="che ckPolicyRe sponse">
  45             <part  name="chec kPolicyRes ponse" ele ment="xacm l:Response "/>
  46           </messag e>
  47           <portTyp e name="XA CMLContext HandlerPor tType">
  48             <opera tion name= "checkPoli cy">
  49               <inp ut message ="tns:chec kPolicyReq uest"/>
  50               <out put messag e="tns:che ckPolicyRe sponse"/>
  51             </oper ation>
  52           </portTy pe>
  53           <binding  name="XAC MLContextH andlerPort Binding" t ype="tns:X ACMLContex tHandlerPo rtType">
  54             <soap: binding tr ansport="h ttp://sche mas.xmlsoa p.org/soap /http" sty le="docume nt"/>
  55             <opera tion name= "checkPoli cy">
  56               <soa p:operatio n soapActi on=""/>
  57               <inp ut>
  58                 <s oap:body u se="litera l"/>
  59               </in put>
  60               <out put>
  61                 <s oap:body u se="litera l"/>
  62               </ou tput>
  63             </oper ation>
  64           </bindin g>
  65           <service  name="XAC MLContextH andlerServ ice">
  66             <port  name="XACM LContextHa ndlerPort"  binding=" tns:XACMLC ontextHand lerPortBin ding">
  67                 <soap:addr ess locati on="http:/ / s e r v er : port /XACMLCont extHandler Service/XA CMLContext HandlerSer vice"/>
  68             </port >
  69           </servic e>
  70         </definiti ons>]]>
  71        </con:cont ent>
  72        <con:type>
  73         http://sch emas.xmlso ap.org/wsd l/
  74        </con:type >
  75       </con:part >
  76       <con:part>
  77        <con:url>
  78         http:// s e r v er : port /XACMLCont extHandler Service/XA CMLContext HandlerSer vice?xsd=1
  79        </con:url>
  80        <con:conte nt>
  81         <![CDATA[< !--Publish ed by  DN     RI at http ://jax-ws. dev.java.n et. RI's v ersion is  Oracle  DN     2.1.5.-->
  82         <xs:schema  targetNam espace="ur n:oasis:na mes:tc:xac ml:2.0:con text:schem a:os" elem entFormDef ault="qual ified" att ributeForm Default="u nqualified " xmlns:xa cml="urn:o asis:names :tc:xacml: 2.0:policy :schema:os " xmlns:xa cml-contex t="urn:oas is:names:t c:xacml:2. 0:context: schema:os"  xmlns:xs= "http://ww w.w3.org/2 001/XMLSch ema">
  83             <xs:import  namespace ="urn:oasi s:names:tc :xacml:2.0 :policy:sc hema:os" s chemaLocat ion="http: // s e r v er : port /XACMLCont extHandler Service/XA CMLContext HandlerSer vice?xsd=2 "/>
  84           <!---->
  85           <xs:elem ent name=" Request" t ype="xacml -context:R equestType "/>
  86           <xs:comp lexType na me="Reques tType">
  87             <xs:se quence>
  88               <xs: element re f="xacml-c ontext:Sub ject" maxO ccurs="unb ounded"/>
  89               <xs: element re f="xacml-c ontext:Res ource" max Occurs="un bounded"/>
  90               <xs: element re f="xacml-c ontext:Act ion"/>
  91               <xs: element re f="xacml-c ontext:Env ironment"/ >
  92             </xs:s equence>
  93           </xs:com plexType>
  94           <!---->
  95           <xs:elem ent name=" Response"  type="xacm l-context: ResponseTy pe"/>
  96           <xs:comp lexType na me="Respon seType">
  97             <xs:se quence>
  98               <xs: element re f="xacml-c ontext:Res ult" maxOc curs="unbo unded"/>
  99             </xs:s equence>
  100           </xs:com plexType>
  101           <!---->
  102           <xs:elem ent name=" Subject" t ype="xacml -context:S ubjectType "/>
  103           <xs:comp lexType na me="Subjec tType">
  104             <xs:se quence>
  105               <xs: element re f="xacml-c ontext:Att ribute" mi nOccurs="0 " maxOccur s="unbound ed"/>
  106             </xs:s equence>
  107             <xs:at tribute na me="Subjec tCategory"  type="xs: anyURI" de fault="urn :oasis:nam es:tc:xacm l:1.0:subj ect-catego ry:access- subject"/>
  108           </xs:com plexType>
  109           <!---->
  110           <xs:elem ent name=" Resource"  type="xacm l-context: ResourceTy pe"/>
  111           <xs:comp lexType na me="Resour ceType">
  112             <xs:se quence>
  113               <xs: element re f="xacml-c ontext:Res ourceConte nt" minOcc urs="0"/>
  114               <xs: element re f="xacml-c ontext:Att ribute" mi nOccurs="0 " maxOccur s="unbound ed"/>
  115             </xs:s equence>
  116           </xs:com plexType>
  117           <!---->
  118           <xs:elem ent name=" ResourceCo ntent" typ e="xacml-c ontext:Res ourceConte ntType"/>
  119           <xs:comp lexType na me="Resour ceContentT ype" mixed ="true">
  120             <xs:se quence>
  121               <xs: any namesp ace="##any " processC ontents="l ax" minOcc urs="0" ma xOccurs="u nbounded"/ >
  122             </xs:s equence>
  123             <xs:an yAttribute  namespace ="##any" p rocessCont ents="lax" />
  124           </xs:com plexType>
  125           <!---->
  126           <xs:elem ent name=" Action" ty pe="xacml- context:Ac tionType"/ >
  127           <xs:comp lexType na me="Action Type">
  128             <xs:se quence>
  129               <xs: element re f="xacml-c ontext:Att ribute" mi nOccurs="0 " maxOccur s="unbound ed"/>
  130             </xs:s equence>
  131           </xs:com plexType>
  132           <!---->
  133           <xs:elem ent name=" Environmen t" type="x acml-conte xt:Environ mentType"/ >
  134           <xs:comp lexType na me="Enviro nmentType" >
  135             <xs:se quence>
  136               <xs: element re f="xacml-c ontext:Att ribute" mi nOccurs="0 " maxOccur s="unbound ed"/>
  137             </xs:s equence>
  138           </xs:com plexType>
  139           <!---->
  140           <xs:elem ent name=" Attribute"  type="xac ml-context :Attribute Type"/>
  141           <xs:comp lexType na me="Attrib uteType">
  142             <xs:se quence>
  143               <xs: element re f="xacml-c ontext:Att ributeValu e" maxOccu rs="unboun ded"/>
  144             </xs:s equence>
  145             <xs:at tribute na me="Attrib uteId" typ e="xs:anyU RI" use="r equired"/>
  146             <xs:at tribute na me="DataTy pe" type=" xs:anyURI"  use="requ ired"/>
  147             <xs:at tribute na me="Issuer " type="xs :string" u se="option al"/>
  148           </xs:com plexType>
  149           <!---->
  150           <xs:elem ent name=" AttributeV alue" type ="xacml-co ntext:Attr ibuteValue Type"/>
  151           <xs:comp lexType na me="Attrib uteValueTy pe" mixed= "true">
  152             <xs:se quence>
  153               <xs: any namesp ace="##any " processC ontents="l ax" minOcc urs="0" ma xOccurs="u nbounded"/ >
  154             </xs:s equence>
  155             <xs:an yAttribute  namespace ="##any" p rocessCont ents="lax" />
  156           </xs:com plexType>
  157           <!---->
  158           <xs:elem ent name=" Result" ty pe="xacml- context:Re sultType"/ >
  159           <xs:comp lexType na me="Result Type">
  160             <xs:se quence>
  161               <xs: element re f="xacml-c ontext:Dec ision"/>
  162               <xs: element re f="xacml-c ontext:Sta tus" minOc curs="0"/>
  163               <xs: element re f="xacml:O bligations " minOccur s="0"/>
  164             </xs:s equence>
  165             <xs:at tribute na me="Resour ceId" type ="xs:strin g" use="op tional"/>
  166           </xs:com plexType>
  167           <!---->
  168           <xs:elem ent name=" Decision"  type="xacm l-context: DecisionTy pe"/>
  169           <xs:simp leType nam e="Decisio nType">
  170             <xs:re striction  base="xs:s tring">
  171               <xs: enumeratio n value="P ermit"/>
  172               <xs: enumeratio n value="D eny"/>
  173               <xs: enumeratio n value="I ndetermina te"/>
  174               <xs: enumeratio n value="N otApplicab le"/>
  175             </xs:r estriction >
  176           </xs:sim pleType>
  177           <!---->
  178           <xs:elem ent name=" Status" ty pe="xacml- context:St atusType"/ >
  179           <xs:comp lexType na me="Status Type">
  180             <xs:se quence>
  181               <xs: element re f="xacml-c ontext:Sta tusCode"/>
  182               <xs: element re f="xacml-c ontext:Sta tusMessage " minOccur s="0"/>
  183               <xs: element re f="xacml-c ontext:Sta tusDetail"  minOccurs ="0"/>
  184             </xs:s equence>
  185           </xs:com plexType>
  186           <!---->
  187           <xs:elem ent name=" StatusCode " type="xa cml-contex t:StatusCo deType"/>
  188           <xs:comp lexType na me="Status CodeType">
  189             <xs:se quence>
  190               <xs: element re f="xacml-c ontext:Sta tusCode" m inOccurs=" 0"/>
  191             </xs:s equence>
  192             <xs:at tribute na me="Value"  type="xs: anyURI" us e="require d"/>
  193           </xs:com plexType>
  194           <!---->
  195           <xs:elem ent name=" StatusMess age" type= "xs:string "/>
  196           <!---->
  197           <xs:elem ent name=" StatusDeta il" type=" xacml-cont ext:Status DetailType "/>
  198           <xs:comp lexType na me="Status DetailType ">
  199             <xs:se quence>
  200               <xs: any namesp ace="##any " processC ontents="l ax" minOcc urs="0" ma xOccurs="u nbounded"/ >
  201             </xs:s equence>
  202           </xs:com plexType>
  203           <!---->
  204           <xs:elem ent name=" MissingAtt ributeDeta il" type=" xacml-cont ext:Missin gAttribute DetailType "/>
  205           <xs:comp lexType na me="Missin gAttribute DetailType ">
  206             <xs:se quence>
  207               <xs: element re f="xacml-c ontext:Att ributeValu e" minOccu rs="0" max Occurs="un bounded"/>
  208             </xs:s equence>
  209             <xs:at tribute na me="Attrib uteId" typ e="xs:anyU RI" use="r equired"/>
  210             <xs:at tribute na me="DataTy pe" type=" xs:anyURI"  use="requ ired"/>
  211             <xs:at tribute na me="Issuer " type="xs :string" u se="option al"/>
  212           </xs:com plexType>
  213           <!---->
  214         </xs:schem a>]]>
  215        </con:cont ent>
  216        <con:type>
  217         http://www .w3.org/20 01/XMLSche ma
  218        </con:type >
  219       </con:part >
  220       <con:part>
  221        <con:url>
  222         http:// s e r v er : port /XACMLCont extHandler Service/XA CMLContext HandlerSer vice?xsd=2
  223        </con:url>
  224        <con:conte nt>
  225         <![CDATA[< !--Publish ed by  DN     RI at http ://jax-ws. dev.java.n et. RI's v ersion is  Oracle  DN     2.1.5.-->
  226         <xs:schema  targetNam espace="ur n:oasis:na mes:tc:xac ml:2.0:pol icy:schema :os" eleme ntFormDefa ult="quali fied" attr ibuteFormD efault="un qualified"  xmlns:xac ml="urn:oa sis:names: tc:xacml:2 .0:policy: schema:os"  xmlns:xs= "http://ww w.w3.org/2 001/XMLSch ema">
  227           <!---->
  228           <xs:elem ent name=" PolicySet"  type="xac ml:PolicyS etType"/>
  229           <xs:comp lexType na me="Policy SetType">
  230             <xs:se quence>
  231               <xs: element re f="xacml:D escription " minOccur s="0"/>
  232               <xs: element re f="xacml:P olicySetDe faults" mi nOccurs="0 "/>
  233               <xs: element re f="xacml:T arget"/>
  234               <xs: choice min Occurs="0"  maxOccurs ="unbounde d">
  235                 <x s:element  ref="xacml :PolicySet "/>
  236                 <x s:element  ref="xacml :Policy"/>
  237                 <x s:element  ref="xacml :PolicySet IdReferenc e"/>
  238                 <x s:element  ref="xacml :PolicyIdR eference"/ >
  239                 <x s:element  ref="xacml :CombinerP arameters" />
  240                 <x s:element  ref="xacml :PolicyCom binerParam eters"/>
  241                 <x s:element  ref="xacml :PolicySet CombinerPa rameters"/ >
  242               </xs :choice>
  243               <xs: element re f="xacml:O bligations " minOccur s="0"/>
  244             </xs:s equence>
  245             <xs:at tribute na me="Policy SetId" typ e="xs:anyU RI" use="r equired"/>
  246             <xs:at tribute na me="Versio n" type="x acml:Versi onType" de fault="1.0 "/>
  247             <xs:at tribute na me="Policy CombiningA lgId" type ="xs:anyUR I" use="re quired"/>
  248           </xs:com plexType>
  249           <!---->
  250           <xs:elem ent name=" CombinerPa rameters"  type="xacm l:Combiner Parameters Type"/>
  251           <xs:comp lexType na me="Combin erParamete rsType">
  252             <xs:se quence>
  253               <xs: element re f="xacml:C ombinerPar ameter" mi nOccurs="0 " maxOccur s="unbound ed"/>
  254             </xs:s equence>
  255           </xs:com plexType>
  256           <!---->
  257           <xs:elem ent name=" CombinerPa rameter" t ype="xacml :CombinerP arameterTy pe"/>
  258           <xs:comp lexType na me="Combin erParamete rType">
  259             <xs:se quence>
  260               <xs: element re f="xacml:A ttributeVa lue"/>
  261             </xs:s equence>
  262             <xs:at tribute na me="Parame terName" t ype="xs:st ring" use= "required" />
  263           </xs:com plexType>
  264           <!---->
  265           <xs:elem ent name=" RuleCombin erParamete rs" type=" xacml:Rule CombinerPa rametersTy pe"/>
  266           <xs:comp lexType na me="RuleCo mbinerPara metersType ">
  267             <xs:co mplexConte nt>
  268               <xs: extension  base="xacm l:Combiner Parameters Type">
  269                 <x s:attribut e name="Ru leIdRef" t ype="xs:st ring" use= "required" />
  270               </xs :extension >
  271             </xs:c omplexCont ent>
  272           </xs:com plexType>
  273           <!---->
  274           <xs:elem ent name=" PolicyComb inerParame ters" type ="xacml:Po licyCombin erParamete rsType"/>
  275           <xs:comp lexType na me="Policy CombinerPa rametersTy pe">
  276             <xs:co mplexConte nt>
  277               <xs: extension  base="xacm l:Combiner Parameters Type">
  278                 <x s:attribut e name="Po licyIdRef"  type="xs: anyURI" us e="require d"/>
  279               </xs :extension >
  280             </xs:c omplexCont ent>
  281           </xs:com plexType>
  282           <!---->
  283           <xs:elem ent name=" PolicySetC ombinerPar ameters" t ype="xacml :PolicySet CombinerPa rametersTy pe"/>
  284           <xs:comp lexType na me="Policy SetCombine rParameter sType">
  285             <xs:co mplexConte nt>
  286               <xs: extension  base="xacm l:Combiner Parameters Type">
  287                 <x s:attribut e name="Po licySetIdR ef" type=" xs:anyURI"  use="requ ired"/>
  288               </xs :extension >
  289             </xs:c omplexCont ent>
  290           </xs:com plexType>
  291           <!---->
  292           <xs:elem ent name=" PolicySetI dReference " type="xa cml:IdRefe renceType" />
  293           <xs:elem ent name=" PolicyIdRe ference" t ype="xacml :IdReferen ceType"/>
  294           <!---->
  295           <xs:elem ent name=" PolicySetD efaults" t ype="xacml :DefaultsT ype"/>
  296           <xs:elem ent name=" PolicyDefa ults" type ="xacml:De faultsType "/>
  297           <xs:comp lexType na me="Defaul tsType">
  298             <xs:se quence>
  299               <xs: choice>
  300                 <x s:element  ref="xacml :XPathVers ion"/>
  301               </xs :choice>
  302             </xs:s equence>
  303           </xs:com plexType>
  304           <!---->
  305           <xs:elem ent name=" XPathVersi on" type=" xs:anyURI" />
  306           <!---->
  307           <xs:comp lexType na me="IdRefe renceType" >
  308             <xs:si mpleConten t>
  309               <xs: extension  base="xs:a nyURI">
  310                 <x s:attribut e name="Ve rsion" typ e="xacml:V ersionMatc hType" use ="optional "/>
  311                 <x s:attribut e name="Ea rliestVers ion" type= "xacml:Ver sionMatchT ype" use=" optional"/ >
  312                 <x s:attribut e name="La testVersio n" type="x acml:Versi onMatchTyp e" use="op tional"/>
  313               </xs :extension >
  314             </xs:s impleConte nt>
  315           </xs:com plexType>
  316           <!---->
  317           <xs:simp leType nam e="Version Type">
  318             <xs:re striction  base="xs:s tring">
  319               <xs: pattern va lue="(\d+\ .)*\d+"/>
  320             </xs:r estriction >
  321           </xs:sim pleType>
  322           <!---->
  323           <xs:simp leType nam e="Version MatchType" >
  324             <xs:re striction  base="xs:s tring">
  325               <xs: pattern va lue="((\d+ |\*)\.)*(\ d+|\*|\+)" />
  326             </xs:r estriction >
  327           </xs:sim pleType>
  328           <!---->
  329           <xs:elem ent name=" Policy" ty pe="xacml: PolicyType "/>
  330           <xs:comp lexType na me="Policy Type">
  331             <xs:se quence>
  332               <xs: element re f="xacml:D escription " minOccur s="0"/>
  333               <xs: element re f="xacml:P olicyDefau lts" minOc curs="0"/>
  334               <!-- Had to com ment out t his elemen t - JAXB c ould not d eal with t he same ty pe
  335                                            referenc ed twice i n the same  type defi nition.-->
  336               <!-- <xs:elemen t ref="xac ml:Combine rParameter s" minOccu rs="0"/>-- >
  337               <xs: element re f="xacml:T arget"/>
  338               <xs: choice max Occurs="un bounded">
  339                 <x s:element  ref="xacml :CombinerP arameters"  minOccurs ="0"/>
  340                 <x s:element  ref="xacml :RuleCombi nerParamet ers" minOc curs="0"/>
  341                 <x s:element  ref="xacml :VariableD efinition" />
  342                 <x s:element  ref="xacml :Rule"/>
  343               </xs :choice>
  344               <xs: element re f="xacml:O bligations " minOccur s="0"/>
  345             </xs:s equence>
  346             <xs:at tribute na me="Policy Id" type=" xs:anyURI"  use="requ ired"/>
  347             <xs:at tribute na me="Versio n" type="x acml:Versi onType" de fault="1.0 "/>
  348             <xs:at tribute na me="RuleCo mbiningAlg Id" type=" xs:anyURI"  use="requ ired"/>
  349           </xs:com plexType>
  350           <!---->
  351           <xs:elem ent name=" Descriptio n" type="x s:string"/ >
  352           <!---->
  353           <xs:elem ent name=" Rule" type ="xacml:Ru leType"/>
  354           <xs:comp lexType na me="RuleTy pe">
  355             <xs:se quence>
  356               <xs: element re f="xacml:D escription " minOccur s="0"/>
  357               <xs: element re f="xacml:T arget" min Occurs="0" />
  358               <xs: element re f="xacml:C ondition"  minOccurs= "0"/>
  359             </xs:s equence>
  360             <xs:at tribute na me="RuleId " type="xs :string" u se="requir ed"/>
  361             <xs:at tribute na me="Effect " type="xa cml:Effect Type" use= "required" />
  362           </xs:com plexType>
  363           <!---->
  364           <xs:simp leType nam e="EffectT ype">
  365             <xs:re striction  base="xs:s tring">
  366               <xs: enumeratio n value="P ermit"/>
  367               <xs: enumeratio n value="D eny"/>
  368             </xs:r estriction >
  369           </xs:sim pleType>
  370           <!---->
  371           <xs:elem ent name=" Target" ty pe="xacml: TargetType "/>
  372           <xs:comp lexType na me="Target Type">
  373             <xs:se quence>
  374               <xs: element re f="xacml:S ubjects" m inOccurs=" 0"/>
  375               <xs: element re f="xacml:R esources"  minOccurs= "0"/>
  376               <xs: element re f="xacml:A ctions" mi nOccurs="0 "/>
  377               <xs: element re f="xacml:E nvironment s" minOccu rs="0"/>
  378             </xs:s equence>
  379           </xs:com plexType>
  380           <!---->
  381           <xs:elem ent name=" Subjects"  type="xacm l:Subjects Type"/>
  382           <xs:comp lexType na me="Subjec tsType">
  383             <xs:se quence>
  384               <xs: element re f="xacml:S ubject" ma xOccurs="u nbounded"/ >
  385             </xs:s equence>
  386           </xs:com plexType>
  387           <!---->
  388           <xs:elem ent name=" Subject" t ype="xacml :SubjectTy pe"/>
  389           <xs:comp lexType na me="Subjec tType">
  390             <xs:se quence>
  391               <xs: element re f="xacml:S ubjectMatc h" maxOccu rs="unboun ded"/>
  392             </xs:s equence>
  393           </xs:com plexType>
  394           <!---->
  395           <xs:elem ent name=" Resources"  type="xac ml:Resourc esType"/>
  396           <xs:comp lexType na me="Resour cesType">
  397             <xs:se quence>
  398               <xs: element re f="xacml:R esource" m axOccurs=" unbounded" />
  399             </xs:s equence>
  400           </xs:com plexType>
  401           <!---->
  402           <xs:elem ent name=" Resource"  type="xacm l:Resource Type"/>
  403           <xs:comp lexType na me="Resour ceType">
  404             <xs:se quence>
  405               <xs: element re f="xacml:R esourceMat ch" maxOcc urs="unbou nded"/>
  406             </xs:s equence>
  407           </xs:com plexType>
  408           <!---->
  409           <xs:elem ent name=" Actions" t ype="xacml :ActionsTy pe"/>
  410           <xs:comp lexType na me="Action sType">
  411             <xs:se quence>
  412               <xs: element re f="xacml:A ction" max Occurs="un bounded"/>
  413             </xs:s equence>
  414           </xs:com plexType>
  415           <!---->
  416           <xs:elem ent name=" Action" ty pe="xacml: ActionType "/>
  417           <xs:comp lexType na me="Action Type">
  418             <xs:se quence>
  419               <xs: element re f="xacml:A ctionMatch " maxOccur s="unbound ed"/>
  420             </xs:s equence>
  421           </xs:com plexType>
  422           <!---->
  423           <xs:elem ent name=" Environmen ts" type=" xacml:Envi ronmentsTy pe"/>
  424           <xs:comp lexType na me="Enviro nmentsType ">
  425             <xs:se quence>
  426               <xs: element re f="xacml:E nvironment " maxOccur s="unbound ed"/>
  427             </xs:s equence>
  428           </xs:com plexType>
  429           <!---->
  430           <xs:elem ent name=" Environmen t" type="x acml:Envir onmentType "/>
  431           <xs:comp lexType na me="Enviro nmentType" >
  432             <xs:se quence>
  433               <xs: element re f="xacml:E nvironment Match" max Occurs="un bounded"/>
  434             </xs:s equence>
  435           </xs:com plexType>
  436           <!---->
  437           <xs:elem ent name=" SubjectMat ch" type=" xacml:Subj ectMatchTy pe"/>
  438           <xs:comp lexType na me="Subjec tMatchType ">
  439             <xs:se quence>
  440               <xs: element re f="xacml:A ttributeVa lue"/>
  441               <xs: choice>
  442                 <x s:element  ref="xacml :SubjectAt tributeDes ignator"/>
  443                 <x s:element  ref="xacml :Attribute Selector"/ >
  444               </xs :choice>
  445             </xs:s equence>
  446             <xs:at tribute na me="MatchI d" type="x s:anyURI"  use="requi red"/>
  447           </xs:com plexType>
  448           <!---->
  449           <xs:elem ent name=" ResourceMa tch" type= "xacml:Res ourceMatch Type"/>
  450           <xs:comp lexType na me="Resour ceMatchTyp e">
  451             <xs:se quence>
  452               <xs: element re f="xacml:A ttributeVa lue"/>
  453               <xs: choice>
  454                 <x s:element  ref="xacml :ResourceA ttributeDe signator"/ >
  455                 <x s:element  ref="xacml :Attribute Selector"/ >
  456               </xs :choice>
  457             </xs:s equence>
  458             <xs:at tribute na me="MatchI d" type="x s:anyURI"  use="requi red"/>
  459           </xs:com plexType>
  460           <!---->
  461           <xs:elem ent name=" ActionMatc h" type="x acml:Actio nMatchType "/>
  462           <xs:comp lexType na me="Action MatchType" >
  463             <xs:se quence>
  464               <xs: element re f="xacml:A ttributeVa lue"/>
  465               <xs: choice>
  466                 <x s:element  ref="xacml :ActionAtt ributeDesi gnator"/>
  467                 <x s:element  ref="xacml :Attribute Selector"/ >
  468               </xs :choice>
  469             </xs:s equence>
  470             <xs:at tribute na me="MatchI d" type="x s:anyURI"  use="requi red"/>
  471           </xs:com plexType>
  472           <!---->
  473           <xs:elem ent name=" Environmen tMatch" ty pe="xacml: Environmen tMatchType "/>
  474           <xs:comp lexType na me="Enviro nmentMatch Type">
  475             <xs:se quence>
  476               <xs: element re f="xacml:A ttributeVa lue"/>
  477               <xs: choice>
  478                 <x s:element  ref="xacml :Environme ntAttribut eDesignato r"/>
  479                 <x s:element  ref="xacml :Attribute Selector"/ >
  480               </xs :choice>
  481             </xs:s equence>
  482             <xs:at tribute na me="MatchI d" type="x s:anyURI"  use="requi red"/>
  483           </xs:com plexType>
  484           <!---->
  485           <xs:elem ent name=" VariableDe finition"  type="xacm l:Variable Definition Type"/>
  486           <xs:comp lexType na me="Variab leDefiniti onType">
  487             <xs:se quence>
  488               <xs: element re f="xacml:E xpression" />
  489             </xs:s equence>
  490             <xs:at tribute na me="Variab leId" type ="xs:strin g" use="re quired"/>
  491           </xs:com plexType>
  492           <!---->
  493           <xs:elem ent name=" Expression " type="xa cml:Expres sionType"  abstract=" true"/>
  494           <xs:comp lexType na me="Expres sionType"  abstract=" true"/>
  495           <!---->
  496           <xs:elem ent name=" VariableRe ference" t ype="xacml :VariableR eferenceTy pe" substi tutionGrou p="xacml:E xpression" />
  497           <xs:comp lexType na me="Variab leReferenc eType">
  498             <xs:co mplexConte nt>
  499               <xs: extension  base="xacm l:Expressi onType">
  500                 <x s:attribut e name="Va riableId"  type="xs:s tring" use ="required "/>
  501               </xs :extension >
  502             </xs:c omplexCont ent>
  503           </xs:com plexType>
  504           <!---->
  505           <xs:elem ent name=" AttributeS elector" t ype="xacml :Attribute SelectorTy pe" substi tutionGrou p="xacml:E xpression" />
  506           <xs:comp lexType na me="Attrib uteSelecto rType">
  507             <xs:co mplexConte nt>
  508               <xs: extension  base="xacm l:Expressi onType">
  509                 <x s:attribut e name="Re questConte xtPath" ty pe="xs:str ing" use=" required"/ >
  510                 <x s:attribut e name="Da taType" ty pe="xs:any URI" use=" required"/ >
  511                 <x s:attribut e name="Mu stBePresen t" type="x s:boolean"  use="opti onal" defa ult="false "/>
  512               </xs :extension >
  513             </xs:c omplexCont ent>
  514           </xs:com plexType>
  515           <!---->
  516           <xs:elem ent name=" ResourceAt tributeDes ignator" t ype="xacml :Attribute Designator Type" subs titutionGr oup="xacml :Expressio n"/>
  517           <xs:elem ent name=" ActionAttr ibuteDesig nator" typ e="xacml:A ttributeDe signatorTy pe" substi tutionGrou p="xacml:E xpression" />
  518           <xs:elem ent name=" Environmen tAttribute Designator " type="xa cml:Attrib uteDesigna torType" s ubstitutio nGroup="xa cml:Expres sion"/>
  519           <!---->
  520           <xs:comp lexType na me="Attrib uteDesigna torType">
  521             <xs:co mplexConte nt>
  522               <xs: extension  base="xacm l:Expressi onType">
  523                 <x s:attribut e name="At tributeId"  type="xs: anyURI" us e="require d"/>
  524                 <x s:attribut e name="Da taType" ty pe="xs:any URI" use=" required"/ >
  525                 <x s:attribut e name="Is suer" type ="xs:strin g" use="op tional"/>
  526                 <x s:attribut e name="Mu stBePresen t" type="x s:boolean"  use="opti onal" defa ult="false "/>
  527               </xs :extension >
  528             </xs:c omplexCont ent>
  529           </xs:com plexType>
  530           <!---->
  531           <xs:elem ent name=" SubjectAtt ributeDesi gnator" ty pe="xacml: SubjectAtt ributeDesi gnatorType " substitu tionGroup= "xacml:Exp ression"/>
  532           <xs:comp lexType na me="Subjec tAttribute Designator Type">
  533             <xs:co mplexConte nt>
  534               <xs: extension  base="xacm l:Attribut eDesignato rType">
  535                 <x s:attribut e name="Su bjectCateg ory" type= "xs:anyURI " use="opt ional" def ault="urn: oasis:name s:tc:xacml :1.0:subje ct-categor y:access-s ubject"/>
  536               </xs :extension >
  537             </xs:c omplexCont ent>
  538           </xs:com plexType>
  539           <!---->
  540           <xs:elem ent name=" AttributeV alue" type ="xacml:At tributeVal ueType" su bstitution Group="xac ml:Express ion"/>
  541           <xs:comp lexType na me="Attrib uteValueTy pe" mixed= "true">
  542             <xs:co mplexConte nt mixed=" true">
  543               <xs: extension  base="xacm l:Expressi onType">
  544                 <x s:sequence >
  545                    <xs:any na mespace="# #any" proc essContent s="lax" mi nOccurs="0 " maxOccur s="unbound ed"/>
  546                 </ xs:sequenc e>
  547                 <x s:attribut e name="Da taType" ty pe="xs:any URI" use=" required"/ >
  548                 <x s:anyAttri bute names pace="##an y" process Contents=" lax"/>
  549               </xs :extension >
  550             </xs:c omplexCont ent>
  551           </xs:com plexType>
  552           <!---->
  553           <xs:elem ent name=" Function"  type="xacm l:Function Type" subs titutionGr oup="xacml :Expressio n"/>
  554           <xs:comp lexType na me="Functi onType">
  555             <xs:co mplexConte nt>
  556               <xs: extension  base="xacm l:Expressi onType">
  557                 <x s:attribut e name="Fu nctionId"  type="xs:a nyURI" use ="required "/>
  558               </xs :extension >
  559             </xs:c omplexCont ent>
  560           </xs:com plexType>
  561           <!---->
  562           <xs:elem ent name=" Condition"  type="xac ml:Conditi onType"/>
  563           <xs:comp lexType na me="Condit ionType">
  564             <xs:se quence>
  565               <xs: element re f="xacml:E xpression" />
  566             </xs:s equence>
  567           </xs:com plexType>
  568           <!---->
  569           <xs:elem ent name=" Apply" typ e="xacml:A pplyType"  substituti onGroup="x acml:Expre ssion"/>
  570           <xs:comp lexType na me="ApplyT ype">
  571             <xs:co mplexConte nt>
  572               <xs: extension  base="xacm l:Expressi onType">
  573                 <x s:sequence >
  574                    <xs:elemen t ref="xac ml:Express ion" minOc curs="0" m axOccurs=" unbounded" />
  575                 </ xs:sequenc e>
  576                 <x s:attribut e name="Fu nctionId"  type="xs:a nyURI" use ="required "/>
  577               </xs :extension >
  578             </xs:c omplexCont ent>
  579           </xs:com plexType>
  580           <!---->
  581           <xs:elem ent name=" Obligation s" type="x acml:Oblig ationsType "/>
  582           <xs:comp lexType na me="Obliga tionsType" >
  583             <xs:se quence>
  584               <xs: element re f="xacml:O bligation"  maxOccurs ="unbounde d"/>
  585             </xs:s equence>
  586           </xs:com plexType>
  587           <!---->
  588           <xs:elem ent name=" Obligation " type="xa cml:Obliga tionType"/ >
  589           <xs:comp lexType na me="Obliga tionType">
  590             <xs:se quence>
  591               <xs: element re f="xacml:A ttributeAs signment"  minOccurs= "0" maxOcc urs="unbou nded"/>
  592             </xs:s equence>
  593             <xs:at tribute na me="Obliga tionId" ty pe="xs:any URI" use=" required"/ >
  594             <xs:at tribute na me="Fulfil lOn" type= "xacml:Eff ectType" u se="requir ed"/>
  595           </xs:com plexType>
  596           <!---->
  597           <xs:elem ent name=" AttributeA ssignment"  type="xac ml:Attribu teAssignme ntType"/>
  598           <xs:comp lexType na me="Attrib uteAssignm entType" m ixed="true ">
  599             <xs:co mplexConte nt mixed=" true">
  600               <xs: extension  base="xacm l:Attribut eValueType ">
  601                 <x s:attribut e name="At tributeId"  type="xs: anyURI" us e="require d"/>
  602               </xs :extension >
  603             </xs:c omplexCont ent>
  604           </xs:com plexType>
  605           <!---->
  606         </xs:schem a>]]>
  607        </con:cont ent>
  608        <con:type>
  609         http://www .w3.org/20 01/XMLSche ma
  610        </con:type >
  611       </con:part >
  612      </con:defi nitionCach e>
  613      <con:endpo ints>
  614       <con:endpo int>
  615        http:// s e r v er : port /XACMLCont extHandler Service/XA CMLContext HandlerSer vice
  616       </con:endp oint>
  617      </con:endp oints>
  618      <con:opera tion 
  619       isOneWay=" false" 
  620       action="" 
  621       name="chec kPolicy" 
  622       bindingOpe rationName ="checkPol icy" 
  623       type="Requ est-Respon se" 
  624       inputName= "" 
  625       receivesAt tachments= "false" 
  626       sendsAttac hments="fa lse" 
  627       anonymous= "optional"
  628      >
  629       <con:setti ngs/>
  630       <con:call 
  631        name="DocR etrieveOut -AllowedCo mmunityRes ource-OptI n-Permit"
  632       >
  633        <con:setti ngs>
  634         <con:setti ng 
  635          id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers "
  636         >
  637          &lt;xml-fr agment/>
  638         </con:sett ing>
  639        </con:sett ings>
  640        <con:encod ing>
  641         UTF-8
  642        </con:enco ding>
  643        <con:endpo int>
  644         http:// s e r v er : port /XACMLCont extHandler Service/XA CMLContext HandlerSer vice
  645        </con:endp oint>
  646        <con:reque st>
  647         <![CDATA[< S:Envelope  xmlns:S=" http://sch emas.xmlso ap.org/soa p/envelope /">
  648            <S:Body >
  649               <Req uest xmlns :ns2="urn: oasis:name s:tc:xacml :2.0:polic y:schema:o s" xmlns=" urn:oasis: names:tc:x acml:2.0:c ontext:sch ema:os">
  650                  < Environmen t/><Subjec t SubjectC ategory="u rn:oasis:n ames:tc:xa cml:1.0:su bject-cate gory:acces s-subject" >
  651                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:h ome-commun ity-id">
  652                         <Attr ibuteValue >urn:oid:2 .16.840.1. 113883.4.3 49.2</Attr ibuteValue >
  653                      </Attrib ute>
  654                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authn- statement: auth-insta nt">
  655                         <Attr ibuteValue >2011-11-0 3T14:29:46 .339Z</Att ributeValu e>
  656                      </Attrib ute>
  657                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authn- statement: session-in dex">
  658                         <Attr ibuteValue >123456</A ttributeVa lue>
  659                      </Attrib ute>
  660                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authn- statement: auth-conte xt-class-r ef">
  661                         <Attr ibuteValue >urn:oasis :names:tc: SAML:2.0:a c:classes: X509</Attr ibuteValue >
  662                      </Attrib ute>
  663                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xacm l:1.0:subj ect:authn- locality:i p-address" >
  664                         <Attr ibuteValue />
  665                      </Attrib ute>
  666                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xacm l:1.0:subj ect:authn- locality:d ns-name">
  667                         <Attr ibuteValue />
  668                      </Attrib ute>
  669                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xacm l:1.0:subj ect:subjec t-id">
  670                         <Attr ibuteValue >983:52064 6758</Attr ibuteValue >
  671                      </Attrib ute>
  672                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:u ser-organi zation-nam e">
  673                         <Attr ibuteValue >Departmen t of Veter ans Affair s</Attribu teValue>
  674                      </Attrib ute>
  675                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#anyU RI" Attrib uteId="urn :oasis:nam es:tc:xspa :1.0:subje ct:organiz ation-id">
  676                         <Attr ibuteValue >urn:oid:2 .16.840.1. 113883.4.3 49.2</Attr ibuteValue >
  677                      </Attrib ute>
  678                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#anyU RI" Attrib uteId="htt p://www.hh s.gov/heal thit/nhin# HomeCommun ityId">
  679                         <Attr ibuteValue >urn:oid:2 .16.840.1. 113883.4.3 49.2</Attr ibuteValue >
  680                      </Attrib ute>
  681                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xacm l:2.0:subj ect:role">
  682                         <Attr ibuteValue >112247003 </Attribut eValue>
  683                      </Attrib ute>
  684                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:u ser-role-c ode-system ">
  685                         <Attr ibuteValue >2.16.840. 1.113883.6 .96</Attri buteValue>
  686                      </Attrib ute>
  687                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:u ser-role-c ode-system -name">
  688                         <Attr ibuteValue >SNOMED_CT </Attribut eValue>
  689                      </Attrib ute>
  690                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:u ser-role-d escription ">
  691                         <Attr ibuteValue >Medical d octor</Att ributeValu e>
  692                      </Attrib ute>
  693                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xspa :1.0:subje ct:purpose ofuse">
  694                         <Attr ibuteValue >TREATMENT </Attribut eValue>
  695                      </Attrib ute>
  696                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:p urpose-of- use-code-s ystem">
  697                         <Attr ibuteValue >2.16.840. 1.113883.3 .18.7.1</A ttributeVa lue>
  698                      </Attrib ute>
  699                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:p urpose-of- use-code-s ystem-name ">
  700                         <Attr ibuteValue >nhin-purp ose</Attri buteValue>
  701                      </Attrib ute>
  702                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:p urpose-of- use-displa y-name">
  703                         <Attr ibuteValue >Treatment </Attribut eValue>
  704                      </Attrib ute>
  705                  < /Subject>
  706                  < Resource>
  707                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:h ome-commun ity-id">
  708                         <Attr ibuteValue >urn:oid:2 .25.256133 1214422665 4719893174 7355024016 667.1.2.1< /Attribute Value>
  709                      </Attrib ute>
  710                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:d ocument-re pository-i d">
  711                         <Attr ibuteValue >2.25.2561 3312144226 6547198931 7473550240 16667.1.2. 5.12</Attr ibuteValue >
  712                      </Attrib ute>
  713                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:d ocument-id ">
  714                         <Attr ibuteValue >2.25.1556 1080346092 9287339406 8257678050 29898</Att ributeValu e>
  715                      </Attrib ute>
  716                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-d ecision">
  717                         <Attr ibuteValue >Permit</A ttributeVa lue>
  718                      </Attrib ute>
  719                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-r esource">
  720                         <Attr ibuteValue >https://l ocalhost/C ONNECTGate way/Entity Service/En tityDocRet rieveSecur ed</Attrib uteValue>
  721                      </Attrib ute>
  722                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-a ction">
  723                         <Attr ibuteValue >Execute</ AttributeV alue>
  724                      </Attrib ute>
  725                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-e vidence-as sertion-id ">
  726                         <Attr ibuteValue >fb8faa6c- 2b13-4fad- 8f94-c8bd9 c16dd76</A ttributeVa lue>
  727                      </Attrib ute>
  728                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-e vidence-as sertion-is sue-instan t">
  729                         <Attr ibuteValue >2011-11-0 3T14:29:46 .339Z</Att ributeValu e>
  730                      </Attrib ute>
  731                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-e vidence-as sertion-ve rsion">
  732                         <Attr ibuteValue >2.0</Attr ibuteValue >
  733                      </Attrib ute>
  734                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-e vidence-as sertion-is suer">
  735                         <Attr ibuteValue >Jaren Doh erty</Attr ibuteValue >
  736                      </Attrib ute>
  737                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#date " Attribut eId="urn:g ov:hhs:fha :nhinc:sam l-authz-de cision-sta tement-evi dence-asse rtion-not- before">
  738                         <Attr ibuteValue >2011-11-0 3T14:29:46 .339Z</Att ributeValu e>
  739                      </Attrib ute>
  740                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#date " Attribut eId="urn:g ov:hhs:fha :nhinc:sam l-authz-de cision-sta tement-evi dence-asse rtion-not- on-or-afte r">
  741                         <Attr ibuteValue >2011-11-0 3T14:29:46 .339Z</Att ributeValu e>
  742                      </Attrib ute>
  743                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#anyU RI" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-e vidence-as sertion-ac cess-conse nt">
  744                         <Attr ibuteValue />
  745                      </Attrib ute>
  746                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#anyU RI" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-e vidence-as sertion-in stance-acc ess-consen t">
  747                         <Attr ibuteValue />
  748                      </Attrib ute>
  749                  < /Resource>
  750                  < Action>
  751                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xacm l:1.0:acti on:action- id">
  752                         <Attr ibuteValue >DocumentR etrieveOut </Attribut eValue>
  753                      </Attrib ute>
  754                  < /Action>
  755               </Re quest>
  756            </S:Bod y>
  757         </S:Envelo pe>]]>
  758        </con:requ est>
  759        <con:jmsCo nfig 
  760         JMSDeliver yMode="PER SISTENT"
  761        />
  762        <con:jmsPr opertyConf ig/>
  763        <con:wsaCo nfig 
  764         mustUnders tand="NONE
  765         version="2 00508" 
  766         action="ht tp://conte xthandler. permission .service.s erver.vap. nhin. URL         /XACMLCont extHandler PortType/c heckPolicy Request"
  767        />
  768        <con:wsrmC onfig 
  769         version="1 .2"
  770        />
  771       </con:call >
  772       <con:call 
  773        name="Pati entDiscove ryOut-Allo wedCommuni tyRequesto r-OptOut-D eny"
  774       >
  775        <con:setti ngs>
  776         <con:setti ng 
  777          id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers "
  778         >
  779          &lt;xml-fr agment/>
  780         </con:sett ing>
  781        </con:sett ings>
  782        <con:encod ing>
  783         UTF-8
  784        </con:enco ding>
  785        <con:endpo int>
  786         http:// s e r v er : port /XACMLCont extHandler Service/XA CMLContext HandlerSer vice
  787        </con:endp oint>
  788        <con:reque st>
  789         <![CDATA[< S:Envelope  xmlns:S=" http://sch emas.xmlso ap.org/soa p/envelope /">
  790            <S:Body >
  791               <ns2 :Request x mlns:ns2=" urn:oasis: names:tc:x acml:2.0:c ontext:sch ema:os" xm lns="urn:o asis:names :tc:xacml: 2.0:policy :schema:os ">
  792                 
  793                 <n s2:Subject >
  794                      <ns2:Att ribute Att ributeId=" urn:oasis: names:tc:x acml:1.0:s ubject:sub ject-id">
  795                         <ns2: AttributeV alue>vhais hpatelt_te st</ns2:At tributeVal ue>
  796                      </ns2:At tribute>
  797                      <ns2:Att ribute Att ributeId=" urn:oasis: names:tc:x spa:1.0:su bject:purp oseofuse">
  798                         <ns2: AttributeV alue>TREAT MENT</ns2: AttributeV alue>
  799                      </ns2:At tribute>
  800                      <ns2:Att ribute Att ributeId=" http://www .hhs.gov/h ealthit/nh in#HomeCom munityId">
  801                         <ns2: AttributeV alue>urn:o id:2.16.84 0.1.113883 .4.349.2</ ns2:Attrib uteValue>
  802                      </ns2:At tribute>
  803                  < /ns2:Subje ct>
  804                  < ns2:Resour ce>
  805                      <ns2:Att ribute Att ributeId=" urn:oasis: names:tc:x acml:1.0:r esource:re source-id" >
  806                         <ns2: AttributeV alue>10125 81676V3778 02^^^&amp; 2.16.840.1 .113883.4. 349.2&amp; ISO</ns2:A ttributeVa lue>
  807                      </ns2:At tribute>
  808                      <ns2:Att ribute Att ributeId=" urn:gov:hh s:fha:nhin c:home-com munity-id" >
  809                         <ns2: AttributeV alue>2.16. 840.1.1138 83.3.190.6 .100.1</ns 2:Attribut eValue>
  810                      </ns2:At tribute>
  811                  < /ns2:Resou rce>
  812                  < ns2:Action >
  813                      <ns2:Att ribute Att ributeId=" urn:oasis: names:tc:x acml:1.0:a ction:acti on-id">
  814                         <ns2: AttributeV alue>Patie ntDiscover yOut</ns2: AttributeV alue>
  815                      </ns2:At tribute>
  816                  < /ns2:Actio n>
  817               </ns 2:Request>
  818            </S:Bod y>
  819         </S:Envelo pe>]]>
  820        </con:requ est>
  821        <con:jmsCo nfig 
  822         JMSDeliver yMode="PER SISTENT"
  823        />
  824        <con:jmsPr opertyConf ig/>
  825        <con:wsaCo nfig 
  826         mustUnders tand="NONE
  827         version="2 00508" 
  828         action="ht tp://conte xthandler. permission .service.s erver.vap. nhin. URL         /XACMLCont extHandler PortType/c heckPolicy Request"
  829        />
  830        <con:wsrmC onfig 
  831         version="1 .2"
  832        />
  833       </con:call >
  834       <con:call 
  835        name="Pati entDiscove ryOut-Allo wedCommuni tyRequesto r-OptIn-Pe rmit"
  836       >
  837        <con:setti ngs>
  838         <con:setti ng 
  839          id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers "
  840         >
  841          &lt;xml-fr agment/>
  842         </con:sett ing>
  843        </con:sett ings>
  844        <con:encod ing>
  845         UTF-8
  846        </con:enco ding>
  847        <con:endpo int>
  848         http:// s e r v er : port /XACMLCont extHandler Service/XA CMLContext HandlerSer vice
  849        </con:endp oint>
  850        <con:reque st>
  851         <![CDATA[< S:Envelope  xmlns:S=" http://sch emas.xmlso ap.org/soa p/envelope /">
  852            <S:Body >
  853               <ns2 :Request x mlns:ns2=" urn:oasis: names:tc:x acml:2.0:c ontext:sch ema:os" xm lns="urn:o asis:names :tc:xacml: 2.0:policy :schema:os ">
  854                  < ns2:Enviro nment/><ns 2:Subject>
  855                      <ns2:Att ribute Att ributeId=" urn:oasis: names:tc:x acml:1.0:s ubject:sub ject-id">
  856                         <ns2: AttributeV alue>vhais hpatelt_te st</ns2:At tributeVal ue>
  857                      </ns2:At tribute>
  858                      <ns2:Att ribute Att ributeId=" urn:oasis: names:tc:x spa:1.0:su bject:purp oseofuse">
  859                         <ns2: AttributeV alue>TREAT MENT</ns2: AttributeV alue>
  860                      </ns2:At tribute>
  861                      <ns2:Att ribute Att ributeId=" http://www .hhs.gov/h ealthit/nh in#HomeCom munityId">
  862                         <ns2: AttributeV alue>urn:o id:2.16.84 0.1.113883 .4.349.2</ ns2:Attrib uteValue>
  863                      </ns2:At tribute>
  864                  < /ns2:Subje ct>
  865                  < ns2:Resour ce>
  866                      <ns2:Att ribute Att ributeId=" urn:oasis: names:tc:x acml:1.0:r esource:re source-id" >
  867                         <ns2: AttributeV alue>10125 81676V3778 02^^^&amp; 2.16.840.1 .113883.4. 349.2&amp; ISO</ns2:A ttributeVa lue>
  868                      </ns2:At tribute>
  869                      <ns2:Att ribute Att ributeId=" urn:gov:hh s:fha:nhin c:home-com munity-id" >
  870                         <ns2: AttributeV alue>2.16. 840.1.1138 83.3.190.6 .100.1</ns 2:Attribut eValue>
  871                      </ns2:At tribute>
  872                  < /ns2:Resou rce>
  873                  < ns2:Action >
  874                      <ns2:Att ribute Att ributeId=" urn:oasis: names:tc:x acml:1.0:a ction:acti on-id">
  875                         <ns2: AttributeV alue>Patie ntDiscover yOut</ns2: AttributeV alue>
  876                      </ns2:At tribute>
  877                  < /ns2:Actio n>
  878               </ns 2:Request>
  879            </S:Bod y>
  880         </S:Envelo pe>]]>
  881        </con:requ est>
  882        <con:jmsCo nfig 
  883         JMSDeliver yMode="PER SISTENT"
  884        />
  885        <con:jmsPr opertyConf ig/>
  886        <con:wsaCo nfig 
  887         mustUnders tand="NONE
  888         version="2 00508" 
  889         action="ht tp://conte xthandler. permission .service.s erver.vap. nhin. URL         /XACMLCont extHandler PortType/c heckPolicy Request"
  890        />
  891        <con:wsrmC onfig 
  892         version="1 .2"
  893        />
  894       </con:call >
  895       <con:call 
  896        name="Pati entDiscove ryIn-Allow edCommunit yRequestor -OptOut-De ny"
  897       >
  898        <con:setti ngs>
  899         <con:setti ng 
  900          id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers "
  901         >
  902          &lt;xml-fr agment/>
  903         </con:sett ing>
  904        </con:sett ings>
  905        <con:encod ing>
  906         UTF-8
  907        </con:enco ding>
  908        <con:endpo int>
  909         http:// s e r v er : port /XACMLCont extHandler Service/XA CMLContext HandlerSer vice
  910        </con:endp oint>
  911        <con:reque st>
  912         <![CDATA[< S:Envelope  xmlns:S=" http://sch emas.xmlso ap.org/soa p/envelope /">
  913            <S:Body >
  914               <Req uest xmlns :ns2="urn: oasis:name s:tc:xacml :2.0:polic y:schema:o s" xmlns=" urn:oasis: names:tc:x acml:2.0:c ontext:sch ema:os">
  915                  < Environmen t/><Subjec t SubjectC ategory="u rn:oasis:n ames:tc:xa cml:1.0:su bject-cate gory:acces s-subject" >
  916                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:h ome-commun ity-id">
  917                         <Attr ibuteValue >2.16.840. 1.113883.4 .349.2</At tributeVal ue>
  918                      </Attrib ute>
  919                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authn- statement: auth-insta nt">
  920                         <Attr ibuteValue >2011-11-0 3T15:15:45 .823Z</Att ributeValu e>
  921                      </Attrib ute>
  922                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authn- statement: session-in dex">
  923                         <Attr ibuteValue >123456</A ttributeVa lue>
  924                      </Attrib ute>
  925                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authn- statement: auth-conte xt-class-r ef">
  926                         <Attr ibuteValue >urn:oasis :names:tc: SAML:2.0:a c:classes: X509</Attr ibuteValue >
  927                      </Attrib ute>
  928                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xacm l:1.0:subj ect:authn- locality:i p-address" >
  929                         <Attr ibuteValue />
  930                      </Attrib ute>
  931                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xacm l:1.0:subj ect:authn- locality:d ns-name">
  932                         <Attr ibuteValue />
  933                      </Attrib ute>
  934                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xacm l:1.0:subj ect:subjec t-id">
  935                         <Attr ibuteValue >kpuser</A ttributeVa lue>
  936                      </Attrib ute>
  937                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:u ser-organi zation-nam e">
  938                         <Attr ibuteValue >?</Attrib uteValue>
  939                      </Attrib ute>
  940                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#anyU RI" Attrib uteId="urn :oasis:nam es:tc:xspa :1.0:subje ct:organiz ation-id">
  941                         <Attr ibuteValue >urn:oid:1 .3.6.1.4.1 .26580</At tributeVal ue>
  942                      </Attrib ute>
  943                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#anyU RI" Attrib uteId="htt p://www.hh s.gov/heal thit/nhin# HomeCommun ityId">
  944                         <Attr ibuteValue >urn:oid:1 .3.6.1.4.1 .26580</At tributeVal ue>
  945                      </Attrib ute>
  946                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xacm l:2.0:subj ect:role">
  947                         <Attr ibuteValue />
  948                      </Attrib ute>
  949                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:u ser-role-c ode-system ">
  950                         <Attr ibuteValue />
  951                      </Attrib ute>
  952                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:u ser-role-c ode-system -name">
  953                         <Attr ibuteValue />
  954                      </Attrib ute>
  955                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:u ser-role-d escription ">
  956                         <Attr ibuteValue />
  957                      </Attrib ute>
  958                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xspa :1.0:subje ct:purpose ofuse">
  959                         <Attr ibuteValue >TREATMENT </Attribut eValue>
  960                      </Attrib ute>
  961                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:p urpose-of- use-code-s ystem">
  962                         <Attr ibuteValue >2.16.840. 1.113883.3 .18.7.1</A ttributeVa lue>
  963                      </Attrib ute>
  964                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:p urpose-of- use-code-s ystem-name ">
  965                         <Attr ibuteValue >nhin-purp ose</Attri buteValue>
  966                      </Attrib ute>
  967                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:p urpose-of- use-displa y-name">
  968                         <Attr ibuteValue >Use or di sclosure o f Psychoth erapy Note s</Attribu teValue>
  969                      </Attrib ute>
  970                  < /Subject>
  971                  < Resource>
  972                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:a ssigning-a uthority-i d">
  973                         <Attr ibuteValue >2.16.840. 1.113883.4 .349.2</At tributeVal ue>
  974                      </Attrib ute>
  975                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xacm l:1.0:reso urce:resou rce-id">
  976                         <Attr ibuteValue >101258167 6V377802</ AttributeV alue>
  977                      </Attrib ute>
  978                      <Attribu te DataTyp e="urn:hl7 -org:v3#II " Attribut eId="http: //www.hhs. gov/health it/nhin#su bject-id">
  979                         <Attr ibuteValue >
  980                            <h l7:Patient Id extensi on="12345"  root="1.3 .6.1.4.1.2 6580" xmln s:ns9="urn :ihe:iti:x ds-b:2007"  xmlns:ns8 ="urn:oasi s:names:tc :ebxml-reg rep:xsd:ri m:3.0" xml ns:ns7="ht tp://www.h hs.gov/hea lthit/nhin /cdc" xmln s:ns6="htt p://docs.o asis-open. org/wsn/t- 1" xmlns:n s5="http:/ /docs.oasi s-open.org /wsrf/bf-2 " xmlns:ns 4="http:// docs.oasis -open.org/ wsn/b-2" x mlns:ns3=" http://www .w3.org/20 05/08/addr essing" xm lns:ns19=" urn:gov:hh s:fha:nhin c:common:s ubscriptio nb2overrid eforcdc" x mlns:ns18= "urn:gov:h hs:fha:nhi nc:common: nhinccommo nadapter"  xmlns:ns17 ="http://s chemas.xml soap.org/w s/2004/08/ addressing " xmlns:ns 16="urn:go v:hhs:fha: nhinc:comm on:nhincco mmon" xmln s:ns15="ur n:oasis:na mes:tc:xac ml:2.0:con text:schem a:os" xmln s:ns14="ur n:gov:hhs: fha:nhinc: common:sub scriptionb 2overridef ordocument s" xmlns:n s13="http: //nhinc.se rvices.com /schema/au ditmessage " xmlns:ns 12="urn:oa sis:names: tc:ebxml-r egrep:xsd: query:3.0"  xmlns:ns1 1="urn:oas is:names:t c:ebxml-re grep:xsd:l cm:3.0" xm lns:ns10=" urn:oasis: names:tc:e bxml-regre p:xsd:rs:3 .0" xmlns: hl7="urn:h l7-org:v3" />
  981                         </Att ributeValu e>
  982                      </Attrib ute>
  983                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-d ecision">
  984                         <Attr ibuteValue >Permit</A ttributeVa lue>
  985                      </Attrib ute>
  986                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-r esource">
  987                         <Attr ibuteValue >https://l ocalhost/C ONNECTGate way/NhinSe rvice/Nhin PatientDis covery</At tributeVal ue>
  988                      </Attrib ute>
  989                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-a ction">
  990                         <Attr ibuteValue >Execute</ AttributeV alue>
  991                      </Attrib ute>
  992                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-e vidence-as sertion-id ">
  993                         <Attr ibuteValue >1de80427- 3428-4446- a40d-16453 6baa071</A ttributeVa lue>
  994                      </Attrib ute>
  995                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-e vidence-as sertion-is sue-instan t">
  996                         <Attr ibuteValue >2011-11-0 3T15:15:45 .823Z</Att ributeValu e>
  997                      </Attrib ute>
  998                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-e vidence-as sertion-ve rsion">
  999                         <Attr ibuteValue >2.0</Attr ibuteValue >
  1000                      </Attrib ute>
  1001                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-e vidence-as sertion-is suer">
  1002                         <Attr ibuteValue >CN=SAML U ser,OU=SU, O=SAML Use r,L=Los An geles,ST=C A,C=US</At tributeVal ue>
  1003                      </Attrib ute>
  1004                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#date " Attribut eId="urn:g ov:hhs:fha :nhinc:sam l-authz-de cision-sta tement-evi dence-asse rtion-not- before">
  1005                         <Attr ibuteValue >2011-11-0 3T15:15:45 .823Z</Att ributeValu e>
  1006                      </Attrib ute>
  1007                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#date " Attribut eId="urn:g ov:hhs:fha :nhinc:sam l-authz-de cision-sta tement-evi dence-asse rtion-not- on-or-afte r">
  1008                         <Attr ibuteValue >2011-11-0 3T15:15:45 .823Z</Att ributeValu e>
  1009                      </Attrib ute>
  1010                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#anyU RI" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-e vidence-as sertion-ac cess-conse nt">
  1011                         <Attr ibuteValue />
  1012                      </Attrib ute>
  1013                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#anyU RI" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-e vidence-as sertion-in stance-acc ess-consen t">
  1014                         <Attr ibuteValue />
  1015                      </Attrib ute>
  1016                  < /Resource>
  1017                  < Action>
  1018                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xacm l:1.0:acti on:action- id">
  1019                         <Attr ibuteValue >PatientDi scoveryIn< /Attribute Value>
  1020                      </Attrib ute>
  1021                  < /Action>
  1022               </Re quest>
  1023            </S:Bod y>
  1024         </S:Envelo pe>]]>
  1025        </con:requ est>
  1026        <con:jmsCo nfig 
  1027         JMSDeliver yMode="PER SISTENT"
  1028        />
  1029        <con:jmsPr opertyConf ig/>
  1030        <con:wsaCo nfig 
  1031         mustUnders tand="NONE
  1032         version="2 00508" 
  1033         action="ht tp://conte xthandler. permission .service.s erver.vap. nhin. URL         /XACMLCont extHandler PortType/c heckPolicy Request"
  1034        />
  1035        <con:wsrmC onfig 
  1036         version="1 .2"
  1037        />
  1038       </con:call >
  1039       <con:call 
  1040        name="Pati entDiscove ryIn-Allow edCommunit yRequestor -OptIn-Per mit"
  1041       >
  1042        <con:setti ngs>
  1043         <con:setti ng 
  1044          id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers "
  1045         >
  1046          &lt;xml-fr agment/>
  1047         </con:sett ing>
  1048        </con:sett ings>
  1049        <con:encod ing>
  1050         UTF-8
  1051        </con:enco ding>
  1052        <con:endpo int>
  1053         http:// s e r v er : port /XACMLCont extHandler Service/XA CMLContext HandlerSer vice
  1054        </con:endp oint>
  1055        <con:reque st>
  1056         <![CDATA[< S:Envelope  xmlns:S=" http://sch emas.xmlso ap.org/soa p/envelope /">
  1057            <S:Body >
  1058               <Req uest xmlns :ns2="urn: oasis:name s:tc:xacml :2.0:polic y:schema:o s" xmlns=" urn:oasis: names:tc:x acml:2.0:c ontext:sch ema:os">
  1059                  < Environmen t/><Subjec t SubjectC ategory="u rn:oasis:n ames:tc:xa cml:1.0:su bject-cate gory:acces s-subject" >
  1060                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:h ome-commun ity-id">
  1061                         <Attr ibuteValue >2.16.840. 1.113883.4 .349.2</At tributeVal ue>
  1062                      </Attrib ute>
  1063                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authn- statement: auth-insta nt">
  1064                         <Attr ibuteValue >2011-11-0 3T15:15:45 .823Z</Att ributeValu e>
  1065                      </Attrib ute>
  1066                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authn- statement: session-in dex">
  1067                         <Attr ibuteValue >123456</A ttributeVa lue>
  1068                      </Attrib ute>
  1069                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authn- statement: auth-conte xt-class-r ef">
  1070                         <Attr ibuteValue >urn:oasis :names:tc: SAML:2.0:a c:classes: X509</Attr ibuteValue >
  1071                      </Attrib ute>
  1072                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xacm l:1.0:subj ect:authn- locality:i p-address" >
  1073                         <Attr ibuteValue />
  1074                      </Attrib ute>
  1075                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xacm l:1.0:subj ect:authn- locality:d ns-name">
  1076                         <Attr ibuteValue />
  1077                      </Attrib ute>
  1078                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xacm l:1.0:subj ect:subjec t-id">
  1079                         <Attr ibuteValue >kpuser</A ttributeVa lue>
  1080                      </Attrib ute>
  1081                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:u ser-organi zation-nam e">
  1082                         <Attr ibuteValue >?</Attrib uteValue>
  1083                      </Attrib ute>
  1084                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#anyU RI" Attrib uteId="urn :oasis:nam es:tc:xspa :1.0:subje ct:organiz ation-id">
  1085                         <Attr ibuteValue >urn:oid:1 .3.6.1.4.1 .26580</At tributeVal ue>
  1086                      </Attrib ute>
  1087                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#anyU RI" Attrib uteId="htt p://www.hh s.gov/heal thit/nhin# HomeCommun ityId">
  1088                         <Attr ibuteValue >urn:oid:1 .3.6.1.4.1 .26580</At tributeVal ue>
  1089                      </Attrib ute>
  1090                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xacm l:2.0:subj ect:role">
  1091                         <Attr ibuteValue />
  1092                      </Attrib ute>
  1093                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:u ser-role-c ode-system ">
  1094                         <Attr ibuteValue />
  1095                      </Attrib ute>
  1096                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:u ser-role-c ode-system -name">
  1097                         <Attr ibuteValue />
  1098                      </Attrib ute>
  1099                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:u ser-role-d escription ">
  1100                         <Attr ibuteValue />
  1101                      </Attrib ute>
  1102                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xspa :1.0:subje ct:purpose ofuse">
  1103                         <Attr ibuteValue >TREATMENT </Attribut eValue>
  1104                      </Attrib ute>
  1105                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:p urpose-of- use-code-s ystem">
  1106                         <Attr ibuteValue >2.16.840. 1.113883.3 .18.7.1</A ttributeVa lue>
  1107                      </Attrib ute>
  1108                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:p urpose-of- use-code-s ystem-name ">
  1109                         <Attr ibuteValue >nhin-purp ose</Attri buteValue>
  1110                      </Attrib ute>
  1111                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:p urpose-of- use-displa y-name">
  1112                         <Attr ibuteValue >Use or di sclosure o f Psychoth erapy Note s</Attribu teValue>
  1113                      </Attrib ute>
  1114                  < /Subject>
  1115                  < Resource>
  1116                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:a ssigning-a uthority-i d">
  1117                         <Attr ibuteValue >2.16.840. 1.113883.4 .349.2</At tributeVal ue>
  1118                      </Attrib ute>
  1119                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xacm l:1.0:reso urce:resou rce-id">
  1120                         <Attr ibuteValue >101258167 6V377802</ AttributeV alue>
  1121                      </Attrib ute>
  1122                      <Attribu te DataTyp e="urn:hl7 -org:v3#II " Attribut eId="http: //www.hhs. gov/health it/nhin#su bject-id">
  1123                         <Attr ibuteValue >
  1124                            <h l7:Patient Id extensi on="12345"  root="1.3 .6.1.4.1.2 6580" xmln s:ns9="urn :ihe:iti:x ds-b:2007"  xmlns:ns8 ="urn:oasi s:names:tc :ebxml-reg rep:xsd:ri m:3.0" xml ns:ns7="ht tp://www.h hs.gov/hea lthit/nhin /cdc" xmln s:ns6="htt p://docs.o asis-open. org/wsn/t- 1" xmlns:n s5="http:/ /docs.oasi s-open.org /wsrf/bf-2 " xmlns:ns 4="http:// docs.oasis -open.org/ wsn/b-2" x mlns:ns3=" http://www .w3.org/20 05/08/addr essing" xm lns:ns19=" urn:gov:hh s:fha:nhin c:common:s ubscriptio nb2overrid eforcdc" x mlns:ns18= "urn:gov:h hs:fha:nhi nc:common: nhinccommo nadapter"  xmlns:ns17 ="http://s chemas.xml soap.org/w s/2004/08/ addressing " xmlns:ns 16="urn:go v:hhs:fha: nhinc:comm on:nhincco mmon" xmln s:ns15="ur n:oasis:na mes:tc:xac ml:2.0:con text:schem a:os" xmln s:ns14="ur n:gov:hhs: fha:nhinc: common:sub scriptionb 2overridef ordocument s" xmlns:n s13="http: //nhinc.se rvices.com /schema/au ditmessage " xmlns:ns 12="urn:oa sis:names: tc:ebxml-r egrep:xsd: query:3.0"  xmlns:ns1 1="urn:oas is:names:t c:ebxml-re grep:xsd:l cm:3.0" xm lns:ns10=" urn:oasis: names:tc:e bxml-regre p:xsd:rs:3 .0" xmlns: hl7="urn:h l7-org:v3" />
  1125                         </Att ributeValu e>
  1126                      </Attrib ute>
  1127                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-d ecision">
  1128                         <Attr ibuteValue >Permit</A ttributeVa lue>
  1129                      </Attrib ute>
  1130                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-r esource">
  1131                         <Attr ibuteValue >https://l ocalhost/C ONNECTGate way/NhinSe rvice/Nhin PatientDis covery</At tributeVal ue>
  1132                      </Attrib ute>
  1133                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-a ction">
  1134                         <Attr ibuteValue >Execute</ AttributeV alue>
  1135                      </Attrib ute>
  1136                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-e vidence-as sertion-id ">
  1137                         <Attr ibuteValue >1de80427- 3428-4446- a40d-16453 6baa071</A ttributeVa lue>
  1138                      </Attrib ute>
  1139                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-e vidence-as sertion-is sue-instan t">
  1140                         <Attr ibuteValue >2011-11-0 3T15:15:45 .823Z</Att ributeValu e>
  1141                      </Attrib ute>
  1142                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-e vidence-as sertion-ve rsion">
  1143                         <Attr ibuteValue >2.0</Attr ibuteValue >
  1144                      </Attrib ute>
  1145                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-e vidence-as sertion-is suer">
  1146                         <Attr ibuteValue >CN=SAML U ser,OU=SU, O=SAML Use r,L=Los An geles,ST=C A,C=US</At tributeVal ue>
  1147                      </Attrib ute>
  1148                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#date " Attribut eId="urn:g ov:hhs:fha :nhinc:sam l-authz-de cision-sta tement-evi dence-asse rtion-not- before">
  1149                         <Attr ibuteValue >2011-11-0 3T15:15:45 .823Z</Att ributeValu e>
  1150                      </Attrib ute>
  1151                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#date " Attribut eId="urn:g ov:hhs:fha :nhinc:sam l-authz-de cision-sta tement-evi dence-asse rtion-not- on-or-afte r">
  1152                         <Attr ibuteValue >2011-11-0 3T15:15:45 .823Z</Att ributeValu e>
  1153                      </Attrib ute>
  1154                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#anyU RI" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-e vidence-as sertion-ac cess-conse nt">
  1155                         <Attr ibuteValue />
  1156                      </Attrib ute>
  1157                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#anyU RI" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-e vidence-as sertion-in stance-acc ess-consen t">
  1158                         <Attr ibuteValue />
  1159                      </Attrib ute>
  1160                  < /Resource>
  1161                  < Action>
  1162                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xacm l:1.0:acti on:action- id">
  1163                         <Attr ibuteValue >PatientDi scoveryIn< /Attribute Value>
  1164                      </Attrib ute>
  1165                  < /Action>
  1166               </Re quest>
  1167            </S:Bod y>
  1168         </S:Envelo pe>]]>
  1169        </con:requ est>
  1170        <con:jmsCo nfig 
  1171         JMSDeliver yMode="PER SISTENT"
  1172        />
  1173        <con:jmsPr opertyConf ig/>
  1174        <con:wsaCo nfig 
  1175         mustUnders tand="NONE
  1176         version="2 00508" 
  1177         action="ht tp://conte xthandler. permission .service.s erver.vap. nhin. URL         /XACMLCont extHandler PortType/c heckPolicy Request"
  1178        />
  1179        <con:wsrmC onfig 
  1180         version="1 .2"
  1181        />
  1182       </con:call >
  1183       <con:call 
  1184        name="NHIN Out-Permit "
  1185       >
  1186        <con:setti ngs>
  1187         <con:setti ng 
  1188          id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers "
  1189         >
  1190          &lt;xml-fr agment/>
  1191         </con:sett ing>
  1192        </con:sett ings>
  1193        <con:encod ing>
  1194         UTF-8
  1195        </con:enco ding>
  1196        <con:endpo int>
  1197         http:// s e r v er : port /XACMLCont extHandler Service/XA CMLContext HandlerSer vice
  1198        </con:endp oint>
  1199        <con:reque st>
  1200         <![CDATA[< S:Envelope  xmlns:S=" http://sch emas.xmlso ap.org/soa p/envelope /">
  1201            <S:Body >
  1202               <ns2 :Request x mlns:ns2=" urn:oasis: names:tc:x acml:2.0:c ontext:sch ema:os" xm lns="urn:o asis:names :tc:xacml: 2.0:policy :schema:os ">
  1203                  < ns2:Enviro nment/><ns 2:Subject>
  1204                      <ns2:Att ribute Att ributeId=" urn:oasis: names:tc:x acml:1.0:s ubject:sub ject-id">
  1205                         <ns2: AttributeV alue>983:3 5458</ns2: AttributeV alue>
  1206                      </ns2:At tribute>
  1207                      <ns2:Att ribute Att ributeId=" http://www .hhs.gov/h ealthit/nh in#HomeCom munityId">
  1208                         <ns2: AttributeV alue>urn:o id:2.16.84 0.1.113883 .4.349.2</ ns2:Attrib uteValue>
  1209                      </ns2:At tribute>
  1210                  < /ns2:Subje ct>
  1211                  < ns2:Action >
  1212                      <ns2:Att ribute Att ributeId=" urn:oasis: names:tc:x acml:1.0:a ction:acti on-id">
  1213                         <ns2: AttributeV alue>NHINO ut</ns2:At tributeVal ue>
  1214                      </ns2:At tribute>
  1215                  < /ns2:Actio n>
  1216               </ns 2:Request>
  1217            </S:Bod y>
  1218         </S:Envelo pe>]]>
  1219        </con:requ est>
  1220        <con:jmsCo nfig 
  1221         JMSDeliver yMode="PER SISTENT"
  1222        />
  1223        <con:jmsPr opertyConf ig/>
  1224        <con:wsaCo nfig 
  1225         mustUnders tand="NONE
  1226         version="2 00508" 
  1227         action="ht tp://conte xthandler. permission .service.s erver.vap. nhin. URL         /XACMLCont extHandler PortType/c heckPolicy Request"
  1228        />
  1229        <con:wsrmC onfig 
  1230         version="1 .2"
  1231        />
  1232       </con:call >
  1233       <con:call 
  1234        name="NHIN Out-Deny"
  1235       >
  1236        <con:setti ngs>
  1237         <con:setti ng 
  1238          id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers "
  1239         >
  1240          &lt;xml-fr agment/>
  1241         </con:sett ing>
  1242        </con:sett ings>
  1243        <con:encod ing>
  1244         UTF-8
  1245        </con:enco ding>
  1246        <con:endpo int>
  1247         http:// s e r v er : port /XACMLCont extHandler Service/XA CMLContext HandlerSer vice
  1248        </con:endp oint>
  1249        <con:reque st>
  1250         <![CDATA[< S:Envelope  xmlns:S=" http://sch emas.xmlso ap.org/soa p/envelope /">
  1251            <S:Body >
  1252               <ns2 :Request x mlns:ns2=" urn:oasis: names:tc:x acml:2.0:c ontext:sch ema:os" xm lns="urn:o asis:names :tc:xacml: 2.0:policy :schema:os ">
  1253                  < ns2:Enviro nment/><ns 2:Subject>
  1254                      <ns2:Att ribute Att ributeId=" urn:oasis: names:tc:x acml:1.0:s ubject:sub ject-id">
  1255                         <ns2: AttributeV alue>984:3 5458</ns2: AttributeV alue>
  1256                      </ns2:At tribute>
  1257                      <ns2:Att ribute Att ributeId=" http://www .hhs.gov/h ealthit/nh in#HomeCom munityId">
  1258                         <ns2: AttributeV alue>urn:o id:2.16.84 0.1.113883 .4.349.2</ ns2:Attrib uteValue>
  1259                      </ns2:At tribute>
  1260                  < /ns2:Subje ct>
  1261                  < ns2:Action >
  1262                      <ns2:Att ribute Att ributeId=" urn:oasis: names:tc:x acml:1.0:a ction:acti on-id">
  1263                         <ns2: AttributeV alue>NHINO ut</ns2:At tributeVal ue>
  1264                      </ns2:At tribute>
  1265                  < /ns2:Actio n>
  1266               </ns 2:Request>
  1267            </S:Bod y>
  1268         </S:Envelo pe>]]>
  1269        </con:requ est>
  1270        <con:jmsCo nfig 
  1271         JMSDeliver yMode="PER SISTENT"
  1272        />
  1273        <con:jmsPr opertyConf ig/>
  1274        <con:wsaCo nfig 
  1275         mustUnders tand="NONE
  1276         version="2 00508" 
  1277         action="ht tp://conte xthandler. permission .service.s erver.vap. nhin. URL         /XACMLCont extHandler PortType/c heckPolicy Request"
  1278        />
  1279        <con:wsrmC onfig 
  1280         version="1 .2"
  1281        />
  1282       </con:call >
  1283       <con:call 
  1284        name="DocR etrieveOut -AllowedCo mmunityRes ource-OptO ut-Permit"
  1285       >
  1286        <con:setti ngs>
  1287         <con:setti ng 
  1288          id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers "
  1289         >
  1290          &lt;xml-fr agment/>
  1291         </con:sett ing>
  1292        </con:sett ings>
  1293        <con:encod ing>
  1294         UTF-8
  1295        </con:enco ding>
  1296        <con:endpo int>
  1297         http:// s e r v er : port /XACMLCont extHandler Service/XA CMLContext HandlerSer vice
  1298        </con:endp oint>
  1299        <con:reque st>
  1300         <![CDATA[< S:Envelope  xmlns:S=" http://sch emas.xmlso ap.org/soa p/envelope /">
  1301            <S:Body >
  1302               <Req uest xmlns :ns2="urn: oasis:name s:tc:xacml :2.0:polic y:schema:o s" xmlns=" urn:oasis: names:tc:x acml:2.0:c ontext:sch ema:os">
  1303                  < Environmen t/><Subjec t SubjectC ategory="u rn:oasis:n ames:tc:xa cml:1.0:su bject-cate gory:acces s-subject" >
  1304                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:h ome-commun ity-id">
  1305                         <Attr ibuteValue >urn:oid:2 .16.840.1. 113883.4.3 49.2</Attr ibuteValue >
  1306                      </Attrib ute>
  1307                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authn- statement: auth-insta nt">
  1308                         <Attr ibuteValue >2011-11-0 3T14:29:46 .339Z</Att ributeValu e>
  1309                      </Attrib ute>
  1310                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authn- statement: session-in dex">
  1311                         <Attr ibuteValue >123456</A ttributeVa lue>
  1312                      </Attrib ute>
  1313                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authn- statement: auth-conte xt-class-r ef">
  1314                         <Attr ibuteValue >urn:oasis :names:tc: SAML:2.0:a c:classes: X509</Attr ibuteValue >
  1315                      </Attrib ute>
  1316                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xacm l:1.0:subj ect:authn- locality:i p-address" >
  1317                         <Attr ibuteValue />
  1318                      </Attrib ute>
  1319                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xacm l:1.0:subj ect:authn- locality:d ns-name">
  1320                         <Attr ibuteValue />
  1321                      </Attrib ute>
  1322                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xacm l:1.0:subj ect:subjec t-id">
  1323                         <Attr ibuteValue >983:52064 6758</Attr ibuteValue >
  1324                      </Attrib ute>
  1325                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:u ser-organi zation-nam e">
  1326                         <Attr ibuteValue >Departmen t of Veter ans Affair s</Attribu teValue>
  1327                      </Attrib ute>
  1328                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#anyU RI" Attrib uteId="urn :oasis:nam es:tc:xspa :1.0:subje ct:organiz ation-id">
  1329                         <Attr ibuteValue >urn:oid:2 .16.840.1. 113883.4.3 49.2</Attr ibuteValue >
  1330                      </Attrib ute>
  1331                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#anyU RI" Attrib uteId="htt p://www.hh s.gov/heal thit/nhin# HomeCommun ityId">
  1332                         <Attr ibuteValue >urn:oid:2 .16.840.1. 113883.4.3 49.2</Attr ibuteValue >
  1333                      </Attrib ute>
  1334                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xacm l:2.0:subj ect:role">
  1335                         <Attr ibuteValue >112247003 </Attribut eValue>
  1336                      </Attrib ute>
  1337                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:u ser-role-c ode-system ">
  1338                         <Attr ibuteValue >2.16.840. 1.113883.6 .96</Attri buteValue>
  1339                      </Attrib ute>
  1340                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:u ser-role-c ode-system -name">
  1341                         <Attr ibuteValue >SNOMED_CT </Attribut eValue>
  1342                      </Attrib ute>
  1343                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:u ser-role-d escription ">
  1344                         <Attr ibuteValue >Medical d octor</Att ributeValu e>
  1345                      </Attrib ute>
  1346                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xspa :1.0:subje ct:purpose ofuse">
  1347                         <Attr ibuteValue >TREATMENT </Attribut eValue>
  1348                      </Attrib ute>
  1349                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:p urpose-of- use-code-s ystem">
  1350                         <Attr ibuteValue >2.16.840. 1.113883.3 .18.7.1</A ttributeVa lue>
  1351                      </Attrib ute>
  1352                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:p urpose-of- use-code-s ystem-name ">
  1353                         <Attr ibuteValue >nhin-purp ose</Attri buteValue>
  1354                      </Attrib ute>
  1355                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:p urpose-of- use-displa y-name">
  1356                         <Attr ibuteValue >Treatment </Attribut eValue>
  1357                      </Attrib ute>
  1358                  < /Subject>
  1359                  < Resource>
  1360                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:h ome-commun ity-id">
  1361                         <Attr ibuteValue >urn:oid:2 .25.256133 1214422665 4719893174 7355024016 667.1.2.1< /Attribute Value>
  1362                      </Attrib ute>
  1363                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:d ocument-re pository-i d">
  1364                         <Attr ibuteValue >2.25.2561 3312144226 6547198931 7473550240 16667.1.2. 5.12</Attr ibuteValue >
  1365                      </Attrib ute>
  1366                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:d ocument-id ">
  1367                         <Attr ibuteValue >2.25.1556 1080346092 9287339406 8257678050 29898</Att ributeValu e>
  1368                      </Attrib ute>
  1369                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-d ecision">
  1370                         <Attr ibuteValue >Permit</A ttributeVa lue>
  1371                      </Attrib ute>
  1372                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-r esource">
  1373                         <Attr ibuteValue >https://l ocalhost/C ONNECTGate way/Entity Service/En tityDocRet rieveSecur ed</Attrib uteValue>
  1374                      </Attrib ute>
  1375                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-a ction">
  1376                         <Attr ibuteValue >Execute</ AttributeV alue>
  1377                      </Attrib ute>
  1378                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-e vidence-as sertion-id ">
  1379                         <Attr ibuteValue >fb8faa6c- 2b13-4fad- 8f94-c8bd9 c16dd76</A ttributeVa lue>
  1380                      </Attrib ute>
  1381                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-e vidence-as sertion-is sue-instan t">
  1382                         <Attr ibuteValue >2011-11-0 3T14:29:46 .339Z</Att ributeValu e>
  1383                      </Attrib ute>
  1384                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-e vidence-as sertion-ve rsion">
  1385                         <Attr ibuteValue >2.0</Attr ibuteValue >
  1386                      </Attrib ute>
  1387                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-e vidence-as sertion-is suer">
  1388                         <Attr ibuteValue >Jaren Doh erty</Attr ibuteValue >
  1389                      </Attrib ute>
  1390                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#date " Attribut eId="urn:g ov:hhs:fha :nhinc:sam l-authz-de cision-sta tement-evi dence-asse rtion-not- before">
  1391                         <Attr ibuteValue >2011-11-0 3T14:29:46 .339Z</Att ributeValu e>
  1392                      </Attrib ute>
  1393                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#date " Attribut eId="urn:g ov:hhs:fha :nhinc:sam l-authz-de cision-sta tement-evi dence-asse rtion-not- on-or-afte r">
  1394                         <Attr ibuteValue >2011-11-0 3T14:29:46 .339Z</Att ributeValu e>
  1395                      </Attrib ute>
  1396                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#anyU RI" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-e vidence-as sertion-ac cess-conse nt">
  1397                         <Attr ibuteValue />
  1398                      </Attrib ute>
  1399                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#anyU RI" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-e vidence-as sertion-in stance-acc ess-consen t">
  1400                         <Attr ibuteValue />
  1401                      </Attrib ute>
  1402                  < /Resource>
  1403                  < Action>
  1404                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xacm l:1.0:acti on:action- id">
  1405                         <Attr ibuteValue >DocumentR etrieveOut </Attribut eValue>
  1406                      </Attrib ute>
  1407                  < /Action>
  1408               </Re quest>
  1409            </S:Bod y>
  1410         </S:Envelo pe>]]>
  1411        </con:requ est>
  1412        <con:jmsCo nfig 
  1413         JMSDeliver yMode="PER SISTENT"
  1414        />
  1415        <con:jmsPr opertyConf ig/>
  1416        <con:wsaCo nfig 
  1417         mustUnders tand="NONE
  1418         version="2 00508" 
  1419         action="ht tp://conte xthandler. permission .service.s erver.vap. nhin. URL         /XACMLCont extHandler PortType/c heckPolicy Request"
  1420        />
  1421        <con:wsrmC onfig 
  1422         version="1 .2"
  1423        />
  1424       </con:call >
  1425       <con:call 
  1426        name="Requ est 1"
  1427       >
  1428        <con:setti ngs>
  1429         <con:setti ng 
  1430          id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers "
  1431         >
  1432          &lt;xml-fr agment/>
  1433         </con:sett ing>
  1434        </con:sett ings>
  1435        <con:encod ing>
  1436         UTF-8
  1437        </con:enco ding>
  1438        <con:endpo int>
  1439         http:// s e r v er : port /XACMLCont extHandler Service/XA CMLContext HandlerSer vice
  1440        </con:endp oint>
  1441        <con:reque st>
  1442         <![CDATA[< soapenv:En velope xml ns:soapenv ="http://s chemas.xml soap.org/s oap/envelo pe/" xmlns :urn="urn: oasis:name s:tc:xacml :2.0:conte xt:schema: os">
  1443            <soapen v:Header/>
  1444            <soapen v:Body>
  1445               <urn :Request>
  1446                  < !--1 or mo re repetit ions:-->
  1447                  < urn:Subjec t SubjectC ategory="u rn:oasis:n ames:tc:xa cml:1.0:su bject-cate gory:acces s-subject" >
  1448                      <!--Zero  or more r epetitions :-->
  1449                      <urn:Att ribute Att ributeId=" ?" DataTyp e="?" Issu er="?">
  1450                         <!--1  or more r epetitions :-->
  1451                         <urn: AttributeV alue>
  1452                            e
  1453                            <! --You may  enter ANY  elements a t this poi nt-->
  1454                            ge ro
  1455                         </urn :Attribute Value>
  1456                      </urn:At tribute>
  1457                  < /urn:Subje ct>
  1458                  < !--1 or mo re repetit ions:-->
  1459                  < urn:Resour ce>
  1460                      <!--Opti onal:-->
  1461                      <urn:Res ourceConte nt>
  1462                         cum
  1463                         <!--Y ou may ent er ANY ele ments at t his point- ->
  1464                         sonor as
  1465                      </urn:Re sourceCont ent>
  1466                      <!--Zero  or more r epetitions :-->
  1467                      <urn:Att ribute Att ributeId=" ?" DataTyp e="?" Issu er="?">
  1468                         <!--1  or more r epetitions :-->
  1469                         <urn: AttributeV alue>
  1470                            ae oliam
  1471                            <! --You may  enter ANY  elements a t this poi nt-->
  1472                            qu ae
  1473                         </urn :Attribute Value>
  1474                      </urn:At tribute>
  1475                  < /urn:Resou rce>
  1476                  < urn:Action >
  1477                      <!--Zero  or more r epetitions :-->
  1478                      <urn:Att ribute Att ributeId=" ?" DataTyp e="?" Issu er="?">
  1479                         <!--1  or more r epetitions :-->
  1480                         <urn: AttributeV alue>
  1481                            ve ntos
  1482                            <! --You may  enter ANY  elements a t this poi nt-->
  1483                            ve rrantque
  1484                         </urn :Attribute Value>
  1485                      </urn:At tribute>
  1486                  < /urn:Actio n>
  1487                  < urn:Enviro nment>
  1488                      <!--Zero  or more r epetitions :-->
  1489                      <urn:Att ribute Att ributeId=" ?" DataTyp e="?" Issu er="?">
  1490                         <!--1  or more r epetitions :-->
  1491                         <urn: AttributeV alue>
  1492                            te mperat
  1493                            <! --You may  enter ANY  elements a t this poi nt-->
  1494                            pe r
  1495                         </urn :Attribute Value>
  1496                      </urn:At tribute>
  1497                  < /urn:Envir onment>
  1498               </ur n:Request>
  1499            </soape nv:Body>
  1500         </soapenv: Envelope>] ]>
  1501        </con:requ est>
  1502        <con:jmsCo nfig 
  1503         JMSDeliver yMode="PER SISTENT"
  1504        />
  1505        <con:jmsPr opertyConf ig/>
  1506        <con:wsaCo nfig 
  1507         mustUnders tand="NONE
  1508         version="2 00508" 
  1509         action="ht tp://conte xthandler. permission .service.s erver.vap. nhin. URL         /XACMLCont extHandler PortType/c heckPolicy Request"
  1510        />
  1511        <con:wsrmC onfig 
  1512         version="1 .2"
  1513        />
  1514       </con:call >
  1515       <con:call 
  1516        name="DocR etrieveIn- AllowedCom munityRequ estor-OptO ut-Deny"
  1517       >
  1518        <con:setti ngs>
  1519         <con:setti ng 
  1520          id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers "
  1521         >
  1522          &lt;xml-fr agment/>
  1523         </con:sett ing>
  1524        </con:sett ings>
  1525        <con:encod ing>
  1526         UTF-8
  1527        </con:enco ding>
  1528        <con:endpo int>
  1529         http:// s e r v er : port /XACMLCont extHandler Service/XA CMLContext HandlerSer vice
  1530        </con:endp oint>
  1531        <con:reque st>
  1532         <![CDATA[< S:Envelope  xmlns:S=" http://sch emas.xmlso ap.org/soa p/envelope /">
  1533            <S:Body >
  1534               <Req uest xmlns :ns2="urn: oasis:name s:tc:xacml :2.0:polic y:schema:o s" xmlns=" urn:oasis: names:tc:x acml:2.0:c ontext:sch ema:os">
  1535                  < Environmen t/><Subjec t SubjectC ategory="u rn:oasis:n ames:tc:xa cml:1.0:su bject-cate gory:acces s-subject" >
  1536                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:h ome-commun ity-id">
  1537                         <Attr ibuteValue >urn:oid:2 .16.840.1. 113883.3.1 90.6.100.1 </Attribut eValue>
  1538                      </Attrib ute>
  1539                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authn- statement: auth-insta nt">
  1540                         <Attr ibuteValue >2011-11-0 3T15:35:18 .423Z</Att ributeValu e>
  1541                      </Attrib ute>
  1542                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authn- statement: session-in dex">
  1543                         <Attr ibuteValue >123456</A ttributeVa lue>
  1544                      </Attrib ute>
  1545                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authn- statement: auth-conte xt-class-r ef">
  1546                         <Attr ibuteValue >urn:oasis :names:tc: SAML:2.0:a c:classes: X509</Attr ibuteValue >
  1547                      </Attrib ute>
  1548                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xacm l:1.0:subj ect:authn- locality:i p-address" >
  1549                         <Attr ibuteValue />
  1550                      </Attrib ute>
  1551                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xacm l:1.0:subj ect:authn- locality:d ns-name">
  1552                         <Attr ibuteValue />
  1553                      </Attrib ute>
  1554                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xacm l:1.0:subj ect:subjec t-id">
  1555                         <Attr ibuteValue >user1</At tributeVal ue>
  1556                      </Attrib ute>
  1557                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:u ser-organi zation-nam e">
  1558                         <Attr ibuteValue >Departmen t of Defen se</Attrib uteValue>
  1559                      </Attrib ute>
  1560                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#anyU RI" Attrib uteId="urn :oasis:nam es:tc:xspa :1.0:subje ct:organiz ation-id">
  1561                         <Attr ibuteValue >urn:oid:2 .16.840.1. 113883.3.1 90.6.100.1 </Attribut eValue>
  1562                      </Attrib ute>
  1563                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#anyU RI" Attrib uteId="htt p://www.hh s.gov/heal thit/nhin# HomeCommun ityId">
  1564                         <Attr ibuteValue >urn:oid:2 .16.840.1. 113883.3.1 90.6.100.1 </Attribut eValue>
  1565                      </Attrib ute>
  1566                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xacm l:2.0:subj ect:role">
  1567                         <Attr ibuteValue >80584001< /Attribute Value>
  1568                      </Attrib ute>
  1569                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:u ser-role-c ode-system ">
  1570                         <Attr ibuteValue >2.16.840. 1.113883.6 .96</Attri buteValue>
  1571                      </Attrib ute>
  1572                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:u ser-role-c ode-system -name">
  1573                         <Attr ibuteValue >SNOMED_CT </Attribut eValue>
  1574                      </Attrib ute>
  1575                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:u ser-role-d escription ">
  1576                         <Attr ibuteValue >Psychiatr ist</Attri buteValue>
  1577                      </Attrib ute>
  1578                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xspa :1.0:subje ct:purpose ofuse">
  1579                         <Attr ibuteValue >TREATMENT </Attribut eValue>
  1580                      </Attrib ute>
  1581                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:p urpose-of- use-code-s ystem">
  1582                         <Attr ibuteValue >2.16.840. 1.113883.3 .18.7.1</A ttributeVa lue>
  1583                      </Attrib ute>
  1584                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:p urpose-of- use-code-s ystem-name ">
  1585                         <Attr ibuteValue >nhin-purp ose</Attri buteValue>
  1586                      </Attrib ute>
  1587                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:p urpose-of- use-displa y-name">
  1588                         <Attr ibuteValue >Use or di sclosure o f Psychoth erapy Note s</Attribu teValue>
  1589                      </Attrib ute>
  1590                  < /Subject>
  1591                  < Resource>
  1592                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:h ome-commun ity-id">
  1593                         <Attr ibuteValue >urn:oid:2 .16.840.1. 113883.4.3 49.2</Attr ibuteValue >
  1594                      </Attrib ute>
  1595                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:d ocument-re pository-i d">
  1596                         <Attr ibuteValue >1</Attrib uteValue>
  1597                      </Attrib ute>
  1598                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:d ocument-id ">
  1599                         <Attr ibuteValue >d32bc9a2- 3f2a-4e5b- 9311-ac66a 18002de</A ttributeVa lue>
  1600                      </Attrib ute>
  1601                      <Attribu te DataTyp e="urn:hl7 -org:v3#II " Attribut eId="http: //www.hhs. gov/health it/nhin#su bject-id">
  1602                         <Attr ibuteValue >
  1603                            <h l7:Patient Id extensi on="12345"  root="urn :oid:2.16. 840.1.1138 83.3.190.6 .100.1" xm lns:ns9="u rn:ihe:iti :xds-b:200 7" xmlns:n s8="urn:oa sis:names: tc:ebxml-r egrep:xsd: rim:3.0" x mlns:ns7=" http://www .hhs.gov/h ealthit/nh in/cdc" xm lns:ns6="h ttp://docs .oasis-ope n.org/wsn/ t-1" xmlns :ns5="http ://docs.oa sis-open.o rg/wsrf/bf -2" xmlns: ns4="http: //docs.oas is-open.or g/wsn/b-2"  xmlns:ns3 ="http://w ww.w3.org/ 2005/08/ad dressing"  xmlns:ns19 ="urn:gov: hhs:fha:nh inc:common :subscript ionb2overr ideforcdc"  xmlns:ns1 8="urn:gov :hhs:fha:n hinc:commo n:nhinccom monadapter " xmlns:ns 17="http:/ /schemas.x mlsoap.org /ws/2004/0 8/addressi ng" xmlns: ns16="urn: gov:hhs:fh a:nhinc:co mmon:nhinc common" xm lns:ns15=" urn:oasis: names:tc:x acml:2.0:c ontext:sch ema:os" xm lns:ns14=" urn:gov:hh s:fha:nhin c:common:s ubscriptio nb2overrid efordocume nts" xmlns :ns13="htt p://nhinc. services.c om/schema/ auditmessa ge" xmlns: ns12="urn: oasis:name s:tc:ebxml -regrep:xs d:query:3. 0" xmlns:n s11="urn:o asis:names :tc:ebxml- regrep:xsd :lcm:3.0"  xmlns:ns10 ="urn:oasi s:names:tc :ebxml-reg rep:xsd:rs :3.0" xmln s:hl7="urn :hl7-org:v 3"/>
  1604                         </Att ributeValu e>
  1605                      </Attrib ute>
  1606                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-d ecision">
  1607                         <Attr ibuteValue >Permit</A ttributeVa lue>
  1608                      </Attrib ute>
  1609                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-r esource">
  1610                         <Attr ibuteValue >https://l ocalhost/C ONNECTGate way/NhinSe rvice/Resp ondingGate way_Retrie ve_Service /DocRetrie ve</Attrib uteValue>
  1611                      </Attrib ute>
  1612                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-a ction">
  1613                         <Attr ibuteValue >Execute</ AttributeV alue>
  1614                      </Attrib ute>
  1615                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-e vidence-as sertion-id ">
  1616                         <Attr ibuteValue >4c720e15- 8b74-49b2- b9b0-aaceb cb79455</A ttributeVa lue>
  1617                      </Attrib ute>
  1618                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-e vidence-as sertion-is sue-instan t">
  1619                         <Attr ibuteValue >2011-11-0 3T15:35:18 .423Z</Att ributeValu e>
  1620                      </Attrib ute>
  1621                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-e vidence-as sertion-ve rsion">
  1622                         <Attr ibuteValue >2.0</Attr ibuteValue >
  1623                      </Attrib ute>
  1624                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-e vidence-as sertion-is suer">
  1625                         <Attr ibuteValue >CN=SAML U ser,OU=SU, O=SAML Use r,L=Los An geles,ST=C A,C=US</At tributeVal ue>
  1626                      </Attrib ute>
  1627                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#date " Attribut eId="urn:g ov:hhs:fha :nhinc:sam l-authz-de cision-sta tement-evi dence-asse rtion-not- before">
  1628                         <Attr ibuteValue >2011-11-0 3T15:35:18 .423Z</Att ributeValu e>
  1629                      </Attrib ute>
  1630                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#date " Attribut eId="urn:g ov:hhs:fha :nhinc:sam l-authz-de cision-sta tement-evi dence-asse rtion-not- on-or-afte r">
  1631                         <Attr ibuteValue >2011-11-0 3T15:35:18 .423Z</Att ributeValu e>
  1632                      </Attrib ute>
  1633                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#anyU RI" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-e vidence-as sertion-ac cess-conse nt">
  1634                         <Attr ibuteValue />
  1635                      </Attrib ute>
  1636                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#anyU RI" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-e vidence-as sertion-in stance-acc ess-consen t">
  1637                         <Attr ibuteValue />
  1638                      </Attrib ute>
  1639                      <Attribu te Attribu teId="urn: oasis:name s:tc:xacml :1.0:resou rce:resour ce-id">
  1640                         <Attr ibuteValue >'10125816 76V377802^ ^^&amp;2.1 6.840.1.11 3883.4.349 .2&amp;ISO '</Attribu teValue>
  1641                      </Attrib ute>
  1642                  < /Resource>
  1643                  < Action>
  1644                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xacm l:1.0:acti on:action- id">
  1645                         <Attr ibuteValue >DocumentR etrieveIn< /Attribute Value>
  1646                      </Attrib ute>
  1647                  < /Action>
  1648               </Re quest>
  1649            </S:Bod y>
  1650         </S:Envelo pe>]]>
  1651        </con:requ est>
  1652        <con:jmsCo nfig 
  1653         JMSDeliver yMode="PER SISTENT"
  1654        />
  1655        <con:jmsPr opertyConf ig/>
  1656        <con:wsaCo nfig 
  1657         mustUnders tand="NONE
  1658         version="2 00508" 
  1659         action="ht tp://conte xthandler. permission .service.s erver.vap. nhin. URL         /XACMLCont extHandler PortType/c heckPolicy Request"
  1660        />
  1661        <con:wsrmC onfig 
  1662         version="1 .2"
  1663        />
  1664       </con:call >
  1665       <con:call 
  1666        name="DocR etrieveIn- AllowedCom munityRequ estor-OptI n-Uncorrel ated-Deny"
  1667       >
  1668        <con:setti ngs>
  1669         <con:setti ng 
  1670          id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers "
  1671         >
  1672          &lt;xml-fr agment/>
  1673         </con:sett ing>
  1674        </con:sett ings>
  1675        <con:encod ing>
  1676         UTF-8
  1677        </con:enco ding>
  1678        <con:endpo int>
  1679         http:// s e r v er : port /XACMLCont extHandler Service/XA CMLContext HandlerSer vice
  1680        </con:endp oint>
  1681        <con:reque st>
  1682         <![CDATA[< S:Envelope  xmlns:S=" http://sch emas.xmlso ap.org/soa p/envelope /">
  1683            <S:Body >
  1684               <Req uest xmlns :ns2="urn: oasis:name s:tc:xacml :2.0:polic y:schema:o s" xmlns=" urn:oasis: names:tc:x acml:2.0:c ontext:sch ema:os">
  1685                  < Environmen t/><Subjec t SubjectC ategory="u rn:oasis:n ames:tc:xa cml:1.0:su bject-cate gory:acces s-subject" >
  1686                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:h ome-commun ity-id">
  1687                         <Attr ibuteValue >urn:oid:1 .3.6.1.4.1 .26580</At tributeVal ue>
  1688                      </Attrib ute>
  1689                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authn- statement: auth-insta nt">
  1690                         <Attr ibuteValue >2011-11-0 3T15:35:18 .423Z</Att ributeValu e>
  1691                      </Attrib ute>
  1692                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authn- statement: session-in dex">
  1693                         <Attr ibuteValue >123456</A ttributeVa lue>
  1694                      </Attrib ute>
  1695                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authn- statement: auth-conte xt-class-r ef">
  1696                         <Attr ibuteValue >urn:oasis :names:tc: SAML:2.0:a c:classes: X509</Attr ibuteValue >
  1697                      </Attrib ute>
  1698                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xacm l:1.0:subj ect:authn- locality:i p-address" >
  1699                         <Attr ibuteValue />
  1700                      </Attrib ute>
  1701                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xacm l:1.0:subj ect:authn- locality:d ns-name">
  1702                         <Attr ibuteValue />
  1703                      </Attrib ute>
  1704                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xacm l:1.0:subj ect:subjec t-id">
  1705                         <Attr ibuteValue >user1</At tributeVal ue>
  1706                      </Attrib ute>
  1707                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:u ser-organi zation-nam e">
  1708                         <Attr ibuteValue >Departmen t of Defen se</Attrib uteValue>
  1709                      </Attrib ute>
  1710                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#anyU RI" Attrib uteId="urn :oasis:nam es:tc:xspa :1.0:subje ct:organiz ation-id">
  1711                         <Attr ibuteValue >urn:oid:1 .3.6.1.4.1 .26580</At tributeVal ue>
  1712                      </Attrib ute>
  1713                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#anyU RI" Attrib uteId="htt p://www.hh s.gov/heal thit/nhin# HomeCommun ityId">
  1714                         <Attr ibuteValue >urn:oid:1 .3.6.1.4.1 .26580</At tributeVal ue>
  1715                      </Attrib ute>
  1716                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xacm l:2.0:subj ect:role">
  1717                         <Attr ibuteValue >80584001< /Attribute Value>
  1718                      </Attrib ute>
  1719                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:u ser-role-c ode-system ">
  1720                         <Attr ibuteValue >2.16.840. 1.113883.6 .96</Attri buteValue>
  1721                      </Attrib ute>
  1722                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:u ser-role-c ode-system -name">
  1723                         <Attr ibuteValue >SNOMED_CT </Attribut eValue>
  1724                      </Attrib ute>
  1725                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:u ser-role-d escription ">
  1726                         <Attr ibuteValue >Psychiatr ist</Attri buteValue>
  1727                      </Attrib ute>
  1728                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xspa :1.0:subje ct:purpose ofuse">
  1729                         <Attr ibuteValue >TREATMENT </Attribut eValue>
  1730                      </Attrib ute>
  1731                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:p urpose-of- use-code-s ystem">
  1732                         <Attr ibuteValue >2.16.840. 1.113883.3 .18.7.1</A ttributeVa lue>
  1733                      </Attrib ute>
  1734                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:p urpose-of- use-code-s ystem-name ">
  1735                         <Attr ibuteValue >nhin-purp ose</Attri buteValue>
  1736                      </Attrib ute>
  1737                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:p urpose-of- use-displa y-name">
  1738                         <Attr ibuteValue >Use or di sclosure o f Psychoth erapy Note s</Attribu teValue>
  1739                      </Attrib ute>
  1740                  < /Subject>
  1741                  < Resource>
  1742                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:h ome-commun ity-id">
  1743                         <Attr ibuteValue >urn:oid:2 .16.840.1. 113883.4.3 49.2</Attr ibuteValue >
  1744                      </Attrib ute>
  1745                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:d ocument-re pository-i d">
  1746                         <Attr ibuteValue >1</Attrib uteValue>
  1747                      </Attrib ute>
  1748                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:d ocument-id ">
  1749                         <Attr ibuteValue >d32bc9a2- 3f2a-4e5b- 9311-ac66a 18002de</A ttributeVa lue>
  1750                      </Attrib ute>
  1751                      <Attribu te DataTyp e="urn:hl7 -org:v3#II " Attribut eId="http: //www.hhs. gov/health it/nhin#su bject-id">
  1752                         <Attr ibuteValue >
  1753                            <h l7:Patient Id extensi on="12345"  root="urn :oid:1.3.6 .1.4.1.265 80" xmlns: ns9="urn:i he:iti:xds -b:2007" x mlns:ns8=" urn:oasis: names:tc:e bxml-regre p:xsd:rim: 3.0" xmlns :ns7="http ://www.hhs .gov/healt hit/nhin/c dc" xmlns: ns6="http: //docs.oas is-open.or g/wsn/t-1"  xmlns:ns5 ="http://d ocs.oasis- open.org/w srf/bf-2"  xmlns:ns4= "http://do cs.oasis-o pen.org/ws n/b-2" xml ns:ns3="ht tp://www.w 3.org/2005 /08/addres sing" xmln s:ns19="ur n:gov:hhs: fha:nhinc: common:sub scriptionb 2overridef orcdc" xml ns:ns18="u rn:gov:hhs :fha:nhinc :common:nh inccommona dapter" xm lns:ns17=" http://sch emas.xmlso ap.org/ws/ 2004/08/ad dressing"  xmlns:ns16 ="urn:gov: hhs:fha:nh inc:common :nhinccomm on" xmlns: ns15="urn: oasis:name s:tc:xacml :2.0:conte xt:schema: os" xmlns: ns14="urn: gov:hhs:fh a:nhinc:co mmon:subsc riptionb2o verridefor documents"  xmlns:ns1 3="http:// nhinc.serv ices.com/s chema/audi tmessage"  xmlns:ns12 ="urn:oasi s:names:tc :ebxml-reg rep:xsd:qu ery:3.0" x mlns:ns11= "urn:oasis :names:tc: ebxml-regr ep:xsd:lcm :3.0" xmln s:ns10="ur n:oasis:na mes:tc:ebx ml-regrep: xsd:rs:3.0 " xmlns:hl 7="urn:hl7 -org:v3"/>
  1754                         </Att ributeValu e>
  1755                      </Attrib ute>
  1756                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-d ecision">
  1757                         <Attr ibuteValue >Permit</A ttributeVa lue>
  1758                      </Attrib ute>
  1759                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-r esource">
  1760                         <Attr ibuteValue >https://l ocalhost/C ONNECTGate way/NhinSe rvice/Resp ondingGate way_Retrie ve_Service /DocRetrie ve</Attrib uteValue>
  1761                      </Attrib ute>
  1762                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-a ction">
  1763                         <Attr ibuteValue >Execute</ AttributeV alue>
  1764                      </Attrib ute>
  1765                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-e vidence-as sertion-id ">
  1766                         <Attr ibuteValue >4c720e15- 8b74-49b2- b9b0-aaceb cb79455</A ttributeVa lue>
  1767                      </Attrib ute>
  1768                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-e vidence-as sertion-is sue-instan t">
  1769                         <Attr ibuteValue >2011-11-0 3T15:35:18 .423Z</Att ributeValu e>
  1770                      </Attrib ute>
  1771                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-e vidence-as sertion-ve rsion">
  1772                         <Attr ibuteValue >2.0</Attr ibuteValue >
  1773                      </Attrib ute>
  1774                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-e vidence-as sertion-is suer">
  1775                         <Attr ibuteValue >CN=SAML U ser,OU=SU, O=SAML Use r,L=Los An geles,ST=C A,C=US</At tributeVal ue>
  1776                      </Attrib ute>
  1777                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#date " Attribut eId="urn:g ov:hhs:fha :nhinc:sam l-authz-de cision-sta tement-evi dence-asse rtion-not- before">
  1778                         <Attr ibuteValue >2011-11-0 3T15:35:18 .423Z</Att ributeValu e>
  1779                      </Attrib ute>
  1780                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#date " Attribut eId="urn:g ov:hhs:fha :nhinc:sam l-authz-de cision-sta tement-evi dence-asse rtion-not- on-or-afte r">
  1781                         <Attr ibuteValue >2011-11-0 3T15:35:18 .423Z</Att ributeValu e>
  1782                      </Attrib ute>
  1783                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#anyU RI" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-e vidence-as sertion-ac cess-conse nt">
  1784                         <Attr ibuteValue />
  1785                      </Attrib ute>
  1786                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#anyU RI" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-e vidence-as sertion-in stance-acc ess-consen t">
  1787                         <Attr ibuteValue />
  1788                      </Attrib ute>
  1789                      <Attribu te Attribu teId="urn: oasis:name s:tc:xacml :1.0:resou rce:resour ce-id">
  1790                         <Attr ibuteValue >'10125816 76V377802^ ^^&amp;2.1 6.840.1.11 3883.4.349 .2&amp;ISO '</Attribu teValue>
  1791                      </Attrib ute>
  1792                  < /Resource>
  1793                  < Action>
  1794                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xacm l:1.0:acti on:action- id">
  1795                         <Attr ibuteValue >DocumentR etrieveIn< /Attribute Value>
  1796                      </Attrib ute>
  1797                  < /Action>
  1798               </Re quest>
  1799            </S:Bod y>
  1800         </S:Envelo pe>]]>
  1801        </con:requ est>
  1802        <con:jmsCo nfig 
  1803         JMSDeliver yMode="PER SISTENT"
  1804        />
  1805        <con:jmsPr opertyConf ig/>
  1806        <con:wsaCo nfig 
  1807         mustUnders tand="NONE
  1808         version="2 00508" 
  1809         action="ht tp://conte xthandler. permission .service.s erver.vap. nhin. URL         /XACMLCont extHandler PortType/c heckPolicy Request"
  1810        />
  1811        <con:wsrmC onfig 
  1812         version="1 .2"
  1813        />
  1814       </con:call >
  1815       <con:call 
  1816        name="DocR etrieveIn- AllowedCom munityRequ estor-OptI n-Permit"
  1817       >
  1818        <con:setti ngs>
  1819         <con:setti ng 
  1820          id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers "
  1821         >
  1822          &lt;xml-fr agment/>
  1823         </con:sett ing>
  1824        </con:sett ings>
  1825        <con:encod ing>
  1826         UTF-8
  1827        </con:enco ding>
  1828        <con:endpo int>
  1829         http:// s e r v er : port /XACMLCont extHandler Service/XA CMLContext HandlerSer vice
  1830        </con:endp oint>
  1831        <con:reque st>
  1832         <![CDATA[< S:Envelope  xmlns:S=" http://sch emas.xmlso ap.org/soa p/envelope /">
  1833            <S:Body >
  1834               <Req uest xmlns :ns2="urn: oasis:name s:tc:xacml :2.0:polic y:schema:o s" xmlns=" urn:oasis: names:tc:x acml:2.0:c ontext:sch ema:os">
  1835                  < Environmen t/><Subjec t SubjectC ategory="u rn:oasis:n ames:tc:xa cml:1.0:su bject-cate gory:acces s-subject" >
  1836                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:h ome-commun ity-id">
  1837                         <Attr ibuteValue >urn:oid:2 .16.840.1. 113883.3.1 90.6.100.1 </Attribut eValue>
  1838                      </Attrib ute>
  1839                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authn- statement: auth-insta nt">
  1840                         <Attr ibuteValue >2011-11-0 3T15:35:18 .423Z</Att ributeValu e>
  1841                      </Attrib ute>
  1842                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authn- statement: session-in dex">
  1843                         <Attr ibuteValue >123456</A ttributeVa lue>
  1844                      </Attrib ute>
  1845                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authn- statement: auth-conte xt-class-r ef">
  1846                         <Attr ibuteValue >urn:oasis :names:tc: SAML:2.0:a c:classes: X509</Attr ibuteValue >
  1847                      </Attrib ute>
  1848                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xacm l:1.0:subj ect:authn- locality:i p-address" >
  1849                         <Attr ibuteValue />
  1850                      </Attrib ute>
  1851                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xacm l:1.0:subj ect:authn- locality:d ns-name">
  1852                         <Attr ibuteValue />
  1853                      </Attrib ute>
  1854                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xacm l:1.0:subj ect:subjec t-id">
  1855                         <Attr ibuteValue >user1</At tributeVal ue>
  1856                      </Attrib ute>
  1857                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:u ser-organi zation-nam e">
  1858                         <Attr ibuteValue >Departmen t of Defen se</Attrib uteValue>
  1859                      </Attrib ute>
  1860                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#anyU RI" Attrib uteId="urn :oasis:nam es:tc:xspa :1.0:subje ct:organiz ation-id">
  1861                         <Attr ibuteValue >urn:oid:2 .16.840.1. 113883.3.1 90.6.100.1 </Attribut eValue>
  1862                      </Attrib ute>
  1863                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#anyU RI" Attrib uteId="htt p://www.hh s.gov/heal thit/nhin# HomeCommun ityId">
  1864                         <Attr ibuteValue >urn:oid:2 .16.840.1. 113883.3.1 90.6.100.1 </Attribut eValue>
  1865                      </Attrib ute>
  1866                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xacm l:2.0:subj ect:role">
  1867                         <Attr ibuteValue >80584001< /Attribute Value>
  1868                      </Attrib ute>
  1869                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:u ser-role-c ode-system ">
  1870                         <Attr ibuteValue >2.16.840. 1.113883.6 .96</Attri buteValue>
  1871                      </Attrib ute>
  1872                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:u ser-role-c ode-system -name">
  1873                         <Attr ibuteValue >SNOMED_CT </Attribut eValue>
  1874                      </Attrib ute>
  1875                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:u ser-role-d escription ">
  1876                         <Attr ibuteValue >Psychiatr ist</Attri buteValue>
  1877                      </Attrib ute>
  1878                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xspa :1.0:subje ct:purpose ofuse">
  1879                         <Attr ibuteValue >TREATMENT </Attribut eValue>
  1880                      </Attrib ute>
  1881                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:p urpose-of- use-code-s ystem">
  1882                         <Attr ibuteValue >2.16.840. 1.113883.3 .18.7.1</A ttributeVa lue>
  1883                      </Attrib ute>
  1884                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:p urpose-of- use-code-s ystem-name ">
  1885                         <Attr ibuteValue >nhin-purp ose</Attri buteValue>
  1886                      </Attrib ute>
  1887                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:p urpose-of- use-displa y-name">
  1888                         <Attr ibuteValue >Use or di sclosure o f Psychoth erapy Note s</Attribu teValue>
  1889                      </Attrib ute>
  1890                  < /Subject>
  1891                  < Resource>
  1892                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:h ome-commun ity-id">
  1893                         <Attr ibuteValue >urn:oid:2 .16.840.1. 113883.4.3 49.2</Attr ibuteValue >
  1894                      </Attrib ute>
  1895                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:d ocument-re pository-i d">
  1896                         <Attr ibuteValue >1</Attrib uteValue>
  1897                      </Attrib ute>
  1898                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:d ocument-id ">
  1899                         <Attr ibuteValue >d32bc9a2- 3f2a-4e5b- 9311-ac66a 18002de</A ttributeVa lue>
  1900                      </Attrib ute>
  1901                      <Attribu te DataTyp e="urn:hl7 -org:v3#II " Attribut eId="http: //www.hhs. gov/health it/nhin#su bject-id">
  1902                         <Attr ibuteValue >
  1903                            <h l7:Patient Id extensi on="12345"  root="urn :oid:2.16. 840.1.1138 83.3.190.6 .100.1" xm lns:ns9="u rn:ihe:iti :xds-b:200 7" xmlns:n s8="urn:oa sis:names: tc:ebxml-r egrep:xsd: rim:3.0" x mlns:ns7=" http://www .hhs.gov/h ealthit/nh in/cdc" xm lns:ns6="h ttp://docs .oasis-ope n.org/wsn/ t-1" xmlns :ns5="http ://docs.oa sis-open.o rg/wsrf/bf -2" xmlns: ns4="http: //docs.oas is-open.or g/wsn/b-2"  xmlns:ns3 ="http://w ww.w3.org/ 2005/08/ad dressing"  xmlns:ns19 ="urn:gov: hhs:fha:nh inc:common :subscript ionb2overr ideforcdc"  xmlns:ns1 8="urn:gov :hhs:fha:n hinc:commo n:nhinccom monadapter " xmlns:ns 17="http:/ /schemas.x mlsoap.org /ws/2004/0 8/addressi ng" xmlns: ns16="urn: gov:hhs:fh a:nhinc:co mmon:nhinc common" xm lns:ns15=" urn:oasis: names:tc:x acml:2.0:c ontext:sch ema:os" xm lns:ns14=" urn:gov:hh s:fha:nhin c:common:s ubscriptio nb2overrid efordocume nts" xmlns :ns13="htt p://nhinc. services.c om/schema/ auditmessa ge" xmlns: ns12="urn: oasis:name s:tc:ebxml -regrep:xs d:query:3. 0" xmlns:n s11="urn:o asis:names :tc:ebxml- regrep:xsd :lcm:3.0"  xmlns:ns10 ="urn:oasi s:names:tc :ebxml-reg rep:xsd:rs :3.0" xmln s:hl7="urn :hl7-org:v 3"/>
  1904                         </Att ributeValu e>
  1905                      </Attrib ute>
  1906                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-d ecision">
  1907                         <Attr ibuteValue >Permit</A ttributeVa lue>
  1908                      </Attrib ute>
  1909                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-r esource">
  1910                         <Attr ibuteValue >https://l ocalhost/C ONNECTGate way/NhinSe rvice/Resp ondingGate way_Retrie ve_Service /DocRetrie ve</Attrib uteValue>
  1911                      </Attrib ute>
  1912                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-a ction">
  1913                         <Attr ibuteValue >Execute</ AttributeV alue>
  1914                      </Attrib ute>
  1915                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-e vidence-as sertion-id ">
  1916                         <Attr ibuteValue >4c720e15- 8b74-49b2- b9b0-aaceb cb79455</A ttributeVa lue>
  1917                      </Attrib ute>
  1918                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-e vidence-as sertion-is sue-instan t">
  1919                         <Attr ibuteValue >2011-11-0 3T15:35:18 .423Z</Att ributeValu e>
  1920                      </Attrib ute>
  1921                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-e vidence-as sertion-ve rsion">
  1922                         <Attr ibuteValue >2.0</Attr ibuteValue >
  1923                      </Attrib ute>
  1924                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-e vidence-as sertion-is suer">
  1925                         <Attr ibuteValue >CN=SAML U ser,OU=SU, O=SAML Use r,L=Los An geles,ST=C A,C=US</At tributeVal ue>
  1926                      </Attrib ute>
  1927                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#date " Attribut eId="urn:g ov:hhs:fha :nhinc:sam l-authz-de cision-sta tement-evi dence-asse rtion-not- before">
  1928                         <Attr ibuteValue >2011-11-0 3T15:35:18 .423Z</Att ributeValu e>
  1929                      </Attrib ute>
  1930                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#date " Attribut eId="urn:g ov:hhs:fha :nhinc:sam l-authz-de cision-sta tement-evi dence-asse rtion-not- on-or-afte r">
  1931                         <Attr ibuteValue >2011-11-0 3T15:35:18 .423Z</Att ributeValu e>
  1932                      </Attrib ute>
  1933                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#anyU RI" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-e vidence-as sertion-ac cess-conse nt">
  1934                         <Attr ibuteValue />
  1935                      </Attrib ute>
  1936                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#anyU RI" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-e vidence-as sertion-in stance-acc ess-consen t">
  1937                         <Attr ibuteValue />
  1938                      </Attrib ute>
  1939                      <Attribu te Attribu teId="urn: oasis:name s:tc:xacml :1.0:resou rce:resour ce-id">
  1940                         <Attr ibuteValue >'10125816 76V377802^ ^^&amp;2.1 6.840.1.11 3883.4.349 .2&amp;ISO '</Attribu teValue>
  1941                      </Attrib ute>
  1942                  < /Resource>
  1943                  < Action>
  1944                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xacm l:1.0:acti on:action- id">
  1945                         <Attr ibuteValue >DocumentR etrieveIn< /Attribute Value>
  1946                      </Attrib ute>
  1947                  < /Action>
  1948               </Re quest>
  1949            </S:Bod y>
  1950         </S:Envelo pe>]]>
  1951        </con:requ est>
  1952        <con:jmsCo nfig 
  1953         JMSDeliver yMode="PER SISTENT"
  1954        />
  1955        <con:jmsPr opertyConf ig/>
  1956        <con:wsaCo nfig 
  1957         mustUnders tand="NONE
  1958         version="2 00508" 
  1959         action="ht tp://conte xthandler. permission .service.s erver.vap. nhin. URL         /XACMLCont extHandler PortType/c heckPolicy Request"
  1960        />
  1961        <con:wsrmC onfig 
  1962         version="1 .2"
  1963        />
  1964       </con:call >
  1965       <con:call 
  1966        name="DocQ ueryOut-DO DResource- OptOut-Per mit"
  1967       >
  1968        <con:setti ngs>
  1969         <con:setti ng 
  1970          id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers "
  1971         >
  1972          &lt;xml-fr agment/>
  1973         </con:sett ing>
  1974        </con:sett ings>
  1975        <con:encod ing>
  1976         UTF-8
  1977        </con:enco ding>
  1978        <con:endpo int>
  1979         http:// s e r v er : port /XACMLCont extHandler Service/XA CMLContext HandlerSer vice
  1980        </con:endp oint>
  1981        <con:reque st>
  1982         <![CDATA[< S:Envelope  xmlns:S=" http://sch emas.xmlso ap.org/soa p/envelope /">
  1983            <S:Body >
  1984               <ns2 :Request x mlns:ns2=" urn:oasis: names:tc:x acml:2.0:c ontext:sch ema:os" xm lns="urn:o asis:names :tc:xacml: 2.0:policy :schema:os ">
  1985                  < ns2:Enviro nment/><ns 2:Subject>
  1986                      <ns2:Att ribute Att ributeId=" urn:oasis: names:tc:x acml:1.0:s ubject:sub ject-id">
  1987                         <ns2: AttributeV alue>984:3 5458</ns2: AttributeV alue>
  1988                      </ns2:At tribute>
  1989                      <ns2:Att ribute Att ributeId=" urn:oasis: names:tc:x spa:1.0:su bject:purp oseofuse">
  1990                         <ns2: AttributeV alue>TREAT MENT</ns2: AttributeV alue>
  1991                      </ns2:At tribute>
  1992                      <ns2:Att ribute Att ributeId=" http://www .hhs.gov/h ealthit/nh in#HomeCom munityId">
  1993                         <ns2: AttributeV alue>urn:o id:2.16.84 0.1.113883 .4.349.2</ ns2:Attrib uteValue>
  1994                      </ns2:At tribute>
  1995                  < /ns2:Subje ct>
  1996                  < ns2:Resour ce>
  1997                      <ns2:Att ribute Att ributeId=" urn:oasis: names:tc:x acml:1.0:r esource:re source-id" >
  1998                         <ns2: AttributeV alue>10125 81676V3778 02^^^&amp; 2.16.840.1 .113883.4. 349&amp;IS O</ns2:Att ributeValu e>
  1999                      </ns2:At tribute>
  2000                      <ns2:Att ribute Att ributeId=" urn:gov:hh s:fha:nhin c:home-com munity-id" >
  2001                         <ns2: AttributeV alue>2.16. 840.1.1138 83.3.42.10 001.100001 .12</ns2:A ttributeVa lue>
  2002                      </ns2:At tribute>
  2003                  < /ns2:Resou rce>
  2004                  < ns2:Action >
  2005                      <ns2:Att ribute Att ributeId=" urn:oasis: names:tc:x acml:1.0:a ction:acti on-id">
  2006                         <ns2: AttributeV alue>Docum entQueryOu t</ns2:Att ributeValu e>
  2007                      </ns2:At tribute>
  2008                  < /ns2:Actio n>
  2009               </ns 2:Request>
  2010            </S:Bod y>
  2011         </S:Envelo pe>]]>
  2012        </con:requ est>
  2013        <con:jmsCo nfig 
  2014         JMSDeliver yMode="PER SISTENT"
  2015        />
  2016        <con:jmsPr opertyConf ig/>
  2017        <con:wsaCo nfig 
  2018         mustUnders tand="NONE
  2019         version="2 00508" 
  2020         action="ht tp://conte xthandler. permission .service.s erver.vap. nhin. URL         /XACMLCont extHandler PortType/c heckPolicy Request"
  2021        />
  2022        <con:wsrmC onfig 
  2023         version="1 .2"
  2024        />
  2025       </con:call >
  2026       <con:call 
  2027        name="DocQ ueryOut-DO DResource- OptIn-Perm it"
  2028       >
  2029        <con:setti ngs>
  2030         <con:setti ng 
  2031          id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers "
  2032         >
  2033          &lt;xml-fr agment/>
  2034         </con:sett ing>
  2035        </con:sett ings>
  2036        <con:encod ing>
  2037         UTF-8
  2038        </con:enco ding>
  2039        <con:endpo int>
  2040         http:// s e r v er : port /XACMLCont extHandler Service/XA CMLContext HandlerSer vice
  2041        </con:endp oint>
  2042        <con:reque st>
  2043         <![CDATA[< S:Envelope  xmlns:S=" http://sch emas.xmlso ap.org/soa p/envelope /">
  2044            <S:Body >
  2045               <ns2 :Request x mlns:ns2=" urn:oasis: names:tc:x acml:2.0:c ontext:sch ema:os" xm lns="urn:o asis:names :tc:xacml: 2.0:policy :schema:os ">
  2046                  < ns2:Enviro nment/><ns 2:Subject>
  2047                      <ns2:Att ribute Att ributeId=" urn:oasis: names:tc:x acml:1.0:s ubject:sub ject-id">
  2048                         <ns2: AttributeV alue>984:3 5458</ns2: AttributeV alue>
  2049                      </ns2:At tribute>
  2050                      <ns2:Att ribute Att ributeId=" urn:oasis: names:tc:x spa:1.0:su bject:purp oseofuse">
  2051                         <ns2: AttributeV alue>TREAT MENT</ns2: AttributeV alue>
  2052                      </ns2:At tribute>
  2053                      <ns2:Att ribute Att ributeId=" http://www .hhs.gov/h ealthit/nh in#HomeCom munityId">
  2054                         <ns2: AttributeV alue>urn:o id:2.16.84 0.1.113883 .4.349.2</ ns2:Attrib uteValue>
  2055                      </ns2:At tribute>
  2056                  < /ns2:Subje ct>
  2057                  < ns2:Resour ce>
  2058                      <ns2:Att ribute Att ributeId=" urn:oasis: names:tc:x acml:1.0:r esource:re source-id" >
  2059                         <ns2: AttributeV alue>10125 81676V3778 02^^^&amp; 2.16.840.1 .113883.4. 349&amp;IS O</ns2:Att ributeValu e>
  2060                      </ns2:At tribute>
  2061                      <ns2:Att ribute Att ributeId=" urn:gov:hh s:fha:nhin c:home-com munity-id" >
  2062                         <ns2: AttributeV alue>2.16. 840.1.1138 83.3.42.10 001.100001 .12</ns2:A ttributeVa lue>
  2063                      </ns2:At tribute>
  2064                  < /ns2:Resou rce>
  2065                  < ns2:Action >
  2066                      <ns2:Att ribute Att ributeId=" urn:oasis: names:tc:x acml:1.0:a ction:acti on-id">
  2067                         <ns2: AttributeV alue>Docum entQueryOu t</ns2:Att ributeValu e>
  2068                      </ns2:At tribute>
  2069                  < /ns2:Actio n>
  2070               </ns 2:Request>
  2071            </S:Bod y>
  2072         </S:Envelo pe>]]>
  2073        </con:requ est>
  2074        <con:jmsCo nfig 
  2075         JMSDeliver yMode="PER SISTENT"
  2076        />
  2077        <con:jmsPr opertyConf ig/>
  2078        <con:wsaCo nfig 
  2079         mustUnders tand="NONE
  2080         version="2 00508" 
  2081         action="ht tp://conte xthandler. permission .service.s erver.vap. nhin. URL         /XACMLCont extHandler PortType/c heckPolicy Request"
  2082        />
  2083        <con:wsrmC onfig 
  2084         version="1 .2"
  2085        />
  2086       </con:call >
  2087       <con:call 
  2088        name="DocQ ueryOut-Al lowedCommu nityResour ce-OptOut- Deny"
  2089       >
  2090        <con:setti ngs>
  2091         <con:setti ng 
  2092          id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers "
  2093         >
  2094          &lt;xml-fr agment/>
  2095         </con:sett ing>
  2096        </con:sett ings>
  2097        <con:encod ing>
  2098         UTF-8
  2099        </con:enco ding>
  2100        <con:endpo int>
  2101         http:// s e r v er : port /XACMLCont extHandler Service/XA CMLContext HandlerSer vice
  2102        </con:endp oint>
  2103        <con:reque st>
  2104         <![CDATA[< S:Envelope  xmlns:S=" http://sch emas.xmlso ap.org/soa p/envelope /">
  2105            <S:Body >
  2106               <ns2 :Request x mlns:ns2=" urn:oasis: names:tc:x acml:2.0:c ontext:sch ema:os" xm lns="urn:o asis:names :tc:xacml: 2.0:policy :schema:os ">
  2107                  < ns2:Enviro nment/><ns 2:Subject>
  2108                      <ns2:Att ribute Att ributeId=" urn:oasis: names:tc:x acml:1.0:s ubject:sub ject-id">
  2109                         <ns2: AttributeV alue>984:3 5458</ns2: AttributeV alue>
  2110                      </ns2:At tribute>
  2111                      <ns2:Att ribute Att ributeId=" urn:oasis: names:tc:x spa:1.0:su bject:purp oseofuse">
  2112                         <ns2: AttributeV alue>TREAT MENT</ns2: AttributeV alue>
  2113                      </ns2:At tribute>
  2114                      <ns2:Att ribute Att ributeId=" http://www .hhs.gov/h ealthit/nh in#HomeCom munityId">
  2115                         <ns2: AttributeV alue>urn:o id:2.16.84 0.1.113883 .4.349.2</ ns2:Attrib uteValue>
  2116                      </ns2:At tribute>
  2117                  < /ns2:Subje ct>
  2118                  < ns2:Resour ce>
  2119                      <ns2:Att ribute Att ributeId=" urn:oasis: names:tc:x acml:1.0:r esource:re source-id" >
  2120                         <ns2: AttributeV alue>10125 81676V3778 02^^^&amp; 2.16.840.1 .113883.4. 349&amp;IS O</ns2:Att ributeValu e>
  2121                      </ns2:At tribute>
  2122                      <ns2:Att ribute Att ributeId=" urn:gov:hh s:fha:nhin c:home-com munity-id" >
  2123                         <ns2: AttributeV alue>1.3.6 .1.4.1.120 09.6.1</ns 2:Attribut eValue>
  2124                      </ns2:At tribute>
  2125                  < /ns2:Resou rce>
  2126                  < ns2:Action >
  2127                      <ns2:Att ribute Att ributeId=" urn:oasis: names:tc:x acml:1.0:a ction:acti on-id">
  2128                         <ns2: AttributeV alue>Docum entQueryOu t</ns2:Att ributeValu e>
  2129                      </ns2:At tribute>
  2130                  < /ns2:Actio n>
  2131               </ns 2:Request>
  2132            </S:Bod y>
  2133         </S:Envelo pe>]]>
  2134        </con:requ est>
  2135        <con:jmsCo nfig 
  2136         JMSDeliver yMode="PER SISTENT"
  2137        />
  2138        <con:jmsPr opertyConf ig/>
  2139        <con:wsaCo nfig 
  2140         mustUnders tand="NONE
  2141         version="2 00508" 
  2142         action="ht tp://conte xthandler. permission .service.s erver.vap. nhin. URL         /XACMLCont extHandler PortType/c heckPolicy Request"
  2143        />
  2144        <con:wsrmC onfig 
  2145         version="1 .2"
  2146        />
  2147       </con:call >
  2148       <con:call 
  2149        name="DocQ ueryOut-Al lowedCommu nityResour ce-OptIn-P ermit"
  2150       >
  2151        <con:setti ngs>
  2152         <con:setti ng 
  2153          id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers "
  2154         >
  2155          &lt;xml-fr agment/>
  2156         </con:sett ing>
  2157        </con:sett ings>
  2158        <con:encod ing>
  2159         UTF-8
  2160        </con:enco ding>
  2161        <con:endpo int>
  2162         http:// s e r v er : port /XACMLCont extHandler Service/XA CMLContext HandlerSer vice
  2163        </con:endp oint>
  2164        <con:reque st>
  2165         <![CDATA[< S:Envelope  xmlns:S=" http://sch emas.xmlso ap.org/soa p/envelope /">
  2166            <S:Body >
  2167               <ns2 :Request x mlns:ns2=" urn:oasis: names:tc:x acml:2.0:c ontext:sch ema:os" xm lns="urn:o asis:names :tc:xacml: 2.0:policy :schema:os ">
  2168                  < ns2:Enviro nment/><ns 2:Subject>
  2169                      <ns2:Att ribute Att ributeId=" urn:oasis: names:tc:x acml:1.0:s ubject:sub ject-id">
  2170                         <ns2: AttributeV alue>984:3 5458</ns2: AttributeV alue>
  2171                      </ns2:At tribute>
  2172                      <ns2:Att ribute Att ributeId=" urn:oasis: names:tc:x spa:1.0:su bject:purp oseofuse">
  2173                         <ns2: AttributeV alue>TREAT MENT</ns2: AttributeV alue>
  2174                      </ns2:At tribute>
  2175                      <ns2:Att ribute Att ributeId=" http://www .hhs.gov/h ealthit/nh in#HomeCom munityId">
  2176                         <ns2: AttributeV alue>urn:o id:2.16.84 0.1.113883 .4.349.2</ ns2:Attrib uteValue>
  2177                      </ns2:At tribute>
  2178                  < /ns2:Subje ct>
  2179                  < ns2:Resour ce>
  2180                      <ns2:Att ribute Att ributeId=" urn:oasis: names:tc:x acml:1.0:r esource:re source-id" >
  2181                         <ns2: AttributeV alue>10125 81676V3778 02^^^&amp; 2.16.840.1 .113883.4. 349&amp;IS O</ns2:Att ributeValu e>
  2182                      </ns2:At tribute>
  2183                      <ns2:Att ribute Att ributeId=" urn:gov:hh s:fha:nhin c:home-com munity-id" >
  2184                         <ns2: AttributeV alue>1.3.6 .1.4.1.120 09.6.1</ns 2:Attribut eValue>
  2185                      </ns2:At tribute>
  2186                  < /ns2:Resou rce>
  2187                  < ns2:Action >
  2188                      <ns2:Att ribute Att ributeId=" urn:oasis: names:tc:x acml:1.0:a ction:acti on-id">
  2189                         <ns2: AttributeV alue>Docum entQueryOu t</ns2:Att ributeValu e>
  2190                      </ns2:At tribute>
  2191                  < /ns2:Actio n>
  2192               </ns 2:Request>
  2193            </S:Bod y>
  2194         </S:Envelo pe>]]>
  2195        </con:requ est>
  2196        <con:jmsCo nfig 
  2197         JMSDeliver yMode="PER SISTENT"
  2198        />
  2199        <con:jmsPr opertyConf ig/>
  2200        <con:wsaCo nfig 
  2201         mustUnders tand="NONE
  2202         version="2 00508" 
  2203         action="ht tp://conte xthandler. permission .service.s erver.vap. nhin. URL         /XACMLCont extHandler PortType/c heckPolicy Request"
  2204        />
  2205        <con:wsrmC onfig 
  2206         version="1 .2"
  2207        />
  2208       </con:call >
  2209       <con:call 
  2210        name="DocQ ueryIn-DOD Requestor- OptOut-Per mit"
  2211       >
  2212        <con:setti ngs>
  2213         <con:setti ng 
  2214          id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers "
  2215         >
  2216          &lt;xml-fr agment/>
  2217         </con:sett ing>
  2218        </con:sett ings>
  2219        <con:encod ing>
  2220         UTF-8
  2221        </con:enco ding>
  2222        <con:endpo int>
  2223         http:// s e r v er : port /XACMLCont extHandler Service/XA CMLContext HandlerSer vice
  2224        </con:endp oint>
  2225        <con:reque st>
  2226         <![CDATA[< S:Envelope  xmlns:S=" http://sch emas.xmlso ap.org/soa p/envelope /">
  2227            <S:Body >
  2228               <Req uest xmlns :ns2="urn: oasis:name s:tc:xacml :2.0:polic y:schema:o s" xmlns=" urn:oasis: names:tc:x acml:2.0:c ontext:sch ema:os">
  2229                  < Environmen t/><Subjec t SubjectC ategory="u rn:oasis:n ames:tc:xa cml:1.0:su bject-cate gory:acces s-subject" >
  2230                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:h ome-commun ity-id">
  2231                         <Attr ibuteValue >urn:oid:2 .16.840.1. 113883.3.4 2.10001.10 0001.12</A ttributeVa lue>
  2232                      </Attrib ute>
  2233                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authn- statement: auth-insta nt">
  2234                         <Attr ibuteValue >2011-11-0 3T15:27:47 .317Z</Att ributeValu e>
  2235                      </Attrib ute>
  2236                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authn- statement: session-in dex">
  2237                         <Attr ibuteValue >123456</A ttributeVa lue>
  2238                      </Attrib ute>
  2239                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authn- statement: auth-conte xt-class-r ef">
  2240                         <Attr ibuteValue >urn:oasis :names:tc: SAML:2.0:a c:classes: X509</Attr ibuteValue >
  2241                      </Attrib ute>
  2242                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xacm l:1.0:subj ect:authn- locality:i p-address" >
  2243                         <Attr ibuteValue />
  2244                      </Attrib ute>
  2245                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xacm l:1.0:subj ect:authn- locality:d ns-name">
  2246                         <Attr ibuteValue />
  2247                      </Attrib ute>
  2248                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xacm l:1.0:subj ect:subjec t-id">
  2249                         <Attr ibuteValue >user1</At tributeVal ue>
  2250                      </Attrib ute>
  2251                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:u ser-organi zation-nam e">
  2252                         <Attr ibuteValue >VA</Attri buteValue>
  2253                      </Attrib ute>
  2254                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#anyU RI" Attrib uteId="urn :oasis:nam es:tc:xspa :1.0:subje ct:organiz ation-id">
  2255                         <Attr ibuteValue >urn:oid:2 .16.840.1. 113883.3.4 2.10001.10 0001.12</A ttributeVa lue>
  2256                      </Attrib ute>
  2257                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#anyU RI" Attrib uteId="htt p://www.hh s.gov/heal thit/nhin# HomeCommun ityId">
  2258                         <Attr ibuteValue >urn:oid:2 .16.840.1. 113883.3.4 2.10001.10 0001.12</A ttributeVa lue>
  2259                      </Attrib ute>
  2260                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xacm l:2.0:subj ect:role">
  2261                         <Attr ibuteValue >80584001< /Attribute Value>
  2262                      </Attrib ute>
  2263                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:u ser-role-c ode-system ">
  2264                         <Attr ibuteValue >2.16.840. 1.113883.6 .96</Attri buteValue>
  2265                      </Attrib ute>
  2266                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:u ser-role-c ode-system -name">
  2267                         <Attr ibuteValue >SNOMED_CT </Attribut eValue>
  2268                      </Attrib ute>
  2269                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:u ser-role-d escription ">
  2270                         <Attr ibuteValue >Psychiatr ist</Attri buteValue>
  2271                      </Attrib ute>
  2272                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xspa :1.0:subje ct:purpose ofuse">
  2273                         <Attr ibuteValue >TREATMENT </Attribut eValue>
  2274                      </Attrib ute>
  2275                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:p urpose-of- use-code-s ystem">
  2276                         <Attr ibuteValue >2.16.840. 1.113883.3 .18.7.1</A ttributeVa lue>
  2277                      </Attrib ute>
  2278                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:p urpose-of- use-code-s ystem-name ">
  2279                         <Attr ibuteValue >nhin-purp ose</Attri buteValue>
  2280                      </Attrib ute>
  2281                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:p urpose-of- use-displa y-name">
  2282                         <Attr ibuteValue >Use or di sclosure o f Psychoth erapy Note s</Attribu teValue>
  2283                      </Attrib ute>
  2284                  < /Subject>
  2285                  < Resource>
  2286                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:a ssigning-a uthority-i d">
  2287                         <Attr ibuteValue >2.16.840. 1.113883.4 .349.2</At tributeVal ue>
  2288                      </Attrib ute>
  2289                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xacm l:1.0:reso urce:resou rce-id">
  2290                         <Attr ibuteValue >101258167 6V377802</ AttributeV alue>
  2291                      </Attrib ute>
  2292                      <Attribu te DataTyp e="urn:hl7 -org:v3#II " Attribut eId="http: //www.hhs. gov/health it/nhin#su bject-id">
  2293                         <Attr ibuteValue >
  2294                            <h l7:Patient Id extensi on="12345"  root="2.1 6.840.1.11 3883.3.42. 10001.1000 01.12" xml ns:ns9="ur n:ihe:iti: xds-b:2007 " xmlns:ns 8="urn:oas is:names:t c:ebxml-re grep:xsd:r im:3.0" xm lns:ns7="h ttp://www. hhs.gov/he althit/nhi n/cdc" xml ns:ns6="ht tp://docs. oasis-open .org/wsn/t -1" xmlns: ns5="http: //docs.oas is-open.or g/wsrf/bf- 2" xmlns:n s4="http:/ /docs.oasi s-open.org /wsn/b-2"  xmlns:ns3= "http://ww w.w3.org/2 005/08/add ressing" x mlns:ns19= "urn:gov:h hs:fha:nhi nc:common: subscripti onb2overri deforcdc"  xmlns:ns18 ="urn:gov: hhs:fha:nh inc:common :nhinccomm onadapter"  xmlns:ns1 7="http:// schemas.xm lsoap.org/ ws/2004/08 /addressin g" xmlns:n s16="urn:g ov:hhs:fha :nhinc:com mon:nhincc ommon" xml ns:ns15="u rn:oasis:n ames:tc:xa cml:2.0:co ntext:sche ma:os" xml ns:ns14="u rn:gov:hhs :fha:nhinc :common:su bscription b2override fordocumen ts" xmlns: ns13="http ://nhinc.s ervices.co m/schema/a uditmessag e" xmlns:n s12="urn:o asis:names :tc:ebxml- regrep:xsd :query:3.0 " xmlns:ns 11="urn:oa sis:names: tc:ebxml-r egrep:xsd: lcm:3.0" x mlns:ns10= "urn:oasis :names:tc: ebxml-regr ep:xsd:rs: 3.0" xmlns :hl7="urn: hl7-org:v3 "/>
  2295                         </Att ributeValu e>
  2296                      </Attrib ute>
  2297                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-d ecision">
  2298                         <Attr ibuteValue >Permit</A ttributeVa lue>
  2299                      </Attrib ute>
  2300                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-r esource">
  2301                         <Attr ibuteValue >https://l ocalhost/C ONNECTGate way/NhinSe rvice/Resp ondingGate way_Query_ Service/Do cQuery</At tributeVal ue>
  2302                      </Attrib ute>
  2303                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-a ction">
  2304                         <Attr ibuteValue >Execute</ AttributeV alue>
  2305                      </Attrib ute>
  2306                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-e vidence-as sertion-id ">
  2307                         <Attr ibuteValue >fbc6cd69- c0c7-4546- b459-159a5 4f859b1</A ttributeVa lue>
  2308                      </Attrib ute>
  2309                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-e vidence-as sertion-is sue-instan t">
  2310                         <Attr ibuteValue >2011-11-0 3T15:27:47 .317Z</Att ributeValu e>
  2311                      </Attrib ute>
  2312                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-e vidence-as sertion-ve rsion">
  2313                         <Attr ibuteValue >2.0</Attr ibuteValue >
  2314                      </Attrib ute>
  2315                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-e vidence-as sertion-is suer">
  2316                         <Attr ibuteValue >CN=SAML U ser,OU=SU, O=SAML Use r,L=Los An geles,ST=C A,C=US</At tributeVal ue>
  2317                      </Attrib ute>
  2318                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#date " Attribut eId="urn:g ov:hhs:fha :nhinc:sam l-authz-de cision-sta tement-evi dence-asse rtion-not- before">
  2319                         <Attr ibuteValue >2011-11-0 3T15:27:47 .317Z</Att ributeValu e>
  2320                      </Attrib ute>
  2321                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#date " Attribut eId="urn:g ov:hhs:fha :nhinc:sam l-authz-de cision-sta tement-evi dence-asse rtion-not- on-or-afte r">
  2322                         <Attr ibuteValue >2011-11-0 3T15:27:47 .317Z</Att ributeValu e>
  2323                      </Attrib ute>
  2324                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#anyU RI" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-e vidence-as sertion-ac cess-conse nt">
  2325                         <Attr ibuteValue />
  2326                      </Attrib ute>
  2327                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#anyU RI" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-e vidence-as sertion-in stance-acc ess-consen t">
  2328                         <Attr ibuteValue />
  2329                      </Attrib ute>
  2330                  < /Resource>
  2331                  < Action>
  2332                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xacm l:1.0:acti on:action- id">
  2333                         <Attr ibuteValue >DocumentQ ueryIn</At tributeVal ue>
  2334                      </Attrib ute>
  2335                  < /Action>
  2336               </Re quest>
  2337            </S:Bod y>
  2338         </S:Envelo pe>]]>
  2339        </con:requ est>
  2340        <con:jmsCo nfig 
  2341         JMSDeliver yMode="PER SISTENT"
  2342        />
  2343        <con:jmsPr opertyConf ig/>
  2344        <con:wsaCo nfig 
  2345         mustUnders tand="NONE
  2346         version="2 00508" 
  2347         action="ht tp://conte xthandler. permission .service.s erver.vap. nhin. URL         /XACMLCont extHandler PortType/c heckPolicy Request"
  2348        />
  2349        <con:wsrmC onfig 
  2350         version="1 .2"
  2351        />
  2352       </con:call >
  2353       <con:call 
  2354        name="DocQ ueryIn-DOD Requestor- OptIn-Perm it"
  2355       >
  2356        <con:setti ngs>
  2357         <con:setti ng 
  2358          id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers "
  2359         >
  2360          &lt;xml-fr agment/>
  2361         </con:sett ing>
  2362        </con:sett ings>
  2363        <con:encod ing>
  2364         UTF-8
  2365        </con:enco ding>
  2366        <con:endpo int>
  2367         http:// s e r v er : port /XACMLCont extHandler Service/XA CMLContext HandlerSer vice
  2368        </con:endp oint>
  2369        <con:reque st>
  2370         <![CDATA[< S:Envelope  xmlns:S=" http://sch emas.xmlso ap.org/soa p/envelope /">
  2371            <S:Body >
  2372               <Req uest xmlns :ns2="urn: oasis:name s:tc:xacml :2.0:polic y:schema:o s" xmlns=" urn:oasis: names:tc:x acml:2.0:c ontext:sch ema:os">
  2373                  < Environmen t/><Subjec t SubjectC ategory="u rn:oasis:n ames:tc:xa cml:1.0:su bject-cate gory:acces s-subject" >
  2374                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:h ome-commun ity-id">
  2375                         <Attr ibuteValue >urn:oid:2 .16.840.1. 113883.3.4 2.10001.10 0001.12</A ttributeVa lue>
  2376                      </Attrib ute>
  2377                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authn- statement: auth-insta nt">
  2378                         <Attr ibuteValue >2011-11-0 3T15:27:47 .317Z</Att ributeValu e>
  2379                      </Attrib ute>
  2380                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authn- statement: session-in dex">
  2381                         <Attr ibuteValue >123456</A ttributeVa lue>
  2382                      </Attrib ute>
  2383                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authn- statement: auth-conte xt-class-r ef">
  2384                         <Attr ibuteValue >urn:oasis :names:tc: SAML:2.0:a c:classes: X509</Attr ibuteValue >
  2385                      </Attrib ute>
  2386                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xacm l:1.0:subj ect:authn- locality:i p-address" >
  2387                         <Attr ibuteValue />
  2388                      </Attrib ute>
  2389                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xacm l:1.0:subj ect:authn- locality:d ns-name">
  2390                         <Attr ibuteValue />
  2391                      </Attrib ute>
  2392                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xacm l:1.0:subj ect:subjec t-id">
  2393                         <Attr ibuteValue >user1</At tributeVal ue>
  2394                      </Attrib ute>
  2395                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:u ser-organi zation-nam e">
  2396                         <Attr ibuteValue >VA</Attri buteValue>
  2397                      </Attrib ute>
  2398                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#anyU RI" Attrib uteId="urn :oasis:nam es:tc:xspa :1.0:subje ct:organiz ation-id">
  2399                         <Attr ibuteValue >urn:oid:2 .16.840.1. 113883.3.4 2.10001.10 0001.12</A ttributeVa lue>
  2400                      </Attrib ute>
  2401                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#anyU RI" Attrib uteId="htt p://www.hh s.gov/heal thit/nhin# HomeCommun ityId">
  2402                         <Attr ibuteValue >urn:oid:2 .16.840.1. 113883.3.4 2.10001.10 0001.12</A ttributeVa lue>
  2403                      </Attrib ute>
  2404                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xacm l:2.0:subj ect:role">
  2405                         <Attr ibuteValue >80584001< /Attribute Value>
  2406                      </Attrib ute>
  2407                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:u ser-role-c ode-system ">
  2408                         <Attr ibuteValue >2.16.840. 1.113883.6 .96</Attri buteValue>
  2409                      </Attrib ute>
  2410                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:u ser-role-c ode-system -name">
  2411                         <Attr ibuteValue >SNOMED_CT </Attribut eValue>
  2412                      </Attrib ute>
  2413                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:u ser-role-d escription ">
  2414                         <Attr ibuteValue >Psychiatr ist</Attri buteValue>
  2415                      </Attrib ute>
  2416                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xspa :1.0:subje ct:purpose ofuse">
  2417                         <Attr ibuteValue >TREATMENT </Attribut eValue>
  2418                      </Attrib ute>
  2419                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:p urpose-of- use-code-s ystem">
  2420                         <Attr ibuteValue >2.16.840. 1.113883.3 .18.7.1</A ttributeVa lue>
  2421                      </Attrib ute>
  2422                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:p urpose-of- use-code-s ystem-name ">
  2423                         <Attr ibuteValue >nhin-purp ose</Attri buteValue>
  2424                      </Attrib ute>
  2425                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:p urpose-of- use-displa y-name">
  2426                         <Attr ibuteValue >Use or di sclosure o f Psychoth erapy Note s</Attribu teValue>
  2427                      </Attrib ute>
  2428                  < /Subject>
  2429                  < Resource>
  2430                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:a ssigning-a uthority-i d">
  2431                         <Attr ibuteValue >2.16.840. 1.113883.4 .349.2</At tributeVal ue>
  2432                      </Attrib ute>
  2433                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xacm l:1.0:reso urce:resou rce-id">
  2434                         <Attr ibuteValue >101258167 6V377802</ AttributeV alue>
  2435                      </Attrib ute>
  2436                      <Attribu te DataTyp e="urn:hl7 -org:v3#II " Attribut eId="http: //www.hhs. gov/health it/nhin#su bject-id">
  2437                         <Attr ibuteValue >
  2438                            <h l7:Patient Id extensi on="12345"  root="2.1 6.840.1.11 3883.3.42. 10001.1000 01.12" xml ns:ns9="ur n:ihe:iti: xds-b:2007 " xmlns:ns 8="urn:oas is:names:t c:ebxml-re grep:xsd:r im:3.0" xm lns:ns7="h ttp://www. hhs.gov/he althit/nhi n/cdc" xml ns:ns6="ht tp://docs. oasis-open .org/wsn/t -1" xmlns: ns5="http: //docs.oas is-open.or g/wsrf/bf- 2" xmlns:n s4="http:/ /docs.oasi s-open.org /wsn/b-2"  xmlns:ns3= "http://ww w.w3.org/2 005/08/add ressing" x mlns:ns19= "urn:gov:h hs:fha:nhi nc:common: subscripti onb2overri deforcdc"  xmlns:ns18 ="urn:gov: hhs:fha:nh inc:common :nhinccomm onadapter"  xmlns:ns1 7="http:// schemas.xm lsoap.org/ ws/2004/08 /addressin g" xmlns:n s16="urn:g ov:hhs:fha :nhinc:com mon:nhincc ommon" xml ns:ns15="u rn:oasis:n ames:tc:xa cml:2.0:co ntext:sche ma:os" xml ns:ns14="u rn:gov:hhs :fha:nhinc :common:su bscription b2override fordocumen ts" xmlns: ns13="http ://nhinc.s ervices.co m/schema/a uditmessag e" xmlns:n s12="urn:o asis:names :tc:ebxml- regrep:xsd :query:3.0 " xmlns:ns 11="urn:oa sis:names: tc:ebxml-r egrep:xsd: lcm:3.0" x mlns:ns10= "urn:oasis :names:tc: ebxml-regr ep:xsd:rs: 3.0" xmlns :hl7="urn: hl7-org:v3 "/>
  2439                         </Att ributeValu e>
  2440                      </Attrib ute>
  2441                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-d ecision">
  2442                         <Attr ibuteValue >Permit</A ttributeVa lue>
  2443                      </Attrib ute>
  2444                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-r esource">
  2445                         <Attr ibuteValue >https://l ocalhost/C ONNECTGate way/NhinSe rvice/Resp ondingGate way_Query_ Service/Do cQuery</At tributeVal ue>
  2446                      </Attrib ute>
  2447                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-a ction">
  2448                         <Attr ibuteValue >Execute</ AttributeV alue>
  2449                      </Attrib ute>
  2450                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-e vidence-as sertion-id ">
  2451                         <Attr ibuteValue >fbc6cd69- c0c7-4546- b459-159a5 4f859b1</A ttributeVa lue>
  2452                      </Attrib ute>
  2453                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-e vidence-as sertion-is sue-instan t">
  2454                         <Attr ibuteValue >2011-11-0 3T15:27:47 .317Z</Att ributeValu e>
  2455                      </Attrib ute>
  2456                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-e vidence-as sertion-ve rsion">
  2457                         <Attr ibuteValue >2.0</Attr ibuteValue >
  2458                      </Attrib ute>
  2459                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-e vidence-as sertion-is suer">
  2460                         <Attr ibuteValue >CN=SAML U ser,OU=SU, O=SAML Use r,L=Los An geles,ST=C A,C=US</At tributeVal ue>
  2461                      </Attrib ute>
  2462                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#date " Attribut eId="urn:g ov:hhs:fha :nhinc:sam l-authz-de cision-sta tement-evi dence-asse rtion-not- before">
  2463                         <Attr ibuteValue >2011-11-0 3T15:27:47 .317Z</Att ributeValu e>
  2464                      </Attrib ute>
  2465                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#date " Attribut eId="urn:g ov:hhs:fha :nhinc:sam l-authz-de cision-sta tement-evi dence-asse rtion-not- on-or-afte r">
  2466                         <Attr ibuteValue >2011-11-0 3T15:27:47 .317Z</Att ributeValu e>
  2467                      </Attrib ute>
  2468                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#anyU RI" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-e vidence-as sertion-ac cess-conse nt">
  2469                         <Attr ibuteValue />
  2470                      </Attrib ute>
  2471                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#anyU RI" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-e vidence-as sertion-in stance-acc ess-consen t">
  2472                         <Attr ibuteValue />
  2473                      </Attrib ute>
  2474                  < /Resource>
  2475                  < Action>
  2476                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xacm l:1.0:acti on:action- id">
  2477                         <Attr ibuteValue >DocumentQ ueryIn</At tributeVal ue>
  2478                      </Attrib ute>
  2479                  < /Action>
  2480               </Re quest>
  2481            </S:Bod y>
  2482         </S:Envelo pe>]]>
  2483        </con:requ est>
  2484        <con:jmsCo nfig 
  2485         JMSDeliver yMode="PER SISTENT"
  2486        />
  2487        <con:jmsPr opertyConf ig/>
  2488        <con:wsaCo nfig 
  2489         mustUnders tand="NONE
  2490         version="2 00508" 
  2491         action="ht tp://conte xthandler. permission .service.s erver.vap. nhin. URL         /XACMLCont extHandler PortType/c heckPolicy Request"
  2492        />
  2493        <con:wsrmC onfig 
  2494         version="1 .2"
  2495        />
  2496       </con:call >
  2497       <con:call 
  2498        name="DocQ ueryIn-All owedCommun ityRequest or-Unsuppo rtedPOU-De ny"
  2499       >
  2500        <con:setti ngs>
  2501         <con:setti ng 
  2502          id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers "
  2503         >
  2504          &lt;xml-fr agment/>
  2505         </con:sett ing>
  2506        </con:sett ings>
  2507        <con:encod ing>
  2508         UTF-8
  2509        </con:enco ding>
  2510        <con:endpo int>
  2511         http:// s e r v er : port /XACMLCont extHandler Service/XA CMLContext HandlerSer vice
  2512        </con:endp oint>
  2513        <con:reque st>
  2514         <![CDATA[< S:Envelope  xmlns:S=" http://sch emas.xmlso ap.org/soa p/envelope /">
  2515            <S:Body >
  2516               <Req uest xmlns :ns2="urn: oasis:name s:tc:xacml :2.0:polic y:schema:o s" xmlns=" urn:oasis: names:tc:x acml:2.0:c ontext:sch ema:os">
  2517                  < Environmen t/><Subjec t SubjectC ategory="u rn:oasis:n ames:tc:xa cml:1.0:su bject-cate gory:acces s-subject" >
  2518                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:h ome-commun ity-id">
  2519                         <Attr ibuteValue >urn:oid:2 .16.840.1. 113883.3.1 90.6.100.1 </Attribut eValue>
  2520                      </Attrib ute>
  2521                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authn- statement: auth-insta nt">
  2522                         <Attr ibuteValue >2011-11-0 3T15:27:47 .317Z</Att ributeValu e>
  2523                      </Attrib ute>
  2524                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authn- statement: session-in dex">
  2525                         <Attr ibuteValue >123456</A ttributeVa lue>
  2526                      </Attrib ute>
  2527                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authn- statement: auth-conte xt-class-r ef">
  2528                         <Attr ibuteValue >urn:oasis :names:tc: SAML:2.0:a c:classes: X509</Attr ibuteValue >
  2529                      </Attrib ute>
  2530                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xacm l:1.0:subj ect:authn- locality:i p-address" >
  2531                         <Attr ibuteValue />
  2532                      </Attrib ute>
  2533                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xacm l:1.0:subj ect:authn- locality:d ns-name">
  2534                         <Attr ibuteValue />
  2535                      </Attrib ute>
  2536                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xacm l:1.0:subj ect:subjec t-id">
  2537                         <Attr ibuteValue >user1</At tributeVal ue>
  2538                      </Attrib ute>
  2539                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:u ser-organi zation-nam e">
  2540                         <Attr ibuteValue >VA</Attri buteValue>
  2541                      </Attrib ute>
  2542                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#anyU RI" Attrib uteId="urn :oasis:nam es:tc:xspa :1.0:subje ct:organiz ation-id">
  2543                         <Attr ibuteValue >urn:oid:2 .16.840.1. 113883.3.1 90.6.100.1 </Attribut eValue>
  2544                      </Attrib ute>
  2545                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#anyU RI" Attrib uteId="htt p://www.hh s.gov/heal thit/nhin# HomeCommun ityId">
  2546                         <Attr ibuteValue >urn:oid:2 .16.840.1. 113883.3.1 90.6.100.1 </Attribut eValue>
  2547                      </Attrib ute>
  2548                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xacm l:2.0:subj ect:role">
  2549                         <Attr ibuteValue >80584001< /Attribute Value>
  2550                      </Attrib ute>
  2551                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:u ser-role-c ode-system ">
  2552                         <Attr ibuteValue >2.16.840. 1.113883.6 .96</Attri buteValue>
  2553                      </Attrib ute>
  2554                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:u ser-role-c ode-system -name">
  2555                         <Attr ibuteValue >SNOMED_CT </Attribut eValue>
  2556                      </Attrib ute>
  2557                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:u ser-role-d escription ">
  2558                         <Attr ibuteValue >Psychiatr ist</Attri buteValue>
  2559                      </Attrib ute>
  2560                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xspa :1.0:subje ct:purpose ofuse">
  2561                         <Attr ibuteValue >PUBLICHEA LTH</Attri buteValue>
  2562                      </Attrib ute>
  2563                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:p urpose-of- use-code-s ystem">
  2564                         <Attr ibuteValue >2.16.840. 1.113883.3 .18.7.1</A ttributeVa lue>
  2565                      </Attrib ute>
  2566                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:p urpose-of- use-code-s ystem-name ">
  2567                         <Attr ibuteValue >nhin-purp ose</Attri buteValue>
  2568                      </Attrib ute>
  2569                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:p urpose-of- use-displa y-name">
  2570                         <Attr ibuteValue >Use or di sclosure o f Psychoth erapy Note s</Attribu teValue>
  2571                      </Attrib ute>
  2572                  < /Subject>
  2573                  < Resource>
  2574                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:a ssigning-a uthority-i d">
  2575                         <Attr ibuteValue >2.16.840. 1.113883.4 .349.2</At tributeVal ue>
  2576                      </Attrib ute>
  2577                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xacm l:1.0:reso urce:resou rce-id">
  2578                         <Attr ibuteValue >101258167 6V377802</ AttributeV alue>
  2579                      </Attrib ute>
  2580                      <Attribu te DataTyp e="urn:hl7 -org:v3#II " Attribut eId="http: //www.hhs. gov/health it/nhin#su bject-id">
  2581                         <Attr ibuteValue >
  2582                            <h l7:Patient Id extensi on="12345"  root="2.1 6.840.1.11 3883.3.190 .6.100.1"  xmlns:ns9= "urn:ihe:i ti:xds-b:2 007" xmlns :ns8="urn: oasis:name s:tc:ebxml -regrep:xs d:rim:3.0"  xmlns:ns7 ="http://w ww.hhs.gov /healthit/ nhin/cdc"  xmlns:ns6= "http://do cs.oasis-o pen.org/ws n/t-1" xml ns:ns5="ht tp://docs. oasis-open .org/wsrf/ bf-2" xmln s:ns4="htt p://docs.o asis-open. org/wsn/b- 2" xmlns:n s3="http:/ /www.w3.or g/2005/08/ addressing " xmlns:ns 19="urn:go v:hhs:fha: nhinc:comm on:subscri ptionb2ove rrideforcd c" xmlns:n s18="urn:g ov:hhs:fha :nhinc:com mon:nhincc ommonadapt er" xmlns: ns17="http ://schemas .xmlsoap.o rg/ws/2004 /08/addres sing" xmln s:ns16="ur n:gov:hhs: fha:nhinc: common:nhi nccommon"  xmlns:ns15 ="urn:oasi s:names:tc :xacml:2.0 :context:s chema:os"  xmlns:ns14 ="urn:gov: hhs:fha:nh inc:common :subscript ionb2overr idefordocu ments" xml ns:ns13="h ttp://nhin c.services .com/schem a/auditmes sage" xmln s:ns12="ur n:oasis:na mes:tc:ebx ml-regrep: xsd:query: 3.0" xmlns :ns11="urn :oasis:nam es:tc:ebxm l-regrep:x sd:lcm:3.0 " xmlns:ns 10="urn:oa sis:names: tc:ebxml-r egrep:xsd: rs:3.0" xm lns:hl7="u rn:hl7-org :v3"/>
  2583                         </Att ributeValu e>
  2584                      </Attrib ute>
  2585                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-d ecision">
  2586                         <Attr ibuteValue >Permit</A ttributeVa lue>
  2587                      </Attrib ute>
  2588                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-r esource">
  2589                         <Attr ibuteValue >https://l ocalhost/C ONNECTGate way/NhinSe rvice/Resp ondingGate way_Query_ Service/Do cQuery</At tributeVal ue>
  2590                      </Attrib ute>
  2591                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-a ction">
  2592                         <Attr ibuteValue >Execute</ AttributeV alue>
  2593                      </Attrib ute>
  2594                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-e vidence-as sertion-id ">
  2595                         <Attr ibuteValue >fbc6cd69- c0c7-4546- b459-159a5 4f859b1</A ttributeVa lue>
  2596                      </Attrib ute>
  2597                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-e vidence-as sertion-is sue-instan t">
  2598                         <Attr ibuteValue >2011-11-0 3T15:27:47 .317Z</Att ributeValu e>
  2599                      </Attrib ute>
  2600                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-e vidence-as sertion-ve rsion">
  2601                         <Attr ibuteValue >2.0</Attr ibuteValue >
  2602                      </Attrib ute>
  2603                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-e vidence-as sertion-is suer">
  2604                         <Attr ibuteValue >CN=SAML U ser,OU=SU, O=SAML Use r,L=Los An geles,ST=C A,C=US</At tributeVal ue>
  2605                      </Attrib ute>
  2606                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#date " Attribut eId="urn:g ov:hhs:fha :nhinc:sam l-authz-de cision-sta tement-evi dence-asse rtion-not- before">
  2607                         <Attr ibuteValue >2011-11-0 3T15:27:47 .317Z</Att ributeValu e>
  2608                      </Attrib ute>
  2609                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#date " Attribut eId="urn:g ov:hhs:fha :nhinc:sam l-authz-de cision-sta tement-evi dence-asse rtion-not- on-or-afte r">
  2610                         <Attr ibuteValue >2011-11-0 3T15:27:47 .317Z</Att ributeValu e>
  2611                      </Attrib ute>
  2612                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#anyU RI" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-e vidence-as sertion-ac cess-conse nt">
  2613                         <Attr ibuteValue />
  2614                      </Attrib ute>
  2615                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#anyU RI" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-e vidence-as sertion-in stance-acc ess-consen t">
  2616                         <Attr ibuteValue />
  2617                      </Attrib ute>
  2618                  < /Resource>
  2619                  < Action>
  2620                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xacm l:1.0:acti on:action- id">
  2621                         <Attr ibuteValue >DocumentQ ueryIn</At tributeVal ue>
  2622                      </Attrib ute>
  2623                  < /Action>
  2624               </Re quest>
  2625            </S:Bod y>
  2626         </S:Envelo pe>]]>
  2627        </con:requ est>
  2628        <con:jmsCo nfig 
  2629         JMSDeliver yMode="PER SISTENT"
  2630        />
  2631        <con:jmsPr opertyConf ig/>
  2632        <con:wsaCo nfig 
  2633         mustUnders tand="NONE
  2634         version="2 00508" 
  2635         action="ht tp://conte xthandler. permission .service.s erver.vap. nhin. URL         /XACMLCont extHandler PortType/c heckPolicy Request"
  2636        />
  2637        <con:wsrmC onfig 
  2638         version="1 .2"
  2639        />
  2640       </con:call >
  2641       <con:call 
  2642        name="DocQ ueryIn-All owedCommun ityRequest or-OptOut- Deny"
  2643       >
  2644        <con:setti ngs>
  2645         <con:setti ng 
  2646          id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers "
  2647         >
  2648          &lt;xml-fr agment/>
  2649         </con:sett ing>
  2650        </con:sett ings>
  2651        <con:encod ing>
  2652         UTF-8
  2653        </con:enco ding>
  2654        <con:endpo int>
  2655         http:// s e r v er : port /XACMLCont extHandler Service/XA CMLContext HandlerSer vice
  2656        </con:endp oint>
  2657        <con:reque st>
  2658         <![CDATA[< S:Envelope  xmlns:S=" http://sch emas.xmlso ap.org/soa p/envelope /">
  2659            <S:Body >
  2660               <Req uest xmlns :ns2="urn: oasis:name s:tc:xacml :2.0:polic y:schema:o s" xmlns=" urn:oasis: names:tc:x acml:2.0:c ontext:sch ema:os">
  2661                  < Environmen t/><Subjec t SubjectC ategory="u rn:oasis:n ames:tc:xa cml:1.0:su bject-cate gory:acces s-subject" >
  2662                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:h ome-commun ity-id">
  2663                         <Attr ibuteValue >urn:oid:2 .16.840.1. 113883.3.1 90.6.100.1 </Attribut eValue>
  2664                      </Attrib ute>
  2665                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authn- statement: auth-insta nt">
  2666                         <Attr ibuteValue >2011-11-0 3T15:27:47 .317Z</Att ributeValu e>
  2667                      </Attrib ute>
  2668                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authn- statement: session-in dex">
  2669                         <Attr ibuteValue >123456</A ttributeVa lue>
  2670                      </Attrib ute>
  2671                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authn- statement: auth-conte xt-class-r ef">
  2672                         <Attr ibuteValue >urn:oasis :names:tc: SAML:2.0:a c:classes: X509</Attr ibuteValue >
  2673                      </Attrib ute>
  2674                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xacm l:1.0:subj ect:authn- locality:i p-address" >
  2675                         <Attr ibuteValue />
  2676                      </Attrib ute>
  2677                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xacm l:1.0:subj ect:authn- locality:d ns-name">
  2678                         <Attr ibuteValue />
  2679                      </Attrib ute>
  2680                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xacm l:1.0:subj ect:subjec t-id">
  2681                         <Attr ibuteValue >user1</At tributeVal ue>
  2682                      </Attrib ute>
  2683                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:u ser-organi zation-nam e">
  2684                         <Attr ibuteValue >VA</Attri buteValue>
  2685                      </Attrib ute>
  2686                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#anyU RI" Attrib uteId="urn :oasis:nam es:tc:xspa :1.0:subje ct:organiz ation-id">
  2687                         <Attr ibuteValue >urn:oid:2 .16.840.1. 113883.3.1 90.6.100.1 </Attribut eValue>
  2688                      </Attrib ute>
  2689                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#anyU RI" Attrib uteId="htt p://www.hh s.gov/heal thit/nhin# HomeCommun ityId">
  2690                         <Attr ibuteValue >urn:oid:2 .16.840.1. 113883.3.1 90.6.100.1 </Attribut eValue>
  2691                      </Attrib ute>
  2692                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xacm l:2.0:subj ect:role">
  2693                         <Attr ibuteValue >80584001< /Attribute Value>
  2694                      </Attrib ute>
  2695                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:u ser-role-c ode-system ">
  2696                         <Attr ibuteValue >2.16.840. 1.113883.6 .96</Attri buteValue>
  2697                      </Attrib ute>
  2698                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:u ser-role-c ode-system -name">
  2699                         <Attr ibuteValue >SNOMED_CT </Attribut eValue>
  2700                      </Attrib ute>
  2701                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:u ser-role-d escription ">
  2702                         <Attr ibuteValue >Psychiatr ist</Attri buteValue>
  2703                      </Attrib ute>
  2704                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xspa :1.0:subje ct:purpose ofuse">
  2705                         <Attr ibuteValue >TREATMENT </Attribut eValue>
  2706                      </Attrib ute>
  2707                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:p urpose-of- use-code-s ystem">
  2708                         <Attr ibuteValue >2.16.840. 1.113883.3 .18.7.1</A ttributeVa lue>
  2709                      </Attrib ute>
  2710                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:p urpose-of- use-code-s ystem-name ">
  2711                         <Attr ibuteValue >nhin-purp ose</Attri buteValue>
  2712                      </Attrib ute>
  2713                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:p urpose-of- use-displa y-name">
  2714                         <Attr ibuteValue >Use or di sclosure o f Psychoth erapy Note s</Attribu teValue>
  2715                      </Attrib ute>
  2716                  < /Subject>
  2717                  < Resource>
  2718                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:a ssigning-a uthority-i d">
  2719                         <Attr ibuteValue >2.16.840. 1.113883.4 .349.2</At tributeVal ue>
  2720                      </Attrib ute>
  2721                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xacm l:1.0:reso urce:resou rce-id">
  2722                         <Attr ibuteValue >101258167 6V377802</ AttributeV alue>
  2723                      </Attrib ute>
  2724                      <Attribu te DataTyp e="urn:hl7 -org:v3#II " Attribut eId="http: //www.hhs. gov/health it/nhin#su bject-id">
  2725                         <Attr ibuteValue >
  2726                            <h l7:Patient Id extensi on="12345"  root="2.1 6.840.1.11 3883.3.190 .6.100.1"  xmlns:ns9= "urn:ihe:i ti:xds-b:2 007" xmlns :ns8="urn: oasis:name s:tc:ebxml -regrep:xs d:rim:3.0"  xmlns:ns7 ="http://w ww.hhs.gov /healthit/ nhin/cdc"  xmlns:ns6= "http://do cs.oasis-o pen.org/ws n/t-1" xml ns:ns5="ht tp://docs. oasis-open .org/wsrf/ bf-2" xmln s:ns4="htt p://docs.o asis-open. org/wsn/b- 2" xmlns:n s3="http:/ /www.w3.or g/2005/08/ addressing " xmlns:ns 19="urn:go v:hhs:fha: nhinc:comm on:subscri ptionb2ove rrideforcd c" xmlns:n s18="urn:g ov:hhs:fha :nhinc:com mon:nhincc ommonadapt er" xmlns: ns17="http ://schemas .xmlsoap.o rg/ws/2004 /08/addres sing" xmln s:ns16="ur n:gov:hhs: fha:nhinc: common:nhi nccommon"  xmlns:ns15 ="urn:oasi s:names:tc :xacml:2.0 :context:s chema:os"  xmlns:ns14 ="urn:gov: hhs:fha:nh inc:common :subscript ionb2overr idefordocu ments" xml ns:ns13="h ttp://nhin c.services .com/schem a/auditmes sage" xmln s:ns12="ur n:oasis:na mes:tc:ebx ml-regrep: xsd:query: 3.0" xmlns :ns11="urn :oasis:nam es:tc:ebxm l-regrep:x sd:lcm:3.0 " xmlns:ns 10="urn:oa sis:names: tc:ebxml-r egrep:xsd: rs:3.0" xm lns:hl7="u rn:hl7-org :v3"/>
  2727                         </Att ributeValu e>
  2728                      </Attrib ute>
  2729                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-d ecision">
  2730                         <Attr ibuteValue >Permit</A ttributeVa lue>
  2731                      </Attrib ute>
  2732                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-r esource">
  2733                         <Attr ibuteValue >https://l ocalhost/C ONNECTGate way/NhinSe rvice/Resp ondingGate way_Query_ Service/Do cQuery</At tributeVal ue>
  2734                      </Attrib ute>
  2735                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-a ction">
  2736                         <Attr ibuteValue >Execute</ AttributeV alue>
  2737                      </Attrib ute>
  2738                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-e vidence-as sertion-id ">
  2739                         <Attr ibuteValue >fbc6cd69- c0c7-4546- b459-159a5 4f859b1</A ttributeVa lue>
  2740                      </Attrib ute>
  2741                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-e vidence-as sertion-is sue-instan t">
  2742                         <Attr ibuteValue >2011-11-0 3T15:27:47 .317Z</Att ributeValu e>
  2743                      </Attrib ute>
  2744                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-e vidence-as sertion-ve rsion">
  2745                         <Attr ibuteValue >2.0</Attr ibuteValue >
  2746                      </Attrib ute>
  2747                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-e vidence-as sertion-is suer">
  2748                         <Attr ibuteValue >CN=SAML U ser,OU=SU, O=SAML Use r,L=Los An geles,ST=C A,C=US</At tributeVal ue>
  2749                      </Attrib ute>
  2750                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#date " Attribut eId="urn:g ov:hhs:fha :nhinc:sam l-authz-de cision-sta tement-evi dence-asse rtion-not- before">
  2751                         <Attr ibuteValue >2011-11-0 3T15:27:47 .317Z</Att ributeValu e>
  2752                      </Attrib ute>
  2753                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#date " Attribut eId="urn:g ov:hhs:fha :nhinc:sam l-authz-de cision-sta tement-evi dence-asse rtion-not- on-or-afte r">
  2754                         <Attr ibuteValue >2011-11-0 3T15:27:47 .317Z</Att ributeValu e>
  2755                      </Attrib ute>
  2756                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#anyU RI" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-e vidence-as sertion-ac cess-conse nt">
  2757                         <Attr ibuteValue />
  2758                      </Attrib ute>
  2759                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#anyU RI" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-e vidence-as sertion-in stance-acc ess-consen t">
  2760                         <Attr ibuteValue />
  2761                      </Attrib ute>
  2762                  < /Resource>
  2763                  < Action>
  2764                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xacm l:1.0:acti on:action- id">
  2765                         <Attr ibuteValue >DocumentQ ueryIn</At tributeVal ue>
  2766                      </Attrib ute>
  2767                  < /Action>
  2768               </Re quest>
  2769            </S:Bod y>
  2770         </S:Envelo pe>]]>
  2771        </con:requ est>
  2772        <con:jmsCo nfig 
  2773         JMSDeliver yMode="PER SISTENT"
  2774        />
  2775        <con:jmsPr opertyConf ig/>
  2776        <con:wsaCo nfig 
  2777         mustUnders tand="NONE
  2778         version="2 00508" 
  2779         action="ht tp://conte xthandler. permission .service.s erver.vap. nhin. URL         /XACMLCont extHandler PortType/c heckPolicy Request"
  2780        />
  2781        <con:wsrmC onfig 
  2782         version="1 .2"
  2783        />
  2784       </con:call >
  2785       <con:call 
  2786        name="DocQ ueryIn-All owedCommun ityRequest or-OptIn-U ncorrelate d-Deny"
  2787       >
  2788        <con:setti ngs>
  2789         <con:setti ng 
  2790          id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers "
  2791         >
  2792          &lt;xml-fr agment/>
  2793         </con:sett ing>
  2794        </con:sett ings>
  2795        <con:encod ing>
  2796         UTF-8
  2797        </con:enco ding>
  2798        <con:endpo int>
  2799         http:// s e r v er : port /XACMLCont extHandler Service/XA CMLContext HandlerSer vice
  2800        </con:endp oint>
  2801        <con:reque st>
  2802         <![CDATA[< S:Envelope  xmlns:S=" http://sch emas.xmlso ap.org/soa p/envelope /">
  2803            <S:Body >
  2804               <Req uest xmlns :ns2="urn: oasis:name s:tc:xacml :2.0:polic y:schema:o s" xmlns=" urn:oasis: names:tc:x acml:2.0:c ontext:sch ema:os">
  2805                  < Environmen t/><Subjec t SubjectC ategory="u rn:oasis:n ames:tc:xa cml:1.0:su bject-cate gory:acces s-subject" >
  2806                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:h ome-commun ity-id">
  2807                         <Attr ibuteValue >urn:oid:1 .3.6.1.4.1 .26580</At tributeVal ue>
  2808                      </Attrib ute>
  2809                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authn- statement: auth-insta nt">
  2810                         <Attr ibuteValue >2011-11-0 3T15:27:47 .317Z</Att ributeValu e>
  2811                      </Attrib ute>
  2812                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authn- statement: session-in dex">
  2813                         <Attr ibuteValue >123456</A ttributeVa lue>
  2814                      </Attrib ute>
  2815                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authn- statement: auth-conte xt-class-r ef">
  2816                         <Attr ibuteValue >urn:oasis :names:tc: SAML:2.0:a c:classes: X509</Attr ibuteValue >
  2817                      </Attrib ute>
  2818                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xacm l:1.0:subj ect:authn- locality:i p-address" >
  2819                         <Attr ibuteValue />
  2820                      </Attrib ute>
  2821                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xacm l:1.0:subj ect:authn- locality:d ns-name">
  2822                         <Attr ibuteValue />
  2823                      </Attrib ute>
  2824                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xacm l:1.0:subj ect:subjec t-id">
  2825                         <Attr ibuteValue >user1</At tributeVal ue>
  2826                      </Attrib ute>
  2827                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:u ser-organi zation-nam e">
  2828                         <Attr ibuteValue >VA</Attri buteValue>
  2829                      </Attrib ute>
  2830                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#anyU RI" Attrib uteId="urn :oasis:nam es:tc:xspa :1.0:subje ct:organiz ation-id">
  2831                         <Attr ibuteValue >urn:oid:1 .3.6.1.4.1 .26580</At tributeVal ue>
  2832                      </Attrib ute>
  2833                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#anyU RI" Attrib uteId="htt p://www.hh s.gov/heal thit/nhin# HomeCommun ityId">
  2834                         <Attr ibuteValue >urn:oid:1 .3.6.1.4.1 .26580</At tributeVal ue>
  2835                      </Attrib ute>
  2836                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xacm l:2.0:subj ect:role">
  2837                         <Attr ibuteValue >80584001< /Attribute Value>
  2838                      </Attrib ute>
  2839                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:u ser-role-c ode-system ">
  2840                         <Attr ibuteValue >2.16.840. 1.113883.6 .96</Attri buteValue>
  2841                      </Attrib ute>
  2842                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:u ser-role-c ode-system -name">
  2843                         <Attr ibuteValue >SNOMED_CT </Attribut eValue>
  2844                      </Attrib ute>
  2845                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:u ser-role-d escription ">
  2846                         <Attr ibuteValue >Psychiatr ist</Attri buteValue>
  2847                      </Attrib ute>
  2848                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xspa :1.0:subje ct:purpose ofuse">
  2849                         <Attr ibuteValue >TREATMENT </Attribut eValue>
  2850                      </Attrib ute>
  2851                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:p urpose-of- use-code-s ystem">
  2852                         <Attr ibuteValue >2.16.840. 1.113883.3 .18.7.1</A ttributeVa lue>
  2853                      </Attrib ute>
  2854                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:p urpose-of- use-code-s ystem-name ">
  2855                         <Attr ibuteValue >nhin-purp ose</Attri buteValue>
  2856                      </Attrib ute>
  2857                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:p urpose-of- use-displa y-name">
  2858                         <Attr ibuteValue >Use or di sclosure o f Psychoth erapy Note s</Attribu teValue>
  2859                      </Attrib ute>
  2860                  < /Subject>
  2861                  < Resource>
  2862                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:a ssigning-a uthority-i d">
  2863                         <Attr ibuteValue >2.16.840. 1.113883.4 .349.2</At tributeVal ue>
  2864                      </Attrib ute>
  2865                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xacm l:1.0:reso urce:resou rce-id">
  2866                         <Attr ibuteValue >101258167 6V377802</ AttributeV alue>
  2867                      </Attrib ute>
  2868                      <Attribu te DataTyp e="urn:hl7 -org:v3#II " Attribut eId="http: //www.hhs. gov/health it/nhin#su bject-id">
  2869                         <Attr ibuteValue >
  2870                            <h l7:Patient Id extensi on="12345"  root="1.3 .6.1.4.1.2 6580" xmln s:ns9="urn :ihe:iti:x ds-b:2007"  xmlns:ns8 ="urn:oasi s:names:tc :ebxml-reg rep:xsd:ri m:3.0" xml ns:ns7="ht tp://www.h hs.gov/hea lthit/nhin /cdc" xmln s:ns6="htt p://docs.o asis-open. org/wsn/t- 1" xmlns:n s5="http:/ /docs.oasi s-open.org /wsrf/bf-2 " xmlns:ns 4="http:// docs.oasis -open.org/ wsn/b-2" x mlns:ns3=" http://www .w3.org/20 05/08/addr essing" xm lns:ns19=" urn:gov:hh s:fha:nhin c:common:s ubscriptio nb2overrid eforcdc" x mlns:ns18= "urn:gov:h hs:fha:nhi nc:common: nhinccommo nadapter"  xmlns:ns17 ="http://s chemas.xml soap.org/w s/2004/08/ addressing " xmlns:ns 16="urn:go v:hhs:fha: nhinc:comm on:nhincco mmon" xmln s:ns15="ur n:oasis:na mes:tc:xac ml:2.0:con text:schem a:os" xmln s:ns14="ur n:gov:hhs: fha:nhinc: common:sub scriptionb 2overridef ordocument s" xmlns:n s13="http: //nhinc.se rvices.com /schema/au ditmessage " xmlns:ns 12="urn:oa sis:names: tc:ebxml-r egrep:xsd: query:3.0"  xmlns:ns1 1="urn:oas is:names:t c:ebxml-re grep:xsd:l cm:3.0" xm lns:ns10=" urn:oasis: names:tc:e bxml-regre p:xsd:rs:3 .0" xmlns: hl7="urn:h l7-org:v3" />
  2871                         </Att ributeValu e>
  2872                      </Attrib ute>
  2873                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-d ecision">
  2874                         <Attr ibuteValue >Permit</A ttributeVa lue>
  2875                      </Attrib ute>
  2876                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-r esource">
  2877                         <Attr ibuteValue >https://l ocalhost/C ONNECTGate way/NhinSe rvice/Resp ondingGate way_Query_ Service/Do cQuery</At tributeVal ue>
  2878                      </Attrib ute>
  2879                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-a ction">
  2880                         <Attr ibuteValue >Execute</ AttributeV alue>
  2881                      </Attrib ute>
  2882                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-e vidence-as sertion-id ">
  2883                         <Attr ibuteValue >fbc6cd69- c0c7-4546- b459-159a5 4f859b1</A ttributeVa lue>
  2884                      </Attrib ute>
  2885                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-e vidence-as sertion-is sue-instan t">
  2886                         <Attr ibuteValue >2011-11-0 3T15:27:47 .317Z</Att ributeValu e>
  2887                      </Attrib ute>
  2888                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-e vidence-as sertion-ve rsion">
  2889                         <Attr ibuteValue >2.0</Attr ibuteValue >
  2890                      </Attrib ute>
  2891                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-e vidence-as sertion-is suer">
  2892                         <Attr ibuteValue >CN=SAML U ser,OU=SU, O=SAML Use r,L=Los An geles,ST=C A,C=US</At tributeVal ue>
  2893                      </Attrib ute>
  2894                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#date " Attribut eId="urn:g ov:hhs:fha :nhinc:sam l-authz-de cision-sta tement-evi dence-asse rtion-not- before">
  2895                         <Attr ibuteValue >2011-11-0 3T15:27:47 .317Z</Att ributeValu e>
  2896                      </Attrib ute>
  2897                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#date " Attribut eId="urn:g ov:hhs:fha :nhinc:sam l-authz-de cision-sta tement-evi dence-asse rtion-not- on-or-afte r">
  2898                         <Attr ibuteValue >2011-11-0 3T15:27:47 .317Z</Att ributeValu e>
  2899                      </Attrib ute>
  2900                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#anyU RI" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-e vidence-as sertion-ac cess-conse nt">
  2901                         <Attr ibuteValue />
  2902                      </Attrib ute>
  2903                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#anyU RI" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-e vidence-as sertion-in stance-acc ess-consen t">
  2904                         <Attr ibuteValue />
  2905                      </Attrib ute>
  2906                  < /Resource>
  2907                  < Action>
  2908                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xacm l:1.0:acti on:action- id">
  2909                         <Attr ibuteValue >DocumentQ ueryIn</At tributeVal ue>
  2910                      </Attrib ute>
  2911                  < /Action>
  2912               </Re quest>
  2913            </S:Bod y>
  2914         </S:Envelo pe>]]>
  2915        </con:requ est>
  2916        <con:jmsCo nfig 
  2917         JMSDeliver yMode="PER SISTENT"
  2918        />
  2919        <con:jmsPr opertyConf ig/>
  2920        <con:wsaCo nfig 
  2921         mustUnders tand="NONE
  2922         version="2 00508" 
  2923         action="ht tp://conte xthandler. permission .service.s erver.vap. nhin. URL         /XACMLCont extHandler PortType/c heckPolicy Request"
  2924        />
  2925        <con:wsrmC onfig 
  2926         version="1 .2"
  2927        />
  2928       </con:call >
  2929       <con:call 
  2930        name="DocQ ueryIn-All owedCommun ityRequest or-OptIn-P ermit"
  2931       >
  2932        <con:setti ngs>
  2933         <con:setti ng 
  2934          id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers "
  2935         >
  2936          &lt;xml-fr agment/>
  2937         </con:sett ing>
  2938        </con:sett ings>
  2939        <con:encod ing>
  2940         UTF-8
  2941        </con:enco ding>
  2942        <con:endpo int>
  2943         http:// s e r v er : port /XACMLCont extHandler Service/XA CMLContext HandlerSer vice
  2944        </con:endp oint>
  2945        <con:reque st>
  2946         <![CDATA[< S:Envelope  xmlns:S=" http://sch emas.xmlso ap.org/soa p/envelope /">
  2947            <S:Body >
  2948               <Req uest xmlns :ns2="urn: oasis:name s:tc:xacml :2.0:polic y:schema:o s" xmlns=" urn:oasis: names:tc:x acml:2.0:c ontext:sch ema:os">
  2949                  < Environmen t/><Subjec t SubjectC ategory="u rn:oasis:n ames:tc:xa cml:1.0:su bject-cate gory:acces s-subject" >
  2950                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:h ome-commun ity-id">
  2951                         <Attr ibuteValue >urn:oid:2 .16.840.1. 113883.3.1 90.6.100.1 </Attribut eValue>
  2952                      </Attrib ute>
  2953                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authn- statement: auth-insta nt">
  2954                         <Attr ibuteValue >2011-11-0 3T15:27:47 .317Z</Att ributeValu e>
  2955                      </Attrib ute>
  2956                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authn- statement: session-in dex">
  2957                         <Attr ibuteValue >123456</A ttributeVa lue>
  2958                      </Attrib ute>
  2959                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authn- statement: auth-conte xt-class-r ef">
  2960                         <Attr ibuteValue >urn:oasis :names:tc: SAML:2.0:a c:classes: X509</Attr ibuteValue >
  2961                      </Attrib ute>
  2962                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xacm l:1.0:subj ect:authn- locality:i p-address" >
  2963                         <Attr ibuteValue />
  2964                      </Attrib ute>
  2965                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xacm l:1.0:subj ect:authn- locality:d ns-name">
  2966                         <Attr ibuteValue />
  2967                      </Attrib ute>
  2968                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xacm l:1.0:subj ect:subjec t-id">
  2969                         <Attr ibuteValue >user1</At tributeVal ue>
  2970                      </Attrib ute>
  2971                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:u ser-organi zation-nam e">
  2972                         <Attr ibuteValue >VA</Attri buteValue>
  2973                      </Attrib ute>
  2974                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#anyU RI" Attrib uteId="urn :oasis:nam es:tc:xspa :1.0:subje ct:organiz ation-id">
  2975                         <Attr ibuteValue >urn:oid:2 .16.840.1. 113883.3.1 90.6.100.1 </Attribut eValue>
  2976                      </Attrib ute>
  2977                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#anyU RI" Attrib uteId="htt p://www.hh s.gov/heal thit/nhin# HomeCommun ityId">
  2978                         <Attr ibuteValue >urn:oid:2 .16.840.1. 113883.3.1 90.6.100.1 </Attribut eValue>
  2979                      </Attrib ute>
  2980                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xacm l:2.0:subj ect:role">
  2981                         <Attr ibuteValue >80584001< /Attribute Value>
  2982                      </Attrib ute>
  2983                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:u ser-role-c ode-system ">
  2984                         <Attr ibuteValue >2.16.840. 1.113883.6 .96</Attri buteValue>
  2985                      </Attrib ute>
  2986                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:u ser-role-c ode-system -name">
  2987                         <Attr ibuteValue >SNOMED_CT </Attribut eValue>
  2988                      </Attrib ute>
  2989                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:u ser-role-d escription ">
  2990                         <Attr ibuteValue >Psychiatr ist</Attri buteValue>
  2991                      </Attrib ute>
  2992                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xspa :1.0:subje ct:purpose ofuse">
  2993                         <Attr ibuteValue >TREATMENT </Attribut eValue>
  2994                      </Attrib ute>
  2995                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:p urpose-of- use-code-s ystem">
  2996                         <Attr ibuteValue >2.16.840. 1.113883.3 .18.7.1</A ttributeVa lue>
  2997                      </Attrib ute>
  2998                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:p urpose-of- use-code-s ystem-name ">
  2999                         <Attr ibuteValue >nhin-purp ose</Attri buteValue>
  3000                      </Attrib ute>
  3001                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:p urpose-of- use-displa y-name">
  3002                         <Attr ibuteValue >Use or di sclosure o f Psychoth erapy Note s</Attribu teValue>
  3003                      </Attrib ute>
  3004                  < /Subject>
  3005                  < Resource>
  3006                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:a ssigning-a uthority-i d">
  3007                         <Attr ibuteValue >2.16.840. 1.113883.4 .349.2</At tributeVal ue>
  3008                      </Attrib ute>
  3009                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xacm l:1.0:reso urce:resou rce-id">
  3010                         <Attr ibuteValue >101258167 6V377802</ AttributeV alue>
  3011                      </Attrib ute>
  3012                      <Attribu te DataTyp e="urn:hl7 -org:v3#II " Attribut eId="http: //www.hhs. gov/health it/nhin#su bject-id">
  3013                         <Attr ibuteValue >
  3014                            <h l7:Patient Id extensi on="12345"  root="2.1 6.840.1.11 3883.3.190 .6.100.1"  xmlns:ns9= "urn:ihe:i ti:xds-b:2 007" xmlns :ns8="urn: oasis:name s:tc:ebxml -regrep:xs d:rim:3.0"  xmlns:ns7 ="http://w ww.hhs.gov /healthit/ nhin/cdc"  xmlns:ns6= "http://do cs.oasis-o pen.org/ws n/t-1" xml ns:ns5="ht tp://docs. oasis-open .org/wsrf/ bf-2" xmln s:ns4="htt p://docs.o asis-open. org/wsn/b- 2" xmlns:n s3="http:/ /www.w3.or g/2005/08/ addressing " xmlns:ns 19="urn:go v:hhs:fha: nhinc:comm on:subscri ptionb2ove rrideforcd c" xmlns:n s18="urn:g ov:hhs:fha :nhinc:com mon:nhincc ommonadapt er" xmlns: ns17="http ://schemas .xmlsoap.o rg/ws/2004 /08/addres sing" xmln s:ns16="ur n:gov:hhs: fha:nhinc: common:nhi nccommon"  xmlns:ns15 ="urn:oasi s:names:tc :xacml:2.0 :context:s chema:os"  xmlns:ns14 ="urn:gov: hhs:fha:nh inc:common :subscript ionb2overr idefordocu ments" xml ns:ns13="h ttp://nhin c.services .com/schem a/auditmes sage" xmln s:ns12="ur n:oasis:na mes:tc:ebx ml-regrep: xsd:query: 3.0" xmlns :ns11="urn :oasis:nam es:tc:ebxm l-regrep:x sd:lcm:3.0 " xmlns:ns 10="urn:oa sis:names: tc:ebxml-r egrep:xsd: rs:3.0" xm lns:hl7="u rn:hl7-org :v3"/>
  3015                         </Att ributeValu e>
  3016                      </Attrib ute>
  3017                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-d ecision">
  3018                         <Attr ibuteValue >Permit</A ttributeVa lue>
  3019                      </Attrib ute>
  3020                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-r esource">
  3021                         <Attr ibuteValue >https://l ocalhost/C ONNECTGate way/NhinSe rvice/Resp ondingGate way_Query_ Service/Do cQuery</At tributeVal ue>
  3022                      </Attrib ute>
  3023                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-a ction">
  3024                         <Attr ibuteValue >Execute</ AttributeV alue>
  3025                      </Attrib ute>
  3026                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-e vidence-as sertion-id ">
  3027                         <Attr ibuteValue >fbc6cd69- c0c7-4546- b459-159a5 4f859b1</A ttributeVa lue>
  3028                      </Attrib ute>
  3029                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-e vidence-as sertion-is sue-instan t">
  3030                         <Attr ibuteValue >2011-11-0 3T15:27:47 .317Z</Att ributeValu e>
  3031                      </Attrib ute>
  3032                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-e vidence-as sertion-ve rsion">
  3033                         <Attr ibuteValue >2.0</Attr ibuteValue >
  3034                      </Attrib ute>
  3035                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-e vidence-as sertion-is suer">
  3036                         <Attr ibuteValue >CN=SAML U ser,OU=SU, O=SAML Use r,L=Los An geles,ST=C A,C=US</At tributeVal ue>
  3037                      </Attrib ute>
  3038                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#date " Attribut eId="urn:g ov:hhs:fha :nhinc:sam l-authz-de cision-sta tement-evi dence-asse rtion-not- before">
  3039                         <Attr ibuteValue >2011-11-0 3T15:27:47 .317Z</Att ributeValu e>
  3040                      </Attrib ute>
  3041                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#date " Attribut eId="urn:g ov:hhs:fha :nhinc:sam l-authz-de cision-sta tement-evi dence-asse rtion-not- on-or-afte r">
  3042                         <Attr ibuteValue >2011-11-0 3T15:27:47 .317Z</Att ributeValu e>
  3043                      </Attrib ute>
  3044                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#anyU RI" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-e vidence-as sertion-ac cess-conse nt">
  3045                         <Attr ibuteValue />
  3046                      </Attrib ute>
  3047                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#anyU RI" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-e vidence-as sertion-in stance-acc ess-consen t">
  3048                         <Attr ibuteValue />
  3049                      </Attrib ute>
  3050                  < /Resource>
  3051                  < Action>
  3052                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xacm l:1.0:acti on:action- id">
  3053                         <Attr ibuteValue >DocumentQ ueryIn</At tributeVal ue>
  3054                      </Attrib ute>
  3055                  < /Action>
  3056               </Re quest>
  3057            </S:Bod y>
  3058         </S:Envelo pe>]]>
  3059        </con:requ est>
  3060        <con:jmsCo nfig 
  3061         JMSDeliver yMode="PER SISTENT"
  3062        />
  3063        <con:jmsPr opertyConf ig/>
  3064        <con:wsaCo nfig 
  3065         mustUnders tand="NONE
  3066         version="2 00508" 
  3067         action="ht tp://conte xthandler. permission .service.s erver.vap. nhin. URL         /XACMLCont extHandler PortType/c heckPolicy Request"
  3068        />
  3069        <con:wsrmC onfig 
  3070         version="1 .2"
  3071        />
  3072       </con:call >
  3073      </con:oper ation>
  3074     </con:inte rface>
  3075     <con:testS uite 
  3076      name="VAP_ XACML_Test Suite_2.0"
  3077     >
  3078      <con:setti ngs/>
  3079      <con:runTy pe>
  3080       SEQUENTIAL
  3081      </con:runT ype>
  3082      <con:testC ase 
  3083       failOnErro r="false" 
  3084       failTestCa seOnErrors ="true" 
  3085       keepSessio n="false" 
  3086       maxResults ="0" 
  3087       name="chec kPolicy Te stCase" 
  3088       searchProp erties="tr ue" 
  3089       id="e8260b fb-247f-4f 0b-8d46-ca 203a4102d6
  3090       timeout="0
  3091       wsrmEnable d="false" 
  3092       wsrmVersio n="1.0" 
  3093       wsrmAckTo= "" 
  3094       amfAuthori sation="fa lse" 
  3095       amfEndpoin t="" 
  3096       amfLogin="
  3097       amfPasswor d=""
  3098      >
  3099       <con:setti ngs/>
  3100       <con:testS tep 
  3101        type="data source" 
  3102        name="Data Source"
  3103       >
  3104        <con:setti ngs/>
  3105        <con:confi
  3106         xsi:type=" con:DataSo urceStep" 
  3107         xmlns:xsi= "http://ww w.w3.org/2 001/XMLSch ema-instan ce"
  3108        >
  3109         <con:dataS ource 
  3110          type="Exce l"
  3111         >
  3112          <con:confi guration>
  3113           <file>
  3114            C:/VAP_Che ckPolicy.x ls
  3115           </file>
  3116           <worksheet >
  3117            Sheet1
  3118           </workshee t>
  3119           <cell>
  3120            A2
  3121           </cell>
  3122           <ignoreEmp ty>
  3123            true
  3124           </ignoreEm pty>
  3125          </con:conf iguration>
  3126         </con:data Source>
  3127         <con:prope rty>
  3128          Patient_IC N
  3129         </con:prop erty>
  3130         <con:prope rty>
  3131          hcID
  3132         </con:prop erty>
  3133         <con:prope rty>
  3134          pOu
  3135         </con:prop erty>
  3136         <con:resta rtOnRun>
  3137          true
  3138         </con:rest artOnRun>
  3139        </con:conf ig>
  3140       </con:test Step>
  3141       <con:testS tep 
  3142        type="jdbc
  3143        name="JDBC  Request"
  3144       >
  3145        <con:setti ngs/>
  3146        <con:confi
  3147         xsi:type=" con:JdbcRe questTestS tep" 
  3148         xmlns:xsi= "http://ww w.w3.org/2 001/XMLSch ema-instan ce"
  3149        >
  3150         <con:dbCon nectionNam e>
  3151          NHID1
  3152         </con:dbCo nnectionNa me>
  3153         <con:drive r>
  3154          oracle.jdb c.driver.O racleDrive r
  3155         </con:driv er>
  3156         <con:conne ctionStrin g>
  3157          jdbc:oracl e:thin:dat abaseuseri d/PASS_VAL UE@vanhidb sdev10.aac . DNS     :1564:NHID 1
  3158         </con:conn ectionStri ng>
  3159         <con:passw ord>
  3160          password
  3161         </con:pass word>
  3162         <con:query >
  3163          select OPT IN_DATE,OP TOUT_TS,OP TOUT_DATE  from PATIE NT_CONSENT _DIR a WHE RE a.PATIE NT_IEN =:p atientICN  and consen t_dir_id = (select ma x(CONSENT_ DIR_ID) fr om vap.PAT IENT_CONSE NT_DIR b W HERE b.PAT IENT_IEN = :patientIC N)
  3164         </con:quer y>
  3165         <con:prope rties>
  3166          <con:prope rty>
  3167           <con:name>
  3168            patientICN
  3169           </con:name >
  3170           <con:value >
  3171            ${DataSour ce#Patient _ICN}
  3172           </con:valu e>
  3173          </con:prop erty>
  3174         </con:prop erties>
  3175        </con:conf ig>
  3176       </con:test Step>
  3177       <con:testS tep 
  3178        type="requ est" 
  3179        name="DocQ ueryIn_che ckPolicy"
  3180       >
  3181        <con:setti ngs/>
  3182        <con:confi
  3183         xsi:type=" con:Reques tStep" 
  3184         xmlns:xsi= "http://ww w.w3.org/2 001/XMLSch ema-instan ce"
  3185        >
  3186         <con:inter face>
  3187          XACMLConte xtHandlerP ortBinding
  3188         </con:inte rface>
  3189         <con:opera tion>
  3190          checkPolic y
  3191         </con:oper ation>
  3192         <con:reque st 
  3193          name="DocQ ueryIn_che ckPolicy"
  3194         >
  3195          <con:setti ngs>
  3196           <con:setti ng 
  3197            id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers "
  3198           >
  3199            &lt;xml-fr agment/>
  3200           </con:sett ing>
  3201          </con:sett ings>
  3202          <con:encod ing>
  3203           UTF-8
  3204          </con:enco ding>
  3205          <con:endpo int>
  3206           http:// s e r v er : port /XACMLCont extHandler Service/XA CMLContext HandlerSer vice
  3207          </con:endp oint>
  3208          <con:reque st>
  3209           <![CDATA[< S:Envelope  xmlns:S=" http://sch emas.xmlso ap.org/soa p/envelope /">
  3210              <S:Body >
  3211                 <Req uest xmlns :ns2="urn: oasis:name s:tc:xacml :2.0:polic y:schema:o s" xmlns=" urn:oasis: names:tc:x acml:2.0:c ontext:sch ema:os">
  3212                    < Environmen t/><Subjec t SubjectC ategory="u rn:oasis:n ames:tc:xa cml:1.0:su bject-cate gory:acces s-subject" >
  3213                        <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:h ome-commun ity-id">
  3214                           <Attr ibuteValue >urn:oid:2 .16.840.1. 113883.3.1 90.6.100.1 </Attribut eValue>
  3215                        </Attrib ute>
  3216                        <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authn- statement: auth-insta nt">
  3217                           <Attr ibuteValue >2011-11-0 3T15:27:47 .317Z</Att ributeValu e>
  3218                        </Attrib ute>
  3219                        <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authn- statement: session-in dex">
  3220                           <Attr ibuteValue >123456</A ttributeVa lue>
  3221                        </Attrib ute>
  3222                        <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authn- statement: auth-conte xt-class-r ef">
  3223                           <Attr ibuteValue >urn:oasis :names:tc: SAML:2.0:a c:classes: X509</Attr ibuteValue >
  3224                        </Attrib ute>
  3225                        <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xacm l:1.0:subj ect:authn- locality:i p-address" >
  3226                           <Attr ibuteValue />
  3227                        </Attrib ute>
  3228                        <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xacm l:1.0:subj ect:authn- locality:d ns-name">
  3229                           <Attr ibuteValue />
  3230                        </Attrib ute>
  3231                        <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xacm l:1.0:subj ect:subjec t-id">
  3232                           <Attr ibuteValue >user1</At tributeVal ue>
  3233                        </Attrib ute>
  3234                        <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:u ser-organi zation-nam e">
  3235                           <Attr ibuteValue >VA</Attri buteValue>
  3236                        </Attrib ute>
  3237                        <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#anyU RI" Attrib uteId="urn :oasis:nam es:tc:xspa :1.0:subje ct:organiz ation-id">
  3238                           <Attr ibuteValue >${DataSou rce#hcID}< /Attribute Value>
  3239                        </Attrib ute>
  3240                        <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#anyU RI" Attrib uteId="htt p://www.hh s.gov/heal thit/nhin# HomeCommun ityId">
  3241                           <Attr ibuteValue >${DataSou rce#hcID}< /Attribute Value>
  3242                        </Attrib ute>
  3243                        <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xacm l:2.0:subj ect:role">
  3244                           <Attr ibuteValue >80584001< /Attribute Value>
  3245                        </Attrib ute>
  3246                        <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:u ser-role-c ode-system ">
  3247                           <Attr ibuteValue >2.16.840. 1.113883.6 .96</Attri buteValue>
  3248                        </Attrib ute>
  3249                        <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:u ser-role-c ode-system -name">
  3250                           <Attr ibuteValue >SNOMED_CT </Attribut eValue>
  3251                        </Attrib ute>
  3252                        <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:u ser-role-d escription ">
  3253                           <Attr ibuteValue >Psychiatr ist</Attri buteValue>
  3254                        </Attrib ute>
  3255                        <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xspa :1.0:subje ct:purpose ofuse">
  3256                           <Attr ibuteValue >${DataSou rce#pOu}</ AttributeV alue>
  3257                        </Attrib ute>
  3258                        <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:p urpose-of- use-code-s ystem">
  3259                           <Attr ibuteValue >2.16.840. 1.113883.3 .18.7.1</A ttributeVa lue>
  3260                        </Attrib ute>
  3261                        <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:p urpose-of- use-code-s ystem-name ">
  3262                           <Attr ibuteValue >nhin-purp ose</Attri buteValue>
  3263                        </Attrib ute>
  3264                        <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:p urpose-of- use-displa y-name">
  3265                           <Attr ibuteValue >Use or di sclosure o f Psychoth erapy Note s</Attribu teValue>
  3266                        </Attrib ute>
  3267                    < /Subject>
  3268                    < Resource>
  3269                        <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:a ssigning-a uthority-i d">
  3270                           <Attr ibuteValue >2.16.840. 1.113883.4 .349.2</At tributeVal ue>
  3271                        </Attrib ute>
  3272                        <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xacm l:1.0:reso urce:resou rce-id">
  3273                           <Attr ibuteValue >${DataSou rce#Patien t_ICN}</At tributeVal ue>
  3274                        </Attrib ute>
  3275                        <Attribu te DataTyp e="urn:hl7 -org:v3#II " Attribut eId="http: //www.hhs. gov/health it/nhin#su bject-id">
  3276                           <Attr ibuteValue >
  3277                              <h l7:Patient Id extensi on="12345"  root="2.1 6.840.1.11 3883.3.190 .6.100.1"  xmlns:ns9= "urn:ihe:i ti:xds-b:2 007" xmlns :ns8="urn: oasis:name s:tc:ebxml -regrep:xs d:rim:3.0"  xmlns:ns7 ="http://w ww.hhs.gov /healthit/ nhin/cdc"  xmlns:ns6= "http://do cs.oasis-o pen.org/ws n/t-1" xml ns:ns5="ht tp://docs. oasis-open .org/wsrf/ bf-2" xmln s:ns4="htt p://docs.o asis-open. org/wsn/b- 2" xmlns:n s3="http:/ /www.w3.or g/2005/08/ addressing " xmlns:ns 19="urn:go v:hhs:fha: nhinc:comm on:subscri ptionb2ove rrideforcd c" xmlns:n s18="urn:g ov:hhs:fha :nhinc:com mon:nhincc ommonadapt er" xmlns: ns17="http ://schemas .xmlsoap.o rg/ws/2004 /08/addres sing" xmln s:ns16="ur n:gov:hhs: fha:nhinc: common:nhi nccommon"  xmlns:ns15 ="urn:oasi s:names:tc :xacml:2.0 :context:s chema:os"  xmlns:ns14 ="urn:gov: hhs:fha:nh inc:common :subscript ionb2overr idefordocu ments" xml ns:ns13="h ttp://nhin c.services .com/schem a/auditmes sage" xmln s:ns12="ur n:oasis:na mes:tc:ebx ml-regrep: xsd:query: 3.0" xmlns :ns11="urn :oasis:nam es:tc:ebxm l-regrep:x sd:lcm:3.0 " xmlns:ns 10="urn:oa sis:names: tc:ebxml-r egrep:xsd: rs:3.0" xm lns:hl7="u rn:hl7-org :v3"/>
  3278                           </Att ributeValu e>
  3279                        </Attrib ute>
  3280                        <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-d ecision">
  3281                           <Attr ibuteValue >Permit</A ttributeVa lue>
  3282                        </Attrib ute>
  3283                        <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-r esource">
  3284                           <Attr ibuteValue >https://l ocalhost/C ONNECTGate way/NhinSe rvice/Resp ondingGate way_Query_ Service/Do cQuery</At tributeVal ue>
  3285                        </Attrib ute>
  3286                        <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-a ction">
  3287                           <Attr ibuteValue >Execute</ AttributeV alue>
  3288                        </Attrib ute>
  3289                        <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-e vidence-as sertion-id ">
  3290                           <Attr ibuteValue >fbc6cd69- c0c7-4546- b459-159a5 4f859b1</A ttributeVa lue>
  3291                        </Attrib ute>
  3292                        <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-e vidence-as sertion-is sue-instan t">
  3293                           <Attr ibuteValue >2011-11-0 3T15:27:47 .317Z</Att ributeValu e>
  3294                        </Attrib ute>
  3295                        <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-e vidence-as sertion-ve rsion">
  3296                           <Attr ibuteValue >2.0</Attr ibuteValue >
  3297                        </Attrib ute>
  3298                        <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-e vidence-as sertion-is suer">
  3299                           <Attr ibuteValue >CN=SAML U ser,OU=SU, O=SAML Use r,L=Los An geles,ST=C A,C=US</At tributeVal ue>
  3300                        </Attrib ute>
  3301                        <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#date " Attribut eId="urn:g ov:hhs:fha :nhinc:sam l-authz-de cision-sta tement-evi dence-asse rtion-not- before">
  3302                           <Attr ibuteValue >2011-11-0 3T15:27:47 .317Z</Att ributeValu e>
  3303                        </Attrib ute>
  3304                        <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#date " Attribut eId="urn:g ov:hhs:fha :nhinc:sam l-authz-de cision-sta tement-evi dence-asse rtion-not- on-or-afte r">
  3305                           <Attr ibuteValue >2011-11-0 3T15:27:47 .317Z</Att ributeValu e>
  3306                        </Attrib ute>
  3307                        <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#anyU RI" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-e vidence-as sertion-ac cess-conse nt">
  3308                           <Attr ibuteValue />
  3309                        </Attrib ute>
  3310                        <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#anyU RI" Attrib uteId="urn :gov:hhs:f ha:nhinc:s aml-authz- decision-s tatement-e vidence-as sertion-in stance-acc ess-consen t">
  3311                           <Attr ibuteValue />
  3312                        </Attrib ute>
  3313                    < /Resource>
  3314                    < Action>
  3315                        <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :oasis:nam es:tc:xacm l:1.0:acti on:action- id">
  3316                           <Attr ibuteValue >DocumentQ ueryIn</At tributeVal ue>
  3317                        </Attrib ute>
  3318                    < /Action>
  3319                 </Re quest>
  3320              </S:Bod y>
  3321           </S:Envelo pe>]]>
  3322          </con:requ est>
  3323          <con:jmsCo nfig 
  3324           JMSDeliver yMode="PER SISTENT"
  3325          />
  3326          <con:jmsPr opertyConf ig/>
  3327          <con:wsaCo nfig 
  3328           action="ht tp://conte xthandler. permission .service.s erver.vap. nhin. URL         /XACMLCont extHandler PortType/c heckPolicy Request" 
  3329           mustUnders tand="NONE
  3330           version="2 00508"
  3331          />
  3332          <con:wsrmC onfig 
  3333           version="1 .2"
  3334          />
  3335         </con:requ est>
  3336        </con:conf ig>
  3337       </con:test Step>
  3338       <con:testS tep 
  3339        type="groo vy" 
  3340        name="Groo vy Script"
  3341       >
  3342        <con:setti ngs/>
  3343        <con:confi g>
  3344         <script>
  3345          def optin_ Date = con text.expan d( '${JDBC  Request#R esponseAsX ml#//Resul ts[1]/Resu ltSet[1]/R ow[1]/OPTI N_DATE[1]} ' )
  3346          def optout Date_Ts =  context.ex pand( '${J DBC Reques t#Response AsXml#//Re sults[1]/R esultSet[1 ]/Row[1]/O PTOUT_TS[1 ]}' )
  3347          def optOut _Date = co ntext.expa nd( '${JDB C Request# ResponseAs Xml#//Resu lts[1]/Res ultSet[1]/ Row[1]/OPT OUT_DATE[1 ]}' )
  3348          def patien t_ICN = co ntext.expa nd( '${Dat aSource#Pa tient_ICN} ' )
  3349          def hcID =  context.e xpand( '${ DataSource #hcID}' )
  3350          def pOu =  context.ex pand( '${D ataSource# pOu}' )
  3351          pOu=pOu.tr im()
  3352          hcID=hcID. trim()
  3353          patient_IC N=patient_ ICN.trim()
  3354          log.info " -========= ="+optin_D ate+"----- "+optoutDa te_Ts+"--- -----"+pat ient_ICN  
  3355          optoutDate _Ts=optout Date_Ts.tr im()
  3356          optoutDate _Ts=optout Date_Ts.to String()
  3357         
  3358          def respon se = conte xt.expand(  '${DocQue ryIn_check Policy#Res ponse#decl are namesp ace ns3=\' http://con texthandle r.permissi on.service .server.va p.nhin. URL         /\'; decla re namespa ce ns1=\'u rn:oasis:n ames:tc:xa cml:2.0:co ntext:sche ma:os\'; / /ns3:check PolicyResp onse[1]/ns 1:Result[1 ]/ns1:Deci sion[1]}'  )
  3359         
  3360          if (optout Date_Ts ==  "&lt;OPTO UT_TS/>")  {
  3361                  if  (hcID=="u rn:oid:2.1 6.840.1.11 3883.3.42. 10001.1000 01.12"){
  3362                           asse rt respons e=="Permit "
  3363                  lo g.info "++ ++++++++++ ++"+optin_ Date+"---- -"+optoutD ate_Ts+"-- ------"+pa tient_ICN
  3364                  }
  3365                  el se if (hcI D=="urn:oi d:2.16.840 .1"){
  3366                  as sert respo nse=="Deny "
  3367                  lo g.info "-- ---------- ----"+opti n_Date+"-- ---"+optou tDate_Ts+" --------"+ patient_IC N
  3368                  }
  3369                  el se if (pat ient_ICN== "16V377802 "){
  3370                  as sert respo nse=="Deny "
  3371                  lo g.info "-- ---------- ----"+opti n_Date+"-- ---"+optou tDate_Ts+" --------"+ patient_IC N
  3372                  }
  3373                  el se if (pOu =="HEALTHC ARE"){
  3374                  as sert respo nse=="Deny "
  3375                  lo g.info "-- --------pO u-----"+op tin_Date+" -----"+opt outDate_Ts +"-------- "+patient_ ICN
  3376                  }
  3377                  el se {
  3378                  as sert respo nse=="Perm it"
  3379                  lo g.info "++ ++++++++++ ++"+optin_ Date+"---- -"+optoutD ate_Ts+"-- ------"+pa tient_ICN
  3380                  }
  3381          }
  3382          else {
  3383                  if  (hcID=="u rn:oid:2.1 6.840.1.11 3883.3.42. 10001.1000 01.12"){
  3384                           if ( patient_IC N=="16V377 802"){
  3385                  as sert respo nse=="Deny "
  3386                  lo g.info "-- ----ICN--- -------"+o ptin_Date+ "-----"+op toutDate_T s+"------- -"+patient _ICN
  3387                  }
  3388                  el se {
  3389                           asse rt respons e=="Permit "
  3390                  lo g.info "++ ++++++++++ ++"+optin_ Date+"---- -"+optoutD ate_Ts+"-- ------"+pa tient_ICN
  3391                  }
  3392                  }
  3393                  el se if (pOu =="HEALTHC ARE"){
  3394                  as sert respo nse=="Deny "
  3395                  lo g.info "-- ---------- ----"+opti n_Date+"-- ---"+optou tDate_Ts+" --------"+ patient_IC N
  3396                  }
  3397                  el se if (pat ient_ICN== "16V377802 "){
  3398                  as sert respo nse=="Deny "
  3399                  lo g.info "-- ---------- ----"+opti n_Date+"-- ---"+optou tDate_Ts+" --------"+ patient_IC N
  3400                  }
  3401                  el se if (hcI D=="urn:oi d:2.16.840 .1"){
  3402                  as sert respo nse=="Deny "
  3403                  lo g.info "-- ---------- ----"+opti n_Date+"-- ---"+optou tDate_Ts+" --------"+ patient_IC N
  3404                  }
  3405                  el se {
  3406                  as sert respo nse=="Deny "
  3407                  lo g.info "-- ---------- ----"+opti n_Date+"-- ---"+optou tDate_Ts+" --------"+ patient_IC N
  3408                  }
  3409          }
  3410         </script>
  3411        </con:conf ig>
  3412       </con:test Step>
  3413       <con:testS tep 
  3414        type="data sourceloop
  3415        name="Data Source Loo p"
  3416       >
  3417        <con:setti ngs/>
  3418        <con:confi g>
  3419         <dataSourc eStep>
  3420          DataSource
  3421         </dataSour ceStep>
  3422         <targetSte p>
  3423          JDBC Reque st
  3424         </targetSt ep>
  3425        </con:conf ig>
  3426       </con:test Step>
  3427       <con:testS tep 
  3428        type="jdbc
  3429        name="OPTO UTDATE_JDB C Request"
  3430       >
  3431        <con:setti ngs/>
  3432        <con:confi
  3433         xsi:type=" con:JdbcRe questTestS tep" 
  3434         xmlns:xsi= "http://ww w.w3.org/2 001/XMLSch ema-instan ce"
  3435        >
  3436         <con:dbCon nectionNam e>
  3437          NHID1
  3438         </con:dbCo nnectionNa me>
  3439         <con:drive r>
  3440          oracle.jdb c.driver.O racleDrive r
  3441         </con:driv er>
  3442         <con:conne ctionStrin g>
  3443          jdbc:oracl e:thin:dat abaseuseri d/PASS_VAL UE@vanhidb sdev10.aac . DNS     :1564:NHID 1
  3444         </con:conn ectionStri ng>
  3445         <con:passw ord>
  3446          password
  3447         </con:pass word>
  3448         <con:query >
  3449          select dis tinct PATI ENT_IEN,OP TOUT_DATE  from vap.p atient_con sent_dir w here OPTOU T_REASON_I D=102
  3450         </con:quer y>
  3451         <con:prope rties/>
  3452        </con:conf ig>
  3453       </con:test Step>
  3454       <con:testS tep 
  3455        type="data source" 
  3456        name="OPTO UTDATE_Dat aSource"
  3457       >
  3458        <con:setti ngs/>
  3459        <con:confi
  3460         xsi:type=" con:DataSo urceStep" 
  3461         xmlns:xsi= "http://ww w.w3.org/2 001/XMLSch ema-instan ce"
  3462        >
  3463         <con:dataS ource 
  3464          type="XML"
  3465         >
  3466          <con:confi guration>
  3467           <sourceSte p>
  3468            OPTOUTDATE _JDBC Requ est
  3469           </sourceSt ep>
  3470           <sourcePro perty>
  3471            ResponseAs Xml
  3472           </sourcePr operty>
  3473           <rowPath>
  3474            //Results[ 1]/ResultS et[1]/Row
  3475           </rowPath>
  3476           <columnPat h>
  3477            PATIENT_IE N/text()
  3478           </columnPa th>
  3479           <columnPat h>
  3480            OPTOUT_DAT E/text()
  3481           </columnPa th>
  3482          </con:conf iguration>
  3483         </con:data Source>
  3484         <con:prope rty>
  3485          PATIENT_IE N
  3486         </con:prop erty>
  3487         <con:prope rty>
  3488          OPTOUT_DAT E
  3489         </con:prop erty>
  3490         <con:resta rtOnRun>
  3491          true
  3492         </con:rest artOnRun>
  3493        </con:conf ig>
  3494       </con:test Step>
  3495       <con:testS tep 
  3496        type="groo vy" 
  3497        name="OPTO UTDATE_Gro ovy Script "
  3498       >
  3499        <con:setti ngs/>
  3500        <con:confi g>
  3501         <script>
  3502          def pATIEN T_IEN = co ntext.expa nd( '${OPT OUTDATE_Da taSource#P ATIENT_IEN }' )
  3503          def oPTOUT _DATE = co ntext.expa nd( '${OPT OUTDATE_Da taSource#O PTOUT_DATE }' )
  3504          oPTOUT_DAT E.trim()
  3505          log.info p ATIENT_IEN +"-------- --"+oPTOUT _DATE
  3506          assert oPT OUT_DATE ! = ""
  3507         </script>
  3508        </con:conf ig>
  3509       </con:test Step>
  3510       <con:testS tep 
  3511        type="data sourceloop
  3512        name="OPTO UTDATE_Dat aSource Lo op"
  3513       >
  3514        <con:setti ngs/>
  3515        <con:confi g>
  3516         <dataSourc eStep>
  3517          OPTOUTDATE _DataSourc e
  3518         </dataSour ceStep>
  3519         <targetSte p>
  3520          OPTOUTDATE _Groovy Sc ript
  3521         </targetSt ep>
  3522        </con:conf ig>
  3523       </con:test Step>
  3524       <con:prope rties/>
  3525       <con:repor tParameter s/>
  3526      </con:test Case>
  3527      <con:prope rties/>
  3528      <con:repor tParameter s/>
  3529     </con:test Suite>
  3530     <con:requi rements/>
  3531     <con:prope rties/>
  3532     <con:wssCo ntainer/>
  3533     <con:datab aseConnect ionContain er>
  3534      <con:datab aseConnect ion>
  3535       <con:name>
  3536        NHID1
  3537       </con:name >
  3538       <con:drive r>
  3539        oracle.jdb c.driver.O racleDrive r
  3540       </con:driv er>
  3541       <con:conne ctionStrin g>
  3542        jdbc:oracl e:thin:dat abaseuseri d/PASS_VAL UE@vanhidb sdev10.aac . DNS     :1564:NHID 1
  3543       </con:conn ectionStri ng>
  3544       <con:passw ord>
  3545        password
  3546       </con:pass word>
  3547      </con:data baseConnec tion>
  3548     </con:data baseConnec tionContai ner>
  3549     <con:repor ting>
  3550      <con:xmlTe mplates/>
  3551      <con:param eters/>
  3552     </con:repo rting>
  3553   </con:soap ui-project >