Senators voted in a slim majority 52 to 48 to confirm President Trump's pick for the US Secretary of Health and Human Services.