Summarize the file
python3 -c " import pdfplumber pdf_path = '/home/daytona/workspace/attachments/175fed88-a3c8-41b2-98d1-2f066a1a5995/dizziness - UpToDate.pdf' with pdfplumber.open(pdf_path) as pdf: print(f'Total pages: {len(pdf.pages)}') text = '' for page in pdf.pages: t = page.extract_text() if t: text += t + '\n' print(text[:8000]) "
python3 -c " import pdfplumber pdf_path = '/home/daytona/workspace/attachments/175fed88-a3c8-41b2-98d1-2f066a1a5995/dizziness - UpToDate.pdf' with pdfplumber.open(pdf_path) as pdf: text = '' for page in pdf.pages: t = page.extract_text() if t: text += t + '\n' print(text[8000:]) "
| Feature | Peripheral | Central |
|---|---|---|
| Nystagmus direction | Unidirectional, horizontal-torsional | Variable; may be purely vertical or torsional |
| Visual fixation | Suppresses nystagmus | Does not suppress |
| Postural instability | Mild, walking preserved | Severe, patient often falls |
| Hearing loss/tinnitus | May be present | Usually absent |
| Other neuro signs | Absent | Often present (diplopia, dysarthria, ataxia) |
Summarize
python3 -c " import pdfplumber pdf_path = '/home/daytona/workspace/attachments/175fed88-a3c8-41b2-98d1-2f066a1a5995/Evaluation of headache in adults - UpToDate.pdf' with pdfplumber.open(pdf_path) as pdf: print(f'Total pages: {len(pdf.pages)}') text = '' for page in pdf.pages: t = page.extract_text() if t: text += t + '\n' print(text[:10000]) "
python3 -c " import pdfplumber pdf_path = '/home/daytona/workspace/attachments/175fed88-a3c8-41b2-98d1-2f066a1a5995/Evaluation of headache in adults - UpToDate.pdf' with pdfplumber.open(pdf_path) as pdf: text = '' for page in pdf.pages: t = page.extract_text() if t: text += t + '\n' print(text[10000:22000]) "
python3 -c " import pdfplumber pdf_path = '/home/daytona/workspace/attachments/175fed88-a3c8-41b2-98d1-2f066a1a5995/Evaluation of headache in adults - UpToDate.pdf' with pdfplumber.open(pdf_path) as pdf: text = '' for page in pdf.pages: t = page.extract_text() if t: text += t + '\n' print(text[22000:36000]) "
python3 -c " import pdfplumber pdf_path = '/home/daytona/workspace/attachments/175fed88-a3c8-41b2-98d1-2f066a1a5995/Evaluation of headache in adults - UpToDate.pdf' with pdfplumber.open(pdf_path) as pdf: text = '' for page in pdf.pages: t = page.extract_text() if t: text += t + '\n' print(text[36000:50000]) "
python3 -c " import pdfplumber pdf_path = '/home/daytona/workspace/attachments/175fed88-a3c8-41b2-98d1-2f066a1a5995/Evaluation of headache in adults - UpToDate.pdf' with pdfplumber.open(pdf_path) as pdf: text = '' for page in pdf.pages: t = page.extract_text() if t: text += t + '\n' # Get the summary section print(text[50000:60000]) "
| Type | Key Features |
|---|---|
| Migraine | Recurrent attacks, often unilateral, throbbing/pulsatile; associated with nausea, photophobia, phonophobia, osmophobia; worsened by activity |
| Tension-type (TTH) | Mild-to-moderate, bilateral, non-throbbing, featureless; may involve neck and jaw; no nausea or photo/phonophobia |
| Cluster headache | Severe, unilateral; ipsilateral autonomic symptoms (ptosis, lacrimation, rhinorrhea, conjunctival injection); lasts 15-180 min; patient is restless |