STU 3 Ballot

This page is part of the FHIR Specification (v1.6.0: STU 3 Ballot 4). 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: R5 R4B R4 R3

Consent-example-Emergency.xml

Raw XML (canonical form)

Consent withholding access exept for Emergency (id = "consent-example-Emergency")

<Consent xmlns="http://hl7.org/fhir">
  <id value="consent-example-Emergency"/>

  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml">
  <p>
  Withhold Authorization for Treatment except for Emegency Treatment
  </p><p>
    Patient &quot;P. van de Heuvel&quot; wishes to have no data at the Good Health Psychiatric
         Hospital 
   available except for Emergency treatment use.
   </p>
   </div>
  </text>

  <status value="active"/>
    
  <dateTime value="2015-11-18"/>
   <!--   not bound by a timeframe - Consent.period   -->
 
  <patient>
    <reference value="Patient/f001"/>
    <display value="P. van de Heuvel"/>
  </patient>

  <!--   I assume the example given is Canada Infoway wide???  AND I assume it is desired to
   state that in the Consent.authority element   -->
  <organization>
    <reference value="Organization/Infoway"/>
    <display value="Canada Infoway"/>
  </organization>
    
  <!--   the text terms of the consent in lawyer speak   -->
  <sourceAttachment>
     <title value="The terms of the consent in lawyer speak."/>
     <!--   likely use url pointer to common text   -->
  </sourceAttachment>

  <!--   
    this is opt-in - e.g. nothing approved unless otherwise stated.
    -->
  <policy value="http://hl7.org/fhir/ConsentPolicy/opt-in"/>

  <except>
    <type value="permit"/>
        
    <actor>
      <role>
        <coding>
          <system value="http://hl7.org/fhir/v3/ParticipationType"/>
          <code value="CST"/> 
        </coding>
      </role>
      <reference>
         <reference value="Organization/2.16.840.1.113883.19.6"/>
         <display value="Good Health Psychiatric Hospital"/>
      </reference>
    </actor>
    
    <purpose>
      <system value="http://hl7.org/fhir/v3/ActReason"/>
      <code value="ETREAT"/> 
    </purpose>
  </except>
  <!--   this except overrides the other one   -->
  <except>
    <type value="deny"/>

    <actor>
      <role>
        <coding>
          <system value="http://hl7.org/fhir/v3/ParticipationType"/>
          <code value="CST"/> 
        </coding>
      </role>
      <reference>
         <reference value="Organization/2.16.840.1.113883.19.6"/>
         <display value="Good Health Psychiatric Hospital"/>
      </reference>
    </actor>  
  </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.