An apparatus for attaching a medical device to a subject's body, either directly to the subject's body or to an intermediary element on the subject's body. The apparatus prevents substantially any relative movement between the medical device and the subject's body. Such an apparatus comprises: (i) a back base positioned between the subject's body and a surface that the subject lies thereon, (ii) at least one set of straps connected to the back base and to at least one of the medical device and the intermediary element, and (iii) at least one set of connectors providing a connection between the at least one set of straps and one or more of the medical device, the intermediary element and the back base. The apparatus may further comprise any of pivoting connectors, a respiration sensor, and straps with a stretchable section. The apparatus may be used in combination with a sterile drape.