Blockage of the normal flow of bile. It may be due to impaired flow within the liver (intrahepatic cholestasis) or along the bile ducts (extrahepatic cholestasis).