American nurse, married to Union Army general James B. Ricketts, went with him to Mexico and as Union soldier prisoner of war