Device Groups
Device groups allow devices to be grouped by a set of filters. Groups are dynamic. New devices that meet the filter conditions will be added automatically to the group. Also, if a device's attributes change, it may be added or removed from a group.
Filter Syntax
Filters are a string that follows the FHIR search format. We currently support the following keys for searching.
Key | Description | Example |
---|---|---|
_tag | tag in the list of tags on the Device FHIR resource | _tag=tag-system|tag-code |
identifier | identifier in the list of identifiers on the Device FHIR resource | identifier=tag-system|tag-code |
manufacturer | manufacturer field on the Device FHIR resource | manufacturer=MyCompany |
model | model field on the Device FHIR resource | model=device-model |
patient | patient field on the Device FHIR resource | patient=patient-id |
status | status field on the Device FHIR resource | status=active |
location | location on the Device FHIR resource | location=Location/example-location |
organization | owner field on the Device FHIR resource | organization=Organization/example-org |
Combination Examples
manufacturer=Company123&model=ModelABC
Matches all devices that have manufacturer Company123
and model ModelABC
.
_tag=system-1|test-code-1&_tag=system-2|test-code-2
Matches all devices that have both system-1|test-code-1
and system-2|test-code-2
tags.
_tag=system-1|test-code-1,system-2|test-code-2
Matches all devices that have either system-1|test-code-1
or system-2|test-code-2
tags.