Fetch Grouped Assessments
Fetch assessments from both Self-Assessment and Smartcheck modules.
Fetch and Group Assessments
This API fetches and groups assessments. One can filter using any combination of these properties:practitioner_uuid, patient_uuid, unique_identifier, transaction_id with status (default: COMPLETED).
One can also create a New Assessment using 🔗 INIT API with any one of these properties.
Examples
Example 1: Filtering by Practitioner AND Patient
This request finds all assessment groups for a specific practitioner AND a specific patient. The unique_identifier can be different for each group.Request:
Response:
Notice how both groups in the response match the requested practitioner_uuid and patient_uuid.Example 2: Filtering by a Single Identifier
This request finds all assessment groups that share the same unique_identifier, regardless of the practitioner or patient.Request:
Response:
Notice how both groups have the same unique_identifier, but different practitioners and patients.Example 3: Filtering by UHID via username_alias
During INIT, patient identifiers are stored as OIDs (eka’s internal identifier). However, some clients pass their own primary key (e.g., UHID, MRN) during INIT instead of the OID. Useusername_alias to handle this — set it to the name of the filter field that contains the UHID, and the API will resolve it to the corresponding OID before filtering.
Supported values: practitioner_uuid, patient_uuid, unique_identifier, transaction_id
The field named in username_alias must also be provided as a query parameter with the UHID value.
Request:
unique_identifier=abc is the UHID, and username_alias=unique_identifier tells the API to resolve it to an OID before filtering.
Response:
Assessments matching the resolved OID are returned, grouped as usual.Example 4: Filtering by Workflow IDs
Usewfids to fetch only assessments belonging to specific workflows. This is useful when you want results scoped to a particular assessment type (e.g., only diabetes screenings or only general health checks).
Request:
Response:
Only assessments whose workflow matches one of the providedwfids are returned.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
The UUID of the practitioner(doctor oid) to filter assessments by.
"161467756044223"
The UUID of the patient(patient_uuid) to filter assessments by.
"02b66c91-ce53-45b7-8794-14f4a640f9c2"
A unique identifier associated with the assessment. This is typically the patient OID (eka's internal identifier) used during INIT. If you are passing a UHID or any other external identifier instead, set username_alias=unique_identifier so the API resolves it to the OID before filtering.
"173765761279832"
The transaction ID for a specific assessment session. If this value is a UHID or external identifier rather than an OID, set username_alias=transaction_id.
"txn_aBcDeFgHiJkLmNoP"
Use this when the value of one of the filter fields (practitioner_uuid, patient_uuid, unique_identifier, or transaction_id) is a UHID or external client identifier instead of an OID. Set username_alias to the name of that field — the API will resolve the UHID to the corresponding OID via the patient directory before filtering.
Example: ?unique_identifier=MRN12345&username_alias=unique_identifier
practitioner_uuid, patient_uuid, unique_identifier, transaction_id "unique_identifier"
Comma-separated list of workflow IDs to filter by.
"101,102"
The status of the assessments to fetch.
NEW, IN_REVIEW, COMPLETED, PARTIAL Response
A successful response containing the grouped assessments.
A list of assessment groups.

