Skip to content

Patients

The patients page (/patients) maintains your lab’s patient registry. Each patient receives a unique MR number used across invoices, reports, and the public online portal.

Patient field visibility and required rules are controlled in Patient fields settings.

Search and list

ControlBehavior
Search inputMatches name, phone, MR number, CNIC, etc.
Search buttonApplies query (also Enter in search box)
New patientOpens registration dialog (hidden in read-only mode)

Deep links:

  • ?search=0300… — pre-fills and runs search
  • ?patientId={uuid} — opens edit dialog for that patient

Table columns

ColumnSortableDefault visible
MR numberYes (mrnumber)Yes
NameYes (name)Yes
AgeYes (age)Yes
GenderYes (gender)
Blood group
CityYes (city)Yes
CNICYes (cnic)
EmailYes (email)
Mother name, occupation, address, passport
PhoneYes (phone)Yes
Father / husband name
Date of birthYes (dateofbirth)
Marital status
ActionsEdit / delete (read-only: hidden)
  • 50 patients per page; sort preference is saved per user.
  • Export via table menu (CSV/Excel).

Header shows total count: “N patients”.

Register patient dialog

Click New patient. Required fields follow your patient fields settings; the form always requires Name and Gender.

FieldInput typeNotes
NameTextRequired
PhonePhone inputPakistan format normalization
CNICCNIC masked input13-digit ID
Father / husband nameText
Mother nameText
AgeNumber
GenderSelectMale / Female / Other
Date of birthDate pickerFuture dates disabled
Blood groupTexte.g. A+, O−
Marital statusSelectSingle, Married, etc.
EmailEmail
OccupationText
Country / province / cityLocation pickerDefaults from lab account settings
Passport noText
AddressTextFull width
ButtonAction
Save patientCreates record; assigns MR number; refreshes list and dashboard

Edit patient dialog

Actions → Edit on any row (or ?patientId= link).

  • Title shows Edit patient and MR number.
  • Same fields as create.
  • Update patient saves changes.

Delete patient

Actions → Delete → confirmation with patient name.

Deletion impact

Deleting a patient does not remove historical invoices. Prefer deactivating or correcting data if invoices exist. Deleted patients cannot be recovered from the tenant portal UI.

Integration with invoices

When creating an invoice:

  1. Enter phone — matching patients appear as chips.
  2. Or use health card lookup for family members.
  3. Selecting a chip loads their demographics into the invoice form.

New patients can also be created implicitly when saving an invoice if no existing patient.id is set.

Read-only mode

In read-only mode:

  • New patient button is hidden.
  • Actions column is removed.
  • Existing records remain searchable and exportable.

Ease Lab — Cloud Pathology Lab Management