Device
A type of a manufactured item that is used in the provision of healthcare without being substantially changed through that activity. The device may be a medical or non-medical device.
http://hl7.org/fhir/us/core/STU3.1.1/StructureDefinition-us-core-implantable-device.html
For information about creating Device resources for a patient, see this Zendesk article. Devices are not currently used by the Canvas UI, but any devices that are created can be accessed with the Device read and search endpoints, In order to generate the type attribute, a device code must be created and linked to the device via the admin settings on Canvas.
Endpoints
Attributes
The identifier of the Device
Unique Device Identifier (UDI) Barcode string
Status of the Device availability
The distinct identification string
Name of device manufacturer
Date when the device was made
Date of expiry of this device (if applicable)
Lot number of manufacture
Serial number assigned by the manufacturer
The model number for the device
The kind or type of device
Patient to whom Device is affixed
Device read
Path Parameters
Responses
Errors
Device search
Query Parameters
The identifier of the Device
Patient information, if the resource is affixed to a person
Responses
Errors
curl --request GET \ --url 'https://fumage-example.canvasmedical.com/Device/<id>' \ --header 'Authorization: Bearer <token>' \ --header 'accept: application/json'
import requests url = "https://fumage-example.canvasmedical.com/Device/<id>" headers = { "accept": "application/json", "Authorization": "Bearer <token>" } response = requests.get(url, headers=headers) print(response.text)
{ "resourceType": "Device", "id": "c6bf6efc-1fe1-4221-9821-e60acb53becc", "udiCarrier": [ { "deviceIdentifier": "08717648200274", "carrierHRF": "=/08717648200274=,000025=A99971312345600=>014032=}013032&,1000000000000XYZ123" } ], "status": "active", "distinctIdentifier": "A99971312345600", "manufacturer": "ACME Biomedical", "manufactureDate": "2021-02-15", "expirationDate": "2021-09-15", "lotNumber": "234234", "serialNumber": "13213123123123", "modelNumber": "1.0", "type": { "coding": [ { "system": "http://snomed.info/sct", "code": "2478003", "display": "Ocular prosthesis" } ] }, "patient": { "reference": "Patient/b8dfa97bdcdf4754bcd8197ca78ef0f0", "type": "Patient" } }
{ "resourceType": "OperationOutcome", "issue": [ { "severity": "error", "code": "unknown", "details": { "text": "Authentication failed" } } ] }
{ "resourceType": "OperationOutcome", "issue": [ { "severity": "error", "code": "forbidden", "details": { "text": "Authorization failed" } } ] }
{ "resourceType": "OperationOutcome", "issue": [ { "severity": "error", "code": "not-found", "details": { "text": "Unknown Device resource 'a47c7b0e-bbb4-42cd-bc4a-df259d148ea1'" } } ] }
curl --request GET \ --url 'https://fumage-example.canvasmedical.com/Device?patient=Patient%2Fb8dfa97bdcdf4754bcd8197ca78ef0f0' \ --header 'Authorization: Bearer <token>' \ --header 'accept: application/json'
import requests url = "https://fumage-example.canvasmedical.com/Device?patient=Patient%2Fb8dfa97bdcdf4754bcd8197ca78ef0f0" headers = { "accept": "application/json", "Authorization": "Bearer <token>" } response = requests.get(url, headers=headers) print(response.text)
{ "resourceType": "Bundle", "type": "searchset", "total": 1, "link": [ { "relation": "self", "url": "/Device/?patient=Patient%2Fb8dfa97bdcdf4754bcd8197ca78ef0f0&_count=10&_offset=0" }, { "relation": "first", "url": "/Device/?patient=Patient%2Fb8dfa97bdcdf4754bcd8197ca78ef0f0&_count=10&_offset=0" }, { "relation": "last", "url": "/Device/?patient=Patient%2Fb8dfa97bdcdf4754bcd8197ca78ef0f0&_count=10&_offset=0" } ], "entry": [ { "resource": { "resourceType": "Device", "id": "c6bf6efc-1fe1-4221-9821-e60acb53becc", "udiCarrier": [ { "deviceIdentifier": "08717648200274", "carrierHRF": "=/08717648200274=,000025=A99971312345600=>014032=}013032&,1000000000000XYZ123" } ], "status": "active", "distinctIdentifier": "A99971312345600", "manufacturer": "ACME Biomedical", "manufactureDate": "2021-02-15", "expirationDate": "2021-09-15", "lotNumber": "234234", "serialNumber": "13213123123123", "modelNumber": "1.0", "type": { "coding": [ { "system": "http://snomed.info/sct", "code": "2478003", "display": "Ocular prosthesis" } ] }, "patient": { "reference": "Patient/b8dfa97bdcdf4754bcd8197ca78ef0f0", "type": "Patient" } } } ] }
{ "resourceType": "OperationOutcome", "issue": [ { "severity": "error", "code": "invalid", "details": { "text": "Bad request" } } ] }
{ "resourceType": "OperationOutcome", "issue": [ { "severity": "error", "code": "unknown", "details": { "text": "Authentication failed" } } ] }
{ "resourceType": "OperationOutcome", "issue": [ { "severity": "error", "code": "forbidden", "details": { "text": "Authorization failed" } } ] }