BALTIMORE (AP) — Judges are asking Maryland lawmakers for clarity about how long people can be jailed while waiting to be transferred for psychiatric care.

Three judges testified before state lawmakers in Annapolis on Wednesday. The Baltimore Sun is reporting that the judges also are asking who will be responsible, if deadlines pass.Acting Health Secretary Dennis Schrader is under a judge’s contempt order for the shortage of beds and long waits for patients. He also is asking the legislature for guidance.

READ MORE: Judge Approves $577 Million Settlement For Maryland HBCUs

Schrader and other administration officials are appealing the contempt order while looking for ways to open 95 more beds at state psychiatric facilities.

READ MORE: Baltimore City Councilman Zeke Cohen Arrested At CASA Protest In DC

Schrader says a discussion needs to take place in the General Assembly about the problem.

Follow @CBSBaltimore on Twitter and like WJZ-TV | CBS Baltimore on Facebook

MORE NEWS: Gov. Larry Hogan Lifts All COVID-19 Capacity Restrictions As Of Saturday, Indoor Mask Mandate Will Remain

(© Copyright 2017 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)