a. If the woman or child applies for benefits under sub. (4) within the time required under par. (d), the benefits specified in subd. 1. or 2., whichever is applicable, end on the day on which the department or the county department under s. 46.215, 46.22, or 46.23 determines whether the woman or child is eligible for benefits under sub. (4), except that a child who is not an unborn child is not eligible for benefits described in s. 49.46 (2) (a) and (b) during that time if the federal department of health and human services approves the department’s request not to provide those benefits during that time. b. If the woman or child does not apply for benefits under sub. (4) within the time required under par. (d), the benefits specified in subd. 1. or 2., whichever is applicable, end on the last day of the month following the month in which the provider or entity makes the determination under this paragraph.