Oushodh logooushodh
INTEGRATION

Hospitals and clinics

A hospital or clinic system with an in-house pharmacy and ward orders: map the formulary to Oushodh IDs, and let a doctor's order pick from it.

A hospital chooses the medicines it uses: its formulary. With each formulary item tied to an Oushodh ID, the pharmacy, the wards and the billing desk all point at the same medicine, and that ID never points to another medicine or goes away.

What you already have

A formulary or drug master in the HIS or EMR, the in-house pharmacy's stock, and order screens on the wards. They stay as they are. The formulary gains one column: the medicine's uuid.

Flowchart: the hospital's formulary is mapped once to Oushodh IDs, each item keeping its medicine's uuid. A doctor's order picks from the formulary, with details shown live from Get a medicine. The order keeps the uuid with the doctor's own dose and directions.
The formulary, mapped once, feeds every order.

Map the formulary

Map each item as in the overview. A pharmacist decides the items search cannot settle, since only the hospital knows which product it stocks.

A doctor's order

The order screen searches the formulary, your own list, so the doctor sees what the hospital stocks. When the doctor opens a medicine, your server calls GET /v1/medicines/{uuid} for its current details and monograph, shown as reference with its source.

The order keeps the uuid, the name, and the doctor's own dose, route and directions. Oushodh gives no dose and suggests no treatment; the prescriber decides.

The in-house pharmacy

The pharmacy dispenses against the order's uuid from its own stock, mapped the same way. Ward stock, issues, returns and bills are the hospital's records.

What you may store

  • The uuid and id on each formulary item.
  • Orders, dispensing and bills, with the names and prices as they were.
  • Not: medicine details or monographs copied into the HIS to read later.

Notice changes

The change check flags formulary items whose medicine changed. A pharmacist reviews each, and a new MRP changes your billing price only when the hospital decides.

An HIS that must show medicine details with no connection to the internet needs a copy kept on site, and so the Custom licence: Part 2.

Open a formulary itemNode
// On your server: the details a doctor sees when opening a formulary item
const res = await fetch(`https://api.oushodh.dev/v1/medicines/${item.uuid}`, {
  headers: { Authorization: `Bearer ${process.env.OUSHODH_API_KEY}` },
});

if (!res.ok) {
  throw new Error((await res.json()).error.code);
}

const medicine = await res.json();
// medicine.monograph: indications, dosage and more, with its source