makes written notice to law enforcement and requires judicial endorsement. Did the facility he was at previously notify the sheriff? If so, had their been a hearing yet?
here is the statute:
https://legislature.maine.gov/statutes/34-B/title34-Bsec3862-A.html