Skip to main content

EnrollmentRequest Connection

Search EnrollmentRequest resources with FHIR Connection-based pagination.

Query​

query EnrollmentRequestConnection {
EnrollmentRequestConnection(
identifier: "...",
patient: "...",
status: "...",
# ... and 1 more parameters
count: 10
) {
pagesize
next
edges {
mode
score
resource {
id
resourceType
# Add other fields as needed
}
}
}
}

Search Parameters​

ParameterTypeDescription
identifierStringFHIR search parameter
patientStringFHIR search parameter
statusStringFHIR search parameter
subjectStringFHIR 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[EnrollmentRequestEdge]List of result entries

Each edge contains:

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