Patient ID = CU2957
First time we assign first rank payor agreement code = C507
Then we place order SO150723527 and SO150723527 and we select override reason = EC ไม่มียาในบัญชียาหลักแห่งชาติให้ใช้ แต่ผู้ป่วยมีข้อบ่งชี้การใช้ยาตามที่ อย.กำหนด., so this item will cover for agreememt C507
After that we go to change first rank payor agreement to payor agreement code = C007 that have condition for cover as same as C507, but when we go to allocate bill system show this item is not cover for C007
Expectation: This order should cover in C007, because C507 and C007 have same condition for cover."