Release 5 Preview #2

Provenance-consent-signature.xml

Security Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Device, Patient, Practitioner, RelatedPerson

Raw XML (canonical form + also see XML Format Specification)

Jump past Narrative

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

<?xml version="1.0" encoding="UTF-8"?>

<Provenance xmlns="http://hl7.org/fhir"> 
  <id value="consent-signature"/> 
  <text> <status value="generated"/> <div xmlns="http://www.w3.org/1999/xhtml"><p> <b> Generated Narrative</b> </p> <p> <b> id</b> : consent-signature</p> <p> <b> target</b> : <a> Consent/consent-example-signature</a> </p> <p> <b> recorded</b> : May 26, 2016 12:41:10 AM</p> <h3> Agents</h3> <table> <tr> <td> -</td> <td> <b> Role</b> </td> <td> <b> Who</b> </td> </tr> <tr> <td> *</td> <td> <span> author (originator)</span> </td> <td> <a> Patient/72</a> </td> </tr> </table> <p> <b> signature</b> : </p> </div> </text> <target> 
    <reference value="Consent/consent-example-signature"/> 
  </target> 
 
  <!--    the provenance is recorded at the same time as 
    the resource - batched together    -->
  <recorded value="2016-05-26T00:41:10-04:00"/> 
 
  <agent>  
    <role> 
      <coding> 
        <system value="http://terminology.hl7.org/CodeSystem/v3-ParticipationType"/> 
        <code value="AUT"/> 
      </coding> 
    </role> 
    <who> 
      <reference value="Patient/72"/> 
    </who> 
  </agent> 
  <signature> 
    <type> 
      <system value="urn:iso-astm:E1762-95:2013"/> 
      <code value="1.2.840.10065.1.12.1.1"/> 
      <display value="Author's Signature"/> 
    </type> 
    <when value="2016-05-26T00:41:10-04:00"/> 
    <who> 
      <reference value="Patient/72"/> 
    </who> 
  <targetFormat value="application/fhir+xml"/> 
  <sigFormat value="application/signature+xml"/> 
    <data value="dGhpcyBibG9iIGlzIHNuaXBwZWQ="/> 
  </signature> 
</Provenance> 

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.