eHealth Infrastructure 2.10.0 - release
Publish Box goes here
No examples are currently available for the profile.
GET [base]/Device?manufacturer%3Aexact=9f03b901-ee00-4617-9a48-ffe305a383f5&model%3Aexact=c99adfc9-05af-47f7-ac6b-fe06be3a9da6
Header
Accept-Charset: utf-8 Authorization: Bearer eyJhbGciOiJub25lIn0.eyJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiRGV2aWNlLnJlYWQiLCJEZXZpY2Uud3JpdGUiLCIkdGVzdC1vbmx5LWNyZWF0ZSJdfSwidXNlcl90eXBlIjoiU1lTVEVNIn0. Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9 User-Agent: HAPI-FHIR/6.2.1 (FHIR Client; FHIR 4.0.1/R4; apache) Accept-Encoding: gzip
Response
{ "resourceType": "Bundle", "id": "770947d5-8601-4300-b46f-e9c6a6656114", "meta": { "lastUpdated": "2023-10-16T09:37:33.228+00:00" }, "type": "searchset", "total": 2, "link": [ { "relation": "self", "url": "https://device.cit-device-852.local/fhir/Device?_format=json&_pretty=true&manufacturer%3Aexact=9f03b901-ee00-4617-9a48-ffe305a383f5&model%3Aexact=c99adfc9-05af-47f7-ac6b-fe06be3a9da6" } ], "entry": [ { "fullUrl": "https://device.cit-device-852.local/fhir/Device/141", "resource": { "resourceType": "Device", "id": "141", "meta": { "versionId": "1", "lastUpdated": "2023-10-16T09:37:32.582+00:00", "source": "#2b82db03-cc7e-9b", "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": "9f03b901-ee00-4617-9a48-ffe305a383f5", "modelNumber": "c99adfc9-05af-47f7-ac6b-fe06be3a9da6" }, "search": { "mode": "match" } }, { "fullUrl": "https://device.cit-device-852.local/fhir/Device/143", "resource": { "resourceType": "Device", "id": "143", "meta": { "versionId": "1", "lastUpdated": "2023-10-16T09:37:32.977+00:00", "source": "#690961ef-a05a-94", "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": "9f03b901-ee00-4617-9a48-ffe305a383f5", "modelNumber": "c99adfc9-05af-47f7-ac6b-fe06be3a9da6" }, "search": { "mode": "match" } } ] }
GET [base]/Device/155/_history/1
Accept-Charset: utf-8 Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiMDg2MmI5YTYtOTNlOS00ZGRjLWIwNDgtZTcwY2E1MGY4NzAzIiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIkRldmljZS5yZWFkIl19LCJjb250ZXh0Ijp7Im9yZ2FuaXphdGlvbl9pZCI6IjQyIiwicGF0aWVudF9pZCI6IjQyIiwidGVhbV9vbl9lb2MiOmZhbHNlfSwidXNlcl90eXBlIjoiUFJBQ1RJVElPTkVSIn0. Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9 User-Agent: HAPI-FHIR/6.2.1 (FHIR Client; FHIR 4.0.1/R4; apache) Accept-Encoding: gzip
{ "resourceType": "Device", "id": "155", "meta": { "versionId": "1", "lastUpdated": "2023-10-16T09:37:45.952+00:00", "source": "#b5d43b6e-479c-90", "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-852.local/fhir/Organization/46953" } }
POST [base]/Device
Accept-Charset: utf-8 Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiOTQ4YmJiOWYtMmFmZi00MzI1LWI1MDUtZWJlZjEzM2QyYjhjIiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIkRldmljZS53cml0ZSJdfSwidXNlcl90eXBlIjoiU1lTVEVNIn0. Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9 User-Agent: HAPI-FHIR/6.2.1 (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-852.local/fhir/Organization/79555" } }
{ "resourceType": "Device", "id": "154", "meta": { "versionId": "1", "lastUpdated": "2023-10-16T09:37:45.643+00:00", "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-852.local/fhir/Organization/79555" } }
POST [base]/Device/$validate
Accept-Charset: utf-8 Authorization: Bearer eyJhbGciOiJub25lIn0.eyJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiRGV2aWNlLnJlYWQiLCJEZXZpY2Uud3JpdGUiLCIkdGVzdC1vbmx5LWNyZWF0ZSJdfSwidXNlcl90eXBlIjoiU1lTVEVNIn0. Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9 User-Agent: HAPI-FHIR/6.2.1 (FHIR Client; FHIR 4.0.1/R4; apache) Accept-Encoding: gzip Content-Type: application/fhir+json; charset=UTF-8
{ "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" } } ] }
{ "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></tr><tr><td style=\"font-weight: bold;\">INFORMATION</td><td>[]</td><td><pre>No issues detected during validation</pre></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/164
Accept-Charset: utf-8 Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiMWRjYWVjZmMtMjExZC00MzEyLTg3ZTgtZTgxOTkzOTViZGZhIiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIkRldmljZS5yZWFkIiwiRGV2aWNlLndyaXRlIiwiRGV2aWNlVXNlU3RhdGVtZW50LnJlYWQiXX0sImNvbnRleHQiOnsicGF0aWVudF9pZCI6Imh0dHBzOi8vcGF0aWVudC5jaXQtZGV2aWNlLTg1Mi5sb2NhbC9maGlyL1BhdGllbnQvNTQwNDUiLCJ0ZWFtX29uX2VvYyI6ZmFsc2V9LCJ1c2VyX3R5cGUiOiJQQVRJRU5UIn0. If-Match: "1" Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9 User-Agent: HAPI-FHIR/6.2.1 (FHIR Client; FHIR 4.0.1/R4; apache) Accept-Encoding: gzip Content-Type: application/fhir+json; charset=UTF-8
{ "resourceType": "Device", "id": "164", "meta": { "versionId": "1", "lastUpdated": "2023-10-16T09:37:47.719+00:00", "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-852.local/fhir/Organization/51969" } }