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: Maryland Has Three Confirmed Cases Of The Omicron Variant Of COVID-19, Hogan Says

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 County Superintendent Says Pandemic Trauma Causing Uptick In Disruption, Invites Community Discussion

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: University Of Maryland, Men's Basketball Coach Mark Turgeon Mutually Agree To Part Ways, School Says

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