A method of assembling an electronic prosthetic aortic valve comprising a valve component and an electronics component, the method comprising: inserting the electronics component into the valve component, the electronics component comprising one or more electrodes and a prosthetic-valve coil in non-wireless electrical communication with the one or more electrodes, and the valve component comprising a frame and prosthetic leaflets coupled to the frame; and coupling the electronics component to the valve component, characterized in that: the frame is shaped so as to define: an upstream inflow portion, a downstream outflow portion, and a constriction portion, which is axially between the upstream inflow portion and the downstream outflow portion, the prosthetic leaflets are coupled to the constriction portion, the prosthetic aortic valve is configured such that when in an expanded configuration: free edges of the prosthetic leaflets face toward the downstream outflow portion, and a ring-shaped longitudinal border between the downstream outflow portion and the constriction portion is defined by a downstream-most point of the frame to which the prosthetic leaflets are coupled, and coupling the electronics component to the valve component comprises coupling the electronics component to the valve component such that the prosthetic-valve coil is coupled to the frame no more than 1 mm upstream of the ring-shaped longitudinal border. inserting the electronics component into the valve component, the electronics component comprising one or more electrodes and a prosthetic-valve coil in non-wireless electrical communication with the one or more electrodes, and the valve component comprising a frame and prosthetic leaflets coupled to the frame; and coupling the electronics component to the valve component, characterized in that: the frame is shaped so as to define: an upstream inflow portion, a downstream outflow portion, and a constriction portion, which is axially between the upstream inflow portion and the downstream outflow portion, the prosthetic leaflets are coupled to the constriction portion, the prosthetic aortic valve is configured such that when in an expanded configuration: free edges of the prosthetic leaflets face toward the downstream outflow portion, and a ring-shaped longitudinal border between the downstream outflow portion and the constriction portion is defined by a downstream-most point of the frame to which the prosthetic leaflets are coupled, and coupling the electronics component to the valve component comprises coupling the electronics component to the valve component such that the prosthetic-valve coil is coupled to the frame no more than 1 mm upstream of the ring-shaped longitudinal border. the frame is shaped so as to define: an upstream inflow portion, a downstream outflow portion, and a constriction portion, which is axially between the upstream inflow portion and the downstream outflow portion, the prosthetic leaflets are coupled to the constriction portion, the prosthetic aortic valve is configured such that when in an expanded configuration: free edges of the prosthetic leaflets face toward the downstream outflow portion, and a ring-shaped longitudinal border between the downstream outflow portion and the constriction portion is defined by a downstream-most point of the frame to which the prosthetic leaflets are coupled, and free edges of the prosthetic leaflets face toward the downstream outflow portion, and a ring-shaped longitudinal border between the downstream outflow portion and the constriction portion is defined by a downstream-most point of the frame to which the prosthetic leaflets are coupled, and coupling the electronics component to the valve component comprises coupling the electronics component to the valve component such that the prosthetic-valve coil is coupled to the frame no more than 1 mm upstream of the ring-shaped longitudinal border.