Provenance
Restrictions to Implementation
Currently only provenance resources that reference to already existing resources may be written. The creator of the provenance resource needs to have read access to the referenced resource.
Resource owner
The provenance resource is owned by the same person the referenced resources are owned. A provenance resource may only be created if it references only resources of one target user.
Semantical type
The FHIR resource type is also used as semantical type of the resource. Include the FHIR resource name Provenance into your applications access filter if you need to use this resource.
Read
Read a single Provenance by id.
Request:
[GET] /fhir/Provenance/<id>
Read specific version
Read a specific version of a single Provenance by id.
Request:
[GET] /fhir/Provenance/<id>/_history/<version>
Retrieve history
Retrieve all versions of a single resource.
Request:
[GET] /fhir/Provenance/<id>/_history
Search
Search for resources of type Provenance
Request:
[GET] /fhir/Provenance?searchParams
List of supported search parameters:
Supported query parameters:
Name | Type | Description |
---|---|---|
_id | string | The resource identity |
_lastUpdated | date | Only return resources which were last updated as specified by the given range |
_page | string | |
agent | reference | Who participated |
agent-role | token | What the agents role was |
agent-type | token | How the agent participated |
entity | reference | Identity of entity |
location | reference | Where the activity occurred |
patient | reference | Target Reference(s) (usually version specific) |
recorded | date | When the activity was recorded / updated |
signature-type | token | Indication of the reason the entity signed the object(s) |
target | reference | Target Reference(s) (usually version specific) |
when | date | When the activity occurred |
Create
Create a new resource of type Provenance.
Request:
[POST] /fhir/Provenance