A pharmaceutical product including a housing that defines a cavity, wherein the cavity stores a pharmaceutical material, and wherein the housing comprises a material configured to dissolve based on contact with a fluid, an ingestible device to encode information in a current signature, wherein the ingestible device is positioned within the housing, and a protective material that encompasses the ingestible device. The ingestible device may be attached to a flexible component, wherein the flexible component is configured to releasably secure the ingestible device within the housing.