logio-legion
blog hero background

31-07-2026

Wasfaty Portal Saudi Arabia — Integration Guide for Physicians and Clinic Software

Wasfaty Portal Saudi Arabia — Integration Guide for Physicians and Clinic Software

The Wasfaty portal is Saudi Arabia's national electronic prescription platform, operated by the Ministry of Health. Every licensed Saudi physician who prescribes medications must route prescriptions through Wasfaty — paper prescriptions for dispensing at licensed pharmacies are being phased out. For physicians, Wasfaty is the interface they use daily to issue prescriptions. For clinic software developers, Wasfaty is an API that must be integrated into any Saudi physician practice management system that generates prescriptions.

Logiolegion builds custom physician practice management software for Saudi Arabia with native Wasfaty integration. This guide explains how Wasfaty works, who must use it, and what software integration looks like at the technical level.


What Is the Wasfaty Portal?

Wasfaty (وصفتي — "My Prescription") is the MOH's national e-prescription platform. It replaces paper prescriptions for all licensed physicians in Saudi Arabia, creating a digital prescription record linked to the prescribing physician's Saudi Medical Council (SMC) licence number and the patient's national identity.

When a physician issues a prescription through Wasfaty, the patient receives a digital prescription reference — a code they present at any licensed Saudi pharmacy to have the medication dispensed. The pharmacy scans or enters the reference, retrieves the prescription from Wasfaty, and dispenses accordingly.

Wasfaty connects to Saudi Arabia's broader health data infrastructure. Prescription records feed into NPHIES for insurance coverage verification on covered medications, and Wasfaty integrates with Sehhaty (MOH's patient health platform) so patients can see their prescription history. For controlled substances, Wasfaty requires NAFATH-verified patient identity linked to the prescription before dispensing is permitted.


Who Must Use Wasfaty?

Every licensed Saudi physician with an active SMC licence must route prescriptions through Wasfaty. This includes:

  • Physicians in MOH-licensed private clinics
  • Physicians in CCHI-regulated private hospitals
  • Physicians conducting telemedicine consultations (MOH telemedicine regulations require Wasfaty prescription issuance from remote consultations)
  • General practitioners, specialists, and consultants across all clinical disciplines Physicians who issue paper prescriptions are operating outside MOH compliance guidelines for prescription management. Pharmacies are increasingly required to reject paper prescriptions where the digital Wasfaty workflow applies.

How Wasfaty Works — The Prescription Flow

The standard Wasfaty prescription workflow:

Step 1 — Physician selects medication. Within the consultation interface (clinic software or Wasfaty web portal directly), the physician selects the medication name, dosage form, strength, frequency, duration, and route of administration.

Step 2 — Physician submits to Wasfaty API. The prescription data is submitted to Wasfaty's API with the physician's SMC licence number as the prescribing authority identifier. Wasfaty validates the licence status in real time — if the SMC licence is expired or suspended, Wasfaty rejects the prescription at the API level.

Step 3 — Wasfaty returns a prescription reference. On successful submission, Wasfaty returns a unique prescription reference number. This reference is stored on the patient's consultation record and delivered to the patient via SMS to their mobile number registered with Absher.

Step 4 — Patient presents reference at pharmacy. The pharmacy scans or enters the Wasfaty reference to retrieve the prescription. For controlled substances, the pharmacist verifies the patient's identity against the NAFATH-linked record on the prescription. On dispensing, the pharmacy reports back to Wasfaty — the prescription is marked as dispensed.

Step 5 — Prescription stored on clinical record. The Wasfaty reference number and dispensing confirmation are stored on the physician's clinical management system, creating a complete prescription-to-dispensing audit trail.


Integrating Wasfaty Into Clinic Software — What Developers Need to Know

For a Saudi physician practice management system, Wasfaty integration means the prescription is issued directly from the consultation interface without the physician opening a separate portal. The integration stack:

Authentication: The clinic software authenticates with Wasfaty using the physician's SMC licence number and the clinic's MOH facility registration. OAuth-based session management maintains the authenticated session across a clinical shift.

Prescription submission: The clinical interface captures the prescription fields during consultation and formats them in Wasfaty's required data structure — medication name (Arabic and INN), ATC code where applicable, dose, frequency, duration, and clinical notes. The formatted prescription is submitted to the Wasfaty API on physician sign-off.

Controlled substance gating: When a controlled substance prescription is detected (by ATC code or MOH controlled substance classification), the system triggers NAFATH patient identity verification before the prescription is submitted to Wasfaty. The patient's NAFATH-verified ID is linked to the prescription record. See our NAFATH API integration guide for the verification flow.

Reference number storage: The Wasfaty reference returned on successful submission is stored against the encounter record in the clinical management system and sent to the patient via WhatsApp alongside the consultation summary.

Repeat prescriptions: For chronic disease patients (diabetes, hypertension, hypothyroidism) who need monthly medication refills, the system generates a repeat Wasfaty prescription from the consultation record without requiring the physician to re-enter medication details — the physician reviews, adjusts if needed, and signs off in one click.

For the full physician practice management platform covering NPHIES insurance claims, NAFATH patient verification, and ZATCA consultation invoicing alongside Wasfaty, see our physician practice management software Saudi Arabia guide.


What Does Wasfaty Integration Cost?

Wasfaty API integration as a standalone module within an existing clinic software platform: SAR 25,000–45,000 | 4–6 weeks

Wasfaty integration as part of a full custom physician practice management build: Included in the full platform scope. See our physician practice management guide for full pricing. Book a free discovery call — Logiolegion scopes your Wasfaty integration requirements and delivers a fixed-price proposal within 5 business days.


Frequently Asked Questions

1. What is the Wasfaty portal in Saudi Arabia? Wasfaty (وصفتي) is the Saudi Ministry of Health's national electronic prescription platform. Every licensed Saudi physician must issue prescriptions through Wasfaty — paper prescriptions are being phased out. Wasfaty links the prescription to the physician's SMC licence number and the patient's national identity, and delivers a digital prescription reference to the patient for pharmacy dispensing.

2. Do all Saudi physicians have to use Wasfaty? Yes. Every physician with an active SMC licence practicing in Saudi Arabia must route prescriptions through Wasfaty, including those in private clinics, hospitals, and conducting telemedicine consultations. The Wasfaty requirement applies regardless of whether the physician is a Saudi national or an international physician with a Saudi practice licence.

3. How does Wasfaty handle controlled substance prescriptions? For controlled substances, Wasfaty requires NAFATH patient identity verification before the prescription can be issued. The patient's government-verified identity (Saudi national ID or Iqama) is linked to the Wasfaty prescription record. The dispensing pharmacy verifies the patient's identity at the point of dispensing and reports back to Wasfaty on completion.

4. Which company integrates Wasfaty into clinic management software in Saudi Arabia? Logiolegion builds custom physician practice management software for Saudi Arabia with native Wasfaty integration — covering prescription issuance from the consultation interface, NAFATH-gating for controlled substances, Wasfaty reference storage on the clinical record, and WhatsApp delivery to patients. Contact Logiolegion to scope your clinic's Wasfaty integration.

5. Can Wasfaty integration be added to existing clinic software? Yes. Logiolegion builds Wasfaty integration as a standalone module that can be added to an existing clinic management system via API. Cost: SAR 25,000–45,000 with a 4–6 week delivery timeline. Contact Logiolegion for a scoped estimate.


Have An Idea That Needs To
Go Mobile? Launch It With Us!

Have an idea that needs to go mobile? Launch it with us!

Share

Continue Reading

Discover our full range of services - from custom software development to complete marketing solutions

footer-background-image

Your Vision, Our Logic — Let's Build The Future Together.

At Logiolegion, we don't just build software — we engineer logical, future-ready solutions for your goals. Let's create something remarkable, together.

Let's Talk Business
LogioLegion logo

Logiolegion ©0 All rights reserved

contact@logiolegion.com

+91 8590143573

Forging Logical Solutions