886: Configure Adjusted Consumption (N)
Test Case #:886 | Test Case Name: Configure Adjusted Consumption (N) |
System: OpenLMIS | Subsystem: blue |
Test case designed by: Paulina Borowa | Design Date:13.01.2017 |
Short description: Acceptance Criteria
|
|
Pre – conditions: |
|
Step | Action | Expected system response | Comment |
1 | Check if:
|
|
|
2 | Check : if this field is NOT configured/associated to a requisition template, it does not appear on the requisition form API: Method: PUT {
UI: Go to Administration → Configure → Configure R & R Template → select e.g Family Palninning
→ inititate new requisition for that program |
| |
3 | Check:
API: change display order from 20 to 4 "displayOrder": 4, UI: Go to Administration → Configure → Configure R & R Template → select e.g Family Palninning Change order for Adjustment Consumtion → inititate new requisition for that program
|
| |
4 | The calculation has two parts: N = (adjusted consumption +quantity for new patients) Adjusted Consumption is one of two options:
| 1 case: Adjusted Consumption = RoundUp(C * (total days in the period / non-stockout days)) 2 case: Adjusted Consumption = C, if non-stockout days is zero (cannot divide by zero) (C= consumed quantity in the period): |
|
5 |
|
|
|
6 |
|
|
|
7 |
|
|
|
8 |
|
|
|