Provenance Reponse
Possible status codes:
Status code 200 - success - the resource information is in the body as shown below.
Status code 400 - bad request - one or more request parameters was invalid.
Status code 401 - unauthorized (a valid bearer token is required).
Status code 404 - not found (the resource specified was not found).
Status code 500 - internal error.
Examples:
Request: GET /Provenance?target=Patient=1000.1000
Response:
{ "resourceType": "Bundle", "type": "searchset", "total": 1, "entry": [ { "resource": { "resourceType": "Provenance", "id": "Patient-1000.1000", "target": [ { "reference": "https://fhir.pcisgold.com/fhir/Patient/1000.1000" } ], "recorded": "2022-10-10T10:55:54-06:00", "agent": [ { "type": { "coding": [ { "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-provenance-participant-type", "code": "performer" } ], "text": "Performer" }, "who": { "reference": "https://fhir.pcisgold.com/fhir/Practitioner/SDB" }, "onBehalfOf": { "reference": "https://fhir.pcisgold.com/fhir/Organization/1" } }, { "type": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type", "code": "author" } ], "text": "Author" }, "who": { "reference": "https://fhir.pcisgold.com/fhir/Practitioner/SDB" } }, { "type": { "coding": [ { "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-provenance-participant-type", "code": "transmitter" } ], "text": "Transmitter" }, "who": { "reference": "https://fhir.pcisgold.com/fhir/Organization/1" } } ] }, "search": { "mode": "match" } } ] }