eHealth Infrastructure 2.7.0 - Release 14
Publish Box goes here
No examples are currently available for the profile.
GET [base]/Device?manufacturer%3Aexact=e74fbaf4-bc89-4b89-a2ce-a5288e4a1425&model%3Aexact=2187b28d-2481-4ff9-b6a7-39916fbbcf94
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": "1d1eaf19-c1aa-47a3-bb6d-b231bb17f64e", "meta": { "lastUpdated": "2023-03-07T15:23:34.558+00:00" }, "type": "searchset", "total": 2, "link": [ { "relation": "self", "url": "https://device.cit-device-803.local/fhir/Device?_format=json&_pretty=true&manufacturer%3Aexact=e74fbaf4-bc89-4b89-a2ce-a5288e4a1425&model%3Aexact=2187b28d-2481-4ff9-b6a7-39916fbbcf94" } ], "entry": [ { "fullUrl": "https://device.cit-device-803.local/fhir/Device/112", "resource": { "resourceType": "Device", "id": "112", "meta": { "versionId": "1", "lastUpdated": "2023-03-07T15:23:34.163+00:00", "source": "#30185b46-f76c-90", "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": "e74fbaf4-bc89-4b89-a2ce-a5288e4a1425", "modelNumber": "2187b28d-2481-4ff9-b6a7-39916fbbcf94" }, "search": { "mode": "match" } }, { "fullUrl": "https://device.cit-device-803.local/fhir/Device/114", "resource": { "resourceType": "Device", "id": "114", "meta": { "versionId": "1", "lastUpdated": "2023-03-07T15:23:34.383+00:00", "source": "#9376fa61-7615-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": "e74fbaf4-bc89-4b89-a2ce-a5288e4a1425", "modelNumber": "2187b28d-2481-4ff9-b6a7-39916fbbcf94" }, "search": { "mode": "match" } } ] }
GET [base]/Device/169/_history/1
Accept-Charset: utf-8 Authorization: Bearer eyJhbGciOiJub25lIn0.eyJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiRGV2aWNlTWV0cmljLnJlYWQiLCJEZXZpY2VNZXRyaWMud3JpdGUiLCIkdGVzdC1vbmx5LWNyZWF0ZSJdfSwidXNlcl90eXBlIjoiU1lTVEVNIn0. 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": "169", "meta": { "versionId": "1", "lastUpdated": "2023-03-07T15:24:39.389+00:00", "source": "#b26517bc-36de-91", "profile": [ "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device" ] }, "extension": [ { "url": "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device-privatelyOwned", "valueBoolean": true } ], "status": "active" }
POST [base]/Device
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
Body:
{ "resourceType": "Device", "meta": { "profile": [ "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device" ] }, "status": "active", "owner": { "reference": "https://organization.cit-device-803.local/fhir/Organization/98169" } }
{ "resourceType": "Device", "id": "102", "meta": { "versionId": "1", "lastUpdated": "2023-03-07T15:23:32.103+00:00", "profile": [ "http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device" ] }, "status": "active", "owner": { "reference": "https://organization.cit-device-803.local/fhir/Organization/98169" } }
POST [base]/Device/$validate
{ "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/147
Accept-Charset: utf-8 Authorization: Bearer eyJhbGciOiJub25lIn0.eyJyZWFsbV9hY2Nlc3MiOnsicm9sZXMiOlsiRGV2aWNlTWV0cmljLnJlYWQiLCJEZXZpY2VNZXRyaWMud3JpdGUiLCIkdGVzdC1vbmx5LWNyZWF0ZSJdfSwidXNlcl90eXBlIjoiU1lTVEVNIn0. 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": "147", "meta": { "versionId": "1", "lastUpdated": "2023-03-07T15:24:17.459+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": "inactive" }
{ "resourceType": "Device", "id": "147", "meta": { "versionId": "2", "lastUpdated": "2023-03-07T15:24:17.718+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": "inactive" }