In a pharmacy or at a pharmaceutical wholesaler in Montreal, the real risk of an in-house AI assistant is not that it exists, but that it invents a detail about a drug interaction, a dosage or stock availability with the same confidence as a correct answer, and nobody notices until a pharmacist or a customer relies on it. An on-premise LLM makes sense once a pharmacy or distributor handles data on prescriptions, customers or suppliers it would rather keep off the internet, and wants to control exactly who can access what. The real question is not how powerful the model is, but the safeguards built around it.
What Canadian and Quebec law requires
In Canada, the Personal Information Protection and Electronic Documents Act (PIPEDA) applies to personal information handled in commercial activities, except in provinces with substantially similar legislation, including Quebec for the private sector; the Office of the Privacy Commissioner of Canada (OPC) is the authority for organisations covered by PIPEDA. PIPEDA does not itself ban transferring personal information to another country for processing, but the organisation stays accountable and must contractually guarantee a comparable level of protection.
In Quebec, where Montreal sits, the private sector privacy law applies, with Law 25 requiring a privacy impact assessment for any information system project involving personal information, and an assessment before any communication of information outside Quebec or any arrangement entrusting its custody to someone outside Quebec; the Commission d'accès à l'information du Québec (CAI) is the authority. For a pharmacy or wholesaler with operations in Ontario, the Personal Health Information Protection Act, 2004 (PHIPA) also governs the collection, use and disclosure of health information by custodians there, without requiring it to stay in Ontario or Canada.
A model installed in Montreal, on the pharmacy's or wholesaler's own servers, directly answers the transfer assessment Law 25 requires: without any communication outside Quebec, the assessment covers a local deployment rather than a foreign provider. That does not remove the privacy impact assessment itself, the rights of the people concerned, or the filings still owed to the CAI or the OPC, depending on the case. This is not legal advice. The exact classification of a given project should be checked with the CAI, the OPC or the organisation's own counsel.
Safeguards to check before go-live
The main risk with an internal assistant is not a single mistake, but an invented answer delivered with the same confidence as a correct one. The following controls reduce that risk at every stage:
- An evaluation set with trap questions: among the 80 to 120 real questions validated by the pharmacy's own teams, some deliberately cover an interaction absent from the documents or a product reference that does not exist, to check the model says it does not know rather than improvising.
- Blind testing of three preselected models, under a commercially usable open licence, scored by staff without knowing which one answered.
- Tiered access rights: a receiving clerk does not see the same documents as a pharmacist in charge or a purchasing manager.
- A usage log: every query and answer can be reviewed, which makes it possible to trace an error after the fact.
- Safeguards against invented answers built into the deployment, with an alert channel to flag a doubtful answer before it turns into an incident.
- Systematic human validation: no decision on a drug interaction, a substitution or an order is ever left to the model alone; it prepares, the pharmacist or purchasing manager decides.
That division of labour can be summarised this way:
| Situation | What the model prepares | Who decides |
|---|---|---|
| Question about a drug interaction | Searches the documents and lists the mentions found | Pharmacist in charge |
| Request for a product substitution | Suggests equivalents listed in the internal catalogue | Pharmacist in charge |
| Order placed with a supplier | Summarises stock levels and lead times stated in the documents | Purchasing manager |
| Question with no answer in the documents | Flags the missing information instead of answering | Pharmacist or designated manager |
Two phases that build these safeguards in, not bolt them on
Phase 1 (audit, sizing and comparison, 2 to 3 weeks) builds the evaluation set with the teams, blind tests the three models on the pharmacy's or wholesaler's own cases, audits the existing infrastructure (server, network, security) and delivers a recommendation report with the hardware specification. Phase 2 (deployment, 3 to 4 weeks after hardware delivery) installs the chosen model on infrastructure isolated from the internet, with the access controls, usage log and alert channel defined in phase 1, then trains users and hands operation over to the in-house IT contact. Hardware is bought directly by the organisation from its own supplier, against the specification, and is never included in the price.
Budget
No Kolonell price is quoted without a prior conversation: a pharmacy and a wholesaler are each quoted after a scoping call, since the volume of documents, the number of simultaneous users and the redundancy required are not comparable. Payment runs by phase, 50% on order and 50% on delivery. What drives hardware cost: the size of the chosen model, the number of simultaneous users, the volume of documents to index, the redundancy wanted, electricity and the server room; no server price range is given here in the absence of a dated, verifiable source.
Need a professional website?
Kolonell builds websites that attract clients, optimized for the Sénégalese market. Free quote in 2 minutes.
When not to start
A small pharmacy handling a low volume of low sensitivity documents, with no one in-house to run the system day to day, or mostly needing help with general drafting (letters, routine internal notices), will often do better with AI tools like ChatGPT, without the constraints of dedicated infrastructure.
FAQ
How do you know if the model is inventing an answer?
The evaluation set includes trap questions with no answer in the documents; a reliable model should say it does not know rather than offer a plausible but wrong answer, which blind testing checks before go-live.
Who can see the usage log?
The log belongs to the pharmacy or wholesaler, which controls access to it; it allows tracing a query and an answer when in doubt, without depending on the provider.
Does the alert channel replace human oversight?
No. The alert channel flags a doubtful answer, but the pharmacist or the designated manager always makes the final call; the model prepares, it never decides alone.
Does this project need a new privacy impact assessment?
In Quebec, Law 25 requires a privacy impact assessment for an information system project involving personal information; the exact scope should be confirmed with the CAI or the organisation's own counsel.
What if the pharmacy also operates in Ontario?
Health information handled in connection with Ontario operations stays subject to the applicable provincial law (PHIPA), regardless of where the system is hosted, which should be checked with the organisation's own counsel.
Let's scope your project. To build an evaluation set and safeguards around the real risks of your pharmacy or distribution network, see our private on-premise LLM service or request a quote. You can also reach us on WhatsApp at +221 77 596 93 33.
Mohamed Bah
Fondateur, Kolonell
Passionate about digital and entrepreneurship in Africa, Mohamed has been helping Sénégalese businesses with their digital transformation since 2020. Founder of Kolonell, he believes every SME deserves a professional and accessible online présence.