Investigation of causes of pericardial effusion