This wiki has undergone a migration to Confluence found Here

Difference between revisions of "201709 Consumer Centered Data Exchange Implementation Notes for test.fhir.org"

From HL7Wiki
Jump to navigation Jump to search
(Created page with "= JWT Cert = You can get the JWT cert from https://test.fhir.org/.well-known/openid-configuration which directs you to here: https://test.fhir.org/oauth3/auth_key Th...")
 
Line 10: Line 10:
  
 
Use this consent resource as the base for authorization (post it to the server):
 
Use this consent resource as the base for authorization (post it to the server):
 +
 +
<Consent xmlns="http://hl7.org/fhir">
 +
  <status value="active"/>
 +
  <patient>
 +
    <reference value="Patient/example"/>
 +
  </patient>
 +
  <policyRule value="http://hl7.org/fhir/ConsentDefinition/simple-oauth"/> 
 +
  <except> 
 +
    <type value="permit"/>
 +
    <action>
 +
      <coding>
 +
        <system value="http://hl7.org/fhir/consentaction"/>
 +
        <code value="access"/>
 +
      </coding>
 +
    </action>
 +
    <class>
 +
      <system value="http://smarthealthit.org/fhir/scopes"/>
 +
      <code value="User/*"/>
 +
    </class>
 +
  </except>
 +
</Consent>

Revision as of 09:16, 2 August 2017

JWT Cert

You can get the JWT cert from [[1]] which directs you to here: [[2]]

The JWT is:

(todo - will change certs soon)

Consent

Use this consent resource as the base for authorization (post it to the server):

<Consent xmlns="http://hl7.org/fhir"> 
 <status value="active"/>
 <patient>
   <reference value="Patient/example"/>
 </patient>
 <policyRule value="http://hl7.org/fhir/ConsentDefinition/simple-oauth"/>  
 <except>  
   <type value="permit"/>
   <action>
     <coding>
       <system value="http://hl7.org/fhir/consentaction"/>
       
     </coding>
   </action>
   <class>
     <system value="http://smarthealthit.org/fhir/scopes"/>
      
   </class>
 </except>
</Consent>