The state is piloting a program to give healthcare organizations the funds to open 40 beds to temporarily house patients experiencing homelessness.