FLOW yaad rakho: Rules banao → mahine ka 'Compute for Month' chalao → entries banti hain (pending) → Approve → Pay (UTR ke saath). Compute idempotent hai — dobara chalane par duplicate nahi banta, sirf naye treatments process hote hain.
AGAR ENTRY MISSING HAI, CHECK LIST
- Compute chalaya? Practice → Billing → Financial Controls → Doctor Commissions → month select → 'Compute for Month'.
- Treatment 'done' status me hai? Sirf done treatments ginte hain — planned/in-progress nahi.
- Treatment par DOCTOR select tha? Bina doctor wale done treatments hamesha skip hote hain — ye sabse common galti hai. Treatment me doctor set kar ke dobara compute karo.
- Us doctor ka active CommissionRule hai? Rule ya to specific treatment type ka hota hai ya '*' (sab par). Specific rule pehle match hota hai, warna wildcard.
- Bill amount rule ke minAmount se kam to skip ho jata hai.
- Rate 0 nikla (0% / ₹0) to entry nahi banti.
EDGE
mahine ke beech me rule banaya? Compute dobara chalao — pehle skip hue treatments ab process ho jayenge (jo already ban chuke wo waise hi rahenge).
PREVENTION
mahina khatam hote hi compute chalane ki aadat banao (payroll se pehle), aur reception ko sikhao ki done karte waqt doctor zaroor select ho.