TALLAHASSEE (CBSMiami/NSF) — The Florida Pharmacy Association wants to make sure your pharmacy accepts your Medicare plans and satisfy’s your children’s medical needs.

Saying its members have been locked out and patients are suffering, the Florida Pharmacy Association joined others in a suit filed Thursday in Leon County circuit court to stop the Agency for Health Care Administration from restricting which pharmacies are allowed to serve Medicaid and Florida Healthy Kids patients.

READ MORE: Arsht Center To Require Vaccinations, Negative COVID Tests For Audience Members

A coalition of pharmacy groups, individual pharmacies, chains and patients called on the courts to immediately stop restricting where Medicaid patients can get their medications filled.

The suit comes after many pharmacies received letters from managed care provider Amerigroup Florida in May saying they would no longer be allowed to fill Medicaid prescriptions after July 9.

READ MORE: 'Abouta To Shoot Up A School'" South Broward High Student Accused Of Online Threat

Plaintiffs in the case say the restriction violates state and federal Medicaid rules that require patients to be given a choice on where they pick up their medications.

Responding to complaints, AHCA officials in June defended the restrictions, saying Americagroup remained in compliance with state and federal law.

The lawsuit followed.

MORE NEWS: Pfizer Announces COVID-19 Vaccine Safe For Kids Ages 5 - 11

The News Service Of Florida contributed to this report.