The detailed dive history may be necessary in these cases.In terms of barotrauma the diagnostic workup for the affected individual could include the following:
Laboratory:
Creatine kinase (CPK) level: Increases in CPK levels indicate tissue damage associated with decompression sickness. Complete blood count (CBC)
Arterial blood gas (ABG) determinationImaging:
Chest radiography can show pneumothorax, and is indicated if there is chest discomfort or breathing difficulty
Computed tomography (CT) scans and magnetic resonance imaging (MRI) may be indicated when there is severe headache or severe back pain after diving. CT is the most sensitive method to evaluate for pneumothorax. It can be used where barotrauma-related pneumothorax is suspected and chest radiograph findings are negative. Echocardiography can be used to detect the number and size of gas bubbles in the right side of the heart. Ear barotrauma
Barotrauma can affect the external, middle, or inner ear. Middle ear barotrauma (MEBT) is the most common diving injury, being experienced by between 10% and 30% of divers and is due to insufficient equilibration of the middle ear. External ear barotrauma may occur  if air is trapped in the external auditory canal. Diagnosis of middle and external ear barotraume is relatively simple, as the damage is usually visible if severe enough to require intervention. External auditory canal
Barotrauma can occur in the external auditory canal if it is blocked by cerumen, exostoses, a tight-fitting diving suit hood or earplugs, which create an airtight, air-filled space between the eardrum and the blockage.
Prevention
In divers
Barotrauma may be caused when diving, either from being crushed, or squeezed, on descent or by stretching and bursting on ascent; both can be avoided by equalising the pressures. A negative, unbalanced pressure is known as a squeeze, crushing eardrums, dry suit, lungs or mask inwards and can be equalised by putting air into the squeezed space. A positive unbalanced pressure expands internal spaces rupturing tissue and can be equalised by letting air out, for example by exhaling. Both may cause barotrauma. There are a variety of techniques depending on the affected area and whether the pressure inequality is a squeeze or an expansion:

Ears and sinuses: There is a risk of stretched or burst eardrums, usually crushed inwards during descent but sometimes stretched outwards on ascent. The diver can use a variety of methods to let air into or out of the middle ears via the Eustachian tubes. Sometimes swallowing will open the Eustachian tubes and equalise the ears. Lungs: There is a risk of pneumothorax, arterial gas embolism, and mediastinal and subcutaneous emphysema during ascent, which are commonly called burst lung or lung overpressure injury by divers. To equalise the lungs, all that is necessary is not to hold the breath during ascent. This risk does not occur when breath-hold diving from the surface, unless the diver breathes from an ambient pressure gas source underwater; breath-hold divers do suffer squeezed lungs on descent, crushing in the chest cavity, but, while uncomfortable, this rarely causes lung injury and returns to normal at the surface.