An implantable medical apparatus comprising a control unit, a bladder containing a fluid, a ram configured to compress the fluid in the bladder, and a pressure sensor configured to detect a pressure of the fluid in the inflatable bladder. The bladder, ram, pressure sensor and control unit are located in a unitary implant configured for placement within a corporeal body.