Drainage device for collecting liquids from a body cavity