If a genetic cause is suspected, genetic testing may be performed. Treatment
Treatment of hypopituitarism is threefold: removing the underlying cause, treating the hormone deficiencies, and addressing any other repercussions that arise from the hormone deficiencies. Underlying cause
Pituitary tumors require treatment when they are causing specific symptoms, such as headaches, visual field defects or excessive hormone secretion. Transsphenoidal surgery (removal of the tumor by an operation through the nose and the sphenoidal sinuses) may, apart from addressing symptoms related to the tumor, also improve pituitary function, although the gland is sometimes damaged further as a result of the surgery. When the tumor is removed by craniotomy (opening the skull), recovery is less likely–but sometimes this is the only suitable way to approach the tumor. After surgery, it may take some time for hormone levels to change significantly. Retesting the pituitary hormone levels is therefore performed 2 to 3 months later.Prolactinomas may respond to dopamine agonist treatment–medication that mimics the action of dopamine on the lactrotrope cells, usually bromocriptine or cabergoline. This approach may improve pituitary hormone secretion in more than half the cases, and make supplementary treatment unnecessary.Other specific underlying causes are treated as normally. For example, hemochromatosis is treated by venesection, the regular removal of a fixed amount of blood. Eventually, this decreases the iron levels in the body and improves the function of the organs in which iron has accumulated.
Postpericardiotomy syndrome (PPS) is a medical syndrome referring to an immune phenomenon that occurs days to months (usually 1–6 weeks) after surgical incision of the pericardium (membranes encapsulating the human heart). PPS can also be caused after a trauma, a puncture of the cardiac or pleural structures (such as a bullet or stab wound), after percutaneous coronary intervention (such as stent placement after a myocardial infarction or heart attack), or due to pacemaker or pacemaker wire placement. Signs and symptoms
The typical signs of post-pericardiotomy syndrome include fever, pleuritis (with possible pleural effusion),  pericarditis (with possible pericardial effusion), occasional but rare pulmonary infiltrates, and fatigue. Cough, pleuritic or retrosternal chest pain, joint pain and decreased oxygen saturation can also be seen in some cases.Other signs include arthritis, together with petechiae on the skin and palate. : 827

Complications
Complications include pericarditis, pericardial effusion, pleuritis, pulmonary infiltration, and very rarely pericardial tamponade. Of these cardiac tamponade is the most life-threatening complication. The pericardial fluid increases intra-pericardial pressure therefore preventing complete expansion of the atria and the ventricles upon the diastole. This causes equilibration of the pressure in all four heart chambers, and results in the common findings of the tamponade which are pulsus paradoxus, Becks triad of hypotension, muffled heart sounds, and raised jugular venous pressure, as well as EKG or Holter monitor findings such as electrical alternans. Physically the patients who progress to severe pericardial tamponade obtundate, become mentally altered, and lethargic.