Tooltip
.tooltip {
position: relative;
cursor: pointer;
text-decoration: none;
border-bottom: 1px dashed rgba(0, 0, 0, 0.6);
}
.tooltip::before {
content: attr(data-tooltip);
position: absolute;
top: -40px; /* Trochę niżej nad słowem */
left: 50%; /* Wyśrodkowanie */
transform: translateX(-50%);
background-color: rgba(255, 255, 255, 0.9);
color: #333;
padding: 6px 12px;
border-radius: 8px;
white-space: nowrap;
opacity: 0;
visibility: hidden;
transition: opacity 0.3s ease, visibility 0.3s ease;
font-family: ‘Arial’, sans-serif;
font-size: 14px;
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
z-index: 10;
}
.tooltip:hover::before {
opacity: 1;
visibility: visible;
}
document.addEventListener(‘DOMContentLoaded’, function () {
const wordsToTooltip = {
“Deep vein thrombosis”: “Zakrzepica żył głębokich”,
“Blood clot”: “Skrzep krwi”,
“Thrombus”: “Zakrzep”,
“Lower extremities”: “Kończyny dolne”,
“Pulmonary embolism”: “Zatorowość płucna”,
“Immobility”: “Unieruchomienie”,
“Prolonged bed rest”: “Długotrwałe leżenie w łóżku”,
“Long flights”: “Długie loty”,
“Sitting for extended periods”: “Długotrwałe siedzenie”,
“Venous stasis”: “Zastój żylny”,
“Hypercoagulability”: “Nadkrzepliwość”,
“Orthopedic procedures”: “Zabiegi ortopedyczne”,
“Cancer”: “Nowotwór”,
“Pregnancy”: “Ciąża”,
“Hormonal changes”: “Zmiany hormonalne”,
“Pelvic veins”: “Żyły miedniczne”,
“Genetic clotting disorders”: “Genetyczne zaburzenia krzepnięcia”,
“Factor V Leiden”: “Czynnik V Leiden”,
“Prothrombin gene mutation”: “Mutacja genu protrombiny”,
“Hormone therapy”: “Terapia hormonalna”,
“Oral contraceptives”: “Doustne środki antykoncepcyjne”,
“Endothelial damage”: “Uszkodzenie śródbłonka”,
“Virchow’s triad”: “Triada Virchowa”,
“Leg pain”: “Ból nogi”,
“Calf”: “Łydka”,
“Thigh”: “Udo”,
“Swelling”: “Obrzęk”,
“Warmth”: “Ciepło”,
“Redness”: “Zaczerwienienie”,
“Homan’s sign”: “Objaw Homansa”,
“D-dimer test”: “Test D-dimerów”,
“Doppler ultrasound”: “Ultrasonografia dopplerowska”,
“Venography”: “Flebografia”,
“Anticoagulation therapy”: “Terapia przeciwzakrzepowa”,
“Heparin”: “Heparyna”,
“Warfarin”: “Warfaryna”,
“Direct oral anticoagulants”: “Bezpośrednie doustne antykoagulanty”,
“DOACs”: “Bezpośrednie doustne antykoagulanty”,
“Compression stockings”: “Pończochy uciskowe”,
“Post-thrombotic syndrome”: “Zespół pozakrzepowy”,
“Thrombolytic therapy”: “Terapia trombolityczna”,
“Inferior vena cava filter”: “Filtr żyły głównej dolnej”,
“IVC filter”: “Filtr żyły głównej dolnej”,
“Pulmonary artery”: “Tętnica płucna”,
“Sudden shortness of breath”: “Nagła duszność”,
“Chest pain”: “Ból w klatce piersiowej”,
“Sharp pain”: “Ostry ból”,
“Stabbing pain”: “Kłujący ból”,
“Deep breathing”: “Głębokie oddychanie”,
“Coughing”: “Kaszel”,
“Rapid heart rate”: “Przyspieszone tętno”,
“Tachycardia”: “Tachykardia”,
“Coughing up blood”: “Krwioplucie”,
“Hemoptysis”: “Krwioplucie”,
“CT pulmonary angiography”: “Angiografia płucna TK”,
“Ventilation-perfusion scan”: “Scyntygrafia wentylacyjno-perfuzyjna”,
“V/Q scan”: “Scyntygrafia wentylacyjno-perfuzyjna”,
“Surgical embolectomy”: “Chirurgiczne usunięcie zatoru”,
“Chronic thromboembolic pulmonary hypertension”: “Przewlekłe zakrzepowo-zatorowe nadciśnienie płucne”,
“CTEPH”: “Przewlekłe zakrzepowo-zatorowe nadciśnienie płucne”,
“Chronic venous insufficiency”: “Przewlekła niewydolność żylna”,
“CVI”: “Przewlekła niewydolność żylna”,
“Damaged valves”: “Uszkodzone zastawki”,
“Varicose veins”: “Żylaki”,
“Obesity”: “Otyłość”,
“Venous hypertension”: “Nadciśnienie żylne”,
“Capillaries”: “Naczynia włosowate”,
“Fluid leakage”: “Wyciekanie płynu”,
“Leg swelling”: “Obrzęk nóg”,
“Brownish pigmentation”: “Brunatne przebarwienia”,
“Hemosiderin deposition”: “Złogi hemosyderyny”,
“Venous ulcers”: “Owrzodzenia żylne”,
“Non-healing ulcers”: “Niegojące się owrzodzenia”,
“Ankles”: “Kostki”,
“Vein reflux”: “Refluks żylny”,
“Lifestyle modifications”: “Zmiany stylu życia”,
“Regular exercise”: “Regularna aktywność fizyczna”,
“Weight management”: “Kontrola masy ciała”,
“Leg elevation”: “Unoszenie nóg”,
“Vein ablation”: “Ablacja żył”,
“Laser therapy”: “Terapia laserowa”,
“Radiofrequency ablation”: “Ablacja falami radiowymi”,
“Vein stripping”: “Usunięcie żyły”,
“Bypass surgery”: “Operacja pomostowania żył”,
“Weak valves”: “Osłabione zastawki”,
“Bulging veins”: “Wybrzuszone żyły”,
“Dark blue veins”: “Ciemnoniebieskie żyły”,
“Purple veins”: “Fioletowe żyły”,
“Leg discomfort”: “Dyskomfort nóg”,
“Aching”: “Ból”,
“Heaviness”: “Ciężkość”,
“Cramping”: “Skurcze”,
“Sclerotherapy”: “Skleroterapia”,
“Non-invasive treatment”: “Leczenie nieinwazyjne”,
“Recurrence”: “Nawrót”,
“Dry”: “Sucha”,
“Itchy”: “Swędząca”,
“Fatal”: “Śmiertelny”,
“Surgery”: “Operacja”,
“Clots”: “Skrzepy”,
“Inflammation”: “Zapalenie”,
“Tissue damage”: “Uszkodzenie tkanek”,
“Embolizes”: “Zatoruje się”,
“Cramp”: “Skurcz”,
“Dorsiflexion”: “Zgięcie grzbietowe”,
“Dissolves”: “Rozpuszcza się”,
“Inferior Vena Cava”: “Żyła główna dolna”,
“Anticoagulation”: “Przeciwzakrzepowe”,
“Contraindicated”: “Przeciwwskazane”,
“Anticoagulants”: “Leki przeciwzakrzepowe”,
“Hallmark symptom”: “Charakterystyczny objaw”,
“Infarction”: “Zawał”,
“Ventilation-Perfusion (V/Q) Scan”: “Scyntygrafia wentylacyjno-perfuzyjna (V/Q)”,
“Valves”: “Zastawki”,
“DVT”: “Zakrzepica żył głębokich”,
“PE”: “Zatorowość płucna”,
“Duplex Ultrasound”: “Ultrasonografia duplex”
};
// Normalize keys in the dictionary
const normalizedWordsToTooltip = {};
for (const [key, value] of Object.entries(wordsToTooltip)) {
const cleanedKey = key.replace(/(.*?)/g, ”).trim(); // Remove anything in parentheses
normalizedWordsToTooltip[cleanedKey.toLowerCase()] = value;
}
function processNode(node) {
if (node.nodeType === Node.TEXT_NODE && node.nodeValue.trim()) {
let content = node.nodeValue;
// Regex to match only the main words (ignores parentheses)
const regex = new RegExp(
`b(${Object.keys(normalizedWordsToTooltip).join(‘|’)})b`,
‘gi’
);
if (regex.test(content)) {
const wrapper = document.createElement(‘span’);
wrapper.innerHTML = content.replace(regex, (match) => {
const tooltip = normalizedWordsToTooltip[match.toLowerCase().trim()];
return `
${match}`;
});
node.replaceWith(wrapper);
}
} else if (node.nodeType === Node.ELEMENT_NODE) {
Array.from(node.childNodes).forEach(processNode);
}
}
document.querySelectorAll(‘body *:not(script):not(style)’).forEach((element) => {
Array.from(element.childNodes).forEach(processNode);
});
});
Deep Vein Thrombosis (DVT)
Deep vein thrombosis (DVT) refers to the formation of a blood clot (thrombus) in a deep vein, most commonly in the lower extremities. It is a serious condition due to the risk of the clot breaking loose and traveling to the lungs, causing a potentially fatal pulmonary embolism.
Etiology and Risk Factors
- Immobility: Prolonged bed rest, long flights, or sitting for extended periods can slow blood flow and increase clot risk.
- Surgery: Major surgeries, particularly orthopedic procedures, can lead to venous stasis and hypercoagulability.
- Cancer: Certain cancers increase clotting factors and the risk of DVT.
- Pregnancy: Hormonal changes and pressure on pelvic veins elevate the risk.
- Genetic Clotting Disorders: Conditions like Factor V Leiden or prothrombin gene mutation predispose individuals to clots.
- Hormone Therapy or Oral Contraceptives: Estrogen increases clotting risk.
Pathophysiology
DVT occurs when blood flow in a deep vein is obstructed by a clot. Venous stasis, endothelial damage, and hypercoagulability (Virchow’s triad) are key factors in clot formation. The clot may partially or completely block blood flow, causing local inflammation and tissue damage. If the clot embolizes, it can travel to the lungs, resulting in a life-threatening pulmonary embolism.
Clinical Manifestations
- Leg Pain: Often described as a cramp or aching in the calf or thigh.
- Swelling: Usually in one leg, with noticeable asymmetry compared to the other leg.
- Warmth and Redness: The skin over the affected area may feel warm and appear red or discolored.
- Homan’s Sign: Pain in the calf upon dorsiflexion of the foot, though not a reliable diagnostic marker.
Diagnostic Approach
- D-dimer Test: Measures a substance released when a clot dissolves; elevated levels suggest the presence of a clot but are not specific.
- Doppler Ultrasound: A non-invasive imaging test to visualize blood flow and detect clots in the deep veins.
- Venography: An invasive imaging test using contrast dye; reserved for complex cases or when ultrasound is inconclusive.
Treatment
- Anticoagulation Therapy:
- Heparin: Used initially to prevent clot extension.
- Warfarin: Long-term anticoagulation, with newer direct oral anticoagulants (DOACs) as alternatives.
- Compression Stockings: To reduce swelling and prevent post-thrombotic syndrome.
- Thrombolytic Therapy: Used in severe cases to dissolve clots quickly.
- Inferior Vena Cava (IVC) Filter: Placed in the vena cava to prevent clots from reaching the lungs, used when anticoagulation is contraindicated.
Prognosis for Deep Vein Thrombosis (DVT)
- Generally Good Prognosis: The prognosis is favorable when DVT is treated early with anticoagulants, significantly reducing the risk of complications like pulmonary embolism. Approximately 90% of patients have successful outcomes with proper management, but some may develop post-thrombotic syndrome, causing long-term leg pain or swelling.
Pulmonary Embolism (PE)
Pulmonary embolism (PE) occurs when a blood clot, usually originating from a DVT, travels to the lungs and obstructs a pulmonary artery. It is a medical emergency that can be life-threatening.
Etiology
- Deep Vein Thrombosis (DVT): The primary source of clots that embolize to the lungs.
- Surgery and Immobility: Increase the risk of clot formation.
- Cancer: Certain malignancies increase the risk of clotting.
- Pregnancy and Hormonal Therapy: Hormonal changes promote clotting.
Pathophysiology
A PE occurs when a thrombus breaks free from a deep vein, travels through the venous system, and lodges in a pulmonary artery, blocking blood flow to part of the lung. This impairs gas exchange and increases pressure in the right side of the heart, potentially leading to right heart failure.
Clinical Manifestations
- Sudden Shortness of Breath: A hallmark symptom that occurs suddenly and without warning.
- Chest Pain: Sharp, stabbing pain that worsens with deep breathing or coughing.
- Rapid Heart Rate (Tachycardia): As the heart struggles to pump blood through blocked pulmonary vessels.
- Coughing Up Blood (Hemoptysis): A sign of lung tissue damage or infarction.
Diagnostic Approach
- CT Pulmonary Angiography: The gold standard for visualizing blood clots in the lungs.
- D-dimer Test: Elevated levels suggest a clotting event but are not specific to PE.
- Ventilation-Perfusion (V/Q) Scan: Measures air and blood flow in the lungs; used when CT is contraindicated.
Treatment
- Anticoagulants:
- Heparin: Used initially to prevent further clot formation.
- Warfarin or DOACs: For long-term anticoagulation.
- Thrombolytic Therapy: Administered in severe cases to dissolve clots quickly.
- Surgical Embolectomy: Removal of the clot in life-threatening cases.
Prognosis for Pulmonary Embolism (PE)
- Early treatment significantly improves prognosis, leading to a 3-month survival rate of 89-98% for non-severe cases; however, severe PE can result in high mortality. Long-term risks include the potential development of chronic thromboembolic pulmonary hypertension (CTEPH) in 2-4% of patients.
Chronic Venous Insufficiency (CVI)
Chronic venous insufficiency (CVI) is a condition where the veins are unable to return blood efficiently from the legs to the heart, often due to damaged or incompetent venous valves.
Etiology
- Damaged Valves: Often a consequence of previous DVT, which can damage the vein walls and valves.
- Varicose Veins: Incompetent valves lead to blood pooling and increased venous pressure.
- Obesity: Excess weight puts pressure on leg veins, exacerbating valve dysfunction.
Pathophysiology
Venous valves prevent blood from flowing backward. In CVI, these valves become damaged or weak, causing blood to pool in the legs. The resulting venous hypertension leads to increased pressure in the capillaries, fluid leakage into surrounding tissues, and chronic inflammation. Over time, this can lead to skin changes and venous ulcers.
Clinical Manifestations
- Leg Swelling: Worsens throughout the day and may improve with leg elevation.
- Skin Discoloration: Brownish pigmentation due to hemosiderin deposition.
- Varicose Veins: Enlarged, twisted veins visible under the skin.
- Venous Ulcers: Shallow, non-healing ulcers often located around the ankles.
Diagnostic Approach
- Duplex Ultrasound: Evaluates blood flow and identifies vein reflux or blockages.
- Venography: Used for detailed visualization in complex cases.
Treatment
- Compression Therapy: Graduated compression stockings improve blood flow and reduce swelling.
- Lifestyle Modifications: Regular exercise, weight management, and leg elevation.
- Vein Ablation: Minimally invasive procedures like laser therapy or radiofrequency ablation to close damaged veins.
- Surgical Intervention: Vein stripping or bypass surgery in severe cases.
Prognosis for Chronic Venous Insufficiency (CVI)
- The prognosis is generally good with appropriate management, including compression therapy and lifestyle modifications, which can prevent severe complications like venous ulcers. Without treatment, patients face a high risk of morbidity.
Varicose Veins
Varicose veins are swollen, twisted veins that are visible under the skin, typically occurring in the legs. They result from weakened vein walls and valves.
Etiology
- Weak or Damaged Valves: Causes blood to pool in the veins instead of flowing to the heart.
- Genetics: A family history increases the risk.
- Prolonged Standing or Sitting: Increases venous pressure in the legs.
- Pregnancy: Hormonal changes and increased blood volume contribute to vein dilation.
Pathophysiology
When the valves in superficial veins become weak or damaged, blood flows backward and accumulates, causing the veins to enlarge and become varicose. This leads to increased pressure and the characteristic appearance of bulging veins.
Clinical Manifestations
- Visible, Bulging Veins: Dark blue or purple veins that are twisted and raised.
- Leg Discomfort: Aching, heaviness, or cramping in the legs.
- Swelling: Particularly around the ankles.
- Skin Changes: Dry, itchy skin over the affected veins.
Diagnostic Approach
- Clinical Examination: Physical inspection and assessment of symptoms.
- Duplex Ultrasound: To assess vein function and blood flow.
Treatment
- Compression Stockings: To reduce discomfort and prevent worsening.
- Sclerotherapy: Injection of a solution to collapse and seal the veins.
- Laser Therapy: Non-invasive treatment to close smaller varicose veins.
- Vein Stripping: Surgical removal of large varicose veins.
Prognosis for Varicose Veins
- The prognosis is generally favorable with conservative management and minimally invasive procedures, though there is a risk of recurrence.