# Register a new patient while booking

## Overview

[Video: Register a new patient while booking](https://www.youtube.com/watch?v=wmPnx45EdGQ)

This flow describes how you register a new [patient](https://docs.ohc.network/concepts/clinical/patient.md) in the [patient portal](https://docs.ohc.network/concepts/scheduling/patient-portal.md) while you book an appointment. Care registers the patient with your phone number, and then books the slot that you chose.

## Pre-requisites

* You chose a day and a slot, selected **Continue**, and Care opened **Select/Register Patient**. See [Book an appointment online](https://docs.ohc.network/flows/scheduling/patient-portal/book-an-appointment-online.md).
* The patient is you, or another person who uses your phone number, and is not in the list on **Select/Register Patient**. The list shows only the patients whose phone number in Care is exactly your phone number.
* If the patient is registered in Care with another phone number, sign in with that phone number to book for that patient.
* You know the name, the sex, the date of birth or the age, the address, the PIN code and the area of the patient.

## Permissions

| Permission | Access |
| - | - |
| No staff permission (patient sign-in) | Your sign-in with a one-time code (OTP) lets you register a new patient. Care registers the patient with your verified phone number. |

## Steps

### 1. Open the registration form

On **Select/Register Patient**, select **Add New Patient**.

If no patient is registered with your phone number, the page shows **No patients found with this phone number. Please create a new patient to proceed with booking appointment.** Select **Add New Patient**.

![The Add New Patient button outlined on Select/Register Patient, above the message No patients found with this phone number. Please create a new patient to proceed with booking appointment.](/assets/images/register-a-patient-while-booking-1-9865e79301b1289a79fb50015f0c9db5.webp)

Care opens **Patient Registration**. Care keeps the slot and the note that you chose.

The form shows **Phone Number Verified** and your phone number. Care registers the patient with this phone number.

### 2. Enter the details of the patient

Complete the fields in the table below. Fill in **Date of Birth** or **Age**, whichever you select. All other fields are required.

| Components | What it captures |
| - | - |
| **Patient Name** | The name of the patient. Enter at least 3 characters. The box shows **Type Name**. |
| **Sex** | The sex of the patient. Select **Female**, **Male**, **Non-binary** or **Transgender**. |
| **Date of Birth/Age** | Select **Date of Birth** or **Age**. Care selects **Date of Birth** first. Fill in the one that you select. |
| **Date of Birth** | The date of birth of the patient, in the **Day**, **Month** and **Year** boxes. |
| **Age** | The age of the patient in years. The box shows **Type Patient Age**. The form shows the **Year of Birth** that the age gives. |
| **Current Address and Route to Home** | The current address of the patient, and the route to the home. |
| **PIN Code** | The PIN code of the address. Enter a 6-digit number. |
| Area dropdowns | The area of the address. Each dropdown shows a type of area. When the type is not known yet, the first dropdown shows **State**. When you choose an area that has smaller areas, Care adds a dropdown below it. Choose down to the last level. |

![The registration form filled in for Divya Krishnan, with Female selected under Sex, Age selected with 29 entered and Year of Birth: 1997 shown, and the District dropdown outlined with Ernakulam chosen, below State](/assets/images/register-a-patient-while-booking-2-e52b1ff543994212e4e7d5703cb2e0b4.webp)

If you enter the age, Care stores only the year of birth: this year minus the age. The form says **Only year of birth will be stored for age.**

If a field is not right, the form shows one of these messages:

| Message | What to do |
| - | - |
| **This field is required** | Fill in **Patient Name**, **Current Address and Route to Home**, or the **Date of Birth** or **Age** that you selected. |
| "Must be at least 3 characters" | Enter a name with 3 or more characters. |
| **Gender is required** | Select an option in **Sex**. |
| **Required** | Enter the **PIN Code**. |
| **Pincode must be 6 digits** | Enter a PIN code of exactly 6 digits. |
| **Organization is required** | Choose the area down to the last level. |
| **Age cannot be less than 0** | Enter an age that is more than 0. |
| **Invalid age** | The age is 0 or less. Select **Date of Birth**, and enter the date of birth. |

Care does not register a patient with an age of 0. If you select **Register Patient** with an age of 0, Care shows "Value error, Either age or date of birth is required" and does not register the patient or book the slot. For a baby less than one year old, use **Date of Birth**.

To go back without registering, select **Back** or **Cancel**. Care returns to **Select/Register Patient** and keeps the slot and the note.

If you entered details, Care asks **You have unsaved changes. Are you sure you want to leave?**

### 3. Register the patient

Check the details. The patient portal cannot change them after you register the patient.

Select **Register Patient**.

![The Register Patient button outlined next to Cancel at the bottom of the filled-in registration form](/assets/images/register-a-patient-while-booking-3-104eb0d5ef048086779e4ea2b6e6990d.webp)

Care registers the patient and shows **Patient created successfully**.

Care then books the slot that you chose for the new patient, with your note. You do not select **Confirm**.

Care shows **Appointment created successfully**, and opens the page **Your appointment has been successfully booked!**

![The heading Your appointment has been successfully booked! outlined on the success page for Divya Krishnan with Dr. Meera Iyer on 1st December at 11:18 AM, below the notices Appointment created successfully and Patient created successfully](/assets/images/register-a-patient-while-booking-4-7615bb5bea69c9237c606a5482a733bb.webp)

If Care registers the patient but cannot book the slot, the patient stays registered. For example, the slot became full or ended before Care booked it. Care then shows a notice with the message "Slot is already full" or "Slot is already past".

In that case, book again from the facility page, and select the card of the new patient on **Select/Register Patient**.

## Expected Outcome

* Care registers the patient with your verified phone number.
* Care books the slot that you chose for the new patient, and shows **Appointment created successfully**.
* Care opens the success page, headed **Your appointment has been successfully booked!** It shows the same details as after you book for a registered patient. See the Expected Outcome of [Book an appointment online](https://docs.ohc.network/flows/scheduling/patient-portal/book-an-appointment-online.md).
* Everyone who signs in with your phone number sees the new patient on **Select/Register Patient**, and can book for this patient.
* To see the appointment, select **Appointments** in the patient portal sidebar. Then choose the new patient in the patient switcher in the header. See [View your appointments](https://docs.ohc.network/flows/scheduling/patient-portal/view-your-appointments.md).
* For front-desk staff: on the staff appointment page, **Booked by** shows the patient's name followed by "(Patient)".

## Related

Concepts:

* [Patient](https://docs.ohc.network/concepts/clinical/patient.md)
* [Patient Portal](https://docs.ohc.network/concepts/scheduling/patient-portal.md)
* [Appointment Booking](https://docs.ohc.network/concepts/scheduling/booking.md)

Flows:

* [Book an appointment online](https://docs.ohc.network/flows/scheduling/patient-portal/book-an-appointment-online.md)
* [Sign in to the patient portal](https://docs.ohc.network/flows/scheduling/patient-portal/sign-in-to-the-patient-portal.md)
* [View your appointments](https://docs.ohc.network/flows/scheduling/patient-portal/view-your-appointments.md)
* [Find a facility and a practitioner](https://docs.ohc.network/flows/scheduling/patient-portal/find-a-facility.md)
