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

No examples are currently available for the profile.

StructureDefinition: ehealth-device - Operation examples

GET [base]/Device/1122

Request Headers

Authorization: Bearer eyJhbGciOiJub25lIn0.eyJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiRGV2aWNlLnJlYWQiLCJEZXZpY2Uud3JpdGUiLCIkbWlncmF0ZSIsIiR0ZXN0LW9ubHktY3JlYXRlIl19LCJ1c2VyX3R5cGUiOiJTWVNURU0ifQ.
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:43:53 GMT
x-request-id: 71349ea5-5b26-4a60-a4fd-7853375e8e5d
server: istio-envoy
x-envoy-upstream-service-time: 259
expires: 0
x-frame-options: DENY
pragma: no-cache
last-modified: Thu, 16 Apr 2026 10:43:51 GMT
x-content-type-options: nosniff
x-xss-protection: 0
x-b3-traceid: acf06372840060df04f18bc9760b7bb9
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/Device/1122/_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": "Device",
  "id": "1122",
  "meta": {
    "versionId": "1",
    "lastUpdated": "2026-04-16T10:43:51.748+00:00",
    "source": "#84e0bfd4-c518-4b",
    "profile": [
      "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device"
    ]
  },
  "extension": [
    {
      "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device-privatelyOwned",
      "valueBoolean": true
    }
  ],
  "status": "active",
  "owner": {
    "reference": "https://organization.cit-device-1111.local/fhir/Organization/97912"
  }
}

GET [base]/Device?manufacturer%3Aexact=c62862ba-0a68-4353-a3a7-c3a6b1535740&model%3Aexact=640c3d78-af88-4e13-a91e-49914de9de88

Request Headers

Authorization: Bearer eyJhbGciOiJub25lIn0.eyJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiRGV2aWNlLnJlYWQiLCJEZXZpY2Uud3JpdGUiLCIkdGVzdC1vbmx5LWNyZWF0ZSJdfSwidXNlcl90eXBlIjoiU1lTVEVNIn0.
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:44:06 GMT
x-request-id: 0a9e82fc-21b6-9e4c-9b5e-ba8feb8ab8e0
server: istio-envoy
x-envoy-upstream-service-time: 94
expires: 0
x-frame-options: DENY
pragma: no-cache
last-modified: Thu, 16 Apr 2026 10:44:06 GMT
x-content-type-options: nosniff
x-xss-protection: 0
x-b3-traceid: ed8dc576a7e7e56bd2be7f0272d123e5
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": "abdea111-cca7-440f-9eac-aae7c9bf5234",
  "meta": {
    "lastUpdated": "2026-04-16T10:44:06.626+00:00"
  },
  "type": "searchset",
  "total": 2,
  "link": [
    {
      "relation": "self",
      "url": "https://device.cit-device-1111.local/fhir/Device?_format=json&_pretty=true&manufacturer%3Aexact=c62862ba-0a68-4353-a3a7-c3a6b1535740&model%3Aexact=640c3d78-af88-4e13-a91e-49914de9de88"
    }
  ],
  "entry": [
    {
      "fullUrl": "https://device.cit-device-1111.local/fhir/Device/1134",
      "resource": {
        "resourceType": "Device",
        "id": "1134",
        "meta": {
          "versionId": "1",
          "lastUpdated": "2026-04-16T10:44:06.022+00:00",
          "source": "#a9e61f0d-467e-93",
          "profile": [
            "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device"
          ]
        },
        "extension": [
          {
            "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device-privatelyOwned",
            "valueBoolean": true
          }
        ],
        "status": "active",
        "manufacturer": "c62862ba-0a68-4353-a3a7-c3a6b1535740",
        "modelNumber": "640c3d78-af88-4e13-a91e-49914de9de88"
      },
      "search": {
        "mode": "match"
      }
    },
    {
      "fullUrl": "https://device.cit-device-1111.local/fhir/Device/1136",
      "resource": {
        "resourceType": "Device",
        "id": "1136",
        "meta": {
          "versionId": "1",
          "lastUpdated": "2026-04-16T10:44:06.318+00:00",
          "source": "#0502a155-51a9-43",
          "profile": [
            "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device"
          ]
        },
        "extension": [
          {
            "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device-privatelyOwned",
            "valueBoolean": true
          }
        ],
        "status": "active",
        "manufacturer": "c62862ba-0a68-4353-a3a7-c3a6b1535740",
        "modelNumber": "640c3d78-af88-4e13-a91e-49914de9de88"
      },
      "search": {
        "mode": "match"
      }
    }
  ]
}

GET [base]/Device/1171/_history/1

Request Headers

Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiZGVlYTgxYjUtZjIyYi00MTZlLWJiZGYtYTM1YmQ1MzA0ZjFmIiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIkRldmljZS5yZWFkIl19LCJjb250ZXh0Ijp7Im9yZ2FuaXphdGlvbl9pZCI6IjQyIiwicGF0aWVudF9pZCI6IjQyIiwidGVhbV9vbl9lb2MiOmZhbHNlfSwidXNlcl90eXBlIjoiUFJBQ1RJVElPTkVSIn0.
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:44:29 GMT
x-request-id: b269d283-d248-49d3-924b-2de037cc9729
server: istio-envoy
x-envoy-upstream-service-time: 91
expires: 0
x-frame-options: DENY
pragma: no-cache
last-modified: Thu, 16 Apr 2026 10:44:28 GMT
x-content-type-options: nosniff
x-xss-protection: 0
x-b3-traceid: 0cb1fa6a99676903999eb5b60d2fa300
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/Device/1171/_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": "Device",
  "id": "1171",
  "meta": {
    "versionId": "1",
    "lastUpdated": "2026-04-16T10:44:28.420+00:00",
    "source": "#717aa69e-c1b4-4a",
    "profile": [
      "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device"
    ]
  },
  "extension": [
    {
      "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device-privatelyOwned",
      "valueBoolean": false
    }
  ],
  "status": "active",
  "owner": {
    "reference": "https://organization.cit-device-1111.local/fhir/Organization/9054"
  }
}

POST [base]/Device

Request Headers

Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiMTQxMTJhMmQtNmFlYi00MzNhLThjZGEtZDFmMGM0MWFlY2UyIiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIkRldmljZS53cml0ZSJdfSwidXNlcl90eXBlIjoiU1lTVEVNIn0.
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": "Device",
  "meta": {
    "profile": [
      "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device"
    ]
  },
  "extension": [
    {
      "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device-privatelyOwned",
      "valueBoolean": false
    }
  ],
  "status": "active",
  "owner": {
    "reference": "https://organization.cit-device-1111.local/fhir/Organization/10352"
  }
}

Response Headers

date: Thu, 16 Apr 2026 10:44:28 GMT
x-request-id: d5951694-4aa3-4879-b66e-0d3f92f5cd13
server: istio-envoy
x-envoy-upstream-service-time: 114
expires: 0
x-frame-options: DENY
pragma: no-cache
last-modified: Thu, 16 Apr 2026 10:44:28 GMT
x-content-type-options: nosniff
x-xss-protection: 0
x-b3-traceid: c8acc26df72b8301a5dec91c1f240c6a
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/Device/1170/_history/1
content-type: application/fhir+json; charset=UTF-8
etag: W/"1"
location: https://device.cit-device-1111.local/fhir/Device/1170/_history/1
cache-control: no-cache, no-store, max-age=0, must-revalidate

Response

{
  "resourceType": "Device",
  "id": "1170",
  "meta": {
    "versionId": "1",
    "lastUpdated": "2026-04-16T10:44:28.030+00:00",
    "source": "#d5951694-4aa3-4879-b66e-0d3f92f5cd13",
    "profile": [
      "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device"
    ]
  },
  "extension": [
    {
      "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device-privatelyOwned",
      "valueBoolean": false
    }
  ],
  "status": "active",
  "owner": {
    "reference": "https://organization.cit-device-1111.local/fhir/Organization/10352"
  }
}

POST [base]/Device/$validate

Request Headers

Authorization: Bearer eyJhbGciOiJub25lIn0.eyJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiRGV2aWNlLnJlYWQiLCJEZXZpY2Uud3JpdGUiLCIkdGVzdC1vbmx5LWNyZWF0ZSJdfSwidXNlcl90eXBlIjoiU1lTVEVNIn0.
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": "Device",
        "meta": {
          "profile": [
            "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device"
          ]
        },
        "extension": [
          {
            "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device-privatelyOwned",
            "valueBoolean": true
          }
        ],
        "identifier": [
          {
            "type": {
              "coding": [
                {
                  "system": "http://ehealth.sundhed.dk/cs/device-types",
                  "code": "TBD"
                }
              ]
            }
          }
        ],
        "status": "active"
      }
    }
  ]
}

Response Headers

date: Thu, 16 Apr 2026 10:44:17 GMT
x-request-id: 0a5b965e-5310-48f3-b622-f59778ecc70d
server: istio-envoy
x-envoy-upstream-service-time: 88
expires: 0
x-content-type-options: nosniff
x-xss-protection: 0
x-b3-traceid: d57f7ffe0b07f3c4b8235613cff0e7b7
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]/Device/1180

Request Headers

Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiMTBmOTE5OGUtMzUzZi00NzBjLTlkMTItNmZhZGRhNTkzOWFlIiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIkRldmljZS5yZWFkIiwiRGV2aWNlLndyaXRlIiwiRGV2aWNlVXNlU3RhdGVtZW50LnJlYWQiXX0sImNvbnRleHQiOnsicGF0aWVudF9pZCI6Imh0dHBzOi8vcGF0aWVudC5jaXQtZGV2aWNlLTExMTEubG9jYWwvZmhpci9QYXRpZW50LzU0MTQwIiwidGVhbV9vbl9lb2MiOmZhbHNlfSwidXNlcl90eXBlIjoiUEFUSUVOVCJ9.
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": "Device",
  "id": "1180",
  "meta": {
    "versionId": "1",
    "lastUpdated": "2026-04-16T10:44:30.840+00:00",
    "source": "#58b34545-d31d-4fe7-8f4a-6d477d0660d2",
    "profile": [
      "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device"
    ]
  },
  "extension": [
    {
      "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device-privatelyOwned",
      "valueBoolean": true
    }
  ],
  "status": "active",
  "owner": {
    "reference": "https://organization.cit-device-1111.local/fhir/Organization/1914"
  }
}

Response Headers

date: Thu, 16 Apr 2026 10:44:31 GMT
x-request-id: c736d031-4008-4376-bc57-ac07c6f9086e
server: istio-envoy
x-envoy-upstream-service-time: 125
expires: 0
x-frame-options: DENY
pragma: no-cache
last-modified: Thu, 16 Apr 2026 10:44:30 GMT
x-content-type-options: nosniff
x-xss-protection: 0
x-b3-traceid: a51273a8009b4468afe5bb84035294cc
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/Device/1180/_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": "Device",
  "id": "1180",
  "meta": {
    "versionId": "1",
    "lastUpdated": "2026-04-16T10:44:30.840+00:00",
    "source": "#58b34545-d31d-4fe7-8f4a-6d477d0660d2",
    "profile": [
      "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device"
    ]
  },
  "extension": [
    {
      "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device-privatelyOwned",
      "valueBoolean": true
    }
  ],
  "status": "active",
  "owner": {
    "reference": "https://organization.cit-device-1111.local/fhir/Organization/1914"
  }
}