Podświetlanie tekstu z notatkami
body {
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
}
.highlight {
background-color: #cce7ff; /* Highlight color without notes */
position: relative;
display: inline;
}
.highlight.with-note {
background-color: #ffeb3b; /* Highlight color with notes */
}
.note-box {
position: absolute;
background-color: #f9f9f9;
color: #333;
font-size: 14px;
line-height: 1.6;
padding: 10px 15px;
border: 1px solid #ddd;
border-radius: 5px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
max-width: 250px;
z-index: 1000;
white-space: normal;
text-align: left;
display: none; /* Hidden by default */
}
.note-controls {
position: absolute;
top: -30px;
right: -30px;
display: flex;
gap: 10px;
z-index: 10;
opacity: 0;
pointer-events: none;
transition: opacity 0.3s;
}
.note-controls.visible {
opacity: 1;
pointer-events: all;
}
.note-controls span {
cursor: pointer;
background-color: gray;
color: white;
padding: 5px 10px;
border-radius: 5px;
font-size: 16px;
font-weight: bold;
}
.note-controls span:hover {
background-color: darkgray;
}
document.addEventListener(“DOMContentLoaded”, () => {
/**
* Checks if an element is a header.
*/
const isHeaderElement = (node) => {
while (node) {
if (node.nodeType === 1 && node.tagName.match(/^H[1-5]$/)) {
return true;
}
node = node.parentNode;
}
return false;
};
/**
* Checks if an element is inside a table cell.
*/
const isInsideTable = (node) => {
while (node) {
if (node.tagName === “TD” || node.tagName === “TH”) {
return node;
}
node = node.parentNode;
}
return null;
};
/**
* Checks if an element belongs to the same list item.
*/
const isWithinSameListItem = (selection) => {
if (selection.rangeCount === 0) return false;
const range = selection.getRangeAt(0);
const startContainer = range.startContainer;
const endContainer = range.endContainer;
const getClosestListItem = (node) => {
while (node) {
if (node.nodeType === 1 && node.tagName === “LI”) {
return node;
}
node = node.parentNode;
}
return null;
};
const startListItem = getClosestListItem(startContainer);
const endListItem = getClosestListItem(endContainer);
// Ensure selection is within the same list item
return startListItem === endListItem;
};
/**
* Validates the selection.
* Ensures the selection is within a single header, table cell, or list item.
*/
const isSelectionValid = (selection) => {
if (selection.rangeCount === 0) return false;
const range = selection.getRangeAt(0);
const startContainer = range.startContainer;
const endContainer = range.endContainer;
const startInHeader = isHeaderElement(startContainer);
const endInHeader = isHeaderElement(endContainer);
// Block selection spanning headers
if (startInHeader !== endInHeader) {
return false;
}
const startCell = isInsideTable(startContainer);
const endCell = isInsideTable(endContainer);
// Block selection spanning table cells
if (startCell && endCell && startCell !== endCell) {
return false;
}
// Block selection spanning multiple list items
if (!isWithinSameListItem(selection)) {
return false;
}
return true;
};
/**
* Highlights the selected text.
*/
const wrapTextWithHighlight = (range) => {
const fragment = range.extractContents();
const highlight = document.createElement(“span”);
highlight.className = “highlight”;
highlight.appendChild(fragment);
range.insertNode(highlight);
const noteControls = document.createElement(“div”);
noteControls.className = “note-controls visible”;
const editNote = document.createElement(“span”);
editNote.textContent = “✎”;
editNote.title = “Edit note”;
noteControls.appendChild(editNote);
const removeHighlight = document.createElement(“span”);
removeHighlight.textContent = “x”;
removeHighlight.title = “Remove highlight”;
noteControls.appendChild(removeHighlight);
highlight.style.position = “relative”;
highlight.appendChild(noteControls);
let noteBox = null;
const updateNotePosition = () => {
const rect = highlight.getBoundingClientRect();
if (noteBox) {
noteBox.style.top = `${rect.height}px`;
noteBox.style.left = `${rect.width / 2}px`;
}
};
const hideControlsAndNoteAfterDelay = () => {
setTimeout(() => {
noteControls.classList.remove(“visible”);
if (noteBox) noteBox.style.display = “none”;
}, 3000);
};
// Show controls for 3 seconds after highlighting
hideControlsAndNoteAfterDelay();
highlight.addEventListener(“click”, () => {
noteControls.classList.add(“visible”);
if (noteBox) noteBox.style.display = “block”;
hideControlsAndNoteAfterDelay();
});
editNote.addEventListener(“click”, () => {
const noteText = prompt(“Add or edit a note:”, noteBox?.textContent || “”);
if (noteText) {
if (!noteBox) {
noteBox = document.createElement(“div”);
noteBox.className = “note-box”;
highlight.appendChild(noteBox);
}
noteBox.textContent = noteText;
noteBox.style.display = “block”;
highlight.classList.add(“with-note”);
updateNotePosition();
hideControlsAndNoteAfterDelay();
}
});
removeHighlight.addEventListener(“click”, () => {
const parent = highlight.parentNode;
while (highlight.firstChild) {
parent.insertBefore(highlight.firstChild, highlight);
}
parent.removeChild(highlight);
if (noteBox) noteBox.remove();
});
};
/**
* Handles the mouseup event to validate and apply highlighting.
*/
document.body.addEventListener(“mouseup”, () => {
const selection = window.getSelection();
if (selection.rangeCount > 0 && selection.toString().trim()) {
if (!isSelectionValid(selection)) {
alert(“Zaznaczenie musi być w obrębie jednego akapitu, komórki tabeli lub punktu listy!”);
selection.removeAllRanges();
return;
}
const range = selection.getRangeAt(0);
wrapTextWithHighlight(range);
selection.removeAllRanges();
}
});
});
Szacowany czas lekcji:
24 minut
.lesson-duration-container {
background-color: #f0f4f8; /* Szarawe tło dopasowane do reszty strony */
padding: 8px 15px; /* Wewnętrzny odstęp */
border-radius: 8px; /* Zaokrąglone rogi */
font-family: ‘Roboto’, Arial, sans-serif; /* Czcionka Roboto, jeśli dostępna */
font-size: 16px; /* Rozmiar tekstu */
color: #6c757d; /* Ciemny szary kolor tekstu */
display: inline-block; /* Wyświetlanie jako element blokowy */
margin-bottom: 20px; /* Odstęp na dole */
border: none; /* Bez obramowania */
}
.lesson-duration-label {
font-weight: 700; /* Pogrubienie dla etykiety */
color: #6c757d; /* Ciemny szary kolor dla etykiety */
margin-right: 5px; /* Odstęp od wartości */
}
.lesson-duration-value {
color: #6c757d; /* Ciemny szary kolor dla wartości */
font-weight: 700; /* Pogrubienie dla wartości */
}
Podstawowe terminy medyczne
Polish | English |
---|
Układ limfatyczny | Lymphatic system |
Limfa | Lymph |
Naczynia limfatyczne | Lymphatic vessels |
Węzły chłonne | Lymph nodes |
Śledziona | Spleen |
Migdałki | Tonsils |
Grasica | Thymus |
Chłonka | Lymph fluid |
Limfocyty | Lymphocytes |
Węzły pachowe | Axillary lymph nodes |
Węzły pachwinowe | Inguinal lymph nodes |
Węzły szyjne | Cervical lymph nodes |
Naczynia włosowate limfatyczne | Lymphatic capillaries |
Przewód piersiowy | Thoracic duct |
Obwodowy obrzęk limfatyczny | Peripheral lymphedema |
Chłoniak | Lymphoma |
Przewlekła niewydolność limfatyczna | Chronic lymphatic insufficiency |
Zapalenie węzłów chłonnych | Lymphadenitis |
Rozrost limfatyczny | Lymphatic hyperplasia |
Limfangiektazje | Lymphangiectasia |
Chłonkotok | Chylous leak (chylothorax, chylous ascites) |
Kluczowe objawy i schorzenia
Polish | English |
---|
Obrzęk limfatyczny | Lymphedema |
Powiększenie węzłów chłonnych | Lymphadenopathy |
Ból węzłów chłonnych | Lymph node pain |
Zaczerwienienie skóry nad węzłami | Redness over lymph nodes |
Twardnienie węzłów chłonnych | Lymph node hardening |
Przewlekłe zmęczenie | Chronic fatigue |
Zmniejszona odporność | Decreased immunity |
Zakażenie węzłów chłonnych | Lymph node infection |
Chłoniak | Lymphoma |
Zapalenie naczyń limfatycznych | Lymphangitis |
Zakażenie skóry nad naczyniami limfatycznymi | Skin infection over lymph vessels (cellulitis) |
Powolne gojenie się ran | Slow wound healing |
Zgrubienia lub guzki pod skórą | Lumps or nodules under the skin |
Ból podczas ruchu | Pain during movement |
Nawracające infekcje | Recurrent infections |
Niedrożność limfatyczna | Lymphatic obstruction |
Przewlekła niewydolność limfatyczna | Chronic lymphatic insufficiency |
Ogniskowe zapalenie węzłów | Focal lymphadenitis |
Narzędzia diagnostyczne i procedury
Polish | English |
---|
Ultrasonografia limfatyczna | Lymphatic ultrasound |
Limfoscyntygrafia | Lymphoscintigraphy |
Biopsja węzła chłonnego | Lymph node biopsy |
Biopsja cienkoigłowa węzłów chłonnych | Fine needle aspiration (FNA) biopsy of lymph nodes |
Tomografia komputerowa (CT) | Computed Tomography (CT) |
Rezonans magnetyczny (MRI) | Magnetic Resonance Imaging (MRI) |
PET-CT | Positron Emission Tomography (PET-CT) |
Badanie krwi (morfologia, poziom limfocytów) | Blood tests (CBC, lymphocyte count) |
Testy na infekcje wirusowe | Tests for viral infections (e.g., Epstein-Barr, HIV) |
Biopsja szpiku | Bone marrow biopsy |
Badanie histopatologiczne węzła | Histopathological examination of lymph node |
Limfangiografia | Lymphangiography |
Drenaż limfatyczny | Lymphatic drainage |
Test przepływu limfy | Lymph flow test |
Czynniki ryzyka i styl życia
Polish | English |
---|
Przebyte operacje lub urazy | History of surgery or trauma |
Otyłość | Obesity |
Siedzący tryb życia | Sedentary lifestyle |
Niska aktywność fizyczna | Low physical activity |
Przewlekłe infekcje | Chronic infections |
Nowotwory | Cancer |
Choroby autoimmunologiczne | Autoimmune diseases |
Historia radioterapii lub chemioterapii | History of radiotherapy or chemotherapy |
Zakażenia bakteryjne lub wirusowe | Bacterial or viral infections |
Nawracające infekcje skóry | Recurrent skin infections |
Genetyczne zaburzenia limfatyczne | Genetic lymphatic disorders |
Wrodzony obrzęk limfatyczny | Congenital lymphedema |
Nadciśnienie | Hypertension |
Praca w pozycji stojącej | Standing for long periods |
Sposoby leczenia i postępowanie
Polish | English |
---|
Drenaż limfatyczny | Lymphatic drainage |
Kompresjoterapia | Compression therapy |
Fizjoterapia | Physical therapy |
Masaż limfatyczny | Lymphatic massage |
Chirurgia usunięcia węzłów chłonnych | Lymph node removal surgery |
Leki przeciwzapalne | Anti-inflammatory drugs |
Leki immunosupresyjne | Immunosuppressive drugs |
Leki przeciwwirusowe | Antiviral drugs |
Terapia przeciwbakteryjna | Antibacterial therapy |
Leczenie onkologiczne (chemioterapia, radioterapia) | Cancer treatment (chemotherapy, radiotherapy) |
Przeszczep szpiku | Bone marrow transplant |
Terapia uciskowa | Compression therapy |
Regularne ćwiczenia | Regular exercise |
Podnoszenie kończyn | Elevation of limbs |
Modyfikacja stylu życia | Lifestyle modification |
Pytania o objawy pacjenta, które każdy lekarz powinien umieć zadać
Polish | English |
---|
Czy odczuwa Pan/Pani obrzęk kończyn? | Do you experience swelling in your limbs? |
Jak długo trwa obrzęk? | How long has the swelling been present? |
Czy obrzęk jest jednostronny, czy obustronny? | Is the swelling on one side or both sides? |
Czy obrzęk nasila się w ciągu dnia? | Does the swelling worsen as the day progresses? |
Czy obrzęk jest bolesny? | Is the swelling painful? |
Czy odczuwa Pan/Pani napięcie skóry nad obrzękiem? | Do you feel tightness of the skin over the swelling? |
Czy zauważył(a) Pan/Pani powiększenie węzłów chłonnych? | Have you noticed swollen lymph nodes? |
Czy powiększone węzły są twarde lub bolesne? | Are the swollen lymph nodes hard or painful? |
Czy zauważył(a) Pan/Pani obrzęk w okolicach pach, pachwin lub szyi? | Have you noticed swelling in the armpits, groin, or neck? |
Czy odczuwa Pan/Pani zmęczenie lub osłabienie? | Do you feel fatigued or weak? |
Czy zmiany w skórze nad obrzękiem są widoczne (zaczerwienienie, gorąco, zgrubienia)? | Have you noticed any skin changes over the swelling (redness, warmth, thickening)? |
Czy wystąpiły u Pana/Pani nawracające infekcje, np. skóry lub gardła? | Have you had recurrent infections, such as skin or throat infections? |
Czy rany lub skaleczenia wolno się goją? | Are wounds or cuts slow to heal? |
Czy ma Pan/Pani trudności z poruszaniem obrzękniętą kończyną? | Do you have difficulty moving the swollen limb? |
Czy obrzęk powoduje ograniczenie ruchomości stawów? | Does the swelling restrict your joint movement? |
Czy odczuwa Pan/Pani ciepło lub zaczerwienienie nad obrzękiem? | Do you feel warmth or redness over the swelling? |
Czy obrzęk nasila się po długim staniu lub siedzeniu? | Does the swelling worsen after prolonged standing or sitting? |
Czy zmniejszenie obrzęku następuje po odpoczynku z uniesionymi nogami? | Does the swelling reduce after resting with elevated legs? |
Pytania o historię medyczną pacjenta, które każdy lekarz powinien umieć zadać
Polish | English |
---|
Czy miał(a) Pan/Pani w przeszłości operacje lub urazy kończyn? | Have you had any previous surgeries or trauma to your limbs? |
Czy w rodzinie występuje obrzęk limfatyczny lub inne choroby limfatyczne? | Is there a family history of lymphedema or other lymphatic disorders? |
Czy w rodzinie występowały przypadki chłoniaka lub innych nowotworów układu limfatycznego? | Is there a family history of lymphoma or other cancers of the lymphatic system? |
Czy kiedykolwiek zdiagnozowano u Pana/Pani chłoniaka? | Have you ever been diagnosed with lymphoma? |
Czy przechodził(a) Pan/Pani chemioterapię lub radioterapię? | Have you undergone chemotherapy or radiotherapy? |
Czy obrzęk pojawił się po leczeniu nowotworowym (np. po mastektomii)? | Did the swelling develop after cancer treatment (e.g., post-mastectomy)? |
Czy miał(a) Pan/Pani nawracające infekcje skóry, np. róża? | Have you had recurrent skin infections, such as erysipelas? |
Czy w przeszłości miał(a) Pan/Pani powiększone węzły chłonne? | Have you previously had swollen lymph nodes? |
Czy odczuwał(a) Pan/Pani nawracające infekcje wirusowe lub bakteryjne, np. mononukleozę? | Have you experienced recurrent viral or bacterial infections, such as mononucleosis? |
Czy zdiagnozowano u Pana/Pani chorobę autoimmunologiczną, która może wpływać na układ limfatyczny? | Have you been diagnosed with an autoimmune disease that could affect the lymphatic system? |
Czy przebył(a) Pan/Pani operację usunięcia węzłów chłonnych (np. w trakcie leczenia nowotworowego)? | Have you had lymph nodes removed during surgery (e.g., as part of cancer treatment)? |
Czy kiedykolwiek cierpiał(a) Pan/Pani na obrzęki spowodowane infekcjami lub urazami? | Have you ever experienced swelling caused by infections or injuries? |
Pytania o diagnozę, które pacjenci często zadają
Polish | English |
---|
Co powoduje mój obrzęk limfatyczny? | What is causing my lymphedema? |
Czy powiększenie węzłów chłonnych może być związane z infekcją? | Could the swollen lymph nodes be related to an infection? |
Jakie badania muszę wykonać, aby potwierdzić diagnozę? | What tests do I need to confirm the diagnosis? |
Czy mój obrzęk limfatyczny jest trwały, czy może się poprawić? | Is my lymphedema permanent, or can it improve? |
Jakie są przyczyny nawracających infekcji limfatycznych? | What are the causes of recurrent lymphatic infections? |
Czy istnieje ryzyko, że mój obrzęk będzie się pogarszał z czasem? | Is there a risk that my swelling will worsen over time? |
Czy powiększone węzły chłonne wymagają biopsji, aby wykluczyć nowotwór? | Do swollen lymph nodes require a biopsy to rule out cancer? |
Czy istnieje możliwość, że mam chłoniaka lub inne schorzenia układu limfatycznego? | Is there a chance I have lymphoma or other lymphatic conditions? |
Czy obrzęk limfatyczny może być objawem poważniejszej choroby? | Could lymphedema be a symptom of a more serious condition? |
Jakie jest ryzyko powikłań związanych z moją chorobą limfatyczną? | What are the risks of complications from my lymphatic disease? |
Czy muszę regularnie kontrolować powiększone węzły chłonne? | Do I need regular monitoring of the swollen lymph nodes? |
Jakie objawy powinienem obserwować, aby natychmiast zgłosić się do lekarza? | What symptoms should I watch for to seek immediate medical attention? |
Pytania o leczenie, które pacjenci często zadają
Polish | English |
---|
Jakie są moje opcje leczenia? | What are my treatment options? |
Czy drenaż limfatyczny pomoże zmniejszyć obrzęk? | Will lymphatic drainage help reduce the swelling? |
Jakie są skutki uboczne kompresjoterapii? | What are the side effects of compression therapy? |
Jak często powinienem stosować terapię uciskową? | How often should I use compression therapy? |
Czy muszę przyjmować leki na obrzęk limfatyczny? | Will I need to take medications for lymphedema? |
Czy istnieją leki na poprawę przepływu limfy? | Are there medications to improve lymphatic flow? |
Czy potrzebuję operacji, aby usunąć obrzęk limfatyczny? | Will I need surgery to remove lymphedema? |
Czy mogę prowadzić normalne życie z obrzękiem limfatycznym? | Can I lead a normal life with lymphedema? |
Jakie zmiany w stylu życia mogą pomóc w leczeniu i zapobieganiu pogorszeniu się objawów? | What lifestyle changes can help in my treatment and prevent worsening symptoms? |
Czy leczenie może całkowicie wyeliminować mój obrzęk, czy będę musiał kontrolować go przez całe życie? | Can treatment completely eliminate my swelling, or will I need to manage it for life? |
Jak często będę musiał(a) przychodzić na wizyty kontrolne? | How often will I need follow-up visits? |
Czy mogę samodzielnie wykonywać drenaż limfatyczny w domu? | Can I perform lymphatic drainage at home by myself? |
Czy leczenie operacyjne przyniesie trwałe efekty, czy istnieje ryzyko nawrotu? | Will surgery provide permanent results, or is there a risk of recurrence? |
Jakie są długoterminowe prognozy dla pacjentów z obrzękiem limfatycznym? | What are the long-term outlooks for patients with lymphedema? |