Thank you for using our forum. My name is ***** ***** I hope to assist you today.
I am sorry to learn of this situation, The basis for your transport to the psychiatric facility was under California Health and Safety Code 5150 which permits law enforcement to temporarily place an individual who is a threat to themselves or others under involuntary commitment.
Based on what you stated ("Go to a store, get a gun and wait 10 days") this could be construed as a threat against either yourself or others - with both an intent and a specific plan.
Without knowing exactly what all of the facts of your case were (I wasn't there when the officers were, and I wasn't a party to the conversation that your husband had with the officers when he was concerned about your health and welfare), this statement could easily be construed as a threat to you or to someone else.
The procedure - placing you under civil commitment, then transporting you by ambulance to a facility that specializes in psychiatric treatment - is appropriate for this kind of hold (you were not inappropriately jailed, you were not forced to take medications you did not want, and you were not held beyond the time frame for a 5150 (which allows a 3 day hold), without an appropriate evaluation (these can be extended to a 5250 - a 10 day hold pending a hearing with the court which can be extended to a 5350 12 month hold).
Again, I am very sorry to hear about this situation, and I do hope that things are going better for you and your husband now. But based only on what you posted here, I do not see any violation of rights.