Drug price-regulation system for a national authorityنظام الرقابة على أسعار الأدوية لهيئة وطنية
The problemالمشكلة
A national drug authority priced medicines through a chain of paper decisions: company appeals, price studies, committee minutes, final approvals. Nothing tied them together, and invoices arrived in dollars, riyals and euros.هيئة أدوية وطنية كانت تسعّر الأدوية عبر سلسلة قرارات ورقية: تظلّمات الشركات، ودراسات السعر، ومحاضر اللجنة، والاعتماد النهائي. لا شيء يربطها ببعض، والفواتير تأتي بالدولار والريال واليورو.
What I foundما وجدته
The old database couldn't be shared, so the system had to start clean, with Excel and CSV import for existing data. Every price decision needed an audit trail, and a mistake could never be silently edited away.قاعدة البيانات القديمة لم يكن ممكنًا مشاركتها، فكان لازم يبدأ النظام من الصفر مع استيراد البيانات من Excel و CSV. وكل قرار سعر يحتاج سجل تدقيق، والخطأ لا يجوز تعديله بصمت.
What I changedما غيّرته
Built a linked document chain where each step creates the next, with numbered revisions instead of edits. Exchange rates freeze on each document. 95 permissions across 8 roles, separation of duties, and an installer the client runs on-site.بنيت سلسلة مستندات مترابطة، كل خطوة تنشئ التي بعدها، والتصحيح يكون بمراجعة مرقّمة لا بالتعديل. سعر الصرف يُجمَّد على كل مستند. 95 صلاحية موزعة على 8 أدوار مع فصل المهام، ومثبّت يشغّله العميل في موقعه.
The resultالنتيجة
Live at the client, with update packages shipped as the authority's rules change. Backed by about 300 automated tests, an SRS, an SDD, 38 sequence diagrams and an Arabic user manual.يعمل عند العميل، مع حزم تحديث تُسلَّم كلما تغيّرت قواعد الهيئة. ومدعوم بحوالي 300 اختبار تلقائي، و SRS و SDD، و38 مخطط تسلسل، ودليل مستخدم عربي.
→ decision minutes → final approval
fixed by numbered revision, never by edit