> For the complete documentation index, see [llms.txt](https://spice.docs.medtroniclabs.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://spice.docs.medtroniclabs.org/overview/capabilities.md).

# Capabilities

SPICE is a primary care platform that connects community health work with facility care. Its capabilities fall into four groups, supported by a configurable administration layer, an offline-first mobile app and standards-based data.

SPICE is configurable. Which of the capabilities below are active, and how their forms and rules behave, depends on how an administrator has set up the programme. See the [Admin Guide](https://spice.docs.medtroniclabs.org/admin-guide/admin-guide.md).

| Capability                                                              | What it does                                                                                             |
| ----------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- |
| [Screening and case-finding](#screening-and-case-finding)               | Household and member registration, guided screening and assessment, and referral of people who need care |
| [Care quality and clinical support](#care-quality-and-clinical-support) | Protocol-guided medical review, risk classification, prescriptions, investigations and dispensing        |
| [Care continuity and follow-up](#care-continuity-and-follow-up)         | Due lists, missed-visit and lost-to-follow-up tracking, and referrals in both directions                 |
| [Reporting and analytics](#reporting-and-analytics)                     | Dashboards, reports by site and region, and an analytics pipeline                                        |

## Screening and case-finding

### Household and member registration

Health workers register households and the members of each household. Registration records consent and the household's location in the administrative hierarchy. Members can be matched by national ID where the programme uses one. People who live outside the registered household can be registered as external members. Households and members can be searched, filtered and sorted from the app.

### Screening

Quick, guided screening captures a person's basic details and key measurements (for example blood pressure and blood glucose). The app applies the programme's rules to decide whether the person should be referred for further assessment.

### Assessment

Guided assessments, built from configurable forms, support:

* **Maternal and child health**: pregnancy registration, antenatal and postnatal care, pregnancy outcome, family planning, and routine child visits. The app enables or disables each assessment based on the person's age, sex, pregnancy status and recent service history, so health workers see the right assessment at the right time.
* **Non-communicable diseases (NCD)**: assessment of risk factors, blood pressure and glucose, with risk classification.
* **Eye care and cataract**: screening and assessment for eye conditions.
* **Other services**: additional community programmes enabled by configuration (for example mental health screening or infectious-disease screening).

Notifiable conditions recorded during an assessment are saved for disease surveillance.

## Care quality and clinical support

At the facility, a clinician reviews each patient and follows the programme's clinical protocol.

* **Enrollment and diagnosis confirmation**: confirm a diagnosis and enroll the patient in a care programme with a treatment plan.
* **Medical review**: an initial review followed by continuous reviews, recording history, examination, diagnosis, lifestyle advice and prescriptions.
* **Risk classification**: NCD risk is calculated using the WHO HEARTS approach.
* **Investigations**: request lab tests and record results.
* **Pharmacy and dispensing**: view prescriptions, dispense medication, and record the reason when the quantity dispensed differs from the quantity prescribed.
* **My Patients**: a workspace to search for patients and see their records, history, prescriptions and vital signs.

## Care continuity and follow-up

* **Due lists**: SPICE keeps lists of patients due for a household visit or referred to a facility, so health workers and supervisors know whom to see next.
* **Missed visits and lost to follow-up**: follow-up calls are tracked, missed visits are retried a configurable number of times, and patients who are lost to follow-up are listed for outreach.
* **Referrals in both directions**: patients are referred from the community to a facility, and back to community care through a downward referral. Referrals link community and facility care in both directions.

## Reporting and analytics

* **Dashboards** in the app show activity and key indicators for the logged-in user.
* **A reporting web application** provides reports by site and region, with Excel export and role-based access.
* **An analytics pipeline** prepares clinical and administrative data for dashboards and indicator reporting. See [Reporting & Data](https://spice.docs.medtroniclabs.org/reporting-and-data/reporting-and-data.md).
* **Supervisor views** help community supervisors monitor health worker activity.
* **Aggregate reporting**: where a programme has configured a connection to an aggregate reporting system (for example a DHIS2-style platform), facility reports can be submitted to it. See [Exports & National Reporting](https://spice.docs.medtroniclabs.org/reporting-and-data/exports-and-national-reporting.md).

## Platform foundations

### Administration and configuration

* Define the administrative hierarchy (for example region, district, sub-district and village) and upload it in bulk.
* Create and manage facilities, users and roles, and deactivate or unlock accounts.
* Turn clinical workflows on or off for each facility, adjust the standard patient forms, and create your own workflows with their own forms. See [Workflow & Form Configuration](https://spice.docs.medtroniclabs.org/admin-guide/clinical-workflow-customization.md).
* Maintain the medication and lab-test catalogues.
* Offer the app in multiple languages.

### Working offline

The mobile app stores data in an encrypted database on the device, so health workers can keep registering, assessing and following up without a connection. When connectivity returns, the app synchronises with the server in the background. See [Working Offline & Sync](https://spice.docs.medtroniclabs.org/user-guide/offline-and-sync.md).

### Communication

SPICE can send SMS and email notifications, for example reminders to patients and account-related messages to users. The delivery provider is configurable.

### Interoperability and standards

* Clinical data is stored as HL7 FHIR resources in a FHIR server, which makes it available to other systems through standard APIs.
* Clinical decision support follows published guidance. SPICE's NCD risk calculation uses the WHO HEARTS approach.

### Security and privacy

Access is role-based, sessions are authenticated, and the data on the device is encrypted. See [Data Privacy & Security](https://spice.docs.medtroniclabs.org/privacy-and-security/data-privacy-and-security.md) and [Security & Authentication](https://spice.docs.medtroniclabs.org/architecture/architecture/security-and-authentication.md).
