The husband, wife, father, mother, child, or children of any person who is an inmate of any asylum, hospital, home, or other institution, maintained in whole or in part by the Commonwealth of Pennsylvania, and who is legally able so to do, shall be liable to pay for the maintenance of any such person, as hereinafter provided. Whenever either of the owners of any property held by entireties shall be maintained in any institution as aforesaid, and the separate property of such inmate shall not be sufficient to reimburse the Commonwealth, such property held by entireties shall be liable for the same to the extent of any order that any court of record of this Commonwealth may make against the spouse of such inmate, either during the lifetime of such inmate or after his or her death. The liability for the support of such inmate is hereby declared to be the joint liability of such owners to the extent of such order and enforcement against their joint as well as their several properties.
71 P.S. § 1783