The invention relates to a medical device (100) for use in the production of a data model of a limb stump (KS), wherein the device (100) comprises at least one pressure vessel (1) having a fluid chamber or pressure chamber (DK) for receiving or storing a fluid (F), wherein the pressure vessel (1) has a wall (3) made of a first material, wherein the wall (3) delimits an interior (I) of the pressure vessel (1) with respect to an exterior (Ä), wherein the pressure vessel (1) has an inlet opening (9) for introducing the limb stump (KS) into the interior (I) of the pressure vessel (1). The device (100) also comprises a fluid-tight membrane (5) made of a second material, which is arranged to form or delimit the fluid chamber or pressure chamber (DK). The device (100) further comprises a retaining stocking (215) for pulling over the limb stump (KS), wherein the retaining stocking (215) has sensors (225) for producing the data model. The invention also relates to a set (500) having a medical device (100) according to the invention and a transmitter device (501) and/or a receiver device (501) for transmitting and/or receiving signals (227) of the sensors (225) in the retaining stocking (215). The invention further relates to a method and a retaining stocking.