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 = {
“Diagnostic Tests and Procedures”: “Testy diagnostyczne i procedury”,
“Diagnosing diseases of the female reproductive system”: “Diagnozowanie chorób żeńskiego układu rozrodczego”,
“clinical evaluations”: “Oceny kliniczne”,
“diagnostic tests”: “Testy diagnostyczne”,
“structural abnormalities”: “Nieprawidłowości strukturalne”,
“hormonal abnormalities”: “Zaburzenia hormonalne”,
“functional abnormalities”: “Zaburzenia funkcjonalne”,
“infections”: “Infekcje”,
“malignancies”: “Nowotwory złośliwe”,
“reproductive health concerns”: “Problemy zdrowotne układu rozrodczego”,
“imaging”: “Obrazowanie”,
“blood tests”: “Badania krwi”,
“biopsy procedures”: “Procedury biopsji”,
“Pelvic Ultrasound”: “USG miednicy”,
“non-invasive imaging technique”: “Nieinwazyjna technika obrazowania”,
“visualize the uterus”: “Obrazowanie macicy”,
“visualize the ovaries”: “Obrazowanie jajników”,
“visualize the fallopian tubes”: “Obrazowanie jajowodów”,
“detect cysts”: “Wykrywanie torbieli”,
“detect fibroids”: “Wykrywanie mięśniaków”,
“transvaginal ultrasound”: “USG przezpochwowe”,
“early pregnancy”: “Wczesna ciąża”,
“ovarian conditions”: “Stany chorobowe jajników”,
“Common Conditions Assessed with Pelvic Ultrasound”: “Typowe stany oceniane za pomocą USG miednicy”,
“Ovarian cysts”: “Torbiele jajników”,
“Uterine fibroids”: “Mięśniaki macicy”,
“Endometriosis”: “Endometrioza”,
“Ectopic pregnancy”: “Ciąża pozamaciczna”,
“Polycystic ovary syndrome (PCOS)”: “Zespół policystycznych jajników (PCOS)”,
“Pap Smear (Pap Test)”: “Cytologia (test Pap)”,
“screening test”: “Test przesiewowy”,
“collecting cells from the cervix”: “Pobieranie komórek z szyjki macicy”,
“precancerous changes”: “Zmiany przedrakowe”,
“cervical cancer”: “Rak szyjki macicy”,
“routine gynecological exams”: “Rutynowe badania ginekologiczne”,
“Common Conditions Assessed with Pap Smear”: “Typowe stany oceniane za pomocą cytologii”,
“Cervical dysplasia”: “Dysplazja szyjki macicy”,
“Human Papillomavirus (HPV)”: “Wirus brodawczaka ludzkiego (HPV)”,
“HPV”: “Wirus brodawczaka ludzkiego”,
“high-risk HPV strains”: “Wysokoonkogenne szczepy HPV”,
“cervical cancer screening”: “Badania przesiewowe raka szyjki macicy”,
“Common Conditions Assessed with HPV Testing”: “Typowe stany oceniane za pomocą testu HPV”,
“Hysteroscopy”: “Histeroskopia”,
“thin lighted scope”: “Cienki oświetlony wziernik”,
“view the inside of the uterus”: “Oglądanie wnętrza macicy”,
“direct visualization of the uterine cavity”: “Bezpośrednia wizualizacja jamy macicy”,
“polyps”: “Polipy”,
“intrauterine adhesions”: “Zrosty wewnątrzmaciczne”,
“Common Conditions Assessed with Hysteroscopy”: “Typowe stany oceniane za pomocą histeroskopii”,
“Uterine polyps”: “Polipy macicy”,
“Uterine adhesions (Asherman’s syndrome)”: “Zrosty maciczne (zespół Ashermana)”,
“Abnormal uterine bleeding”: “Nieprawidłowe krwawienie z macicy”,
“Laparoscopy”: “Laparoskopia”,
“minimally invasive surgical procedure”: “Małoinwazyjna procedura chirurgiczna”,
“camera to examine the pelvic organs”: “Kamera do badania narządów miednicy”,
“small abdominal incisions”: “Małe nacięcia w jamie brzusznej”,
“diagnosing and treating conditions”: “Diagnozowanie i leczenie stanów chorobowych”,
“Pelvic inflammatory disease (PID)”: “Zapalenie narządów miednicy mniejszej (PID)”,
“Common Conditions Assessed with Laparoscopy”: “Typowe stany oceniane za pomocą laparoskopii”,
“Mammography”: “Mammografia”,
“X-ray imaging technique”: “Technika obrazowania rentgenowskiego”,
“screen for breast cancer”: “Badanie przesiewowe w kierunku raka piersi”,
“early detection of breast abnormalities”: “Wczesne wykrywanie nieprawidłowości w piersiach”,
“women over 40”: “Kobiety powyżej 40. roku życia”,
“Common Conditions Assessed with Mammography”: “Typowe stany oceniane za pomocą mammografii”,
“Breast cancer”: “Rak piersi”,
“Fibrocystic breast disease”: “Włóknisto-torbielowata choroba piersi”,
“Breast calcifications”: “Zwapnienia w piersiach”,
“Benign breast tumors”: “Łagodne guzy piersi”,
“Breast Ultrasound”: “USG piersi”,
“complementary imaging test”: “Uzupełniające badanie obrazowe”,
“dense breast tissue”: “Gęsta tkanka piersi”,
“evaluate breast lumps”: “Ocena guzków w piersiach”,
“Common Conditions Assessed with Breast Ultrasound”: “Typowe stany oceniane za pomocą USG piersi”,
“Breast lumps”: “Guzki piersi”,
“Fibroadenomas”: “Gruczolakowłókniaki”,
“Breast cysts”: “Torbiele piersi”,
“Endometrial Biopsy”: “Biopsja endometrium”,
“removing a small sample of tissue”: “Pobranie niewielkiej próbki tkanki”,
“lining of the uterus (endometrium)”: “Błona śluzowa macicy (endometrium)”,
“examine for abnormal cells”: “Badanie w kierunku nieprawidłowych komórek”,
“abnormal uterine bleeding”: “Nieprawidłowe krwawienie z macicy”,
“suspected endometrial cancer”: “Podejrzenie raka endometrium”,
“Common Conditions Assessed with Endometrial Biopsy”: “Typowe stany oceniane za pomocą biopsji endometrium”,
“Endometrial hyperplasia”: “Rozrost endometrium”,
“Uterine infections”: “Infekcje macicy”,
“Hormonal imbalances”: “Zaburzenia hormonalne”,
“Follicle-Stimulating Hormone and Luteinizing Hormone Testing”: “Badanie poziomu FSH i LH”,
“FSH and LH testing”: “Badanie FSH i LH”,
“levels of these hormones”: “Poziomy tych hormonów”,
“regulate ovarian function”: “Regulowanie funkcji jajników”,
“menstrual cycles”: “Cykle menstruacyjne”,
“ovarian reserve”: “Rezerwa jajnikowa”,
“fertility status”: “Stan płodności”,
“Common Conditions Assessed with FSH and LH Testing”: “Typowe stany oceniane za pomocą badania FSH i LH”,
“Menopause”: “Menopauza”,
“Ovarian failure”: “Niewydolność jajników”,
“Genetic Testing”: “Badania genetyczne”,
“assess inherited conditions”: “Ocena dziedzicznych schorzeń”,
“BRCA mutations”: “Mutacje BRCA”,
“blood or tissue samples”: “Próbki krwi lub tkanek”,
“genetic mutations”: “Mutacje genetyczne”,
“Common Conditions Assessed with Genetic Testing”: “Typowe stany oceniane za pomocą badań genetycznych”,
“BRCA1 and BRCA2 mutations”: “Mutacje BRCA1 i BRCA2”,
“Hereditary breast and ovarian cancer syndrome”: “Dziedziczny zespół raka piersi i jajnika”,
“Turner syndrome”: “Zespół Turnera”,
“Fragile X syndrome”: “Zespół łamliwego chromosomu X”,
“Inherited reproductive cancer”: “Dziedziczny rak układu rozrodczego”
};
// 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);
});
});
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:
9 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 */
}
Diagnostics Tests and Procedures
Diagnosing diseases of the female reproductive system involves various clinical evaluations and diagnostic tests to identify structural, hormonal, and functional abnormalities, as well as to detect infections and malignancies. These tests are essential for understanding reproductive health concerns, and doctors may refer patients for imaging, blood tests, or biopsy procedures to ensure a thorough assessment. Common diagnostic tests and procedures include:
Pelvic Ultrasound
Pelvic ultrasound is a non-invasive imaging technique used to visualize the uterus, ovaries, and fallopian tubes. It is commonly employed to detect cysts, fibroids, and other abnormalities within the reproductive organs. Transvaginal ultrasound provides a more detailed view, particularly useful in assessing early pregnancy or identifying ovarian conditions.
Common Conditions Assessed with Pelvic Ultrasound:
- Ovarian cysts
- Uterine fibroids
- Endometriosis
- Ectopic pregnancy
- Polycystic ovary syndrome (PCOS)
Pap Smear (Pap Test)
A Pap smear is a screening test that involves collecting cells from the cervix to check for precancerous changes or cervical cancer. It is a crucial tool in early detection, typically performed during routine gynecological exams.
Common Conditions Assessed with Pap Smear:
- Cervical dysplasia
- Cervical cancer
- Human papillomavirus (HPV) infection
Human Papillomavirus (HPV) Testing
HPV testing detects the presence of high-risk HPV strains associated with cervical cancer. It is often conducted alongside a Pap smear, especially in women over 30, as part of cervical cancer screening.
Common Conditions Assessed with HPV Testing:
- Cervical cancer
- HPV infection
- Cervical dysplasia
Hysteroscopy
Hysteroscopy involves inserting a thin, lighted scope through the cervix to view the inside of the uterus. This procedure allows for direct visualization of the uterine cavity and can be used to diagnose or treat conditions such as polyps, fibroids, or intrauterine adhesions.
Common Conditions Assessed with Hysteroscopy:
- Uterine polyps
- Fibroids
- Uterine adhesions (Asherman’s syndrome)
- Abnormal uterine bleeding
Laparoscopy
Laparoscopy is a minimally invasive surgical procedure that uses a camera to examine the pelvic organs through small abdominal incisions. It is particularly useful for diagnosing and treating conditions such as endometriosis and ovarian cysts.
Common Conditions Assessed with Laparoscopy:
- Endometriosis
- Ovarian cysts
- Ectopic pregnancy
- Pelvic inflammatory disease (PID)
- Uterine fibroids
Mammography
Mammography is an X-ray imaging technique used to screen for breast cancer. Regular mammograms are recommended for early detection of breast abnormalities, especially in women over 40.
Common Conditions Assessed with Mammography:
- Breast cancer
- Fibrocystic breast disease
- Breast calcifications
- Benign breast tumors
Breast Ultrasound
Breast ultrasound is often used as a complementary imaging test to mammography, especially for women with dense breast tissue. It helps to further evaluate breast lumps or other abnormalities detected in mammograms.
Common Conditions Assessed with Breast Ultrasound:
- Breast lumps
- Fibroadenomas
- Breast cysts
- Breast cancer
Endometrial Biopsy
An endometrial biopsy involves removing a small sample of tissue from the lining of the uterus (endometrium) to examine for abnormal cells. It is often recommended for women with abnormal uterine bleeding or suspected endometrial cancer.
Common Conditions Assessed with Endometrial Biopsy:
- Endometrial hyperplasia
- Endometrial cancer
- Uterine infections
- Hormonal imbalances
Follicle-Stimulating Hormone and Luteinizing Hormone Testing
FSH and LH testing measures levels of these hormones, which regulate ovarian function and menstrual cycles. These tests are valuable in evaluating ovarian reserve, menopause, and fertility status.
Common Conditions Assessed with FSH and LH Testing:
- Menopause
- Polycystic ovary syndrome (PCOS)
- Infertility
- Ovarian failure
Genetic Testing
Genetic testing may be performed to assess inherited conditions affecting reproductive health, such as BRCA mutations linked to breast and ovarian cancer. This testing involves analyzing blood or tissue samples for genetic mutations associated with various conditions.
Common Conditions Assessed with Genetic Testing:
- BRCA1 and BRCA2 mutations
- Hereditary breast and ovarian cancer syndrome
- Turner syndrome
- Fragile X syndrome