; (B) establishing standardized processes and automated systems for activities that may include, but are not limited to— (i) determining whether an individual is enrolled in a State Medicaid program or State CHIP at the time such individual becomes an inmate of a public institution; (ii) allowing an individual who is an inmate of a public institution to submit an application to enroll or renew coverage in a State Medicaid program or State CHIP prior to the individual's release from such public institution; (iii) facilitating the delivery of medical assistance under the State Medicaid program or child health assistance or pregnancy-related assistance under the State CHIP to an individual who is eligible for such assistance while the individual is an inmate of a public institution, such as by establishing claims processing and prior authorization request protocols; and (iv) in the case of an eligible individual whose coverage under a State Medicaid program or State CHIP was suspended while the individual was an inmate of a public institution, restoring such coverage upon such individual's release from the public institution; (C) investing in information technology to— (i) enable bi-directional information sharing between public institutions, the State Medicaid and CHIP agencies, and other entities such as managed care plans and providers (in a manner consistent with applicable State and Federal privacy laws), to support care transitions and coordination of treatment (including access to care in the community after release from a public institution); and (ii) develop indicators to ensure Federal financial participation for medical assistance furnished under a State Medicaid program or child health assistance or pregnancy-related assistance furnished under a State CHIP is available only for medical assistance or child health assistance or pregnancy-related assistance for items and services for which such participation is permitted while an individual is an inmate of a public institution