Issue: When certifying an infant in Certification Guided Script, Food Prescriptions are created for the current date and future dates with one can of formula. When users modify the current food prescription to issue the maximum cans of formula for a 4-5 month infant, all future food prescriptions are also modified. This is incorrect for infants 6 months and older as the maximum allowed for a 6-12 month infant is less than the maximum allowed for a 4-5 month infant.
Resolution: Currently, when adding or editing a food item quantity in the Food Prescription screen, the quantity initially displayed is set equal to the initial quantity defined in the Food Item Wizard (1 of 3) for the given WIC Status, Age, Category, and Breastfeeding amount, unless there is an exception in the Maximum Allowance Exceptions table. If an exception exists, the initial quantity in the Food Item Wizard (1 of 3) is overridden by the calculated Maximum Allowance Exceptions initial quantity.
In order to provide similar behavior for the initial quantity of those food items that do not have an entry in the Maximum Allowance Exceptions table, a code change has been made to compare the Initial Quantity in the Food Prescription screen as defined in the Food Item Wizard (1 of 3) to the particular WIC Status, Age Category, and Breastfeeding Amount Max Quantity. Whichever value is the lowest will be used to set the initial quantity displayed when adding or editing a food item in the Food Prescription screen. The Maximum Allowance Exceptions table will continue to override the initial quantity if an exception is present.
Users who have set their initial quantities to 1, or are making use of the Maximum Allowance Exceptions table, will not see a dramatic change in functionality.
|