STU3 Candidate

This page is part of the FHIR Specification (v1.8.0: STU 3 Draft). 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

Raw XML (canonical form)

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>dateTime</b>: 26/05/2016 12:41:10 AM</p><p><b>period</b>: 10/10/2015 --&gt; 10/10/2016</p><p><b>patient</b>: <a>Patient/72</a></p><p><b>consentor</b>: <a>Patient/72</a></p><p><b>organization</b>: <a>Organization/example</a></p><p><b>policy</b>: <a>http://hl7.org/fhir/ConsentPolicy/opt-in</a></p><p><b>recipient</b>: <a>Practitioner/13</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"/>
  <dateTime value="2016-05-26T00:41:10-04:00"/>
  <period>
    <start value="2015-10-10"/>
    <end value="2016-10-10"/>
  </period>
  <patient>
    <reference value="Patient/72"/> <!--    one of the stock examples    -->
  </patient>
  <consentor>
    <reference value="Patient/72"/> <!--    author is patient themselves, and they sign    -->
  </consentor>
  <organization>
    <reference value="Organization/example"/> 
  </organization>
  <!--    no source for this one - it is the signed master    -->
  <policy value="http://hl7.org/fhir/ConsentPolicy/opt-in"/>
  
  <!--    this consent relates to sharing data with a specific recipient    -->
  <recipient>
     <reference value="Practitioner/13"/>  <!--    Stock practitioner    -->
  </recipient>
  
  <!--    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.