Oushodh logooushodh

Medicine search for clinic, e-prescribing and telemedicine apps

By Al Amin Ahamed · Published · Updated · 6 min read

Short answer

Send what the doctor types to GET /v1/medicines/search: it matches brands, alternate names, generics and makers, with a brand match weighed most. Each result is one brand in one strength and dosage form, so the doctor picks a row, and the prescription stores its uuid and id. The prescriber decides; the app only lists.

Key facts

  • Search weighs a brand match most, then an alternate name, a generic and a manufacturerSearch, API reference, 30 Nov, 2026
  • Search does not match the strength; each result is one brand in one strength and dosage formSearch, API reference, 30 Nov, 2026
  • The monograph is information for professionals, not medical adviceGet a medicine, API reference, 30 Nov, 2026
  • Data that has become part of a prescription may be keptTerms of use, 30 Nov, 2026

A doctor writing a prescription in a clinic system or a telemedicine app knows what they want: a brand, or a generic, in one strength and form. The software’s job is to find that medicine quickly and record exactly which one was picked. This guide covers the data and the screen. It gives no clinical advice: what to prescribe, and how much, is the prescriber’s decision.

Can a doctor search by brand and by generic?

Yes, with the same call. GET /v1/medicines/search matches each word typed against the start of a word in the brand, an alternate name, the generic and the manufacturer, and every word must match. So napa finds the brand Napa, and paracetamol finds the medicines whose generic is paracetamol, whatever their brand.

Match on Weight
Brand Highest
Alternate name Second
Generic Third
Manufacturer Lowest

A brand equal to what was typed comes first, then brands that start with it, then the rest by these weights: napa lists every Napa first, then other brands that start with it, such as Napasin, Napatrim and Napa Extend, then the mebhydrolin brands whose alternate name holds napadisylate. A doctor who types a generic sees its brands, in a fixed order, since ties always go the same way. The POS search guide covers waiting for a pause in typing, and the Search reference has the rest.

How does the doctor pick the strength and form?

From the list. Strength is not searched: typing 500 does not narrow the list. But each result is one medicine, which is one brand in one strength and dosage form, so the strengths and forms are already rows. Group them by brand and maker, and let the doctor pick the row:

// oushodh() is the small server-side client from "adding the API to your software"
const { items, total } = await oushodh("/medicines/search", { q, limit: 50 });
const byBrand = Map.groupBy(items, (m) => `${m.brand} (${m.manufacturer?.name})`);
// each group lists its rows: m.product_name, m.strength, m.dosage_form, m.generic_name

Show generic_name on every row. A generic word also matches combinations, such as a medicine with two generics, and the full name is how the doctor tells them apart. Show medicine_type too, so an ayurvedic or unani medicine is never mistaken for an allopathic one with a similar name.

Flowchart: the doctor types a brand or a generic. Search answers one row per medicine, each one brand, strength and dosage form. The doctor picks the row; the prescriber decides and the app only lists. The prescription keeps the medicine's uuid and id, with the doctor's own dose and directions.
The app lists medicines. The doctor picks one.

What if the list is longer than the screen?

Search returns up to 50 medicines and a total of every match. When total is larger than the list, ask for one more word: the maker’s name, or a second word of the generic. Every word must match, so the list narrows fast. A screen that needs every match can page through List medicines with the same q, as listing every brand of a generic shows.

What should the prescription store?

The medicine’s uuid and id, next to what the doctor wrote: the dose, the directions, the duration. Those are the doctor’s words, not Oushodh data. The terms of use let you keep data that has become part of your own records, and a prescription is one of them, so the name printed on it stays as it was.

The uuid never changes and the id is never given to another medicine. Medicines are never deleted, so a prescription from today still opens the right medicine next year with GET /v1/medicines/{ref}.

Can the app show the medicine’s text?

Get a medicine returns monograph: indications, dosage, interactions, contraindications, side effects and more, as its source wrote them. It is information for professionals, not medical advice. Show its source with it, and show it as reference, not as a suggestion.

Oushodh describes medicines. It never suggests a dose, a treatment or a substitute, and an app built on it should not present the data as if it did. The prescriber decides.

Where does the API key go in a telemedicine app?

On your server, never in the patient’s or the doctor’s app. Anyone who has the key can use your plan, and a key in a phone app can be copied out of it. The app calls your server, your server calls Oushodh. Adding the API to your software shows that client in PHP, Node and Python.

Share this post

FAQ

  • Can a doctor search by generic name?

    Yes. Search matches the start of words in the generic as well as the brand, so typing a generic lists the medicines that have it.

  • Can the doctor type the strength?

    Strength is not searched. Each result is already one strength and form, so group the rows by brand and let the doctor pick one.

  • Does Oushodh suggest doses or substitutes?

    No. It describes medicines and never suggests a dose, a treatment or a substitute. The prescriber decides.

  • What should a prescription keep?

    The medicine's uuid and id, beside the doctor's own dose and directions. The uuid never changes and medicines are never deleted.

Sources

Choosing a data source

Add a medicine picker to a clinic app