Just did a quick google search and found this article that seems to be discussing the very same things as this documentary you saw. It is a fascinating read as I had no idea the heart was this complex!
http://www.rcpsych.ac.uk/pdf/Heart,%...ed%20Salem.pdf