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-deviceusestatement - Examples

No examples are currently available for the profile.

StructureDefinition: ehealth-deviceusestatement - Operation examples

GET [base]/DeviceUseStatement?patient=https%3A%2F%2Fpatient.cit-device-1111.local%2Ffhir%2FPatient%2F99081&timing=lt2025-09-16

Request Headers

Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiYmNmNzg5NmEtNzE0Zi00ZjVkLWJhM2ItMmI0ODAyZTU4ZTc3IiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIkRldmljZVVzZVN0YXRlbWVudC5yZWFkIl19LCJ1c2VyX3R5cGUiOiJTWVNURU0ifQ.
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 10:41:24 GMT
x-request-id: 9753f57c-8a0a-47a8-844e-ef95feb2338f
server: istio-envoy
x-envoy-upstream-service-time: 426
expires: 0
x-frame-options: DENY
pragma: no-cache
last-modified: Thu, 16 Apr 2026 10:41:24 GMT
x-content-type-options: nosniff
x-xss-protection: 0
x-b3-traceid: 2c6f4cfc0614b7c69aacb06136c97839
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": "bbcd98c5-c2bf-460a-b15e-4b0022f76a6c",
  "meta": {
    "lastUpdated": "2026-04-16T10:41:24.096+00:00"
  },
  "type": "searchset",
  "total": 2,
  "link": [
    {
      "relation": "self",
      "url": "https://device.cit-device-1111.local/fhir/DeviceUseStatement?_format=json&_pretty=true&patient=https%3A%2F%2Fpatient.cit-device-1111.local%2Ffhir%2FPatient%2F99081&timing=lt2025-09-16"
    }
  ],
  "entry": [
    {
      "fullUrl": "https://device.cit-device-1111.local/fhir/DeviceUseStatement/1030",
      "resource": {
        "resourceType": "DeviceUseStatement",
        "id": "1030",
        "meta": {
          "versionId": "1",
          "lastUpdated": "2026-04-16T10:41:21.808+00:00",
          "source": "#b813e33a-caa0-4b",
          "profile": [
            "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement"
          ]
        },
        "extension": [
          {
            "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement-context",
            "valueReference": {
              "reference": "https://careplan.cit-device-1111.local/fhir/CarePlan/70025"
            }
          }
        ],
        "status": "active",
        "subject": {
          "reference": "https://patient.cit-device-1111.local/fhir/Patient/99081"
        },
        "timingPeriod": {
          "start": "2025-04-16T10:41:21+00:00",
          "end": "2025-06-16T10:41:21+00:00"
        },
        "device": {
          "reference": "https://device.cit-device-1111.local/fhir/Device/1029"
        }
      },
      "search": {
        "mode": "match"
      }
    },
    {
      "fullUrl": "https://device.cit-device-1111.local/fhir/DeviceUseStatement/1032",
      "resource": {
        "resourceType": "DeviceUseStatement",
        "id": "1032",
        "meta": {
          "versionId": "1",
          "lastUpdated": "2026-04-16T10:41:22.800+00:00",
          "source": "#96a91fa2-3722-49",
          "profile": [
            "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement"
          ]
        },
        "extension": [
          {
            "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement-context",
            "valueReference": {
              "reference": "https://careplan.cit-device-1111.local/fhir/CarePlan/38202"
            }
          }
        ],
        "status": "active",
        "subject": {
          "reference": "https://patient.cit-device-1111.local/fhir/Patient/99081"
        },
        "timingPeriod": {
          "start": "2025-08-16T10:41:21+00:00",
          "end": "2025-10-16T10:41:21+00:00"
        },
        "device": {
          "reference": "https://device.cit-device-1111.local/fhir/Device/1031"
        }
      },
      "search": {
        "mode": "match"
      }
    }
  ]
}

GET [base]/DeviceUseStatement/1040/_history/2

Request Headers

Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiYzY2MjJiZjAtMTIzOC00OGQ5LWJlOGUtNjQ2ZWU5MzdhNTMzIiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIkRldmljZVVzZVN0YXRlbWVudC5yZWFkIiwiRGV2aWNlVXNlU3RhdGVtZW50LndyaXRlIl19LCJjb250ZXh0Ijp7InBhdGllbnRfaWQiOiJodHRwczovL3BhdGllbnQuY2l0LWRldmljZS0xMTExLmxvY2FsL2ZoaXIvUGF0aWVudC85OTA4MSIsInRlYW1fb25fZW9jIjpmYWxzZX0sInVzZXJfdHlwZSI6IlNZU1RFTSJ9.
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 10:41:27 GMT
x-request-id: 5048e8fa-6596-4a7e-acec-ba4530dd0618
server: istio-envoy
x-envoy-upstream-service-time: 128
expires: 0
x-frame-options: DENY
pragma: no-cache
last-modified: Thu, 16 Apr 2026 10:41:27 GMT
x-content-type-options: nosniff
x-xss-protection: 0
x-b3-traceid: f12cb4ce2a493845d8c6bd056c8830b2
x-powered-by: HAPI FHIR 8.6.5 REST Server (FHIR Server; FHIR 4.0.1/R4)
content-location: https://device.cit-device-1111.local/fhir/DeviceUseStatement/1040/_history/2
content-type: application/fhir+json; charset=UTF-8
etag: W/"2"
cache-control: no-cache, no-store, max-age=0, must-revalidate

Response

{
  "resourceType": "DeviceUseStatement",
  "id": "1040",
  "meta": {
    "versionId": "2",
    "lastUpdated": "2026-04-16T10:41:27.513+00:00",
    "source": "#f7a6129c-d9b4-49",
    "profile": [
      "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement"
    ]
  },
  "extension": [
    {
      "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement-context",
      "valueReference": {
        "reference": "https://careplan.cit-device-1111.local/fhir/CarePlan/15919"
      }
    }
  ],
  "status": "completed",
  "subject": {
    "reference": "https://patient.cit-device-1111.local/fhir/Patient/99081"
  },
  "device": {
    "reference": "https://device.cit-device-1111.local/fhir/Device/1039"
  }
}

POST [base]/DeviceUseStatement

Request Headers

Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiOTc3YzcxOTItYzM2NC00Y2FmLWI1ZWUtOTczMDlmZGYwNGI2IiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIkRldmljZVVzZVN0YXRlbWVudC53cml0ZSJdfSwiY29udGV4dCI6eyJwYXRpZW50X2lkIjoiaHR0cHM6Ly9wYXRpZW50LmNpdC1kZXZpY2UtMTExMS5sb2NhbC9maGlyL1BhdGllbnQvNDgzOTkiLCJ0ZWFtX29uX2VvYyI6ZmFsc2V9LCJ1c2VyX3R5cGUiOiJTWVNURU0ifQ.
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": "DeviceUseStatement",
  "meta": {
    "profile": [
      "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement"
    ]
  },
  "extension": [
    {
      "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement-context",
      "valueReference": {
        "reference": "https://careplan.cit-device-1111.local/fhir/CarePlan/35142"
      }
    }
  ],
  "status": "active",
  "subject": {
    "reference": "https://patient.cit-device-1111.local/fhir/Patient/48399"
  },
  "device": {
    "reference": "https://device.cit-device-1111.local/fhir/Device/1154"
  }
}

Response Headers

date: Thu, 16 Apr 2026 10:44:22 GMT
x-request-id: 273f0bec-04d4-401a-bef7-939d83453c96
server: istio-envoy
x-envoy-upstream-service-time: 124
expires: 0
x-frame-options: DENY
pragma: no-cache
last-modified: Thu, 16 Apr 2026 10:44:22 GMT
x-content-type-options: nosniff
x-xss-protection: 0
x-b3-traceid: 34dbdb647709a61bfeaf58f432aa6128
x-powered-by: HAPI FHIR 8.6.5 REST Server (FHIR Server; FHIR 4.0.1/R4)
content-location: https://device.cit-device-1111.local/fhir/DeviceUseStatement/1156/_history/1
content-type: application/fhir+json; charset=UTF-8
etag: W/"1"
location: https://device.cit-device-1111.local/fhir/DeviceUseStatement/1156/_history/1
cache-control: no-cache, no-store, max-age=0, must-revalidate

Response

{
  "resourceType": "DeviceUseStatement",
  "id": "1156",
  "meta": {
    "versionId": "1",
    "lastUpdated": "2026-04-16T10:44:22.204+00:00",
    "source": "#273f0bec-04d4-401a-bef7-939d83453c96",
    "profile": [
      "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement"
    ]
  },
  "extension": [
    {
      "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement-context",
      "valueReference": {
        "reference": "https://careplan.cit-device-1111.local/fhir/CarePlan/35142"
      }
    }
  ],
  "status": "active",
  "subject": {
    "reference": "https://patient.cit-device-1111.local/fhir/Patient/48399"
  },
  "device": {
    "reference": "https://device.cit-device-1111.local/fhir/Device/1154"
  }
}

POST [base]/DeviceUseStatement/$validate

Request Headers

Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiODIyY2UxYzAtNjU0MC00MDk0LTkyNmQtZTY3ODQxMGM5NDk4IiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIkRldmljZVVzZVN0YXRlbWVudC5yZWFkIl19LCJ1c2VyX3R5cGUiOiJTWVNURU0ifQ.
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": "DeviceUseStatement",
        "meta": {
          "profile": [
            "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement"
          ]
        },
        "extension": [
          {
            "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement-context",
            "valueReference": {
              "reference": "https://careplan.cit-device-1111.local/fhir/CarePlan/57313"
            }
          }
        ],
        "status": "active",
        "subject": {
          "reference": "https://patient.cit-device-1111.local/fhir/Patient/2041"
        },
        "source": {
          "reference": "https://patient.cit-device-1111.local/fhir/Patient/99081"
        },
        "device": {
          "reference": "https://device.cit-device-1111.local/fhir/Device/1046"
        }
      }
    }
  ]
}

Response Headers

date: Thu, 16 Apr 2026 10:41:31 GMT
x-request-id: ad3986ee-dae5-417d-8da5-9f453eac75a0
server: istio-envoy
x-envoy-upstream-service-time: 361
expires: 0
x-content-type-options: nosniff
x-xss-protection: 0
x-b3-traceid: f9b4990f31b75fe728497e61271a9617
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"
    }
  ]
}

PUT [base]/DeviceUseStatement/1040

Request Headers

Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiYzY2MjJiZjAtMTIzOC00OGQ5LWJlOGUtNjQ2ZWU5MzdhNTMzIiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIkRldmljZVVzZVN0YXRlbWVudC5yZWFkIiwiRGV2aWNlVXNlU3RhdGVtZW50LndyaXRlIl19LCJjb250ZXh0Ijp7InBhdGllbnRfaWQiOiJodHRwczovL3BhdGllbnQuY2l0LWRldmljZS0xMTExLmxvY2FsL2ZoaXIvUGF0aWVudC85OTA4MSIsInRlYW1fb25fZW9jIjpmYWxzZX0sInVzZXJfdHlwZSI6IlNZU1RFTSJ9.
If-Match: W/"1"
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": "DeviceUseStatement",
  "id": "1040",
  "meta": {
    "versionId": "1",
    "lastUpdated": "2026-04-16T10:41:27.243+00:00",
    "source": "#c42ef7e8-4b8b-4af5-8d8f-92ecfc7be14a",
    "profile": [
      "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement"
    ]
  },
  "extension": [
    {
      "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement-context",
      "valueReference": {
        "reference": "https://careplan.cit-device-1111.local/fhir/CarePlan/15919"
      }
    }
  ],
  "status": "completed",
  "subject": {
    "reference": "https://patient.cit-device-1111.local/fhir/Patient/99081"
  },
  "device": {
    "reference": "https://device.cit-device-1111.local/fhir/Device/1039"
  }
}

Response Headers

date: Thu, 16 Apr 2026 10:41:27 GMT
x-request-id: f7a6129c-d9b4-494d-8e70-4a6b6f1cdec1
server: istio-envoy
x-envoy-upstream-service-time: 276
expires: 0
x-frame-options: DENY
pragma: no-cache
last-modified: Thu, 16 Apr 2026 10:41:27 GMT
x-content-type-options: nosniff
x-xss-protection: 0
x-b3-traceid: b589f355e8d131af824db662270a50ae
x-powered-by: HAPI FHIR 8.6.5 REST Server (FHIR Server; FHIR 4.0.1/R4)
content-location: https://device.cit-device-1111.local/fhir/DeviceUseStatement/1040/_history/2
content-type: application/fhir+json; charset=UTF-8
etag: W/"2"
cache-control: no-cache, no-store, max-age=0, must-revalidate

Response

{
  "resourceType": "DeviceUseStatement",
  "id": "1040",
  "meta": {
    "versionId": "2",
    "lastUpdated": "2026-04-16T10:41:27.513+00:00",
    "source": "#f7a6129c-d9b4-494d-8e70-4a6b6f1cdec1",
    "profile": [
      "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement"
    ]
  },
  "extension": [
    {
      "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement-context",
      "valueReference": {
        "reference": "https://careplan.cit-device-1111.local/fhir/CarePlan/15919"
      }
    }
  ],
  "status": "completed",
  "subject": {
    "reference": "https://patient.cit-device-1111.local/fhir/Patient/99081"
  },
  "device": {
    "reference": "https://device.cit-device-1111.local/fhir/Device/1039"
  }
}