Count Medications by Drug Class in a Clinical Record with Revdoku
Count Medications by Drug Class in a Clinical Record with Revdoku
Step 1: Open the medication list.
The Bay Area Medical Center Active Medications table is open, listing Lisinopril (ACE Inhibitor), Metformin (Antidiabetic), Atorvastatin (Statin), Amlodipine, Aspirin, Omeprazole, and more — each with drug class, dose, route, frequency, and start date.

Step 2: Scroll through the 10 rows of active medications.
A Pharmacy Note at the bottom flags two concurrent antibiotic courses and two overlapping antidiabetic agents.

Step 3: Run the Medication Count by Drug Class checklist.
Click Review, select Medication Count by Drug Class (1 rules) in the dialog, then click Run Review.

Step 4: Read the drug class tally.
The result reports 10 medications across 7 classes — analgesic 2, antibiotic 2, antidiabetic 2, plus one each of ACE inhibitor, calcium channel blocker, proton pump inhibitor, and statin. Six issues flag the drug-interaction concerns from the Pharmacy Note.

What You Learned
This case showed how Revdoku can take a document, apply a structured checklist, and surface specific findings — all in under a minute. No manual line-by-line reading required.
Disclosure: Sample documents in this use case were generated using AI and contain intentional errors for demonstration purposes. All names, companies, and details are fictional.
Related Articles
Count Unique Apple Colors in a Photo with Revdoku
Detects all 12 apples in a top-down photo and tags each by dominant color: 4 variegated, 3 red, 3 yellow, 2 green. Group-and-sum script totals 12.
Count Candies by Color in a Photo with Revdoku
Counts a pile of M&M-style candies by color: 7 checks pass at 100%, totaling 113 candies. Group-and-sum script aggregates per-color counts.
Audit a Shareholder Letter for Disclosure Completeness with Revdoku
Generate a document-quality checklist from a single-line prompt with Revdoku, run it against a Letter to Shareholders from a public company, and read the per-rule pass/fail audit report.