Skip to main content

DeviceMetric Connection

Search DeviceMetric resources with FHIR Connection-based pagination.

Query​

query DeviceMetricConnection {
DeviceMetricConnection(
category: "...",
identifier: "...",
parent: "...",
# ... and 2 more parameters
count: 10
) {
pagesize
next
edges {
mode
score
resource {
id
resourceType
# Add other fields as needed
}
}
}
}

Search Parameters​

ParameterTypeDescription
categoryStringFHIR search parameter
identifierStringFHIR search parameter
parentStringFHIR search parameter
sourceStringFHIR search parameter
typeStringFHIR search parameter

Pagination Parameters​

ParameterTypeDefaultDescription
countInt10Number of results per page (max 1000)
cursorStringnoneCursor from a previous page's next. Omit for the first page. Treat as an opaque string.

Return Type​

Returns a Connection object with the following fields:

FieldTypeDescription
pagesizeIntNumber of resources requested per page
nextStringCursor for the next page. Pass it back as the cursor argument. Null means there is no next page.
edges[DeviceMetricEdge]List of result entries

Each edge contains:

FieldTypeDescription
modeStringSearch result mode (match, include, outcome)
scoreFloatSearch relevance score
resourceDeviceMetricThe FHIR resource