Wasfaty Autofill is a Chrome extension that helps speed up medication entry and refill work on Wasfaty by using saved profiles, favorite drugs, refill extraction from previous prescriptions, and controlled automation.
Programmed by Dr. Moosa Hakami
Consultant Family Medicine & Diabetologist
- Saves reusable medication profiles in Chrome local storage.
- Supports both
Standard MedicationandSpecial Medicationprofiles. - Can auto-fill drug forms after a drug is selected.
- Lets you keep up to 10 favorite drugs for quick popup use.
- Extracts drugs from an old prescription into the popup
Refill Box. - Supports refill using saved profiles or temporary profiles built from old prescription instructions.
To use the extension in Chrome:
- Open Chrome and go to
chrome://extensions/ - Turn on Developer mode from the top-right corner.
- Click Load unpacked
- Select the extension folder
After loading:
- Pin the extension from the Chrome extensions menu if needed
- Open Wasfaty
- Use the popup for quick actions or open the
Profilespage to manage saved profiles
The Profiles page is the local control center for the extension.
- Auto Detect: turns automatic profile fill on or off when a selected drug changes on the Wasfaty page.
- Auto-Focus Drug: moves focus to the next drug field after saving, to speed up repeated entry.
- Entry Speed: controls how fast the automation types and fills fields.
- Show Favorites in Popup: shows or hides the
Favorite Drugssection in the popup. - Refill Box: shows or hides the
Refill Boxsection in the popup. - Refill Without Profile: allows refill of drugs that do not already have a saved profile by creating a temporary profile from the old prescription.
- Use Prescription Temp for All: ignores saved profiles during refill and builds temporary profiles from the previous prescription for all extracted refill drugs.
- Special temp duration fallback (max value): used only for special temporary refill profiles when the old prescription does not provide a usable duration. If left empty, refill pauses so the user can type duration manually.
- Save Settings: stores all current settings to Chrome local storage.
This section is used to create a new profile or edit an existing one.
- Profile Name: display name of the saved profile.
- Drug Code: matching code used to find the profile during fill/refill.
- Profile Type: chooses between
Standard MedicationandSpecial Medication.
For Standard Medication:
- Take: dose value entered in the main drug instruction line.
- Times: number of times per day/week/month.
- Every: interval value.
- Day Type: unit for the interval, such as
Day,Week, orMonth. - For (Duration): total duration.
- Dose Timing: timing option such as
Before Meals,After Meals,In the Morning, and similar timing values. - Refills: refill count.
- Click Add after fill: tells automation to press the Wasfaty
Addbutton after filling.
For Special Medication:
- Special Instructions: written into the special instructions textarea on Wasfaty.
- Total Quantity: written into the quantity field for special medication.
- Duration: duration for the special medication.
- Refills: refill count for the special medication.
- Click Add after fill: tells automation to press the Wasfaty
Addbutton after filling.
Action buttons in this section:
- Save: stores the current profile.
- Reset form: clears the form and exits edit mode.
- Delete ALL Profiles: removes every saved profile from local storage.
- Favorite Drugs (Max 10): lets you choose up to 10 saved drug codes to show in the popup.
- Deselect all: removes all favorite selections.
- Selected count: shows how many favorite drugs are currently selected.
This section shows all saved profiles and tools for managing them.
- Drug count: total number of saved profiles.
- Refresh: reloads profiles from storage.
- Export JSON: downloads all saved profiles as a JSON file.
- Import JSON: restores profiles from a JSON file.
- Per page: controls how many profiles are shown on one page.
- Sort by name: sorts profiles from
A to ZorZ to A. - Search profiles: filters profiles by name, code, type, or summary text.
- Prev / Next: moves between profile pages.
- Table columns:
Name: profile display nameMatch: stored drug codeType: standard or specialSummary: quick summary of the saved profile dataAdd?: shows whetherClick Add after fillis enabledActions: edit or delete a single profile
- Profiles are stored locally in Chrome storage.
- The extension is designed for Wasfaty workflow support, so UI behavior depends on the current Wasfaty page structure.
- If Chrome does not reflect your latest code changes, reload the extension from
chrome://extensions/.