The system and method of the present disclosure are for use in medical treatment, and the connection mechanism comprises a first end connected to a medical system interface in a first joint and a second end connected to an anatomical opening device in a second joint .An anatomical aperture device is fixedly coupled to the patient.A flexible portion is provided between the first end and the second end, and the flexible portion can provide flexibility at least one degree of freedom in accordance with the movement of the anatomical aperture device.本開示のシステムおよび方法は医療処置において使用するためのものであり、接続機構が、第1のジョイントにおいて医療システムインターフェースに接続された第1の端部と、第2のジョイントにおいて解剖学的開口部装置に接続された第2の端部とを備える。解剖学的開口部装置は、患者に固定結合される。可撓性部分が、第1の端部と第2の端部の間に設けられ、可撓性部分は、解剖学的開口部装置の移動に応じて、少なくとも1自由度において可撓性を提供することができる。