A closing device is provided for an opening in the heart of a patient, the closing device comprising a ring, which can be fastened to the body tissue of the heart in the region of the opening. The ring has a ring opening. The closing device further comprises a closing element, which can be inserted into the ring opening in order to close the ring opening. Furthermore, the closing element can have at least two integrated sensors. The elements provided in or on the closing element can be connected to and can interact with monitoring and control devices in different ways.