Legislation passed on Friday by the South Carolina State House of Representatives would allow healthcare providers and insurance companies to deny providing services or payments that violate the beliefs of the individual doctors or healthcare entities.