FHIR Release 3 (STU)

This page is part of the FHIR Specification (v3.0.2: STU 3). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R4B R4 R3

Consent-example-signature.xml

Community Based Collaborative Care Work GroupMaturity Level: N/ABallot Status: InformativeCompartments: Patient

Raw XML (canonical form)

Jump past Narrative

Consent Example with a signature (id = "consent-example-signature")

<Consent xmlns="http://hl7.org/fhir"> 
  <id value="consent-example-signature"/> 
  <text> <status value="generated"/> <div xmlns="http://www.w3.org/1999/xhtml"><p> <b> Generated Narrative with Details</b> </p> <p> <b> id</b> : consent-example-signature</p> <p> <b> identifier</b> : 494e0c7a-a69e-4fb4-9d02-6aae747790d7</p> <p> <b> status</b> : active</p> <p> <b> category</b> : HIPAA Authorization <span> (Details : {http://hl7.org/fhir/consentcategorycodes code 'HIPAA-Auth' = 'HIPAA Authorization)</span> </p> <p> <b> patient</b> : <a> Patient/72</a> </p> <p> <b> period</b> : 10/10/2015 --&gt; 10/10/2016</p> <p> <b> dateTime</b> : 26/05/2016 12:41:10 AM</p> <p> <b> consentingParty</b> : <a> Patient/72</a> </p> <h3> Actors</h3> <table> <tr> <td> -</td> <td> <b> Role</b> </td> <td> <b> Reference</b> </td> </tr> <tr> <td> *</td> <td> primary information recipient <span> (Details : {http://hl7.org/fhir/v3/ParticipationType code 'PRCP' = 'primary information
               recipient)</span> </td> <td> <a> Practitioner/13</a> </td> </tr> </table> <p> <b> organization</b> : <a> Organization/example</a> </p> <p> <b> policyRule</b> : <a> http://hl7.org/fhir/ConsentPolicy/opt-in</a> </p> <blockquote> <p> <b> except</b> </p> <p> <b> type</b> : permit</p> <h3> Actors</h3> <table> <tr> <td> -</td> <td> <b> Role</b> </td> <td> <b> Reference</b> </td> </tr> <tr> <td> *</td> <td> author (originator) <span> (Details : {http://hl7.org/fhir/v3/ParticipationType code 'AUT' = 'author (originator))</span> </td> <td> <a> Practitioner/xcda-author</a> </td> </tr> </table> <p> <b> class</b> : application/hl7-cda+xml (Details: urn:ietf:bcp:13 code application/hl7-cda+xml = 'application/hl7-
          cda+xml', stated as 'null')</p> <p> <b> code</b> : Summary of episode note (Details: LOINC code 34133-9 = 'Summary of episode note', stated
           as 'null'), Discharge summary (Details: LOINC code 18842-5 = 'Discharge summary', stated
           as 'null')</p> </blockquote> </div> </text> <identifier> 
    <system value="urn:oid:2.16.840.1.113883.3.72.5.9.1"/> 
    <value value="494e0c7a-a69e-4fb4-9d02-6aae747790d7"/>  <!--    consent GUID generated by application    -->
  </identifier> 
  <status value="active"/> 
  <category> 
    <coding> 
      <system value="http://hl7.org/fhir/consentcategorycodes"/> 
      <code value="HIPAA-Auth"/> 
    </coding> 
  </category> 
  <patient> 
    <reference value="Patient/72"/>  <!--    one of the stock examples    -->
  </patient> 
  <period> 
    <start value="2015-10-10"/> 
    <end value="2016-10-10"/> 
  </period> 
  <dateTime value="2016-05-26T00:41:10-04:00"/> 
  <consentingParty> 
    <reference value="Patient/72"/>  <!--    author is patient themselves, and they sign    -->
  </consentingParty> 
  <!--    this consent relates to sharing data with a specific recipient    -->
  <actor> 
      <role> 
        <coding> 
          <system value="http://hl7.org/fhir/v3/ParticipationType"/> 
          <code value="PRCP"/> 
        </coding> 
      </role> 
      <reference> 
    <reference value="Practitioner/13"/>   <!--    Stock practitioner    -->
     </reference> 
  </actor> 
  <organization> 
    <reference value="Organization/example"/>  
  </organization> 
  <!--    no source for this one - it is the signed master    -->
  <policyRule value="http://hl7.org/fhir/ConsentPolicy/opt-in"/> 
  
  
  <!--    here's an opt-in: share CDA documents of type Discharge Summary 
    + Summarization of Episode Note from a specific author    -->
  <except>   
    <type value="permit"/> 
    <actor>   
      <role> 
        <coding> 
          <system value="http://hl7.org/fhir/v3/ParticipationType"/> 
          <code value="AUT"/> 
        </coding> 
      </role> 
      <reference> 
        <reference value="Practitioner/xcda-author"/>  
     </reference> 
    </actor> 
    
    <!--    CDA documents    -->
    <class> 
      <system value="urn:ietf:bcp:13"/> 
      <code value="application/hl7-cda+xml"/> 
    </class>     
    <!--    code rules    -->
    <code> 
      <system value="http://loinc.org"/> 
      <code value="34133-9"/> 
    </code>     
    <code> 
      <system value="http://loinc.org"/> 
      <code value="18842-5"/> 
    </code>     
  </except> 
</Consent> 

Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.