A defibrillator includes: a housing; a discharge module disposed on a first portion of a printed circuit board and positioned within the housing; an energy storage module disposed on a second portion of the printed circuit board; and a controller module disposed on a third portion of the printed circuit board. The energy storage module is operatively connected to the discharge module by a first flexible member. The controller module is operatively connected to the energy storage module by a second flexible member. The first flexible member is folded such that the first portion of the printed circuit board is positioned substantially parallel to the second portion of the printed circuit board and the second flexible member is folded such that the third portion of the printed circuit board is positioned substantially perpendicular to the first and second portions of the printed circuit board.