The division, or its contracted medical providers, may not pay an amount to an outside provider of a medical service for an adult inmate residing in a jail or correctional facility greater than the reimbursement rate applicable to service providers established in the West Virginia state Medicaid plan by the Bureau for Medical Services: Provided, That critical access hospitals shall be reimbursed at 75 percent of the billed charges. These limitations apply to all medical care services, goods, prescription drugs, and medications provided to a person who is in the custody of a correctional facility and is provided these services outside of a correctional facility: Provided, however, That the Department of Military Affairs and Public Safety and the Department of Health and Human Resources effectuate an interagency agreement for the electronic processing and payment of medical services.