FHIR © HL7.org  |  FHIRsmith 4.0.1  |  Server Home  |  XIG Home  |  XIG Stats  | 

FHIR IG analytics

Packageca.on.ehr.r4
Resource TypeBundle
IdExample-Provenance-Search.json
FHIR VersionR4

Resources that use this resource

No resources found


Resources that this resource uses

No resources found


Narrative

No narrative content found in resource


Source1

{
  "resourceType": "Bundle",
  "id": "Search-Provenance-Example",
  "type": "searchset",
  "total": 2,
  "link": [
    {
      "relation": "self",
      "url": "https://fhir.ontariohealth.ca/fhir/Provenance?target=Patient/patient123"
    }
  ],
  "entry": [
    {
      "fullUrl": "https://fhir.ontariohealth.ca/fhir/Provenance/1",
      "search": {
        "mode": "match"
      },
      "resource": {
        "resourceType": "Provenance",
        "id": "provenance-sofa-smartapp-001",
        "target": [
          {
            "reference": "Patient/patient123"
          }
        ],
        "recorded": "2025-05-27T10:00:00Z",
        "activity": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/provenance-activity-type",
              "code": "transmit",
              "display": "Transmit"
            }
          ],
          "text": "Data exchange across HALOMockEMR_OH_OH, SoFA, and SMART App for patient information"
        },
        "agent": [
          {
            "type": {
              "coding": [
                {
                  "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
                  "code": "composer",
                  "display": "Composer"
                }
              ]
            },
            "who": {
              "identifier": {
                "system": "https://ontariohealth.ca/identifiers/device",
                "value": "HALOMockEMR_OH_OH"
              },
              "display": "HALOMockEMR_OH_OH"
            },
            "role": [
              {
                "coding": [
                  {
                    "system": "http://terminology.hl7.org/CodeSystem/provenance-agent-role",
                    "code": "originator",
                    "display": "Originator"
                  }
                ]
              }
            ]
          },
          {
            "type": {
              "coding": [
                {
                  "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
                  "code": "assembler",
                  "display": "Assembler"
                }
              ]
            },
            "who": {
              "identifier": {
                "system": "https://ontariohealth.ca/identifiers/device",
                "value": "7b983607-4854-4ce7-b137-7d01c366641d"
              },
              "display": "SMART on FHIR Application"
            },
            "role": [
              {
                "coding": [
                  {
                    "system": "http://terminology.hl7.org/CodeSystem/provenance-agent-role",
                    "code": "processor",
                    "display": "Processor"
                  }
                ]
              }
            ]
          },
          {
            "type": {
              "coding": [
                {
                  "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
                  "code": "assembler",
                  "display": "Assembler"
                }
              ]
            },
            "who": {
              "identifier": {
                "system": "https://ontariohealth.ca/identifiers/device",
                "value": "b983607-7854-4eab7-K137-89b34366641d"
              },
              "display": "SoFA (Service-Oriented FHIR Adapter)"
            },
            "role": [
              {
                "coding": [
                  {
                    "system": "http://terminology.hl7.org/CodeSystem/provenance-agent-role",
                    "code": "transmitter",
                    "display": "Transmitter"
                  }
                ]
              }
            ]
          },
          {
            "type": {
              "coding": [
                {
                  "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
                  "code": "author",
                  "display": "Author"
                }
              ]
            },
            "who": {
              "identifier": {
                "system": "https://ontariohealth.ca/identifiers/organization",
                "value": "160085040055"
              },
              "display": "Ontario Health"
            },
            "role": [
              {
                "coding": [
                  {
                    "system": "http://terminology.hl7.org/CodeSystem/provenance-agent-role",
                    "code": "custodian",
                    "display": "Custodian"
                  }
                ]
              }
            ]
          }
        ]
      }
    },
    {
      "fullUrl": "https://fhir.ontariohealth.ca/fhir/Provenance/2",
      "search": {
        "mode": "match"
      },
      "resource": {
        "resourceType": "Provenance",
        "id": "provenance-sofa-smartapp-002",
        "target": [
          {
            "reference": "Patient/patient123"
          }
        ],
        "recorded": "2025-05-27T11:30:00Z",
        "activity": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/provenance-activity-type",
              "code": "update",
              "display": "Update"
            }
          ],
          "text": "Updated Admission Report after review by Ontario Health"
        },
        "agent": [
          {
            "type": {
              "coding": [
                {
                  "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
                  "code": "composer",
                  "display": "Composer"
                }
              ]
            },
            "who": {
              "identifier": {
                "system": "https://ontariohealth.ca/identifiers/device",
                "value": "HALOMockEMR_OH_OH"
              },
              "display": "HALOMockEMR_OH_OH"
            },
            "role": [
              {
                "coding": [
                  {
                    "system": "http://terminology.hl7.org/CodeSystem/provenance-agent-role",
                    "code": "originator",
                    "display": "Originator"
                  }
                ]
              }
            ]
          },
          {
            "type": {
              "coding": [
                {
                  "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
                  "code": "assembler",
                  "display": "Assembler"
                }
              ]
            },
            "who": {
              "identifier": {
                "system": "https://ontariohealth.ca/identifiers/device",
                "value": "Smart_App"
              },
              "display": "SMART on FHIR Application"
            },
            "role": [
              {
                "coding": [
                  {
                    "system": "http://terminology.hl7.org/CodeSystem/provenance-agent-role",
                    "code": "processor",
                    "display": "Processor"
                  }
                ]
              }
            ]
          },
          {
            "type": {
              "coding": [
                {
                  "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
                  "code": "assembler",
                  "display": "Assembler"
                }
              ]
            },
            "who": {
              "identifier": {
                "system": "https://ontariohealth.ca/identifiers/device",
                "value": "launch_id_02"
              },
              "display": "SoFA (Service-Oriented FHIR Adapter)"
            },
            "role": [
              {
                "coding": [
                  {
                    "system": "http://terminology.hl7.org/CodeSystem/provenance-agent-role",
                    "code": "transmitter",
                    "display": "Transmitter"
                  }
                ]
              }
            ]
          },
          {
            "type": {
              "coding": [
                {
                  "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
                  "code": "author",
                  "display": "Author"
                }
              ]
            },
            "who": {
              "identifier": {
                "system": "https://ontariohealth.ca/identifiers/organization",
                "value": "Ontario_Health"
              },
              "display": "Ontario Health"
            },
            "role": [
              {
                "coding": [
                  {
                    "system": "http://terminology.hl7.org/CodeSystem/provenance-agent-role",
                    "code": "custodian",
                    "display": "Custodian"
                  }
                ]
              }
            ]
          }
        ]
      }
    }
  ]
}