GET [base]/Provenance/358
Header
Accept-Charset: utf-8
Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9
User-Agent: HAPI-FHIR/3.7.0 (FHIR Client; FHIR 3.0.1/DSTU3; apache)
Accept-Encoding: gzip
Response
{
"resourceType": "Provenance",
"id": "358",
"meta": {
"versionId": "1",
"lastUpdated": "2019-05-29T09:14:38.487+00:00",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-provenance"
]
},
"target": [
{
"reference": "http://local.ehealth.sundhed.dk:31380/trifork-fhir-server/Patient/45265"
}
],
"recorded": "2019-05-29T11:14:38.480+02:00",
"policy": [
"policy"
],
"agent": [
{
"whoReference": {
"reference": "http://local.ehealth.sundhed.dk:31380/trifork-fhir-server/Patient/75042"
}
}
]
}
GET [base]/Provenance/282/_history/1
Header
Accept-Charset: utf-8
Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9
User-Agent: HAPI-FHIR/3.7.0 (FHIR Client; FHIR 3.0.1/DSTU3; apache)
Accept-Encoding: gzip
Response
{
"resourceType": "Provenance",
"id": "282",
"meta": {
"versionId": "1",
"lastUpdated": "2019-05-29T08:14:29.080+00:00",
"profile": [
"http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-provenance"
]
},
"target": [
{
"reference": "http://local.ehealth.sundhed.dk:31380/measurement/fhir/Observation/283"
}
],
"recorded": "2019-05-29T10:14:29.057+02:00",
"policy": [
"policy"
],
"agent": [
{
"whoReference": {
"reference": "http://local.ehealth.sundhed.dk:31380/trifork-fhir-server/Patient/60668"
}
}
]
}
POST [base]/Provenance/$validate
Header
Accept-Charset: utf-8
Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9
User-Agent: HAPI-FHIR/3.7.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": "http://local.ehealth.sundhed.dk:31380/trifork-fhir-server/Patient/74561"
}
],
"recorded": "2019-05-29T10:13:44.785+02:00",
"policy": [
"policy"
],
"agent": [
{
"whoReference": {
"reference": "http://local.ehealth.sundhed.dk:31380/trifork-fhir-server/Patient/14178"
}
}
]
}
}
]
}
Response
{
"resourceType": "OperationOutcome",
"text": {
"status": "generated",
"div": "\u003cdiv xmlns\u003d\"http://www.w3.org/1999/xhtml\"\u003e\u003ch1\u003eOperation Outcome\u003c/h1\u003e\u003ctable border\u003d\"0\"\u003e\u003ctr\u003e\u003ctd style\u003d\"font-weight: bold;\"\u003eINFORMATION\u003c/td\u003e\u003ctd\u003e[]\u003c/td\u003e\u003ctd\u003e\u003cpre\u003eNo issues detected during validation\u003c/pre\u003e\u003c/td\u003e\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\u003c/tr\u003e\r\n\t\t\u003c/table\u003e\r\n\t\u003c/div\u003e"
},
"issue": [
{
"severity": "information",
"code": "informational",
"diagnostics": "No issues detected during validation"
},
{
"severity": "information",
"code": "informational",
"diagnostics": "No issues detected during validation"
}
]
}