Device
Semantical type
The FHIR resource type is also used as semantical type of the resource. Include the FHIR resource name Device into your applications access filter if you need to use this resource.
Resource owner
If the resource contains a patient which is a Patient or Practitioner that user is the owner of the resource. Otherwise the creator of the resource is the owner.
Default value for “patient”
If a resource with no patient field is send to MIDATA, the backend will set the patient to the current user.
Read
Read a single Device by id.
Request:
[GET] /fhir/Device/<id>
Read specific version
Read a specific version of a single Device by id.
Request:
[GET] /fhir/Device/<id>/_history/<version>
Retrieve history
Retrieve all versions of a single resource.
Request:
[GET] /fhir/Device/<id>/_history
Search
Search for resources of type Device
Request:
[GET] /fhir/Device?searchParams
List of supported search parameters:
Supported query parameters:
Name | Type | Description |
---|---|---|
_id | string | The resource identity |
_lastUpdated | date | Only return resources which were last updated as specified by the given range |
_page | string | |
device-name | string | A server defined search that may match any of the string fields in Device.deviceName or Device.type. |
identifier | token | Instance id from manufacturer, owner, and others |
location | reference | A location, where the resource is found |
manufacturer | string | The manufacturer of the device |
model | string | The model of the device |
organization | reference | The organization responsible for the device |
patient | reference | Patient information, if the resource is affixed to a person |
status | token | active - inactive - entered-in-error - unknown |
type | token | The type of the device |
udi-carrier | string | UDI Barcode (RFID or other technology) string in HRF format. |
udi-di | string | The udi Device Identifier (DI) |
url | uri | Network address to contact device |
Create
Create a new resource of type Device.
Request:
[POST] /fhir/Device
Update
Updates a resource of type Device.
Request:
[PUT] /fhir/Device/<id>