eHealth Infrastructure
9.0.0 - release DK

This page is part of the FUT Infrastructure (v9.0.0: Release) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

Resource Profile: ehealth-provenance - Examples

No examples are currently available for the profile.

StructureDefinition: ehealth-provenance - Operation examples

GET [base]/Provenance/1132

Request Headers

Authorization: Bearer eyJhbGciOiJub25lIn0.eyJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiJHRlc3Qtb25seS1jcmVhdGUiLCJQcm92ZW5hbmNlLnJlYWQiLCJQcm92ZW5hbmNlLnNlYXJjaCJdfSwidXNlcl90eXBlIjoiU1lTVEVNIn0.
Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9
User-Agent: HAPI-FHIR/8.6.5 (FHIR Client; FHIR 4.0.1/R4; apache)
Accept-Encoding: gzip

Response Headers

date: Thu, 16 Apr 2026 11:32:57 GMT
x-request-id: aebae557-80a5-4963-9fd0-b6cb0d434870
server: istio-envoy
x-envoy-upstream-service-time: 132
expires: 0
x-frame-options: DENY
pragma: no-cache
last-modified: Thu, 16 Apr 2026 11:32:57 GMT
x-content-type-options: nosniff
x-xss-protection: 0
x-b3-traceid: acb61ab5954bfd8f126760b14f128029
x-powered-by: HAPI FHIR 8.6.5 REST Server (FHIR Server; FHIR 4.0.1/R4)
content-location: https://organization.cit-organization-1498.local/fhir/Provenance/1132/_history/1
content-type: application/fhir+json; charset=UTF-8
etag: W/"1"
cache-control: no-cache, no-store, max-age=0, must-revalidate

Response

{
  "resourceType": "Provenance",
  "id": "1132",
  "meta": {
    "versionId": "1",
    "lastUpdated": "2026-04-16T11:32:57.588+00:00",
    "source": "#71993e52-f00b-47",
    "profile": [
      "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-provenance"
    ]
  },
  "target": [
    {
      "reference": "https://patient.cit-organization-1498.local/fhir/Patient/55793"
    }
  ],
  "recorded": "2026-04-16T11:32:57.400+00:00",
  "policy": [
    "healthcare-act"
  ],
  "agent": [
    {
      "who": {
        "reference": "https://patient.cit-organization-1498.local/fhir/Patient/84813"
      }
    }
  ]
}

GET [base]/Provenance?target=https%3A%2F%2Forganization.cit-organization-1498.local%2Ffhir%2FOrganization%2F1143%2F_history%2F1&_count=1

Request Headers

Authorization: Bearer eyJhbGciOiJub25lIn0.eyJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiJHRlc3Qtb25seS1jcmVhdGUiLCJQcm92ZW5hbmNlLnJlYWQiLCJQcm92ZW5hbmNlLnNlYXJjaCJdfSwidXNlcl90eXBlIjoiU1lTVEVNIn0.
Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9
User-Agent: HAPI-FHIR/8.6.5 (FHIR Client; FHIR 4.0.1/R4; apache)
Accept-Encoding: gzip

Response Headers

date: Thu, 16 Apr 2026 11:33:01 GMT
x-request-id: 5e845cb4-9ad8-4f42-8e5e-9061070a8aaf
server: istio-envoy
x-envoy-upstream-service-time: 102
expires: 0
x-frame-options: DENY
pragma: no-cache
last-modified: Thu, 16 Apr 2026 11:33:01 GMT
x-content-type-options: nosniff
x-xss-protection: 0
x-b3-traceid: a7176e97f70e930b9d6adec528e996d1
x-powered-by: HAPI FHIR 8.6.5 REST Server (FHIR Server; FHIR 4.0.1/R4)
content-type: application/fhir+json; charset=UTF-8
cache-control: no-cache, no-store, max-age=0, must-revalidate

Response

{
  "resourceType": "Bundle",
  "id": "af7fa31f-094d-4bd5-b265-d548668a226a",
  "meta": {
    "lastUpdated": "2026-04-16T11:33:01.743+00:00"
  },
  "type": "searchset",
  "total": 2,
  "link": [
    {
      "relation": "self",
      "url": "https://organization.cit-organization-1498.local/fhir/Provenance?_count=1&_format=json&_pretty=true&target=https%3A%2F%2Forganization.cit-organization-1498.local%2Ffhir%2FOrganization%2F1143%2F_history%2F1"
    },
    {
      "relation": "next",
      "url": "https://organization.cit-organization-1498.local/fhir?_getpages=af7fa31f-094d-4bd5-b265-d548668a226a&_getpagesoffset=1&_count=1&_format=json&_pretty=true&_bundletype=searchset"
    }
  ],
  "entry": [
    {
      "fullUrl": "https://organization.cit-organization-1498.local/fhir/Provenance/1144",
      "resource": {
        "resourceType": "Provenance",
        "id": "1144",
        "meta": {
          "versionId": "1",
          "lastUpdated": "2026-04-16T11:33:01.138+00:00",
          "source": "#722897e8-ba9e-43",
          "profile": [
            "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-provenance"
          ]
        },
        "target": [
          {
            "reference": "https://organization.cit-organization-1498.local/fhir/Organization/1143"
          }
        ],
        "recorded": "2026-04-16T11:33:00.969+00:00",
        "policy": [
          "healthcare-act"
        ],
        "agent": [
          {
            "who": {
              "reference": "https://patient.cit-organization-1498.local/fhir/Patient/61718"
            }
          }
        ]
      },
      "search": {
        "mode": "match"
      }
    }
  ]
}

GET [base]/Provenance/1149/_history/1

Request Headers

Authorization: Bearer eyJhbGciOiJub25lIn0.eyJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiJHRlc3Qtb25seS1jcmVhdGUiLCJQcm92ZW5hbmNlLnJlYWQiLCJQcm92ZW5hbmNlLnNlYXJjaCJdfSwidXNlcl90eXBlIjoiU1lTVEVNIn0.
Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9
User-Agent: HAPI-FHIR/8.6.5 (FHIR Client; FHIR 4.0.1/R4; apache)
Accept-Encoding: gzip

Response Headers

date: Thu, 16 Apr 2026 11:33:02 GMT
x-request-id: f356e47a-3bc1-46c3-8a5d-f96cfc8088c1
server: istio-envoy
x-envoy-upstream-service-time: 76
expires: 0
x-frame-options: DENY
pragma: no-cache
last-modified: Thu, 16 Apr 2026 11:33:02 GMT
x-content-type-options: nosniff
x-xss-protection: 0
x-b3-traceid: 177b34c206a1b95c4594c382e47d534b
x-powered-by: HAPI FHIR 8.6.5 REST Server (FHIR Server; FHIR 4.0.1/R4)
content-location: https://organization.cit-organization-1498.local/fhir/Provenance/1149/_history/1
content-type: application/fhir+json; charset=UTF-8
etag: W/"1"
cache-control: no-cache, no-store, max-age=0, must-revalidate

Response

{
  "resourceType": "Provenance",
  "id": "1149",
  "meta": {
    "versionId": "1",
    "lastUpdated": "2026-04-16T11:33:02.602+00:00",
    "source": "#c5a557a4-447a-4e",
    "profile": [
      "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-provenance"
    ]
  },
  "target": [
    {
      "reference": "https://organization.cit-organization-1498.local/fhir/Organization/1148"
    }
  ],
  "recorded": "2026-04-16T11:33:02.443+00:00",
  "policy": [
    "healthcare-act"
  ],
  "agent": [
    {
      "who": {
        "reference": "https://patient.cit-organization-1498.local/fhir/Patient/7437"
      }
    }
  ]
}

POST [base]/Provenance/$validate

Request Headers

Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiaHR0cHM6Ly9vcmdhbml6YXRpb24uY2l0LWNhcmVwbGFuLTM5MjAubG9jYWwvZmhpci9QcmFjdGl0aW9uZXIvOTkwMTMiLCJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiUHJvdmVuYW5jZS5yZWFkIiwiUHJvdmVuYW5jZS5zZWFyY2giXX0sInVzZXJfdHlwZSI6IlNZU1RFTSIsInNjb3BlIjoib3BlbmlkIGh0dHA6Ly9laGVhbHRoLnN1bmRoZWQuZGsvY3MvZWhlYWx0aC1zeXN0ZW18eGEifQ.
Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9
User-Agent: HAPI-FHIR/8.6.5 (FHIR Client; FHIR 4.0.1/R4; 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-3920.local/fhir/Patient/47655"
          }
        ],
        "recorded": "2026-04-16T10:48:13.014+00:00",
        "policy": [
          "healthcare-act"
        ],
        "agent": [
          {
            "who": {
              "reference": "https://patient.cit-careplan-3920.local/fhir/Patient/78833"
            }
          }
        ]
      }
    }
  ]
}

Response Headers

date: Thu, 16 Apr 2026 10:48:13 GMT
x-request-id: 27adf4b8-9c5e-4274-b62d-53d9612c7da6
server: istio-envoy
x-envoy-upstream-service-time: 63
expires: 0
x-content-type-options: nosniff
x-xss-protection: 0
x-b3-traceid: b4ba7ce7eaf7dd1132b3acae0d278aaa
x-frame-options: DENY
x-powered-by: HAPI FHIR 8.6.5 REST Server (FHIR Server; FHIR 4.0.1/R4)
content-type: application/fhir+json; charset=UTF-8
cache-control: no-cache, no-store, max-age=0, must-revalidate
pragma: no-cache

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>No issues detected during validation</td></tr><tr><td style=\"font-weight: bold;\">INFORMATION</td><td>[]</td><td>No issues detected during validation</td></tr></table></div>"
  },
  "issue": [
    {
      "severity": "information",
      "code": "informational",
      "diagnostics": "No issues detected during validation"
    },
    {
      "severity": "information",
      "code": "informational",
      "diagnostics": "No issues detected during validation"
    }
  ]
}