R6 Ballot (2nd Draft)

Publish-box (todo)

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)

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

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

<!--   
  This provenance example is paired with the 
  consent signature example.   
  --><Provenance xmlns="http://hl7.org/fhir">
  <id value="consent-signature"/> 
  <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.