The Grand Ayatollah Sistani answered a question about a fasting person who is anaesthetized for operation.
Question: A person who is fasting is anaesthetized for operation, is his fast is correct or must he eat?
The Grand Ayatollah Sistani: If the person has previous intention and becomes unconscious without having control and gains consciousness in middle of the day, according to necessary precaution must complete the fasting for that day and if does not complete it, must fast some other time for that day; but about unconsciousness that the person has the control (like a person who present himself to anaesthetist for an operation), the Wajeb precaution is to complete the fast of that day, and also fast for that day some other time.
source : shafaqna.com