GET [base]/Provenance/533
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiOTAzOWRiMDItZmRlYS00ODUwLTk2ZTktMTY5ODU3ZWIwNGY3IiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIlByb3ZlbmFuY2UucmVhZCJdfSwidXNlcl90eXBlIjoiU1lTVEVNIn0.
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": "533",
"meta": {
"versionId": "1",
"lastUpdated": "2020-06-22T20:00:06.797+00:00",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-provenance"
]
},
"target": [
{
"reference": "https://patient.cit-measurement-1074.local/fhir/Patient/68600"
}
],
"recorded": "2020-06-22T20:00:06.769+00:00",
"policy": [
"policy"
],
"agent": [
{
"whoReference": {
"reference": "https://patient.cit-measurement-1074.local/fhir/Patient/1386"
}
}
]
}
GET [base]/Provenance?target=https%3A%2F%2Fcareplan.cit-careplan-1279.local%2Ffhir%2FEpisodeOfCare%2F792%2F_history%2F1
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiaHR0cHM6Ly9vcmdhbml6YXRpb24uY2l0LWNhcmVwbGFuLTEyNzkubG9jYWwvZmhpci9QcmFjdGl0aW9uZXIvMjEwNjUiLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiJHRlc3Qtb25seS1jcmVhdGUiLCJQcm92ZW5hbmNlLnJlYWQiLCJQcm92ZW5hbmNlLnNlYXJjaCJdfSwidXNlcl90eXBlIjoiU1lTVEVNIn0.
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": "e1d964fe-0a6c-4cf8-87a4-af34c9437a0d",
"meta": {
"lastUpdated": "2020-06-23T08:12:38.587+00:00"
},
"type": "searchset",
"total": 1,
"link": [
{
"relation": "self",
"url": "https://careplan.cit-careplan-1279.local/fhir/Provenance?_format=json&_pretty=true&target=https%3A%2F%2Fcareplan.cit-careplan-1279.local%2Ffhir%2FEpisodeOfCare%2F792%2F_history%2F1"
}
],
"entry": [
{
"fullUrl": "https://careplan.cit-careplan-1279.local/fhir/Provenance/793",
"resource": {
"resourceType": "Provenance",
"id": "793",
"meta": {
"versionId": "1",
"lastUpdated": "2020-06-23T08:12:38.471+00:00",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-provenance"
]
},
"target": [
{
"reference": "https://careplan.cit-careplan-1279.local/fhir/EpisodeOfCare/792"
}
],
"recorded": "2020-06-23T08:12:38.431+00:00",
"policy": [
"policy"
],
"agent": [
{
"whoReference": {
"reference": "https://patient.cit-careplan-1279.local/fhir/Patient/29191"
}
}
]
},
"search": {
"mode": "match"
}
}
]
}
GET [base]/Provenance/447/_history/1
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiOTQ2ZThkYTUtOThkMi00NmRkLTgzMGYtMzIyYWY5OTEwNTc5IiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIlByb3ZlbmFuY2UucmVhZCJdfSwiY29udGV4dCI6eyJlcGlzb2RlX29mX2NhcmVfaWQiOiJodHRwczovL2NhcmVwbGFuLmNpdC1jYXJlcGxhbi0xMjc5LmxvY2FsL2ZoaXIvRXBpc29kZU9mQ2FyZS80NDYiLCJ0ZWFtX29uX2VvYyI6ZmFsc2V9LCJ1c2VyX3R5cGUiOiJQUkFDVElUSU9ORVIifQ.
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": "447",
"meta": {
"versionId": "1",
"lastUpdated": "2020-06-23T08:10:38.490+00:00",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-provenance"
]
},
"target": [
{
"reference": "https://careplan.cit-careplan-1279.local/fhir/EpisodeOfCare/446"
}
],
"recorded": "2020-06-23T08:10:38.449+00:00",
"policy": [
"policy"
],
"agent": [
{
"whoReference": {
"reference": "https://patient.cit-careplan-1279.local/fhir/Patient/68993"
}
}
]
}
POST [base]/Provenance/$validate
Header
Accept-Charset: utf-8
Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiaHR0cHM6Ly9vcmdhbml6YXRpb24uY2l0LWNhcmVwbGFuLTEyNzkubG9jYWwvZmhpci9QcmFjdGl0aW9uZXIvNzA2OTkiLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiJHRlc3Qtb25seS1jcmVhdGUiLCJQcm92ZW5hbmNlLnJlYWQiLCJQcm92ZW5hbmNlLnNlYXJjaCJdfSwidXNlcl90eXBlIjoiU1lTVEVNIn0.
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.cit-careplan-1279.local/fhir/Patient/11867"
}
],
"recorded": "2020-06-23T08:12:39.304+00:00",
"policy": [
"policy"
],
"agent": [
{
"whoReference": {
"reference": "https://patient.cit-careplan-1279.local/fhir/Patient/78728"
}
}
]
}
}
]
}
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"
}
]
}