This is the Continuous Integration Build of FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions
Security Work Group | Maturity Level: N/A | Standards Status: Informative | Compartments: Device, Group, Patient, Practitioner, RelatedPerson |
Raw XML (canonical form + also see XML Format Specification)
Example of using Provenance in a SearchSet Bundle to indicate the source of the entries, where Provenance is targeting version specific resources. (id = "example-bundle-allergyintolerance")
<?xml version="1.0" encoding="UTF-8"?> <Bundle xmlns="http://hl7.org/fhir"> <id value="example-bundle-allergyintolerance"/> <type value="searchset"/> <total value="1"/> <link> <relation value="self"/> <url value="http://example.org/fhir/AllergyIntolerance?_id=79613&_revinclude=Provenance:target"/> </link> <entry> <fullUrl value="http://example.org/fhir/AllergyIntolerance/79613"/> <resource> <AllergyIntolerance> <id value="79613"/> <meta> <versionId value="1"/> <lastUpdated value="2019-07-09T15:26:23.217+00:00"/> </meta> <text> <status value="generated"/> <div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b> Generated Narrative: AllergyIntolerance 79613</b> </p> <a name="79613"> </a> <a name="hc79613"> </a> <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">version: 1; Last updated: 2019-07-09T15:26:23.217Z</p> </div> <p> <b> clinicalStatus</b> : <span title="Codes:{http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical active}">Active</span> </p> <p> <b> verificationStatus</b> : <span title="Codes:{http://terminology.hl7.org/CodeSystem/allergyintolerance-verification confirmed}">Confirmed</span> </p> <p> <b> category</b> : Medication</p> <p> <b> criticality</b> : High Risk</p> <p> <b> code</b> : <span title="Codes:{http://snomed.info/sct 762952008}">Peanuts</span> </p> <p> <b> patient</b> : <a href="patient-example.html">Jim Male, DoB: 1974-12-25 ( Medical record number (use: usual, period: 2001-05-06 --> (ongoing)))</a> </p> <p> <b> onset</b> : 2017-06-09</p> <blockquote> <p> <b> reaction</b> </p> <h3> Manifestations</h3> <table class="grid"><tr> <td style="display: none">-</td> <td> <b> Concept</b> </td> </tr> <tr> <td style="display: none">*</td> <td> <span title="Codes:{http://snomed.info/sct 247472004}">Hives</span> </td> </tr> </table> <p> <b> onset</b> : 2017-06-09</p> </blockquote> </div> </text> <clinicalStatus> <coding> <system value="http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical"/> <code value="active"/> <display value="Active"/> </coding> </clinicalStatus> <verificationStatus> <coding> <system value="http://terminology.hl7.org/CodeSystem/allergyintolerance-verification"/> <code value="confirmed"/> <display value="Confirmed"/> </coding> </verificationStatus> <category value="medication"/> <criticality value="high"/> <code> <coding> <system value="http://snomed.info/sct"/> <version value="http://snomed.info/sct/731000124108"/> <code value="762952008"/> <display value="Peanuts"/> </coding> <text value="Peanuts"/> </code> <patient> <reference value="Patient/example"/> </patient> <onsetDateTime value="2017-06-09"/> <reaction> <manifestation> <concept> <coding> <system value="http://snomed.info/sct"/> <version value="http://snomed.info/sct/731000124108"/> <code value="247472004"/> <display value="Hives"/> </coding> </concept> </manifestation> <onset value="2017-06-09"/> </reaction> </AllergyIntolerance> </resource> <search> <mode value="match"/> </search> </entry> <entry> <fullUrl value="http://example.org/fhir/Provenance/79614"/> <resource> <Provenance> <id value="79614"/> <text> <status value="generated"/> <div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b> Generated Narrative: Provenance 79614</b> </p> <a name="79614"> </a> <a name="hc79614"> </a> <p> Provenance for <a href="broken-link.html">AllergyIntolerance/79613</a> </p> <p> Summary</p> <table class="grid"><tr> <td> Recorded</td> <td> 2019-07-09T15:26:23.217Z</td> </tr> </table> <p> <b> Agents</b> </p> <table class="grid"><tr> <td> <b> Type</b> </td> <td> <b> who</b> </td> <td> <b> On Behalf Of</b> </td> </tr> <tr> <td> <span title="Codes:{http://terminology.hl7.org/CodeSystem/provenance-participant-type custodian}">Custodian</span> </td> <td> <a href="organization-example.html">Organization ACME Health</a> </td> <td/> </tr> <tr> <td> <span title="Codes:{http://terminology.hl7.org/CodeSystem/provenance-participant-type author}">Author</span> </td> <td> <a href="practitioner-example-f004-rb.html">Practitioner Ronald Briet (official)</a> </td> <td> <a href="organization-example.html">Organization ACME Health</a> </td> </tr> </table> </div> </text> <target> <reference value="AllergyIntolerance/79613/_history/1"/> </target> <recorded value="2019-07-09T15:26:23.217+00:00"/> <agent> <type> <coding> <system value="http://terminology.hl7.org/CodeSystem/provenance-participant-type"/> <code value="custodian"/> <display value="Custodian"/> </coding> </type> <who> <reference value="Organization/example"/> </who> </agent> <agent> <type> <coding> <system value="http://terminology.hl7.org/CodeSystem/provenance-participant-type"/> <code value="author"/> <display value="Author"/> </coding> </type> <who> <reference value="Practitioner/f004"/> </who> <onBehalfOf> <reference value="Organization/example"/> </onBehalfOf> </agent> </Provenance> </resource> <search> <mode value="include"/> </search> </entry> </Bundle>
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.
FHIR ®© HL7.org 2011+. FHIR R6 hl7.fhir.core#6.0.0-ballot3 generated on Thu, Aug 28, 2025 16:59+0000.
Links: Search |
Version History |
Contents |
Glossary |
QA |
Compare to R5 |
|
Propose a change