No internet

Pharmacy software that works with no internet

The line drops, the outage lasts three hours, and there is still a customer at the counter. Doctavie Pharmacy sells, takes payment, prints the ticket and keeps the stock without asking the network for permission — because the database is on your machine, not on ours.

Download for WindowsWindows 10 / 11 · 64-bit · the CHIFA gateway needs Windows

0network calls to ring up a sale
100%of nominative data stays with you
USBinstallation with no connection at all
I
The mechanism

What “offline” means here

Plenty of software says “offline mode” and means “we put the sale in a queue and hope”. Here is what it means with us, precisely.

I

The database is on your machine

An encrypted-at-rest SQLite database on the officine’s own disk. It is not a cache: it is the original. The server is your machine — counters reach it over the local network, never over the internet.

II

The sale asks nobody for permission

Taking payment, giving change, printing the ticket, decrementing stock, keeping the cash session: all local. None of it waits on a remote server, so none of it can fail because a remote server did not answer.

III

What leaves is chosen line by line

When the line comes back, only aggregates go up — sales, stock movements, CHIFA batches, rejections. Never a customer’s name, never a slate, never a beneficiary. This is not a setting: the list is hard-coded, and a test fails the build if anyone tries to add a nominative table to it (loi 18-07).

II
The comparison

What breaks elsewhere when the line drops

The question is not “is there an offline mode” but “what exactly stops”. Here are six things a pharmacist does during an outage.

“Cloud” softwareDoctavie Pharmacy
Ring up a saleQueued, or nothingNormal, locally
Print the ticketOften blockedNormal
See real stockLast known stateCurrent — it is the original
Open / close the tillDeferredNormal
Check a customer’s slateUnavailableNormal — local by construction
Prepare a CHIFA batchDeferredNormal; transmission waits for the line
III
Offline installation

And if the officine has no connection at all, ever?

A pharmacy with no line whatsoever can still be installed and licensed. Your reseller makes the three round trips for you, with a USB stick.

1

The identification file

The reseller registers your officine with us and leaves with an `.officineid` file on the stick. It carries your pharmacy’s identifier — the one that must be the same on your machine and on ours.

2

The activation request

On your machine the application reads the file, finishes the installation, and writes an `.officinereq` request back to the stick. No connection was needed.

3

The signed licence

The reseller brings the request back to us and hands you a signed `.officinelic` file. Your machine verifies it offline, against a public key compiled into the software. From there, the pharmacy runs.

An offline licence cannot renew itself: ask your reseller for the next one before the date shown in the application.

IV
Questions

What people actually ask

01Can I sell during an internet outage?

Yes, normally, with no change to how you work. The till, the stock, the ticket and the cash session are local. You will not notice a difference — that is the point.

02What about a power cut?

That is a different problem: with no power, no software runs. What we guarantee is that the database is consistent when the power returns — sales confirmed before the cut are there, and the cash session reopens on the right amount.

03Does my data go to a server abroad?

Nominative data, never. It stays on the officine’s machine. What goes up, when there is a line, are nameless aggregates: quantities, amounts, stock movements, CHIFA batches. Loi 18-07 classes health data as sensitive, and we built the sync around that constraint rather than beside it.

04Does CHIFA transmission work offline?

Preparation does: you build your batches and bordereaux normally. The transmission itself goes through CHIFA_OFFICINE, which needs its own connection — as it does today. The difference is that nothing stops you working in the meantime.

05Can I install on several machines with no internet?

Yes. One machine is the server — it holds the database — and the counters reach it over the local network. Neither needs the internet to talk to the other.

06What if my licence expires during an outage?

The software keeps working through the grace period shown in the application, then goes read-only. It is never locked: your registers and your exports stay reachable, whatever happens.

Try it with the cable unplugged

That is the test we suggest you run first, and the only one that really counts at the counter. Create your account, install, unplug, sell.