GET [base]/Provenance/1057
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiNTNiYzkzNTktNjgwNi00MDE4LTliZDUtYzlhYmNlMTZkMGFhIiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIkNvbW11bmljYXRpb24ucmVhZCIsIkNvbW11bmljYXRpb24ucGF0Y2giLCJNZWRpYS5zZWFyY2giLCJRdWVzdGlvbm5haXJlUmVzcG9uc2UucmVhZCIsIk9ic2VydmF0aW9uLnNlYXJjaCIsIiRzZWFyY2gtbWVhc3VyZW1lbnRzIiwiT2JzZXJ2YXRpb24ucmVhZCIsIiRzdWJtaXQtbWVhc3VyZW1lbnQiLCIkdGVzdC1vbmx5LWNyZWF0ZSIsIlF1ZXN0aW9ubmFpcmVSZXNwb25zZS5zZWFyY2giLCJDb21tdW5pY2F0aW9uLmNyZWF0ZSIsIkNvbW11bmljYXRpb24uc2VhcmNoIiwiUHJvdmVuYW5jZS5yZWFkIiwiTWVkaWEucmVhZCJdfSwidXNlcl90eXBlIjoiU1lTVEVNIn0.
Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9
User-Agent: HAPI-FHIR/3.8.0 (FHIR Client; FHIR 3.0.1/DSTU3; apache)
Accept-Encoding: gzip
Response
{
"resourceType": "Provenance",
"id": "1057",
"meta": {
"versionId": "1",
"lastUpdated": "2020-04-30T05:38:56.953+00:00",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-provenance"
]
},
"target": [
{
"reference": "https://measurement.local.ehealth.sundhed.dk/fhir/Observation/1054"
},
{
"reference": "https://measurement.local.ehealth.sundhed.dk/fhir/Media/1055"
},
{
"reference": "https://measurement.local.ehealth.sundhed.dk/fhir/QuestionnaireResponse/1056"
}
],
"recorded": "2020-04-30T05:38:56.953+00:00",
"policy": [
"http://ehealth.sundhed.dk/policy/ehealth/coherent-submitted-measurement"
],
"agent": [
{
"whoReference": {
"reference": "https://patient.local.ehealth.sundhed.dk/fhir/Patient/95487"
}
}
]
}
GET [base]/Provenance?target=https%3A%2F%2Fcareplan.local.ehealth.sundhed.dk%2Ffhir%2FEpisodeOfCare%2F1002
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiODUzYjM1NTAtOTFjNC00NTY0LWE3YTEtNzM3MDZkNGJkMjlkIiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIlByb3ZlbmFuY2Uuc2VhcmNoIl19LCJjb250ZXh0Ijp7ImVwaXNvZGVfb2ZfY2FyZV9pZCI6Imh0dHBzOi8vY2FyZXBsYW4ubG9jYWwuZWhlYWx0aC5zdW5kaGVkLmRrL2ZoaXIvRXBpc29kZU9mQ2FyZS8xMDAyIn0sInVzZXJfdHlwZSI6IlBSQUNUSVRJT05FUiJ9.
Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9
User-Agent: HAPI-FHIR/3.8.0 (FHIR Client; FHIR 3.0.1/DSTU3; apache)
Accept-Encoding: gzip
Response
{
"resourceType": "Bundle",
"id": "fb9843ff-cef2-484e-9bc9-2e646cead384",
"meta": {
"lastUpdated": "2020-04-29T19:25:57.000+00:00"
},
"type": "searchset",
"total": 1,
"link": [
{
"relation": "self",
"url": "https://careplan.local.ehealth.sundhed.dk/fhir/Provenance?_format=json&_pretty=true&target=https%3A%2F%2Fcareplan.local.ehealth.sundhed.dk%2Ffhir%2FEpisodeOfCare%2F1002"
}
],
"entry": [
{
"fullUrl": "https://careplan.local.ehealth.sundhed.dk/fhir/Provenance/1003",
"resource": {
"resourceType": "Provenance",
"id": "1003",
"meta": {
"versionId": "1",
"lastUpdated": "2020-04-29T19:25:56.922+00:00",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-provenance"
]
},
"target": [
{
"reference": "https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/1002"
}
],
"recorded": "2020-04-29T21:25:56.913+02:00",
"policy": [
"policy"
],
"agent": [
{
"whoReference": {
"reference": "https://patient.local.ehealth.sundhed.dk/fhir/Patient/92692"
}
}
]
},
"search": {
"mode": "match"
}
}
]
}
GET [base]/Provenance/996/_history/1
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiYmU0NGMwYjAtYTBhOS00YTExLTg5MzctMTAwYjIyZjUwY2UwIiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIlByb3ZlbmFuY2UucmVhZCJdfSwiY29udGV4dCI6eyJlcGlzb2RlX29mX2NhcmVfaWQiOiJodHRwczovL2NhcmVwbGFuLmxvY2FsLmVoZWFsdGguc3VuZGhlZC5kay9maGlyL0VwaXNvZGVPZkNhcmUvOTk1In0sInVzZXJfdHlwZSI6IlBSQUNUSVRJT05FUiJ9.
Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9
User-Agent: HAPI-FHIR/3.8.0 (FHIR Client; FHIR 3.0.1/DSTU3; apache)
Accept-Encoding: gzip
Response
{
"resourceType": "Provenance",
"id": "996",
"meta": {
"versionId": "1",
"lastUpdated": "2020-04-29T19:25:56.055+00:00",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-provenance"
]
},
"target": [
{
"reference": "https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/995"
}
],
"recorded": "2020-04-29T21:25:56.049+02:00",
"policy": [
"policy"
],
"agent": [
{
"whoReference": {
"reference": "https://patient.local.ehealth.sundhed.dk/fhir/Patient/57894"
}
}
]
}
POST [base]/Provenance/$validate
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiaHR0cHM6Ly9vcmdhbml6YXRpb24ubG9jYWwuZWhlYWx0aC5zdW5kaGVkLmRrL2ZoaXIvUHJhY3RpdGlvbmVyLzc1MDY1IiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIiR0ZXN0LW9ubHktY3JlYXRlIiwiUHJvdmVuYW5jZS5yZWFkIiwiUHJvdmVuYW5jZS5zZWFyY2giXX0sInVzZXJfdHlwZSI6IlNZU1RFTSJ9.
Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9
User-Agent: HAPI-FHIR/3.8.0 (FHIR Client; FHIR 3.0.1/DSTU3; apache)
Accept-Encoding: gzip
Content-Type: application/fhir+json; charset=UTF-8
Body:
{
"resourceType": "Parameters",
"parameter": [
{
"name": "resource",
"resource": {
"resourceType": "Provenance",
"meta": {
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-provenance"
]
},
"target": [
{
"reference": "https://patient.local.ehealth.sundhed.dk/fhir/Patient/29195"
}
],
"recorded": "2020-04-29T21:25:41.007+02:00",
"policy": [
"policy"
],
"agent": [
{
"whoReference": {
"reference": "https://patient.local.ehealth.sundhed.dk/fhir/Patient/36793"
}
}
]
}
}
]
}
Response
{
"resourceType": "OperationOutcome",
"text": {
"status": "generated",
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h1>Operation Outcome</h1><table border=\"0\"><tr><td style=\"font-weight: bold;\">INFORMATION</td><td>[]</td><td><pre>No issues detected during validation</pre></td>\r\r\r</tr>\r<tr>\r<td style=\"font-weight: bold;\">INFORMATION</td>\r<td>[]</td>\r\r\r\r<td><pre>No issues detected during validation</pre></td>\r\r\r</tr>\r</table>\r</div>"
},
"issue": [
{
"severity": "information",
"code": "informational",
"diagnostics": "No issues detected during validation"
},
{
"severity": "information",
"code": "informational",
"diagnostics": "No issues detected during validation"
}
]
}