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: Baltimore Man Killed In Motorcycle Crash In Arnold

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: Ray Lewis To Donate Over $130K To Johns Hopkins Children's Center As Runner Up On CBS Show 'Beyond The Edge'

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: Dundalk High School Teacher Charged With Assaulting 2 Students

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