# Provenance

Source: https://www.flexpa.com/docs/fhir/provenance
Description: Provenance is a supporting FHIR resource that provides meta information about the target resource.

GET `https://api.flexpa.com/fhir/Provenance`

* [Provenance](https://www.hl7.org/fhir/Provenance.html) is a base FHIR Resource ( [JSON example](https://www.hl7.org/fhir/Provenance-example.json))
* It provides meta information (e.g., action type, date/time, author) for the target resource
* Commonly available via [US Core Provenance Profile](https://hl7.org/fhir/us/core/StructureDefinition-us-core-Provenance.html)

**Provenance** is a supporting FHIR resource that provides meta information about the target resource. You can think of Provenance as the authorship of a resource, as it is a record that describes entities and processes involved in producing and delivering or otherwise influencing that resource.

In contrast to many of the other resources in the Flexpa that are patient-specific, it serves as a supplementary resource that supports the clinical and financial resources in the API by giving versioning of that resource over time.

As a result, Provenance is most often used as part of a unique `revinclude` parameter in a search request or is accessed via a read with a specific FHIR resource ID obtained from a financial or clinical resource.

## Sample request

**Note:**
While some servers may support a resource-level search without any parameters, very few do for Provenance. We recommend using the format below with a specific resource ID as a search parameter.

This is a sample request using `curl` to retrieve the Provenance data for a specific [AllergyIntolerance](https://www.flexpa.com/docs/fhir-resources/allergy-intolerance) resource

```shell
ACCESS_TOKEN=patient-access-token

curl "https://api.flexpa.com/fhir/Provenance?target=AllergyIntolerance/4e329898-43ea-e611-8128-0a69c1b3225b" \
  -H "Authorization: Bearer $ACCESS_TOKEN"
```

## Sample response

This is a sample response from Anthem (CareEvolution) using Flexpa API in [test mode](https://www.flexpa.com/docs/test-mode#health-insurers)
