If someone had an operation during Ramadhān, if nothing reached inside the stomach or the brain, the fast will be ok. However, if general anaesthetic was administered, then the medicine goes inside. Therefore, the fast will break.
Extracted from A Gift for Ramadhan, Page 69.