Release 5 R6 Ballot (2nd Draft)

This page is part of the FHIR Specification (v5.0.0: R5 - STU v6.0.0-ballot2: Release 6 Ballot (2nd Draft) (see Ballot Notes ). This is the The current published version in it's permanent home (it will always be available at this URL). is 5.0.0 . For a full list of available versions, see the Directory of published versions

Example Provenance/example3 (XML)

Security Work Group Maturity Level : N/A Standards Status : Informative Compartments : Device , Patient , Practitioner , RelatedPerson

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

Jump past Narrative

Targeted Provenance Example - followUp note came from specified practitioner (id = "example3")

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


  
      <!--    
    Use path when the target resource doesn't have an id to point to
    Note that the path is constrained to simple FHIRPath - see 
    https://hl7.org/fhir/fhirpath.html#simple
    
    This asserts that the follow up note came from a different author than
    the rest of the Procedure (see Provenance/example)
     -->
  display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border:
       1px solid #8da1b4; border-radius: 5px; line-height: 60%  
    Use path when the target resource doesn't have an id to point to
    Note that the path is constrained to simple FHIRPath - see 
    https://hl7.org/fhir/fhirpath.html#simple
    
    This asserts that the follow up note came from a different author than
    the rest of the Procedure (see Provenance/example)
   
     
      
    
    
  
  
  
    
      
        
        
      
    
    
      
    
  

<Provenance xmlns="http://hl7.org/fhir">
  <id value="example3"/> 
  <!--   
    Use path when the target resource doesn't have an id to point to
    Note that the path is constrained to simple FHIRPath - see 
    https://hl7.org/fhir/fhirpath.html#simple
    
    This asserts that the follow up note came from a different author than
    the rest of the Procedure (see Provenance/example)
    -->
  <target>     <extension url="http://hl7.org/fhir/StructureDefinition/targetPath">      <valueString value="Procedure.followUp.text"/>     </extension>     <reference value="Procedure/example/_history/1"/>   </target>   <recorded value="2021-12-08T16:54:24+11:00"/>   <agent>     <type>       <coding>         <system value="http://terminology.hl7.org/CodeSystem/v3-ParticipationType"/>         <code value="AUT"/>       </coding>     </type>     <who>       <reference value="Practitioner/f007"/>     </who>   </agent> 


</

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.