Release 5 Ballot

This page is part of the FHIR Specification (v5.0.0-ballot: FHIR R5 Ballot Preview). 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

Example 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 (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: Provenance</b> <a name="consent-signature"> </a> </p> <div style="display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px
       solid #8da1b4; border-radius: 5px; line-height: 60%"><p style="margin-bottom: 0px">Resource Provenance &quot;consent-signature&quot; </p> </div> <p> <b> target</b> : <a href="consent-example.html">Consent/consent-example-basic/_history/1</a> </p> <p> <b> recorded</b> : <span title="  the provenance is recorded at the same time as 
    the resource - batched together  ">26/05/2016 2:41:10 PM</span> </p> <p> <b> activity</b> : authenticated <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="http://terminology.hl7.org/3.1.0/CodeSystem-v3-DocumentCompletion.html">DocumentCompletion</a> #AU)</span> </p> <p> <b> patient</b> : <a href="patient-example.html">Patient/example</a>  &quot;Peter CHALMERS&quot;</p> <h3> Agents</h3> <table class="grid"><tr> <td> -</td> <td> <b> Role</b> </td> <td> <b> Who</b> </td> </tr> <tr> <td> *</td> <td> author (originator) <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="http://terminology.hl7.org/3.1.0/CodeSystem-v3-ParticipationType.html">ParticipationType</a> #AUT)</span> </td> <td> <a href="todo.html">Patient/72</a> </td> </tr> </table> <h3> Signatures</h3> <table class="grid"><tr> <td> -</td> <td> <b> Type</b> </td> <td> <b> When</b> </td> <td> <b> Who</b> </td> <td> <b> TargetFormat</b> </td> <td> <b> SigFormat</b> </td> <td> <b> Data</b> </td> </tr> <tr> <td> *</td> <td> Author's Signature (Details: urn:iso-astm:E1762-95:2013 code 1.2.840.10065.1.12.1.1 =
             'Author's Signature', stated as 'Author's Signature')</td> <td> 26/05/2016 2:41:10 PM</td> <td> <a href="todo.html">Patient/72</a> </td> <td> application/fhir+xml</td> <td> application/signature+xml</td> <td> dGhpcyBibG9iIGlzIHNuaXBwZWQ=</td> </tr> </table> </div> </text> <target> 
    <reference value="Consent/consent-example-basic/_history/1"/> 
  </target> 
 
  <!--    the provenance is recorded at the same time as 
    the resource - batched together    -->
  <recorded value="2016-05-26T00:41:10-04:00"/> 
  <activity> 
    <coding> 
      <system value="http://terminology.hl7.org/CodeSystem/v3-DocumentCompletion"/> 
      <code value="AU"/> 
      <display value="authenticated"/> 
    </coding> 
  </activity>  
  <patient> 
    <reference value="Patient/example"/> 
  </patient> 
  <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.