Duplication mapping me nahi thi — mapping pehle se per-treatment dedupe hoti hai. Problem PRINT ke waqt banti thi, jahan teen treatment ke consent flatten ho jaate the. Ab engine har template ka scope KHUD derive karta hai: template ke field getters ko do alag daanton (11 aur 31) par chala kar output compare karta hai — alag output aaya to form tooth-scoped hai. Isliye tooth-scoped form kabhi merge nahi hote: #16 aur #26 dono ka extraction consent alag-alag hi chhapega. Shared form (General, LA) ek baar. Naya form banao to wo bina engine chhue khud classify ho jata hai. Aur agar patient sign karne se mana kare to wo refusal ab chup nahi rehta — record hota hai.
Ek hi sitting me teen procedure — patient ko wahi consent teen baar sign karna pada, kyun?
Ab nahi karna padta. Consent Resolution Engine ek print batch me shared form (General, Local Anaesthesia) ek hi baar nikalta hai.
Where in ORALZY: Patient chart → treatment done/print → consent batch