Api referenceEndpointsFhir
One FHIR R4 Provenance
GET
The Provenance of one Observation; an Observation that does not exist is a 404.
tenantKeyheader
AuthorizationBearer <token>Tenant API key, ohs_sk_ + 43 base62 characters.
id*stringFormat
uuidprovenance_id*stringprov- and the id of the Observation it is about.
The Provenance.
application/fhir+json- response
Who and what produced one Observation, as a FHIR R4 Provenance (docs/fhir.md).
resourceType*stringid*stringMatch
^prov-[A-Za-z0-9\-\.]{1,59}$target*array<>Items
1 <= itemsrecorded*stringWhen the record was ingested.
Format
date-timeagent*array<>The Device (author) when the record names one, then the provider (assembler).
Items
1 <= itemsentity?array<>The provider's own record (each external id), when it has one.
curl -X GET 'http://localhost:8080/v1/users/497f6eca-6276-4993-bfeb-53cbbbba6f08/fhir/Provenance/prov-qs-1234' \ -H 'Authorization: Bearer ohs_sk_...'{ "resourceType": "Provenance", "id": "prov-qs-1234", "target": [ { "reference": "Patient/3f0c2f8e-8b8a-4c55-9f5e-2b0f3a1d9c11", "identifier": { "system": "http://example.com", "value": "string" }, "display": "string" } ], "recorded": "2019-08-24T14:15:22Z", "agent": [ { "type": { "coding": [ { "system": "http://example.com", "code": "string", "display": "string" } ], "text": "string" }, "who": { "reference": "Patient/3f0c2f8e-8b8a-4c55-9f5e-2b0f3a1d9c11", "identifier": { "system": "http://example.com", "value": "string" }, "display": "string" } } ], "entity": [ { "role": "derivation", "what": { "reference": "Patient/3f0c2f8e-8b8a-4c55-9f5e-2b0f3a1d9c11", "identifier": { "system": "http://example.com", "value": "string" }, "display": "string" } } ]}