Overview
Provenance of a resource is a record that describes entities and processes involved in producing and delivering or otherwise influencing that resource. The Provenance resource tracks information about the activity that created, revised, deleted, or signed a version of a resource, describing the entities and agents involved. This information can be used to form assessments about its quality, reliability, trustworthiness, or to provide pointers for where to go to further investigate the origins of the resource and the information in it. Each Provenance has next elements:- a reference to the resource(s) the Provenance record is supporting (target)
- a date and time for the activity
- an author responsible for the update
- the author organization responsible for the information
- the transmitter that provided the information
- the transmitter organization responsible for the transmission (if the transmitter is a device the transmitter organization must also be valued). Profile specific implementation guidance:
- AllergyIntolerance
- CarePlan
- CareTeam
- Condition
- Coverage
- Device
- DiagnosticReport
- DocumentReference
- Encounter
- Goal
- Immunization
- MedicationDispense
- MedicationRequest
- Observation
- Patient
- Procedure
- QuestionnaireResponse
- RelatedPerson
- ServiceRequest
- If a system receives a provider in Provenance.agent.who as free text they must capture who sent them the information as the organization. On request they SHALL provide this organization as the source and MAY include the free text provider.
- Systems that need to know the activity has occurred SHOULD populate the activity.
| USCDI | USCore Data Element | FHIR Resource Field |
|---|---|---|
| Author Time Stamp | recorded | Provenance.recorded |
| Author Organization | agent | Provenance.agent.who |
Must support elements, mandatory and optional search parameters
Provenance must support these elements:targetreference
recordedagenttype
agent:ProvenanceAuthoragent:ProvenanceTransmitter
patient and [_revinclude] search parameters:
GET [base url]/[Resource]?patient=[id]&_revinclude=Provenance:target
SHALL support searching for a particular instance of a US Core Profile resource type listed above and all its Provenance resources using combination of the _id and the [_revinclude] search parameters:
GET [base url]/[Resource]?_id=[id]&_revinclude=Provenance:target
The response to any search operation is always a list of resources in a Bundle or an Operation Outcome.
Provenance By id
Get Provenance by id METHOD GET| Header | Type | Required/Optional | Value |
|---|---|---|---|
| Authorization | string | required | Bearer <token> |
| Code | Description | Comment |
|---|---|---|
| 200 | OK | The request was processed successfully |
| 400 | Bad request | Invalid request parameters or FHIR operation outcome resource returned |
| 401 | Unauthorized | This code indicates that the client request has not been completed because it lacks valid authentication credentials for the requested resource |
| 404 | No route matched with those values | The request was able to communicate with a given server, but the server could not find what was requested |
| 500 | Internal Server Error | The server has encountered a situation it doesn’t know how to handle |
Resource By id and _revinclude
Get any supported resource byid and corresponding provenance by usin _revinclude search parameter.
METHOD GET
| Header | Type | Required/Optional | Value |
|---|---|---|---|
| Authorization | string | required | Bearer <token> |
| Code | Description | Comment |
|---|---|---|
| 200 | OK | The request was processed successfully |
| 400 | Bad request | Invalid request parameters or FHIR operation outcome resource returned |
| 401 | Unauthorized | This code indicates that the client request has not been completed because it lacks valid authentication credentials for the requested resource |
| 404 | No route matched with those values | The request was able to communicate with a given server, but the server could not find what was requested |
| 500 | Internal Server Error | The server has encountered a situation it doesn’t know how to handle |