Effects of law restrictions in the usage and perception of public and private health services in Spain (2006-2016)