> 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/user-guide/enrollment.md).

# Enrollment

## Feature Overview

Enrollment (also called **Confirm Diagnosis** in the app) is how a health worker at a facility confirms a patient's diagnosis and enrolls them into the programme for ongoing care. A patient who has already been screened is found by search and their details are filled in automatically. A patient who has never been screened can be enrolled directly, entering the details by hand.

When enrollment is complete the patient has a **Program ID**, a record of their confirmed diagnoses, and can go straight on to treatment.

Enrollment needs an internet connection, because the app checks for duplicate patients and creates the patient record on the server.

## Workflow

<figure><img src="https://2347658875-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7inBQ0zjo0nwpqK5625P%2Fuploads%2FKUh7hbed2zEleTd7DltV%2FUntitled%20(Instagram%20Post%20(Square))%20(2).gif?alt=media&amp;token=09201922-b5b5-4801-9417-f4db54b4c8fb" alt="Enrolling a patient in the SPICE app"><figcaption><p>Enroll a patient in SPICE</p></figcaption></figure>

1. Make sure your device is online and you are logged in.
2. On the Home screen, tap **Confirm Diagnosis** (the tile may be labelled **Registration** in your set-up). If you are offline, the app tells you a connection is required.
3. On the **Search Patient** screen, find the patient by name, ID number or mobile number, or tap the QR icon to scan a QR code.
4. Choose what to do next:
   * **The patient is in the list (already screened).** Tap the patient.
     * If they are already enrolled, a message appears: "The patient is already enrolled with Program ID ...". No new enrollment is created.
     * Otherwise the **Confirm Diagnosis** form opens with the details from screening filled in. Location fields taken from screening are locked.
   * **The patient is not found.** The screen shows "No Patient found." Tap **Enroll** to enroll the patient directly. A **Terms and Conditions** page is shown first. The health worker accepts the terms on behalf of the patient, using the **Accept** button. The empty **Confirm Diagnosis** form then opens.
5. Complete the form (see [What the Form Captures](#what-the-form-captures)) and tap **Submit**.
6. If the app finds a possible duplicate, a **Duplicate Patient Found** dialog appears. See [Duplicate Patients](#duplicate-patients).
7. When the patient has been created, the **Summary** page shows:
   * **Result:** the confirmed diagnoses (or "None") and health history.
   * **Patient details:** date of registration, **Program ID**, ID number, name, gender, age, mobile number, BMI and facility.
8. Tap **Done** to return to the Home screen, or tap **Start Treatment** to go straight to the patient's medical review.

> If you leave the form before submitting, the app warns you: "If you leave this screen, your entered data will not be saved."

## What the Form Captures

The form is configured for your programme. It generally includes:

* **Personal details:** name, gender, date of birth or age.
* **ID type and ID number.** For a national ID the number must be unique. The app shows "National ID is already assigned to another member" if it is already in use.
* **Mobile number and its category** (for example personal, family or friend), so the patient can be reached for follow-up.
* **Location:** village and related administrative levels. These are filled in and locked when the patient has been screened.
* **Measurements:** height and weight, with BMI calculated automatically.
* **Risk factors and history:** for example smoking, and whether hypertension or diabetes has been diagnosed.
* **QR code** (optional): scan to link a QR card to the patient. A code that is already linked to someone else is rejected.

Required fields are marked and must be completed before the form can be submitted.

## Duplicate Patients

Before the patient is created, the app checks whether a patient with the same details already exists. If it finds one, the **Duplicate Patient Found** dialog shows the existing patient's name, mobile number, ID and patient ID, with the message "A duplicate patient with the mentioned details has been found. Would you like to override it with the information you entered?"

* **Edit:** return to the form to correct the details you entered.
* **Proceed:** continue and enroll the patient against the existing record using the information you entered.

## Confirming a Diagnosis From a Patient Record

Clinicians can also confirm or change a patient's diagnoses during a medical review. The **Confirm Diagnosis** dialog lists the available diagnoses as selectable tags. Choose the diagnoses that apply and tap **Confirm**. Previously confirmed diagnoses are pre-selected.

## Notes

* A patient can be enrolled only once. If you search for an enrolled patient, the app shows their Program ID instead of opening a new form.
* A patient who was referred from screening arrives with their screening details already filled in, which saves re-entering height, weight and contact information.
* Enrollment needs a connection. Screening and registration of households and members do not; see [Offline & Sync](https://spice.docs.medtroniclabs.org/user-guide/offline-and-sync.md).

See also: [Screening](https://spice.docs.medtroniclabs.org/user-guide/screening.md) and [Household & Member Registration](https://spice.docs.medtroniclabs.org/user-guide/household-and-member-registration.md).
