Electronic prescriptions

Smart prescribing, connected to the national prescription exchange

Doctors prescribe in a few steps; the prescription is signed and sent to the National Prescription System. Patients receive medication reminders in the app; the pharmacy and internal stockroom dispense the correct lot within its expiry date.

  • Prescription form under TT 26/2025/TT-BYT
  • Data exchange under Decision 808/QĐ-BYT
  • Automatic medication reminders
  • Pharmacy & internal stockroom
clinic.medagents.vn
The prescribing screen during a visit: allergy alerts, diagnosis, a medication list with auto-filled directions for use, total amount, and follow-up appointment

MedAgents clinic portal interface

Smart prescribing

Fast for doctors, safe for patients

The prescribing screen sits inside the visit and shares data with the patient record.

Alerts at the moment of prescribing

Allergies, ICD-10 diagnoses, weight and age are always shown above the prescription for the doctor to check against.

Prescribe from a template

Use a diagnosis-based prescription template or the previous prescription, then adjust the quantity and dosage.

Search by active ingredient

Type the active ingredient or the brand name and press Enter to add; medications come from the facility's catalog.

Self-entry instructions

Directions for use are pre-filled from the medication catalog and the doctor edits them if needed; unit price and line total are calculated automatically.

Auto-save drafts

Prescriptions are saved continuously; the ready-to-sign status is clearly shown before issuing.

Sign & issue

The doctor signs, the prescription receives a prescription code, and it is sent to the patient and the pharmacy.

clinic.medagents.vn
Prescription preview following the Appendix to Circular 26/2025/TT-BYT, with the prescription code and the signer flow

Prescriptions in the correct format

Prescriptions on the Ministry of Health template, printed or sent electronically

A preview following the prescription template in the Appendix to Circular 26/2025/TT-BYT, drawing data directly from the prescription as entered.

  • Prescription code: 14 characters as required, with a suffix by prescription type.
  • Complete identifying information: personal identification number, health insurance (BHYT) number if available, ICD-10 diagnosis.
  • Signing flow: the prescribing doctor signs according to role, ready for digital signature integration.
  • Download as PDF or print: the same data source, with no re-entry.

National prescription data exchange

Fully meets the requirements for national prescription data exchange

Connect to the National Prescription System under Decision 808/QĐ-BYT: registration, prescription submission, reconciliation and lookup in a single prescribing flow.

  1. Step 01
    Register for national data exchangeThe facility and its doctors use the exchange codes issued by donthuocquocgia.vn; the system manages login sessions.
    Facility codeDoctor codeToken
  2. Step 02
    Submit the prescriptionSigned prescriptions are sent via API with the patient's information, the ICD-10 diagnosis and medicines coded to the Drug Administration of Vietnam catalog.
    Prescription submission APIDigital signatureICD-10
  3. Step 03
    Reconcile resultsSuccess responses or error lists are recorded so doctors and staff can resolve them and resubmit.
    Response codeLogResend
  4. Step 04
    Pharmacy & patientsPharmacies retrieve the prescription by code to dispense and report; patients look up their prescription by its code.
    Prescription codeDispensed by prescriptionLook up
QĐ
Decision 808/QĐ-BYT

Technical documentation for connecting to the National Information System for the Management of Prescribing and Prescription-Only Drug Sales: the input and output data structures of the API, data formats, and response codes when software submits prescriptions to donthuocquocgia.vn. MedAgents connects according to this documentation.

Prescription code structure · 14 characters
79001k8m2p4q-c
Medical examination and treatment facility code7 characters generated automaticallyPrescription type
  • -cStandard prescription
  • -nNarcotic medication
  • -hPsychotropic medication
  • -yTraditional medicine

National data exchange accounts for the facility and its doctors are issued by the regulator; MedAgents supports registration and configuration during rollout.

Patient app

Medication reminders on time and at the full dose

Once the doctor issues the prescription, a reminder schedule is created from the instructions in it and appears in the patient app.

  • Reminders from the prescription: dosing times are taken from the instructions the doctor records.
  • Mark as taken: tracks adherence, visible to the doctor at the follow-up visit.
  • Medication running low: advance notice so the patient can refill or contact the facility.
  • Controlled suggestions: assistant content always carries “This information is for reference only and does not replace a doctor's advice.”
Patient app: current prescriptions
Current prescriptionsSee the medicines in use and the doses remaining; get notified when a medicine is running low so refills do not interrupt treatment.
Patient app: today’s reminders by the hour
Medication remindersToday's doses listed by time with a taken checkbox; the assistant suggests setting a recurring reminder for doses that are often missed.

Pharmacy

From the doctor's prescription to the dispensing counter

The pharmacy receives the prescription as soon as the doctor signs it, scans the QR or the prescription code to prepare and dispense medication, and tracks the pickup deadline.

clinic.medagents.vn
Clinic prescription screen at the pharmacy: awaiting dispensing, being prepared, partially dispensed, fully dispensed, collection deadline
clinic.medagents.vn
Prescription detail at the pharmacy: medications on the prescription, stock items by lot and expiry date, and out-of-stock alerts
By statusAwaiting dispensing, in preparation, partially dispensed, fully dispensed.
Dispensing deadlineAlerts for prescriptions nearing or past their dispensing deadline.
FEFO lot matchingLots that expire first are issued first, with out-of-stock alerts per warehouse.
Prescription historyWho signed, who printed, who dispensed, and when.

Internal inventory

Inventory by batch, without stockouts or expired stock

Medicine and medical supply inventory is managed by item, batch, expiry date and site, linked directly to prescriptions and dispensing.

  • Immediate alerts: below reorder level, lots expiring within 60 days, expired lots still in stock.
  • Stock in, stock out, and stock counts: create slips, scan barcodes, and keep a stock card for each item.
  • Purchasing & planning: create a purchase order from the below-reorder-level list.
  • Pharmacy and inventory reports: stock by warehouse and drug group, with Excel export.
clinic.medagents.vn
Inventory screen: items in stock, items below minimum, lots expiring within 60 days, filters by warehouse, lot, and expiry date

FAQ

Frequently asked questions

Does MedAgents send prescriptions to the National Prescription System?

Yes. Signed prescriptions are submitted to donthuocquocgia.vn following the connection guidance in Decision 808/QĐ-BYT, using the interoperability codes of the facility and the physician.

What if sending a prescription fails?

Error responses are recorded together with what needs correcting; staff fix the data and resubmit, and the entire sequence is kept in the prescription log.

Is there drug interaction checking?

Allergies and diagnoses are always displayed while prescribing. The scope of interaction alerts depends on the drug data source confirmed during implementation; the doctor decides the content of the prescription.

Can a clinic without a pharmacy still use it?

Yes. The facility uses electronic prescribing and national data exchange; patients can fill their prescriptions at any pharmacy using the prescription code.

Do medication reminders replace the doctor's instructions?

No. Reminders are generated from the dosing instructions in the prescription the doctor signed; any change to treatment is decided by the doctor.

Electronic prescriptions compliant from day one

Share your current prescribing, pharmacy, and inventory processes, and MedAgents will propose a suitable interoperability roadmap.

Compliance commitment
  • Data stored on infrastructure in Vietnam
  • Meets National Prescription data exchange requirements
  • Law 91/2025/QH15 · NĐ 356/2025
  • Information security level 3+ · HIPAA
View security & data