eHealth Infrastructure 2.3.0 - release
Publish Box goes here
No examples are currently available for the profile.
GET [base]/DeviceUseStatement?patient=https%3A%2F%2Fpatient.cit-device-733.local%2Ffhir%2FPatient%2F62384&timing=lt2022-02-16
Header
Accept-Charset: utf-8 Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiNjQzYzZiOTMtNDRiZi00ZjNlLTkxNWUtODY4YjM2ZmI5MTE5IiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIkRldmljZVVzZVN0YXRlbWVudC5yZWFkIl19LCJ1c2VyX3R5cGUiOiJTWVNURU0ifQ. Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9 User-Agent: HAPI-FHIR/6.1.0 (FHIR Client; FHIR 4.0.1/R4; apache) Accept-Encoding: gzip
Response
{ "resourceType": "Bundle", "id": "409ae4ba-2cb1-46ce-83d1-affadcd71b7d", "meta": { "lastUpdated": "2022-09-16T09:07:52.019+00:00" }, "type": "searchset", "total": 2, "link": [ { "relation": "self", "url": "https://device.cit-device-733.local/fhir/DeviceUseStatement?_format=json&_pretty=true&patient=https%3A%2F%2Fpatient.cit-device-733.local%2Ffhir%2FPatient%2F62384&timing=lt2022-02-16" } ], "entry": [ { "fullUrl": "https://device.cit-device-733.local/fhir/DeviceUseStatement/32", "resource": { "resourceType": "DeviceUseStatement", "id": "32", "meta": { "versionId": "1", "lastUpdated": "2022-09-16T09:07:51.541+00:00", "source": "#29c86e69-f505-90", "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-733.local/fhir/CarePlan/83908" } } ], "status": "active", "subject": { "reference": "https://patient.cit-device-733.local/fhir/Patient/62384" }, "timingPeriod": { "start": "2022-01-16T09:07:50+00:00", "end": "2022-03-16T09:07:50+00:00" }, "device": { "reference": "https://device.cit-device-733.local/fhir/Device/31" } }, "search": { "mode": "match" } }, { "fullUrl": "https://device.cit-device-733.local/fhir/DeviceUseStatement/30", "resource": { "resourceType": "DeviceUseStatement", "id": "30", "meta": { "versionId": "1", "lastUpdated": "2022-09-16T09:07:51.061+00:00", "source": "#7bf2ac18-5e54-9d", "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-733.local/fhir/CarePlan/3892" } } ], "status": "active", "subject": { "reference": "https://patient.cit-device-733.local/fhir/Patient/62384" }, "timingPeriod": { "start": "2021-09-16T09:07:50+00:00", "end": "2021-11-16T09:07:50+00:00" }, "device": { "reference": "https://device.cit-device-733.local/fhir/Device/29" } }, "search": { "mode": "match" } } ] }
GET [base]/DeviceUseStatement/40/_history/2
Accept-Charset: utf-8 Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiZTRhOGY3ZWMtMjk0Yy00ZGVjLThjYzEtNTBiMWM3YzcwMmIzIiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIkRldmljZVVzZVN0YXRlbWVudC5yZWFkIiwiRGV2aWNlVXNlU3RhdGVtZW50LndyaXRlIl19LCJjb250ZXh0Ijp7InBhdGllbnRfaWQiOiJodHRwczovL3BhdGllbnQuY2l0LWRldmljZS03MzMubG9jYWwvZmhpci9QYXRpZW50LzYyMzg0IiwidGVhbV9vbl9lb2MiOmZhbHNlfSwidXNlcl90eXBlIjoiU1lTVEVNIn0. Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9 User-Agent: HAPI-FHIR/6.1.0 (FHIR Client; FHIR 4.0.1/R4; apache) Accept-Encoding: gzip
{ "resourceType": "DeviceUseStatement", "id": "40", "meta": { "versionId": "2", "lastUpdated": "2022-09-16T09:07:54.022+00:00", "source": "#1b2485e8-98ca-99", "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-733.local/fhir/CarePlan/83942" } } ], "status": "completed", "subject": { "reference": "https://patient.cit-device-733.local/fhir/Patient/62384" }, "device": { "reference": "https://device.cit-device-733.local/fhir/Device/39" } }
POST [base]/DeviceUseStatement
Accept-Charset: utf-8 Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiODRiNTI5ZWUtZGZmNS00YWY2LTgzMTctZDZhNzdkYTlhNDkyIiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIkRldmljZVVzZVN0YXRlbWVudC53cml0ZSJdfSwiY29udGV4dCI6eyJwYXRpZW50X2lkIjoiaHR0cHM6Ly9wYXRpZW50LmNpdC1kZXZpY2UtNzMzLmxvY2FsL2ZoaXIvUGF0aWVudC8xMzk5NCIsInRlYW1fb25fZW9jIjpmYWxzZX0sInVzZXJfdHlwZSI6IlNZU1RFTSJ9. Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9 User-Agent: HAPI-FHIR/6.1.0 (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-733.local/fhir/CarePlan/74764" } } ], "status": "active", "subject": { "reference": "https://patient.cit-device-733.local/fhir/Patient/13994" }, "device": { "reference": "https://device.cit-device-733.local/fhir/Device/54" } }
{ "resourceType": "DeviceUseStatement", "id": "56", "meta": { "versionId": "1", "lastUpdated": "2022-09-16T09:08:21.978+00:00", "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-733.local/fhir/CarePlan/74764" } } ], "status": "active", "subject": { "reference": "https://patient.cit-device-733.local/fhir/Patient/13994" }, "device": { "reference": "https://device.cit-device-733.local/fhir/Device/54" } }
POST [base]/DeviceUseStatement/$validate
Accept-Charset: utf-8 Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiNDhkMWY1OTYtZWEyZC00MjIwLTg1ZTQtYWQ4NTcwZmJjYTY5IiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIkRldmljZVVzZVN0YXRlbWVudC5yZWFkIl19LCJ1c2VyX3R5cGUiOiJTWVNURU0ifQ. Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9 User-Agent: HAPI-FHIR/6.1.0 (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": "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-733.local/fhir/CarePlan/45959" } } ], "status": "active", "subject": { "reference": "https://patient.cit-device-733.local/fhir/Patient/24433" }, "source": { "reference": "https://patient.cit-device-733.local/fhir/Patient/62384" }, "device": { "reference": "https://device.cit-device-733.local/fhir/Device/46" } } } ] }
{ "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]/DeviceUseStatement/40
Accept-Charset: utf-8 Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiZTRhOGY3ZWMtMjk0Yy00ZGVjLThjYzEtNTBiMWM3YzcwMmIzIiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIkRldmljZVVzZVN0YXRlbWVudC5yZWFkIiwiRGV2aWNlVXNlU3RhdGVtZW50LndyaXRlIl19LCJjb250ZXh0Ijp7InBhdGllbnRfaWQiOiJodHRwczovL3BhdGllbnQuY2l0LWRldmljZS03MzMubG9jYWwvZmhpci9QYXRpZW50LzYyMzg0IiwidGVhbV9vbl9lb2MiOmZhbHNlfSwidXNlcl90eXBlIjoiU1lTVEVNIn0. If-Match: "1" Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9 User-Agent: HAPI-FHIR/6.1.0 (FHIR Client; FHIR 4.0.1/R4; apache) Accept-Encoding: gzip Content-Type: application/fhir+json; charset=UTF-8
{ "resourceType": "DeviceUseStatement", "id": "40", "meta": { "versionId": "1", "lastUpdated": "2022-09-16T09:07:53.832+00:00", "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-733.local/fhir/CarePlan/83942" } } ], "status": "completed", "subject": { "reference": "https://patient.cit-device-733.local/fhir/Patient/62384" }, "device": { "reference": "https://device.cit-device-733.local/fhir/Device/39" } }
{ "resourceType": "DeviceUseStatement", "id": "40", "meta": { "versionId": "2", "lastUpdated": "2022-09-16T09:07:54.022+00:00", "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-733.local/fhir/CarePlan/83942" } } ], "status": "completed", "subject": { "reference": "https://patient.cit-device-733.local/fhir/Patient/62384" }, "device": { "reference": "https://device.cit-device-733.local/fhir/Device/39" } }