This wiki has undergone a migration to Confluence found Here

201709 Consumer Centered Data Exchange Implementation Notes for

From HL7Wiki
Revision as of 09:19, 2 August 2017 by GrahameGrieve (talk | contribs)
Jump to navigation Jump to search

JWT Cert

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

The JWT is:

(todo - will change certs soon)


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

<Consent xmlns=""> 
 <status value="active"/>
   <reference value="Patient/example"/>
 <policyRule value=""/>  
   <type value="permit"/>
       <system value=""/>
     <system value=""/>


This is what you post to the server as a body to the $authorize routine (this time in json):

  "resourceType" : "Parameters",
  "parameters" : [{
     "name" : "duration",
     "valueDuration" : {
       "value" : "3",
       "system" : "",
       "code" : "mo"
   }, {
     "name" : "token",
     "valueString" : "{you JWT here}"