if the officer just gave you a ticket and let you, that means you are ok.
if possible, pay the bail and get it dismissed, bring all the papers to interview, and tell the IO your situation "my husband was sick, i had to go to the pharmacy for his pills"
if you still have time to go to the court...