The disclosure relates to a medical implant (1) for occluding an opening in a body and a method of producing such a medical implant. Disclosed is an improved occluder (1), which provides improved occlusion, improved sealing and improved endothelialization. The occluder slows down the blood flow through the defect. In one embodiment, a medical implant (1) for occluding an opening in a body is provided, wherein the medical implant (1) comprises a body mesh of strands forming a plurality of adjacent cells delimited by the strands, the body mesh having an external surface, and a coating (22) or a non-fibrous film membrane (17) covering the external surface for at least partly restricting a fluid flow through a structural tissue defect, such as a defect in the heart.