The answer to If you can use doctor' from social Security in Spain is yes even If you are working with contractors, it doesn't matter becouse for "Hacienda" If you live more than 6 months Per Year in Spain you MUST do the "Declaración de la Renta" so you are paying spanish taxes every year and can use spanish social services.
Rgds