I certainly understand your frustration and concern--you are trying to help your husband after all. Unfortunately, this is one thing you cannot do for him. It is considered practicing law without a license.
By PD, do you mean Public Defender or court apppointed attorney? Try talking with them abouit asking the Court for reinstatement. If your husband tested positive for drugs while on bond and the Court ordered him to jail, he may be stuck with that for duration of the case, or as long as the judge requires. If he needs to see the doctor while in custody, you can speak to the facility where is he being held. Try and be patient and courteous. It is frustrating but you will get farther by being nice.
A non lawyer filing such a motion will be committing the crime of practicing law without a license.
I agree with wise counsel's advice above, in addition, the jail where he is housed is under an obligation to treat him and should have a doctor seeing him.