Three community health centers in central and northern New York are receiving grants from the federal government as part of the federal health care law.