The procedure is usually done using a thoracic approach (often using a thoracoscopic technique; thoracotomy is rarely used) and under general anaesthesia. Once the phrenic nerve is identified and tested, an electrode is placed around the nerve in the chest, and then stabilised. The electrode is connected to a subcutaneous receiver, usually placed in the chest wall. An external transmitter (powered by batteries) then sends radiofrequency signals to the device through an antenna which is worn over the receiver. The receiver translates radio waves into stimulating electrical pulses that are delivered to the phrenic nerve by the electrode, to achieve diaphragm contraction and support breathing. The device is tested during and after the surgery to ensure that it is working. This procedure is usually done bilaterally but can also be done unilaterally. A cervical approach can also be used and is done under general or local anaesthesia.