(b) The court may, if in its discretion it deems it necessary or advisable, order child support and education costs for children attending high school at the time of their eighteenth (18th) birthday and for ninety (90) days after graduation, but in no case beyond their nineteenth (19th) birthday. Notwithstanding the foregoing, the court, in its discretion, may order child support, in the case of a child with a severe physical or mental impairment still living with or under the care of a parent, beyond the child's emancipation as defined above. The court shall consider the following factors when making its determination:
(1) The nature and extent of the disability; (2) The cost of the extraordinary medical expenses; (3) The ability of the child to earn income; (4) The financial resources of the child; (5) The financial resources of the parents; (6) The inability of the primary caregiver of the child to sustain gainful employment on a full-time basis due to the care necessitated by the child. The onset of the disability must have occurred prior to the emancipation event. If a child support order for a child with a severe physical or mental impairment has been terminated, suspended, or expired, the court shall consider the factors in this paragraph and has the discretion to order child support for this child prospectively based upon established child support guidelines. The court may periodically review the case to determine if circumstances warrant the continuation of child support.