Catholic hospitals must be free to function according to teachings