get_enrollments
Query enrollments of tracked entities entering a program by providing program and organization unit UIDs. Retrieve up to a specified number of enrollment records from the DHIS2 health information system.
Instructions
Query enrollments (tracked entities entering a program).
Args: program: program UID. org_unit: org unit UID. limit: max enrollments.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| program | Yes | ||
| org_unit | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |