---
title: "Procedures"
description: "The branch's Procedures board — booking, logging, completing and reopening procedures, and the claim each commission line files when a procedure is done."
---

> Documentation Index
> Fetch the complete documentation index at: https://peoplematter.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Procedures

A procedure is a **record**, not a task: which day, what time, who performed it, the patient (a masked name
and a patient code), the body parts, the supplies used, and which commission it pays, to whom. The work around it — confirming the instruments before, the
follow-up call after — is the tasks, which its [procedure type](/en/docs/task-templates/) brings
and which appear on the branch's wall or in the person's own Tasks.

## The Procedures board

**Procedures** in a branch's sidebar is that branch's schedule for one day, and everyone at the
branch sees it (the basic employee permission template holds the branch's **View procedures**),
the patient's masked name and patient code included: whoever preps the materials needs to know who the patient is, and everyone
plans their day around the surgery list. Seeing it changes nothing: booking, logging, editing,
cancelling and reopening each need their own permission. The board and the procedure panel **show no
commission** — commission shows only to whoever may book or edit the branch's procedures, and each
person sees their own under **Claims**. It opens on today, **Date** picks another day, and **Status** starts on **All**. Each row reads like a line of the surgery sheet: the
time (**All day** when there is none), the **Patient** (the masked name, then the patient code), the procedure (its name followed by its body-part tags), who it is **Performed by**, the **Assisting staff** (your own name is bold, so you can find the surgeries you are on),
its status (Scheduled / Done / Cancelled),
how many of its chores are done ("1 / 3", say), the notes (clipped to one line; the full text on hover and on the panel), and at most one amber **Not filed** flag (see
"Support filing" below). Supplies, commission and attachments are not on the board; they are on the panel. Where the table is too wide it scrolls inside its own box, and on a phone each procedure is a card.
Click a row or card to open the procedure's panel.

## Book a procedure

Someone holding **Book and log procedures** presses **Book a procedure** on the board:

1. **Procedure type** — one of the company's [procedure types](/en/docs/task-templates/); it brings
   the procedure's name, its commission lines, and the chores around it.
2. **Procedure date** (at most 90 days ago), and a **Time** (leave it empty for all day).
3. **Performed by** — required when a commission line is paid to the performer, and then the
   "Nobody named" option says why.
4. **Commission** — the type's **commission entries**, each with its quantity. A line paid to **The
   performer** pays this procedure's performer; every other line asks who it is **Paid to** — whoever
   sold the surgery, say — or **Nobody yet**: a line naming nobody files nothing, and once the
   procedure is done it waits at the foot of the board for someone to be named. When this procedure
   differs from its type, change a quantity, remove a line, or **Add a commission line** (this patient
   also bought self-pay drops, say). An entry is listed once.
5. **Supplies** — the supplies the type usually uses, with their quantities (retired ones are not
   copied in). Change a quantity, add a **Note** (a lens power, say), remove a line, or **Add a
   supply** or **Add other**. Supplies have nothing to do with commission.
6. **Assisting staff** — anyone else who takes part in this procedure, up to 10 people; being
   assisting staff earns no commission — put whoever earns one on a commission line.
7. For each chore the type leaves to booking, pick who it **is for**, or leave it on **The
   branch's wall**.
8. **Patient name** (optional) — only a masked form is kept, the middle hidden: 王小明 is saved as 王○明
   and the full name is never stored; the field says what will be saved before you save.
9. **Patient code** — your practice system's chart number, booking number or file label, **never a
   name**. When what you typed looks like a name, the field warns you.
10. **Body parts** (optional) — the right eye or the left, say, up to 5: typing lists the parts
    already in use (the ones this type of procedure uses most come first); pick one, or press Enter
    (or choose "Add '…'") to create one that isn't there. A name already in the list, ignoring case and
    extra spaces, picks that part rather than making a twin. A name the company has retired can't be used, and
    the field says so. Parts that mean the same thing (右眼 / R) are merged by whoever manages
    procedures, in settings.
11. **Notes** (optional).

**What this books**, under the form, lists the day each chore falls on and who it is for — exactly
what will be written. A chore whose day has already passed is dated today, with its original day in
amber: "Today (was Fri, Oct 9)". When the performer or any of the assisting staff is missing their support
filing for the day, the procedure's own line shows **Not filed** before you save, and who it is
about is named below.

A chore for a **Role** names the role (掛, say), not a person: who has it is settled on the day, by
that day's roster, the first person placed in the role holding it in each session (see Role chores
in [Tasks](/en/docs/tasks/)). When the day's roster has someone
on duty in the role, its line carries no mark; when a published roster has nobody in it (a closed
day, nobody rostered in the role, or a duty the branch has since renamed), it shows **Nobody on
duty**; when no roster for the day is published yet, **Assigned once the roster is published**. A line carries one
amber mark at most. A line that names nobody has **That day's roster** beside it, which opens the
branch's roster for that day in a new tab, so you can see who is on without losing the form.

Press **Book**: the procedure, its commission, its supplies and every one of its chores are created together, the
notice says how many chores were booked, and the procedure opens. When a role chore lands on a day
the published roster has nobody in its role all day, the same notice adds a line, such as "1 “掛”
task falls on a day nobody is on “掛”: the branch's managers see it on Home until someone is
rostered or named." The procedure is booked all the same; it is a warning. Booking files no claim: commission
is claimed when the procedure is done. Booked after 07:30 with a role chore on today, the
people who have it now (or the next session's) are told at once; booked by 07:30, nobody is told
then, and the morning note tells them.

A procedure's branch never changes once it is booked: booked at the wrong branch, cancel it and book
it again at the right one.

## Log procedures

A procedure already done without a booking is recorded afterwards by someone holding **Book and log
procedures**, who presses **Log procedures** on the board. A logged row has no patient name or body parts: add them afterwards, with **Edit** on the procedure's panel. Each row records one procedure as
Done:

- **Procedure item or type** — an entry from the commission catalogue, or a procedure type (its
  option reads "with N chores"). A company without the payroll module has no commission catalogue,
  and logs from procedure types only.
- **Performed by** and **Date** — the date can be no later than today, and no more than 90 days
  ago: a log records what happened. A row picking an entry also takes a **Quantity**: its commission
  is that entry, at that quantity, paid to the performer.
- A row picking a procedure type brings the type's commission lines, and asks once, for each line not
  paid to the performer, who it is **paid to** (**Nobody yet** if no one is picked). A row can't add a
  line: add it afterwards with **Edit** on the procedure's panel, where a line added to a completed
  procedure is claimed at once.

**Add row** adds another; **Save** posts them one by one. A row that fails keeps its place with its
reason, and the other rows are logged; when every row has landed the panel closes. The board keeps
its day if that is one of the logged days, and otherwise moves to the latest logged day; a
**Status** filter that would hide completed procedures goes back to **All**.

Logged from a procedure type, only the chores dated **today or later** are created: the post-op call
is still made, and the pre-op chores are skipped. A log names nobody, so a chore the type leaves to
booking goes to the branch's wall. When a role chore lands on a day nobody is in its role, the
notice the log closes with says so too, as booking does. Every logged procedure files a claim at once for each of its
commission lines that names its person (see "Commission" below).

## Supplies and attachments

**Supplies** record what the procedure used: the item, a quantity, and a note (a lens power, say). Booking
starts from the type's usual supplies; on the procedure's panel, whoever may edit the branch's procedures presses **Edit** to
change a quantity, add a note, remove a line, or add another supply. There is **no confirm step**: what
the record says is what was used, and the head nurse corrects it afterwards. A done procedure can be
edited too; a cancelled one can't. The performer's **Complete** doesn't touch supplies. Editing supplies never touches
commission: nothing is claimed, withdrawn or locked by it. A removed line is no longer shown; a supply
renamed later shows its new name on past procedures. Nothing counts stock yet; supplies are a record only.

**Attachments** are on the procedure's panel, once the procedure exists (not on the booking form).
Each file opens with a click, and uploading from a phone offers the camera. Whoever may edit the
branch's procedures, and the procedure's performer, can upload; deleting asks for a second press in place.
**Everyone at the branch can see attachments**, and a consent form or a report may carry a full name and
an ID number: attach what is needed, and know that nothing deletes them automatically. A cancelled procedure
takes no new upload, but each of its files can still be deleted.

## Complete, reschedule, cancel, reopen

The procedure panel lists the procedure's details, its **Commission** (only for whoever may book or
edit the branch's procedures: each line's entry, quantity, who it is paid to, and its claim's status),
and its **Chores**
("1 / 3 done", say), laid out by date as one timeline: a finished chore names who finished it; a role
chore names who had it in each session and who has it now; a chore still to come names nobody. Each
line carries one amber mark at most (**Overdue**, **Nobody on duty** or **Assigned once the roster is published**), and
comments show as a count. Click a chore to open it. The panel's top holds the body-part tags, then the patient name and code, the **Supplies** and the **Attachments**. A manager sees **Edit**, **Cancel procedure** and
**Reopen** only when opening the procedure from the branch's own pages (the Procedures board, say).
**Complete**, **Cancel procedure** and **Reopen** each state their consequence first, then ask you
to press again to confirm.

- **Complete** — a manager, or the performer themselves (holding **Complete own procedures**). The
  procedure becomes Done; each commission line that names its person
  files its own claim, whose own approver is told; the post-op chores carry on untouched. Colleagues
  at the branch see the procedure, but can't complete someone else's.
- **Edit** — change the date, and every chore that is still open and still follows the procedure's
  date moves with it, a day already past becoming today; a chore whose own date was changed by hand,
  and a finished chore, stay. The new date can be at most 90 days ago, and a completed procedure's no
  later than today. A chore moved onto today is announced as a same-day booking is: a role
  chore to whoever has it now, a wall chore to the colleagues working today. **Commission** is edited
  here too: change a quantity, who a line is paid to, remove a line or add one, until that line's
  claim is filed. A line added to a completed procedure, or naming its person for the first time, is
  claimed at once. While a line's automatic claim is pending or approved, that line's person, entry
  and quantity are locked and it can't be removed, and so are the procedure's date and time; when it
  pays the performer, the performer is locked too. While it is pending, reopen the procedure first;
  once it is approved it stays as it is, and corrections go through payroll. A line marked settled
  outside the app is held the same way, for good: its person, entry and quantity can't change and it
  can't be removed, nor the performer when it pays the performer; the procedure's date can still
  change. A claim filed by hand that holds a line locks only that line's person and entry (and the
  performer, when it pays the performer): the quantity, the date and the time can still change.
  While that claim is pending, its owner, or whoever filed it for them, can withdraw it, and
  cancelling the procedure, or reopening a completed one, withdraws it too. If you add a line for an
  entry that someone has already claimed by hand, citing this procedure, that line can only pay
  them: on save, the line's **Paid to** says who, and naming them there is the
  way; while their claim is still pending, they can also withdraw it, or its approver reject it.
- **Cancel procedure** — the procedure becomes Cancelled, **for good**, and
  its open chores are cancelled with it; to rearrange it, book it again. A completed procedure can be
  cancelled too, under the same rule as reopening (next).
- **Reopen** — only a Done procedure, which goes back to
  Scheduled; only a manager can, never the performer. A claim still
  Pending is withdrawn in the same act, and reads
  Cancelled. Once any line's claim is
  Approved, the procedure can no longer be reopened: that
  money is in the payment flow, and corrections happen on the payroll side. A commission claim filed
  by hand that cites this procedure for an entry one of its lines names — whoever's it is — stands in
  for that line's claim, so reopening and cancelling treat it the same, however many there are: every
  one still pending is withdrawn in the same act; if any is approved, the procedure can be neither
  reopened nor cancelled. Nobody is told of these withdrawals. A claim citing the procedure for an
  entry none of its lines names (health education, say) is left as it is; once the procedure is
  cancelled, its approver sees "The procedure was cancelled".

## Support filing

When someone who works the procedure — the **performer** or any of the **assisting staff** — covers
from another branch and their position requires support filing, they need a
[support filing](/en/docs/scheduling/support-filing/) for the procedure's day. A commission line's
person (whoever sold it, say) is not checked: a line pays someone, and doesn't mean they work here
that day. Without a filing, the company's strictness setting under "Support filing" decides:

- **Advisory** — it saves, and the procedure is flagged **Not filed**.
- **Override** — it saves only with a **Reason it isn't filed**, which stays on the procedure.
- **Hard block** — it doesn't save; file the cover first.

Booking and logging check everyone. A later edit checks only whoever it adds (a new performer, a new
member of the assisting staff), and a new date checks everyone again; editing only the memo, the
patient name or code, the body parts or the supplies checks nobody. When a save is stopped, the form names who isn't filed, and the
procedure's panel lists them too; once the filings are recorded, **Not filed** clears by itself.

Under **Override**, a procedure keeps one **Reason it isn't filed**. Someone newly added who isn't
filed, or a new date, asks for it again: a reason was given for certain people on one day, and never
carries over. The new reason replaces the old one, so the form names everyone not filed at that
point; once nobody is unfiled, the next save drops the reason.

Staff already on the roster are checked on their roster seat too; the procedure checks them again
against the same filing records.

## Commission

One procedure often pays more than one person: the surgeon, whoever sold it, some self-paid
materials. The procedure's **Commission** lists them line by line: each a catalogue entry
("Cataract surgery operator", "Cataract surgery sales", say), a quantity, and who it is paid to.

- **Completing files the claims** — when a procedure is completed, each line that names its person
  automatically files a Pending commission claim for that person
  (a line paid to the performer, for the performer), priced at the catalogue's current unit
  commission times the line's quantity, and dated the procedure's day (or the day it was completed,
  if that came first). A line naming nobody files nothing.
- **Pressing Complete doesn't make it yours** — when a manager completes, logs or retries it, each
  claim is still its line's person's; the manager is only the one who filed it, never a proxy: they
  aren't told its outcome and can't withdraw it. A surgeon completing their own surgery doesn't see the
  sales line's claim either.
- **Decided like a hand-filed claim** — under the company's claims
  [approval policy](/en/docs/approval-policies/), by default by the line's person's direct manager,
  who is notified; only an approved claim reaches payroll. What is automatic is the *filing*; the
  *approval* is automatic only where the claims approval policy is switched off.
- Whoever may book or edit the branch's procedures sees each line's claim status in the procedure
  panel's **Commission** (Pending / Approved / Cancelled / Rejected,
  or **Settled outside the app** for a line marked so), and the claim panel says "Generated from a procedure", with **Open the procedure** — so the
  approver can see exactly which procedure the money belongs to. Everyone sees their own commission
  under their own **Claims**.
- **What the procedure doesn't name, file by hand** — health education, say, when the type has no line
  for it: file a commission claim yourself with a **Related procedure** — see
  [From claim to payment](/en/docs/payroll/claims/). **One entry on one procedure is paid once**: an
  entry the procedure names can't also be claimed by hand (to pay the right person, change who that
  line is paid to), and an entry it doesn't name can't be claimed by hand by anyone else while one
  such claim is pending or approved. An entry claimed by hand first and added to the procedure later
  keeps its claim, and the procedure's line files nothing.
- **A rejected or withdrawn claim stays that way**; it is never filed again on its own. To correct
  it, fix the line on the procedure (the right person, say), then press **Retry** in **Unclaimed
  commission on completed procedures** below. While the line still can't be filed — its person
  wasn't employed on the procedure's day, nobody is named on it, or its entry is gone from the
  catalogue — **Retry** can't be pressed, and says why: fix the line on the procedure, and **Retry**
  works.

> **The price is the price at filing**
>
> The claim's amount is the catalogue unit price **at the moment the claim is filed**, times the
> quantity — for a claim filed as the procedure is completed, the price at completion; a later price
> change never rewrites an already-filed claim.

## Unclaimed commission on completed procedures

At the bottom of the Procedures board, **Unclaimed commission on completed procedures** lists, one
row per line, every commission line of a completed procedure at the branch that has no live claim,
whatever its day. Each row names the procedure, the commission entry and who it is paid to, and its
**Reason** — "Nobody is named on this line", "The person paid wasn't employed on the procedure's
day", "Filing failed — retry", "Claim rejected", "Claim withdrawn", "A claim filed by hand already
pays this entry" or "The procedure is no longer done", for example — and a rejected or withdrawn one
shows the reason it was given underneath. Click a row to open the procedure.

- The list and its **Retry** are only for people who can edit the branch's procedures: it lists
  pay, not the schedule. Fix the reason, press the row's **Retry**, and that line is filed again: a
  row that files (or turns out to have a live claim already) leaves the list; one that still can't
  shows its new reason. For "Nobody is named on this line", name someone on the procedure first; on a
  completed procedure the line is claimed at once.
- The list is computed live: the moment a claim lands, its row disappears.
- **A claim filed by hand already pays this entry** — someone has a commission claim of their own,
  pending or approved, that cites this procedure for this very entry. That claim already pays it, so
  the row offers no **Retry** and nothing files a second claim on its own, or the entry would be paid
  twice; the row stays. Once that claim is rejected or withdrawn, the row is handled like any other.
- **The procedure is no longer done** — the procedure was cancelled or reopened just as the list
  was read. There is nothing to retry, so the row offers no **Retry**; on a refresh it leaves.
- A line with no claim at all (its filing failed to write, say) is filed again automatically every
  hour; a rejected or withdrawn one is not, and neither is one a claim filed by hand already pays.
- **Completed before automatic filing covered it** — nothing files the line automatically: a person
  decides. There are two causes: the modules commission needs — procedures,
  claims and payroll — were switched on after the procedure's day (procedures kept as records,
  commission paid on paper, say), or that day is from before the app recorded when they were switched
  on. It is the procedure's day that counts, not when it was logged or marked done: yesterday's
  procedure logged after switching them on lands here too, while one on the day they were switched on
  is claimed automatically.
  **File claim** files the line at today's catalogue price; if it was already settled some other way
  (paid on paper, say, or the clinic decided not to pay it), press **Mark settled outside the app**,
  and once you confirm, the line is never claimed and leaves the list — this can't be undone, and it
  is recorded. Don't put payment details in the procedure's notes or attachments; the whole branch can
  see them. If something else also stops the line — nobody is named on it, its person wasn't
  employed on the procedure's day, or its entry is gone from the catalogue — **File claim** can't be
  pressed, and the row says why: fix the line on the procedure, and **File claim** works; or mark it
  settled outside the app.

> **A patient code, not a patient's name**
>
> People Matter is an HR system, not a medical record. The patient name is kept masked only; the patient code shows on every chore the
> procedure brings, to everyone who can read that chore — everyone at the branch's wall included. Put
> your practice system's chart or booking number in the code, and put a name in Patient name.

Source: https://peoplematter.app/en/docs/procedures/index.mdx
