sector guide · Clinic Ledger

Running a clinic

A health centre or private clinic in a home town, owned by a group abroad, a church or a family and run by its clinician in charge. Every visit is charged from the Board's price list, every drug leaves the dispensary named to a visit, and every payment is accounted for. For the Board, the clinician in charge and the clinic's staff.

Runs it
The clinician in charge (the Manager), with the clinic's staff on its phone
The Board's
Every price, every void and every charge let off; the dispensary's write-offs
Counted by
The cashier (the cash box) and the Counter (the dispensary, blind, each month)
Never recorded
Anything clinical: no diagnosis, symptom, result or note
Checked by
ledger-verify --clinic, from the verification bundle

Watch it working

Short films of each step on a clinic set up for demonstration, with its people and figures made up. Each opens in a new tab.

  1. The price list and the dispensaryServices and drug prices from a day; the dispensary stocked.
  2. Visits on the phoneVisits charged at the day's prices, drugs taken from the dispensary, patients added.
  3. What patients paidPayments to the cashier, counted and banked, or paid straight in; voids and waivers the Board's.
  4. The dispensary counted blindThe counter counts the dispensary; only the Board settles a difference.
  5. Staff check-ins and wagesStaff check in daily; a timesheet never claims more days than check-ins.
  6. The close and the reportsThe cashier's count and the dispensary count close the month; the reports and the bundle.
  7. The console, read for a clinicPeople, Approvals, Money, Periods, Settings, Plan, Help and the clinic's guide.
  8. Payers and each patient's coverThe Board's insurer and employer with their terms, the office's covers, and a visit split between payer and patient.
  9. Claims and the payer's remittanceThe month's claims made and downloaded, a remittance short of a line, and the Board sending the unpaid share back to the patient.
  10. Expiry dates and reorder pointsA batch with its expiry, the batch to give first, expired drugs reported and written off by the Board, and a reorder point and its order.
  11. A patient's statement by linkA private link read without signing in, each visit at the patient's share and the payer never named, then replaced by a new one.

The clinic and who does what

A clinic is a holding whose record shows what each patient was charged, what they paid, what was let off and what they still owe, and where every drug went. The usual losses it is built against are patients charged in cash that never reaches the record, drugs dispensed to no one or taken from the shelf, and staff on the payroll who are not there.

WhoRoleWhat they do
The BoardBoardSets the price list of services and drugs, voids a visit recorded in error, lets a charge off, writes a drug off or in, appoints the Counter and closes the month. See Board.
The clinician in chargeManagerRuns the clinic: keeps the patient register, names receipts in the money, records visits and payments on the phone. Never sets or lets off a price. See Manager.
The clinic's staffWorkerRecord visits, add patients as they arrive, take payments and check in each day they work, on the clinic's phone. See Worker.
The cashierWhoever takes the moneyThe clinic keeps one cash box. Whoever takes a payment records it on the phone; the cash box is counted before it is banked and at each month's end.
The counterCounterCounts the dispensary each month from their own phone, blind. Never dispenses, never handles the money, never on the staff. See Counter.
The auditorAuditorSees each patient's visits and what they owe, never who they are. See Auditor.

Nothing clinical, anywhere

The record holds a visit, the services given by their kind, the drugs dispensed and what was charged. It never holds a diagnosis, a symptom, a test's result or a note about the patient, on the chain or off it. The clinic's own medical files stay outside the app. The phone's visit screen says so too: record nothing clinical.

Setting up the clinic (the Board)

  1. Set the clinic's currency in Settings (money.currency).
  2. On the Clinic tab, under Places, define the clinic's site, and the dispensary inside it as a store with a code (for example DISPENSARY). Staff check-ins count only when their photo was taken inside the site.
  3. In Stock, define each drug and supply the clinic dispenses, as a medicine, a vaccine or another supply, with its unit (see The stock ledger).
  4. On Clinic, under Add a service, add each service with its kind and price: a consultation, a laboratory test, a procedure, maternity (a delivery), an immunisation, an admission (a night on the ward) or other. A service may be free.
  5. Under Drugs and supplies, press Set the price beside each drug and give its price per unit. A drug with no price is never dispensed on a visit.
  6. Add the clinician in charge and the staff under People, enrol the clinic's phone (see People, access and phones), and appoint a Counter.

Prices

  • A new price is charged from the day it is set. A visit already recorded keeps the price of its day.
  • To change a price, press Change beside the service or drug. To stop offering a service, mark it Retired: given no more: it stays on the list and is given no more.
  • Two services never share a name.

The patient register

Who a patient is, their name and phone, is personal data. It is kept in The patient register, off the record chain: the chain records only that a patient was registered and which details changed, never the values.

  • The clinician in charge or the Board adds a patient on the Clinic tab with Add a patient.
  • The clinic's staff can add a patient on the phone as they arrive, with Add a patient: the name and, if they have one, the phone. The patient can be chosen straight away, even before the phone syncs. The details travel beside the record in the phone's signed sync, and the phone forgets them once the office has them.
  • Look a patient up before adding them. A change to a patient's name or phone is made by the office, never on the phone.
  • The phone shows each patient's name and what they owe, never their phone. The auditor sees visits and what is owed, never a name.

Patients erased

Once the Board's retention period (impact.retention_months in Settings) has passed since a patient was last seen, the daily job erases them from the register. Last seen is their last visit not voided, or the day they were added. Their visits, charges and payments stay in the record, without a name. A phone that sends an erased patient's details again is told to forget them, and they are never written back.

Visits, on the clinic's phone

Visits are recorded on the phone alone, by the clinic's staff or the clinician in charge, as each visit ends.

  1. Open Record a visit and type part of the patient's name. The phone shows what they owe from earlier visits.
  2. Tick each service given, and type how much of each drug was dispensed. The phone shows what the dispensary holds.
  3. Check the total, press Save, and tell the patient what they owe.

The visit is charged from the price list at its day's prices, and its drugs leave the dispensary. The app refuses a visit with no service and no drug, a retired service, a drug with no price, and more of a drug than the dispensary holds. The record reaches the office at the next sync (see Working offline and syncing).

Voiding a visit

Visits on the Clinic tab lists the month chosen, each visit with what was given and its charge. Only the Board voids a visit recorded in error: Void beside it, with why in at least ten characters. Its charge is no longer owed and its drugs go back to the dispensary. A voided visit stays listed. The app asks you to confirm, because a void cannot be undone (see Confirming, and the ways back), and nothing in a closed month can be voided.

Money: what is owed, let off and paid

Owed is each patient's charges for visits not voided, less what the Board let off and what they paid either way. What a patient still owes carries over to their next visit. The money itself is recorded in Money, as on any holding (see Money, end to end).

Letting a charge off

Only the Board lets a charge off: Let off beside the patient, with the amount and why: Exempt (a child, an expectant mother), Hardship, A member of staff or Other. It is never more than the patient owes that day, and it cannot be taken back.

What patients paid

Patients pay either way:

  • Straight in, to the clinic's bank or mobile-money account. The office opens Receipts to name under What patients paid and names the receipt as Paid straight in by that patient.
  • To the cashier, in cash or to the clinic's phone, recorded on the phone with Take a payment as it is taken: the patient and the amount. A patient may pay part of what they owe. The cash stays in the cash box until it is banked, and the office names the deposit as The cashier's cash, banked, never more than the cash box held that day.

The cashier counts the cash box with Count the cash box before banking it and at each month's end, typing what they counted, not what the phone expects. Each count is listed under What patients paid with what the cashier should have held that day. A receipt reversed in Money counts for nothing. A receipt named as a patient's payment is never named for anything else.

A patient's statement by link

On the Clinic tab, Statement beside a patient makes a private link to what they were charged: each visit's day and amount, what the Board let off, each payment to the cashier or straight in, and what is still owed, read from the record as it stands. It never says what a visit was for, since a link can be passed on. The patient opens it on their phone without signing in, and can download it as a PDF; Make a link to copy shows the link once, to send yourself. Where the Board turned WhatsApp on (messaging.whatsapp, off by default, on the paid plan) and the payer agreed, Send it by WhatsApp sends it from the platform's number; the payer may write BALANCE for a new link, or STOP. With messaging.reminder_day set, each payer who owes is sent a new link that day each month, by WhatsApp where they agreed, else by email.

A patient who paid the cashier and does not see the payment brings their receipt to the Board, so cash taken and never recorded comes to light. Each statement names the record it was read at; anyone given the clinic's bundle works the patient out again with ledger-verify --clinic and --subject.

A link works for 90 days; a new one replaces the last, and Withdraw the link stops it at once. The office sees when each statement was last opened. The page names the patient by first name and initial alone, and their links go when their details are erased.

Payers, cover and claims

An insurer, an employer, a mutuelle or a scheme may pay part of a patient's visits. Each is set on the Payers tab, and a patient's visit is then split between the payer and the patient, worked out from the record each time and never typed.

  1. The Board adds each payer and its terms from a day: a share of the clinic's own prices, or the payer's own price for each service or drug on its tariff. Terms changed later never touch a visit already seen; ended, the payer covers nothing from that day.
  2. The Board or the clinician in charge records a patient's cover: the payer, from a day and to a day or open, and the payer's share of what it covers or a co-payment the patient pays at each visit. The member number is kept in the register beside the patient, never in the record.
  3. Each month, Make the claim beside a payer takes every covered visit of the month not yet claimed. The server works out the lines, the total and a fingerprint of them, and numbers the claim. Download for the payer gives the paper for the payer, with names and member numbers, made at that moment and never kept.
  4. When the payer pays, record the money received as usual, then Record the remittance against the claim: each line paid in full, in part or not at all, with the payer's reason for anything short. The lines paid add up to the receipt exactly, and a receipt is named once.
  5. What a payer left short is the Board's to decide, line by line, with Decide: Send back to the patient (they then owe it) or Write off. The decision cannot be undone.
  6. Only the Board withdraws a claim, and only before anything is settled against it; its visits may then be claimed again. A visit on a claim cannot be voided until the claim is withdrawn.

A patient's statement shows each visit at their own share and what was covered beside it; a share sent back to them shows as not paid by their cover. It never names the payer.

The dispensary and its count

Drugs are a store's ledger: deliveries into the dispensary, recorded on the clinic's phone, and every drug that leaves it named to a visit. Nobody who dispenses writes a drug off or uses one from the store: the clinic's phone refuses it.

  • The Board appoints a Counter under People: someone who never dispenses, never handles the money and is never on the clinic's staff. The app refuses to make anyone on the staff a Counter, or to give a Counter a role on the staff.
  • Each month the Counter signs in on their own phone with a PIN and counts the dispensary there, item by item, without seeing the record. Nobody else counts it.
  • The dispensary on the Clinic tab lists the month's drugs held and not counted, and every count that differs from what was delivered less what was dispensed. A difference stands as Store count does not match in Exceptions, and holds the month.
  • Only the Board settles a difference: Write off or in beside it, with how much, why (broken, spoiled, stolen, missing with cause unknown, returned to the supplier, or found) and the Board's reason in words.

Expiry, first expiring first out

A delivery records each lot's batch and expiry. What is left of each lot is worked out from the record, the lot expiring first given out first. On a visit, the clinic's phone shows the batch to give out first; a drug from another batch is still recorded.

  • Near or past their expiry on the Dispensary tab lists each lot within clinic.expiry_warn_days of its expiry, or past it, with about how much is left. The clinician in charge is told of each.
  • Expired drugs found are reported from the clinic's phone, counted and photographed, and kept apart. The report moves nothing.
  • The Board writes them off from the report, never more than it counted, taken from its lot. An expired write-off without a report is refused.

Reorder points

The Board or the clinician in charge sets a drug's reorder point on the Dispensary tab, with how much to order and from which supplier if they wish. When what is held in date and what is still on order come to the point or less, the clinician in charge is told and an order is suggested: Order beside the drug places it on the purchases, as it stands or changed. Nothing is ordered until someone places it.

Days at work

Each person on the staff checks in on the clinic's phone, signed in with their own PIN, with At work today and a photo taken at the clinic, on each day they work. A photo taken outside the clinic's site, or with no place, is kept but does not count.

Their days this month are listed under Days at work on the Clinic tab, beside their timesheet. A timesheet never has more days than were checked in: the app refuses it. The Board may switch the check-ins off in Settings (clinic.features), and with them this cap. On Free they are off: the attendance module comes with the Pro plan.

Exceptions

ExceptionRaised whenWhat to do
Salary paid on few days at workA month's salary is paid on a timesheet whose person checked in on fewer than half the month's weekdays.The Board looks into it: someone paid who was not there, or check-ins not made.
Store count does not matchThe Counter's count of a drug differs from what was delivered less what was dispensed.Find out why. The Board writes the difference off or in with its reason; until then the month does not close.
Claim unpaidA claim has a line the payer has not settled clinic.claim_days after it was made.The clinician in charge follows it up with the payer, and records the remittance when it comes.
Payer rejecting too muchWhat a payer left short of a claim is more than clinic.rejection_pct per cent of what its settled lines claimed.The Board decides each short line and looks at the payer's terms, or at how claims are made.
Goods near or past their expiryA lot with some left is within clinic.expiry_warn_days of its expiry, or past it.Give it out first while in date; once expired, report it from the phone for the Board to write off.
Item at its reorder pointWhat is held in date and on order of a drug comes to its reorder point or less.Place the order suggested, or change it.

See Exceptions and escalation for resolving one.

The staff: checks, training, absence and leave

  1. On the Staff tab, the Board names what the staff must hold: each check or course, how often it is renewed, what it is needed for and, if not everyone, the roles it applies to. A starting list is offered: each clinician's professional registration and licence to practise, infection prevention and control, basic life support.
  2. The manager opens a person's row and records each check or course: the day, its expiry if it states one, its number and who gave it.
  3. Nobody is booked here, so nothing is refused: the table and the exceptions follow each person. What a check says (its number and who gave it) is kept off the chain, the chain holding its fingerprint; keep the certificate on paper.
  4. The manager is told of each check or course expiring within 30 days, lapsed or missing.
  5. The Board sets the holiday year (weeks a year, or days for each month worked) and each person's working pattern. Each absence is recorded with its days and why; why is never written on the chain. Annual leave says what it takes, and the table shows what each person is entitled to, has taken and has left.
  6. After sickness the manager records the return to work. The Board is told of leave over the entitlement; the manager, of a pattern of sickness and of a return to work not yet held.

Closing the month

The Board closes the month as on any holding (see Closing the month). A clinic's month closes only on its balance:

  • The cashier's last count of the cash box in the month agrees with what they held that day. If they took money in the month or still hold some, they count it from the phone first.
  • Every drug the dispensary held at the month's end was counted by the Counter that month, and each count agrees, or the Board has written the difference off or in.
  • With payers: every covered visit of the month is on a claim, and every line a payer left short by the month's end is decided by the Board.

So what the visits were charged, less what was let off and what is still owed, is what was paid; what the cashier took is what they banked plus what they hold; and the dispensary is what was delivered less what was dispensed. A visit invented to cover drugs taken would need its charge paid, and a visit left out to keep its cash leaves its drugs missing from the count.

Reports, the bundle and the verifier

The Weekly flash, the Monthly pack and the Investor pack carry the clinic beside the money: the month's visits, what they were charged and what was let off, what was paid in the month, what all patients owe today, what the cashier holds, and how many drugs are not yet counted and agreed. With a payer, they add what the month's visits put to payers, what of it was claimed, what payers paid and left short in the month and what they owe, with the lots near their expiry and the drugs at their reorder point.

Download the verification bundle on the Clinic tab gives the clinic's records and the photos of its check-ins. No patient is named in it, and nothing clinical is in it. Anyone can check it with ledger-verify --clinic, which works out again, from the records alone: each visit's charge from the price list; each patient's charges, waivers, payments and what they owe; the cashier's balance; the dispensary's ledger and each count; each check-in against the site and each timesheet against them; each visit's split between its payer and the patient, each claim's lines, total and fingerprint, each remittance and each decision, with a line for each payer; and each close. See Checking the records.

Settings

  • money.currency: the clinic's currency, set first.
  • impact.retention_months: how long after a patient was last seen they are erased from the register.
  • clinic.claim_days, clinic.rejection_pct and clinic.expiry_warn_days: when a claim is unpaid, when a payer rejects too much, and how near its expiry a lot is shown.
  • The staff's check-ins can be switched off; the dispensary cannot, since every visit draws on it.
  • Pro's price is set by the clinic's visits in a month, averaged over three months' ends: Small up to 500, Medium up to 2,000 (see Plans).

The clinic has no other settings of its own: every price, payer's terms, waiver and write-off is a record of the Board's, kept in the chain.

Top