it's located in the province of san juan in the departments of capital and rivadavia