A patient tells the registration desk they are allergic to penicillin. Three weeks later a different doctor, in a different department, prescribes amoxicillin. Nothing in that sequence involves anybody being careless — the two words share no letters, the note is in a file nobody opened, and the second doctor has eleven minutes.
This is the single most preventable category of harm in a hospital, and it is preventable by software in a way that most clinical risk is not.
Record the allergy once, against the patient
Everything else in this guide depends on this one thing being right.
An allergy belongs to the patient, not to a visit, an admission or a prescription. If it is recorded against an encounter, it is invisible at the next one, and you have built a system that only protects people during the consultation where they happened to mention it. Check this in any demo: record an allergy in OPD, then open a fresh admission for the same patient and see whether it is still there.
Ask who can record one
Checking by name is not enough
The naive implementation compares the drug being prescribed against the allergen text. That catches “allergic to amoxicillin” followed by amoxicillin, which is the case that was never going to kill anybody.
The case that matters is a classmatch: penicillin and amoxicillin, or a sulfonamide allergy and co-trimoxazole. For that, the system needs to know which drugs belong to which family, and check both directions — the allergen might name the class and the prescription a member, or the other way round.
What a real check does
Drug chosen
At the prescribing screen
Name match
Direct, either direction
Class match
Penicillin → amoxicillin
Interaction check
Against current medication
Warn, do not block
The prescriber decides
Interactions depend on a list you may not have
Checking a new drug against everything the patient is already on sounds like the harder problem. Technically it is easier than the allergy case. The difficulty is upstream: the check is only as good as the current medication list, and in most hospitals that list is incomplete.
What the patient was prescribed in your OPD last month is in the system. What they were given at another hospital, what they buy over the counter, and what they stopped taking without telling anyone are not. This is why medication reconciliation on admission — actually asking, and recording the answer — does more for safety than any checking engine.
Beware the demo that looks perfect
Alert fatigue is the failure mode
It is tempting to assume more warnings are safer. The opposite is true past a threshold, and the threshold is lower than people expect.
A prescriber who sees a warning on most prescriptions learns, correctly, that the warnings are usually noise. They start clicking through them without reading — and then they click through the one that mattered. Published studies of hospital prescribing systems routinely find override rates well above half, and the overridden alerts include the serious ones.
So the design goal is not coverage. It is signal:
- Warn on the major ones. Do not warn on every theoretical interaction in the literature.
- Grade them visibly, so a major allergy match does not look like a minor note.
- Say what was found in plain words — “patient is allergic to penicillin”, not a code.
- Do not repeat a warning the prescriber has already answered on the same prescription.
Warn, never block
A prescriber may have an excellent reason to give a drug the system is unhappy about: the allergy was a childhood rash, the alternative is unavailable, the interaction is manageable with monitoring. Software that refuses to proceed will be worked around, and the workaround — prescribing on paper — removes every other safeguard at the same time.
The right behaviour is to raise the warning clearly, let the clinician proceed, and record that both happened. That record is also what makes the system defensible afterwards.
Where this connects to the rest of the hospital
- Dispensing. A warning at prescribing is worth little if the pharmacy counter cannot see the same allergy list. See the pharmacy guide.
- Critical results. Allergy and interaction checks catch what you are about to do; a critical value register catches what the laboratory has just found. Both are needed.
- Deterioration. For admitted patients, scoring observations with NEWScovers the third case — harm that is already underway.
How Uyirly does it
Allergies are recorded against the patient, so they follow every visit and admission. Each prescription is checked against them by name and by drug class, so a recorded penicillin allergy flags amoxicillin, and against the patient’s current medication for known interactions. Warnings are graded and worded plainly, and they do not block — the prescriber decides, and the record shows both the warning and the decision.
It is on every plan, including Starter, because a small clinic’s patients have the same allergies as a large hospital’s. More on the EMR page, and on pricing.