FHIR CI-Build

This is the Continuous Integration Build of FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions

Example Provenance/example-bundle-allergyintolerance (JSON)

Security Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Device, Group, Patient, Practitioner, RelatedPerson

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

Example of using Provenance in a SearchSet Bundle to indicate the source of the entries, where Provenance is targeting version specific resources.

{
  "resourceType" : "Bundle",
  "id" : "example-bundle-allergyintolerance",
  "type" : "searchset",
  "total" : 1,
  "link" : [{
    "relation" : "self",
    "url" : "http://example.org/fhir/AllergyIntolerance?_id=79613&_revinclude=Provenance:target"
  }],
  "entry" : [{
    "fullUrl" : "http://example.org/fhir/AllergyIntolerance/79613",
    "resource" : {
      "resourceType" : "AllergyIntolerance",
      "id" : "79613",
      "meta" : {
        "versionId" : "1",
        "lastUpdated" : "2019-07-09T15:26:23.217+00:00"
      },
      "text" : {
        "status" : "generated",
        "div" : "<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\u00a0(use:\u00a0usual,\u00a0period:\u00a02001-05-06 --&gt; (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>"
      },
      "clinicalStatus" : {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical",
          "code" : "active",
          "display" : "Active"
        }]
      },
      "verificationStatus" : {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification",
          "code" : "confirmed",
          "display" : "Confirmed"
        }]
      },
      "category" : ["medication"],
      "criticality" : "high",
      "code" : {
        "coding" : [{
          "system" : "http://snomed.info/sct",
          "version" : "http://snomed.info/sct/731000124108",
          "code" : "762952008",
          "display" : "Peanuts"
        }],
        "text" : "Peanuts"
      },
      "patient" : {
        "reference" : "Patient/example"
      },
      "onsetDateTime" : "2017-06-09",
      "reaction" : [{
        "manifestation" : [{
          "concept" : {
            "coding" : [{
              "system" : "http://snomed.info/sct",
              "version" : "http://snomed.info/sct/731000124108",
              "code" : "247472004",
              "display" : "Hives"
            }]
          }
        }],
        "onset" : "2017-06-09"
      }]
    },
    "search" : {
      "mode" : "match"
    }
  },
  {
    "fullUrl" : "http://example.org/fhir/Provenance/79614",
    "resource" : {
      "resourceType" : "Provenance",
      "id" : "79614",
      "text" : {
        "status" : "generated",
        "div" : "<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>"
      },
      "target" : [{
        "reference" : "AllergyIntolerance/79613/_history/1"
      }],
      "recorded" : "2019-07-09T15:26:23.217+00:00",
      "agent" : [{
        "type" : {
          "coding" : [{
            "system" : "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
            "code" : "custodian",
            "display" : "Custodian"
          }]
        },
        "who" : {
          "reference" : "Organization/example"
        }
      },
      {
        "type" : {
          "coding" : [{
            "system" : "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
            "code" : "author",
            "display" : "Author"
          }]
        },
        "who" : {
          "reference" : "Practitioner/f004"
        },
        "onBehalfOf" : {
          "reference" : "Organization/example"
        }
      }]
    },
    "search" : {
      "mode" : "include"
    }
  }]
}

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.