Variations in levels of care between nursing home patients in a public health care system