632. EPMO Open Source Coordination Office Redaction File Detail Report

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

632.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 XACMLContextHandlerService-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 XACMLContextHandlerService-soapui-project.xml Wed Apr 5 12:46:01 2017 UTC

632.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 57 5804
Changed 56 114
Inserted 0 0
Removed 0 0

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

632.4 Active regular expressions

No regular expressions were active.

632.5 Comparison detail

  1   <?xml 
  2     version="1 .0" 
  3     encoding=" UTF-8"
  4   ?>
  5   <con:soapu i-project 
  6     name="XACM LContextHa ndlerServi ce" 
  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:endp oints>
  620      <con:opera tion 
  621       isOneWay=" false" 
  622       action="" 
  623       name="chec kPolicy" 
  624       bindingOpe rationName ="checkPol icy" 
  625       type="Requ est-Respon se" 
  626       inputName= "" 
  627       receivesAt tachments= "false" 
  628       sendsAttac hments="fa lse" 
  629       anonymous= "optional"
  630      >
  631       <con:setti ngs/>
  632       <con:call 
  633        name="DocQ ueryIn-VAR equestor-O ptIn-Permi t"
  634       >
  635        <con:setti ngs>
  636         <con:setti ng 
  637          id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers "
  638         >
  639          &lt;xml-fr agment/>
  640         </con:sett ing>
  641        </con:sett ings>
  642        <con:encod ing>
  643         UTF-8
  644        </con:enco ding>
  645        <con:endpo int>
  646         http://
s er v er : port /XACMLCont extHandler Service
  647        </con:endp oint>
  648        <con:reque st>
  649         <![CDATA[< !-- 
  650         This reque st is init iated from  local com munity (VA ).
  651         So long as  the reque ted resour ce is vali d, this re quest will  evaluate  to PERMIT
  652         regardless  of Opt-In  Preferenc es, Patien t- allowed  preferenc es
  653         -->
  654         <soapenv:E nvelope xm lns:soapen v="http:// schemas.xm lsoap.org/ soap/envel ope/" xmln s:urn="urn :oasis:nam es:tc:xacm l:2.0:cont ext:schema :os">
  655            <soapen v:Header/>
  656            <soapen v:Body>
  657               <urn :Request>
  658                  < !--1 or mo re repetit ions:-->
  659                  < urn:Subjec t SubjectC ategory="u rn:oasis:n ames:tc:xa cml:1.0:su bject-cate gory:acces s-subject" >
  660                      <!--Zero  or more r epetitions :-->
  661                      <urn:Att ribute Att ributeId=" urn:oasis: names:tc:x acml:1.0:s ubject:sub ject-id" D ataType="? " Issuer=" ?">
  662                         <!--1  or more r epetitions :-->
  663                         <urn: AttributeV alue>david *DoD</urn: AttributeV alue>
  664                      </urn:At tribute>
  665                      <urn:Att ribute Att ributeId=" http://www .hhs.gov/h ealthit/nh in#HomeCom munityId"  DataType=" ?" Issuer= "?">
  666                         <!--1  or more r epetitions :-->
  667                         <urn: AttributeV alue>urn:o id:2.16.84 0.1.113883 .4.349</ur n:Attribut eValue>
  668                      </urn:At tribute>
  669                      <urn:Att ribute Att ributeId=" urn:oasis: names:tc:x spa:1.0:su bject:purp oseofuse"  DataType=" ?" Issuer= "?">
  670                         <!--1  or more r epetitions :-->
  671                         <urn: AttributeV alue>TREAT MENT</urn: AttributeV alue>
  672                      </urn:At tribute>
  673                  < /urn:Subje ct>
  674                  < !--1 or mo re repetit ions:-->
  675                  < urn:Resour ce>
  676                      <urn:Att ribute Att ributeId=" urn:gov:hh s:fha:nhin c:home-com munity-id" >
  677                         <urn: AttributeV alue>urn:o id:2.16.84 0.1.113883 .4.349</ur n:Attribut eValue>
  678                      </urn:At tribute>
  679                      <urn:Att ribute Att ributeId=" urn:oasis: names:tc:x acml:1.0:r esource:re source-id"  DataType= "?" Issuer ="?">
  680                         <!--1  or more r epetitions :-->
  681                         <urn: AttributeV alue>12345 7</urn:Att ributeValu e>
  682                      </urn:At tribute>
  683                      <urn:Att ribute Dat aType="urn :hl7-org:v 3#II" Attr ibuteId="h ttp://www. hhs.gov/he althit/nhi n#subject- id">
  684                         <urn: AttributeV alue>
  685                            <h l7:Patient Id extensi on="1099"  root="2.16 .840.1.113 883.3.488. 1" xmlns:n s21="urn:o asis:names :tc:xacml: 2.0:contex t:schema:o s" xmlns:n s9="urn:ih e:iti:xds- b:2007" xm lns:ns8="u rn:oasis:n ames:tc:eb xml-regrep :xsd:rim:3 .0" xmlns: ns7="http: //www.hhs. gov/health it/nhin/cd c" xmlns:n s6="http:/ /docs.oasi s-open.org /wsn/t-1"  xmlns:ns5= "http://do cs.oasis-o pen.org/ws rf/bf-2" x mlns:ns4=" http://doc s.oasis-op en.org/wsn /b-2" xmln s:ns3="htt p://www.w3 .org/2005/ 08/address ing" xmlns :ns19="urn :gov:hhs:f ha:nhinc:c ommon:subs criptionb2 overridefo rcdc" xmln s:ns18="ur n:gov:hhs: fha:nhinc: common:nhi nccommonad apter" xml ns:ns17="h ttp://sche mas.xmlsoa p.org/ws/2 004/08/add ressing" x mlns:ns16= "urn:gov:h hs:fha:nhi nc:common: nhinccommo n" xmlns:n s15="urn:o asis:names :tc:xacml: 2.0:contex t:schema:o s" xmlns:n s14="urn:g ov:hhs:fha :nhinc:com mon:subscr iptionb2ov errideford ocuments"  xmlns:ns13 ="http://n hinc.servi ces.com/sc hema/audit message" x mlns:ns12= "urn:oasis :names:tc: ebxml-regr ep:xsd:que ry:3.0" xm lns:ns11=" urn:oasis: names:tc:e bxml-regre p:xsd:lcm: 3.0" xmlns :ns10="urn :oasis:nam es:tc:ebxm l-regrep:x sd:rs:3.0"  xmlns:hl7 ="urn:hl7- org:v3"/>
  686                         </urn :Attribute Value>
  687                      </urn:At tribute>
  688                  < /urn:Resou rce>
  689                  < urn:Action >
  690                      <!--Zero  or more r epetitions :-->
  691                      <urn:Att ribute Att ributeId=" urn:oasis: names:tc:x acml:1.0:a ction:acti on-id" Dat aType="?"  Issuer="?" >
  692                         <!--1  or more r epetitions :-->
  693                         <urn: AttributeV alue>Docum entQueryIn </urn:Attr ibuteValue >
  694                      </urn:At tribute>
  695                  < /urn:Actio n>
  696               </ur n:Request>
  697            </soape nv:Body>
  698         </soapenv: Envelope>] ]>
  699        </con:requ est>
  700        <con:jmsCo nfig 
  701         JMSDeliver yMode="PER SISTENT"
  702        />
  703        <con:jmsPr opertyConf ig/>
  704        <con:wsaCo nfig 
  705         mustUnders tand="NONE
  706         version="2 00508" 
  707         action="ht tp://impl. contexthan dler.servi ce.server. vap.nwhin. vler. URL         /XACMLCont extHandler PortType/c heckPolicy Request"
  708        />
  709        <con:wsrmC onfig 
  710         version="1 .2"
  711        />
  712       </con:call >
  713       <con:call 
  714        name="DocQ ueryIn-DOD Requestor- OptIn-Perm it"
  715       >
  716        <con:setti ngs>
  717         <con:setti ng 
  718          id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers "
  719         >
  720          &lt;xml-fr agment/>
  721         </con:sett ing>
  722        </con:sett ings>
  723        <con:encod ing>
  724         UTF-8
  725        </con:enco ding>
  726        <con:endpo int>
  727         http://
s er v er : port /XACMLCont extHandler Service
  728        </con:endp oint>
  729        <con:reque st>
  730         <![CDATA[< !-- 
  731         This reque st is init iated by D OD
  732         This will  evaluate t o PERMIT
  733         The Patien t is opted -in, but t his is not  a factor
  734         -->
  735         <soapenv:E nvelope xm lns:soapen v="http:// schemas.xm lsoap.org/ soap/envel ope/" xmln s:urn="urn :oasis:nam es:tc:xacm l:2.0:cont ext:schema :os">
  736            <soapen v:Header/>
  737            <soapen v:Body>
  738               <urn :Request>
  739                  < !--1 or mo re repetit ions:-->
  740                  < urn:Subjec t SubjectC ategory="u rn:oasis:n ames:tc:xa cml:1.0:su bject-cate gory:acces s-subject" >
  741                      <!--Zero  or more r epetitions :-->
  742                      <urn:Att ribute Att ributeId=" urn:oasis: names:tc:x acml:1.0:s ubject:sub ject-id" D ataType="? " Issuer=" ?">
  743                         <!--1  or more r epetitions :-->
  744                         <urn: AttributeV alue>Jack  Sparrow</u rn:Attribu teValue>
  745                      </urn:At tribute>
  746                      <urn:Att ribute Att ributeId=" http://www .hhs.gov/h ealthit/nh in#HomeCom munityId"  DataType=" ?" Issuer= "?">
  747                         <!--1  or more r epetitions :-->
  748                         <urn: AttributeV alue>urn:o id:2.16.84 0.1.113883 .3.42.1000 1.100001.1 2</urn:Att ributeValu e>
  749                      </urn:At tribute>
  750                      <urn:Att ribute Att ributeId=" urn:oasis: names:tc:x spa:1.0:su bject:purp oseofuse"  DataType=" ?" Issuer= "?">
  751                         <!--1  or more r epetitions :-->
  752                         <urn: AttributeV alue>TREAT MENT</urn: AttributeV alue>
  753                      </urn:At tribute>
  754                  < /urn:Subje ct>
  755                  < !--1 or mo re repetit ions:-->
  756                  < urn:Resour ce>
  757                      <urn:Att ribute Att ributeId=" urn:gov:hh s:fha:nhin c:home-com munity-id" >
  758                         <urn: AttributeV alue>urn:o id:2.16.84 0.1.113883 .4.349</ur n:Attribut eValue>
  759                      </urn:At tribute>
  760                      <urn:Att ribute Att ributeId=" urn:oasis: names:tc:x acml:1.0:r esource:re source-id"  DataType= "?" Issuer ="?">
  761                         <!--1  or more r epetitions :-->
  762                         <urn: AttributeV alue>12345 7</urn:Att ributeValu e>
  763                      </urn:At tribute>
  764                      <urn:Att ribute Dat aType="urn :hl7-org:v 3#II" Attr ibuteId="h ttp://www. hhs.gov/he althit/nhi n#subject- id">
  765                         <urn: AttributeV alue>
  766                            <h l7:Patient Id extensi on="1099"  root="2.16 .840.1.113 883.3.488. 1" xmlns:n s21="urn:o asis:names :tc:xacml: 2.0:contex t:schema:o s" xmlns:n s9="urn:ih e:iti:xds- b:2007" xm lns:ns8="u rn:oasis:n ames:tc:eb xml-regrep :xsd:rim:3 .0" xmlns: ns7="http: //www.hhs. gov/health it/nhin/cd c" xmlns:n s6="http:/ /docs.oasi s-open.org /wsn/t-1"  xmlns:ns5= "http://do cs.oasis-o pen.org/ws rf/bf-2" x mlns:ns4=" http://doc s.oasis-op en.org/wsn /b-2" xmln s:ns3="htt p://www.w3 .org/2005/ 08/address ing" xmlns :ns19="urn :gov:hhs:f ha:nhinc:c ommon:subs criptionb2 overridefo rcdc" xmln s:ns18="ur n:gov:hhs: fha:nhinc: common:nhi nccommonad apter" xml ns:ns17="h ttp://sche mas.xmlsoa p.org/ws/2 004/08/add ressing" x mlns:ns16= "urn:gov:h hs:fha:nhi nc:common: nhinccommo n" xmlns:n s15="urn:o asis:names :tc:xacml: 2.0:contex t:schema:o s" xmlns:n s14="urn:g ov:hhs:fha :nhinc:com mon:subscr iptionb2ov errideford ocuments"  xmlns:ns13 ="http://n hinc.servi ces.com/sc hema/audit message" x mlns:ns12= "urn:oasis :names:tc: ebxml-regr ep:xsd:que ry:3.0" xm lns:ns11=" urn:oasis: names:tc:e bxml-regre p:xsd:lcm: 3.0" xmlns :ns10="urn :oasis:nam es:tc:ebxm l-regrep:x sd:rs:3.0"  xmlns:hl7 ="urn:hl7- org:v3"/>
  767                         </urn :Attribute Value>
  768                      </urn:At tribute>
  769                  < /urn:Resou rce>
  770                  < urn:Action >
  771                      <!--Zero  or more r epetitions :-->
  772                      <urn:Att ribute Att ributeId=" urn:oasis: names:tc:x acml:1.0:a ction:acti on-id" Dat aType="?"  Issuer="?" >
  773                         <!--1  or more r epetitions :-->
  774                         <urn: AttributeV alue>Docum entQueryIn </urn:Attr ibuteValue >
  775                      </urn:At tribute>
  776                  < /urn:Actio n>
  777               </ur n:Request>
  778            </soape nv:Body>
  779         </soapenv: Envelope>] ]>
  780        </con:requ est>
  781        <con:jmsCo nfig 
  782         JMSDeliver yMode="PER SISTENT"
  783        />
  784        <con:jmsPr opertyConf ig/>
  785        <con:wsaCo nfig 
  786         mustUnders tand="NONE
  787         version="2 00508" 
  788         action="ht tp://impl. contexthan dler.servi ce.server. vap.nwhin. vler. URL         /XACMLCont extHandler PortType/c heckPolicy Request"
  789        />
  790        <con:wsrmC onfig 
  791         version="1 .2"
  792        />
  793       </con:call >
  794       <con:call 
  795        name="DocQ ueryIn-DOD Requestor- OptOut-Per mit"
  796       >
  797        <con:setti ngs>
  798         <con:setti ng 
  799          id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers "
  800         >
  801          &lt;xml-fr agment/>
  802         </con:sett ing>
  803        </con:sett ings>
  804        <con:encod ing>
  805         UTF-8
  806        </con:enco ding>
  807        <con:endpo int>
  808         http://
s er v er : port /XACMLCont extHandler Service
  809        </con:endp oint>
  810        <con:reque st>
  811         <![CDATA[< !-- 
  812         This reque st is init iated by D OD
  813         This will  evaluate t o PERMIT
  814         The Patien t is opted -out, but  this is no t a factor
  815         -->
  816         <soapenv:E nvelope xm lns:soapen v="http:// schemas.xm lsoap.org/ soap/envel ope/" xmln s:urn="urn :oasis:nam es:tc:xacm l:2.0:cont ext:schema :os">
  817            <soapen v:Header/>
  818            <soapen v:Body>
  819               <urn :Request>
  820                  < !--1 or mo re repetit ions:-->
  821                  < urn:Subjec t SubjectC ategory="u rn:oasis:n ames:tc:xa cml:1.0:su bject-cate gory:acces s-subject" >
  822                      <!--Zero  or more r epetitions :-->
  823                      <urn:Att ribute Att ributeId=" urn:oasis: names:tc:x acml:1.0:s ubject:sub ject-id" D ataType="? " Issuer=" ?">
  824                         <!--1  or more r epetitions :-->
  825                         <urn: AttributeV alue>Jack  Sparrow</u rn:Attribu teValue>
  826                      </urn:At tribute>
  827                      <urn:Att ribute Att ributeId=" http://www .hhs.gov/h ealthit/nh in#HomeCom munityId"  DataType=" ?" Issuer= "?">
  828                         <!--1  or more r epetitions :-->
  829                         <urn: AttributeV alue>urn:o id:2.16.84 0.1.113883 .3.42.1000 1.100001.1 2</urn:Att ributeValu e>
  830                      </urn:At tribute>
  831                      <urn:Att ribute Att ributeId=" urn:oasis: names:tc:x spa:1.0:su bject:purp oseofuse"  DataType=" ?" Issuer= "?">
  832                         <!--1  or more r epetitions :-->
  833                         <urn: AttributeV alue>TREAT MENT</urn: AttributeV alue>
  834                      </urn:At tribute>
  835                  < /urn:Subje ct>
  836                  < !--1 or mo re repetit ions:-->
  837                  < urn:Resour ce>
  838                      <urn:Att ribute Att ributeId=" urn:gov:hh s:fha:nhin c:home-com munity-id" >
  839                         <urn: AttributeV alue>urn:o id:2.16.84 0.1.113883 .4.349</ur n:Attribut eValue>
  840                      </urn:At tribute>
  841                      <urn:Att ribute Att ributeId=" urn:oasis: names:tc:x acml:1.0:r esource:re source-id"  DataType= "?" Issuer ="?">
  842                         <!--1  or more r epetitions :-->
  843                         <urn: AttributeV alue>12345 9</urn:Att ributeValu e>
  844                      </urn:At tribute>
  845                      <urn:Att ribute Dat aType="urn :hl7-org:v 3#II" Attr ibuteId="h ttp://www. hhs.gov/he althit/nhi n#subject- id">
  846                         <urn: AttributeV alue>
  847                            <h l7:Patient Id extensi on="1099"  root="2.16 .840.1.113 883.3.488. 1" xmlns:n s21="urn:o asis:names :tc:xacml: 2.0:contex t:schema:o s" xmlns:n s9="urn:ih e:iti:xds- b:2007" xm lns:ns8="u rn:oasis:n ames:tc:eb xml-regrep :xsd:rim:3 .0" xmlns: ns7="http: //www.hhs. gov/health it/nhin/cd c" xmlns:n s6="http:/ /docs.oasi s-open.org /wsn/t-1"  xmlns:ns5= "http://do cs.oasis-o pen.org/ws rf/bf-2" x mlns:ns4=" http://doc s.oasis-op en.org/wsn /b-2" xmln s:ns3="htt p://www.w3 .org/2005/ 08/address ing" xmlns :ns19="urn :gov:hhs:f ha:nhinc:c ommon:subs criptionb2 overridefo rcdc" xmln s:ns18="ur n:gov:hhs: fha:nhinc: common:nhi nccommonad apter" xml ns:ns17="h ttp://sche mas.xmlsoa p.org/ws/2 004/08/add ressing" x mlns:ns16= "urn:gov:h hs:fha:nhi nc:common: nhinccommo n" xmlns:n s15="urn:o asis:names :tc:xacml: 2.0:contex t:schema:o s" xmlns:n s14="urn:g ov:hhs:fha :nhinc:com mon:subscr iptionb2ov errideford ocuments"  xmlns:ns13 ="http://n hinc.servi ces.com/sc hema/audit message" x mlns:ns12= "urn:oasis :names:tc: ebxml-regr ep:xsd:que ry:3.0" xm lns:ns11=" urn:oasis: names:tc:e bxml-regre p:xsd:lcm: 3.0" xmlns :ns10="urn :oasis:nam es:tc:ebxm l-regrep:x sd:rs:3.0"  xmlns:hl7 ="urn:hl7- org:v3"/>
  848                         </urn :Attribute Value>
  849                      </urn:At tribute>
  850                  < /urn:Resou rce>
  851                  < urn:Action >
  852                      <!--Zero  or more r epetitions :-->
  853                      <urn:Att ribute Att ributeId=" urn:oasis: names:tc:x acml:1.0:a ction:acti on-id" Dat aType="?"  Issuer="?" >
  854                         <!--1  or more r epetitions :-->
  855                         <urn: AttributeV alue>Docum entQueryIn </urn:Attr ibuteValue >
  856                      </urn:At tribute>
  857                  < /urn:Actio n>
  858               </ur n:Request>
  859            </soape nv:Body>
  860         </soapenv: Envelope>] ]>
  861        </con:requ est>
  862        <con:jmsCo nfig 
  863         JMSDeliver yMode="PER SISTENT"
  864        />
  865        <con:jmsPr opertyConf ig/>
  866        <con:wsaCo nfig 
  867         mustUnders tand="NONE
  868         version="2 00508" 
  869         action="ht tp://impl. contexthan dler.servi ce.server. vap.nwhin. vler. URL         /XACMLCont extHandler PortType/c heckPolicy Request"
  870        />
  871        <con:wsrmC onfig 
  872         version="1 .2"
  873        />
  874       </con:call >
  875       <con:call 
  876        name="DocQ ueryIn-All owedCommun ityRequest or-OptIn-P ermit"
  877       >
  878        <con:setti ngs>
  879         <con:setti ng 
  880          id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers "
  881         >
  882          &lt;xml-fr agment/>
  883         </con:sett ing>
  884        </con:sett ings>
  885        <con:encod ing>
  886         UTF-8
  887        </con:enco ding>
  888        <con:endpo int>
  889         http:// ser v er: p
o rt /XACMLCont extHandler Service
  890        </con:endp oint>
  891        <con:reque st>
  892         <![CDATA[< !-- 
  893         This reque st is init iated by a  patient-a llowed com munity.
  894         Patient is  opted-in  for POU, T REATMENT
  895         This will  PERMIT
  896         -->
  897         <soapenv:E nvelope xm lns:soapen v="http:// schemas.xm lsoap.org/ soap/envel ope/" xmln s:urn="urn :oasis:nam es:tc:xacm l:2.0:cont ext:schema :os">
  898            <soapen v:Header/>
  899            <soapen v:Body>
  900               <urn :Request>
  901                  < !--1 or mo re repetit ions:-->
  902                  < urn:Subjec t SubjectC ategory="u rn:oasis:n ames:tc:xa cml:1.0:su bject-cate gory:acces s-subject" >
  903                      <!--Zero  or more r epetitions :-->
  904                      <urn:Att ribute Att ributeId=" urn:oasis: names:tc:x acml:1.0:s ubject:sub ject-id" D ataType="? " Issuer=" ?">
  905                         <!--1  or more r epetitions :-->
  906                         <urn: AttributeV alue>Jim B rown</urn: AttributeV alue>
  907                      </urn:At tribute>
  908                      <urn:Att ribute Att ributeId=" http://www .hhs.gov/h ealthit/nh in#HomeCom munityId"  DataType=" ?" Issuer= "?">
  909                         <!--1  or more r epetitions :-->
  910                         <urn: AttributeV alue>urn:o id:2.16.84 0.1.113883 .3.488.1</ urn:Attrib uteValue>
  911                      </urn:At tribute>
  912                      <urn:Att ribute Att ributeId=" urn:oasis: names:tc:x spa:1.0:su bject:purp oseofuse"  DataType=" ?" Issuer= "?">
  913                         <!--1  or more r epetitions :-->
  914                         <urn: AttributeV alue>TREAT MENT</urn: AttributeV alue>
  915                      </urn:At tribute>
  916                  < /urn:Subje ct>
  917                  < !--1 or mo re repetit ions:-->
  918                  < urn:Resour ce>
  919                      <urn:Att ribute Att ributeId=" urn:gov:hh s:fha:nhin c:home-com munity-id" >
  920                         <urn: AttributeV alue>urn:o id:2.16.84 0.1.113883 .4.349</ur n:Attribut eValue>
  921                      </urn:At tribute>
  922                      <urn:Att ribute Att ributeId=" urn:oasis: names:tc:x acml:1.0:r esource:re source-id"  DataType= "?" Issuer ="?">
  923                         <!--1  or more r epetitions :-->
  924                         <urn: AttributeV alue>10125 81676V3778 02</urn:At tributeVal ue>
  925                      </urn:At tribute>
  926                      <urn:Att ribute Dat aType="urn :hl7-org:v 3#II" Attr ibuteId="h ttp://www. hhs.gov/he althit/nhi n#subject- id">
  927                         <urn: AttributeV alue>
  928                            <h l7:Patient Id extensi on="1099"  root="2.16 .840.1.113 883.3.488. 1" xmlns:n s21="urn:o asis:names :tc:xacml: 2.0:contex t:schema:o s" xmlns:n s9="urn:ih e:iti:xds- b:2007" xm lns:ns8="u rn:oasis:n ames:tc:eb xml-regrep :xsd:rim:3 .0" xmlns: ns7="http: //www.hhs. gov/health it/nhin/cd c" xmlns:n s6="http:/ /docs.oasi s-open.org /wsn/t-1"  xmlns:ns5= "http://do cs.oasis-o pen.org/ws rf/bf-2" x mlns:ns4=" http://doc s.oasis-op en.org/wsn /b-2" xmln s:ns3="htt p://www.w3 .org/2005/ 08/address ing" xmlns :ns19="urn :gov:hhs:f ha:nhinc:c ommon:subs criptionb2 overridefo rcdc" xmln s:ns18="ur n:gov:hhs: fha:nhinc: common:nhi nccommonad apter" xml ns:ns17="h ttp://sche mas.xmlsoa p.org/ws/2 004/08/add ressing" x mlns:ns16= "urn:gov:h hs:fha:nhi nc:common: nhinccommo n" xmlns:n s15="urn:o asis:names :tc:xacml: 2.0:contex t:schema:o s" xmlns:n s14="urn:g ov:hhs:fha :nhinc:com mon:subscr iptionb2ov errideford ocuments"  xmlns:ns13 ="http://n hinc.servi ces.com/sc hema/audit message" x mlns:ns12= "urn:oasis :names:tc: ebxml-regr ep:xsd:que ry:3.0" xm lns:ns11=" urn:oasis: names:tc:e bxml-regre p:xsd:lcm: 3.0" xmlns :ns10="urn :oasis:nam es:tc:ebxm l-regrep:x sd:rs:3.0"  xmlns:hl7 ="urn:hl7- org:v3"/>
  929                         </urn :Attribute Value>
  930                      </urn:At tribute>
  931                  < /urn:Resou rce>
  932                  < urn:Action >
  933                      <!--Zero  or more r epetitions :-->
  934                      <urn:Att ribute Att ributeId=" urn:oasis: names:tc:x acml:1.0:a ction:acti on-id" Dat aType="?"  Issuer="?" >
  935                         <!--1  or more r epetitions :-->
  936                         <urn: AttributeV alue>Docum entQueryIn </urn:Attr ibuteValue >
  937                      </urn:At tribute>
  938                  < /urn:Actio n>
  939               </ur n:Request>
  940            </soape nv:Body>
  941         </soapenv: Envelope>] ]>
  942        </con:requ est>
  943        <con:jmsCo nfig 
  944         JMSDeliver yMode="PER SISTENT"
  945        />
  946        <con:jmsPr opertyConf ig/>
  947        <con:wsaCo nfig 
  948         mustUnders tand="NONE
  949         version="2 00508" 
  950         action="ht tp://impl. contexthan dler.servi ce.server. vap.nwhin. vler. URL         /XACMLCont extHandler PortType/c heckPolicy Request"
  951        />
  952        <con:wsrmC onfig 
  953         version="1 .2"
  954        />
  955       </con:call >
  956       <con:call 
  957        name="DocQ ueryIn-All owedCommun ityRequest or-OptOut- Deny"
  958       >
  959        <con:setti ngs>
  960         <con:setti ng 
  961          id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers "
  962         >
  963          &lt;xml-fr agment/>
  964         </con:sett ing>
  965        </con:sett ings>
  966        <con:encod ing>
  967         UTF-8
  968        </con:enco ding>
  969        <con:endpo int>
  970         http://
s er v er : port /XACMLCont extHandler Service
  971        </con:endp oint>
  972        <con:reque st>
  973         <![CDATA[< !-- 
  974         This reque st is init iated by a  patient-a llowed com munity.
  975         Patient is  opted-out .
  976         This will  DENY
  977         -->
  978         <soapenv:E nvelope xm lns:soapen v="http:// schemas.xm lsoap.org/ soap/envel ope/" xmln s:urn="urn :oasis:nam es:tc:xacm l:2.0:cont ext:schema :os">
  979            <soapen v:Header/>
  980            <soapen v:Body>
  981               <urn :Request>
  982                  < !--1 or mo re repetit ions:-->
  983                  < urn:Subjec t SubjectC ategory="u rn:oasis:n ames:tc:xa cml:1.0:su bject-cate gory:acces s-subject" >
  984                      <!--Zero  or more r epetitions :-->
  985                      <urn:Att ribute Att ributeId=" urn:oasis: names:tc:x acml:1.0:s ubject:sub ject-id" D ataType="? " Issuer=" ?">
  986                         <!--1  or more r epetitions :-->
  987                         <urn: AttributeV alue>Jim B rown</urn: AttributeV alue>
  988                      </urn:At tribute>
  989                      <urn:Att ribute Att ributeId=" http://www .hhs.gov/h ealthit/nh in#HomeCom munityId"  DataType=" ?" Issuer= "?">
  990                         <!--1  or more r epetitions :-->
  991                         <urn: AttributeV alue>urn:o id:2.16.84 0.1.113883 .3.488.1</ urn:Attrib uteValue>
  992                      </urn:At tribute>
  993                      <urn:Att ribute Att ributeId=" urn:oasis: names:tc:x spa:1.0:su bject:purp oseofuse"  DataType=" ?" Issuer= "?">
  994                         <!--1  or more r epetitions :-->
  995                         <urn: AttributeV alue>TREAT MENT</urn: AttributeV alue>
  996                      </urn:At tribute>
  997                  < /urn:Subje ct>
  998                  < !--1 or mo re repetit ions:-->
  999                  < urn:Resour ce>
  1000                      <urn:Att ribute Att ributeId=" urn:gov:hh s:fha:nhin c:home-com munity-id" >
  1001                         <urn: AttributeV alue>urn:o id:2.16.84 0.1.113883 .4.349</ur n:Attribut eValue>
  1002                      </urn:At tribute>
  1003                      <urn:Att ribute Att ributeId=" urn:oasis: names:tc:x acml:1.0:r esource:re source-id"  DataType= "?" Issuer ="?">
  1004                         <!--1  or more r epetitions :-->
  1005                         <urn: AttributeV alue>12345 9</urn:Att ributeValu e>
  1006                      </urn:At tribute>
  1007                      <urn:Att ribute Dat aType="urn :hl7-org:v 3#II" Attr ibuteId="h ttp://www. hhs.gov/he althit/nhi n#subject- id">
  1008                         <urn: AttributeV alue>
  1009                            <h l7:Patient Id extensi on="1099"  root="2.16 .840.1.113 883.3.488. 1" xmlns:n s21="urn:o asis:names :tc:xacml: 2.0:contex t:schema:o s" xmlns:n s9="urn:ih e:iti:xds- b:2007" xm lns:ns8="u rn:oasis:n ames:tc:eb xml-regrep :xsd:rim:3 .0" xmlns: ns7="http: //www.hhs. gov/health it/nhin/cd c" xmlns:n s6="http:/ /docs.oasi s-open.org /wsn/t-1"  xmlns:ns5= "http://do cs.oasis-o pen.org/ws rf/bf-2" x mlns:ns4=" http://doc s.oasis-op en.org/wsn /b-2" xmln s:ns3="htt p://www.w3 .org/2005/ 08/address ing" xmlns :ns19="urn :gov:hhs:f ha:nhinc:c ommon:subs criptionb2 overridefo rcdc" xmln s:ns18="ur n:gov:hhs: fha:nhinc: common:nhi nccommonad apter" xml ns:ns17="h ttp://sche mas.xmlsoa p.org/ws/2 004/08/add ressing" x mlns:ns16= "urn:gov:h hs:fha:nhi nc:common: nhinccommo n" xmlns:n s15="urn:o asis:names :tc:xacml: 2.0:contex t:schema:o s" xmlns:n s14="urn:g ov:hhs:fha :nhinc:com mon:subscr iptionb2ov errideford ocuments"  xmlns:ns13 ="http://n hinc.servi ces.com/sc hema/audit message" x mlns:ns12= "urn:oasis :names:tc: ebxml-regr ep:xsd:que ry:3.0" xm lns:ns11=" urn:oasis: names:tc:e bxml-regre p:xsd:lcm: 3.0" xmlns :ns10="urn :oasis:nam es:tc:ebxm l-regrep:x sd:rs:3.0"  xmlns:hl7 ="urn:hl7- org:v3"/>
  1010                         </urn :Attribute Value>
  1011                      </urn:At tribute>
  1012                  < /urn:Resou rce>
  1013                  < urn:Action >
  1014                      <!--Zero  or more r epetitions :-->
  1015                      <urn:Att ribute Att ributeId=" urn:oasis: names:tc:x acml:1.0:a ction:acti on-id" Dat aType="?"  Issuer="?" >
  1016                         <!--1  or more r epetitions :-->
  1017                         <urn: AttributeV alue>Docum entQueryIn </urn:Attr ibuteValue >
  1018                      </urn:At tribute>
  1019                  < /urn:Actio n>
  1020               </ur n:Request>
  1021            </soape nv:Body>
  1022         </soapenv: Envelope>] ]>
  1023        </con:requ est>
  1024        <con:jmsCo nfig 
  1025         JMSDeliver yMode="PER SISTENT"
  1026        />
  1027        <con:jmsPr opertyConf ig/>
  1028        <con:wsaCo nfig 
  1029         mustUnders tand="NONE
  1030         version="2 00508" 
  1031         action="ht tp://impl. contexthan dler.servi ce.server. vap.nwhin. vler. URL         /XACMLCont extHandler PortType/c heckPolicy Request"
  1032        />
  1033        <con:wsrmC onfig 
  1034         version="1 .2"
  1035        />
  1036       </con:call >
  1037       <con:call 
  1038        name="DocQ ueryIn-All owedCommun ityRequest or-Unsuppo rtedPOU-De ny"
  1039       >
  1040        <con:setti ngs>
  1041         <con:setti ng 
  1042          id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers "
  1043         >
  1044          &lt;xml-fr agment/>
  1045         </con:sett ing>
  1046        </con:sett ings>
  1047        <con:encod ing>
  1048         UTF-8
  1049        </con:enco ding>
  1050        <con:endpo int>
  1051         http://
s er v er : port /XACMLCont extHandler Service
  1052        </con:endp oint>
  1053        <con:reque st>
  1054         <![CDATA[< !-- 
  1055         This reque st is init iated by a  patient-a llowed com munity.
  1056         Patient is  opted-in  for POU, P UBLICHEALT H
  1057         This will  DENY
  1058         -->
  1059         <soapenv:E nvelope xm lns:soapen v="http:// schemas.xm lsoap.org/ soap/envel ope/" xmln s:urn="urn :oasis:nam es:tc:xacm l:2.0:cont ext:schema :os">
  1060            <soapen v:Header/>
  1061            <soapen v:Body>
  1062               <urn :Request>
  1063                  < !--1 or mo re repetit ions:-->
  1064                  < urn:Subjec t SubjectC ategory="u rn:oasis:n ames:tc:xa cml:1.0:su bject-cate gory:acces s-subject" >
  1065                      <!--Zero  or more r epetitions :-->
  1066                      <urn:Att ribute Att ributeId=" urn:oasis: names:tc:x acml:1.0:s ubject:sub ject-id" D ataType="? " Issuer=" ?">
  1067                         <!--1  or more r epetitions :-->
  1068                         <urn: AttributeV alue>Jim B rown</urn: AttributeV alue>
  1069                      </urn:At tribute>
  1070                      <urn:Att ribute Att ributeId=" http://www .hhs.gov/h ealthit/nh in#HomeCom munityId"  DataType=" ?" Issuer= "?">
  1071                         <!--1  or more r epetitions :-->
  1072                         <urn: AttributeV alue>urn:o id:2.16.84 0.1.113883 .3.488.1</ urn:Attrib uteValue>
  1073                      </urn:At tribute>
  1074                      <urn:Att ribute Att ributeId=" urn:oasis: names:tc:x spa:1.0:su bject:purp oseofuse"  DataType=" ?" Issuer= "?">
  1075                         <!--1  or more r epetitions :-->
  1076                         <urn: AttributeV alue>PUBLI CHEALTH</u rn:Attribu teValue>
  1077                      </urn:At tribute>
  1078                  < /urn:Subje ct>
  1079                  < !--1 or mo re repetit ions:-->
  1080                  < urn:Resour ce>
  1081                      <urn:Att ribute Att ributeId=" urn:gov:hh s:fha:nhin c:home-com munity-id" >
  1082                         <urn: AttributeV alue>urn:o id:2.16.84 0.1.113883 .4.349</ur n:Attribut eValue>
  1083                      </urn:At tribute>
  1084                      <urn:Att ribute Att ributeId=" urn:oasis: names:tc:x acml:1.0:r esource:re source-id"  DataType= "?" Issuer ="?">
  1085                         <!--1  or more r epetitions :-->
  1086                         <urn: AttributeV alue>12345 7</urn:Att ributeValu e>
  1087                      </urn:At tribute>
  1088                      <urn:Att ribute Dat aType="urn :hl7-org:v 3#II" Attr ibuteId="h ttp://www. hhs.gov/he althit/nhi n#subject- id">
  1089                         <urn: AttributeV alue>
  1090                            <h l7:Patient Id extensi on="1099"  root="2.16 .840.1.113 883.3.488. 1" xmlns:n s21="urn:o asis:names :tc:xacml: 2.0:contex t:schema:o s" xmlns:n s9="urn:ih e:iti:xds- b:2007" xm lns:ns8="u rn:oasis:n ames:tc:eb xml-regrep :xsd:rim:3 .0" xmlns: ns7="http: //www.hhs. gov/health it/nhin/cd c" xmlns:n s6="http:/ /docs.oasi s-open.org /wsn/t-1"  xmlns:ns5= "http://do cs.oasis-o pen.org/ws rf/bf-2" x mlns:ns4=" http://doc s.oasis-op en.org/wsn /b-2" xmln s:ns3="htt p://www.w3 .org/2005/ 08/address ing" xmlns :ns19="urn :gov:hhs:f ha:nhinc:c ommon:subs criptionb2 overridefo rcdc" xmln s:ns18="ur n:gov:hhs: fha:nhinc: common:nhi nccommonad apter" xml ns:ns17="h ttp://sche mas.xmlsoa p.org/ws/2 004/08/add ressing" x mlns:ns16= "urn:gov:h hs:fha:nhi nc:common: nhinccommo n" xmlns:n s15="urn:o asis:names :tc:xacml: 2.0:contex t:schema:o s" xmlns:n s14="urn:g ov:hhs:fha :nhinc:com mon:subscr iptionb2ov errideford ocuments"  xmlns:ns13 ="http://n hinc.servi ces.com/sc hema/audit message" x mlns:ns12= "urn:oasis :names:tc: ebxml-regr ep:xsd:que ry:3.0" xm lns:ns11=" urn:oasis: names:tc:e bxml-regre p:xsd:lcm: 3.0" xmlns :ns10="urn :oasis:nam es:tc:ebxm l-regrep:x sd:rs:3.0"  xmlns:hl7 ="urn:hl7- org:v3"/>
  1091                         </urn :Attribute Value>
  1092                      </urn:At tribute>
  1093                  < /urn:Resou rce>
  1094                  < urn:Action >
  1095                      <!--Zero  or more r epetitions :-->
  1096                      <urn:Att ribute Att ributeId=" urn:oasis: names:tc:x acml:1.0:a ction:acti on-id" Dat aType="?"  Issuer="?" >
  1097                         <!--1  or more r epetitions :-->
  1098                         <urn: AttributeV alue>Docum entQueryIn </urn:Attr ibuteValue >
  1099                      </urn:At tribute>
  1100                  < /urn:Actio n>
  1101               </ur n:Request>
  1102            </soape nv:Body>
  1103         </soapenv: Envelope>] ]>
  1104        </con:requ est>
  1105        <con:jmsCo nfig 
  1106         JMSDeliver yMode="PER SISTENT"
  1107        />
  1108        <con:jmsPr opertyConf ig/>
  1109        <con:wsaCo nfig 
  1110         mustUnders tand="NONE
  1111         version="2 00508" 
  1112         action="ht tp://impl. contexthan dler.servi ce.server. vap.nwhin. vler. URL         /XACMLCont extHandler PortType/c heckPolicy Request"
  1113        />
  1114        <con:wsrmC onfig 
  1115         version="1 .2"
  1116        />
  1117       </con:call >
  1118       <con:call 
  1119        name="DocQ ueryIn-Exc ludedCommu nityReques tor-OptIn- Deny"
  1120       >
  1121        <con:setti ngs>
  1122         <con:setti ng 
  1123          id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers "
  1124         >
  1125          &lt;xml-fr agment/>
  1126         </con:sett ing>
  1127        </con:sett ings>
  1128        <con:encod ing>
  1129         UTF-8
  1130        </con:enco ding>
  1131        <con:endpo int>
  1132         http://
s er v er : port /XACMLCont extHandler Service
  1133        </con:endp oint>
  1134        <con:reque st>
  1135         <![CDATA[< !-- 
  1136         This reque st is init iated by a  patient-e xcluded co mmunity.
  1137         Patient is  opted-in  for POU, T REATMENT
  1138         This will  PERMIT
  1139         -->
  1140         <soapenv:E nvelope xm lns:soapen v="http:// schemas.xm lsoap.org/ soap/envel ope/" xmln s:urn="urn :oasis:nam es:tc:xacm l:2.0:cont ext:schema :os">
  1141            <soapen v:Header/>
  1142            <soapen v:Body>
  1143               <urn :Request>
  1144                  < !--1 or mo re repetit ions:-->
  1145                  < urn:Subjec t SubjectC ategory="u rn:oasis:n ames:tc:xa cml:1.0:su bject-cate gory:acces s-subject" >
  1146                      <!--Zero  or more r epetitions :-->
  1147                      <urn:Att ribute Att ributeId=" urn:oasis: names:tc:x acml:1.0:s ubject:sub ject-id" D ataType="? " Issuer=" ?">
  1148                         <!--1  or more r epetitions :-->
  1149                         <urn: AttributeV alue>david </urn:Attr ibuteValue >
  1150                      </urn:At tribute>
  1151                      <urn:Att ribute Att ributeId=" http://www .hhs.gov/h ealthit/nh in#HomeCom munityId"  DataType=" ?" Issuer= "?">
  1152                         <!--1  or more r epetitions :-->
  1153                         <urn: AttributeV alue>urn:o id:2.16.84 0.1.113883 .3.715</ur n:Attribut eValue>
  1154                      </urn:At tribute>
  1155                      <urn:Att ribute Att ributeId=" urn:oasis: names:tc:x spa:1.0:su bject:purp oseofuse"  DataType=" ?" Issuer= "?">
  1156                         <!--1  or more r epetitions :-->
  1157                         <urn: AttributeV alue>TREAT MENT</urn: AttributeV alue>
  1158                      </urn:At tribute>
  1159                  < /urn:Subje ct>
  1160                  < !--1 or mo re repetit ions:-->
  1161                  < urn:Resour ce>
  1162                      <urn:Att ribute Att ributeId=" urn:gov:hh s:fha:nhin c:home-com munity-id" >
  1163                         <urn: AttributeV alue>urn:o id:2.16.84 0.1.113883 .4.349</ur n:Attribut eValue>
  1164                      </urn:At tribute>
  1165                      <urn:Att ribute Att ributeId=" urn:oasis: names:tc:x acml:1.0:r esource:re source-id"  DataType= "?" Issuer ="?">
  1166                         <!--1  or more r epetitions :-->
  1167                         <urn: AttributeV alue>12345 7</urn:Att ributeValu e>
  1168                      </urn:At tribute>
  1169                      <urn:Att ribute Dat aType="urn :hl7-org:v 3#II" Attr ibuteId="h ttp://www. hhs.gov/he althit/nhi n#subject- id">
  1170                         <urn: AttributeV alue>
  1171                            <h l7:Patient Id extensi on="1099"  root="2.16 .840.1.113 883.3.488. 1" xmlns:n s21="urn:o asis:names :tc:xacml: 2.0:contex t:schema:o s" xmlns:n s9="urn:ih e:iti:xds- b:2007" xm lns:ns8="u rn:oasis:n ames:tc:eb xml-regrep :xsd:rim:3 .0" xmlns: ns7="http: //www.hhs. gov/health it/nhin/cd c" xmlns:n s6="http:/ /docs.oasi s-open.org /wsn/t-1"  xmlns:ns5= "http://do cs.oasis-o pen.org/ws rf/bf-2" x mlns:ns4=" http://doc s.oasis-op en.org/wsn /b-2" xmln s:ns3="htt p://www.w3 .org/2005/ 08/address ing" xmlns :ns19="urn :gov:hhs:f ha:nhinc:c ommon:subs criptionb2 overridefo rcdc" xmln s:ns18="ur n:gov:hhs: fha:nhinc: common:nhi nccommonad apter" xml ns:ns17="h ttp://sche mas.xmlsoa p.org/ws/2 004/08/add ressing" x mlns:ns16= "urn:gov:h hs:fha:nhi nc:common: nhinccommo n" xmlns:n s15="urn:o asis:names :tc:xacml: 2.0:contex t:schema:o s" xmlns:n s14="urn:g ov:hhs:fha :nhinc:com mon:subscr iptionb2ov errideford ocuments"  xmlns:ns13 ="http://n hinc.servi ces.com/sc hema/audit message" x mlns:ns12= "urn:oasis :names:tc: ebxml-regr ep:xsd:que ry:3.0" xm lns:ns11=" urn:oasis: names:tc:e bxml-regre p:xsd:lcm: 3.0" xmlns :ns10="urn :oasis:nam es:tc:ebxm l-regrep:x sd:rs:3.0"  xmlns:hl7 ="urn:hl7- org:v3"/>
  1172                         </urn :Attribute Value>
  1173                      </urn:At tribute>
  1174                  < /urn:Resou rce>
  1175                  < urn:Action >
  1176                      <!--Zero  or more r epetitions :-->
  1177                      <urn:Att ribute Att ributeId=" urn:oasis: names:tc:x acml:1.0:a ction:acti on-id" Dat aType="?"  Issuer="?" >
  1178                         <!--1  or more r epetitions :-->
  1179                         <urn: AttributeV alue>Docum entQueryIn </urn:Attr ibuteValue >
  1180                      </urn:At tribute>
  1181                  < /urn:Actio n>
  1182               </ur n:Request>
  1183            </soape nv:Body>
  1184         </soapenv: Envelope>] ]>
  1185        </con:requ est>
  1186        <con:jmsCo nfig 
  1187         JMSDeliver yMode="PER SISTENT"
  1188        />
  1189        <con:jmsPr opertyConf ig/>
  1190        <con:wsaCo nfig 
  1191         mustUnders tand="NONE
  1192         version="2 00508" 
  1193         action="ht tp://impl. contexthan dler.servi ce.server. vap.nwhin. vler. URL         /XACMLCont extHandler PortType/c heckPolicy Request"
  1194        />
  1195        <con:wsrmC onfig 
  1196         version="1 .2"
  1197        />
  1198       </con:call >
  1199       <con:call 
  1200        name="DocQ ueryOut-DO DResource- OptIn-Perm it"
  1201       >
  1202        <con:setti ngs>
  1203         <con:setti ng 
  1204          id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers "
  1205         >
  1206          &lt;xml-fr agment/>
  1207         </con:sett ing>
  1208        </con:sett ings>
  1209        <con:encod ing>
  1210         UTF-8
  1211        </con:enco ding>
  1212        <con:endpo int>
  1213         http://
s er v er : port /XACMLCont extHandler Service
  1214        </con:endp oint>
  1215        <con:reque st>
  1216         <![CDATA[< !-- 
  1217         This reque st is targ eted to DO D
  1218         This will  evaluate t o PERMIT
  1219         The Patien t is opted -in, but t his is not  a factor
  1220         -->
  1221        
  1222        
  1223         <soapenv:E nvelope xm lns:soapen v="http:// schemas.xm lsoap.org/ soap/envel ope/" xmln s:urn="urn :oasis:nam es:tc:xacm l:2.0:cont ext:schema :os">
  1224             <soape nv:Header/ >
  1225             <soape nv:Body>
  1226                 <u rn:Request >
  1227                                   <!--1  or more re petitions: -->
  1228                      <urn:Sub ject Subje ctCategory ="urn:oasi s:names:tc :xacml:1.0 :subject-c ategory:ac cess-subje ct">
  1229                                            <!--Zero  or more r epetitions :-->
  1230                          <urn :Attribute  Attribute Id="urn:oa sis:names: tc:xacml:1 .0:subject :subject-i d" DataTyp e="?" Issu er="?">
  1231                                                     <!--1 or m ore repeti tions:-->
  1232                               <urn:Attri buteValue> Jack Sparr ow</urn:At tributeVal ue>
  1233                          </ur n:Attribut e>
  1234                          <urn :Attribute  Attribute Id="http:/ /www.hhs.g ov/healthi t/nhin#Hom eCommunity Id" DataTy pe="?" Iss uer="?">
  1235                                                     <!--1 or m ore repeti tions:-->
  1236                               <urn:Attri buteValue> urn:oid:2. 16.840.1.1 13883.4.34 9</urn:Att ributeValu e>
  1237                          </ur n:Attribut e>
  1238                          <urn :Attribute  Attribute Id="urn:oa sis:names: tc:xspa:1. 0:subject: purposeofu se" DataTy pe="?" Iss uer="?">
  1239                                                     <!--1 or m ore repeti tions:-->
  1240                               <urn:Attri buteValue> TREATMENT< /urn:Attri buteValue>
  1241                          </ur n:Attribut e>
  1242                      </urn:Su bject>
  1243                                   <!--1  or more re petitions: -->
  1244                      <urn:Res ource>
  1245                          <urn :Attribute  Attribute Id="urn:go v:hhs:fha: nhinc:home -community -id">
  1246                               <urn:Attri buteValue> urn:oid:2. 16.840.1.1 13883.3.42 .10001.100 001.12</ur n:Attribut eValue>
  1247                          </ur n:Attribut e>
  1248                          <urn :Attribute  Attribute Id="urn:oa sis:names: tc:xacml:1 .0:resourc e:resource -id" DataT ype="?" Is suer="?">
  1249                                                     <!--1 or m ore repeti tions:-->
  1250                               <urn:Attri buteValue> 123457</ur n:Attribut eValue>
  1251                          </ur n:Attribut e>
  1252                      </urn:Re source>
  1253                      <urn:Act ion>
  1254                                            <!--Zero  or more r epetitions :-->
  1255                          <urn :Attribute  Attribute Id="urn:oa sis:names: tc:xacml:1 .0:action: action-id"  DataType= "?" Issuer ="?">
  1256                                                     <!--1 or m ore repeti tions:-->
  1257                               <urn:Attri buteValue> DocumentQu eryOut</ur n:Attribut eValue>
  1258                          </ur n:Attribut e>
  1259                      </urn:Ac tion>
  1260                 </ urn:Reques t>
  1261             </soap env:Body>
  1262         </soapenv: Envelope>
  1263        
  1264         ]]>
  1265        </con:requ est>
  1266        <con:jmsCo nfig 
  1267         JMSDeliver yMode="PER SISTENT"
  1268        />
  1269        <con:jmsPr opertyConf ig/>
  1270        <con:wsaCo nfig 
  1271         mustUnders tand="NONE
  1272         version="2 00508" 
  1273         action="ht tp://impl. contexthan dler.servi ce.server. vap.nwhin. vler. URL         /XACMLCont extHandler PortType/c heckPolicy Request"
  1274        />
  1275        <con:wsrmC onfig 
  1276         version="1 .2"
  1277        />
  1278       </con:call >
  1279       <con:call 
  1280        name="DocQ ueryOut-DO DResource- OptOut-Per mit"
  1281       >
  1282        <con:setti ngs>
  1283         <con:setti ng 
  1284          id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers "
  1285         >
  1286          &lt;xml-fr agment/>
  1287         </con:sett ing>
  1288        </con:sett ings>
  1289        <con:encod ing>
  1290         UTF-8
  1291        </con:enco ding>
  1292        <con:endpo int>
  1293         http://
s er v er : port /XACMLCont extHandler Service
  1294        </con:endp oint>
  1295        <con:reque st>
  1296         <![CDATA[< !-- 
  1297         This reque st is targ eted to DO D
  1298         This will  evaluate t o PERMIT
  1299         The Patien t is opted -out, but  this is no t a factor
  1300         -->
  1301        
  1302        
  1303         <soapenv:E nvelope xm lns:soapen v="http:// schemas.xm lsoap.org/ soap/envel ope/" xmln s:urn="urn :oasis:nam es:tc:xacm l:2.0:cont ext:schema :os">
  1304             <soape nv:Header/ >
  1305             <soape nv:Body>
  1306                 <u rn:Request >
  1307                                   <!--1  or more re petitions: -->
  1308                      <urn:Sub ject Subje ctCategory ="urn:oasi s:names:tc :xacml:1.0 :subject-c ategory:ac cess-subje ct">
  1309                                            <!--Zero  or more r epetitions :-->
  1310                          <urn :Attribute  Attribute Id="urn:oa sis:names: tc:xacml:1 .0:subject :subject-i d" DataTyp e="?" Issu er="?">
  1311                                                     <!--1 or m ore repeti tions:-->
  1312                               <urn:Attri buteValue> Jack Sparr ow</urn:At tributeVal ue>
  1313                          </ur n:Attribut e>
  1314                          <urn :Attribute  Attribute Id="http:/ /www.hhs.g ov/healthi t/nhin#Hom eCommunity Id" DataTy pe="?" Iss uer="?">
  1315                                                     <!--1 or m ore repeti tions:-->
  1316                               <urn:Attri buteValue> urn:oid:2. 16.840.1.1 13883.4.34 9</urn:Att ributeValu e>
  1317                          </ur n:Attribut e>
  1318                          <urn :Attribute  Attribute Id="urn:oa sis:names: tc:xspa:1. 0:subject: purposeofu se" DataTy pe="?" Iss uer="?">
  1319                                                     <!--1 or m ore repeti tions:-->
  1320                               <urn:Attri buteValue> TREATMENT< /urn:Attri buteValue>
  1321                          </ur n:Attribut e>
  1322                      </urn:Su bject>
  1323                                   <!--1  or more re petitions: -->
  1324                      <urn:Res ource>
  1325                          <urn :Attribute  Attribute Id="urn:go v:hhs:fha: nhinc:home -community -id">
  1326                               <urn:Attri buteValue> urn:oid:2. 16.840.1.1 13883.3.42 .10001.100 001.12</ur n:Attribut eValue>
  1327                          </ur n:Attribut e>
  1328                          <urn :Attribute  Attribute Id="urn:oa sis:names: tc:xacml:1 .0:resourc e:resource -id" DataT ype="?" Is suer="?">
  1329                                                     <!--1 or m ore repeti tions:-->
  1330                               <urn:Attri buteValue> 12347</urn :Attribute Value>
  1331                          </ur n:Attribut e>
  1332                      </urn:Re source>
  1333                      <urn:Act ion>
  1334                                            <!--Zero  or more r epetitions :-->
  1335                          <urn :Attribute  Attribute Id="urn:oa sis:names: tc:xacml:1 .0:action: action-id"  DataType= "?" Issuer ="?">
  1336                                                     <!--1 or m ore repeti tions:-->
  1337                               <urn:Attri buteValue> DocumentQu eryOut</ur n:Attribut eValue>
  1338                          </ur n:Attribut e>
  1339                      </urn:Ac tion>
  1340                 </ urn:Reques t>
  1341             </soap env:Body>
  1342         </soapenv: Envelope>
  1343        
  1344         ]]>
  1345        </con:requ est>
  1346        <con:jmsCo nfig 
  1347         JMSDeliver yMode="PER SISTENT"
  1348        />
  1349        <con:jmsPr opertyConf ig/>
  1350        <con:wsaCo nfig 
  1351         mustUnders tand="NONE
  1352         version="2 00508" 
  1353         action="ht tp://impl. contexthan dler.servi ce.server. vap.nwhin. vler. URL         /XACMLCont extHandler PortType/c heckPolicy Request"
  1354        />
  1355        <con:wsrmC onfig 
  1356         version="1 .2"
  1357        />
  1358       </con:call >
  1359       <con:call 
  1360        name="DocQ ueryOut-Al lowedCommu nityResour ce-OptOut- Deny"
  1361       >
  1362        <con:setti ngs>
  1363         <con:setti ng 
  1364          id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers "
  1365         >
  1366          &lt;xml-fr agment/>
  1367         </con:sett ing>
  1368        </con:sett ings>
  1369        <con:encod ing>
  1370         UTF-8
  1371        </con:enco ding>
  1372        <con:endpo int>
  1373         http://
s er v er : port /XACMLCont extHandler Service
  1374        </con:endp oint>
  1375        <con:reque st>
  1376         <![CDATA[< !-- 
  1377         This reque st is targ eted to an  allowed c ommunity
  1378         This will  evaluate t o DENY
  1379         The Patien t is opted -out
  1380         -->
  1381        
  1382        
  1383         <soapenv:E nvelope xm lns:soapen v="http:// schemas.xm lsoap.org/ soap/envel ope/" xmln s:urn="urn :oasis:nam es:tc:xacm l:2.0:cont ext:schema :os">
  1384             <soape nv:Header/ >
  1385             <soape nv:Body>
  1386                 <u rn:Request >
  1387                                   <!--1  or more re petitions: -->
  1388                      <urn:Sub ject Subje ctCategory ="urn:oasi s:names:tc :xacml:1.0 :subject-c ategory:ac cess-subje ct">
  1389                                            <!--Zero  or more r epetitions :-->
  1390                          <urn :Attribute  Attribute Id="urn:oa sis:names: tc:xacml:1 .0:subject :subject-i d" DataTyp e="?" Issu er="?">
  1391                                                     <!--1 or m ore repeti tions:-->
  1392                               <urn:Attri buteValue> david*DoD< /urn:Attri buteValue>
  1393                          </ur n:Attribut e>
  1394                          <urn :Attribute  Attribute Id="http:/ /www.hhs.g ov/healthi t/nhin#Hom eCommunity Id" DataTy pe="?" Iss uer="?">
  1395                                                     <!--1 or m ore repeti tions:-->
  1396                               <urn:Attri buteValue> urn:oid:2. 16.840.1.1 13883.4.34 9</urn:Att ributeValu e>
  1397                          </ur n:Attribut e>
  1398                          <urn :Attribute  Attribute Id="urn:oa sis:names: tc:xspa:1. 0:subject: purposeofu se" DataTy pe="?" Iss uer="?">
  1399                                                     <!--1 or m ore repeti tions:-->
  1400                               <urn:Attri buteValue> TREATMENT< /urn:Attri buteValue>
  1401                          </ur n:Attribut e>
  1402                      </urn:Su bject>
  1403                                   <!--1  or more re petitions: -->
  1404                      <urn:Res ource>
  1405                          <urn :Attribute  Attribute Id="urn:go v:hhs:fha: nhinc:home -community -id">
  1406                               <urn:Attri buteValue> urn:oid:2. 16.840.1.1 13883.3.48 8.1</urn:A ttributeVa lue>
  1407                          </ur n:Attribut e>
  1408                          <urn :Attribute  Attribute Id="urn:oa sis:names: tc:xacml:1 .0:resourc e:resource -id" DataT ype="?" Is suer="?">
  1409                                                     <!--1 or m ore repeti tions:-->
  1410                               <urn:Attri buteValue> 12347</urn :Attribute Value>
  1411                          </ur n:Attribut e>
  1412                      </urn:Re source>
  1413                      <urn:Act ion>
  1414                                            <!--Zero  or more r epetitions :-->
  1415                          <urn :Attribute  Attribute Id="urn:oa sis:names: tc:xacml:1 .0:action: action-id"  DataType= "?" Issuer ="?">
  1416                                                     <!--1 or m ore repeti tions:-->
  1417                               <urn:Attri buteValue> DocumentQu eryOut</ur n:Attribut eValue>
  1418                          </ur n:Attribut e>
  1419                      </urn:Ac tion>
  1420                 </ urn:Reques t>
  1421             </soap env:Body>
  1422         </soapenv: Envelope>
  1423        
  1424         ]]>
  1425        </con:requ est>
  1426        <con:jmsCo nfig 
  1427         JMSDeliver yMode="PER SISTENT"
  1428        />
  1429        <con:jmsPr opertyConf ig/>
  1430        <con:wsaCo nfig 
  1431         mustUnders tand="NONE
  1432         version="2 00508" 
  1433         action="ht tp://impl. contexthan dler.servi ce.server. vap.nwhin. vler. URL         /XACMLCont extHandler PortType/c heckPolicy Request"
  1434        />
  1435        <con:wsrmC onfig 
  1436         version="1 .2"
  1437        />
  1438       </con:call >
  1439       <con:call 
  1440        name="DocQ ueryOut-Al lowedCommu nityResour ce-OptIn-P ermit"
  1441       >
  1442        <con:setti ngs>
  1443         <con:setti ng 
  1444          id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers "
  1445         >
  1446          &lt;xml-fr agment/>
  1447         </con:sett ing>
  1448        </con:sett ings>
  1449        <con:encod ing>
  1450         UTF-8
  1451        </con:enco ding>
  1452        <con:endpo int>
  1453         http://
s er v er : port /XACMLCont extHandler Service
  1454        </con:endp oint>
  1455        <con:reque st>
  1456         <![CDATA[< !-- 
  1457         This reque st is targ eted to an  allowed c ommunity
  1458         This will  evaluate t o PERMIT
  1459         The Patien t is opted -in
  1460         -->
  1461        
  1462        
  1463         <soapenv:E nvelope xm lns:soapen v="http:// schemas.xm lsoap.org/ soap/envel ope/" xmln s:urn="urn :oasis:nam es:tc:xacm l:2.0:cont ext:schema :os">
  1464             <soape nv:Header/ >
  1465             <soape nv:Body>
  1466                 <u rn:Request >
  1467                                   <!--1  or more re petitions: -->
  1468                      <urn:Sub ject Subje ctCategory ="urn:oasi s:names:tc :xacml:1.0 :subject-c ategory:ac cess-subje ct">
  1469                                            <!--Zero  or more r epetitions :-->
  1470                          <urn :Attribute  Attribute Id="urn:oa sis:names: tc:xacml:1 .0:subject :subject-i d" DataTyp e="?" Issu er="?">
  1471                                                     <!--1 or m ore repeti tions:-->
  1472                               <urn:Attri buteValue> david*DoD< /urn:Attri buteValue>
  1473                          </ur n:Attribut e>
  1474                          <urn :Attribute  Attribute Id="http:/ /www.hhs.g ov/healthi t/nhin#Hom eCommunity Id" DataTy pe="?" Iss uer="?">
  1475                                                     <!--1 or m ore repeti tions:-->
  1476                               <urn:Attri buteValue> urn:oid:2. 16.840.1.1 13883.4.34 9</urn:Att ributeValu e>
  1477                          </ur n:Attribut e>
  1478                          <urn :Attribute  Attribute Id="urn:oa sis:names: tc:xspa:1. 0:subject: purposeofu se" DataTy pe="?" Iss uer="?">
  1479                                                     <!--1 or m ore repeti tions:-->
  1480                               <urn:Attri buteValue> TREATMENT< /urn:Attri buteValue>
  1481                          </ur n:Attribut e>
  1482                      </urn:Su bject>
  1483                                   <!--1  or more re petitions: -->
  1484                      <urn:Res ource>
  1485                          <urn :Attribute  Attribute Id="urn:go v:hhs:fha: nhinc:home -community -id">
  1486                               <urn:Attri buteValue> urn:oid:2. 16.840.1.1 13883.3.48 8.1</urn:A ttributeVa lue>
  1487                          </ur n:Attribut e>
  1488                          <urn :Attribute  Attribute Id="urn:oa sis:names: tc:xacml:1 .0:resourc e:resource -id" DataT ype="?" Is suer="?">
  1489                                                     <!--1 or m ore repeti tions:-->
  1490                               <urn:Attri buteValue> 123457</ur n:Attribut eValue>
  1491                          </ur n:Attribut e>
  1492                      </urn:Re source>
  1493                      <urn:Act ion>
  1494                                            <!--Zero  or more r epetitions :-->
  1495                          <urn :Attribute  Attribute Id="urn:oa sis:names: tc:xacml:1 .0:action: action-id"  DataType= "?" Issuer ="?">
  1496                                                     <!--1 or m ore repeti tions:-->
  1497                               <urn:Attri buteValue> DocumentQu eryOut</ur n:Attribut eValue>
  1498                          </ur n:Attribut e>
  1499                      </urn:Ac tion>
  1500                 </ urn:Reques t>
  1501             </soap env:Body>
  1502         </soapenv: Envelope>
  1503        
  1504         ]]>
  1505        </con:requ est>
  1506        <con:jmsCo nfig 
  1507         JMSDeliver yMode="PER SISTENT"
  1508        />
  1509        <con:jmsPr opertyConf ig/>
  1510        <con:wsaCo nfig 
  1511         mustUnders tand="NONE
  1512         version="2 00508" 
  1513         action="ht tp://impl. contexthan dler.servi ce.server. vap.nwhin. vler. URL         /XACMLCont extHandler PortType/c heckPolicy Request"
  1514        />
  1515        <con:wsrmC onfig 
  1516         version="1 .2"
  1517        />
  1518       </con:call >
  1519       <con:call 
  1520        name="DocQ ueryOut-Al lowedCommu nityResour ce-Unsuppo rtedPOU-Pe rmit"
  1521       >
  1522        <con:setti ngs>
  1523         <con:setti ng 
  1524          id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers "
  1525         >
  1526          &lt;xml-fr agment/>
  1527         </con:sett ing>
  1528        </con:sett ings>
  1529        <con:encod ing>
  1530         UTF-8
  1531        </con:enco ding>
  1532        <con:endpo int>
  1533         http://
s er v er : port /XACMLCont extHandler Service
  1534        </con:endp oint>
  1535        <con:reque st>
  1536         <![CDATA[< !-- 
  1537         This reque st is targ eted to an  allowed c ommunity
  1538         This will  evaluate t o PERMIT H mmm
  1539         The Patien t is opted -in,for PO U, PUBLICH EALTH, but  this is n ot a facto r
  1540         -->
  1541        
  1542        
  1543         <soapenv:E nvelope xm lns:soapen v="http:// schemas.xm lsoap.org/ soap/envel ope/" xmln s:urn="urn :oasis:nam es:tc:xacm l:2.0:cont ext:schema :os">
  1544             <soape nv:Header/ >
  1545             <soape nv:Body>
  1546                 <u rn:Request >
  1547                                   <!--1  or more re petitions: -->
  1548                      <urn:Sub ject Subje ctCategory ="urn:oasi s:names:tc :xacml:1.0 :subject-c ategory:ac cess-subje ct">
  1549                                            <!--Zero  or more r epetitions :-->
  1550                          <urn :Attribute  Attribute Id="urn:oa sis:names: tc:xacml:1 .0:subject :subject-i d" DataTyp e="?" Issu er="?">
  1551                                                     <!--1 or m ore repeti tions:-->
  1552                               <urn:Attri buteValue> david*DoD< /urn:Attri buteValue>
  1553                          </ur n:Attribut e>
  1554                          <urn :Attribute  Attribute Id="http:/ /www.hhs.g ov/healthi t/nhin#Hom eCommunity Id" DataTy pe="?" Iss uer="?">
  1555                                                     <!--1 or m ore repeti tions:-->
  1556                               <urn:Attri buteValue> urn:oid:2. 16.840.1.1 13883.4.34 9</urn:Att ributeValu e>
  1557                          </ur n:Attribut e>
  1558                          <urn :Attribute  Attribute Id="urn:oa sis:names: tc:xspa:1. 0:subject: purposeofu se" DataTy pe="?" Iss uer="?">
  1559                                                     <!--1 or m ore repeti tions:-->
  1560                               <urn:Attri buteValue> PUBLICHEAL TH</urn:At tributeVal ue>
  1561                          </ur n:Attribut e>
  1562                      </urn:Su bject>
  1563                                   <!--1  or more re petitions: -->
  1564                      <urn:Res ource>
  1565                          <urn :Attribute  Attribute Id="urn:go v:hhs:fha: nhinc:home -community -id">
  1566                               <urn:Attri buteValue> urn:oid:2. 16.840.1.1 13883.3.48 8.1</urn:A ttributeVa lue>
  1567                          </ur n:Attribut e>
  1568                          <urn :Attribute  Attribute Id="urn:oa sis:names: tc:xacml:1 .0:resourc e:resource -id" DataT ype="?" Is suer="?">
  1569                                                     <!--1 or m ore repeti tions:-->
  1570                               <urn:Attri buteValue> 123457</ur n:Attribut eValue>
  1571                          </ur n:Attribut e>
  1572                      </urn:Re source>
  1573                      <urn:Act ion>
  1574                                            <!--Zero  or more r epetitions :-->
  1575                          <urn :Attribute  Attribute Id="urn:oa sis:names: tc:xacml:1 .0:action: action-id"  DataType= "?" Issuer ="?">
  1576                                                     <!--1 or m ore repeti tions:-->
  1577                               <urn:Attri buteValue> DocumentQu eryOut</ur n:Attribut eValue>
  1578                          </ur n:Attribut e>
  1579                      </urn:Ac tion>
  1580                 </ urn:Reques t>
  1581             </soap env:Body>
  1582         </soapenv: Envelope>
  1583        
  1584         ]]>
  1585        </con:requ est>
  1586        <con:jmsCo nfig 
  1587         JMSDeliver yMode="PER SISTENT"
  1588        />
  1589        <con:jmsPr opertyConf ig/>
  1590        <con:wsaCo nfig 
  1591         mustUnders tand="NONE
  1592         version="2 00508" 
  1593         action="ht tp://impl. contexthan dler.servi ce.server. vap.nwhin. vler. URL         /XACMLCont extHandler PortType/c heckPolicy Request"
  1594        />
  1595        <con:wsrmC onfig 
  1596         version="1 .2"
  1597        />
  1598       </con:call >
  1599       <con:call 
  1600        name="DocQ ueryOut-Ex cludedComm unityResou rce-OptIn- Deny"
  1601       >
  1602        <con:setti ngs>
  1603         <con:setti ng 
  1604          id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers "
  1605         >
  1606          &lt;xml-fr agment/>
  1607         </con:sett ing>
  1608        </con:sett ings>
  1609        <con:encod ing>
  1610         UTF-8
  1611        </con:enco ding>
  1612        <con:endpo int>
  1613         http:// ser v er: p
o rt /XACMLCont extHandler Service
  1614        </con:endp oint>
  1615        <con:reque st>
  1616         <![CDATA[< S:Envelope  xmlns:S=" http://sch emas.xmlso ap.org/soa p/envelope /">
  1617            <S:Body >
  1618               <Req uest xmlns ="urn:oasi s:names:tc :xacml:2.0 :context:s chema:os"  xmlns:ns2= "urn:oasis :names:tc: xacml:2.0: policy:sch ema:os">
  1619                  < Subject Su bjectCateg ory="urn:o asis:names :tc:xacml: 1.0:subjec t-category :access-su bject">
  1620                      <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">
  1621                         <Attr ibuteValue >urn:oid:2 .16.840.1. 113883.4.3 49</Attrib uteValue>
  1622                      </Attrib ute>
  1623                      <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">
  1624                         <Attr ibuteValue >2011-11-0 2T21:41:03 .290Z</Att ributeValu e>
  1625                      </Attrib ute>
  1626                      <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">
  1627                         <Attr ibuteValue >123456</A ttributeVa lue>
  1628                      </Attrib ute>
  1629                      <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">
  1630                         <Attr ibuteValue >urn:oasis :names:tc: SAML:2.0:a c:classes: X509</Attr ibuteValue >
  1631                      </Attrib ute>
  1632                      <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" >
  1633                         <Attr ibuteValue />
  1634                      </Attrib ute>
  1635                      <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">
  1636                         <Attr ibuteValue />
  1637                      </Attrib ute>
  1638                      <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">
  1639                         <Attr ibuteValue >590:30289 43</Attrib uteValue>
  1640                      </Attrib ute>
  1641                      <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">
  1642                         <Attr ibuteValue >Departmen t of Veter ans Affair s</Attribu teValue>
  1643                      </Attrib ute>
  1644                      <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">
  1645                         <Attr ibuteValue >urn:oid:2 .16.840.1. 113883.4.3 49</Attrib uteValue>
  1646                      </Attrib ute>
  1647                      <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">
  1648                         <Attr ibuteValue >urn:oid:2 .16.840.1. 113883.4.3 49</Attrib uteValue>
  1649                      </Attrib ute>
  1650                      <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">
  1651                         <Attr ibuteValue >112247003 </Attribut eValue>
  1652                      </Attrib ute>
  1653                      <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 ">
  1654                         <Attr ibuteValue >2.16.840. 1.113883.6 .96</Attri buteValue>
  1655                      </Attrib ute>
  1656                      <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">
  1657                         <Attr ibuteValue >SNOMED_CT </Attribut eValue>
  1658                      </Attrib ute>
  1659                      <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 ">
  1660                         <Attr ibuteValue >Medical d octor</Att ributeValu e>
  1661                      </Attrib ute>
  1662                      <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">
  1663                         <Attr ibuteValue >TREATMENT </Attribut eValue>
  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:p urpose-of- use-code-s ystem">
  1666                         <Attr ibuteValue >2.16.840. 1.113883.3 .18.7.1</A ttributeVa lue>
  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:p urpose-of- use-code-s ystem-name ">
  1669                         <Attr ibuteValue >nhin-purp ose</Attri buteValue>
  1670                      </Attrib ute>
  1671                      <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">
  1672                         <Attr ibuteValue >Treatment </Attribut eValue>
  1673                      </Attrib ute>
  1674                  < /Subject>
  1675                  < Resource>
  1676                      <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">
  1677                         <Attr ibuteValue >urn:oid:1 .3.6.1.4.1 .12009.6.1 </Attribut eValue>
  1678                      </Attrib ute>
  1679                      <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">
  1680                         <Attr ibuteValue >1.3.6.1.4 .1.12009.7 </Attribut eValue>
  1681                      </Attrib ute>
  1682                      <Attribu te DataTyp e="http:// www.w3.org /2001/XMLS chema#stri ng" Attrib uteId="urn :gov:hhs:f ha:nhinc:d ocument-id ">
  1683                         <Attr ibuteValue >1.3.6.1.4 .1.12009.7 .132026989 1526</Attr ibuteValue >
  1684                      </Attrib ute>
  1685                      <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">
  1686                         <Attr ibuteValue >Permit</A ttributeVa lue>
  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:s aml-authz- decision-s tatement-r esource">
  1689                         <Attr ibuteValue >https://l ocalhost/C ONNECTGate way/Entity Service/En tityDocRet rieveSecur ed</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:s aml-authz- decision-s tatement-a ction">
  1692                         <Attr ibuteValue >Execute</ AttributeV alue>
  1693                      </Attrib ute>
  1694                      <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 ">
  1695                         <Attr ibuteValue >8dae5315- 89d8-4ec4- b07e-7017f 95b0e53</A ttributeVa lue>
  1696                      </Attrib ute>
  1697                      <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">
  1698                         <Attr ibuteValue >2011-11-0 2T21:41:03 .290Z</Att ributeValu e>
  1699                      </Attrib ute>
  1700                      <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">
  1701                         <Attr ibuteValue >2.0</Attr ibuteValue >
  1702                      </Attrib ute>
  1703                      <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">
  1704                         <Attr ibuteValue >Jaren Doh erty</Attr ibuteValue >
  1705                      </Attrib ute>
  1706                      <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">
  1707                         <Attr ibuteValue >2011-11-0 2T21:41:03 .290Z</Att ributeValu e>
  1708                      </Attrib ute>
  1709                      <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">
  1710                         <Attr ibuteValue >2011-11-0 2T21:41:03 .290Z</Att ributeValu e>
  1711                      </Attrib ute>
  1712                      <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">
  1713                         <Attr ibuteValue />
  1714                      </Attrib ute>
  1715                      <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">
  1716                         <Attr ibuteValue />
  1717                      </Attrib ute>
  1718                  < /Resource>
  1719                  < Action>
  1720                      <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">
  1721                         <Attr ibuteValue >DocumentR etrieveOut </Attribut eValue>
  1722                      </Attrib ute>
  1723                  < /Action>
  1724               </Re quest>
  1725            </S:Bod y>
  1726         </S:Envelo pe>]]>
  1727        </con:requ est>
  1728        <con:jmsCo nfig 
  1729         JMSDeliver yMode="PER SISTENT"
  1730        />
  1731        <con:jmsPr opertyConf ig/>
  1732        <con:wsaCo nfig 
  1733         mustUnders tand="NONE
  1734         version="2 00508" 
  1735         action="ht tp://impl. contexthan dler.servi ce.server. vap.nwhin. vler. URL         /XACMLCont extHandler PortType/c heckPolicy Request"
  1736        />
  1737        <con:wsrmC onfig 
  1738         version="1 .2"
  1739        />
  1740       </con:call >
  1741       <con:call 
  1742        name="DocQ ueryOut-VA Resource-O ptIn-Permi t"
  1743       >
  1744        <con:setti ngs>
  1745         <con:setti ng 
  1746          id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers "
  1747         >
  1748          &lt;xml-fr agment/>
  1749         </con:sett ing>
  1750        </con:sett ings>
  1751        <con:encod ing>
  1752         UTF-8
  1753        </con:enco ding>
  1754        <con:endpo int>
  1755         http://
s er v er : port /XACMLCont extHandler Service
  1756        </con:endp oint>
  1757        <con:reque st>
  1758         <![CDATA[< !-- 
  1759         This reque st is targ eted local ly to the  community  (VA).
  1760         So long as  the reque sted resou rce is val id, this r equest wil l evaluate  to PERMIT
  1761         regardless  of Opt-In  Preferenc es, Patien t- allowed  preferenc es
  1762         -->
  1763        
  1764         <soapenv:E nvelope xm lns:soapen v="http:// schemas.xm lsoap.org/ soap/envel ope/" xmln s:urn="urn :oasis:nam es:tc:xacm l:2.0:cont ext:schema :os">
  1765             <soape nv:Header/ >
  1766             <soape nv:Body>
  1767                 <u rn:Request >
  1768                                   <!--1  or more re petitions: -->
  1769                      <urn:Sub ject Subje ctCategory ="urn:oasi s:names:tc :xacml:1.0 :subject-c ategory:ac cess-subje ct">
  1770                                            <!--Zero  or more r epetitions :-->
  1771                          <urn :Attribute  Attribute Id="urn:oa sis:names: tc:xacml:1 .0:subject :subject-i d" DataTyp e="?" Issu er="?">
  1772                                                     <!--1 or m ore repeti tions:-->
  1773                               <urn:Attri buteValue> david*DoD< /urn:Attri buteValue>
  1774                          </ur n:Attribut e>
  1775                          <urn :Attribute  Attribute Id="http:/ /www.hhs.g ov/healthi t/nhin#Hom eCommunity Id" DataTy pe="?" Iss uer="?">
  1776                                                     <!--1 or m ore repeti tions:-->
  1777                               <urn:Attri buteValue> urn:oid:2. 16.840.1.1 13883.4.34 9</urn:Att ributeValu e>
  1778                          </ur n:Attribut e>
  1779                          <urn :Attribute  Attribute Id="urn:oa sis:names: tc:xspa:1. 0:subject: purposeofu se" DataTy pe="?" Iss uer="?">
  1780                                                     <!--1 or m ore repeti tions:-->
  1781                               <urn:Attri buteValue> TREATMENT< /urn:Attri buteValue>
  1782                          </ur n:Attribut e>
  1783                      </urn:Su bject>
  1784                                   <!--1  or more re petitions: -->
  1785                      <urn:Res ource>
  1786                          <urn :Attribute  Attribute Id="urn:go v:hhs:fha: nhinc:home -community -id">
  1787                               <urn:Attri buteValue> urn:oid:2. 16.840.1.1 13883.4.34 9</urn:Att ributeValu e>
  1788                          </ur n:Attribut e>
  1789                          <urn :Attribute  Attribute Id="urn:oa sis:names: tc:xacml:1 .0:resourc e:resource -id" DataT ype="?" Is suer="?">
  1790                                                     <!--1 or m ore repeti tions:-->
  1791                               <urn:Attri buteValue> 123457</ur n:Attribut eValue>
  1792                          </ur n:Attribut e>
  1793                      </urn:Re source>
  1794                      <urn:Act ion>
  1795                                            <!--Zero  or more r epetitions :-->
  1796                          <urn :Attribute  Attribute Id="urn:oa sis:names: tc:xacml:1 .0:action: action-id"  DataType= "?" Issuer ="?">
  1797                                                     <!--1 or m ore repeti tions:-->
  1798                               <urn:Attri buteValue> DocumentQu eryOut</ur n:Attribut eValue>
  1799                          </ur n:Attribut e>
  1800                      </urn:Ac tion>
  1801                 </ urn:Reques t>
  1802             </soap env:Body>
  1803         </soapenv: Envelope>
  1804        
  1805         ]]>
  1806        </con:requ est>
  1807        <con:jmsCo nfig 
  1808         JMSDeliver yMode="PER SISTENT"
  1809        />
  1810        <con:jmsPr opertyConf ig/>
  1811        <con:wsaCo nfig 
  1812         mustUnders tand="NONE
  1813         version="2 00508" 
  1814         action="ht tp://impl. contexthan dler.servi ce.server. vap.nwhin. vler. URL         /XACMLCont extHandler PortType/c heckPolicy Request"
  1815        />
  1816        <con:wsrmC onfig 
  1817         version="1 .2"
  1818        />
  1819       </con:call >
  1820       <con:call 
  1821        name="DocR etrieveIn- AllowedCom munityRequ estor-OptI n-Permit"
  1822       >
  1823        <con:setti ngs>
  1824         <con:setti ng 
  1825          id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers "
  1826         >
  1827          &lt;xml-fr agment/>
  1828         </con:sett ing>
  1829        </con:sett ings>
  1830        <con:encod ing>
  1831         UTF-8
  1832        </con:enco ding>
  1833        <con:endpo int>
  1834         http://
s er v er : port /XACMLCont extHandler Service
  1835        </con:endp oint>
  1836        <con:reque st>
  1837         <![CDATA[< !-- 
  1838         This reque st is init iated by a  patient-a llowed com munity.
  1839         Patient is  opted-in  for POU, T REATMENT
  1840         This will  PERMIT
  1841         -->
  1842         <S:Envelop e xmlns:S= "http://sc hemas.xmls oap.org/so ap/envelop e/">
  1843             <S:Bod y>
  1844                 <n s2:Request  xmlns:ns2 ="urn:oasi s:names:tc :xacml:2.0 :context:s chema:os"  xmlns="urn :oasis:nam es:tc:xacm l:2.0:poli cy:schema: os">
  1845                      <ns2:Sub ject Subje ctCategory ="urn:oasi s:names:tc :xacml:1.0 :subject-c ategory:ac cess-subje ct">
  1846                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:g ov:hhs:fha :nhinc:hom e-communit y-id">
  1847                               <ns2:Attri buteValue> urn:oid:2. 16.840.1.1 13883.3.48 8.1</ns2:A ttributeVa lue>
  1848                          </ns 2:Attribut e>
  1849                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:g ov:hhs:fha :nhinc:sam l-authn-st atement:au th-instant ">
  1850                               <ns2:Attri buteValue> 2011-05-05 T13:48:48. 919Z</ns2: AttributeV alue>
  1851                          </ns 2:Attribut e>
  1852                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:g ov:hhs:fha :nhinc:sam l-authn-st atement:se ssion-inde x">
  1853                               <ns2:Attri buteValue> 123456</ns 2:Attribut eValue>
  1854                          </ns 2:Attribut e>
  1855                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:g ov:hhs:fha :nhinc:sam l-authn-st atement:au th-context -class-ref ">
  1856                               <ns2:Attri buteValue> urn:oasis: names:tc:S AML:2.0:ac :classes:X 509</ns2:A ttributeVa lue>
  1857                          </ns 2:Attribut e>
  1858                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:o asis:names :tc:xacml: 1.0:subjec t:authn-lo cality:ip- address">
  1859                               <ns2:Attri buteValue/ >
  1860                          </ns 2:Attribut e>
  1861                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:o asis:names :tc:xacml: 1.0:subjec t:authn-lo cality:dns -name">
  1862                               <ns2:Attri buteValue/ >
  1863                          </ns 2:Attribut e>
  1864                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:o asis:names :tc:xacml: 1.0:subjec t:subject- id">
  1865                               <ns2:Attri buteValue> user1</ns2 :Attribute Value>
  1866                          </ns 2:Attribut e>
  1867                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:g ov:hhs:fha :nhinc:use r-organiza tion-name" >
  1868                               <ns2:Attri buteValue> Allowed Ho me Communi ty</ns2:At tributeVal ue>
  1869                          </ns 2:Attribut e>
  1870                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#anyURI " Attribut eId="urn:o asis:names :tc:xspa:1 .0:subject :organizat ion-id">
  1871                               <ns2:Attri buteValue> urn:oid:2. 16.840.1.1 13883.3.48 8.1</ns2:A ttributeVa lue>
  1872                          </ns 2:Attribut e>
  1873                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#anyURI " Attribut eId="http: //www.hhs. gov/health it/nhin#Ho meCommunit yId">
  1874                               <ns2:Attri buteValue> urn:oid:2. 16.840.1.1 13883.3.48 8.1</ns2:A ttributeVa lue>
  1875                          </ns 2:Attribut e>
  1876                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:o asis:names :tc:xacml: 2.0:subjec t:role">
  1877                               <ns2:Attri buteValue> 80584001</ ns2:Attrib uteValue>
  1878                          </ns 2:Attribut e>
  1879                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:g ov:hhs:fha :nhinc:use r-role-cod e-system">
  1880                               <ns2:Attri buteValue> 2.16.840.1 .113883.6. 96</ns2:At tributeVal ue>
  1881                          </ns 2:Attribut e>
  1882                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:g ov:hhs:fha :nhinc:use r-role-cod e-system-n ame">
  1883                               <ns2:Attri buteValue> SNOMED_CT< /ns2:Attri buteValue>
  1884                          </ns 2:Attribut e>
  1885                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:g ov:hhs:fha :nhinc:use r-role-des cription">
  1886                               <ns2:Attri buteValue> Psychiatri st</ns2:At tributeVal ue>
  1887                          </ns 2:Attribut e>
  1888                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:o asis:names :tc:xspa:1 .0:subject :purposeof use">
  1889                               <ns2:Attri buteValue> TREATMENT< /ns2:Attri buteValue>
  1890                          </ns 2:Attribut e>
  1891                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:g ov:hhs:fha :nhinc:pur pose-of-us e-code-sys tem">
  1892                               <ns2:Attri buteValue> 2.16.840.1 .113883.3. 18.7.1</ns 2:Attribut eValue>
  1893                          </ns 2:Attribut e>
  1894                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:g ov:hhs:fha :nhinc:pur pose-of-us e-code-sys tem-name">
  1895                               <ns2:Attri buteValue> nhin-purpo se</ns2:At tributeVal ue>
  1896                          </ns 2:Attribut e>
  1897                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:g ov:hhs:fha :nhinc:pur pose-of-us e-display- name">
  1898                               <ns2:Attri buteValue> Use or dis closure of  Psychothe rapy Notes </ns2:Attr ibuteValue >
  1899                          </ns 2:Attribut e>
  1900                      </ns2:Su bject>
  1901                      <ns2:Res ource>
  1902                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:g ov:hhs:fha :nhinc:hom e-communit y-id">
  1903                               <ns2:Attri buteValue> urn:oid:2. 16.840.1.1 13883.4.34 9</ns2:Att ributeValu e>
  1904                          </ns 2:Attribut e>
  1905                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:g ov:hhs:fha :nhinc:doc ument-repo sitory-id" >
  1906                               <ns2:Attri buteValue> 1</ns2:Att ributeValu e>
  1907                          </ns 2:Attribut e>
  1908                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:g ov:hhs:fha :nhinc:doc ument-id">
  1909                               <ns2:Attri buteValue> 282ac5d5-6 ecf-4951-a 8de-4ac766 bc2fa1</ns 2:Attribut eValue>
  1910                          </ns 2:Attribut e>
  1911                          <ns2 :Attribute  DataType= "urn:hl7-o rg:v3#II"  AttributeI d="http:// www.hhs.go v/healthit /nhin#subj ect-id">
  1912                               <ns2:Attri buteValue>
  1913                                   <hl7:P atientId x mlns:ns9=" urn:ihe:it i:xds-b:20 07" xmlns: ns8="urn:o asis:names :tc:ebxml- regrep:xsd :rim:3.0"  xmlns:ns7= "http://ww w.hhs.gov/ healthit/n hin/cdc" x mlns:ns6=" http://doc s.oasis-op en.org/wsn /t-1" xmln s:ns5="htt p://docs.o asis-open. org/wsrf/b f-2" xmlns :ns4="http ://docs.oa sis-open.o rg/wsn/b-2 " xmlns:ns 3="http:// www.w3.org /2005/08/a ddressing"  xmlns:ns2 ="urn:oasi s:names:tc :xacml:2.0 :policy:sc hema:os" 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 " extensio n="2441" r oot="2.16. 840.1.1138 83.3.488.1 "/>
  1914                               </ns2:Attr ibuteValue >
  1915                          </ns 2:Attribut e>
  1916                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:g ov:hhs:fha :nhinc:sam l-authz-de cision-sta tement-dec ision">
  1917                               <ns2:Attri buteValue> Permit</ns 2:Attribut eValue>
  1918                          </ns 2:Attribut e>
  1919                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:g ov:hhs:fha :nhinc:sam l-authz-de cision-sta tement-res ource">
  1920                               <ns2:Attri buteValue> https://lo calhost/CO NNECTGatew ay/NhinSer vice/Respo ndingGatew ay_Retriev e_Service/ DocRetriev e</ns2:Att ributeValu e>
  1921                          </ns 2:Attribut e>
  1922                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:g ov:hhs:fha :nhinc:sam l-authz-de cision-sta tement-act ion">
  1923                               <ns2:Attri buteValue> Execute</n s2:Attribu teValue>
  1924                          </ns 2:Attribut e>
  1925                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:g ov:hhs:fha :nhinc:sam l-authz-de cision-sta tement-evi dence-asse rtion-id">
  1926                               <ns2:Attri buteValue> e83e58d8-9 d55-45bb-8 1a5-c2ac7d 48894c</ns 2:Attribut eValue>
  1927                          </ns 2:Attribut e>
  1928                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:g ov:hhs:fha :nhinc:sam l-authz-de cision-sta tement-evi dence-asse rtion-issu e-instant" >
  1929                               <ns2:Attri buteValue> 2011-05-05 T13:48:48. 919Z</ns2: AttributeV alue>
  1930                          </ns 2:Attribut e>
  1931                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:g ov:hhs:fha :nhinc:sam l-authz-de cision-sta tement-evi dence-asse rtion-vers ion">
  1932                               <ns2:Attri buteValue> 2.0</ns2:A ttributeVa lue>
  1933                          </ns 2:Attribut e>
  1934                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:g ov:hhs:fha :nhinc:sam l-authz-de cision-sta tement-evi dence-asse rtion-issu er">
  1935                               <ns2:Attri buteValue> CN=SAML Us er,OU=SU,O =SAML User ,L=Los Ang eles,ST=CA ,C=US</ns2 :Attribute Value>
  1936                          </ns 2:Attribut e>
  1937                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#date"  AttributeI d="urn:gov :hhs:fha:n hinc:saml- authz-deci sion-state ment-evide nce-assert ion-not-be fore">
  1938                               <ns2:Attri buteValue> 2011-05-05 T13:48:48. 919Z</ns2: AttributeV alue>
  1939                          </ns 2:Attribut e>
  1940                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#date"  AttributeI d="urn:gov :hhs:fha:n hinc:saml- authz-deci sion-state ment-evide nce-assert ion-not-on -or-after" >
  1941                               <ns2:Attri buteValue> 2011-05-05 T13:48:48. 919Z</ns2: AttributeV alue>
  1942                          </ns 2:Attribut e>
  1943                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#anyURI " Attribut eId="urn:g ov:hhs:fha :nhinc:sam l-authz-de cision-sta tement-evi dence-asse rtion-acce ss-consent ">
  1944                               <ns2:Attri buteValue/ >
  1945                          </ns 2:Attribut e>
  1946                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#anyURI " Attribut eId="urn:g ov:hhs:fha :nhinc:sam l-authz-de cision-sta tement-evi dence-asse rtion-inst ance-acces s-consent" >
  1947                               <ns2:Attri buteValue/ >
  1948                          </ns 2:Attribut e>
  1949                          <ns2 :Attribute  Attribute Id="urn:oa sis:names: tc:xacml:1 .0:resourc e:resource -id">
  1950                               <ns2:Attri buteValue> '123457^^^ &amp;2.16. 840.1.1138 83.4.349&a mp;ISO'</n s2:Attribu teValue>
  1951                          </ns 2:Attribut e>
  1952                      </ns2:Re source>
  1953                      <ns2:Act ion>
  1954                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:o asis:names :tc:xacml: 1.0:action :action-id ">
  1955                               <ns2:Attri buteValue> DocumentRe trieveIn</ ns2:Attrib uteValue>
  1956                          </ns 2:Attribut e>
  1957                      </ns2:Ac tion>
  1958                 </ ns2:Reques t>
  1959             </S:Bo dy>
  1960         </S:Envelo pe>
  1961        
  1962         ]]>
  1963        </con:requ est>
  1964        <con:jmsCo nfig 
  1965         JMSDeliver yMode="PER SISTENT"
  1966        />
  1967        <con:jmsPr opertyConf ig/>
  1968        <con:wsaCo nfig 
  1969         mustUnders tand="NONE
  1970         version="2 00508" 
  1971         action="ht tp://impl. contexthan dler.servi ce.server. vap.nwhin. vler. URL         /XACMLCont extHandler PortType/c heckPolicy Request"
  1972        />
  1973        <con:wsrmC onfig 
  1974         version="1 .2"
  1975        />
  1976       </con:call >
  1977       <con:call 
  1978        name="DocR etrieveIn- AllowedCom munityRequ estor-OptO ut-Deny"
  1979       >
  1980        <con:setti ngs>
  1981         <con:setti ng 
  1982          id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers "
  1983         >
  1984          &lt;xml-fr agment/>
  1985         </con:sett ing>
  1986        </con:sett ings>
  1987        <con:encod ing>
  1988         UTF-8
  1989        </con:enco ding>
  1990        <con:endpo int>
  1991         http://
s er v er : port /XACMLCont extHandler Service
  1992        </con:endp oint>
  1993        <con:reque st>
  1994         <![CDATA[< !-- 
  1995         This reque st is init iated by a  patient-a llowed com munity.
  1996         Patient is  opted-out .
  1997         This will  DENY
  1998         -->
  1999         <S:Envelop e xmlns:S= "http://sc hemas.xmls oap.org/so ap/envelop e/">
  2000             <S:Bod y>
  2001                 <n s2:Request  xmlns:ns2 ="urn:oasi s:names:tc :xacml:2.0 :context:s chema:os"  xmlns="urn :oasis:nam es:tc:xacm l:2.0:poli cy:schema: os">
  2002                      <ns2:Sub ject Subje ctCategory ="urn:oasi s:names:tc :xacml:1.0 :subject-c ategory:ac cess-subje ct">
  2003                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:g ov:hhs:fha :nhinc:hom e-communit y-id">
  2004                               <ns2:Attri buteValue> urn:oid:2. 16.840.1.1 13883.3.48 8.1</ns2:A ttributeVa lue>
  2005                          </ns 2:Attribut e>
  2006                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:g ov:hhs:fha :nhinc:sam l-authn-st atement:au th-instant ">
  2007                               <ns2:Attri buteValue> 2011-05-05 T13:48:48. 919Z</ns2: AttributeV alue>
  2008                          </ns 2:Attribut e>
  2009                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:g ov:hhs:fha :nhinc:sam l-authn-st atement:se ssion-inde x">
  2010                               <ns2:Attri buteValue> 123456</ns 2:Attribut eValue>
  2011                          </ns 2:Attribut e>
  2012                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:g ov:hhs:fha :nhinc:sam l-authn-st atement:au th-context -class-ref ">
  2013                               <ns2:Attri buteValue> urn:oasis: names:tc:S AML:2.0:ac :classes:X 509</ns2:A ttributeVa lue>
  2014                          </ns 2:Attribut e>
  2015                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:o asis:names :tc:xacml: 1.0:subjec t:authn-lo cality:ip- address">
  2016                               <ns2:Attri buteValue/ >
  2017                          </ns 2:Attribut e>
  2018                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:o asis:names :tc:xacml: 1.0:subjec t:authn-lo cality:dns -name">
  2019                               <ns2:Attri buteValue/ >
  2020                          </ns 2:Attribut e>
  2021                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:o asis:names :tc:xacml: 1.0:subjec t:subject- id">
  2022                               <ns2:Attri buteValue> user1</ns2 :Attribute Value>
  2023                          </ns 2:Attribut e>
  2024                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:g ov:hhs:fha :nhinc:use r-organiza tion-name" >
  2025                               <ns2:Attri buteValue> Allowed Ho me Communi ty</ns2:At tributeVal ue>
  2026                          </ns 2:Attribut e>
  2027                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#anyURI " Attribut eId="urn:o asis:names :tc:xspa:1 .0:subject :organizat ion-id">
  2028                               <ns2:Attri buteValue> urn:oid:2. 16.840.1.1 13883.3.48 8.1</ns2:A ttributeVa lue>
  2029                          </ns 2:Attribut e>
  2030                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#anyURI " Attribut eId="http: //www.hhs. gov/health it/nhin#Ho meCommunit yId">
  2031                               <ns2:Attri buteValue> urn:oid:2. 16.840.1.1 13883.3.48 8.1</ns2:A ttributeVa lue>
  2032                          </ns 2:Attribut e>
  2033                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:o asis:names :tc:xacml: 2.0:subjec t:role">
  2034                               <ns2:Attri buteValue> 80584001</ ns2:Attrib uteValue>
  2035                          </ns 2:Attribut e>
  2036                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:g ov:hhs:fha :nhinc:use r-role-cod e-system">
  2037                               <ns2:Attri buteValue> 2.16.840.1 .113883.6. 96</ns2:At tributeVal ue>
  2038                          </ns 2:Attribut e>
  2039                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:g ov:hhs:fha :nhinc:use r-role-cod e-system-n ame">
  2040                               <ns2:Attri buteValue> SNOMED_CT< /ns2:Attri buteValue>
  2041                          </ns 2:Attribut e>
  2042                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:g ov:hhs:fha :nhinc:use r-role-des cription">
  2043                               <ns2:Attri buteValue> Psychiatri st</ns2:At tributeVal ue>
  2044                          </ns 2:Attribut e>
  2045                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:o asis:names :tc:xspa:1 .0:subject :purposeof use">
  2046                               <ns2:Attri buteValue> TREATMENT< /ns2:Attri buteValue>
  2047                          </ns 2:Attribut e>
  2048                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:g ov:hhs:fha :nhinc:pur pose-of-us e-code-sys tem">
  2049                               <ns2:Attri buteValue> 2.16.840.1 .113883.3. 18.7.1</ns 2:Attribut eValue>
  2050                          </ns 2:Attribut e>
  2051                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:g ov:hhs:fha :nhinc:pur pose-of-us e-code-sys tem-name">
  2052                               <ns2:Attri buteValue> nhin-purpo se</ns2:At tributeVal ue>
  2053                          </ns 2:Attribut e>
  2054                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:g ov:hhs:fha :nhinc:pur pose-of-us e-display- name">
  2055                               <ns2:Attri buteValue> Use or dis closure of  Psychothe rapy Notes </ns2:Attr ibuteValue >
  2056                          </ns 2:Attribut e>
  2057                      </ns2:Su bject>
  2058                      <ns2:Res ource>
  2059                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:g ov:hhs:fha :nhinc:hom e-communit y-id">
  2060                               <ns2:Attri buteValue> urn:oid:2. 16.840.1.1 13883.4.34 9</ns2:Att ributeValu e>
  2061                          </ns 2:Attribut e>
  2062                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:g ov:hhs:fha :nhinc:doc ument-repo sitory-id" >
  2063                               <ns2:Attri buteValue> 1</ns2:Att ributeValu e>
  2064                          </ns 2:Attribut e>
  2065                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:g ov:hhs:fha :nhinc:doc ument-id">
  2066                               <ns2:Attri buteValue> 282ac5d5-6 ecf-4951-a 8de-4ac766 bc2fa1</ns 2:Attribut eValue>
  2067                          </ns 2:Attribut e>
  2068                          <ns2 :Attribute  DataType= "urn:hl7-o rg:v3#II"  AttributeI d="http:// www.hhs.go v/healthit /nhin#subj ect-id">
  2069                               <ns2:Attri buteValue>
  2070                                   <hl7:P atientId x mlns:ns9=" urn:ihe:it i:xds-b:20 07" xmlns: ns8="urn:o asis:names :tc:ebxml- regrep:xsd :rim:3.0"  xmlns:ns7= "http://ww w.hhs.gov/ healthit/n hin/cdc" x mlns:ns6=" http://doc s.oasis-op en.org/wsn /t-1" xmln s:ns5="htt p://docs.o asis-open. org/wsrf/b f-2" xmlns :ns4="http ://docs.oa sis-open.o rg/wsn/b-2 " xmlns:ns 3="http:// www.w3.org /2005/08/a ddressing"  xmlns:ns2 ="urn:oasi s:names:tc :xacml:2.0 :policy:sc hema:os" 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 " extensio n="2441" r oot="2.16. 840.1.1138 83.3.488.1 "/>
  2071                               </ns2:Attr ibuteValue >
  2072                          </ns 2:Attribut e>
  2073                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:g ov:hhs:fha :nhinc:sam l-authz-de cision-sta tement-dec ision">
  2074                               <ns2:Attri buteValue> Permit</ns 2:Attribut eValue>
  2075                          </ns 2:Attribut e>
  2076                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:g ov:hhs:fha :nhinc:sam l-authz-de cision-sta tement-res ource">
  2077                               <ns2:Attri buteValue> https://lo calhost/CO NNECTGatew ay/NhinSer vice/Respo ndingGatew ay_Retriev e_Service/ DocRetriev e</ns2:Att ributeValu e>
  2078                          </ns 2:Attribut e>
  2079                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:g ov:hhs:fha :nhinc:sam l-authz-de cision-sta tement-act ion">
  2080                               <ns2:Attri buteValue> Execute</n s2:Attribu teValue>
  2081                          </ns 2:Attribut e>
  2082                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:g ov:hhs:fha :nhinc:sam l-authz-de cision-sta tement-evi dence-asse rtion-id">
  2083                               <ns2:Attri buteValue> e83e58d8-9 d55-45bb-8 1a5-c2ac7d 48894c</ns 2:Attribut eValue>
  2084                          </ns 2:Attribut e>
  2085                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:g ov:hhs:fha :nhinc:sam l-authz-de cision-sta tement-evi dence-asse rtion-issu e-instant" >
  2086                               <ns2:Attri buteValue> 2011-05-05 T13:48:48. 919Z</ns2: AttributeV alue>
  2087                          </ns 2:Attribut e>
  2088                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:g ov:hhs:fha :nhinc:sam l-authz-de cision-sta tement-evi dence-asse rtion-vers ion">
  2089                               <ns2:Attri buteValue> 2.0</ns2:A ttributeVa lue>
  2090                          </ns 2:Attribut e>
  2091                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:g ov:hhs:fha :nhinc:sam l-authz-de cision-sta tement-evi dence-asse rtion-issu er">
  2092                               <ns2:Attri buteValue> CN=SAML Us er,OU=SU,O =SAML User ,L=Los Ang eles,ST=CA ,C=US</ns2 :Attribute Value>
  2093                          </ns 2:Attribut e>
  2094                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#date"  AttributeI d="urn:gov :hhs:fha:n hinc:saml- authz-deci sion-state ment-evide nce-assert ion-not-be fore">
  2095                               <ns2:Attri buteValue> 2011-05-05 T13:48:48. 919Z</ns2: AttributeV alue>
  2096                          </ns 2:Attribut e>
  2097                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#date"  AttributeI d="urn:gov :hhs:fha:n hinc:saml- authz-deci sion-state ment-evide nce-assert ion-not-on -or-after" >
  2098                               <ns2:Attri buteValue> 2011-05-05 T13:48:48. 919Z</ns2: AttributeV alue>
  2099                          </ns 2:Attribut e>
  2100                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#anyURI " Attribut eId="urn:g ov:hhs:fha :nhinc:sam l-authz-de cision-sta tement-evi dence-asse rtion-acce ss-consent ">
  2101                               <ns2:Attri buteValue/ >
  2102                          </ns 2:Attribut e>
  2103                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#anyURI " Attribut eId="urn:g ov:hhs:fha :nhinc:sam l-authz-de cision-sta tement-evi dence-asse rtion-inst ance-acces s-consent" >
  2104                               <ns2:Attri buteValue/ >
  2105                          </ns 2:Attribut e>
  2106                          <ns2 :Attribute  Attribute Id="urn:oa sis:names: tc:xacml:1 .0:resourc e:resource -id">
  2107                               <ns2:Attri buteValue> '123459^^^ &amp;2.16. 840.1.1138 83.4.349&a mp;ISO'</n s2:Attribu teValue>
  2108                          </ns 2:Attribut e>
  2109                      </ns2:Re source>
  2110                      <ns2:Act ion>
  2111                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:o asis:names :tc:xacml: 1.0:action :action-id ">
  2112                               <ns2:Attri buteValue> DocumentRe trieveIn</ ns2:Attrib uteValue>
  2113                          </ns 2:Attribut e>
  2114                      </ns2:Ac tion>
  2115                 </ ns2:Reques t>
  2116             </S:Bo dy>
  2117         </S:Envelo pe>
  2118        
  2119         ]]>
  2120        </con:requ est>
  2121        <con:jmsCo nfig 
  2122         JMSDeliver yMode="PER SISTENT"
  2123        />
  2124        <con:jmsPr opertyConf ig/>
  2125        <con:wsaCo nfig 
  2126         mustUnders tand="NONE
  2127         version="2 00508" 
  2128         action="ht tp://impl. contexthan dler.servi ce.server. vap.nwhin. vler. URL         /XACMLCont extHandler PortType/c heckPolicy Request"
  2129        />
  2130        <con:wsrmC onfig 
  2131         version="1 .2"
  2132        />
  2133       </con:call >
  2134       <con:call 
  2135        name="DocR etrieveOut -AllowedCo mmunityRes ource-OptI n-Permit"
  2136       >
  2137        <con:setti ngs>
  2138         <con:setti ng 
  2139          id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers "
  2140         >
  2141          &lt;xml-fr agment/>
  2142         </con:sett ing>
  2143        </con:sett ings>
  2144        <con:encod ing>
  2145         UTF-8
  2146        </con:enco ding>
  2147        <con:endpo int>
  2148         http://
s er v er : port /XACMLCont extHandler Service
  2149        </con:endp oint>
  2150        <con:reque st>
  2151         <![CDATA[< !-- 
  2152         This reque st is targ eted to an  allowed c ommunity
  2153         This will  evaluate t o PERMIT
  2154         The Patien t is opted -in
  2155         -->
  2156        
  2157         <soapenv:E nvelope xm lns:soapen v="http:// schemas.xm lsoap.org/ soap/envel ope/" xmln s:urn="urn :oasis:nam es:tc:xacm l:2.0:cont ext:schema :os">
  2158             <soape nv:Header/ >
  2159             <soape nv:Body>
  2160                 <u rn:Request >
  2161                                   <!--1  or more re petitions: -->
  2162                      <urn:Sub ject Subje ctCategory ="urn:oasi s:names:tc :xacml:1.0 :subject-c ategory:ac cess-subje ct">
  2163                                            <!--Zero  or more r epetitions :-->
  2164                          <urn :Attribute  Attribute Id="urn:oa sis:names: tc:xacml:1 .0:subject :subject-i d" DataTyp e="?" Issu er="?">
  2165                                                     <!--1 or m ore repeti tions:-->
  2166                               <urn:Attri buteValue> JD-at-VA</ urn:Attrib uteValue>
  2167                          </ur n:Attribut e>
  2168                          <urn :Attribute  Attribute Id="http:/ /www.hhs.g ov/healthi t/nhin#Hom eCommunity Id" DataTy pe="?" Iss uer="?">
  2169                                                     <!--1 or m ore repeti tions:-->
  2170                               <urn:Attri buteValue> urn:oid:2. 16.840.1.1 13883.4.34 9 </urn:At tributeVal ue>
  2171                          </ur n:Attribut e>
  2172                          <urn :Attribute  Attribute Id="urn:oa sis:names: tc:xspa:1. 0:subject: purposeofu se" DataTy pe="?" Iss uer="?">
  2173                                                     <!--1 or m ore repeti tions:-->
  2174                               <urn:Attri buteValue> TREATMENT< /urn:Attri buteValue>
  2175                          </ur n:Attribut e>
  2176                      </urn:Su bject>
  2177                                   <!--1  or more re petitions: -->
  2178                      <urn:Res ource>
  2179                          <urn :Attribute  Attribute Id="urn:go v:hhs:fha: nhinc:home -community -id">
  2180                               <urn:Attri buteValue> urn:oid:2. 16.840.1.1 13883.3.48 8.1</urn:A ttributeVa lue>
  2181                          </ur n:Attribut e>
  2182                          <urn :Attribute  Attribute Id="urn:oa sis:names: tc:xacml:1 .0:resourc e:resource -id" DataT ype="?" Is suer="?">
  2183                                                     <!--1 or m ore repeti tions:-->
  2184                               <urn:Attri buteValue> 123457</ur n:Attribut eValue>
  2185                          </ur n:Attribut e>
  2186                      </urn:Re source>
  2187                      <urn:Act ion>
  2188                                            <!--Zero  or more r epetitions :-->
  2189                          <urn :Attribute  Attribute Id="urn:oa sis:names: tc:xacml:1 .0:action: action-id"  DataType= "?" Issuer ="?">
  2190                                                     <!--1 or m ore repeti tions:-->
  2191                               <urn:Attri buteValue> DocumentRe trieveOut< /urn:Attri buteValue>
  2192                          </ur n:Attribut e>
  2193                      </urn:Ac tion>
  2194                 </ urn:Reques t>
  2195             </soap env:Body>
  2196         </soapenv: Envelope>
  2197         ]]>
  2198        </con:requ est>
  2199        <con:jmsCo nfig 
  2200         JMSDeliver yMode="PER SISTENT"
  2201        />
  2202        <con:jmsPr opertyConf ig/>
  2203        <con:wsaCo nfig 
  2204         mustUnders tand="NONE
  2205         version="2 00508" 
  2206         action="ht tp://impl. contexthan dler.servi ce.server. vap.nwhin. vler. URL         /XACMLCont extHandler PortType/c heckPolicy Request"
  2207        />
  2208        <con:wsrmC onfig 
  2209         version="1 .2"
  2210        />
  2211       </con:call >
  2212       <con:call 
  2213        name="DocR etrieveOut -AllowedCo mmunityRes ource-OptO ut-Deny"
  2214       >
  2215        <con:setti ngs>
  2216         <con:setti ng 
  2217          id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers "
  2218         >
  2219          &lt;xml-fr agment/>
  2220         </con:sett ing>
  2221        </con:sett ings>
  2222        <con:encod ing>
  2223         UTF-8
  2224        </con:enco ding>
  2225        <con:endpo int>
  2226         http://
s er v er : port /XACMLCont extHandler Service
  2227        </con:endp oint>
  2228        <con:reque st>
  2229         <![CDATA[< !-- 
  2230         This reque st is targ eted to an  allowed c ommunity
  2231         This will  evaluate t o PERMIT
  2232         The Patien t is opted -out
  2233         -->
  2234        
  2235         <soapenv:E nvelope xm lns:soapen v="http:// schemas.xm lsoap.org/ soap/envel ope/" xmln s:urn="urn :oasis:nam es:tc:xacm l:2.0:cont ext:schema :os">
  2236             <soape nv:Header/ >
  2237             <soape nv:Body>
  2238                 <u rn:Request >
  2239                                   <!--1  or more re petitions: -->
  2240                      <urn:Sub ject Subje ctCategory ="urn:oasi s:names:tc :xacml:1.0 :subject-c ategory:ac cess-subje ct">
  2241                                            <!--Zero  or more r epetitions :-->
  2242                          <urn :Attribute  Attribute Id="urn:oa sis:names: tc:xacml:1 .0:subject :subject-i d" DataTyp e="?" Issu er="?">
  2243                                                     <!--1 or m ore repeti tions:-->
  2244                               <urn:Attri buteValue> JD-at-VA</ urn:Attrib uteValue>
  2245                          </ur n:Attribut e>
  2246                          <urn :Attribute  Attribute Id="http:/ /www.hhs.g ov/healthi t/nhin#Hom eCommunity Id" DataTy pe="?" Iss uer="?">
  2247                                                     <!--1 or m ore repeti tions:-->
  2248                               <urn:Attri buteValue> urn:oid:2. 16.840.1.1 13883.4.34 9 </urn:At tributeVal ue>
  2249                          </ur n:Attribut e>
  2250                          <urn :Attribute  Attribute Id="urn:oa sis:names: tc:xspa:1. 0:subject: purposeofu se" DataTy pe="?" Iss uer="?">
  2251                                                     <!--1 or m ore repeti tions:-->
  2252                               <urn:Attri buteValue> TREATMENT< /urn:Attri buteValue>
  2253                          </ur n:Attribut e>
  2254                      </urn:Su bject>
  2255                                   <!--1  or more re petitions: -->
  2256                      <urn:Res ource>
  2257                          <urn :Attribute  Attribute Id="urn:go v:hhs:fha: nhinc:home -community -id">
  2258                               <urn:Attri buteValue> urn:oid:2. 16.840.1.1 13883.3.48 8.1</urn:A ttributeVa lue>
  2259                          </ur n:Attribut e>
  2260                          <urn :Attribute  Attribute Id="urn:oa sis:names: tc:xacml:1 .0:resourc e:resource -id" DataT ype="?" Is suer="?">
  2261                                                     <!--1 or m ore repeti tions:-->
  2262                               <urn:Attri buteValue> 123459</ur n:Attribut eValue>
  2263                          </ur n:Attribut e>
  2264                      </urn:Re source>
  2265                      <urn:Act ion>
  2266                                            <!--Zero  or more r epetitions :-->
  2267                          <urn :Attribute  Attribute Id="urn:oa sis:names: tc:xacml:1 .0:action: action-id"  DataType= "?" Issuer ="?">
  2268                                                     <!--1 or m ore repeti tions:-->
  2269                               <urn:Attri buteValue> DocumentRe trieveOut< /urn:Attri buteValue>
  2270                          </ur n:Attribut e>
  2271                      </urn:Ac tion>
  2272                 </ urn:Reques t>
  2273             </soap env:Body>
  2274         </soapenv: Envelope>
  2275         ]]>
  2276        </con:requ est>
  2277        <con:jmsCo nfig 
  2278         JMSDeliver yMode="PER SISTENT"
  2279        />
  2280        <con:jmsPr opertyConf ig/>
  2281        <con:wsaCo nfig 
  2282         mustUnders tand="NONE
  2283         version="2 00508" 
  2284         action="ht tp://impl. contexthan dler.servi ce.server. vap.nwhin. vler. URL         /XACMLCont extHandler PortType/c heckPolicy Request"
  2285        />
  2286        <con:wsrmC onfig 
  2287         version="1 .2"
  2288        />
  2289       </con:call >
  2290       <con:call 
  2291        name="Pati entDiscove ryIn-Allow edCommunit yRequestor -OptIn-Per mit"
  2292       >
  2293        <con:setti ngs>
  2294         <con:setti ng 
  2295          id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers "
  2296         >
  2297          &lt;xml-fr agment/>
  2298         </con:sett ing>
  2299        </con:sett ings>
  2300        <con:encod ing>
  2301         UTF-8
  2302        </con:enco ding>
  2303        <con:endpo int>
  2304         http://
s er v er : port /XACMLCont extHandler Service
  2305        </con:endp oint>
  2306        <con:reque st>
  2307         <![CDATA[< !-- 
  2308         This reque st is init iated by a  patient-a llowed com munity.
  2309         Patient is  opted-out  for POU,  TREATMENT
  2310         This will  DENY
  2311         -->
  2312        
  2313         <S:Envelop e xmlns:S= "http://sc hemas.xmls oap.org/so ap/envelop e/">
  2314             <S:Bod y>
  2315                 <n s2:Request  xmlns:ns2 ="urn:oasi s:names:tc :xacml:2.0 :context:s chema:os"  xmlns="urn :oasis:nam es:tc:xacm l:2.0:poli cy:schema: os">
  2316                      <ns2:Sub ject Subje ctCategory ="urn:oasi s:names:tc :xacml:1.0 :subject-c ategory:ac cess-subje ct">
  2317                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:g ov:hhs:fha :nhinc:sam l-authn-st atement:au th-instant ">
  2318                               <ns2:Attri buteValue> 2011-04-25 T15:28:49. 074Z</ns2: AttributeV alue>
  2319                          </ns 2:Attribut e>
  2320                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:g ov:hhs:fha :nhinc:sam l-authn-st atement:se ssion-inde x">
  2321                               <ns2:Attri buteValue> 123456</ns 2:Attribut eValue>
  2322                          </ns 2:Attribut e>
  2323                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:g ov:hhs:fha :nhinc:sam l-authn-st atement:au th-context -class-ref ">
  2324                               <ns2:Attri buteValue> urn:oasis: names:tc:S AML:2.0:ac :classes:X 509</ns2:A ttributeVa lue>
  2325                          </ns 2:Attribut e>
  2326                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:o asis:names :tc:xacml: 1.0:subjec t:authn-lo cality:ip- address">
  2327                               <ns2:Attri buteValue/ >
  2328                          </ns 2:Attribut e>
  2329                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:o asis:names :tc:xacml: 1.0:subjec t:authn-lo cality:dns -name">
  2330                               <ns2:Attri buteValue/ >
  2331                          </ns 2:Attribut e>
  2332                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:o asis:names :tc:xacml: 1.0:subjec t:subject- id">
  2333                               <ns2:Attri buteValue> JBrown</ns 2:Attribut eValue>
  2334                          </ns 2:Attribut e>
  2335                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:g ov:hhs:fha :nhinc:use r-organiza tion-name" >
  2336                               <ns2:Attri buteValue> NCHICA</ns 2:Attribut eValue>
  2337                          </ns 2:Attribut e>
  2338                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#anyURI " Attribut eId="urn:o asis:names :tc:xspa:1 .0:subject :organizat ion-id">
  2339                               <ns2:Attri buteValue> urn:oid:2. 16.840.1.1 13883.3.48 8.1</ns2:A ttributeVa lue>
  2340                          </ns 2:Attribut e>
  2341                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#anyURI " Attribut eId="http: //www.hhs. gov/health it/nhin#Ho meCommunit yId">
  2342                               <ns2:Attri buteValue> urn:oid:2. 16.840.1.1 13883.3.48 8.1</ns2:A ttributeVa lue>
  2343                          </ns 2:Attribut e>
  2344                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:o asis:names :tc:xacml: 2.0:subjec t:role">
  2345                               <ns2:Attri buteValue> 265950004< /ns2:Attri buteValue>
  2346                          </ns 2:Attribut e>
  2347                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:g ov:hhs:fha :nhinc:use r-role-cod e-system">
  2348                               <ns2:Attri buteValue> 2.16.840.1 .113883.6. 96</ns2:At tributeVal ue>
  2349                          </ns 2:Attribut e>
  2350                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:g ov:hhs:fha :nhinc:use r-role-cod e-system-n ame">
  2351                               <ns2:Attri buteValue> SNOMED_CT< /ns2:Attri buteValue>
  2352                          </ns 2:Attribut e>
  2353                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:g ov:hhs:fha :nhinc:use r-role-des cription">
  2354                               <ns2:Attri buteValue> IT Profess ional</ns2 :Attribute Value>
  2355                          </ns 2:Attribut e>
  2356                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:o asis:names :tc:xspa:1 .0:subject :purposeof use">
  2357                               <ns2:Attri buteValue> TREATMENT< /ns2:Attri buteValue>
  2358                          </ns 2:Attribut e>
  2359                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:g ov:hhs:fha :nhinc:pur pose-of-us e-code-sys tem">
  2360                               <ns2:Attri buteValue> 2.16.840.1 .113883.3. 18.7.1</ns 2:Attribut eValue>
  2361                          </ns 2:Attribut e>
  2362                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:g ov:hhs:fha :nhinc:pur pose-of-us e-code-sys tem-name">
  2363                               <ns2:Attri buteValue> nhin-purpo se</ns2:At tributeVal ue>
  2364                          </ns 2:Attribut e>
  2365                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:g ov:hhs:fha :nhinc:pur pose-of-us e-display- name">
  2366                               <ns2:Attri buteValue> TREATMENT< /ns2:Attri buteValue>
  2367                          </ns 2:Attribut e>
  2368                      </ns2:Su bject>
  2369                      <ns2:Res ource>
  2370                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:g ov:hhs:fha :nhinc:hom e-communit y-id">
  2371                               <ns2:Attri buteValue> urn:oid:2. 16.840.1.1 13883.4.34 9</ns2:Att ributeValu e>
  2372                          </ns 2:Attribut e>
  2373                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:g ov:hhs:fha :nhinc:ass igning-aut hority-id" >
  2374                               <ns2:Attri buteValue> urn:oid:2. 16.840.1.1 13883.4.34 9</ns2:Att ributeValu e>
  2375                          </ns 2:Attribut e>
  2376                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:o asis:names :tc:xacml: 1.0:resour ce:resourc e-id">
  2377                               <ns2:Attri buteValue> 123457</ns 2:Attribut eValue>
  2378                          </ns 2:Attribut e>
  2379                          <ns2 :Attribute  DataType= "urn:hl7-o rg:v3#II"  AttributeI d="http:// www.hhs.go v/healthit /nhin#subj ect-id">
  2380                               <ns2:Attri buteValue>
  2381                                   <hl7:P atientId x mlns:ns9=" urn:ihe:it i:xds-b:20 07" xmlns: ns8="urn:o asis:names :tc:ebxml- regrep:xsd :rim:3.0"  xmlns:ns7= "http://ww w.hhs.gov/ healthit/n hin/cdc" x mlns:ns6=" http://doc s.oasis-op en.org/wsn /t-1" xmln s:ns5="htt p://docs.o asis-open. org/wsn/b- 2" xmlns:n s4="http:/ /www.w3.or g/2005/08/ addressing " xmlns:ns 3="http:// docs.oasis -open.org/ wsrf/bf-2"  xmlns:ns2 ="urn:oasi s:names:tc :xacml:2.0 :policy:sc hema:os" 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 " extensio n="2423" r oot="2.16. 840.1.1138 83.3.190.6 .100.1"/>
  2382                               </ns2:Attr ibuteValue >
  2383                          </ns 2:Attribut e>
  2384                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:g ov:hhs:fha :nhinc:sam l-authz-de cision-sta tement-dec ision">
  2385                               <ns2:Attri buteValue> Permit</ns 2:Attribut eValue>
  2386                          </ns 2:Attribut e>
  2387                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:g ov:hhs:fha :nhinc:sam l-authz-de cision-sta tement-res ource">
  2388                                <ns2:Attri buteValue> https://
s er v er . DNS     /CONNECTGa teway/Nhin Service/Nh inPatientD iscovery</ ns2:Attrib uteValue>
  2389                          </ns 2:Attribut e>
  2390                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:g ov:hhs:fha :nhinc:sam l-authz-de cision-sta tement-act ion">
  2391                               <ns2:Attri buteValue> Execute</n s2:Attribu teValue>
  2392                          </ns 2:Attribut e>
  2393                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:g ov:hhs:fha :nhinc:sam l-authz-de cision-sta tement-evi dence-asse rtion-id">
  2394                               <ns2:Attri buteValue> 5b0bb96f-1 eb1-494c-8 91a-c39956 ed17d0</ns 2:Attribut eValue>
  2395                          </ns 2:Attribut e>
  2396                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:g ov:hhs:fha :nhinc:sam l-authz-de cision-sta tement-evi dence-asse rtion-issu e-instant" >
  2397                               <ns2:Attri buteValue> 2011-04-25 T15:28:49. 076Z</ns2: AttributeV alue>
  2398                          </ns 2:Attribut e>
  2399                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:g ov:hhs:fha :nhinc:sam l-authz-de cision-sta tement-evi dence-asse rtion-vers ion">
  2400                               <ns2:Attri buteValue> 2.0</ns2:A ttributeVa lue>
  2401                          </ns 2:Attribut e>
  2402                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:g ov:hhs:fha :nhinc:sam l-authz-de cision-sta tement-evi dence-asse rtion-issu er">
  2403                               <ns2:Attri buteValue> CN=SAML Us er,OU=SU,O =SAML User ,L=Los Ang eles,ST=CA ,C=US</ns2 :Attribute Value>
  2404                          </ns 2:Attribut e>
  2405                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#date"  AttributeI d="urn:gov :hhs:fha:n hinc:saml- authz-deci sion-state ment-evide nce-assert ion-not-be fore">
  2406                               <ns2:Attri buteValue> 2011-04-25 T11:28:46. 000Z</ns2: AttributeV alue>
  2407                          </ns 2:Attribut e>
  2408                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#date"  AttributeI d="urn:gov :hhs:fha:n hinc:saml- authz-deci sion-state ment-evide nce-assert ion-not-on -or-after" >
  2409                               <ns2:Attri buteValue> 2011-04-26 T11:28:46. 000Z</ns2: AttributeV alue>
  2410                          </ns 2:Attribut e>
  2411                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#anyURI " Attribut eId="urn:g ov:hhs:fha :nhinc:sam l-authz-de cision-sta tement-evi dence-asse rtion-acce ss-consent ">
  2412                               <ns2:Attri buteValue> urn:oid:2. 16.840.1.1 13883.3.19 0.6.100.1. 1.2423</ns 2:Attribut eValue>
  2413                          </ns 2:Attribut e>
  2414                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#anyURI " Attribut eId="urn:g ov:hhs:fha :nhinc:sam l-authz-de cision-sta tement-evi dence-asse rtion-inst ance-acces s-consent" >
  2415                               <ns2:Attri buteValue> urn:oid:2. 16.840.1.1 13883.3.19 0.6.100.1. 1.2423</ns 2:Attribut eValue>
  2416                          </ns 2:Attribut e>
  2417                      </ns2:Re source>
  2418                      <ns2:Act ion>
  2419                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:o asis:names :tc:xacml: 1.0:action :action-id ">
  2420                               <ns2:Attri buteValue> PatientDis coveryIn</ ns2:Attrib uteValue>
  2421                          </ns 2:Attribut e>
  2422                      </ns2:Ac tion>
  2423                 </ ns2:Reques t>
  2424             </S:Bo dy>
  2425         </S:Envelo pe>
  2426        
  2427         ]]>
  2428        </con:requ est>
  2429        <con:jmsCo nfig 
  2430         JMSDeliver yMode="PER SISTENT"
  2431        />
  2432        <con:jmsPr opertyConf ig/>
  2433        <con:wsaCo nfig 
  2434         mustUnders tand="NONE
  2435         version="2 00508" 
  2436         action="ht tp://impl. contexthan dler.servi ce.server. vap.nwhin. vler. URL         /XACMLCont extHandler PortType/c heckPolicy Request"
  2437        />
  2438        <con:wsrmC onfig 
  2439         version="1 .2"
  2440        />
  2441       </con:call >
  2442       <con:call 
  2443        name="Pati entDiscove ryIn-Allow edCommunit yRequestor -OptOut-De ny"
  2444       >
  2445        <con:setti ngs>
  2446         <con:setti ng 
  2447          id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers "
  2448         >
  2449          &lt;xml-fr agment/>
  2450         </con:sett ing>
  2451        </con:sett ings>
  2452        <con:encod ing>
  2453         UTF-8
  2454        </con:enco ding>
  2455        <con:endpo int>
  2456         http://
s er v er : port /XACMLCont extHandler Service
  2457        </con:endp oint>
  2458        <con:reque st>
  2459         <![CDATA[< !-- 
  2460         This reque st is init iated by a  patient-a llowed com munity.
  2461         Patient is  opted-in  for POU, T REATMENT
  2462         This will  PERMIT
  2463         -->
  2464        
  2465         <S:Envelop e xmlns:S= "http://sc hemas.xmls oap.org/so ap/envelop e/">
  2466             <S:Bod y>
  2467                 <n s2:Request  xmlns:ns2 ="urn:oasi s:names:tc :xacml:2.0 :context:s chema:os"  xmlns="urn :oasis:nam es:tc:xacm l:2.0:poli cy:schema: os">
  2468                      <ns2:Sub ject Subje ctCategory ="urn:oasi s:names:tc :xacml:1.0 :subject-c ategory:ac cess-subje ct">
  2469                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:g ov:hhs:fha :nhinc:sam l-authn-st atement:au th-instant ">
  2470                               <ns2:Attri buteValue> 2011-04-25 T15:28:49. 074Z</ns2: AttributeV alue>
  2471                          </ns 2:Attribut e>
  2472                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:g ov:hhs:fha :nhinc:sam l-authn-st atement:se ssion-inde x">
  2473                               <ns2:Attri buteValue> 123456</ns 2:Attribut eValue>
  2474                          </ns 2:Attribut e>
  2475                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:g ov:hhs:fha :nhinc:sam l-authn-st atement:au th-context -class-ref ">
  2476                               <ns2:Attri buteValue> urn:oasis: names:tc:S AML:2.0:ac :classes:X 509</ns2:A ttributeVa lue>
  2477                          </ns 2:Attribut e>
  2478                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:o asis:names :tc:xacml: 1.0:subjec t:authn-lo cality:ip- address">
  2479                               <ns2:Attri buteValue/ >
  2480                          </ns 2:Attribut e>
  2481                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:o asis:names :tc:xacml: 1.0:subjec t:authn-lo cality:dns -name">
  2482                               <ns2:Attri buteValue/ >
  2483                          </ns 2:Attribut e>
  2484                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:o asis:names :tc:xacml: 1.0:subjec t:subject- id">
  2485                               <ns2:Attri buteValue> JBrown</ns 2:Attribut eValue>
  2486                          </ns 2:Attribut e>
  2487                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:g ov:hhs:fha :nhinc:use r-organiza tion-name" >
  2488                               <ns2:Attri buteValue> NCHICA</ns 2:Attribut eValue>
  2489                          </ns 2:Attribut e>
  2490                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#anyURI " Attribut eId="urn:o asis:names :tc:xspa:1 .0:subject :organizat ion-id">
  2491                               <ns2:Attri buteValue> urn:oid:2. 16.840.1.1 13883.3.48 8.1</ns2:A ttributeVa lue>
  2492                          </ns 2:Attribut e>
  2493                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#anyURI " Attribut eId="http: //www.hhs. gov/health it/nhin#Ho meCommunit yId">
  2494                               <ns2:Attri buteValue> urn:oid:2. 16.840.1.1 13883.3.48 8.1</ns2:A ttributeVa lue>
  2495                          </ns 2:Attribut e>
  2496                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:o asis:names :tc:xacml: 2.0:subjec t:role">
  2497                               <ns2:Attri buteValue> 265950004< /ns2:Attri buteValue>
  2498                          </ns 2:Attribut e>
  2499                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:g ov:hhs:fha :nhinc:use r-role-cod e-system">
  2500                               <ns2:Attri buteValue> 2.16.840.1 .113883.6. 96</ns2:At tributeVal ue>
  2501                          </ns 2:Attribut e>
  2502                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:g ov:hhs:fha :nhinc:use r-role-cod e-system-n ame">
  2503                               <ns2:Attri buteValue> SNOMED_CT< /ns2:Attri buteValue>
  2504                          </ns 2:Attribut e>
  2505                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:g ov:hhs:fha :nhinc:use r-role-des cription">
  2506                               <ns2:Attri buteValue> IT Profess ional</ns2 :Attribute Value>
  2507                          </ns 2:Attribut e>
  2508                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:o asis:names :tc:xspa:1 .0:subject :purposeof use">
  2509                               <ns2:Attri buteValue> TREATMENT< /ns2:Attri buteValue>
  2510                          </ns 2:Attribut e>
  2511                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:g ov:hhs:fha :nhinc:pur pose-of-us e-code-sys tem">
  2512                               <ns2:Attri buteValue> 2.16.840.1 .113883.3. 18.7.1</ns 2:Attribut eValue>
  2513                          </ns 2:Attribut e>
  2514                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:g ov:hhs:fha :nhinc:pur pose-of-us e-code-sys tem-name">
  2515                               <ns2:Attri buteValue> nhin-purpo se</ns2:At tributeVal ue>
  2516                          </ns 2:Attribut e>
  2517                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:g ov:hhs:fha :nhinc:pur pose-of-us e-display- name">
  2518                               <ns2:Attri buteValue> TREATMENT< /ns2:Attri buteValue>
  2519                          </ns 2:Attribut e>
  2520                      </ns2:Su bject>
  2521                      <ns2:Res ource>
  2522                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:g ov:hhs:fha :nhinc:hom e-communit y-id">
  2523                               <ns2:Attri buteValue> 2.16.840.1 .113883.4. 349</ns2:A ttributeVa lue>
  2524                          </ns 2:Attribut e>
  2525                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:g ov:hhs:fha :nhinc:ass igning-aut hority-id" >
  2526                               <ns2:Attri buteValue> 2.16.840.1 .113883.4. 349</ns2:A ttributeVa lue>
  2527                          </ns 2:Attribut e>
  2528                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:o asis:names :tc:xacml: 1.0:resour ce:resourc e-id">
  2529                               <ns2:Attri buteValue> 123459</ns 2:Attribut eValue>
  2530                          </ns 2:Attribut e>
  2531                          <ns2 :Attribute  DataType= "urn:hl7-o rg:v3#II"  AttributeI d="http:// www.hhs.go v/healthit /nhin#subj ect-id">
  2532                               <ns2:Attri buteValue>
  2533                                   <hl7:P atientId x mlns:ns9=" urn:ihe:it i:xds-b:20 07" xmlns: ns8="urn:o asis:names :tc:ebxml- regrep:xsd :rim:3.0"  xmlns:ns7= "http://ww w.hhs.gov/ healthit/n hin/cdc" x mlns:ns6=" http://doc s.oasis-op en.org/wsn /t-1" xmln s:ns5="htt p://docs.o asis-open. org/wsn/b- 2" xmlns:n s4="http:/ /www.w3.or g/2005/08/ addressing " xmlns:ns 3="http:// docs.oasis -open.org/ wsrf/bf-2"  xmlns:ns2 ="urn:oasi s:names:tc :xacml:2.0 :policy:sc hema:os" 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 " extensio n="2423" r oot="2.16. 840.1.1138 83.3.190.6 .100.1"/>
  2534                               </ns2:Attr ibuteValue >
  2535                          </ns 2:Attribut e>
  2536                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:g ov:hhs:fha :nhinc:sam l-authz-de cision-sta tement-dec ision">
  2537                               <ns2:Attri buteValue> Permit</ns 2:Attribut eValue>
  2538                          </ns 2:Attribut e>
  2539                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:g ov:hhs:fha :nhinc:sam l-authz-de cision-sta tement-res ource">
  2540                                <ns2:Attri buteValue> https://
s er v er . DNS     /CONNECTGa teway/Nhin Service/Nh inPatientD iscovery</ ns2:Attrib uteValue>
  2541                          </ns 2:Attribut e>
  2542                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:g ov:hhs:fha :nhinc:sam l-authz-de cision-sta tement-act ion">
  2543                               <ns2:Attri buteValue> Execute</n s2:Attribu teValue>
  2544                          </ns 2:Attribut e>
  2545                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:g ov:hhs:fha :nhinc:sam l-authz-de cision-sta tement-evi dence-asse rtion-id">
  2546                               <ns2:Attri buteValue> 5b0bb96f-1 eb1-494c-8 91a-c39956 ed17d0</ns 2:Attribut eValue>
  2547                          </ns 2:Attribut e>
  2548                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:g ov:hhs:fha :nhinc:sam l-authz-de cision-sta tement-evi dence-asse rtion-issu e-instant" >
  2549                               <ns2:Attri buteValue> 2011-04-25 T15:28:49. 076Z</ns2: AttributeV alue>
  2550                          </ns 2:Attribut e>
  2551                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:g ov:hhs:fha :nhinc:sam l-authz-de cision-sta tement-evi dence-asse rtion-vers ion">
  2552                               <ns2:Attri buteValue> 2.0</ns2:A ttributeVa lue>
  2553                          </ns 2:Attribut e>
  2554                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:g ov:hhs:fha :nhinc:sam l-authz-de cision-sta tement-evi dence-asse rtion-issu er">
  2555                               <ns2:Attri buteValue> CN=SAML Us er,OU=SU,O =SAML User ,L=Los Ang eles,ST=CA ,C=US</ns2 :Attribute Value>
  2556                          </ns 2:Attribut e>
  2557                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#date"  AttributeI d="urn:gov :hhs:fha:n hinc:saml- authz-deci sion-state ment-evide nce-assert ion-not-be fore">
  2558                               <ns2:Attri buteValue> 2011-04-25 T11:28:46. 000Z</ns2: AttributeV alue>
  2559                          </ns 2:Attribut e>
  2560                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#date"  AttributeI d="urn:gov :hhs:fha:n hinc:saml- authz-deci sion-state ment-evide nce-assert ion-not-on -or-after" >
  2561                               <ns2:Attri buteValue> 2011-04-26 T11:28:46. 000Z</ns2: AttributeV alue>
  2562                          </ns 2:Attribut e>
  2563                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#anyURI " Attribut eId="urn:g ov:hhs:fha :nhinc:sam l-authz-de cision-sta tement-evi dence-asse rtion-acce ss-consent ">
  2564                               <ns2:Attri buteValue> urn:oid:2. 16.840.1.1 13883.3.19 0.6.100.1. 1.2423</ns 2:Attribut eValue>
  2565                          </ns 2:Attribut e>
  2566                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#anyURI " Attribut eId="urn:g ov:hhs:fha :nhinc:sam l-authz-de cision-sta tement-evi dence-asse rtion-inst ance-acces s-consent" >
  2567                               <ns2:Attri buteValue> urn:oid:2. 16.840.1.1 13883.3.19 0.6.100.1. 1.2423</ns 2:Attribut eValue>
  2568                          </ns 2:Attribut e>
  2569                      </ns2:Re source>
  2570                      <ns2:Act ion>
  2571                          <ns2 :Attribute  DataType= "http://ww w.w3.org/2 001/XMLSch ema#string " Attribut eId="urn:o asis:names :tc:xacml: 1.0:action :action-id ">
  2572                               <ns2:Attri buteValue> PatientDis coveryIn</ ns2:Attrib uteValue>
  2573                          </ns 2:Attribut e>
  2574                      </ns2:Ac tion>
  2575                 </ ns2:Reques t>
  2576             </S:Bo dy>
  2577         </S:Envelo pe>
  2578        
  2579         ]]>
  2580        </con:requ est>
  2581        <con:jmsCo nfig 
  2582         JMSDeliver yMode="PER SISTENT"
  2583        />
  2584        <con:jmsPr opertyConf ig/>
  2585        <con:wsaCo nfig 
  2586         mustUnders tand="NONE
  2587         version="2 00508" 
  2588         action="ht tp://impl. contexthan dler.servi ce.server. vap.nwhin. vler. URL         /XACMLCont extHandler PortType/c heckPolicy Request"
  2589        />
  2590        <con:wsrmC onfig 
  2591         version="1 .2"
  2592        />
  2593       </con:call >
  2594       <con:call 
  2595        name="Pati entDiscove ryOut-Allo wedCommuni tyRequesto r-OptIn-Pe rmit"
  2596       >
  2597        <con:setti ngs>
  2598         <con:setti ng 
  2599          id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers "
  2600         >
  2601          &lt;xml-fr agment/>
  2602         </con:sett ing>
  2603        </con:sett ings>
  2604        <con:encod ing>
  2605         UTF-8
  2606        </con:enco ding>
  2607        <con:endpo int>
  2608         http://
s er v er : port /XACMLCont extHandler Service
  2609        </con:endp oint>
  2610        <con:reque st>
  2611         <![CDATA[< !-- 
  2612         This reque st is init iated by a  patient-a llowed com munity.
  2613         Patient is  opted-in  for POU, T REATMENT
  2614         This will  PERMIT
  2615         -->
  2616        
  2617         <soapenv:E nvelope xm lns:soapen v="http:// schemas.xm lsoap.org/ soap/envel ope/" xmln s:urn="urn :oasis:nam es:tc:xacm l:2.0:cont ext:schema :os">
  2618             <soape nv:Header/ >
  2619             <soape nv:Body>
  2620                 <u rn:Request >
  2621                                   <!--1  or more re petitions: -->
  2622                      <urn:Sub ject Subje ctCategory ="urn:oasi s:names:tc :xacml:1.0 :subject-c ategory:ac cess-subje ct">
  2623                                            <!--Zero  or more r epetitions :-->
  2624                          <urn :Attribute  Attribute Id="urn:oa sis:names: tc:xacml:1 .0:subject :subject-i d" DataTyp e="?" Issu er="?">
  2625                                                     <!--1 or m ore repeti tions:-->
  2626                               <urn:Attri buteValue> david*DoD< /urn:Attri buteValue>
  2627                          </ur n:Attribut e>
  2628                          <urn :Attribute  Attribute Id="http:/ /www.hhs.g ov/healthi t/nhin#Hom eCommunity Id" DataTy pe="?" Iss uer="?">
  2629                                                     <!--1 or m ore repeti tions:-->
  2630                               <urn:Attri buteValue> urn:oid:2. 16.840.1.1 13883.4.34 9 </urn:At tributeVal ue>
  2631                          </ur n:Attribut e>
  2632                          <urn :Attribute  Attribute Id="urn:oa sis:names: tc:xspa:1. 0:subject: purposeofu se" DataTy pe="?" Iss uer="?">
  2633                                                     <!--1 or m ore repeti tions:-->
  2634                               <urn:Attri buteValue> TREATMENT< /urn:Attri buteValue>
  2635                          </ur n:Attribut e>
  2636                      </urn:Su bject>
  2637                                   <!--1  or more re petitions: -->
  2638                      <urn:Res ource>
  2639                          <urn :Attribute  Attribute Id="urn:go v:hhs:fha: nhinc:home -community -id">
  2640                               <urn:Attri buteValue> 2.16.840.1 .113883.3. 488.1 </ur n:Attribut eValue>
  2641                          </ur n:Attribut e>
  2642                          <urn :Attribute  Attribute Id="urn:oa sis:names: tc:xacml:1 .0:resourc e:resource -id" DataT ype="?" Is suer="?">
  2643                                                     <!--1 or m ore repeti tions:-->
  2644                               <urn:Attri buteValue> 123457</ur n:Attribut eValue>
  2645                          </ur n:Attribut e>
  2646                      </urn:Re source>
  2647                      <urn:Act ion>
  2648                                            <!--Zero  or more r epetitions :-->
  2649                          <urn :Attribute  Attribute Id="urn:oa sis:names: tc:xacml:1 .0:action: action-id"  DataType= "?" Issuer ="?">
  2650                                                     <!--1 or m ore repeti tions:-->
  2651                               <urn:Attri buteValue> PatientDis coveryOut< /urn:Attri buteValue>
  2652                          </ur n:Attribut e>
  2653                      </urn:Ac tion>
  2654                 </ urn:Reques t>
  2655             </soap env:Body>
  2656         </soapenv: Envelope>] ]>
  2657        </con:requ est>
  2658        <con:jmsCo nfig 
  2659         JMSDeliver yMode="PER SISTENT"
  2660        />
  2661        <con:jmsPr opertyConf ig/>
  2662        <con:wsaCo nfig 
  2663         mustUnders tand="NONE
  2664         version="2 00508" 
  2665         action="ht tp://impl. contexthan dler.servi ce.server. vap.nwhin. vler. URL         /XACMLCont extHandler PortType/c heckPolicy Request"
  2666        />
  2667        <con:wsrmC onfig 
  2668         version="1 .2"
  2669        />
  2670       </con:call >
  2671       <con:call 
  2672        name="Pati entDiscove ryOut-Allo wedCommuni tyRequesto r-OptOut-D eny"
  2673       >
  2674        <con:setti ngs>
  2675         <con:setti ng 
  2676          id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers "
  2677         >
  2678          &lt;xml-fr agment/>
  2679         </con:sett ing>
  2680        </con:sett ings>
  2681        <con:encod ing>
  2682         UTF-8
  2683        </con:enco ding>
  2684        <con:endpo int>
  2685         http://
s er v er : port /XACMLCont extHandler Service
  2686        </con:endp oint>
  2687        <con:reque st>
  2688         <![CDATA[< !-- 
  2689         This reque st is init iated by a  patient-a llowed com munity.
  2690         Patient is  opted-out  for POU,  TREATMENT
  2691         This will  DENY
  2692         -->
  2693        
  2694         <soapenv:E nvelope xm lns:soapen v="http:// schemas.xm lsoap.org/ soap/envel ope/" xmln s:urn="urn :oasis:nam es:tc:xacm l:2.0:cont ext:schema :os">
  2695             <soape nv:Header/ >
  2696             <soape nv:Body>
  2697                 <u rn:Request >
  2698                                   <!--1  or more re petitions: -->
  2699                      <urn:Sub ject Subje ctCategory ="urn:oasi s:names:tc :xacml:1.0 :subject-c ategory:ac cess-subje ct">
  2700                                            <!--Zero  or more r epetitions :-->
  2701                          <urn :Attribute  Attribute Id="urn:oa sis:names: tc:xacml:1 .0:subject :subject-i d" DataTyp e="?" Issu er="?">
  2702                                                     <!--1 or m ore repeti tions:-->
  2703                               <urn:Attri buteValue> david*DoD< /urn:Attri buteValue>
  2704                          </ur n:Attribut e>
  2705                          <urn :Attribute  Attribute Id="http:/ /www.hhs.g ov/healthi t/nhin#Hom eCommunity Id" DataTy pe="?" Iss uer="?">
  2706                                                     <!--1 or m ore repeti tions:-->
  2707                               <urn:Attri buteValue> urn:oid:2. 16.840.1.1 13883.4.34 9 </urn:At tributeVal ue>
  2708                          </ur n:Attribut e>
  2709                          <urn :Attribute  Attribute Id="urn:oa sis:names: tc:xspa:1. 0:subject: purposeofu se" DataTy pe="?" Iss uer="?">
  2710                                                     <!--1 or m ore repeti tions:-->
  2711                               <urn:Attri buteValue> TREATMENT< /urn:Attri buteValue>
  2712                          </ur n:Attribut e>
  2713                      </urn:Su bject>
  2714                                   <!--1  or more re petitions: -->
  2715                      <urn:Res ource>
  2716                          <urn :Attribute  Attribute Id="urn:go v:hhs:fha: nhinc:home -community -id">
  2717                               <urn:Attri buteValue> 2.16.840.1 .113883.3. 488.1 </ur n:Attribut eValue>
  2718                          </ur n:Attribut e>
  2719                          <urn :Attribute  Attribute Id="urn:oa sis:names: tc:xacml:1 .0:resourc e:resource -id" DataT ype="?" Is suer="?">
  2720                                                     <!--1 or m ore repeti tions:-->
  2721                               <urn:Attri buteValue> 123459</ur n:Attribut eValue>
  2722                          </ur n:Attribut e>
  2723                      </urn:Re source>
  2724                      <urn:Act ion>
  2725                                            <!--Zero  or more r epetitions :-->
  2726                          <urn :Attribute  Attribute Id="urn:oa sis:names: tc:xacml:1 .0:action: action-id"  DataType= "?" Issuer ="?">
  2727                                                     <!--1 or m ore repeti tions:-->
  2728                               <urn:Attri buteValue> PatientDis coveryOut< /urn:Attri buteValue>
  2729                          </ur n:Attribut e>
  2730                      </urn:Ac tion>
  2731                 </ urn:Reques t>
  2732             </soap env:Body>
  2733         </soapenv: Envelope>] ]>
  2734        </con:requ est>
  2735        <con:jmsCo nfig 
  2736         JMSDeliver yMode="PER SISTENT"
  2737        />
  2738        <con:jmsPr opertyConf ig/>
  2739        <con:wsaCo nfig 
  2740         mustUnders tand="NONE
  2741         version="2 00508" 
  2742         action="ht tp://impl. contexthan dler.servi ce.server. vap.nwhin. vler. URL         /XACMLCont extHandler PortType/c heckPolicy Request"
  2743        />
  2744        <con:wsrmC onfig 
  2745         version="1 .2"
  2746        />
  2747       </con:call >
  2748       <con:call 
  2749        name="NHIN Out-Permit "
  2750       >
  2751        <con:setti ngs>
  2752         <con:setti ng 
  2753          id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers "
  2754         >
  2755          &lt;xml-fr agment/>
  2756         </con:sett ing>
  2757        </con:sett ings>
  2758        <con:encod ing>
  2759         UTF-8
  2760        </con:enco ding>
  2761        <con:endpo int>
  2762         http://
s er v er : port /XACMLCont extHandler Service
  2763        </con:endp oint>
  2764        <con:reque st>
  2765         <![CDATA[
  2766         <soapenv:E nvelope xm lns:soapen v="http:// schemas.xm lsoap.org/ soap/envel ope/" xmln s:urn="urn :oasis:nam es:tc:xacm l:2.0:cont ext:schema :os">
  2767             <soape nv:Header/ >
  2768             <soape nv:Body>
  2769                 <u rn:Request >
  2770                                   <!--1  or more re petitions: -->
  2771                      <urn:Sub ject Subje ctCategory ="urn:oasi s:names:tc :xacml:1.0 :subject-c ategory:ac cess-subje ct">
  2772                                            <!--Zero  or more r epetitions :-->
  2773                          <urn :Attribute  Attribute Id="urn:oa sis:names: tc:xacml:1 .0:subject :subject-i d" DataTyp e="?" Issu er="?">
  2774                                                     <!--1 or m ore repeti tions:-->
  2775                               <urn:Attri buteValue> 983:12345< /urn:Attri buteValue>
  2776                          </ur n:Attribut e>
  2777                          <urn :Attribute  Attribute Id="http:/ /www.hhs.g ov/healthi t/nhin#Hom eCommunity Id" DataTy pe="?" Iss uer="?">
  2778                                                     <!--1 or m ore repeti tions:-->
  2779                               <urn:Attri buteValue> urn:oid:2. 16.840.1.1 13883.4.34 9 </urn:At tributeVal ue>
  2780                          </ur n:Attribut e>
  2781                          <urn :Attribute  Attribute Id="urn:oa sis:names: tc:xspa:1. 0:subject: purposeofu se" DataTy pe="?" Iss uer="?">
  2782                                                     <!--1 or m ore repeti tions:-->
  2783                               <urn:Attri buteValue> TREATMENT< /urn:Attri buteValue>
  2784                          </ur n:Attribut e>
  2785                      </urn:Su bject>
  2786                      <urn:Act ion>
  2787                                            <!--Zero  or more r epetitions :-->
  2788                          <urn :Attribute  Attribute Id="urn:oa sis:names: tc:xacml:1 .0:action: action-id"  DataType= "?" Issuer ="?">
  2789                                                     <!--1 or m ore repeti tions:-->
  2790                               <urn:Attri buteValue> NHINOut</u rn:Attribu teValue>
  2791                          </ur n:Attribut e>
  2792                      </urn:Ac tion>
  2793                 </ urn:Reques t>
  2794             </soap env:Body>
  2795         </soapenv: Envelope>
  2796         ]]>
  2797        </con:requ est>
  2798        <con:jmsCo nfig 
  2799         JMSDeliver yMode="PER SISTENT"
  2800        />
  2801        <con:jmsPr opertyConf ig/>
  2802        <con:wsaCo nfig 
  2803         mustUnders tand="NONE
  2804         version="2 00508" 
  2805         action="ht tp://impl. contexthan dler.servi ce.server. vap.nwhin. vler. URL         /XACMLCont extHandler PortType/c heckPolicy Request"
  2806        />
  2807        <con:wsrmC onfig 
  2808         version="1 .2"
  2809        />
  2810       </con:call >
  2811       <con:call 
  2812        name="NHIN Out-Deny"
  2813       >
  2814        <con:setti ngs>
  2815         <con:setti ng 
  2816          id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers "
  2817         >
  2818          &lt;xml-fr agment/>
  2819         </con:sett ing>
  2820        </con:sett ings>
  2821        <con:encod ing>
  2822         UTF-8
  2823        </con:enco ding>
  2824        <con:endpo int>
  2825         http://
s er v er : port /XACMLCont extHandler Service
  2826        </con:endp oint>
  2827        <con:reque st>
  2828         <![CDATA[
  2829         <soapenv:E nvelope xm lns:soapen v="http:// schemas.xm lsoap.org/ soap/envel ope/" xmln s:urn="urn :oasis:nam es:tc:xacm l:2.0:cont ext:schema :os">
  2830             <soape nv:Header/ >
  2831             <soape nv:Body>
  2832                 <u rn:Request >
  2833                                   <!--1  or more re petitions: -->
  2834                      <urn:Sub ject Subje ctCategory ="urn:oasi s:names:tc :xacml:1.0 :subject-c ategory:ac cess-subje ct">
  2835                                            <!--Zero  or more r epetitions :-->
  2836                          <urn :Attribute  Attribute Id="urn:oa sis:names: tc:xacml:1 .0:subject :subject-i d" DataTyp e="?" Issu er="?">
  2837                                                     <!--1 or m ore repeti tions:-->
  2838                               <urn:Attri buteValue> 984:12345< /urn:Attri buteValue>
  2839                          </ur n:Attribut e>
  2840                          <urn :Attribute  Attribute Id="http:/ /www.hhs.g ov/healthi t/nhin#Hom eCommunity Id" DataTy pe="?" Iss uer="?">
  2841                                                     <!--1 or m ore repeti tions:-->
  2842                               <urn:Attri buteValue> urn:oid:2. 16.840.1.1 13883.4.34 9 </urn:At tributeVal ue>
  2843                          </ur n:Attribut e>
  2844                          <urn :Attribute  Attribute Id="urn:oa sis:names: tc:xspa:1. 0:subject: purposeofu se" DataTy pe="?" Iss uer="?">
  2845                                                     <!--1 or m ore repeti tions:-->
  2846                               <urn:Attri buteValue> TREATMENT< /urn:Attri buteValue>
  2847                          </ur n:Attribut e>
  2848                      </urn:Su bject>
  2849                      <urn:Act ion>
  2850                                            <!--Zero  or more r epetitions :-->
  2851                          <urn :Attribute  Attribute Id="urn:oa sis:names: tc:xacml:1 .0:action: action-id"  DataType= "?" Issuer ="?">
  2852                                                     <!--1 or m ore repeti tions:-->
  2853                               <urn:Attri buteValue> NHINOut</u rn:Attribu teValue>
  2854                          </ur n:Attribut e>
  2855                      </urn:Ac tion>
  2856                 </ urn:Reques t>
  2857             </soap env:Body>
  2858         </soapenv: Envelope>
  2859         ]]>
  2860        </con:requ est>
  2861        <con:jmsCo nfig 
  2862         JMSDeliver yMode="PER SISTENT"
  2863        />
  2864        <con:jmsPr opertyConf ig/>
  2865        <con:wsaCo nfig 
  2866         mustUnders tand="NONE
  2867         version="2 00508" 
  2868         action="ht tp://impl. contexthan dler.servi ce.server. vap.nwhin. vler. URL         /XACMLCont extHandler PortType/c heckPolicy Request"
  2869        />
  2870        <con:wsrmC onfig 
  2871         version="1 .2"
  2872        />
  2873       </con:call >
  2874       <con:call 
  2875        name="AITC -DEV-TEST"
  2876       >
  2877        <con:setti ngs>
  2878         <con:setti ng 
  2879          id="com.ev iware.soap ui.impl.ws dl.WsdlReq uest@reque st-headers "
  2880         >
  2881          &lt;xml-fr agment/>
  2882         </con:sett ing>
  2883        </con:sett ings>
  2884        <con:encod ing>
  2885         UTF-8
  2886        </con:enco ding>
  2887        <con:endpo int>
  2888         http://
s er v er : port /XACMLCont extHandler Service
  2889        </con:endp oint>
  2890        <con:reque st>
  2891         <![CDATA[< !-- 
  2892         This reque st is init iated by a  patient-a llowed com munity.
  2893         Patient is  opted-in  for POU, T REATMENT
  2894         This will  PERMIT
  2895         -->
  2896         <soapenv:E nvelope xm lns:soapen v="http:// schemas.xm lsoap.org/ soap/envel ope/" xmln s:urn="urn :oasis:nam es:tc:xacm l:2.0:cont ext:schema :os">
  2897            <soapen v:Header/>
  2898            <soapen v:Body>
  2899               <urn :Request>
  2900                  < !--1 or mo re repetit ions:-->
  2901                  < urn:Subjec t SubjectC ategory="u rn:oasis:n ames:tc:xa cml:1.0:su bject-cate gory:acces s-subject" >
  2902                      <!--Zero  or more r epetitions :-->
  2903                      <urn:Att ribute Att ributeId=" urn:oasis: names:tc:x acml:1.0:s ubject:sub ject-id" D ataType="? " Issuer=" ?">
  2904                         <!--1  or more r epetitions :-->
  2905                         <urn: AttributeV alue>Jim B rown</urn: AttributeV alue>
  2906                      </urn:At tribute>
  2907                      <urn:Att ribute Att ributeId=" http://www .hhs.gov/h ealthit/nh in#HomeCom munityId"  DataType=" ?" Issuer= "?">
  2908                         <!--1  or more r epetitions :-->
  2909                         <urn: AttributeV alue>urn:o id:2.16.84 0.1.113883 .3.488.1</ urn:Attrib uteValue>
  2910                      </urn:At tribute>
  2911                      <urn:Att ribute Att ributeId=" urn:oasis: names:tc:x spa:1.0:su bject:purp oseofuse"  DataType=" ?" Issuer= "?">
  2912                         <!--1  or more r epetitions :-->
  2913                         <urn: AttributeV alue>TREAT MENT</urn: AttributeV alue>
  2914                      </urn:At tribute>
  2915                  < /urn:Subje ct>
  2916                  < !--1 or mo re repetit ions:-->
  2917                  < urn:Resour ce>
  2918                      <urn:Att ribute Att ributeId=" urn:gov:hh s:fha:nhin c:home-com munity-id" >
  2919                         <urn: AttributeV alue>urn:o id:2.16.84 0.1.113883 .4.349</ur n:Attribut eValue>
  2920                      </urn:At tribute>
  2921                      <urn:Att ribute Att ributeId=" urn:oasis: names:tc:x acml:1.0:r esource:re source-id"  DataType= "?" Issuer ="?">
  2922                         <!--1  or more r epetitions :-->
  2923                         <urn: AttributeV alue>12345 7</urn:Att ributeValu e>
  2924                      </urn:At tribute>
  2925                      <urn:Att ribute Dat aType="urn :hl7-org:v 3#II" Attr ibuteId="h ttp://www. hhs.gov/he althit/nhi n#subject- id">
  2926                         <urn: AttributeV alue>
  2927                            <h l7:Patient Id extensi on="1099"  root="2.16 .840.1.113 883.3.488. 1" xmlns:n s21="urn:o asis:names :tc:xacml: 2.0:contex t:schema:o s" xmlns:n s9="urn:ih e:iti:xds- b:2007" xm lns:ns8="u rn:oasis:n ames:tc:eb xml-regrep :xsd:rim:3 .0" xmlns: ns7="http: //www.hhs. gov/health it/nhin/cd c" xmlns:n s6="http:/ /docs.oasi s-open.org /wsn/t-1"  xmlns:ns5= "http://do cs.oasis-o pen.org/ws rf/bf-2" x mlns:ns4=" http://doc s.oasis-op en.org/wsn /b-2" xmln s:ns3="htt p://www.w3 .org/2005/ 08/address ing" xmlns :ns19="urn :gov:hhs:f ha:nhinc:c ommon:subs criptionb2 overridefo rcdc" xmln s:ns18="ur n:gov:hhs: fha:nhinc: common:nhi nccommonad apter" xml ns:ns17="h ttp://sche mas.xmlsoa p.org/ws/2 004/08/add ressing" x mlns:ns16= "urn:gov:h hs:fha:nhi nc:common: nhinccommo n" xmlns:n s15="urn:o asis:names :tc:xacml: 2.0:contex t:schema:o s" xmlns:n s14="urn:g ov:hhs:fha :nhinc:com mon:subscr iptionb2ov errideford ocuments"  xmlns:ns13 ="http://n hinc.servi ces.com/sc hema/audit message" x mlns:ns12= "urn:oasis :names:tc: ebxml-regr ep:xsd:que ry:3.0" xm lns:ns11=" urn:oasis: names:tc:e bxml-regre p:xsd:lcm: 3.0" xmlns :ns10="urn :oasis:nam es:tc:ebxm l-regrep:x sd:rs:3.0"  xmlns:hl7 ="urn:hl7- org:v3"/>
  2928                         </urn :Attribute Value>
  2929                      </urn:At tribute>
  2930                  < /urn:Resou rce>
  2931                  < urn:Action >
  2932                      <!--Zero  or more r epetitions :-->
  2933                      <urn:Att ribute Att ributeId=" urn:oasis: names:tc:x acml:1.0:a ction:acti on-id" Dat aType="?"  Issuer="?" >
  2934                         <!--1  or more r epetitions :-->
  2935                         <urn: AttributeV alue>Docum entQueryIn </urn:Attr ibuteValue >
  2936                      </urn:At tribute>
  2937                  < /urn:Actio n>
  2938               </ur n:Request>
  2939            </soape nv:Body>
  2940         </soapenv: Envelope>] ]>
  2941        </con:requ est>
  2942        <con:jmsCo nfig 
  2943         JMSDeliver yMode="PER SISTENT"
  2944        />
  2945        <con:jmsPr opertyConf ig/>
  2946        <con:wsaCo nfig 
  2947         mustUnders tand="NONE
  2948         version="2 00508" 
  2949         action="ht tp://impl. contexthan dler.servi ce.server. vap.nwhin. vler. URL         /XACMLCont extHandler PortType/c heckPolicy Request"
  2950        />
  2951        <con:wsrmC onfig 
  2952         version="1 .2"
  2953        />
  2954       </con:call >
  2955      </con:oper ation>
  2956     </con:inte rface>
  2957     <con:prope rties/>
  2958     <con:wssCo ntainer/>
  2959   </con:soap ui-project >