eHealth Infrastructure2022.1 - release
Publish Box goes here
No examples are currently available for the profile.
GET [base]/DeviceUseStatement?patient=https%3A%2F%2Fpatient.cit-device-676.local%2Ffhir%2FPatient%2F96732&timing=lt2021-05-21
Header
Accept-Charset: utf-8 Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiYTJhODdhZWMtYzc5My00ODJmLWIzNzktNjkwZTgyM2JiZDRjIiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIkRldmljZVVzZVN0YXRlbWVudC5yZWFkIl19LCJ1c2VyX3R5cGUiOiJTWVNURU0ifQ. Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9 User-Agent: HAPI-FHIR/5.4.0 (FHIR Client; FHIR 4.0.1/R4; apache) Accept-Encoding: gzip
Response
{ "resourceType": "Bundle", "id": "0440856a-bf50-4009-9058-47ceed7d2524", "meta": { "lastUpdated": "2021-12-21T13:39:01.203+00:00" }, "type": "searchset", "total": 2, "link": [ { "relation": "self", "url": "https://device.cit-device-676.local/fhir/DeviceUseStatement?_format=json&_pretty=true&patient=https%3A%2F%2Fpatient.cit-device-676.local%2Ffhir%2FPatient%2F96732&timing=lt2021-05-21" } ], "entry": [ { "fullUrl": "https://device.cit-device-676.local/fhir/DeviceUseStatement/54", "resource": { "resourceType": "DeviceUseStatement", "id": "54", "meta": { "versionId": "1", "lastUpdated": "2021-12-21T13:38:59.615+00:00", "source": "#148f5f9c-d8c3-93", "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-676.local/fhir/CarePlan/93608" } } ], "status": "active", "subject": { "reference": "https://patient.cit-device-676.local/fhir/Patient/96732" }, "timingPeriod": { "start": "2020-12-21T13:38:59+00:00", "end": "2021-02-21T13:38:59+00:00" }, "device": { "reference": "https://device.cit-device-676.local/fhir/Device/53" } }, "search": { "mode": "match" } }, { "fullUrl": "https://device.cit-device-676.local/fhir/DeviceUseStatement/56", "resource": { "resourceType": "DeviceUseStatement", "id": "56", "meta": { "versionId": "1", "lastUpdated": "2021-12-21T13:39:00.408+00:00", "source": "#d0fd910c-bc33-49", "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-676.local/fhir/CarePlan/66364" } } ], "status": "active", "subject": { "reference": "https://patient.cit-device-676.local/fhir/Patient/96732" }, "timingPeriod": { "start": "2021-04-21T13:38:59+00:00", "end": "2021-06-21T13:38:59+00:00" }, "device": { "reference": "https://device.cit-device-676.local/fhir/Device/55" } }, "search": { "mode": "match" } } ] }
GET [base]/DeviceUseStatement/64/_history/2
Accept-Charset: utf-8 Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiOWYzMmY0NmItYzM4Yi00NTc2LTkxMzAtOWJiNGQ0OTc3ZTAzIiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIkRldmljZVVzZVN0YXRlbWVudC5yZWFkIiwiRGV2aWNlVXNlU3RhdGVtZW50LndyaXRlIl19LCJjb250ZXh0Ijp7InBhdGllbnRfaWQiOiJodHRwczovL3BhdGllbnQuY2l0LWRldmljZS02NzYubG9jYWwvZmhpci9QYXRpZW50Lzk2NzMyIiwidGVhbV9vbl9lb2MiOmZhbHNlfSwidXNlcl90eXBlIjoiU1lTVEVNIn0. Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9 User-Agent: HAPI-FHIR/5.4.0 (FHIR Client; FHIR 4.0.1/R4; apache) Accept-Encoding: gzip
{ "resourceType": "DeviceUseStatement", "id": "64", "meta": { "versionId": "2", "lastUpdated": "2021-12-21T13:39:03.519+00:00", "source": "#28093dba-dc75-44", "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-676.local/fhir/CarePlan/76049" } } ], "status": "completed", "subject": { "reference": "https://patient.cit-device-676.local/fhir/Patient/96732" }, "device": { "reference": "https://device.cit-device-676.local/fhir/Device/63" } }
POST [base]/DeviceUseStatement
Accept-Charset: utf-8 Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiODZjMTA3NTMtNDY0Zi00ZTk4LWI4ODctM2QyYWQ1MGQ5ZDNlIiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIkRldmljZVVzZVN0YXRlbWVudC53cml0ZSJdfSwiY29udGV4dCI6eyJwYXRpZW50X2lkIjoiaHR0cHM6Ly9wYXRpZW50LmNpdC1kZXZpY2UtNjc2LmxvY2FsL2ZoaXIvUGF0aWVudC8zMzY4MSIsInRlYW1fb25fZW9jIjpmYWxzZX0sInVzZXJfdHlwZSI6IlNZU1RFTSJ9. Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9 User-Agent: HAPI-FHIR/5.4.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-676.local/fhir/CarePlan/68946" } } ], "status": "active", "subject": { "reference": "https://patient.cit-device-676.local/fhir/Patient/33681" }, "device": { "reference": "https://device.cit-device-676.local/fhir/Device/78" } }
{ "resourceType": "DeviceUseStatement", "id": "80", "meta": { "versionId": "1", "lastUpdated": "2021-12-21T13:39:11.640+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-676.local/fhir/CarePlan/68946" } } ], "status": "active", "subject": { "reference": "https://patient.cit-device-676.local/fhir/Patient/33681" }, "device": { "reference": "https://device.cit-device-676.local/fhir/Device/78" } }
POST [base]/DeviceUseStatement/$validate
Accept-Charset: utf-8 Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiM2VkYWM5ZjUtYThiNC00ZmQ1LTljZDAtNjU5YmM4YzI1MmJlIiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIkRldmljZVVzZVN0YXRlbWVudC5yZWFkIl19LCJ1c2VyX3R5cGUiOiJTWVNURU0ifQ. Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9 User-Agent: HAPI-FHIR/5.4.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-676.local/fhir/CarePlan/810" } } ], "status": "active", "subject": { "reference": "https://patient.cit-device-676.local/fhir/Patient/58651" }, "source": { "reference": "https://patient.cit-device-676.local/fhir/Patient/96732" }, "device": { "reference": "https://device.cit-device-676.local/fhir/Device/70" } } } ] }
{ "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/64
Accept-Charset: utf-8 Authorization: Bearer eyJhbGciOiJub25lIn0.eyJ1c2VyX2lkIjoiOWYzMmY0NmItYzM4Yi00NTc2LTkxMzAtOWJiNGQ0OTc3ZTAzIiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbIkRldmljZVVzZVN0YXRlbWVudC5yZWFkIiwiRGV2aWNlVXNlU3RhdGVtZW50LndyaXRlIl19LCJjb250ZXh0Ijp7InBhdGllbnRfaWQiOiJodHRwczovL3BhdGllbnQuY2l0LWRldmljZS02NzYubG9jYWwvZmhpci9QYXRpZW50Lzk2NzMyIiwidGVhbV9vbl9lb2MiOmZhbHNlfSwidXNlcl90eXBlIjoiU1lTVEVNIn0. If-Match: "1" Accept: application/fhir+json;q=1.0, application/json+fhir;q=0.9 User-Agent: HAPI-FHIR/5.4.0 (FHIR Client; FHIR 4.0.1/R4; apache) Accept-Encoding: gzip Content-Type: application/fhir+json; charset=UTF-8
{ "resourceType": "DeviceUseStatement", "id": "64", "meta": { "versionId": "1", "lastUpdated": "2021-12-21T13:39:03.208+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-676.local/fhir/CarePlan/76049" } } ], "status": "completed", "subject": { "reference": "https://patient.cit-device-676.local/fhir/Patient/96732" }, "device": { "reference": "https://device.cit-device-676.local/fhir/Device/63" } }
{ "resourceType": "DeviceUseStatement", "id": "64", "meta": { "versionId": "2", "lastUpdated": "2021-12-21T13:39:03.519+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-676.local/fhir/CarePlan/76049" } } ], "status": "completed", "subject": { "reference": "https://patient.cit-device-676.local/fhir/Patient/96732" }, "device": { "reference": "https://device.cit-device-676.local/fhir/Device/63" } }