eHealth Infrastructure 2.9.0 - release
Publish Box goes here
No examples are currently available for the profile.
GET [base]/DeviceUseStatement?patient=https%3A%2F%2Fpatient.cit-device-833.local%2Ffhir%2FPatient%2F53005&timing=lt2023-01-15
Header
Accept-Charset: utf-8 Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiZmQ5NWYzNTktOGVjZi00ODIxLWIyYzgtMWIyNTQ5ODFmOTAzIiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIkRldmljZVVzZVN0YXRlbWVudC5yZWFkIl19LCJ1c2VyX3R5cGUiOiJTWVNURU0ifQ. 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": "876b2cb3-e76a-4ea0-9f98-a93b20572152", "meta": { "lastUpdated": "2023-08-15T08:17:28.630+00:00" }, "type": "searchset", "total": 2, "link": [ { "relation": "self", "url": "https://device.cit-device-833.local/fhir/DeviceUseStatement?_format=json&_pretty=true&patient=https%3A%2F%2Fpatient.cit-device-833.local%2Ffhir%2FPatient%2F53005&timing=lt2023-01-15" } ], "entry": [ { "fullUrl": "https://device.cit-device-833.local/fhir/DeviceUseStatement/33", "resource": { "resourceType": "DeviceUseStatement", "id": "33", "meta": { "versionId": "1", "lastUpdated": "2023-08-15T08:17:27.981+00:00", "source": "#a258b42d-92df-9f", "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-833.local/fhir/CarePlan/2000" } } ], "status": "active", "subject": { "reference": "https://patient.cit-device-833.local/fhir/Patient/53005" }, "timingPeriod": { "start": "2022-12-15T08:17:27+00:00", "end": "2023-02-15T08:17:27+00:00" }, "device": { "reference": "https://device.cit-device-833.local/fhir/Device/32" } }, "search": { "mode": "match" } }, { "fullUrl": "https://device.cit-device-833.local/fhir/DeviceUseStatement/31", "resource": { "resourceType": "DeviceUseStatement", "id": "31", "meta": { "versionId": "1", "lastUpdated": "2023-08-15T08:17:27.565+00:00", "source": "#e3ae3132-f244-98", "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-833.local/fhir/CarePlan/87259" } } ], "status": "active", "subject": { "reference": "https://patient.cit-device-833.local/fhir/Patient/53005" }, "timingPeriod": { "start": "2022-08-15T08:17:27+00:00", "end": "2022-10-15T08:17:27+00:00" }, "device": { "reference": "https://device.cit-device-833.local/fhir/Device/30" } }, "search": { "mode": "match" } } ] }
GET [base]/DeviceUseStatement/41/_history/2
Accept-Charset: utf-8 Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiMmViNDAxYjMtOGIxYy00YTViLWIyZDYtZDZmMDBiZmIyMjU0IiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIkRldmljZVVzZVN0YXRlbWVudC5yZWFkIiwiRGV2aWNlVXNlU3RhdGVtZW50LndyaXRlIl19LCJjb250ZXh0Ijp7InBhdGllbnRfaWQiOiJodHRwczovL3BhdGllbnQuY2l0LWRldmljZS04MzMubG9jYWwvZmhpci9QYXRpZW50LzUzMDA1IiwidGVhbV9vbl9lb2MiOmZhbHNlfSwidXNlcl90eXBlIjoiU1lTVEVNIn0. 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": "DeviceUseStatement", "id": "41", "meta": { "versionId": "2", "lastUpdated": "2023-08-15T08:17:30.572+00:00", "source": "#b2059047-a7a0-94", "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-833.local/fhir/CarePlan/20805" } } ], "status": "completed", "subject": { "reference": "https://patient.cit-device-833.local/fhir/Patient/53005" }, "device": { "reference": "https://device.cit-device-833.local/fhir/Device/40" } }
POST [base]/DeviceUseStatement
Accept-Charset: utf-8 Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiYjQ2MGMyOGEtMWJiNi00Y2JlLWJkNDUtMTk0NmI4NTNmMjc3IiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIkRldmljZVVzZVN0YXRlbWVudC53cml0ZSJdfSwiY29udGV4dCI6eyJwYXRpZW50X2lkIjoiaHR0cHM6Ly9wYXRpZW50LmNpdC1kZXZpY2UtODMzLmxvY2FsL2ZoaXIvUGF0aWVudC81NzYwOSIsInRlYW1fb25fZW9jIjpmYWxzZX0sInVzZXJfdHlwZSI6IlNZU1RFTSJ9. 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": "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-833.local/fhir/CarePlan/24907" } } ], "status": "active", "subject": { "reference": "https://patient.cit-device-833.local/fhir/Patient/57609" }, "device": { "reference": "https://device.cit-device-833.local/fhir/Device/55" } }
{ "resourceType": "DeviceUseStatement", "id": "57", "meta": { "versionId": "1", "lastUpdated": "2023-08-15T08:17:39.403+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-833.local/fhir/CarePlan/24907" } } ], "status": "active", "subject": { "reference": "https://patient.cit-device-833.local/fhir/Patient/57609" }, "device": { "reference": "https://device.cit-device-833.local/fhir/Device/55" } }
POST [base]/DeviceUseStatement/$validate
Accept-Charset: utf-8 Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiMjUxMmI0MWUtNWNlNS00MTBjLWIxMzEtNTYwZjVmNWQzNzc0IiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIkRldmljZVVzZVN0YXRlbWVudC5yZWFkIl19LCJ1c2VyX3R5cGUiOiJTWVNURU0ifQ. 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": "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-833.local/fhir/CarePlan/4545" } } ], "status": "active", "subject": { "reference": "https://patient.cit-device-833.local/fhir/Patient/63431" }, "source": { "reference": "https://patient.cit-device-833.local/fhir/Patient/53005" }, "device": { "reference": "https://device.cit-device-833.local/fhir/Device/47" } } } ] }
{ "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/41
Accept-Charset: utf-8 Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiMmViNDAxYjMtOGIxYy00YTViLWIyZDYtZDZmMDBiZmIyMjU0IiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIkRldmljZVVzZVN0YXRlbWVudC5yZWFkIiwiRGV2aWNlVXNlU3RhdGVtZW50LndyaXRlIl19LCJjb250ZXh0Ijp7InBhdGllbnRfaWQiOiJodHRwczovL3BhdGllbnQuY2l0LWRldmljZS04MzMubG9jYWwvZmhpci9QYXRpZW50LzUzMDA1IiwidGVhbV9vbl9lb2MiOmZhbHNlfSwidXNlcl90eXBlIjoiU1lTVEVNIn0. 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": "DeviceUseStatement", "id": "41", "meta": { "versionId": "1", "lastUpdated": "2023-08-15T08:17:30.370+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-833.local/fhir/CarePlan/20805" } } ], "status": "completed", "subject": { "reference": "https://patient.cit-device-833.local/fhir/Patient/53005" }, "device": { "reference": "https://device.cit-device-833.local/fhir/Device/40" } }
{ "resourceType": "DeviceUseStatement", "id": "41", "meta": { "versionId": "2", "lastUpdated": "2023-08-15T08:17:30.572+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-833.local/fhir/CarePlan/20805" } } ], "status": "completed", "subject": { "reference": "https://patient.cit-device-833.local/fhir/Patient/53005" }, "device": { "reference": "https://device.cit-device-833.local/fhir/Device/40" } }