Muhs university exams answers in easy language
cd /home/daytona/workspace/attachments/ee78b2d4-014b-4ef0-8d17-6e92d0b8686b && python3 -c " import pdfplumber with pdfplumber.open('Autacoids pharmac.pdf') as pdf: print(f'Total pages: {len(pdf.pages)}') for i, page in enumerate(pdf.pages[:3]): print(f'\n--- PAGE {i+1} ---') print(page.extract_text()) "
cd /home/daytona/workspace/attachments/ee78b2d4-014b-4ef0-8d17-6e92d0b8686b && python3 -c " from pypdf import PdfReader reader = PdfReader('Autacoids pharmac.pdf') print(f'Pages: {len(reader.pages)}') # Try extracting text from first few pages for i in range(min(3, len(reader.pages))): text = reader.pages[i].extract_text() print(f'Page {i+1}: {repr(text[:200]) if text else \"EMPTY\"}') "
which tesseract && tesseract --version 2>&1 | head -3
cd /home/daytona/workspace/attachments/ee78b2d4-014b-4ef0-8d17-6e92d0b8686b && python3 -c " import fitz # pymupdf doc = fitz.open('Autacoids pharmac.pdf') print(f'Pages: {len(doc)}') # Convert first page to image and check page = doc[0] mat = fitz.Matrix(2, 2) pix = page.get_pixmap(matrix=mat) pix.save('/tmp/page1.png') print('Page 1 saved as image') "
cd /home/daytona/workspace/attachments/ee78b2d4-014b-4ef0-8d17-6e92d0b8686b && python3 -c " from pdf2image import convert_from_path pages = convert_from_path('Autacoids pharmac.pdf', dpi=200, first_page=1, last_page=3) for i, page in enumerate(pages): page.save(f'/tmp/page_{i+1}.png') print(f'Saved page {i+1}') "
cd /home/daytona/workspace/attachments/ee78b2d4-014b-4ef0-8d17-6e92d0b8686b && python3 -c " import pytesseract from PIL import Image all_text = '' for i in range(1, 4): img = Image.open(f'/tmp/page_{i}.png') text = pytesseract.image_to_string(img) print(f'=== PAGE {i} ===') print(text[:2000]) print() "
cd /home/daytona/workspace/attachments/ee78b2d4-014b-4ef0-8d17-6e92d0b8686b && python3 -c " from pdf2image import convert_from_path import pytesseract from PIL import Image pages = convert_from_path('Autacoids pharmac.pdf', dpi=200) print(f'Total pages: {len(pages)}') all_text = '' for i, page in enumerate(pages): text = pytesseract.image_to_string(page) all_text += f'\n\n=== PAGE {i+1} ===\n' + text with open('/tmp/autacoids_full.txt', 'w') as f: f.write(all_text) print('Done. Saved to /tmp/autacoids_full.txt') print(f'Total chars: {len(all_text)}') " 2>&1
| Receptor | Effect |
|---|---|
| Hโ | โ Caยฒโบ โ smooth muscle contraction, โ capillary permeability |
| Hโ | โ cAMP โ โ gastric acid secretion |
| Hโ (presynaptic) | โ cAMP โ โ histamine release in brain, lungs, skin |
| Hโ | โ cAMP โ chemotaxis, cytokine secretion |
| 1st Generation (Old) | 2nd Generation (New) |
|---|---|
| Cause sedation (cross BBB) | No sedation (don't cross BBB) |
| Have anticholinergic effects | No anticholinergic effects |
| Cheap | Relatively expensive |
| Have antiemetic effect | No antiemetic effect |
| Highly Sedative | Moderately Sedative | Mildly Sedative |
|---|---|---|
| Diphenhydramine | Pheniramine | Chlorpheniramine |
| Dimenhydrinate | Cyproheptadine | Dexchlorpheniramine |
| Promethazine | Meclozine | Triprolidine |
| Hydroxyzine | Cinnarizine | Clemastine |
| Receptor | Location/Function | Clinical Use |
|---|---|---|
| 5-HTโ | Presynaptic autoreceptor | Partial agonists (buspirone, gepirone) โ anti-anxiety drugs |
| 5-HTโB/D | Cerebral blood vessels | Agonists (sumatriptan, naratriptan) โ acute migraine |
| 5-HTโ | Most direct actions | Clozapine, Risperidone block this โ atypical antipsychotics |
| 5-HTโ | Ionotropic (all others G-protein) | Ondansetron, Granisetron, Tropisetron โ anti-vomiting (chemo) |
| 5-HTโ | GIT | Cisapride, Mosapride โ GERD, gastroparesis |
| Type | Drugs |
|---|---|
| Partial agonist/antagonist | Ergotamine, LSD, Methysergide, Cyproheptadine |
| 5-HTโ antagonists | Ketanserin, Ritanserin, Clozapine, Risperidone |
| 5-HTโ antagonists | Ondansetron, Granisetron, Tropisetron, Palonosetron, Ramosetron |
| COX-1 | COX-2 | |
|---|---|---|
| Type | Constitutive (always present) | Inducible (made during inflammation) |
| Location | Most tissues โ stomach, kidneys, platelets, blood vessels | Induced by cytokines/endotoxins; also constitutively in brain/kidneys |
| Function | Gastric protection, platelet function, homeostasis | Inflammation, pain, fever |
Membrane phospholipids
โ (Phospholipase Aโ)
Arachidonic acid
โ (COX) โ (Lipoxygenase)
Prostaglandins Leukotrienes
| PG | Main Effect |
|---|---|
| PGIโ (Prostacyclin) | Vasodilation, inhibits platelet aggregation, lowers IOP, kidney/GI protection |
| TXAโ | Vasoconstriction, platelet aggregation |
| PGFโฮฑ | Bronchoconstriction, vasoconstriction |
| PGEโ | Pain, fever, vasodilation, sensitizes pain receptors |
| Action | Simple Explanation |
|---|---|
| Analgesic | Reduce pain by blocking PG production at peripheral site; also raise pain threshold at subcortical level |
| Antipyretic | Reset hypothalamic thermostat, promote heat loss by sweating + skin vasodilation |
| Anti-inflammatory | Reduce pain, swelling, tenderness, vasodilation; do NOT stop disease progression |
| Antiplatelet | Low-dose Aspirin blocks TXAโ โ prevents platelet clumping for 8โ10 days (platelet lifetime) |
"Highly Sedative: Di-Di-Pro (Diphenhydramine, Dimenhydrinate, Promethazine)" "Second Gen: Lo-Ce-Levo-Aze-Fex (Loratadine, Cetirizine, Levocetirizine, Azelastine, Fexofenadine)"
"Ondansetron, Granisetron, Tropisetron, Palonosetron, Ramosetron" โ all end in "-setron"
All end in "-triptan" โ Sumatriptan, Naratriptan, Zolmitriptan