629. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 4/5/2017 4:25:34 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.

629.1 Files compared

# Location File Last Modified
1 C:\working_scrub\Unredacted\VAP Code Base\VAP_Bld2_Source_Code_CIF_2017-02-14\nvap-legacy\src\soapui XACMLContextHandler-AITC-Latest-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-legacy\src\soapui XACMLContextHandler-AITC-Latest-soapui-project.xml Wed Apr 5 12:42:21 2017 UTC

629.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 30 6056
Changed 29 60
Inserted 0 0
Removed 0 0

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

629.4 Active regular expressions

No regular expressions were active.

629.5 Comparison detail

  1   <?xml 
  2     version="1 .0" 
  3     encoding=" UTF-8"
  4   ?>
  5   <con:soapu i-project 
  6     name="XACM LContextHa ndler-AITC  Latest" 
  7     resourceRo ot="" 
  8     soapui-ver sion="4.0. 0" 
  9     abortOnErr or="false"  
  10     runType="S EQUENTIAL"  
  11     xmlns:con= "http://ev iware.com/ soapui/con fig"
  12   >
  13     <con:setti ngs/>
  14     <con:inter face 
  15      xsi:type=" con:WsdlIn terface" 
  16      wsaVersion ="NONE" 
  17      name="XACM LContextHa ndlerPortB inding" 
  18      type="wsdl
  19      bindingNam e="{http:/ /impl.cont exthandler .service.s erver.vap. nwhin.vler . URL         /}XACMLCon textHandle rPortBindi ng" 
  20      soapVersio n="1_1" 
  21      anonymous= "optional"  
  22      definition ="file:/C: /VLER/vap/ trunk/nhin _vap_serve r/src/main /resources /META-INF/ xml-resour ces/web-se rvices/XAC MLContextH andlerServ ice/wsdl/X ACMLContex tHandlerSe rvice.wsdl
  23      xmlns:xsi= "http://ww w.w3.org/2 001/XMLSch ema-instan ce"
  24     >
  25      <con:setti ngs/>
  26      <con:defin itionCache  
  27       type="TEXT
  28       rootPart=" file:/C:/V LER/vap/tr unk/nhin_v ap_server/ src/main/r esources/M ETA-INF/xm l-resource s/web-serv ices/XACML ContextHan dlerServic e/wsdl/XAC MLContextH andlerServ ice.wsdl"
  29      >
  30       <con:part>
  31        <con:url>
  32         file:/C:/V LER/vap/tr unk/nhin_v ap_server/ src/main/r esources/M ETA-INF/xm l-resource s/web-serv ices/XACML ContextHan dlerServic e/wsdl/XAC MLContextH andlerServ ice.wsdl
  33        </con:url>
  34        <con:conte nt>
  35         <![CDATA[< !--Generat ed 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). -->
  36         <definitio ns targetN amespace=" http://imp l.contexth andler.ser vice.serve r.vap.nwhi n.vler. URL         /" name="X ACMLContex tHandlerSe rvice" xml ns="http:/ /schemas.x mlsoap.org /wsdl/" xm lns:tns="h ttp://impl .contextha ndler.serv ice.server .vap.nwhin .vler. 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/">
  37           <xsd:typ es>
  38             <xsd:s chema>
  39               <xsd :import na mespace="u rn:oasis:n ames:tc:xa cml:2.0:co ntext:sche ma:os" sch emaLocatio n="../sche mas/oasis/ xacml/acce ss_control -xacml-2.0 -context-s chema-os.x sd"/>
  40             </xsd: schema>
  41           </xsd:ty pes>
  42           <message  name="che ckPolicyRe quest">
  43             <part  name="chec kPolicy" e lement="xa cml:Reques t"/>
  44           </messag e>
  45           <message  name="che ckPolicyRe sponse">
  46             <part  name="chec kPolicyRes ponse" ele ment="xacm l:Response "/>
  47           </messag e>
  48           <portTyp e name="XA CMLContext HandlerPor tType">
  49             <opera tion name= "checkPoli cy">
  50               <inp ut message ="tns:chec kPolicyReq uest"/>
  51               <out put messag e="tns:che ckPolicyRe sponse"/>
  52             </oper ation>
  53           </portTy pe>
  54           <binding  name="XAC MLContextH andlerPort Binding" t ype="tns:X ACMLContex tHandlerPo rtType">
  55             <soap: binding tr ansport="h ttp://sche mas.xmlsoa p.org/soap /http" sty le="docume nt"/>
  56             <opera tion name= "checkPoli cy">
  57               <soa p:operatio n soapActi on=""/>
  58               <inp ut>
  59                 <s oap:body u se="litera l"/>
  60               </in put>
  61               <out put>
  62                 <s oap:body u se="litera l"/>
  63               </ou tput>
  64             </oper ation>
  65           </bindin g>
  66           <service  name="XAC MLContextH andlerServ ice">
  67             <port  name="XACM LContextHa ndlerPort"  binding=" tns:XACMLC ontextHand lerPortBin ding">
  68               <soa p:address  location=" REPLACE_WI TH_ACTUAL_ URL"/>
  69             </port >
  70           </servic e>
  71         </definiti ons>]]>
  72        </con:cont ent>
  73        <con:type>
  74         http://sch emas.xmlso ap.org/wsd l/
  75        </con:type >
  76       </con:part >
  77       <con:part>
  78        <con:url>
  79         file:\C:\V LER\vap\tr unk\nhin_v ap_server\ src\main\r esources\M ETA-INF\xm l-resource s\web-serv ices\XACML ContextHan dlerServic e\schemas\ oasis\xacm l\access_c ontrol-xac ml-2.0-con text-schem a-os.xsd
  80        </con:url>
  81        <con:conte nt>
  82         <![CDATA[< xs:schema  targetName space="urn :oasis:nam es:tc:xacm l:2.0:cont ext: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:xac ml-context ="urn:oasi s:names:tc :xacml:2.0 :context:s chema:os"  xmlns:xs=" http://www .w3.org/20 01/XMLSche ma">
  83           <xs:impo rt namespa ce="urn:oa sis:names: tc:xacml:2 .0:policy: schema:os"  schemaLoc ation="acc ess_contro l-xacml-2. 0-policy-s chema-os.x sd"/>
  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         file:\C:\V LER\vap\tr unk\nhin_v ap_server\ src\main\r esources\M ETA-INF\xm l-resource s\web-serv ices\XACML ContextHan dlerServic e\schemas\ oasis\xacm l\access_c ontrol-xac ml-2.0-pol icy-schema -os.xsd
  223        </con:url>
  224        <con:conte nt>
  225         <![CDATA[< xs:schema  targetName space="urn :oasis:nam es:tc:xacm l:2.0:poli cy:schema: os" elemen tFormDefau lt="qualif ied" attri buteFormDe fault="unq ualified"  xmlns:xacm l="urn:oas is:names:t c:xacml:2. 0:policy:s chema:os"  xmlns:xs=" http://www .w3.org/20 01/XMLSche ma">
  226           <!---->
  227           <xs:elem ent name=" PolicySet"  type="xac ml:PolicyS etType"/>
  228           <xs:comp lexType na me="Policy SetType">
  229             <xs:se quence>
  230               <xs: element re f="xacml:D escription " minOccur s="0"/>
  231               <xs: element re f="xacml:P olicySetDe faults" mi nOccurs="0 "/>
  232               <xs: element re f="xacml:T arget"/>
  233               <xs: choice min Occurs="0"  maxOccurs ="unbounde d">
  234                 <x s:element  ref="xacml :PolicySet "/>
  235                 <x s:element  ref="xacml :Policy"/>
  236                 <x s:element  ref="xacml :PolicySet IdReferenc e"/>
  237                 <x s:element  ref="xacml :PolicyIdR eference"/ >
  238                 <x s:element  ref="xacml :CombinerP arameters" />
  239                 <x s:element  ref="xacml :PolicyCom binerParam eters"/>
  240                 <x s:element  ref="xacml :PolicySet CombinerPa rameters"/ >
  241               </xs :choice>
  242               <xs: element re f="xacml:O bligations " minOccur s="0"/>
  243             </xs:s equence>
  244             <xs:at tribute na me="Policy SetId" typ e="xs:anyU RI" use="r equired"/>
  245             <xs:at tribute na me="Versio n" type="x acml:Versi onType" de fault="1.0 "/>
  246             <xs:at tribute na me="Policy CombiningA lgId" type ="xs:anyUR I" use="re quired"/>
  247           </xs:com plexType>
  248           <!---->
  249           <xs:elem ent name=" CombinerPa rameters"  type="xacm l:Combiner Parameters Type"/>
  250           <xs:comp lexType na me="Combin erParamete rsType">
  251             <xs:se quence>
  252               <xs: element re f="xacml:C ombinerPar ameter" mi nOccurs="0 " maxOccur s="unbound ed"/>
  253             </xs:s equence>
  254           </xs:com plexType>
  255           <!---->
  256           <xs:elem ent name=" CombinerPa rameter" t ype="xacml :CombinerP arameterTy pe"/>
  257           <xs:comp lexType na me="Combin erParamete rType">
  258             <xs:se quence>
  259               <xs: element re f="xacml:A ttributeVa lue"/>
  260             </xs:s equence>
  261             <xs:at tribute na me="Parame terName" t ype="xs:st ring" use= "required" />
  262           </xs:com plexType>
  263           <!---->
  264           <xs:elem ent name=" RuleCombin erParamete rs" type=" xacml:Rule CombinerPa rametersTy pe"/>
  265           <xs:comp lexType na me="RuleCo mbinerPara metersType ">
  266             <xs:co mplexConte nt>
  267               <xs: extension  base="xacm l:Combiner Parameters Type">
  268                 <x s:attribut e name="Ru leIdRef" t ype="xs:st ring" use= "required" />
  269               </xs :extension >
  270             </xs:c omplexCont ent>
  271           </xs:com plexType>
  272           <!---->
  273           <xs:elem ent name=" PolicyComb inerParame ters" type ="xacml:Po licyCombin erParamete rsType"/>
  274           <xs:comp lexType na me="Policy CombinerPa rametersTy pe">
  275             <xs:co mplexConte nt>
  276               <xs: extension  base="xacm l:Combiner Parameters Type">
  277                 <x s:attribut e name="Po licyIdRef"  type="xs: anyURI" us e="require d"/>
  278               </xs :extension >
  279             </xs:c omplexCont ent>
  280           </xs:com plexType>
  281           <!---->
  282           <xs:elem ent name=" PolicySetC ombinerPar ameters" t ype="xacml :PolicySet CombinerPa rametersTy pe"/>
  283           <xs:comp lexType na me="Policy SetCombine rParameter sType">
  284             <xs:co mplexConte nt>
  285               <xs: extension  base="xacm l:Combiner Parameters Type">
  286                 <x s:attribut e name="Po licySetIdR ef" type=" xs:anyURI"  use="requ ired"/>
  287               </xs :extension >
  288             </xs:c omplexCont ent>
  289           </xs:com plexType>
  290           <!---->
  291           <xs:elem ent name=" PolicySetI dReference " type="xa cml:IdRefe renceType" />
  292           <xs:elem ent name=" PolicyIdRe ference" t ype="xacml :IdReferen ceType"/>
  293           <!---->
  294           <xs:elem ent name=" PolicySetD efaults" t ype="xacml :DefaultsT ype"/>
  295           <xs:elem ent name=" PolicyDefa ults" type ="xacml:De faultsType "/>
  296           <xs:comp lexType na me="Defaul tsType">
  297             <xs:se quence>
  298               <xs: choice>
  299                 <x s:element  ref="xacml :XPathVers ion"/>
  300               </xs :choice>
  301             </xs:s equence>
  302           </xs:com plexType>
  303           <!---->
  304           <xs:elem ent name=" XPathVersi on" type=" xs:anyURI" />
  305           <!---->
  306           <xs:comp lexType na me="IdRefe renceType" >
  307             <xs:si mpleConten t>
  308               <xs: extension  base="xs:a nyURI">
  309                 <x s:attribut e name="Ve rsion" typ e="xacml:V ersionMatc hType" use ="optional "/>
  310                 <x s:attribut e name="Ea rliestVers ion" type= "xacml:Ver sionMatchT ype" use=" optional"/ >
  311                 <x s:attribut e name="La testVersio n" type="x acml:Versi onMatchTyp e" use="op tional"/>
  312               </xs :extension >
  313             </xs:s impleConte nt>
  314           </xs:com plexType>
  315           <!---->
  316           <xs:simp leType nam e="Version Type">
  317             <xs:re striction  base="xs:s tring">
  318               <xs: pattern va lue="(\d+\ .)*\d+"/>
  319             </xs:r estriction >
  320           </xs:sim pleType>
  321           <!---->
  322           <xs:simp leType nam e="Version MatchType" >
  323             <xs:re striction  base="xs:s tring">
  324               <xs: pattern va lue="((\d+ |\*)\.)*(\ d+|\*|\+)" />
  325             </xs:r estriction >
  326           </xs:sim pleType>
  327           <!---->
  328           <xs:elem ent name=" Policy" ty pe="xacml: PolicyType "/>
  329           <xs:comp lexType na me="Policy Type">
  330             <xs:se quence>
  331               <xs: element re f="xacml:D escription " minOccur s="0"/>
  332               <xs: element re f="xacml:P olicyDefau lts" minOc curs="0"/>
  333               <!-- Had to com ment out t his elemen t - JAXB c ould not d eal with t he same ty pe
  334                                            referenc ed twice i n the same  type defi nition.-->
  335               <!-- <xs:elemen t ref="xac ml:Combine rParameter s" minOccu rs="0"/>-- >
  336               <xs: element re f="xacml:T arget"/>
  337               <xs: choice max Occurs="un bounded">
  338                 <x s:element  ref="xacml :CombinerP arameters"  minOccurs ="0"/>
  339                 <x s:element  ref="xacml :RuleCombi nerParamet ers" minOc curs="0"/>
  340                 <x s:element  ref="xacml :VariableD efinition" />
  341                 <x s:element  ref="xacml :Rule"/>
  342               </xs :choice>
  343               <xs: element re f="xacml:O bligations " minOccur s="0"/>
  344             </xs:s equence>
  345             <xs:at tribute na me="Policy Id" type=" xs:anyURI"  use="requ ired"/>
  346             <xs:at tribute na me="Versio n" type="x acml:Versi onType" de fault="1.0 "/>
  347             <xs:at tribute na me="RuleCo mbiningAlg Id" type=" xs:anyURI"  use="requ ired"/>
  348           </xs:com plexType>
  349           <!---->
  350           <xs:elem ent name=" Descriptio n" type="x s:string"/ >
  351           <!---->
  352           <xs:elem ent name=" Rule" type ="xacml:Ru leType"/>
  353           <xs:comp lexType na me="RuleTy pe">
  354             <xs:se quence>
  355               <xs: element re f="xacml:D escription " minOccur s="0"/>
  356               <xs: element re f="xacml:T arget" min Occurs="0" />
  357               <xs: element re f="xacml:C ondition"  minOccurs= "0"/>
  358             </xs:s equence>
  359             <xs:at tribute na me="RuleId " type="xs :string" u se="requir ed"/>
  360             <xs:at tribute na me="Effect " type="xa cml:Effect Type" use= "required" />
  361           </xs:com plexType>
  362           <!---->
  363           <xs:simp leType nam e="EffectT ype">
  364             <xs:re striction  base="xs:s tring">
  365               <xs: enumeratio n value="P ermit"/>
  366               <xs: enumeratio n value="D eny"/>
  367             </xs:r estriction >
  368           </xs:sim pleType>
  369           <!---->
  370           <xs:elem ent name=" Target" ty pe="xacml: TargetType "/>
  371           <xs:comp lexType na me="Target Type">
  372             <xs:se quence>
  373               <xs: element re f="xacml:S ubjects" m inOccurs=" 0"/>
  374               <xs: element re f="xacml:R esources"  minOccurs= "0"/>
  375               <xs: element re f="xacml:A ctions" mi nOccurs="0 "/>
  376               <xs: element re f="xacml:E nvironment s" minOccu rs="0"/>
  377             </xs:s equence>
  378           </xs:com plexType>
  379           <!---->
  380           <xs:elem ent name=" Subjects"  type="xacm l:Subjects Type"/>
  381           <xs:comp lexType na me="Subjec tsType">
  382             <xs:se quence>
  383               <xs: element re f="xacml:S ubject" ma xOccurs="u nbounded"/ >
  384             </xs:s equence>
  385           </xs:com plexType>
  386           <!---->
  387           <xs:elem ent name=" Subject" t ype="xacml :SubjectTy pe"/>
  388           <xs:comp lexType na me="Subjec tType">
  389             <xs:se quence>
  390               <xs: element re f="xacml:S ubjectMatc h" maxOccu rs="unboun ded"/>
  391             </xs:s equence>
  392           </xs:com plexType>
  393           <!---->
  394           <xs:elem ent name=" Resources"  type="xac ml:Resourc esType"/>
  395           <xs:comp lexType na me="Resour cesType">
  396             <xs:se quence>
  397               <xs: element re f="xacml:R esource" m axOccurs=" unbounded" />
  398             </xs:s equence>
  399           </xs:com plexType>
  400           <!---->
  401           <xs:elem ent name=" Resource"  type="xacm l:Resource Type"/>
  402           <xs:comp lexType na me="Resour ceType">
  403             <xs:se quence>
  404               <xs: element re f="xacml:R esourceMat ch" maxOcc urs="unbou nded"/>
  405             </xs:s equence>
  406           </xs:com plexType>
  407           <!---->
  408           <xs:elem ent name=" Actions" t ype="xacml :ActionsTy pe"/>
  409           <xs:comp lexType na me="Action sType">
  410             <xs:se quence>
  411               <xs: element re f="xacml:A ction" max Occurs="un bounded"/>
  412             </xs:s equence>
  413           </xs:com plexType>
  414           <!---->
  415           <xs:elem ent name=" Action" ty pe="xacml: ActionType "/>
  416           <xs:comp lexType na me="Action Type">
  417             <xs:se quence>
  418               <xs: element re f="xacml:A ctionMatch " maxOccur s="unbound ed"/>
  419             </xs:s equence>
  420           </xs:com plexType>
  421           <!---->
  422           <xs:elem ent name=" Environmen ts" type=" xacml:Envi ronmentsTy pe"/>
  423           <xs:comp lexType na me="Enviro nmentsType ">
  424             <xs:se quence>
  425               <xs: element re f="xacml:E nvironment " maxOccur s="unbound ed"/>
  426             </xs:s equence>
  427           </xs:com plexType>
  428           <!---->
  429           <xs:elem ent name=" Environmen t" type="x acml:Envir onmentType "/>
  430           <xs:comp lexType na me="Enviro nmentType" >
  431             <xs:se quence>
  432               <xs: element re f="xacml:E nvironment Match" max Occurs="un bounded"/>
  433             </xs:s equence>
  434           </xs:com plexType>
  435           <!---->
  436           <xs:elem ent name=" SubjectMat ch" type=" xacml:Subj ectMatchTy pe"/>
  437           <xs:comp lexType na me="Subjec tMatchType ">
  438             <xs:se quence>
  439               <xs: element re f="xacml:A ttributeVa lue"/>
  440               <xs: choice>
  441                 <x s:element  ref="xacml :SubjectAt tributeDes ignator"/>
  442                 <x s:element  ref="xacml :Attribute Selector"/ >
  443               </xs :choice>
  444             </xs:s equence>
  445             <xs:at tribute na me="MatchI d" type="x s:anyURI"  use="requi red"/>
  446           </xs:com plexType>
  447           <!---->
  448           <xs:elem ent name=" ResourceMa tch" type= "xacml:Res ourceMatch Type"/>
  449           <xs:comp lexType na me="Resour ceMatchTyp e">
  450             <xs:se quence>
  451               <xs: element re f="xacml:A ttributeVa lue"/>
  452               <xs: choice>
  453                 <x s:element  ref="xacml :ResourceA ttributeDe signator"/ >
  454                 <x s:element  ref="xacml :Attribute Selector"/ >
  455               </xs :choice>
  456             </xs:s equence>
  457             <xs:at tribute na me="MatchI d" type="x s:anyURI"  use="requi red"/>
  458           </xs:com plexType>
  459           <!---->
  460           <xs:elem ent name=" ActionMatc h" type="x acml:Actio nMatchType "/>
  461           <xs:comp lexType na me="Action MatchType" >
  462             <xs:se quence>
  463               <xs: element re f="xacml:A ttributeVa lue"/>
  464               <xs: choice>
  465                 <x s:element  ref="xacml :ActionAtt ributeDesi gnator"/>
  466                 <x s:element  ref="xacml :Attribute Selector"/ >
  467               </xs :choice>
  468             </xs:s equence>
  469             <xs:at tribute na me="MatchI d" type="x s:anyURI"  use="requi red"/>
  470           </xs:com plexType>
  471           <!---->
  472           <xs:elem ent name=" Environmen tMatch" ty pe="xacml: Environmen tMatchType "/>
  473           <xs:comp lexType na me="Enviro nmentMatch Type">
  474             <xs:se quence>
  475               <xs: element re f="xacml:A ttributeVa lue"/>
  476               <xs: choice>
  477                 <x s:element  ref="xacml :Environme ntAttribut eDesignato r"/>
  478                 <x s:element  ref="xacml :Attribute Selector"/ >
  479               </xs :choice>
  480             </xs:s equence>
  481             <xs:at tribute na me="MatchI d" type="x s:anyURI"  use="requi red"/>
  482           </xs:com plexType>
  483           <!---->
  484           <xs:elem ent name=" VariableDe finition"  type="xacm l:Variable Definition Type"/>
  485           <xs:comp lexType na me="Variab leDefiniti onType">
  486             <xs:se quence>
  487               <xs: element re f="xacml:E xpression" />
  488             </xs:s equence>
  489             <xs:at tribute na me="Variab leId" type ="xs:strin g" use="re quired"/>
  490           </xs:com plexType>
  491           <!---->
  492           <xs:elem ent name=" Expression " type="xa cml:Expres sionType"  abstract=" true"/>
  493           <xs:comp lexType na me="Expres sionType"  abstract=" true"/>
  494           <!---->
  495           <xs:elem ent name=" VariableRe ference" t ype="xacml :VariableR eferenceTy pe" substi tutionGrou p="xacml:E xpression" />
  496           <xs:comp lexType na me="Variab leReferenc eType">
  497             <xs:co mplexConte nt>
  498               <xs: extension  base="xacm l:Expressi onType">
  499                 <x s:attribut e name="Va riableId"  type="xs:s tring" use ="required "/>
  500               </xs :extension >
  501             </xs:c omplexCont ent>
  502           </xs:com plexType>
  503           <!---->
  504           <xs:elem ent name=" AttributeS elector" t ype="xacml :Attribute SelectorTy pe" substi tutionGrou p="xacml:E xpression" />
  505           <xs:comp lexType na me="Attrib uteSelecto rType">
  506             <xs:co mplexConte nt>
  507               <xs: extension  base="xacm l:Expressi onType">
  508                 <x s:attribut e name="Re questConte xtPath" ty pe="xs:str ing" use=" required"/ >
  509                 <x s:attribut e name="Da taType" ty pe="xs:any URI" use=" required"/ >
  510                 <x s:attribut e name="Mu stBePresen t" type="x s:boolean"  use="opti onal" defa ult="false "/>
  511               </xs :extension >
  512             </xs:c omplexCont ent>
  513           </xs:com plexType>
  514           <!---->
  515           <xs:elem ent name=" ResourceAt tributeDes ignator" t ype="xacml :Attribute Designator Type" subs titutionGr oup="xacml :Expressio n"/>
  516           <xs:elem ent name=" ActionAttr ibuteDesig nator" typ e="xacml:A ttributeDe signatorTy pe" substi tutionGrou p="xacml:E xpression" />
  517           <xs:elem ent name=" Environmen tAttribute Designator " type="xa cml:Attrib uteDesigna torType" s ubstitutio nGroup="xa cml:Expres sion"/>
  518           <!---->
  519           <xs:comp lexType na me="Attrib uteDesigna torType">
  520             <xs:co mplexConte nt>
  521               <xs: extension  base="xacm l:Expressi onType">
  522                 <x s:attribut e name="At tributeId"  type="xs: anyURI" us e="require d"/>
  523                 <x s:attribut e name="Da taType" ty pe="xs:any URI" use=" required"/ >
  524                 <x s:attribut e name="Is suer" type ="xs:strin g" use="op tional"/>
  525                 <x s:attribut e name="Mu stBePresen t" type="x s:boolean"  use="opti onal" defa ult="false "/>
  526               </xs :extension >
  527             </xs:c omplexCont ent>
  528           </xs:com plexType>
  529           <!---->
  530           <xs:elem ent name=" SubjectAtt ributeDesi gnator" ty pe="xacml: SubjectAtt ributeDesi gnatorType " substitu tionGroup= "xacml:Exp ression"/>
  531           <xs:comp lexType na me="Subjec tAttribute Designator Type">
  532             <xs:co mplexConte nt>
  533               <xs: extension  base="xacm l:Attribut eDesignato rType">
  534                 <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"/>
  535               </xs :extension >
  536             </xs:c omplexCont ent>
  537           </xs:com plexType>
  538           <!---->
  539           <xs:elem ent name=" AttributeV alue" type ="xacml:At tributeVal ueType" su bstitution Group="xac ml:Express ion"/>
  540           <xs:comp lexType na me="Attrib uteValueTy pe" mixed= "true">
  541             <xs:co mplexConte nt mixed=" true">
  542               <xs: extension  base="xacm l:Expressi onType">
  543                 <x s:sequence >
  544                    <xs:any na mespace="# #any" proc essContent s="lax" mi nOccurs="0 " maxOccur s="unbound ed"/>
  545                 </ xs:sequenc e>
  546                 <x s:attribut e name="Da taType" ty pe="xs:any URI" use=" required"/ >
  547                 <x s:anyAttri bute names pace="##an y" process Contents=" lax"/>
  548               </xs :extension >
  549             </xs:c omplexCont ent>
  550           </xs:com plexType>
  551           <!---->
  552           <xs:elem ent name=" Function"  type="xacm l:Function Type" subs titutionGr oup="xacml :Expressio n"/>
  553           <xs:comp lexType na me="Functi onType">
  554             <xs:co mplexConte nt>
  555               <xs: extension  base="xacm l:Expressi onType">
  556                 <x s:attribut e name="Fu nctionId"  type="xs:a nyURI" use ="required "/>
  557               </xs :extension >
  558             </xs:c omplexCont ent>
  559           </xs:com plexType>
  560           <!---->
  561           <xs:elem ent name=" Condition"  type="xac ml:Conditi onType"/>
  562           <xs:comp lexType na me="Condit ionType">
  563             <xs:se quence>
  564               <xs: element re f="xacml:E xpression" />
  565             </xs:s equence>
  566           </xs:com plexType>
  567           <!---->
  568           <xs:elem ent name=" Apply" typ e="xacml:A pplyType"  substituti onGroup="x acml:Expre ssion"/>
  569           <xs:comp lexType na me="ApplyT ype">
  570             <xs:co mplexConte nt>
  571               <xs: extension  base="xacm l:Expressi onType">
  572                 <x s:sequence >
  573                    <xs:elemen t ref="xac ml:Express ion" minOc curs="0" m axOccurs=" unbounded" />
  574                 </ xs:sequenc e>
  575                 <x s:attribut e name="Fu nctionId"  type="xs:a nyURI" use ="required "/>
  576               </xs :extension >
  577             </xs:c omplexCont ent>
  578           </xs:com plexType>
  579           <!---->
  580           <xs:elem ent name=" Obligation s" type="x acml:Oblig ationsType "/>
  581           <xs:comp lexType na me="Obliga tionsType" >
  582             <xs:se quence>
  583               <xs: element re f="xacml:O bligation"  maxOccurs ="unbounde d"/>
  584             </xs:s equence>
  585           </xs:com plexType>
  586           <!---->
  587           <xs:elem ent name=" Obligation " type="xa cml:Obliga tionType"/ >
  588           <xs:comp lexType na me="Obliga tionType">
  589             <xs:se quence>
  590               <xs: element re f="xacml:A ttributeAs signment"  minOccurs= "0" maxOcc urs="unbou nded"/>
  591             </xs:s equence>
  592             <xs:at tribute na me="Obliga tionId" ty pe="xs:any URI" use=" required"/ >
  593             <xs:at tribute na me="Fulfil lOn" type= "xacml:Eff ectType" u se="requir ed"/>
  594           </xs:com plexType>
  595           <!---->
  596           <xs:elem ent name=" AttributeA ssignment"  type="xac ml:Attribu teAssignme ntType"/>
  597           <xs:comp lexType na me="Attrib uteAssignm entType" m ixed="true ">
  598             <xs:co mplexConte nt mixed=" true">
  599               <xs: extension  base="xacm l:Attribut eValueType ">
  600                 <x s:attribut e name="At tributeId"  type="xs: anyURI" us e="require d"/>
  601               </xs :extension >
  602             </xs:c omplexCont ent>
  603           </xs:com plexType>
  604           <!---->
  605         </xs:schem a>]]>
  606        </con:cont ent>
  607        <con:type>
  608         http://www .w3.org/20 01/XMLSche ma
  609        </con:type >
  610       </con:part >
  611      </con:defi nitionCach e>
  612      <con:endpo ints>
  613       <con:endpo int>
  614        http://
s er v er : port /XACMLCont extHandler Service
  615       </con:endp oint>
  616       <con:endpo int>
  617        http:// ser v er: p
o rt /XACMLCont extHandler Service
  618       </con:endp oint>
  619       <con:endpo int>
  620        http://loc alhost:700 1/XACMLCon textHandle rService
  621       </con:endp oint>
  622       <con:endpo int>
  623        http:// s e r v er : port /XACMLCont extHandler Service
  624       </con:endp oint>
  625       <con:endpo int>
  626        http://loc alhost:222 2/XACMLCon textHandle rService
  627       </con:endp oint>
  628       <con:endpo int>
  629        http://
s er v er:p o rt /nwhin/pdp
  630       </con:endp oint>
  631      </con:endp oints>
  632      <con:opera tion 
  633       isOneWay=" false" 
  634       action="" 
  635       name="chec kPolicy" 
  636       bindingOpe rationName ="checkPol icy" 
  637       type="Requ est-Respon se" 
  638       inputName= "" 
  639       receivesAt tachments= "false" 
  640       sendsAttac hments="fa lse" 
  641       anonymous= "optional"
  642      >
  643       <con:setti ngs/>
  644       <con:call 
  645        name="DocQ ueryIn-DOD Requestor- OptIn-Perm it"
  646       >
  647        <con:setti ngs>
  648         <con:setti ng 
  649          id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers "
  650         >
  651          &lt;xml-fr agment/>
  652         </con:sett ing>
  653        </con:sett ings>
  654        <con:encod ing>
  655         UTF-8
  656        </con:enco ding>
  657        <con:endpo int>
  658         http://loc alhost:700 1/XACMLCon textHandle rService
  659        </con:endp oint>
  660        <con:reque st>
  661         <![CDATA[< S:Envelope  xmlns:S=" http://sch emas.xmlso ap.org/soa p/envelope /">
  662            <S:Body >
  663               <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">
  664                  < Subject Su bjectCateg ory="urn:o asis:names :tc:xacml: 1.0:subjec t-category :access-su bject">
  665                      <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">
  666                         <Attr ibuteValue >urn:oid:2 .16.840.1. 113883.3.4 2.10001.10 0001.12</A ttributeVa lue>
  667                      </Attrib ute>
  668                      <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">
  669                         <Attr ibuteValue >2011-11-0 3T15:27:47 .317Z</Att ributeValu e>
  670                      </Attrib ute>
  671                      <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">
  672                         <Attr ibuteValue >123456</A ttributeVa lue>
  673                      </Attrib ute>
  674                      <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">
  675                         <Attr ibuteValue >urn:oasis :names:tc: SAML:2.0:a c:classes: X509</Attr ibuteValue >
  676                      </Attrib ute>
  677                      <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" >
  678                         <Attr ibuteValue />
  679                      </Attrib ute>
  680                      <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">
  681                         <Attr ibuteValue />
  682                      </Attrib ute>
  683                      <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">
  684                         <Attr ibuteValue >user1</At tributeVal ue>
  685                      </Attrib ute>
  686                      <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">
  687                         <Attr ibuteValue >VA</Attri buteValue>
  688                      </Attrib ute>
  689                      <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">
  690                         <Attr ibuteValue >urn:oid:2 .16.840.1. 113883.3.4 2.10001.10 0001.12</A ttributeVa lue>
  691                      </Attrib ute>
  692                      <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">
  693                         <Attr ibuteValue >urn:oid:2 .16.840.1. 113883.3.4 2.10001.10 0001.12</A ttributeVa lue>
  694                      </Attrib ute>
  695                      <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">
  696                         <Attr ibuteValue >80584001< /Attribute Value>
  697                      </Attrib ute>
  698                      <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 ">
  699                         <Attr ibuteValue >2.16.840. 1.113883.6 .96</Attri buteValue>
  700                      </Attrib ute>
  701                      <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">
  702                         <Attr ibuteValue >SNOMED_CT </Attribut eValue>
  703                      </Attrib ute>
  704                      <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 ">
  705                         <Attr ibuteValue >Psychiatr ist</Attri buteValue>
  706                      </Attrib ute>
  707                      <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">
  708                         <Attr ibuteValue >TREATMENT </Attribut eValue>
  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:p urpose-of- use-code-s ystem">
  711                         <Attr ibuteValue >2.16.840. 1.113883.3 .18.7.1</A ttributeVa lue>
  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:p urpose-of- use-code-s ystem-name ">
  714                         <Attr ibuteValue >nhin-purp ose</Attri buteValue>
  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:p urpose-of- use-displa y-name">
  717                         <Attr ibuteValue >Use or di sclosure o f Psychoth erapy Note s</Attribu teValue>
  718                      </Attrib ute>
  719                  < /Subject>
  720                  < Resource>
  721                      <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">
  722                         <Attr ibuteValue >2.16.840. 1.113883.4 .349.2</At tributeVal ue>
  723                      </Attrib ute>
  724                      <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">
  725                         <Attr ibuteValue >101258167 6V377802</ AttributeV alue>
  726                      </Attrib ute>
  727                      <Attribu te DataTyp e="urn:hl7 -org:v3#II " Attribut eId="http: //www.hhs. gov/health it/nhin#su bject-id">
  728                         <Attr ibuteValue >
  729                            <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 "/>
  730                         </Att ributeValu e>
  731                      </Attrib ute>
  732                      <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">
  733                         <Attr ibuteValue >Permit</A ttributeVa lue>
  734                      </Attrib ute>
  735                      <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">
  736                         <Attr ibuteValue >https://l ocalhost/C ONNECTGate way/NhinSe rvice/Resp ondingGate way_Query_ Service/Do cQuery</At tributeVal ue>
  737                      </Attrib ute>
  738                      <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">
  739                         <Attr ibuteValue >Execute</ AttributeV alue>
  740                      </Attrib ute>
  741                      <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 ">
  742                         <Attr ibuteValue >fbc6cd69- c0c7-4546- b459-159a5 4f859b1</A ttributeVa lue>
  743                      </Attrib ute>
  744                      <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">
  745                         <Attr ibuteValue >2011-11-0 3T15:27:47 .317Z</Att ributeValu e>
  746                      </Attrib ute>
  747                      <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">
  748                         <Attr ibuteValue >2.0</Attr ibuteValue >
  749                      </Attrib ute>
  750                      <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">
  751                         <Attr ibuteValue >CN=SAML U ser,OU=SU, O=SAML Use r,L=Los An geles,ST=C A,C=US</At tributeVal ue>
  752                      </Attrib ute>
  753                      <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">
  754                         <Attr ibuteValue >2011-11-0 3T15:27:47 .317Z</Att ributeValu e>
  755                      </Attrib ute>
  756                      <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">
  757                         <Attr ibuteValue >2011-11-0 3T15:27:47 .317Z</Att ributeValu e>
  758                      </Attrib ute>
  759                      <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">
  760                         <Attr ibuteValue />
  761                      </Attrib ute>
  762                      <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">
  763                         <Attr ibuteValue />
  764                      </Attrib ute>
  765                  < /Resource>
  766                  < Action>
  767                      <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">
  768                         <Attr ibuteValue >DocumentQ ueryIn</At tributeVal ue>
  769                      </Attrib ute>
  770                  < /Action>
  771               </Re quest>
  772            </S:Bod y>
  773         </S:Envelo pe>]]>
  774        </con:requ est>
  775        <con:jmsCo nfig 
  776         JMSDeliver yMode="PER SISTENT"
  777        />
  778        <con:jmsPr opertyConf ig/>
  779        <con:wsaCo nfig 
  780         mustUnders tand="NONE
  781         version="2 00508" 
  782         action="ht tp://impl. contexthan dler.servi ce.server. vap.nwhin. vler. URL         /XACMLCont extHandler PortType/c heckPolicy Request"
  783        />
  784        <con:wsrmC onfig 
  785         version="1 .2"
  786        />
  787       </con:call >
  788       <con:call 
  789        name="DocQ ueryIn-DOD Requestor- OptOut-Per mit"
  790       >
  791        <con:setti ngs>
  792         <con:setti ng 
  793          id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers "
  794         >
  795          &lt;xml-fr agment/>
  796         </con:sett ing>
  797        </con:sett ings>
  798        <con:encod ing>
  799         UTF-8
  800        </con:enco ding>
  801        <con:endpo int>
  802         http://loc alhost:700 1/XACMLCon textHandle rService
  803        </con:endp oint>
  804        <con:reque st>
  805         <![CDATA[< S:Envelope  xmlns:S=" http://sch emas.xmlso ap.org/soa p/envelope /">
  806            <S:Body >
  807               <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">
  808                  < Subject Su bjectCateg ory="urn:o asis:names :tc:xacml: 1.0:subjec t-category :access-su bject">
  809                      <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">
  810                         <Attr ibuteValue >urn:oid:2 .16.840.1. 113883.3.4 2.10001.10 0001.12</A ttributeVa lue>
  811                      </Attrib ute>
  812                      <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">
  813                         <Attr ibuteValue >2011-11-0 3T15:27:47 .317Z</Att ributeValu e>
  814                      </Attrib ute>
  815                      <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">
  816                         <Attr ibuteValue >123456</A ttributeVa lue>
  817                      </Attrib ute>
  818                      <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">
  819                         <Attr ibuteValue >urn:oasis :names:tc: SAML:2.0:a c:classes: X509</Attr ibuteValue >
  820                      </Attrib ute>
  821                      <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" >
  822                         <Attr ibuteValue />
  823                      </Attrib ute>
  824                      <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">
  825                         <Attr ibuteValue />
  826                      </Attrib ute>
  827                      <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">
  828                         <Attr ibuteValue >user1</At tributeVal ue>
  829                      </Attrib ute>
  830                      <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">
  831                         <Attr ibuteValue >VA</Attri buteValue>
  832                      </Attrib ute>
  833                      <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">
  834                         <Attr ibuteValue >urn:oid:2 .16.840.1. 113883.3.4 2.10001.10 0001.12</A ttributeVa lue>
  835                      </Attrib ute>
  836                      <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">
  837                         <Attr ibuteValue >urn:oid:2 .16.840.1. 113883.3.4 2.10001.10 0001.12</A ttributeVa lue>
  838                      </Attrib ute>
  839                      <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">
  840                         <Attr ibuteValue >80584001< /Attribute Value>
  841                      </Attrib ute>
  842                      <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 ">
  843                         <Attr ibuteValue >2.16.840. 1.113883.6 .96</Attri buteValue>
  844                      </Attrib ute>
  845                      <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">
  846                         <Attr ibuteValue >SNOMED_CT </Attribut eValue>
  847                      </Attrib ute>
  848                      <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 ">
  849                         <Attr ibuteValue >Psychiatr ist</Attri buteValue>
  850                      </Attrib ute>
  851                      <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">
  852                         <Attr ibuteValue >TREATMENT </Attribut eValue>
  853                      </Attrib ute>
  854                      <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">
  855                         <Attr ibuteValue >2.16.840. 1.113883.3 .18.7.1</A ttributeVa lue>
  856                      </Attrib ute>
  857                      <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 ">
  858                         <Attr ibuteValue >nhin-purp ose</Attri buteValue>
  859                      </Attrib ute>
  860                      <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">
  861                         <Attr ibuteValue >Use or di sclosure o f Psychoth erapy Note s</Attribu teValue>
  862                      </Attrib ute>
  863                  < /Subject>
  864                  < Resource>
  865                      <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">
  866                         <Attr ibuteValue >2.16.840. 1.113883.4 .349.2</At tributeVal ue>
  867                      </Attrib ute>
  868                      <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">
  869                         <Attr ibuteValue >101258167 6V377802</ AttributeV alue>
  870                      </Attrib ute>
  871                      <Attribu te DataTyp e="urn:hl7 -org:v3#II " Attribut eId="http: //www.hhs. gov/health it/nhin#su bject-id">
  872                         <Attr ibuteValue >
  873                            <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 "/>
  874                         </Att ributeValu e>
  875                      </Attrib ute>
  876                      <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">
  877                         <Attr ibuteValue >Permit</A ttributeVa lue>
  878                      </Attrib ute>
  879                      <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">
  880                         <Attr ibuteValue >https://l ocalhost/C ONNECTGate way/NhinSe rvice/Resp ondingGate way_Query_ Service/Do cQuery</At tributeVal ue>
  881                      </Attrib ute>
  882                      <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">
  883                         <Attr ibuteValue >Execute</ AttributeV alue>
  884                      </Attrib ute>
  885                      <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 ">
  886                         <Attr ibuteValue >fbc6cd69- c0c7-4546- b459-159a5 4f859b1</A ttributeVa lue>
  887                      </Attrib ute>
  888                      <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">
  889                         <Attr ibuteValue >2011-11-0 3T15:27:47 .317Z</Att ributeValu e>
  890                      </Attrib ute>
  891                      <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">
  892                         <Attr ibuteValue >2.0</Attr ibuteValue >
  893                      </Attrib ute>
  894                      <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">
  895                         <Attr ibuteValue >CN=SAML U ser,OU=SU, O=SAML Use r,L=Los An geles,ST=C A,C=US</At tributeVal ue>
  896                      </Attrib ute>
  897                      <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">
  898                         <Attr ibuteValue >2011-11-0 3T15:27:47 .317Z</Att ributeValu e>
  899                      </Attrib ute>
  900                      <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">
  901                         <Attr ibuteValue >2011-11-0 3T15:27:47 .317Z</Att ributeValu e>
  902                      </Attrib ute>
  903                      <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">
  904                         <Attr ibuteValue />
  905                      </Attrib ute>
  906                      <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">
  907                         <Attr ibuteValue />
  908                      </Attrib ute>
  909                  < /Resource>
  910                  < Action>
  911                      <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">
  912                         <Attr ibuteValue >DocumentQ ueryIn</At tributeVal ue>
  913                      </Attrib ute>
  914                  < /Action>
  915               </Re quest>
  916            </S:Bod y>
  917         </S:Envelo pe>]]>
  918        </con:requ est>
  919        <con:jmsCo nfig 
  920         JMSDeliver yMode="PER SISTENT"
  921        />
  922        <con:jmsPr opertyConf ig/>
  923        <con:wsaCo nfig 
  924         mustUnders tand="NONE
  925         version="2 00508" 
  926         action="ht tp://impl. contexthan dler.servi ce.server. vap.nwhin. vler. URL         /XACMLCont extHandler PortType/c heckPolicy Request"
  927        />
  928        <con:wsrmC onfig 
  929         version="1 .2"
  930        />
  931       </con:call >
  932       <con:call 
  933        name="DocQ ueryIn-All owedCommun ityRequest or-OptIn-U ncorrelate d-Deny"
  934       >
  935        <con:setti ngs>
  936         <con:setti ng 
  937          id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers "
  938         >
  939          &lt;xml-fr agment/>
  940         </con:sett ing>
  941        </con:sett ings>
  942        <con:encod ing>
  943         UTF-8
  944        </con:enco ding>
  945        <con:endpo int>
  946         http://loc alhost:700 1/XACMLCon textHandle rService
  947        </con:endp oint>
  948        <con:reque st>
  949         <![CDATA[< S:Envelope  xmlns:S=" http://sch emas.xmlso ap.org/soa p/envelope /">
  950            <S:Body >
  951               <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">
  952                  < Subject Su bjectCateg ory="urn:o asis:names :tc:xacml: 1.0:subjec t-category :access-su bject">
  953                      <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">
  954                         <Attr ibuteValue >urn:oid:1 .3.6.1.4.1 .26580</At tributeVal ue>
  955                      </Attrib ute>
  956                      <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">
  957                         <Attr ibuteValue >2011-11-0 3T15:27:47 .317Z</Att ributeValu e>
  958                      </Attrib ute>
  959                      <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">
  960                         <Attr ibuteValue >123456</A ttributeVa lue>
  961                      </Attrib ute>
  962                      <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">
  963                         <Attr ibuteValue >urn:oasis :names:tc: SAML:2.0:a c:classes: X509</Attr ibuteValue >
  964                      </Attrib ute>
  965                      <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" >
  966                         <Attr ibuteValue />
  967                      </Attrib ute>
  968                      <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">
  969                         <Attr ibuteValue />
  970                      </Attrib ute>
  971                      <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">
  972                         <Attr ibuteValue >user1</At tributeVal ue>
  973                      </Attrib ute>
  974                      <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">
  975                         <Attr ibuteValue >VA</Attri buteValue>
  976                      </Attrib ute>
  977                      <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">
  978                         <Attr ibuteValue >urn:oid:1 .3.6.1.4.1 .26580</At tributeVal ue>
  979                      </Attrib ute>
  980                      <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">
  981                         <Attr ibuteValue >urn:oid:1 .3.6.1.4.1 .26580</At tributeVal ue>
  982                      </Attrib ute>
  983                      <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">
  984                         <Attr ibuteValue >80584001< /Attribute Value>
  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:u ser-role-c ode-system ">
  987                         <Attr ibuteValue >2.16.840. 1.113883.6 .96</Attri buteValue>
  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:u ser-role-c ode-system -name">
  990                         <Attr ibuteValue >SNOMED_CT </Attribut eValue>
  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:u ser-role-d escription ">
  993                         <Attr ibuteValue >Psychiatr ist</Attri buteValue>
  994                      </Attrib ute>
  995                      <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">
  996                         <Attr ibuteValue >TREATMENT </Attribut eValue>
  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:p urpose-of- use-code-s ystem">
  999                         <Attr ibuteValue >2.16.840. 1.113883.3 .18.7.1</A ttributeVa lue>
  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:p urpose-of- use-code-s ystem-name ">
  1002                         <Attr ibuteValue >nhin-purp ose</Attri buteValue>
  1003                      </Attrib ute>
  1004                      <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">
  1005                         <Attr ibuteValue >Use or di sclosure o f Psychoth erapy Note s</Attribu teValue>
  1006                      </Attrib ute>
  1007                  < /Subject>
  1008                  < Resource>
  1009                      <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">
  1010                         <Attr ibuteValue >2.16.840. 1.113883.4 .349.2</At tributeVal ue>
  1011                      </Attrib ute>
  1012                      <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">
  1013                         <Attr ibuteValue >101258167 6V377802</ AttributeV alue>
  1014                      </Attrib ute>
  1015                      <Attribu te DataTyp e="urn:hl7 -org:v3#II " Attribut eId="http: //www.hhs. gov/health it/nhin#su bject-id">
  1016                         <Attr ibuteValue >
  1017                            <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" />
  1018                         </Att ributeValu e>
  1019                      </Attrib ute>
  1020                      <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">
  1021                         <Attr ibuteValue >Permit</A ttributeVa lue>
  1022                      </Attrib ute>
  1023                      <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">
  1024                         <Attr ibuteValue >https://l ocalhost/C ONNECTGate way/NhinSe rvice/Resp ondingGate way_Query_ Service/Do cQuery</At tributeVal ue>
  1025                      </Attrib ute>
  1026                      <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">
  1027                         <Attr ibuteValue >Execute</ AttributeV alue>
  1028                      </Attrib ute>
  1029                      <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 ">
  1030                         <Attr ibuteValue >fbc6cd69- c0c7-4546- b459-159a5 4f859b1</A ttributeVa lue>
  1031                      </Attrib ute>
  1032                      <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">
  1033                         <Attr ibuteValue >2011-11-0 3T15:27:47 .317Z</Att ributeValu e>
  1034                      </Attrib ute>
  1035                      <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">
  1036                         <Attr ibuteValue >2.0</Attr ibuteValue >
  1037                      </Attrib ute>
  1038                      <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">
  1039                         <Attr ibuteValue >CN=SAML U ser,OU=SU, O=SAML Use r,L=Los An geles,ST=C A,C=US</At tributeVal ue>
  1040                      </Attrib ute>
  1041                      <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">
  1042                         <Attr ibuteValue >2011-11-0 3T15:27:47 .317Z</Att ributeValu e>
  1043                      </Attrib ute>
  1044                      <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">
  1045                         <Attr ibuteValue >2011-11-0 3T15:27:47 .317Z</Att ributeValu e>
  1046                      </Attrib ute>
  1047                      <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">
  1048                         <Attr ibuteValue />
  1049                      </Attrib ute>
  1050                      <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">
  1051                         <Attr ibuteValue />
  1052                      </Attrib ute>
  1053                  < /Resource>
  1054                  < Action>
  1055                      <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">
  1056                         <Attr ibuteValue >DocumentQ ueryIn</At tributeVal ue>
  1057                      </Attrib ute>
  1058                  < /Action>
  1059               </Re quest>
  1060            </S:Bod y>
  1061         </S:Envelo pe>]]>
  1062        </con:requ est>
  1063        <con:jmsCo nfig 
  1064         JMSDeliver yMode="PER SISTENT"
  1065        />
  1066        <con:jmsPr opertyConf ig/>
  1067        <con:wsaCo nfig 
  1068         mustUnders tand="NONE
  1069         version="2 00508" 
  1070         action="ht tp://impl. contexthan dler.servi ce.server. vap.nwhin. vler. URL         /XACMLCont extHandler PortType/c heckPolicy Request"
  1071        />
  1072        <con:wsrmC onfig 
  1073         version="1 .2"
  1074        />
  1075       </con:call >
  1076       <con:call 
  1077        name="DocQ ueryIn-All owedCommun ityRequest or-OptIn-P ermit"
  1078       >
  1079        <con:setti ngs>
  1080         <con:setti ng 
  1081          id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers "
  1082         >
  1083          &lt;xml-fr agment/>
  1084         </con:sett ing>
  1085        </con:sett ings>
  1086        <con:encod ing>
  1087         UTF-8
  1088        </con:enco ding>
  1089        <con:endpo int>
  1090         http://loc alhost:700 1/XACMLCon textHandle rService
  1091        </con:endp oint>
  1092        <con:reque st>
  1093         <![CDATA[< S:Envelope  xmlns:S=" http://sch emas.xmlso ap.org/soa p/envelope /">
  1094            <S:Body >
  1095               <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">
  1096                  < Subject Su bjectCateg ory="urn:o asis:names :tc:xacml: 1.0:subjec t-category :access-su bject">
  1097                      <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">
  1098                         <Attr ibuteValue >urn:oid:2 .16.840.1. 113883.3.1 90.6.100.1 </Attribut eValue>
  1099                      </Attrib ute>
  1100                      <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">
  1101                         <Attr ibuteValue >2011-11-0 3T15:27:47 .317Z</Att ributeValu e>
  1102                      </Attrib ute>
  1103                      <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">
  1104                         <Attr ibuteValue >123456</A ttributeVa lue>
  1105                      </Attrib ute>
  1106                      <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">
  1107                         <Attr ibuteValue >urn:oasis :names:tc: SAML:2.0:a c:classes: X509</Attr ibuteValue >
  1108                      </Attrib ute>
  1109                      <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" >
  1110                         <Attr ibuteValue />
  1111                      </Attrib ute>
  1112                      <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">
  1113                         <Attr ibuteValue />
  1114                      </Attrib ute>
  1115                      <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">
  1116                         <Attr ibuteValue >user1</At tributeVal ue>
  1117                      </Attrib ute>
  1118                      <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">
  1119                         <Attr ibuteValue >VA</Attri buteValue>
  1120                      </Attrib ute>
  1121                      <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">
  1122                         <Attr ibuteValue >urn:oid:2 .16.840.1. 113883.3.1 90.6.100.1 </Attribut eValue>
  1123                      </Attrib ute>
  1124                      <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">
  1125                         <Attr ibuteValue >urn:oid:2 .16.840.1. 113883.3.1 90.6.100.1 </Attribut eValue>
  1126                      </Attrib ute>
  1127                      <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">
  1128                         <Attr ibuteValue >80584001< /Attribute Value>
  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:u ser-role-c ode-system ">
  1131                         <Attr ibuteValue >2.16.840. 1.113883.6 .96</Attri buteValue>
  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:u ser-role-c ode-system -name">
  1134                         <Attr ibuteValue >SNOMED_CT </Attribut eValue>
  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:u ser-role-d escription ">
  1137                         <Attr ibuteValue >Psychiatr ist</Attri buteValue>
  1138                      </Attrib ute>
  1139                      <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">
  1140                         <Attr ibuteValue >TREATMENT </Attribut eValue>
  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:p urpose-of- use-code-s ystem">
  1143                         <Attr ibuteValue >2.16.840. 1.113883.3 .18.7.1</A ttributeVa lue>
  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:p urpose-of- use-code-s ystem-name ">
  1146                         <Attr ibuteValue >nhin-purp ose</Attri buteValue>
  1147                      </Attrib ute>
  1148                      <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">
  1149                         <Attr ibuteValue >Use or di sclosure o f Psychoth erapy Note s</Attribu teValue>
  1150                      </Attrib ute>
  1151                  < /Subject>
  1152                  < Resource>
  1153                      <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">
  1154                         <Attr ibuteValue >2.16.840. 1.113883.4 .349.2</At tributeVal ue>
  1155                      </Attrib ute>
  1156                      <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">
  1157                         <Attr ibuteValue >101258167 6V377802</ AttributeV alue>
  1158                      </Attrib ute>
  1159                      <Attribu te DataTyp e="urn:hl7 -org:v3#II " Attribut eId="http: //www.hhs. gov/health it/nhin#su bject-id">
  1160                         <Attr ibuteValue >
  1161                            <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"/>
  1162                         </Att ributeValu e>
  1163                      </Attrib ute>
  1164                      <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">
  1165                         <Attr ibuteValue >Permit</A ttributeVa lue>
  1166                      </Attrib ute>
  1167                      <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">
  1168                         <Attr ibuteValue >https://l ocalhost/C ONNECTGate way/NhinSe rvice/Resp ondingGate way_Query_ Service/Do cQuery</At tributeVal ue>
  1169                      </Attrib ute>
  1170                      <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">
  1171                         <Attr ibuteValue >Execute</ AttributeV alue>
  1172                      </Attrib ute>
  1173                      <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 ">
  1174                         <Attr ibuteValue >fbc6cd69- c0c7-4546- b459-159a5 4f859b1</A ttributeVa lue>
  1175                      </Attrib ute>
  1176                      <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">
  1177                         <Attr ibuteValue >2011-11-0 3T15:27:47 .317Z</Att ributeValu e>
  1178                      </Attrib ute>
  1179                      <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">
  1180                         <Attr ibuteValue >2.0</Attr ibuteValue >
  1181                      </Attrib ute>
  1182                      <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">
  1183                         <Attr ibuteValue >CN=SAML U ser,OU=SU, O=SAML Use r,L=Los An geles,ST=C A,C=US</At tributeVal ue>
  1184                      </Attrib ute>
  1185                      <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">
  1186                         <Attr ibuteValue >2011-11-0 3T15:27:47 .317Z</Att ributeValu e>
  1187                      </Attrib ute>
  1188                      <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">
  1189                         <Attr ibuteValue >2011-11-0 3T15:27:47 .317Z</Att ributeValu e>
  1190                      </Attrib ute>
  1191                      <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">
  1192                         <Attr ibuteValue />
  1193                      </Attrib ute>
  1194                      <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">
  1195                         <Attr ibuteValue />
  1196                      </Attrib ute>
  1197                  < /Resource>
  1198                  < Action>
  1199                      <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">
  1200                         <Attr ibuteValue >DocumentQ ueryIn</At tributeVal ue>
  1201                      </Attrib ute>
  1202                  < /Action>
  1203               </Re quest>
  1204            </S:Bod y>
  1205         </S:Envelo pe>]]>
  1206        </con:requ est>
  1207        <con:jmsCo nfig 
  1208         JMSDeliver yMode="PER SISTENT"
  1209        />
  1210        <con:jmsPr opertyConf ig/>
  1211        <con:wsaCo nfig 
  1212         mustUnders tand="NONE
  1213         version="2 00508" 
  1214         action="ht tp://impl. contexthan dler.servi ce.server. vap.nwhin. vler. URL         /XACMLCont extHandler PortType/c heckPolicy Request"
  1215        />
  1216        <con:wsrmC onfig 
  1217         version="1 .2"
  1218        />
  1219       </con:call >
  1220       <con:call 
  1221        name="DocQ ueryIn-All owedCommun ityRequest or-Unsuppo rtedPOU-De ny"
  1222       >
  1223        <con:setti ngs>
  1224         <con:setti ng 
  1225          id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers "
  1226         >
  1227          &lt;xml-fr agment/>
  1228         </con:sett ing>
  1229        </con:sett ings>
  1230        <con:encod ing>
  1231         UTF-8
  1232        </con:enco ding>
  1233        <con:endpo int>
  1234         http://loc alhost:700 1/XACMLCon textHandle rService
  1235        </con:endp oint>
  1236        <con:reque st>
  1237         <![CDATA[< S:Envelope  xmlns:S=" http://sch emas.xmlso ap.org/soa p/envelope /">
  1238            <S:Body >
  1239               <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">
  1240                  < Subject Su bjectCateg ory="urn:o asis:names :tc:xacml: 1.0:subjec t-category :access-su bject">
  1241                      <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">
  1242                         <Attr ibuteValue >urn:oid:2 .16.840.1. 113883.3.1 90.6.100.1 </Attribut eValue>
  1243                      </Attrib ute>
  1244                      <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">
  1245                         <Attr ibuteValue >2011-11-0 3T15:27:47 .317Z</Att ributeValu e>
  1246                      </Attrib ute>
  1247                      <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">
  1248                         <Attr ibuteValue >123456</A ttributeVa lue>
  1249                      </Attrib ute>
  1250                      <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">
  1251                         <Attr ibuteValue >urn:oasis :names:tc: SAML:2.0:a c:classes: X509</Attr ibuteValue >
  1252                      </Attrib ute>
  1253                      <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" >
  1254                         <Attr ibuteValue />
  1255                      </Attrib ute>
  1256                      <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">
  1257                         <Attr ibuteValue />
  1258                      </Attrib ute>
  1259                      <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">
  1260                         <Attr ibuteValue >user1</At tributeVal ue>
  1261                      </Attrib ute>
  1262                      <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">
  1263                         <Attr ibuteValue >VA</Attri buteValue>
  1264                      </Attrib ute>
  1265                      <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">
  1266                         <Attr ibuteValue >urn:oid:2 .16.840.1. 113883.3.1 90.6.100.1 </Attribut eValue>
  1267                      </Attrib ute>
  1268                      <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">
  1269                         <Attr ibuteValue >urn:oid:2 .16.840.1. 113883.3.1 90.6.100.1 </Attribut eValue>
  1270                      </Attrib ute>
  1271                      <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">
  1272                         <Attr ibuteValue >80584001< /Attribute Value>
  1273                      </Attrib ute>
  1274                      <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 ">
  1275                         <Attr ibuteValue >2.16.840. 1.113883.6 .96</Attri buteValue>
  1276                      </Attrib ute>
  1277                      <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">
  1278                         <Attr ibuteValue >SNOMED_CT </Attribut eValue>
  1279                      </Attrib ute>
  1280                      <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 ">
  1281                         <Attr ibuteValue >Psychiatr ist</Attri buteValue>
  1282                      </Attrib ute>
  1283                      <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">
  1284                         <Attr ibuteValue >PUBLICHEA LTH</Attri buteValue>
  1285                      </Attrib ute>
  1286                      <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">
  1287                         <Attr ibuteValue >2.16.840. 1.113883.3 .18.7.1</A ttributeVa lue>
  1288                      </Attrib ute>
  1289                      <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 ">
  1290                         <Attr ibuteValue >nhin-purp ose</Attri buteValue>
  1291                      </Attrib ute>
  1292                      <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">
  1293                         <Attr ibuteValue >Use or di sclosure o f Psychoth erapy Note s</Attribu teValue>
  1294                      </Attrib ute>
  1295                  < /Subject>
  1296                  < Resource>
  1297                      <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">
  1298                         <Attr ibuteValue >2.16.840. 1.113883.4 .349.2</At tributeVal ue>
  1299                      </Attrib ute>
  1300                      <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">
  1301                         <Attr ibuteValue >101258167 6V377802</ AttributeV alue>
  1302                      </Attrib ute>
  1303                      <Attribu te DataTyp e="urn:hl7 -org:v3#II " Attribut eId="http: //www.hhs. gov/health it/nhin#su bject-id">
  1304                         <Attr ibuteValue >
  1305                            <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"/>
  1306                         </Att ributeValu e>
  1307                      </Attrib ute>
  1308                      <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">
  1309                         <Attr ibuteValue >Permit</A ttributeVa lue>
  1310                      </Attrib ute>
  1311                      <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">
  1312                         <Attr ibuteValue >https://l ocalhost/C ONNECTGate way/NhinSe rvice/Resp ondingGate way_Query_ Service/Do cQuery</At tributeVal ue>
  1313                      </Attrib ute>
  1314                      <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">
  1315                         <Attr ibuteValue >Execute</ AttributeV alue>
  1316                      </Attrib ute>
  1317                      <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 ">
  1318                         <Attr ibuteValue >fbc6cd69- c0c7-4546- b459-159a5 4f859b1</A ttributeVa lue>
  1319                      </Attrib ute>
  1320                      <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">
  1321                         <Attr ibuteValue >2011-11-0 3T15:27:47 .317Z</Att ributeValu e>
  1322                      </Attrib ute>
  1323                      <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">
  1324                         <Attr ibuteValue >2.0</Attr ibuteValue >
  1325                      </Attrib ute>
  1326                      <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">
  1327                         <Attr ibuteValue >CN=SAML U ser,OU=SU, O=SAML Use r,L=Los An geles,ST=C A,C=US</At tributeVal ue>
  1328                      </Attrib ute>
  1329                      <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">
  1330                         <Attr ibuteValue >2011-11-0 3T15:27:47 .317Z</Att ributeValu e>
  1331                      </Attrib ute>
  1332                      <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">
  1333                         <Attr ibuteValue >2011-11-0 3T15:27:47 .317Z</Att ributeValu e>
  1334                      </Attrib ute>
  1335                      <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">
  1336                         <Attr ibuteValue />
  1337                      </Attrib ute>
  1338                      <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">
  1339                         <Attr ibuteValue />
  1340                      </Attrib ute>
  1341                  < /Resource>
  1342                  < Action>
  1343                      <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">
  1344                         <Attr ibuteValue >DocumentQ ueryIn</At tributeVal ue>
  1345                      </Attrib ute>
  1346                  < /Action>
  1347               </Re quest>
  1348            </S:Bod y>
  1349         </S:Envelo pe>]]>
  1350        </con:requ est>
  1351        <con:jmsCo nfig 
  1352         JMSDeliver yMode="PER SISTENT"
  1353        />
  1354        <con:jmsPr opertyConf ig/>
  1355        <con:wsaCo nfig 
  1356         mustUnders tand="NONE
  1357         version="2 00508" 
  1358         action="ht tp://impl. contexthan dler.servi ce.server. vap.nwhin. vler. URL         /XACMLCont extHandler PortType/c heckPolicy Request"
  1359        />
  1360        <con:wsrmC onfig 
  1361         version="1 .2"
  1362        />
  1363       </con:call >
  1364       <con:call 
  1365        name="DocQ ueryOut-DO DResource- OptIn-Perm it"
  1366       >
  1367        <con:setti ngs>
  1368         <con:setti ng 
  1369          id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers "
  1370         >
  1371          &lt;xml-fr agment/>
  1372         </con:sett ing>
  1373        </con:sett ings>
  1374        <con:encod ing>
  1375         UTF-8
  1376        </con:enco ding>
  1377        <con:endpo int>
  1378         http://loc alhost:700 1/XACMLCon textHandle rService
  1379        </con:endp oint>
  1380        <con:reque st>
  1381         <![CDATA[< S:Envelope  xmlns:S=" http://sch emas.xmlso ap.org/soa p/envelope /">
  1382            <S:Body >
  1383               <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 ">
  1384                  < ns2:Subjec t>
  1385                      <ns2:Att ribute Att ributeId=" urn:oasis: names:tc:x acml:1.0:s ubject:sub ject-id">
  1386                         <ns2: AttributeV alue>984:3 5458</ns2: AttributeV alue>
  1387                      </ns2:At tribute>
  1388                      <ns2:Att ribute Att ributeId=" urn:oasis: names:tc:x spa:1.0:su bject:purp oseofuse">
  1389                         <ns2: AttributeV alue>TREAT MENT</ns2: AttributeV alue>
  1390                      </ns2:At tribute>
  1391                      <ns2:Att ribute Att ributeId=" http://www .hhs.gov/h ealthit/nh in#HomeCom munityId">
  1392                         <ns2: AttributeV alue>urn:o id:2.16.84 0.1.113883 .4.349.2</ ns2:Attrib uteValue>
  1393                      </ns2:At tribute>
  1394                  < /ns2:Subje ct>
  1395                  < ns2:Resour ce>
  1396                      <ns2:Att ribute Att ributeId=" urn:oasis: names:tc:x acml:1.0:r esource:re source-id" >
  1397                         <ns2: AttributeV alue>10125 81676V3778 02^^^&amp; 2.16.840.1 .113883.4. 349&amp;IS O</ns2:Att ributeValu e>
  1398                      </ns2:At tribute>
  1399                      <ns2:Att ribute Att ributeId=" urn:gov:hh s:fha:nhin c:home-com munity-id" >
  1400                         <ns2: AttributeV alue>2.16. 840.1.1138 83.3.42.10 001.100001 .12</ns2:A ttributeVa lue>
  1401                      </ns2:At tribute>
  1402                  < /ns2:Resou rce>
  1403                  < ns2:Action >
  1404                      <ns2:Att ribute Att ributeId=" urn:oasis: names:tc:x acml:1.0:a ction:acti on-id">
  1405                         <ns2: AttributeV alue>Docum entQueryOu t</ns2:Att ributeValu e>
  1406                      </ns2:At tribute>
  1407                  < /ns2:Actio n>
  1408               </ns 2:Request>
  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://impl. contexthan dler.servi ce.server. vap.nwhin. vler. 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="DocQ ueryOut-DO DResource- OptOut-Per mit"
  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://loc alhost:700 1/XACMLCon textHandle rService
  1440        </con:endp oint>
  1441        <con:reque st>
  1442         <![CDATA[< S:Envelope  xmlns:S=" http://sch emas.xmlso ap.org/soa p/envelope /">
  1443            <S:Body >
  1444               <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 ">
  1445                  < ns2:Subjec t>
  1446                      <ns2:Att ribute Att ributeId=" urn:oasis: names:tc:x acml:1.0:s ubject:sub ject-id">
  1447                         <ns2: AttributeV alue>984:3 5458</ns2: AttributeV alue>
  1448                      </ns2:At tribute>
  1449                      <ns2:Att ribute Att ributeId=" urn:oasis: names:tc:x spa:1.0:su bject:purp oseofuse">
  1450                         <ns2: AttributeV alue>TREAT MENT</ns2: AttributeV alue>
  1451                      </ns2:At tribute>
  1452                      <ns2:Att ribute Att ributeId=" http://www .hhs.gov/h ealthit/nh in#HomeCom munityId">
  1453                         <ns2: AttributeV alue>urn:o id:2.16.84 0.1.113883 .4.349.2</ ns2:Attrib uteValue>
  1454                      </ns2:At tribute>
  1455                  < /ns2:Subje ct>
  1456                  < ns2:Resour ce>
  1457                      <ns2:Att ribute Att ributeId=" urn:oasis: names:tc:x acml:1.0:r esource:re source-id" >
  1458                         <ns2: AttributeV alue>10125 81676V3778 02^^^&amp; 2.16.840.1 .113883.4. 349&amp;IS O</ns2:Att ributeValu e>
  1459                      </ns2:At tribute>
  1460                      <ns2:Att ribute Att ributeId=" urn:gov:hh s:fha:nhin c:home-com munity-id" >
  1461                         <ns2: AttributeV alue>2.16. 840.1.1138 83.3.42.10 001.100001 .12</ns2:A ttributeVa lue>
  1462                      </ns2:At tribute>
  1463                  < /ns2:Resou rce>
  1464                  < ns2:Action >
  1465                      <ns2:Att ribute Att ributeId=" urn:oasis: names:tc:x acml:1.0:a ction:acti on-id">
  1466                         <ns2: AttributeV alue>Docum entQueryOu t</ns2:Att ributeValu e>
  1467                      </ns2:At tribute>
  1468                  < /ns2:Actio n>
  1469               </ns 2:Request>
  1470            </S:Bod y>
  1471         </S:Envelo pe>]]>
  1472        </con:requ est>
  1473        <con:jmsCo nfig 
  1474         JMSDeliver yMode="PER SISTENT"
  1475        />
  1476        <con:jmsPr opertyConf ig/>
  1477        <con:wsaCo nfig 
  1478         mustUnders tand="NONE
  1479         version="2 00508" 
  1480         action="ht tp://impl. contexthan dler.servi ce.server. vap.nwhin. vler. URL         /XACMLCont extHandler PortType/c heckPolicy Request"
  1481        />
  1482        <con:wsrmC onfig 
  1483         version="1 .2"
  1484        />
  1485       </con:call >
  1486       <con:call 
  1487        name="DocQ ueryOut-Al lowedCommu nityResour ce-OptOut- Deny"
  1488       >
  1489        <con:setti ngs>
  1490         <con:setti ng 
  1491          id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers "
  1492         >
  1493          &lt;xml-fr agment/>
  1494         </con:sett ing>
  1495        </con:sett ings>
  1496        <con:encod ing>
  1497         UTF-8
  1498        </con:enco ding>
  1499        <con:endpo int>
  1500         http://loc alhost:700 1/XACMLCon textHandle rService
  1501        </con:endp oint>
  1502        <con:reque st>
  1503         <![CDATA[< S:Envelope  xmlns:S=" http://sch emas.xmlso ap.org/soa p/envelope /">
  1504            <S:Body >
  1505               <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 ">
  1506                  < ns2:Subjec t>
  1507                      <ns2:Att ribute Att ributeId=" urn:oasis: names:tc:x acml:1.0:s ubject:sub ject-id">
  1508                         <ns2: AttributeV alue>984:3 5458</ns2: AttributeV alue>
  1509                      </ns2:At tribute>
  1510                      <ns2:Att ribute Att ributeId=" urn:oasis: names:tc:x spa:1.0:su bject:purp oseofuse">
  1511                         <ns2: AttributeV alue>TREAT MENT</ns2: AttributeV alue>
  1512                      </ns2:At tribute>
  1513                      <ns2:Att ribute Att ributeId=" http://www .hhs.gov/h ealthit/nh in#HomeCom munityId">
  1514                         <ns2: AttributeV alue>urn:o id:2.16.84 0.1.113883 .4.349.2</ ns2:Attrib uteValue>
  1515                      </ns2:At tribute>
  1516                  < /ns2:Subje ct>
  1517                  < ns2:Resour ce>
  1518                      <ns2:Att ribute Att ributeId=" urn:oasis: names:tc:x acml:1.0:r esource:re source-id" >
  1519                         <ns2: AttributeV alue>10125 81676V3778 02^^^&amp; 2.16.840.1 .113883.4. 349&amp;IS O</ns2:Att ributeValu e>
  1520                      </ns2:At tribute>
  1521                      <ns2:Att ribute Att ributeId=" urn:gov:hh s:fha:nhin c:home-com munity-id" >
  1522                         <ns2: AttributeV alue>1.3.6 .1.4.1.120 09.6.1</ns 2:Attribut eValue>
  1523                      </ns2:At tribute>
  1524                  < /ns2:Resou rce>
  1525                  < ns2:Action >
  1526                      <ns2:Att ribute Att ributeId=" urn:oasis: names:tc:x acml:1.0:a ction:acti on-id">
  1527                         <ns2: AttributeV alue>Docum entQueryOu t</ns2:Att ributeValu e>
  1528                      </ns2:At tribute>
  1529                  < /ns2:Actio n>
  1530               </ns 2:Request>
  1531            </S:Bod y>
  1532         </S:Envelo pe>]]>
  1533        </con:requ est>
  1534        <con:jmsCo nfig 
  1535         JMSDeliver yMode="PER SISTENT"
  1536        />
  1537        <con:jmsPr opertyConf ig/>
  1538        <con:wsaCo nfig 
  1539         mustUnders tand="NONE
  1540         version="2 00508" 
  1541         action="ht tp://impl. contexthan dler.servi ce.server. vap.nwhin. vler. URL         /XACMLCont extHandler PortType/c heckPolicy Request"
  1542        />
  1543        <con:wsrmC onfig 
  1544         version="1 .2"
  1545        />
  1546       </con:call >
  1547       <con:call 
  1548        name="DocQ ueryOut-Al lowedCommu nityResour ce-OptIn-P ermit"
  1549       >
  1550        <con:setti ngs>
  1551         <con:setti ng 
  1552          id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers "
  1553         >
  1554          &lt;xml-fr agment/>
  1555         </con:sett ing>
  1556        </con:sett ings>
  1557        <con:encod ing>
  1558         UTF-8
  1559        </con:enco ding>
  1560        <con:endpo int>
  1561         http://loc alhost:700 1/XACMLCon textHandle rService
  1562        </con:endp oint>
  1563        <con:reque st>
  1564         <![CDATA[< S:Envelope  xmlns:S=" http://sch emas.xmlso ap.org/soa p/envelope /">
  1565            <S:Body >
  1566               <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 ">
  1567                  < ns2:Subjec t>
  1568                      <ns2:Att ribute Att ributeId=" urn:oasis: names:tc:x acml:1.0:s ubject:sub ject-id">
  1569                         <ns2: AttributeV alue>984:3 5458</ns2: AttributeV alue>
  1570                      </ns2:At tribute>
  1571                      <ns2:Att ribute Att ributeId=" urn:oasis: names:tc:x spa:1.0:su bject:purp oseofuse">
  1572                         <ns2: AttributeV alue>TREAT MENT</ns2: AttributeV alue>
  1573                      </ns2:At tribute>
  1574                      <ns2:Att ribute Att ributeId=" http://www .hhs.gov/h ealthit/nh in#HomeCom munityId">
  1575                         <ns2: AttributeV alue>urn:o id:2.16.84 0.1.113883 .4.349.2</ ns2:Attrib uteValue>
  1576                      </ns2:At tribute>
  1577                  < /ns2:Subje ct>
  1578                  < ns2:Resour ce>
  1579                      <ns2:Att ribute Att ributeId=" urn:oasis: names:tc:x acml:1.0:r esource:re source-id" >
  1580                         <ns2: AttributeV alue>10125 81676V3778 02^^^&amp; 2.16.840.1 .113883.4. 349&amp;IS O</ns2:Att ributeValu e>
  1581                      </ns2:At tribute>
  1582                      <ns2:Att ribute Att ributeId=" urn:gov:hh s:fha:nhin c:home-com munity-id" >
  1583                         <ns2: AttributeV alue>1.3.6 .1.4.1.120 09.6.1</ns 2:Attribut eValue>
  1584                      </ns2:At tribute>
  1585                  < /ns2:Resou rce>
  1586                  < ns2:Action >
  1587                      <ns2:Att ribute Att ributeId=" urn:oasis: names:tc:x acml:1.0:a ction:acti on-id">
  1588                         <ns2: AttributeV alue>Docum entQueryOu t</ns2:Att ributeValu e>
  1589                      </ns2:At tribute>
  1590                  < /ns2:Actio n>
  1591               </ns 2:Request>
  1592            </S:Bod y>
  1593         </S:Envelo pe>]]>
  1594        </con:requ est>
  1595        <con:jmsCo nfig 
  1596         JMSDeliver yMode="PER SISTENT"
  1597        />
  1598        <con:jmsPr opertyConf ig/>
  1599        <con:wsaCo nfig 
  1600         mustUnders tand="NONE
  1601         version="2 00508" 
  1602         action="ht tp://impl. contexthan dler.servi ce.server. vap.nwhin. vler. URL         /XACMLCont extHandler PortType/c heckPolicy Request"
  1603        />
  1604        <con:wsrmC onfig 
  1605         version="1 .2"
  1606        />
  1607       </con:call >
  1608       <con:call 
  1609        name="DocR etrieveIn- AllowedCom munityRequ estor-OptI n-Uncorrel ated-Deny"
  1610       >
  1611        <con:setti ngs>
  1612         <con:setti ng 
  1613          id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers "
  1614         >
  1615          &lt;xml-fr agment/>
  1616         </con:sett ing>
  1617        </con:sett ings>
  1618        <con:encod ing>
  1619         UTF-8
  1620        </con:enco ding>
  1621        <con:endpo int>
  1622         http://loc alhost:700 1/XACMLCon textHandle rService
  1623        </con:endp oint>
  1624        <con:reque st>
  1625         <![CDATA[< S:Envelope  xmlns:S=" http://sch emas.xmlso ap.org/soa p/envelope /">
  1626            <S:Body >
  1627               <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">
  1628                  < Subject Su bjectCateg ory="urn:o asis:names :tc:xacml: 1.0:subjec t-category :access-su bject">
  1629                      <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">
  1630                         <Attr ibuteValue >urn:oid:1 .3.6.1.4.1 .26580</At tributeVal ue>
  1631                      </Attrib ute>
  1632                      <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">
  1633                         <Attr ibuteValue >2011-11-0 3T15:35:18 .423Z</Att ributeValu e>
  1634                      </Attrib ute>
  1635                      <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">
  1636                         <Attr ibuteValue >123456</A ttributeVa lue>
  1637                      </Attrib ute>
  1638                      <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">
  1639                         <Attr ibuteValue >urn:oasis :names:tc: SAML:2.0:a c:classes: X509</Attr ibuteValue >
  1640                      </Attrib ute>
  1641                      <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" >
  1642                         <Attr ibuteValue />
  1643                      </Attrib ute>
  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:subj ect:authn- locality:d ns-name">
  1645                         <Attr ibuteValue />
  1646                      </Attrib ute>
  1647                      <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">
  1648                         <Attr ibuteValue >user1</At tributeVal ue>
  1649                      </Attrib ute>
  1650                      <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">
  1651                         <Attr ibuteValue >Departmen t of Defen se</Attrib uteValue>
  1652                      </Attrib ute>
  1653                      <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">
  1654                         <Attr ibuteValue >urn:oid:1 .3.6.1.4.1 .26580</At tributeVal ue>
  1655                      </Attrib ute>
  1656                      <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">
  1657                         <Attr ibuteValue >urn:oid:1 .3.6.1.4.1 .26580</At tributeVal ue>
  1658                      </Attrib ute>
  1659                      <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">
  1660                         <Attr ibuteValue >80584001< /Attribute Value>
  1661                      </Attrib ute>
  1662                      <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 ">
  1663                         <Attr ibuteValue >2.16.840. 1.113883.6 .96</Attri buteValue>
  1664                      </Attrib ute>
  1665                      <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">
  1666                         <Attr ibuteValue >SNOMED_CT </Attribut eValue>
  1667                      </Attrib ute>
  1668                      <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 ">
  1669                         <Attr ibuteValue >Psychiatr ist</Attri buteValue>
  1670                      </Attrib ute>
  1671                      <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">
  1672                         <Attr ibuteValue >TREATMENT </Attribut eValue>
  1673                      </Attrib ute>
  1674                      <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">
  1675                         <Attr ibuteValue >2.16.840. 1.113883.3 .18.7.1</A ttributeVa lue>
  1676                      </Attrib ute>
  1677                      <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 ">
  1678                         <Attr ibuteValue >nhin-purp ose</Attri buteValue>
  1679                      </Attrib ute>
  1680                      <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">
  1681                         <Attr ibuteValue >Use or di sclosure o f Psychoth erapy Note s</Attribu teValue>
  1682                      </Attrib ute>
  1683                  < /Subject>
  1684                  < Resource>
  1685                      <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">
  1686                         <Attr ibuteValue >urn:oid:2 .16.840.1. 113883.4.3 49.2</Attr ibuteValue >
  1687                      </Attrib ute>
  1688                      <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">
  1689                         <Attr ibuteValue >1</Attrib uteValue>
  1690                      </Attrib ute>
  1691                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:d ocument-id ">
  1692                         <Attr ibuteValue >d32bc9a2- 3f2a-4e5b- 9311-ac66a 18002de</A ttributeVa lue>
  1693                      </Attrib ute>
  1694                      <Attribu te DataTyp e="urn:hl7 -org:v3#II " Attribut eId="http: //www.hhs. gov/health it/nhin#su bject-id">
  1695                         <Attr ibuteValue >
  1696                            <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"/>
  1697                         </Att ributeValu e>
  1698                      </Attrib ute>
  1699                      <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">
  1700                         <Attr ibuteValue >Permit</A ttributeVa lue>
  1701                      </Attrib ute>
  1702                      <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">
  1703                         <Attr ibuteValue >https://l ocalhost/C ONNECTGate way/NhinSe rvice/Resp ondingGate way_Retrie ve_Service /DocRetrie ve</Attrib uteValue>
  1704                      </Attrib ute>
  1705                      <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">
  1706                         <Attr ibuteValue >Execute</ AttributeV alue>
  1707                      </Attrib ute>
  1708                      <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 ">
  1709                         <Attr ibuteValue >4c720e15- 8b74-49b2- b9b0-aaceb cb79455</A ttributeVa lue>
  1710                      </Attrib ute>
  1711                      <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">
  1712                         <Attr ibuteValue >2011-11-0 3T15:35:18 .423Z</Att ributeValu e>
  1713                      </Attrib ute>
  1714                      <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">
  1715                         <Attr ibuteValue >2.0</Attr ibuteValue >
  1716                      </Attrib ute>
  1717                      <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">
  1718                         <Attr ibuteValue >CN=SAML U ser,OU=SU, O=SAML Use r,L=Los An geles,ST=C A,C=US</At tributeVal ue>
  1719                      </Attrib ute>
  1720                      <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">
  1721                         <Attr ibuteValue >2011-11-0 3T15:35:18 .423Z</Att ributeValu e>
  1722                      </Attrib ute>
  1723                      <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">
  1724                         <Attr ibuteValue >2011-11-0 3T15:35:18 .423Z</Att ributeValu e>
  1725                      </Attrib ute>
  1726                      <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">
  1727                         <Attr ibuteValue />
  1728                      </Attrib ute>
  1729                      <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">
  1730                         <Attr ibuteValue />
  1731                      </Attrib ute>
  1732                      <Attribu te Attribu teId="urn: oasis:name s:tc:xacml :1.0:resou rce:resour ce-id">
  1733                         <Attr ibuteValue >'10125816 76V377802^ ^^&amp;2.1 6.840.1.11 3883.4.349 .2&amp;ISO '</Attribu teValue>
  1734                      </Attrib ute>
  1735                  < /Resource>
  1736                  < Action>
  1737                      <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">
  1738                         <Attr ibuteValue >DocumentR etrieveIn< /Attribute Value>
  1739                      </Attrib ute>
  1740                  < /Action>
  1741               </Re quest>
  1742            </S:Bod y>
  1743         </S:Envelo pe>]]>
  1744        </con:requ est>
  1745        <con:jmsCo nfig 
  1746         JMSDeliver yMode="PER SISTENT"
  1747        />
  1748        <con:jmsPr opertyConf ig/>
  1749        <con:wsaCo nfig 
  1750         mustUnders tand="NONE
  1751         version="2 00508" 
  1752         action="ht tp://impl. contexthan dler.servi ce.server. vap.nwhin. vler. URL         /XACMLCont extHandler PortType/c heckPolicy Request"
  1753        />
  1754        <con:wsrmC onfig 
  1755         version="1 .2"
  1756        />
  1757       </con:call >
  1758       <con:call 
  1759        name="DocR etrieveIn- AllowedCom munityRequ estor-OptO ut-Deny"
  1760       >
  1761        <con:setti ngs>
  1762         <con:setti ng 
  1763          id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers "
  1764         >
  1765          &lt;xml-fr agment/>
  1766         </con:sett ing>
  1767        </con:sett ings>
  1768        <con:encod ing>
  1769         UTF-8
  1770        </con:enco ding>
  1771        <con:endpo int>
  1772         http://loc alhost:700 1/XACMLCon textHandle rService
  1773        </con:endp oint>
  1774        <con:reque st>
  1775         <![CDATA[< S:Envelope  xmlns:S=" http://sch emas.xmlso ap.org/soa p/envelope /">
  1776            <S:Body >
  1777               <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">
  1778                  < Subject Su bjectCateg ory="urn:o asis:names :tc:xacml: 1.0:subjec t-category :access-su bject">
  1779                      <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">
  1780                         <Attr ibuteValue >urn:oid:2 .16.840.1. 113883.3.1 90.6.100.1 </Attribut eValue>
  1781                      </Attrib ute>
  1782                      <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">
  1783                         <Attr ibuteValue >2011-11-0 3T15:35:18 .423Z</Att ributeValu e>
  1784                      </Attrib ute>
  1785                      <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">
  1786                         <Attr ibuteValue >123456</A ttributeVa lue>
  1787                      </Attrib ute>
  1788                      <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">
  1789                         <Attr ibuteValue >urn:oasis :names:tc: SAML:2.0:a c:classes: X509</Attr ibuteValue >
  1790                      </Attrib ute>
  1791                      <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" >
  1792                         <Attr ibuteValue />
  1793                      </Attrib ute>
  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:subj ect:authn- locality:d ns-name">
  1795                         <Attr ibuteValue />
  1796                      </Attrib ute>
  1797                      <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">
  1798                         <Attr ibuteValue >user1</At tributeVal ue>
  1799                      </Attrib ute>
  1800                      <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">
  1801                         <Attr ibuteValue >Departmen t of Defen se</Attrib uteValue>
  1802                      </Attrib ute>
  1803                      <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">
  1804                         <Attr ibuteValue >urn:oid:2 .16.840.1. 113883.3.1 90.6.100.1 </Attribut eValue>
  1805                      </Attrib ute>
  1806                      <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">
  1807                         <Attr ibuteValue >urn:oid:2 .16.840.1. 113883.3.1 90.6.100.1 </Attribut eValue>
  1808                      </Attrib ute>
  1809                      <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">
  1810                         <Attr ibuteValue >80584001< /Attribute Value>
  1811                      </Attrib ute>
  1812                      <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 ">
  1813                         <Attr ibuteValue >2.16.840. 1.113883.6 .96</Attri buteValue>
  1814                      </Attrib ute>
  1815                      <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">
  1816                         <Attr ibuteValue >SNOMED_CT </Attribut eValue>
  1817                      </Attrib ute>
  1818                      <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 ">
  1819                         <Attr ibuteValue >Psychiatr ist</Attri buteValue>
  1820                      </Attrib ute>
  1821                      <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">
  1822                         <Attr ibuteValue >TREATMENT </Attribut eValue>
  1823                      </Attrib ute>
  1824                      <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">
  1825                         <Attr ibuteValue >2.16.840. 1.113883.3 .18.7.1</A ttributeVa lue>
  1826                      </Attrib ute>
  1827                      <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 ">
  1828                         <Attr ibuteValue >nhin-purp ose</Attri buteValue>
  1829                      </Attrib ute>
  1830                      <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">
  1831                         <Attr ibuteValue >Use or di sclosure o f Psychoth erapy Note s</Attribu teValue>
  1832                      </Attrib ute>
  1833                  < /Subject>
  1834                  < Resource>
  1835                      <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">
  1836                         <Attr ibuteValue >urn:oid:2 .16.840.1. 113883.4.3 49.2</Attr ibuteValue >
  1837                      </Attrib ute>
  1838                      <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">
  1839                         <Attr ibuteValue >1</Attrib uteValue>
  1840                      </Attrib ute>
  1841                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:d ocument-id ">
  1842                         <Attr ibuteValue >d32bc9a2- 3f2a-4e5b- 9311-ac66a 18002de</A ttributeVa lue>
  1843                      </Attrib ute>
  1844                      <Attribu te DataTyp e="urn:hl7 -org:v3#II " Attribut eId="http: //www.hhs. gov/health it/nhin#su bject-id">
  1845                         <Attr ibuteValue >
  1846                            <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"/>
  1847                         </Att ributeValu e>
  1848                      </Attrib ute>
  1849                      <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">
  1850                         <Attr ibuteValue >Permit</A ttributeVa lue>
  1851                      </Attrib ute>
  1852                      <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">
  1853                         <Attr ibuteValue >https://l ocalhost/C ONNECTGate way/NhinSe rvice/Resp ondingGate way_Retrie ve_Service /DocRetrie ve</Attrib uteValue>
  1854                      </Attrib ute>
  1855                      <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">
  1856                         <Attr ibuteValue >Execute</ AttributeV alue>
  1857                      </Attrib ute>
  1858                      <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 ">
  1859                         <Attr ibuteValue >4c720e15- 8b74-49b2- b9b0-aaceb cb79455</A ttributeVa lue>
  1860                      </Attrib ute>
  1861                      <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">
  1862                         <Attr ibuteValue >2011-11-0 3T15:35:18 .423Z</Att ributeValu e>
  1863                      </Attrib ute>
  1864                      <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">
  1865                         <Attr ibuteValue >2.0</Attr ibuteValue >
  1866                      </Attrib ute>
  1867                      <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">
  1868                         <Attr ibuteValue >CN=SAML U ser,OU=SU, O=SAML Use r,L=Los An geles,ST=C A,C=US</At tributeVal ue>
  1869                      </Attrib ute>
  1870                      <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">
  1871                         <Attr ibuteValue >2011-11-0 3T15:35:18 .423Z</Att ributeValu e>
  1872                      </Attrib ute>
  1873                      <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">
  1874                         <Attr ibuteValue >2011-11-0 3T15:35:18 .423Z</Att ributeValu e>
  1875                      </Attrib ute>
  1876                      <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">
  1877                         <Attr ibuteValue />
  1878                      </Attrib ute>
  1879                      <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">
  1880                         <Attr ibuteValue />
  1881                      </Attrib ute>
  1882                      <Attribu te Attribu teId="urn: oasis:name s:tc:xacml :1.0:resou rce:resour ce-id">
  1883                         <Attr ibuteValue >'10125816 76V377802^ ^^&amp;2.1 6.840.1.11 3883.4.349 .2&amp;ISO '</Attribu teValue>
  1884                      </Attrib ute>
  1885                  < /Resource>
  1886                  < Action>
  1887                      <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">
  1888                         <Attr ibuteValue >DocumentR etrieveIn< /Attribute Value>
  1889                      </Attrib ute>
  1890                  < /Action>
  1891               </Re quest>
  1892            </S:Bod y>
  1893         </S:Envelo pe>]]>
  1894        </con:requ est>
  1895        <con:jmsCo nfig 
  1896         JMSDeliver yMode="PER SISTENT"
  1897        />
  1898        <con:jmsPr opertyConf ig/>
  1899        <con:wsaCo nfig 
  1900         mustUnders tand="NONE
  1901         version="2 00508" 
  1902         action="ht tp://impl. contexthan dler.servi ce.server. vap.nwhin. vler. URL         /XACMLCont extHandler PortType/c heckPolicy Request"
  1903        />
  1904        <con:wsrmC onfig 
  1905         version="1 .2"
  1906        />
  1907       </con:call >
  1908       <con:call 
  1909        name="DocR etrieveOut -AllowedCo mmunityRes ource-OptI n-Permit"
  1910       >
  1911        <con:setti ngs>
  1912         <con:setti ng 
  1913          id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers "
  1914         >
  1915          &lt;xml-fr agment/>
  1916         </con:sett ing>
  1917        </con:sett ings>
  1918        <con:encod ing>
  1919         UTF-8
  1920        </con:enco ding>
  1921        <con:endpo int>
  1922         http://loc alhost:700 1/XACMLCon textHandle rService
  1923        </con:endp oint>
  1924        <con:reque st>
  1925         <![CDATA[< S:Envelope  xmlns:S=" http://sch emas.xmlso ap.org/soa p/envelope /">
  1926            <S:Body >
  1927               <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">
  1928                  < Subject Su bjectCateg ory="urn:o asis:names :tc:xacml: 1.0:subjec t-category :access-su bject">
  1929                      <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">
  1930                         <Attr ibuteValue >urn:oid:2 .16.840.1. 113883.4.3 49.2</Attr ibuteValue >
  1931                      </Attrib ute>
  1932                      <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">
  1933                         <Attr ibuteValue >2011-11-0 3T14:29:46 .339Z</Att ributeValu e>
  1934                      </Attrib ute>
  1935                      <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">
  1936                         <Attr ibuteValue >123456</A ttributeVa lue>
  1937                      </Attrib ute>
  1938                      <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">
  1939                         <Attr ibuteValue >urn:oasis :names:tc: SAML:2.0:a c:classes: X509</Attr ibuteValue >
  1940                      </Attrib ute>
  1941                      <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" >
  1942                         <Attr ibuteValue />
  1943                      </Attrib ute>
  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:subj ect:authn- locality:d ns-name">
  1945                         <Attr ibuteValue />
  1946                      </Attrib ute>
  1947                      <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">
  1948                         <Attr ibuteValue >983:52064 6758</Attr ibuteValue >
  1949                      </Attrib ute>
  1950                      <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">
  1951                         <Attr ibuteValue >Departmen t of Veter ans Affair s</Attribu teValue>
  1952                      </Attrib ute>
  1953                      <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">
  1954                         <Attr ibuteValue >urn:oid:2 .16.840.1. 113883.4.3 49.2</Attr ibuteValue >
  1955                      </Attrib ute>
  1956                      <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">
  1957                         <Attr ibuteValue >urn:oid:2 .16.840.1. 113883.4.3 49.2</Attr ibuteValue >
  1958                      </Attrib ute>
  1959                      <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">
  1960                         <Attr ibuteValue >112247003 </Attribut eValue>
  1961                      </Attrib ute>
  1962                      <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 ">
  1963                         <Attr ibuteValue >2.16.840. 1.113883.6 .96</Attri buteValue>
  1964                      </Attrib ute>
  1965                      <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">
  1966                         <Attr ibuteValue >SNOMED_CT </Attribut eValue>
  1967                      </Attrib ute>
  1968                      <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 ">
  1969                         <Attr ibuteValue >Medical d octor</Att ributeValu e>
  1970                      </Attrib ute>
  1971                      <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">
  1972                         <Attr ibuteValue >TREATMENT </Attribut eValue>
  1973                      </Attrib ute>
  1974                      <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">
  1975                         <Attr ibuteValue >2.16.840. 1.113883.3 .18.7.1</A ttributeVa lue>
  1976                      </Attrib ute>
  1977                      <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 ">
  1978                         <Attr ibuteValue >nhin-purp ose</Attri buteValue>
  1979                      </Attrib ute>
  1980                      <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">
  1981                         <Attr ibuteValue >Treatment </Attribut eValue>
  1982                      </Attrib ute>
  1983                  < /Subject>
  1984                  < Resource>
  1985                      <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">
  1986                         <Attr ibuteValue >urn:oid:2 .25.256133 1214422665 4719893174 7355024016 667.1.2.1< /Attribute Value>
  1987                      </Attrib ute>
  1988                      <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">
  1989                         <Attr ibuteValue >2.25.2561 3312144226 6547198931 7473550240 16667.1.2. 5.12</Attr ibuteValue >
  1990                      </Attrib ute>
  1991                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:d ocument-id ">
  1992                         <Attr ibuteValue >2.25.1556 1080346092 9287339406 8257678050 29898</Att ributeValu e>
  1993                      </Attrib ute>
  1994                      <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">
  1995                         <Attr ibuteValue >Permit</A ttributeVa lue>
  1996                      </Attrib ute>
  1997                      <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">
  1998                         <Attr ibuteValue >https://l ocalhost/C ONNECTGate way/Entity Service/En tityDocRet rieveSecur ed</Attrib uteValue>
  1999                      </Attrib ute>
  2000                      <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">
  2001                         <Attr ibuteValue >Execute</ AttributeV alue>
  2002                      </Attrib ute>
  2003                      <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 ">
  2004                         <Attr ibuteValue >fb8faa6c- 2b13-4fad- 8f94-c8bd9 c16dd76</A ttributeVa lue>
  2005                      </Attrib ute>
  2006                      <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">
  2007                         <Attr ibuteValue >2011-11-0 3T14:29:46 .339Z</Att ributeValu e>
  2008                      </Attrib ute>
  2009                      <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">
  2010                         <Attr ibuteValue >2.0</Attr ibuteValue >
  2011                      </Attrib ute>
  2012                      <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">
  2013                         <Attr ibuteValue >Jaren Doh erty</Attr ibuteValue >
  2014                      </Attrib ute>
  2015                      <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">
  2016                         <Attr ibuteValue >2011-11-0 3T14:29:46 .339Z</Att ributeValu e>
  2017                      </Attrib ute>
  2018                      <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">
  2019                         <Attr ibuteValue >2011-11-0 3T14:29:46 .339Z</Att ributeValu e>
  2020                      </Attrib ute>
  2021                      <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">
  2022                         <Attr ibuteValue />
  2023                      </Attrib ute>
  2024                      <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">
  2025                         <Attr ibuteValue />
  2026                      </Attrib ute>
  2027                  < /Resource>
  2028                  < Action>
  2029                      <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">
  2030                         <Attr ibuteValue >DocumentR etrieveOut </Attribut eValue>
  2031                      </Attrib ute>
  2032                  < /Action>
  2033               </Re quest>
  2034            </S:Bod y>
  2035         </S:Envelo pe>]]>
  2036        </con:requ est>
  2037        <con:jmsCo nfig 
  2038         JMSDeliver yMode="PER SISTENT"
  2039        />
  2040        <con:jmsPr opertyConf ig/>
  2041        <con:wsaCo nfig 
  2042         mustUnders tand="NONE
  2043         version="2 00508" 
  2044         action="ht tp://impl. contexthan dler.servi ce.server. vap.nwhin. vler. URL         /XACMLCont extHandler PortType/c heckPolicy Request"
  2045        />
  2046        <con:wsrmC onfig 
  2047         version="1 .2"
  2048        />
  2049       </con:call >
  2050       <con:call 
  2051        name="DocR etrieveOut -AllowedCo mmunityRes ource-OptO ut-Permit"
  2052       >
  2053        <con:setti ngs>
  2054         <con:setti ng 
  2055          id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers "
  2056         >
  2057          &lt;xml-fr agment/>
  2058         </con:sett ing>
  2059        </con:sett ings>
  2060        <con:encod ing>
  2061         UTF-8
  2062        </con:enco ding>
  2063        <con:endpo int>
  2064         http://loc alhost:700 1/XACMLCon textHandle rService
  2065        </con:endp oint>
  2066        <con:reque st>
  2067         <![CDATA[< S:Envelope  xmlns:S=" http://sch emas.xmlso ap.org/soa p/envelope /">
  2068            <S:Body >
  2069               <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">
  2070                  < Subject Su bjectCateg ory="urn:o asis:names :tc:xacml: 1.0:subjec t-category :access-su bject">
  2071                      <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">
  2072                         <Attr ibuteValue >urn:oid:2 .16.840.1. 113883.4.3 49.2</Attr ibuteValue >
  2073                      </Attrib ute>
  2074                      <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">
  2075                         <Attr ibuteValue >2011-11-0 3T14:29:46 .339Z</Att ributeValu e>
  2076                      </Attrib ute>
  2077                      <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">
  2078                         <Attr ibuteValue >123456</A ttributeVa lue>
  2079                      </Attrib ute>
  2080                      <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">
  2081                         <Attr ibuteValue >urn:oasis :names:tc: SAML:2.0:a c:classes: X509</Attr ibuteValue >
  2082                      </Attrib ute>
  2083                      <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" >
  2084                         <Attr ibuteValue />
  2085                      </Attrib ute>
  2086                      <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">
  2087                         <Attr ibuteValue />
  2088                      </Attrib ute>
  2089                      <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">
  2090                         <Attr ibuteValue >983:52064 6758</Attr ibuteValue >
  2091                      </Attrib ute>
  2092                      <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">
  2093                         <Attr ibuteValue >Departmen t of Veter ans Affair s</Attribu teValue>
  2094                      </Attrib ute>
  2095                      <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">
  2096                         <Attr ibuteValue >urn:oid:2 .16.840.1. 113883.4.3 49.2</Attr ibuteValue >
  2097                      </Attrib ute>
  2098                      <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">
  2099                         <Attr ibuteValue >urn:oid:2 .16.840.1. 113883.4.3 49.2</Attr ibuteValue >
  2100                      </Attrib ute>
  2101                      <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">
  2102                         <Attr ibuteValue >112247003 </Attribut eValue>
  2103                      </Attrib ute>
  2104                      <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 ">
  2105                         <Attr ibuteValue >2.16.840. 1.113883.6 .96</Attri buteValue>
  2106                      </Attrib ute>
  2107                      <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">
  2108                         <Attr ibuteValue >SNOMED_CT </Attribut eValue>
  2109                      </Attrib ute>
  2110                      <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 ">
  2111                         <Attr ibuteValue >Medical d octor</Att ributeValu e>
  2112                      </Attrib ute>
  2113                      <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">
  2114                         <Attr ibuteValue >TREATMENT </Attribut eValue>
  2115                      </Attrib ute>
  2116                      <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">
  2117                         <Attr ibuteValue >2.16.840. 1.113883.3 .18.7.1</A ttributeVa lue>
  2118                      </Attrib ute>
  2119                      <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 ">
  2120                         <Attr ibuteValue >nhin-purp ose</Attri buteValue>
  2121                      </Attrib ute>
  2122                      <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">
  2123                         <Attr ibuteValue >Treatment </Attribut eValue>
  2124                      </Attrib ute>
  2125                  < /Subject>
  2126                  < Resource>
  2127                      <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">
  2128                         <Attr ibuteValue >urn:oid:2 .25.256133 1214422665 4719893174 7355024016 667.1.2.1< /Attribute Value>
  2129                      </Attrib ute>
  2130                      <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">
  2131                         <Attr ibuteValue >2.25.2561 3312144226 6547198931 7473550240 16667.1.2. 5.12</Attr ibuteValue >
  2132                      </Attrib ute>
  2133                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:d ocument-id ">
  2134                         <Attr ibuteValue >2.25.1556 1080346092 9287339406 8257678050 29898</Att ributeValu e>
  2135                      </Attrib ute>
  2136                      <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">
  2137                         <Attr ibuteValue >Permit</A ttributeVa lue>
  2138                      </Attrib ute>
  2139                      <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">
  2140                         <Attr ibuteValue >https://l ocalhost/C ONNECTGate way/Entity Service/En tityDocRet rieveSecur ed</Attrib uteValue>
  2141                      </Attrib ute>
  2142                      <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">
  2143                         <Attr ibuteValue >Execute</ AttributeV alue>
  2144                      </Attrib ute>
  2145                      <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 ">
  2146                         <Attr ibuteValue >fb8faa6c- 2b13-4fad- 8f94-c8bd9 c16dd76</A ttributeVa lue>
  2147                      </Attrib ute>
  2148                      <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">
  2149                         <Attr ibuteValue >2011-11-0 3T14:29:46 .339Z</Att ributeValu e>
  2150                      </Attrib ute>
  2151                      <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">
  2152                         <Attr ibuteValue >2.0</Attr ibuteValue >
  2153                      </Attrib ute>
  2154                      <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">
  2155                         <Attr ibuteValue >Jaren Doh erty</Attr ibuteValue >
  2156                      </Attrib ute>
  2157                      <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">
  2158                         <Attr ibuteValue >2011-11-0 3T14:29:46 .339Z</Att ributeValu e>
  2159                      </Attrib ute>
  2160                      <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">
  2161                         <Attr ibuteValue >2011-11-0 3T14:29:46 .339Z</Att ributeValu e>
  2162                      </Attrib ute>
  2163                      <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">
  2164                         <Attr ibuteValue />
  2165                      </Attrib ute>
  2166                      <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">
  2167                         <Attr ibuteValue />
  2168                      </Attrib ute>
  2169                  < /Resource>
  2170                  < Action>
  2171                      <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">
  2172                         <Attr ibuteValue >DocumentR etrieveOut </Attribut eValue>
  2173                      </Attrib ute>
  2174                  < /Action>
  2175               </Re quest>
  2176            </S:Bod y>
  2177         </S:Envelo pe>]]>
  2178        </con:requ est>
  2179        <con:jmsCo nfig 
  2180         JMSDeliver yMode="PER SISTENT"
  2181        />
  2182        <con:jmsPr opertyConf ig/>
  2183        <con:wsaCo nfig 
  2184         mustUnders tand="NONE
  2185         version="2 00508" 
  2186         action="ht tp://impl. contexthan dler.servi ce.server. vap.nwhin. vler. URL         /XACMLCont extHandler PortType/c heckPolicy Request"
  2187        />
  2188        <con:wsrmC onfig 
  2189         version="1 .2"
  2190        />
  2191       </con:call >
  2192       <con:call 
  2193        name="Pati entDiscove ryIn-Allow edCommunit yRequestor -OptIn-Per mit"
  2194       >
  2195        <con:setti ngs>
  2196         <con:setti ng 
  2197          id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers "
  2198         >
  2199          &lt;xml-fr agment/>
  2200         </con:sett ing>
  2201        </con:sett ings>
  2202        <con:encod ing>
  2203         UTF-8
  2204        </con:enco ding>
  2205        <con:endpo int>
  2206         http://loc alhost:700 1/XACMLCon textHandle rService
  2207        </con:endp oint>
  2208        <con:reque st>
  2209         <![CDATA[< S:Envelope  xmlns:S=" http://sch emas.xmlso ap.org/soa p/envelope /">
  2210            <S:Body >
  2211               <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">
  2212                  < Subject Su bjectCateg ory="urn:o asis:names :tc:xacml: 1.0:subjec t-category :access-su bject">
  2213                      <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">
  2214                         <Attr ibuteValue >2.16.840. 1.113883.4 .349.2</At tributeVal ue>
  2215                      </Attrib ute>
  2216                      <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">
  2217                         <Attr ibuteValue >2011-11-0 3T15:15:45 .823Z</Att ributeValu e>
  2218                      </Attrib ute>
  2219                      <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">
  2220                         <Attr ibuteValue >123456</A ttributeVa lue>
  2221                      </Attrib ute>
  2222                      <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">
  2223                         <Attr ibuteValue >urn:oasis :names:tc: SAML:2.0:a c:classes: X509</Attr ibuteValue >
  2224                      </Attrib ute>
  2225                      <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" >
  2226                         <Attr ibuteValue />
  2227                      </Attrib ute>
  2228                      <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">
  2229                         <Attr ibuteValue />
  2230                      </Attrib ute>
  2231                      <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">
  2232                         <Attr ibuteValue >kpuser</A ttributeVa lue>
  2233                      </Attrib ute>
  2234                      <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">
  2235                         <Attr ibuteValue >?</Attrib uteValue>
  2236                      </Attrib ute>
  2237                      <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">
  2238                         <Attr ibuteValue >urn:oid:1 .3.6.1.4.1 .26580</At tributeVal ue>
  2239                      </Attrib ute>
  2240                      <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">
  2241                         <Attr ibuteValue >urn:oid:1 .3.6.1.4.1 .26580</At tributeVal ue>
  2242                      </Attrib ute>
  2243                      <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">
  2244                         <Attr ibuteValue />
  2245                      </Attrib ute>
  2246                      <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 ">
  2247                         <Attr ibuteValue />
  2248                      </Attrib ute>
  2249                      <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">
  2250                         <Attr ibuteValue />
  2251                      </Attrib ute>
  2252                      <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 ">
  2253                         <Attr ibuteValue />
  2254                      </Attrib ute>
  2255                      <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">
  2256                         <Attr ibuteValue >TREATMENT </Attribut eValue>
  2257                      </Attrib ute>
  2258                      <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">
  2259                         <Attr ibuteValue >2.16.840. 1.113883.3 .18.7.1</A ttributeVa lue>
  2260                      </Attrib ute>
  2261                      <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 ">
  2262                         <Attr ibuteValue >nhin-purp ose</Attri buteValue>
  2263                      </Attrib ute>
  2264                      <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">
  2265                         <Attr ibuteValue >Use or di sclosure o f Psychoth erapy Note s</Attribu teValue>
  2266                      </Attrib ute>
  2267                  < /Subject>
  2268                  < Resource>
  2269                      <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">
  2270                         <Attr ibuteValue >2.16.840. 1.113883.4 .349.2</At tributeVal ue>
  2271                      </Attrib ute>
  2272                      <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">
  2273                         <Attr ibuteValue >101258167 6V377802</ AttributeV alue>
  2274                      </Attrib ute>
  2275                      <Attribu te DataTyp e="urn:hl7 -org:v3#II " Attribut eId="http: //www.hhs. gov/health it/nhin#su bject-id">
  2276                         <Attr ibuteValue >
  2277                            <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" />
  2278                         </Att ributeValu e>
  2279                      </Attrib ute>
  2280                      <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">
  2281                         <Attr ibuteValue >Permit</A ttributeVa lue>
  2282                      </Attrib ute>
  2283                      <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">
  2284                         <Attr ibuteValue >https://l ocalhost/C ONNECTGate way/NhinSe rvice/Nhin PatientDis covery</At tributeVal ue>
  2285                      </Attrib ute>
  2286                      <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">
  2287                         <Attr ibuteValue >Execute</ AttributeV alue>
  2288                      </Attrib ute>
  2289                      <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 ">
  2290                         <Attr ibuteValue >1de80427- 3428-4446- a40d-16453 6baa071</A ttributeVa lue>
  2291                      </Attrib ute>
  2292                      <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">
  2293                         <Attr ibuteValue >2011-11-0 3T15:15:45 .823Z</Att ributeValu e>
  2294                      </Attrib ute>
  2295                      <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">
  2296                         <Attr ibuteValue >2.0</Attr ibuteValue >
  2297                      </Attrib ute>
  2298                      <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">
  2299                         <Attr ibuteValue >CN=SAML U ser,OU=SU, O=SAML Use r,L=Los An geles,ST=C A,C=US</At tributeVal ue>
  2300                      </Attrib ute>
  2301                      <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">
  2302                         <Attr ibuteValue >2011-11-0 3T15:15:45 .823Z</Att ributeValu e>
  2303                      </Attrib ute>
  2304                      <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">
  2305                         <Attr ibuteValue >2011-11-0 3T15:15:45 .823Z</Att ributeValu e>
  2306                      </Attrib ute>
  2307                      <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">
  2308                         <Attr ibuteValue />
  2309                      </Attrib ute>
  2310                      <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">
  2311                         <Attr ibuteValue />
  2312                      </Attrib ute>
  2313                  < /Resource>
  2314                  < Action>
  2315                      <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">
  2316                         <Attr ibuteValue >PatientDi scoveryIn< /Attribute Value>
  2317                      </Attrib ute>
  2318                  < /Action>
  2319               </Re quest>
  2320            </S:Bod y>
  2321         </S:Envelo pe>]]>
  2322        </con:requ est>
  2323        <con:jmsCo nfig 
  2324         JMSDeliver yMode="PER SISTENT"
  2325        />
  2326        <con:jmsPr opertyConf ig/>
  2327        <con:wsaCo nfig 
  2328         mustUnders tand="NONE
  2329         version="2 00508" 
  2330         action="ht tp://impl. contexthan dler.servi ce.server. vap.nwhin. vler. URL         /XACMLCont extHandler PortType/c heckPolicy Request"
  2331        />
  2332        <con:wsrmC onfig 
  2333         version="1 .2"
  2334        />
  2335       </con:call >
  2336       <con:call 
  2337        name="Pati entDiscove ryIn-Allow edCommunit yRequestor -OptOut-De ny"
  2338       >
  2339        <con:setti ngs>
  2340         <con:setti ng 
  2341          id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers "
  2342         >
  2343          &lt;xml-fr agment/>
  2344         </con:sett ing>
  2345        </con:sett ings>
  2346        <con:encod ing>
  2347         UTF-8
  2348        </con:enco ding>
  2349        <con:endpo int>
  2350         http://loc alhost:700 1/XACMLCon textHandle rService
  2351        </con:endp oint>
  2352        <con:reque st>
  2353         <![CDATA[< S:Envelope  xmlns:S=" http://sch emas.xmlso ap.org/soa p/envelope /">
  2354            <S:Body >
  2355               <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">
  2356                  < Subject Su bjectCateg ory="urn:o asis:names :tc:xacml: 1.0:subjec t-category :access-su bject">
  2357                      <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">
  2358                         <Attr ibuteValue >2.16.840. 1.113883.4 .349.2</At tributeVal ue>
  2359                      </Attrib ute>
  2360                      <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">
  2361                         <Attr ibuteValue >2011-11-0 3T15:15:45 .823Z</Att ributeValu e>
  2362                      </Attrib ute>
  2363                      <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">
  2364                         <Attr ibuteValue >123456</A ttributeVa lue>
  2365                      </Attrib ute>
  2366                      <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">
  2367                         <Attr ibuteValue >urn:oasis :names:tc: SAML:2.0:a c:classes: X509</Attr ibuteValue >
  2368                      </Attrib ute>
  2369                      <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" >
  2370                         <Attr ibuteValue />
  2371                      </Attrib ute>
  2372                      <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">
  2373                         <Attr ibuteValue />
  2374                      </Attrib ute>
  2375                      <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">
  2376                         <Attr ibuteValue >kpuser</A ttributeVa lue>
  2377                      </Attrib ute>
  2378                      <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">
  2379                         <Attr ibuteValue >?</Attrib uteValue>
  2380                      </Attrib ute>
  2381                      <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">
  2382                         <Attr ibuteValue >urn:oid:1 .3.6.1.4.1 .26580</At tributeVal ue>
  2383                      </Attrib ute>
  2384                      <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">
  2385                         <Attr ibuteValue >urn:oid:1 .3.6.1.4.1 .26580</At tributeVal ue>
  2386                      </Attrib ute>
  2387                      <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">
  2388                         <Attr ibuteValue />
  2389                      </Attrib ute>
  2390                      <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 ">
  2391                         <Attr ibuteValue />
  2392                      </Attrib ute>
  2393                      <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">
  2394                         <Attr ibuteValue />
  2395                      </Attrib ute>
  2396                      <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 ">
  2397                         <Attr ibuteValue />
  2398                      </Attrib ute>
  2399                      <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">
  2400                         <Attr ibuteValue >TREATMENT </Attribut eValue>
  2401                      </Attrib ute>
  2402                      <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">
  2403                         <Attr ibuteValue >2.16.840. 1.113883.3 .18.7.1</A ttributeVa lue>
  2404                      </Attrib ute>
  2405                      <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 ">
  2406                         <Attr ibuteValue >nhin-purp ose</Attri buteValue>
  2407                      </Attrib ute>
  2408                      <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">
  2409                         <Attr ibuteValue >Use or di sclosure o f Psychoth erapy Note s</Attribu teValue>
  2410                      </Attrib ute>
  2411                  < /Subject>
  2412                  < Resource>
  2413                      <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">
  2414                         <Attr ibuteValue >2.16.840. 1.113883.4 .349.2</At tributeVal ue>
  2415                      </Attrib ute>
  2416                      <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">
  2417                         <Attr ibuteValue >101258167 6V377802</ AttributeV alue>
  2418                      </Attrib ute>
  2419                      <Attribu te DataTyp e="urn:hl7 -org:v3#II " Attribut eId="http: //www.hhs. gov/health it/nhin#su bject-id">
  2420                         <Attr ibuteValue >
  2421                            <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" />
  2422                         </Att ributeValu e>
  2423                      </Attrib ute>
  2424                      <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">
  2425                         <Attr ibuteValue >Permit</A ttributeVa lue>
  2426                      </Attrib ute>
  2427                      <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">
  2428                         <Attr ibuteValue >https://l ocalhost/C ONNECTGate way/NhinSe rvice/Nhin PatientDis covery</At tributeVal ue>
  2429                      </Attrib ute>
  2430                      <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">
  2431                         <Attr ibuteValue >Execute</ AttributeV alue>
  2432                      </Attrib ute>
  2433                      <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 ">
  2434                         <Attr ibuteValue >1de80427- 3428-4446- a40d-16453 6baa071</A ttributeVa lue>
  2435                      </Attrib ute>
  2436                      <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">
  2437                         <Attr ibuteValue >2011-11-0 3T15:15:45 .823Z</Att ributeValu e>
  2438                      </Attrib ute>
  2439                      <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">
  2440                         <Attr ibuteValue >2.0</Attr ibuteValue >
  2441                      </Attrib ute>
  2442                      <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">
  2443                         <Attr ibuteValue >CN=SAML U ser,OU=SU, O=SAML Use r,L=Los An geles,ST=C A,C=US</At tributeVal ue>
  2444                      </Attrib ute>
  2445                      <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">
  2446                         <Attr ibuteValue >2011-11-0 3T15:15:45 .823Z</Att ributeValu e>
  2447                      </Attrib ute>
  2448                      <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">
  2449                         <Attr ibuteValue >2011-11-0 3T15:15:45 .823Z</Att ributeValu e>
  2450                      </Attrib ute>
  2451                      <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">
  2452                         <Attr ibuteValue />
  2453                      </Attrib ute>
  2454                      <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">
  2455                         <Attr ibuteValue />
  2456                      </Attrib ute>
  2457                  < /Resource>
  2458                  < Action>
  2459                      <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">
  2460                         <Attr ibuteValue >PatientDi scoveryIn< /Attribute Value>
  2461                      </Attrib ute>
  2462                  < /Action>
  2463               </Re quest>
  2464            </S:Bod y>
  2465         </S:Envelo pe>]]>
  2466        </con:requ est>
  2467        <con:jmsCo nfig 
  2468         JMSDeliver yMode="PER SISTENT"
  2469        />
  2470        <con:jmsPr opertyConf ig/>
  2471        <con:wsaCo nfig 
  2472         mustUnders tand="NONE
  2473         version="2 00508" 
  2474         action="ht tp://impl. contexthan dler.servi ce.server. vap.nwhin. vler. URL         /XACMLCont extHandler PortType/c heckPolicy Request"
  2475        />
  2476        <con:wsrmC onfig 
  2477         version="1 .2"
  2478        />
  2479       </con:call >
  2480       <con:call 
  2481        name="Pati entDiscove ryOut-Allo wedCommuni tyRequesto r-OptIn-Pe rmit"
  2482       >
  2483        <con:setti ngs>
  2484         <con:setti ng 
  2485          id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers "
  2486         >
  2487          &lt;xml-fr agment/>
  2488         </con:sett ing>
  2489        </con:sett ings>
  2490        <con:encod ing>
  2491         UTF-8
  2492        </con:enco ding>
  2493        <con:endpo int>
  2494         http://loc alhost:700 1/XACMLCon textHandle rService
  2495        </con:endp oint>
  2496        <con:reque st>
  2497         <![CDATA[< S:Envelope  xmlns:S=" http://sch emas.xmlso ap.org/soa p/envelope /">
  2498            <S:Body >
  2499               <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 ">
  2500                  < ns2:Subjec t>
  2501                      <ns2:Att ribute Att ributeId=" urn:oasis: names:tc:x acml:1.0:s ubject:sub ject-id">
  2502                         <ns2: AttributeV alue>vhais hpatelt_te st</ns2:At tributeVal ue>
  2503                      </ns2:At tribute>
  2504                      <ns2:Att ribute Att ributeId=" urn:oasis: names:tc:x spa:1.0:su bject:purp oseofuse">
  2505                         <ns2: AttributeV alue>TREAT MENT</ns2: AttributeV alue>
  2506                      </ns2:At tribute>
  2507                      <ns2:Att ribute Att ributeId=" http://www .hhs.gov/h ealthit/nh in#HomeCom munityId">
  2508                         <ns2: AttributeV alue>urn:o id:2.16.84 0.1.113883 .4.349.2</ ns2:Attrib uteValue>
  2509                      </ns2:At tribute>
  2510                  < /ns2:Subje ct>
  2511                  < ns2:Resour ce>
  2512                      <ns2:Att ribute Att ributeId=" urn:oasis: names:tc:x acml:1.0:r esource:re source-id" >
  2513                         <ns2: AttributeV alue>10125 81676V3778 02^^^&amp; 2.16.840.1 .113883.4. 349.2&amp; ISO</ns2:A ttributeVa lue>
  2514                      </ns2:At tribute>
  2515                      <ns2:Att ribute Att ributeId=" urn:gov:hh s:fha:nhin c:home-com munity-id" >
  2516                         <ns2: AttributeV alue>2.16. 840.1.1138 83.3.190.6 .100.1</ns 2:Attribut eValue>
  2517                      </ns2:At tribute>
  2518                  < /ns2:Resou rce>
  2519                  < ns2:Action >
  2520                      <ns2:Att ribute Att ributeId=" urn:oasis: names:tc:x acml:1.0:a ction:acti on-id">
  2521                         <ns2: AttributeV alue>Patie ntDiscover yOut</ns2: AttributeV alue>
  2522                      </ns2:At tribute>
  2523                  < /ns2:Actio n>
  2524               </ns 2:Request>
  2525            </S:Bod y>
  2526         </S:Envelo pe>]]>
  2527        </con:requ est>
  2528        <con:jmsCo nfig 
  2529         JMSDeliver yMode="PER SISTENT"
  2530        />
  2531        <con:jmsPr opertyConf ig/>
  2532        <con:wsaCo nfig 
  2533         mustUnders tand="NONE
  2534         version="2 00508" 
  2535         action="ht tp://impl. contexthan dler.servi ce.server. vap.nwhin. vler. URL         /XACMLCont extHandler PortType/c heckPolicy Request"
  2536        />
  2537        <con:wsrmC onfig 
  2538         version="1 .2"
  2539        />
  2540       </con:call >
  2541       <con:call 
  2542        name="Pati entDiscove ryOut-Allo wedCommuni tyRequesto r-OptOut-D eny"
  2543       >
  2544        <con:setti ngs>
  2545         <con:setti ng 
  2546          id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers "
  2547         >
  2548          &lt;xml-fr agment/>
  2549         </con:sett ing>
  2550        </con:sett ings>
  2551        <con:encod ing>
  2552         UTF-8
  2553        </con:enco ding>
  2554        <con:endpo int>
  2555         http://loc alhost:700 1/XACMLCon textHandle rService
  2556        </con:endp oint>
  2557        <con:reque st>
  2558         <![CDATA[< S:Envelope  xmlns:S=" http://sch emas.xmlso ap.org/soa p/envelope /">
  2559            <S:Body >
  2560               <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 ">
  2561                  < ns2:Subjec t>
  2562                      <ns2:Att ribute Att ributeId=" urn:oasis: names:tc:x acml:1.0:s ubject:sub ject-id">
  2563                         <ns2: AttributeV alue>vhais hpatelt_te st</ns2:At tributeVal ue>
  2564                      </ns2:At tribute>
  2565                      <ns2:Att ribute Att ributeId=" urn:oasis: names:tc:x spa:1.0:su bject:purp oseofuse">
  2566                         <ns2: AttributeV alue>TREAT MENT</ns2: AttributeV alue>
  2567                      </ns2:At tribute>
  2568                      <ns2:Att ribute Att ributeId=" http://www .hhs.gov/h ealthit/nh in#HomeCom munityId">
  2569                         <ns2: AttributeV alue>urn:o id:2.16.84 0.1.113883 .4.349.2</ ns2:Attrib uteValue>
  2570                      </ns2:At tribute>
  2571                  < /ns2:Subje ct>
  2572                  < ns2:Resour ce>
  2573                      <ns2:Att ribute Att ributeId=" urn:oasis: names:tc:x acml:1.0:r esource:re source-id" >
  2574                         <ns2: AttributeV alue>10125 81676V3778 02^^^&amp; 2.16.840.1 .113883.4. 349.2&amp; ISO</ns2:A ttributeVa lue>
  2575                      </ns2:At tribute>
  2576                      <ns2:Att ribute Att ributeId=" urn:gov:hh s:fha:nhin c:home-com munity-id" >
  2577                         <ns2: AttributeV alue>2.16. 840.1.1138 83.3.190.6 .100.1</ns 2:Attribut eValue>
  2578                      </ns2:At tribute>
  2579                  < /ns2:Resou rce>
  2580                  < ns2:Action >
  2581                      <ns2:Att ribute Att ributeId=" urn:oasis: names:tc:x acml:1.0:a ction:acti on-id">
  2582                         <ns2: AttributeV alue>Patie ntDiscover yOut</ns2: AttributeV alue>
  2583                      </ns2:At tribute>
  2584                  < /ns2:Actio n>
  2585               </ns 2:Request>
  2586            </S:Bod y>
  2587         </S:Envelo pe>]]>
  2588        </con:requ est>
  2589        <con:jmsCo nfig 
  2590         JMSDeliver yMode="PER SISTENT"
  2591        />
  2592        <con:jmsPr opertyConf ig/>
  2593        <con:wsaCo nfig 
  2594         mustUnders tand="NONE
  2595         version="2 00508" 
  2596         action="ht tp://impl. contexthan dler.servi ce.server. vap.nwhin. vler. URL         /XACMLCont extHandler PortType/c heckPolicy Request"
  2597        />
  2598        <con:wsrmC onfig 
  2599         version="1 .2"
  2600        />
  2601       </con:call >
  2602       <con:call 
  2603        name="NHIN Out-Permit "
  2604       >
  2605        <con:setti ngs>
  2606         <con:setti ng 
  2607          id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers "
  2608         >
  2609          &lt;xml-fr agment/>
  2610         </con:sett ing>
  2611        </con:sett ings>
  2612        <con:encod ing>
  2613         UTF-8
  2614        </con:enco ding>
  2615        <con:endpo int>
  2616         http://loc alhost:700 1/XACMLCon textHandle rService
  2617        </con:endp oint>
  2618        <con:reque st>
  2619         <![CDATA[< S:Envelope  xmlns:S=" http://sch emas.xmlso ap.org/soa p/envelope /">
  2620            <S:Body >
  2621               <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 ">
  2622                  < ns2:Subjec t>
  2623                      <ns2:Att ribute Att ributeId=" urn:oasis: names:tc:x acml:1.0:s ubject:sub ject-id">
  2624                         <ns2: AttributeV alue>983:3 5458</ns2: AttributeV alue>
  2625                      </ns2:At tribute>
  2626                      <ns2:Att ribute Att ributeId=" http://www .hhs.gov/h ealthit/nh in#HomeCom munityId">
  2627                         <ns2: AttributeV alue>urn:o id:2.16.84 0.1.113883 .4.349.2</ ns2:Attrib uteValue>
  2628                      </ns2:At tribute>
  2629                  < /ns2:Subje ct>
  2630                  < ns2:Action >
  2631                      <ns2:Att ribute Att ributeId=" urn:oasis: names:tc:x acml:1.0:a ction:acti on-id">
  2632                         <ns2: AttributeV alue>NHINO ut</ns2:At tributeVal ue>
  2633                      </ns2:At tribute>
  2634                  < /ns2:Actio n>
  2635               </ns 2:Request>
  2636            </S:Bod y>
  2637         </S:Envelo pe>]]>
  2638        </con:requ est>
  2639        <con:jmsCo nfig 
  2640         JMSDeliver yMode="PER SISTENT"
  2641        />
  2642        <con:jmsPr opertyConf ig/>
  2643        <con:wsaCo nfig 
  2644         mustUnders tand="NONE
  2645         version="2 00508" 
  2646         action="ht tp://impl. contexthan dler.servi ce.server. vap.nwhin. vler. URL         /XACMLCont extHandler PortType/c heckPolicy Request"
  2647        />
  2648        <con:wsrmC onfig 
  2649         version="1 .2"
  2650        />
  2651       </con:call >
  2652       <con:call 
  2653        name="NHIN Out-Deny"
  2654       >
  2655        <con:setti ngs>
  2656         <con:setti ng 
  2657          id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers "
  2658         >
  2659          &lt;xml-fr agment/>
  2660         </con:sett ing>
  2661        </con:sett ings>
  2662        <con:encod ing>
  2663         UTF-8
  2664        </con:enco ding>
  2665        <con:endpo int>
  2666         http://loc alhost:700 1/XACMLCon textHandle rService
  2667        </con:endp oint>
  2668        <con:reque st>
  2669         <![CDATA[< S:Envelope  xmlns:S=" http://sch emas.xmlso ap.org/soa p/envelope /">
  2670            <S:Body >
  2671               <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 ">
  2672                  < ns2:Subjec t>
  2673                      <ns2:Att ribute Att ributeId=" urn:oasis: names:tc:x acml:1.0:s ubject:sub ject-id">
  2674                         <ns2: AttributeV alue>984:3 5458</ns2: AttributeV alue>
  2675                      </ns2:At tribute>
  2676                      <ns2:Att ribute Att ributeId=" http://www .hhs.gov/h ealthit/nh in#HomeCom munityId">
  2677                         <ns2: AttributeV alue>urn:o id:2.16.84 0.1.113883 .4.349.2</ ns2:Attrib uteValue>
  2678                      </ns2:At tribute>
  2679                  < /ns2:Subje ct>
  2680                  < ns2:Action >
  2681                      <ns2:Att ribute Att ributeId=" urn:oasis: names:tc:x acml:1.0:a ction:acti on-id">
  2682                         <ns2: AttributeV alue>NHINO ut</ns2:At tributeVal ue>
  2683                      </ns2:At tribute>
  2684                  < /ns2:Actio n>
  2685               </ns 2:Request>
  2686            </S:Bod y>
  2687         </S:Envelo pe>]]>
  2688        </con:requ est>
  2689        <con:jmsCo nfig 
  2690         JMSDeliver yMode="PER SISTENT"
  2691        />
  2692        <con:jmsPr opertyConf ig/>
  2693        <con:wsaCo nfig 
  2694         mustUnders tand="NONE
  2695         version="2 00508" 
  2696         action="ht tp://impl. contexthan dler.servi ce.server. vap.nwhin. vler. URL         /XACMLCont extHandler PortType/c heckPolicy Request"
  2697        />
  2698        <con:wsrmC onfig 
  2699         version="1 .2"
  2700        />
  2701       </con:call >
  2702       <con:call 
  2703        name="test "
  2704       >
  2705        <con:setti ngs>
  2706         <con:setti ng 
  2707          id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers "
  2708         >
  2709          &lt;xml-fr agment/>
  2710         </con:sett ing>
  2711        </con:sett ings>
  2712        <con:encod ing>
  2713         UTF-8
  2714        </con:enco ding>
  2715        <con:endpo int>
  2716         http:// s e r v er : port /XACMLCont extHandler Service
  2717        </con:endp oint>
  2718        <con:reque st>
  2719         <![CDATA[< S:Envelope  xmlns:S=" http://sch emas.xmlso ap.org/soa p/envelope /">
  2720            <S:Body >
  2721               <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">
  2722                  < Subject>
  2723                      <Attribu te Attribu teId="urn: oasis:name s:tc:xacml :1.0:subje ct:subject -id">
  2724                         <Attr ibuteValue >983:52064 6757</Attr ibuteValue >
  2725                      </Attrib ute>
  2726                      <Attribu te Attribu teId="urn: oasis:name s:tc:xspa: 1.0:subjec t:purposeo fuse">
  2727                         <Attr ibuteValue >TREATMENT </Attribut eValue>
  2728                      </Attrib ute>
  2729                  < /Subject>
  2730                  < Resource>
  2731                      <Attribu te Attribu teId="urn: oasis:name s:tc:xacml :1.0:resou rce:resour ce-id">
  2732                         <Attr ibuteValue >101258167 6V377802^^ ^&amp;2.16 .840.1.113 883.4.349& amp;ISO</A ttributeVa lue>
  2733                      </Attrib ute>
  2734                      <Attribu te Attribu teId="urn: gov:hhs:fh a:nhinc:ho me-communi ty-id">
  2735                         <Attr ibuteValue >2.16.840. 1.113883.3 .715</Attr ibuteValue >
  2736                      </Attrib ute>
  2737                  < /Resource>
  2738                  < Action>
  2739                      <Attribu te Attribu teId="urn: oasis:name s:tc:xacml :1.0:actio n:action-i d">
  2740                         <Attr ibuteValue >DocumentQ ueryOut</A ttributeVa lue>
  2741                      </Attrib ute>
  2742                  < /Action>
  2743               </Re quest>
  2744            </S:Bod y>
  2745         </S:Envelo pe>]]>
  2746        </con:requ est>
  2747        <con:jmsCo nfig 
  2748         JMSDeliver yMode="PER SISTENT"
  2749        />
  2750        <con:jmsPr opertyConf ig/>
  2751        <con:wsaCo nfig 
  2752         mustUnders tand="NONE
  2753         version="2 00508" 
  2754         action="ht tp://impl. contexthan dler.servi ce.server. vap.nwhin. vler. URL         /XACMLCont extHandler PortType/c heckPolicy Request"
  2755        />
  2756        <con:wsrmC onfig 
  2757         version="1 .2"
  2758        />
  2759       </con:call >
  2760       <con:call 
  2761        name="DocQ ueryIn-All owedCommun ityRequest or-OptOut- Deny"
  2762       >
  2763        <con:setti ngs>
  2764         <con:setti ng 
  2765          id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers "
  2766         >
  2767          &lt;xml-fr agment/>
  2768         </con:sett ing>
  2769        </con:sett ings>
  2770        <con:encod ing>
  2771         UTF-8
  2772        </con:enco ding>
  2773        <con:endpo int>
  2774         http://loc alhost:700 1/XACMLCon textHandle rService
  2775        </con:endp oint>
  2776        <con:reque st>
  2777         <![CDATA[< S:Envelope  xmlns:S=" http://sch emas.xmlso ap.org/soa p/envelope /">
  2778            <S:Body >
  2779               <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">
  2780                  < Subject Su bjectCateg ory="urn:o asis:names :tc:xacml: 1.0:subjec t-category :access-su bject">
  2781                      <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">
  2782                         <Attr ibuteValue >urn:oid:2 .16.840.1. 113883.3.1 90.6.100.1 </Attribut eValue>
  2783                      </Attrib ute>
  2784                      <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">
  2785                         <Attr ibuteValue >2011-11-0 3T15:27:47 .317Z</Att ributeValu e>
  2786                      </Attrib ute>
  2787                      <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">
  2788                         <Attr ibuteValue >123456</A ttributeVa lue>
  2789                      </Attrib ute>
  2790                      <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">
  2791                         <Attr ibuteValue >urn:oasis :names:tc: SAML:2.0:a c:classes: X509</Attr ibuteValue >
  2792                      </Attrib ute>
  2793                      <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" >
  2794                         <Attr ibuteValue />
  2795                      </Attrib ute>
  2796                      <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">
  2797                         <Attr ibuteValue />
  2798                      </Attrib ute>
  2799                      <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">
  2800                         <Attr ibuteValue >user1</At tributeVal ue>
  2801                      </Attrib ute>
  2802                      <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">
  2803                         <Attr ibuteValue >VA</Attri buteValue>
  2804                      </Attrib ute>
  2805                      <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">
  2806                         <Attr ibuteValue >urn:oid:2 .16.840.1. 113883.3.1 90.6.100.1 </Attribut eValue>
  2807                      </Attrib ute>
  2808                      <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">
  2809                         <Attr ibuteValue >urn:oid:2 .16.840.1. 113883.3.1 90.6.100.1 </Attribut eValue>
  2810                      </Attrib ute>
  2811                      <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">
  2812                         <Attr ibuteValue >80584001< /Attribute Value>
  2813                      </Attrib ute>
  2814                      <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 ">
  2815                         <Attr ibuteValue >2.16.840. 1.113883.6 .96</Attri buteValue>
  2816                      </Attrib ute>
  2817                      <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">
  2818                         <Attr ibuteValue >SNOMED_CT </Attribut eValue>
  2819                      </Attrib ute>
  2820                      <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 ">
  2821                         <Attr ibuteValue >Psychiatr ist</Attri buteValue>
  2822                      </Attrib ute>
  2823                      <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">
  2824                         <Attr ibuteValue >TREATMENT </Attribut eValue>
  2825                      </Attrib ute>
  2826                      <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">
  2827                         <Attr ibuteValue >2.16.840. 1.113883.3 .18.7.1</A ttributeVa lue>
  2828                      </Attrib ute>
  2829                      <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 ">
  2830                         <Attr ibuteValue >nhin-purp ose</Attri buteValue>
  2831                      </Attrib ute>
  2832                      <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">
  2833                         <Attr ibuteValue >Use or di sclosure o f Psychoth erapy Note s</Attribu teValue>
  2834                      </Attrib ute>
  2835                  < /Subject>
  2836                  < Resource>
  2837                      <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">
  2838                         <Attr ibuteValue >2.16.840. 1.113883.4 .349.2</At tributeVal ue>
  2839                      </Attrib ute>
  2840                      <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">
  2841                         <Attr ibuteValue >101258167 6V377802</ AttributeV alue>
  2842                      </Attrib ute>
  2843                      <Attribu te DataTyp e="urn:hl7 -org:v3#II " Attribut eId="http: //www.hhs. gov/health it/nhin#su bject-id">
  2844                         <Attr ibuteValue >
  2845                            <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"/>
  2846                         </Att ributeValu e>
  2847                      </Attrib ute>
  2848                      <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">
  2849                         <Attr ibuteValue >Permit</A ttributeVa lue>
  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:s aml-authz- decision-s tatement-r esource">
  2852                         <Attr ibuteValue >https://l ocalhost/C ONNECTGate way/NhinSe rvice/Resp ondingGate way_Query_ Service/Do cQuery</At tributeVal ue>
  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:s aml-authz- decision-s tatement-a ction">
  2855                         <Attr ibuteValue >Execute</ AttributeV alue>
  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:s aml-authz- decision-s tatement-e vidence-as sertion-id ">
  2858                         <Attr ibuteValue >fbc6cd69- c0c7-4546- b459-159a5 4f859b1</A ttributeVa lue>
  2859                      </Attrib ute>
  2860                      <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">
  2861                         <Attr ibuteValue >2011-11-0 3T15:27:47 .317Z</Att ributeValu e>
  2862                      </Attrib ute>
  2863                      <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">
  2864                         <Attr ibuteValue >2.0</Attr ibuteValue >
  2865                      </Attrib ute>
  2866                      <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">
  2867                         <Attr ibuteValue >CN=SAML U ser,OU=SU, O=SAML Use r,L=Los An geles,ST=C A,C=US</At tributeVal ue>
  2868                      </Attrib ute>
  2869                      <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">
  2870                         <Attr ibuteValue >2011-11-0 3T15:27:47 .317Z</Att ributeValu e>
  2871                      </Attrib ute>
  2872                      <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">
  2873                         <Attr ibuteValue >2011-11-0 3T15:27:47 .317Z</Att ributeValu e>
  2874                      </Attrib ute>
  2875                      <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">
  2876                         <Attr ibuteValue />
  2877                      </Attrib ute>
  2878                      <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">
  2879                         <Attr ibuteValue />
  2880                      </Attrib ute>
  2881                  < /Resource>
  2882                  < Action>
  2883                      <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">
  2884                         <Attr ibuteValue >DocumentQ ueryIn</At tributeVal ue>
  2885                      </Attrib ute>
  2886                  < /Action>
  2887               </Re quest>
  2888            </S:Bod y>
  2889         </S:Envelo pe>]]>
  2890        </con:requ est>
  2891        <con:jmsCo nfig 
  2892         JMSDeliver yMode="PER SISTENT"
  2893        />
  2894        <con:jmsPr opertyConf ig/>
  2895        <con:wsaCo nfig 
  2896         mustUnders tand="NONE
  2897         version="2 00508" 
  2898         action="ht tp://impl. contexthan dler.servi ce.server. vap.nwhin. vler. URL         /XACMLCont extHandler PortType/c heckPolicy Request"
  2899        />
  2900        <con:wsrmC onfig 
  2901         version="1 .2"
  2902        />
  2903       </con:call >
  2904       <con:call 
  2905        name="DocR etrieveIn- AllowedCom munityRequ estor-OptI n-Permit"
  2906       >
  2907        <con:setti ngs>
  2908         <con:setti ng 
  2909          id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers "
  2910         >
  2911          &lt;xml-fr agment/>
  2912         </con:sett ing>
  2913        </con:sett ings>
  2914        <con:encod ing>
  2915         UTF-8
  2916        </con:enco ding>
  2917        <con:endpo int>
  2918         http://loc alhost:700 1/XACMLCon textHandle rService
  2919        </con:endp oint>
  2920        <con:reque st>
  2921         <![CDATA[< S:Envelope  xmlns:S=" http://sch emas.xmlso ap.org/soa p/envelope /">
  2922            <S:Body >
  2923               <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">
  2924                  < Subject Su bjectCateg ory="urn:o asis:names :tc:xacml: 1.0:subjec t-category :access-su bject">
  2925                      <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">
  2926                         <Attr ibuteValue >urn:oid:2 .16.840.1. 113883.3.1 90.6.100.1 </Attribut eValue>
  2927                      </Attrib ute>
  2928                      <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">
  2929                         <Attr ibuteValue >2011-11-0 3T15:35:18 .423Z</Att ributeValu e>
  2930                      </Attrib ute>
  2931                      <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">
  2932                         <Attr ibuteValue >123456</A ttributeVa lue>
  2933                      </Attrib ute>
  2934                      <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">
  2935                         <Attr ibuteValue >urn:oasis :names:tc: SAML:2.0:a c:classes: X509</Attr ibuteValue >
  2936                      </Attrib ute>
  2937                      <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" >
  2938                         <Attr ibuteValue />
  2939                      </Attrib ute>
  2940                      <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">
  2941                         <Attr ibuteValue />
  2942                      </Attrib ute>
  2943                      <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">
  2944                         <Attr ibuteValue >user1</At tributeVal ue>
  2945                      </Attrib ute>
  2946                      <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">
  2947                         <Attr ibuteValue >Departmen t of Defen se</Attrib uteValue>
  2948                      </Attrib ute>
  2949                      <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">
  2950                         <Attr ibuteValue >urn:oid:2 .16.840.1. 113883.3.1 90.6.100.1 </Attribut eValue>
  2951                      </Attrib ute>
  2952                      <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">
  2953                         <Attr ibuteValue >urn:oid:2 .16.840.1. 113883.3.1 90.6.100.1 </Attribut eValue>
  2954                      </Attrib ute>
  2955                      <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">
  2956                         <Attr ibuteValue >80584001< /Attribute Value>
  2957                      </Attrib ute>
  2958                      <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 ">
  2959                         <Attr ibuteValue >2.16.840. 1.113883.6 .96</Attri buteValue>
  2960                      </Attrib ute>
  2961                      <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">
  2962                         <Attr ibuteValue >SNOMED_CT </Attribut eValue>
  2963                      </Attrib ute>
  2964                      <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 ">
  2965                         <Attr ibuteValue >Psychiatr ist</Attri buteValue>
  2966                      </Attrib ute>
  2967                      <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">
  2968                         <Attr ibuteValue >TREATMENT </Attribut eValue>
  2969                      </Attrib ute>
  2970                      <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">
  2971                         <Attr ibuteValue >2.16.840. 1.113883.3 .18.7.1</A ttributeVa lue>
  2972                      </Attrib ute>
  2973                      <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 ">
  2974                         <Attr ibuteValue >nhin-purp ose</Attri buteValue>
  2975                      </Attrib ute>
  2976                      <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">
  2977                         <Attr ibuteValue >Use or di sclosure o f Psychoth erapy Note s</Attribu teValue>
  2978                      </Attrib ute>
  2979                  < /Subject>
  2980                  < Resource>
  2981                      <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">
  2982                         <Attr ibuteValue >urn:oid:2 .16.840.1. 113883.4.3 49.2</Attr ibuteValue >
  2983                      </Attrib ute>
  2984                      <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">
  2985                         <Attr ibuteValue >1</Attrib uteValue>
  2986                      </Attrib ute>
  2987                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:d ocument-id ">
  2988                         <Attr ibuteValue >d32bc9a2- 3f2a-4e5b- 9311-ac66a 18002de</A ttributeVa lue>
  2989                      </Attrib ute>
  2990                      <Attribu te DataTyp e="urn:hl7 -org:v3#II " Attribut eId="http: //www.hhs. gov/health it/nhin#su bject-id">
  2991                         <Attr ibuteValue >
  2992                            <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"/>
  2993                         </Att ributeValu e>
  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:s aml-authz- decision-s tatement-d ecision">
  2996                         <Attr ibuteValue >Permit</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:s aml-authz- decision-s tatement-r esource">
  2999                         <Attr ibuteValue >https://l ocalhost/C ONNECTGate way/NhinSe rvice/Resp ondingGate way_Retrie ve_Service /DocRetrie ve</Attrib uteValue>
  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:s aml-authz- decision-s tatement-a ction">
  3002                         <Attr ibuteValue >Execute</ AttributeV alue>
  3003                      </Attrib ute>
  3004                      <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 ">
  3005                         <Attr ibuteValue >4c720e15- 8b74-49b2- b9b0-aaceb cb79455</A ttributeVa lue>
  3006                      </Attrib ute>
  3007                      <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">
  3008                         <Attr ibuteValue >2011-11-0 3T15:35:18 .423Z</Att ributeValu e>
  3009                      </Attrib ute>
  3010                      <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">
  3011                         <Attr ibuteValue >2.0</Attr ibuteValue >
  3012                      </Attrib ute>
  3013                      <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">
  3014                         <Attr ibuteValue >CN=SAML U ser,OU=SU, O=SAML Use r,L=Los An geles,ST=C A,C=US</At tributeVal ue>
  3015                      </Attrib ute>
  3016                      <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">
  3017                         <Attr ibuteValue >2011-11-0 3T15:35:18 .423Z</Att ributeValu e>
  3018                      </Attrib ute>
  3019                      <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">
  3020                         <Attr ibuteValue >2011-11-0 3T15:35:18 .423Z</Att ributeValu e>
  3021                      </Attrib ute>
  3022                      <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">
  3023                         <Attr ibuteValue />
  3024                      </Attrib ute>
  3025                      <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">
  3026                         <Attr ibuteValue />
  3027                      </Attrib ute>
  3028                      <Attribu te Attribu teId="urn: oasis:name s:tc:xacml :1.0:resou rce:resour ce-id">
  3029                         <Attr ibuteValue >'10125816 76V377802^ ^^&amp;2.1 6.840.1.11 3883.4.349 .2&amp;ISO '</Attribu teValue>
  3030                      </Attrib ute>
  3031                  < /Resource>
  3032                  < Action>
  3033                      <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">
  3034                         <Attr ibuteValue >DocumentR etrieveIn< /Attribute Value>
  3035                      </Attrib ute>
  3036                  < /Action>
  3037               </Re quest>
  3038            </S:Bod y>
  3039         </S:Envelo pe>]]>
  3040        </con:requ est>
  3041        <con:jmsCo nfig 
  3042         JMSDeliver yMode="PER SISTENT"
  3043        />
  3044        <con:jmsPr opertyConf ig/>
  3045        <con:wsaCo nfig 
  3046         mustUnders tand="NONE
  3047         version="2 00508" 
  3048         action="ht tp://impl. contexthan dler.servi ce.server. vap.nwhin. vler. URL         /XACMLCont extHandler PortType/c heckPolicy Request"
  3049        />
  3050        <con:wsrmC onfig 
  3051         version="1 .2"
  3052        />
  3053       </con:call >
  3054      </con:oper ation>
  3055     </con:inte rface>
  3056     <con:prope rties/>
  3057     <con:wssCo ntainer/>
  3058   </con:soap ui-project >