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
Security Work Group | Maturity Level: N/A | Standards Status: Informative | Compartments: Device, Patient, Practitioner, RelatedPerson |
Raw XML (canonical form + also see XML Format Specification)
Targeted Provenance Example - followUp note came from specified practitioner (id = "example3")
<?xml version="1.0" encoding="UTF-8"?> <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) --> <text> <status value="generated"/> <div xmlns="http://www.w3.org/1999/xhtml"><p> <b> Generated Narrative: Provenance</b> <a name="example3"> </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 "example3" </p> </div> <p> <b> target</b> : <span title=" 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) "><a href="procedure-example.html">Procedure/example/_history/1</a> (#/Procedure.followUp.text)</span> </p> <p> <b> recorded</b> : 08/12/2021 4:54:24 PM</p> <h3> Agents</h3> <table class="grid"><tr> <td> -</td> <td> <b> Type</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="practitioner-example-f007-sh.html">Practitioner/f007</a> "Simone HEPS"</td> </tr> </table> </div> </text> <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.