๐ Flowchart Migration Preview
Generated using FlowchartExtractionAgent (unified vision + enhancement + self-correcting validation)
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
Start["๐ Interim Analysis Mid-study data review Evaluate trial progress"]
Penalty["โ๏ธ Statistical Penalty Alpha-spending method Preserve Type I error"]
Decision{"๐ Stop Study? Assess for efficacy Assess for futility"}
Terminate["๐ Terminate Trial Early study closure Report final findings"]
Continue["๐ Continue Trial Maintain recruitment Follow study protocol"]
Adjust["โ๏ธ Trial Adjustments Sample size estimation Adaptive design changes"]
Start --> Decision
Start --> Penalty
Decision -- Yes --> Terminate
Decision -- No --> Continue
Continue --> Adjust
style Start fill:#E3E5E5, stroke:#5F747D, stroke-width:1px, rx:10, ry:10, color:#435A64
style Penalty fill:#F7C398, stroke:#AE6B35, stroke-width:1px, rx:10, ry:10, color:#9C5D29
style Decision fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style Terminate fill:#FCC4B7, stroke:#D4655F, stroke-width:1px, rx:10, ry:10, color:#A44540
style Continue fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style Adjust fill:#CFBFF7, stroke:#8560C1, stroke-width:1px, rx:10, ry:10, color:#613C9D
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve a916cc2a-45b9-4648-8499-45a0f3e6e926
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
Start["โ๏ธ Hypoxia Low tissue oxygen Primary physiological trigger"]
HIF["๐งฌ HIF-1alpha Stabilization Inducible factor buildup Reduced protein degradation"]
EPO["๐งช Renal EPO Transcription Increased kidney mRNA Erythropoietin production"]
Marrow["๐ฆด Bone Marrow Response Erythropoiesis stimulation RBC precursor proliferation"]
Outcome["โ
Increased Capacity โฌ๏ธ Hematocrit level โฌ๏ธ O2 carrying capacity"]
Start --> HIF
HIF --> EPO
EPO --> Marrow
Marrow --> Outcome
style Start fill:#FCC4B7, stroke:#D4655F, stroke-width:1px, rx:10, ry:10, color:#A44540
style HIF fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style EPO fill:#F7C398, stroke:#AE6B35, stroke-width:1px, rx:10, ry:10, color:#9C5D29
style Marrow fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style Outcome fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve ca7142f6-40c4-4597-bca2-dd8785485bab
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
StartNode["๐ Lanosterol Initial lipid precursor Substrate for demethylase"]
AzoleBlock["๐ซ Azole Inhibition Blocks 14-alpha demethylase Stops fungal growth"]
EndNode["๐ Ergosterol Fungal membrane sterol Target for antifungals"]
StartNode --> AzoleBlock
AzoleBlock -- "X" --> EndNode
style StartNode fill:#F7C398, stroke:#AE6B35, stroke-width:1px, rx:10, ry:10, color:#9C5D29
style AzoleBlock fill:#FCC4B7, stroke:#D4655F, stroke-width:1px, rx:10, ry:10, color:#A44540
style EndNode fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve c678b0fd-dda5-4973-b61b-a4c1bc9ec5e4
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
Start["๐ Thyroid Nodule Initial presentation Perform FNAC procedure"]
Bethesda{"๐ Bethesda Result Classification category Determine management"}
Cat1["โ ๏ธ Category I Non-Diagnostic result Insufficient specimen"]
Cat2["โ
Category II Benign finding Low malignancy risk"]
Cat34["๐ฌ Category III & IV AUS / FLUS / FN / SFN Indeterminate cytology"]
Cat56["๐จ Category V & VI Suspicious / Malignant High malignancy risk"]
Action1["๐ Repeat FNAC Re-evaluate nodule Improve sampling"]
Action2["๐
Follow-up USG Monitor in 12-24 mo Assess size changes"]
Action34["๐งฌ Further Testing Molecular markers Diagnostic lobectomy"]
Action56["๐ช Surgery Thyroidectomy plan Definitive treatment"]
Start --> Bethesda
Bethesda --> Cat1
Bethesda --> Cat2
Bethesda --> Cat34
Bethesda --> Cat56
Cat1 --> Action1
Cat2 --> Action2
Cat34 --> Action34
Cat56 --> Action56
style Start fill:#E3E5E5, stroke:#5F747D, stroke-width:1px, rx:10, ry:10, color:#435A64
style Bethesda fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style Cat1 fill:#F7C398, stroke:#AE6B35, stroke-width:1px, rx:10, ry:10, color:#9C5D29
style Cat2 fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
style Cat34 fill:#CFBFF7, stroke:#8560C1, stroke-width:1px, rx:10, ry:10, color:#613C9D
style Cat56 fill:#FCC4B7, stroke:#D4655F, stroke-width:1px, rx:10, ry:10, color:#A44540
style Action1 fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style Action2 fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style Action34 fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style Action56 fill:#FCC4B7, stroke:#D4655F, stroke-width:1px, rx:10, ry:10, color:#A44540
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve 310e9a9c-42e7-4c88-9acd-e5bda95f9ca3
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
Start["๐ Terbinafine Action Antifungal mechanism overview Inhibits ergosterol synthesis"]
Terb["๐ Terbinafine Drug Allylamine class medication Blocks enzyme function"]
Squalene["๐งช Squalene Initial precursor molecule Accumulates during inhibition"]
Enzyme["๐ซ Squalene Epoxidase Key biosynthetic enzyme Target of drug inhibition"]
Lanosterol["๐งฌ Lanosterol Intermediate sterol product โฌ๏ธ Levels when blocked"]
Ergosterol["โจ Ergosterol Final fungal cell membrane โฌ๏ธ Membrane structural integrity"]
Start --> Terb
Terb -- INHIBITION --- Enzyme
Squalene --> Enzyme
Enzyme --> Lanosterol
Lanosterol --> Ergosterol
style Start fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
style Terb fill:#FCC4B7, stroke:#D4655F, stroke-width:1px, rx:10, ry:10, color:#A44540
style Squalene fill:#F7C398, stroke:#AE6B35, stroke-width:1px, rx:10, ry:10, color:#9C5D29
style Enzyme fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style Lanosterol fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style Ergosterol fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve b916c113-da07-4fb8-88f6-4d438c5118c5
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
DRUG_ACTION["๐ Drug Action Antifungal medications Target cell synthesis"]
TERBINAFINE["๐งช Terbinafine Inhibits epoxidase Prevents conversion"]
AZOLES["๐งช Azoles Inhibits demethylase Blocks ergosterol"]
NYSTATIN["๐งช Nystatin Binds to sterols Creates cell pores"]
SQUALENE["๐งฌ Squalene Initial precursor Membrane building block"]
LANOSTEROL["๐งฌ Lanosterol Intermediate sterol Biosynthesis pathway"]
ERGOSTEROL["๐งฌ Ergosterol Vital component Fungal sterol marker"]
MEMBRANE["๐ก๏ธ Cell Membrane Maintains integrity Final cell structure"]
DRUG_ACTION --> TERBINAFINE
DRUG_ACTION --> AZOLES
DRUG_ACTION --> NYSTATIN
SQUALENE -- "Squalene Epoxidase" --> LANOSTEROL
LANOSTEROL -- "14-alpha-demethylase" --> ERGOSTEROL
ERGOSTEROL -- "Forms" --> MEMBRANE
TERBINAFINE -- "X Inhibits" --- SQUALENE
AZOLES -- "X Inhibits" --- LANOSTEROL
NYSTATIN -- "X Disrupts" --- MEMBRANE
style DRUG_ACTION fill:#E3E5E5,stroke:#5F747D,stroke-width:1px,rx:10,ry:10,color:#435A64
style TERBINAFINE fill:#89D5F7,stroke:#5886E0,stroke-width:1px,rx:10,ry:10,color:#1961b4
style AZOLES fill:#89D5F7,stroke:#5886E0,stroke-width:1px,rx:10,ry:10,color:#1961b4
style NYSTATIN fill:#89D5F7,stroke:#5886E0,stroke-width:1px,rx:10,ry:10,color:#1961b4
style SQUALENE fill:#F7C398,stroke:#AE6B35,stroke-width:1px,rx:10,ry:10,color:#9C5D29
style LANOSTEROL fill:#F7C398,stroke:#AE6B35,stroke-width:1px,rx:10,ry:10,color:#9C5D29
style ERGOSTEROL fill:#F7C398,stroke:#AE6B35,stroke-width:1px,rx:10,ry:10,color:#9C5D29
style MEMBRANE fill:#A5C9C2,stroke:#41645D,stroke-width:1px,rx:10,ry:10,color:#274F47
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve 8ce9c33e-1b94-4d4b-8536-2e088c1071d8
๐ท Original Image
Captions: Diabetic Foot Ulcer Pathophysiology Flowchart
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
START["๐ฉธ Hyperglycemia Sustained glucose levels Excessive oxidation"]
METABOLIC["๐งฌ Metabolic Changes Mitochondrial dysfunction Cellular nerve damage"]
NEURO["๐ง Diabetic Neuropathy Impaired myelin formation Peripheral nerve impact"]
ANGIO["๐ซ Angiopathy Microvascular damage Vessel wall changes"]
ROS["โก Reactive Oxygen Species Rise in free radicals Uncoupled NO levels"]
SENSORY["๐ค Sensory Deficit Impaired proprioception Loss of pain sensation"]
MOTOR["๐ฆฟ Motor Deficit Muscular atrophy Deformed foot shape"]
AUTO["๐ง Autonomic Deficit Damaged sweat glands Epidermal skin fissures"]
MICRO["๐ฌ Microvascular A/V shunt opening Tissue ischemia"]
MACRO["๐ฅฉ Macrovascular Atherosclerosis Cold and pale foot"]
IMMUNE["๐ก๏ธ Immune Dysfunction Neutrophil dysfunction Chronic inflammation"]
HEALING["โณ Delayed Healing Fibroblast dysfunction โฌ๏ธ Angiogenesis"]
ULCER["๐ฆถ Diabetic Foot Ulcer Infection and gangrene Complex wound state"]
START --> METABOLIC
START --> ROS
METABOLIC --> NEURO
METABOLIC --> ANGIO
ROS --> IMMUNE
ROS --> HEALING
NEURO --> SENSORY
NEURO --> MOTOR
NEURO --> AUTO
ANGIO --> MICRO
ANGIO --> MACRO
SENSORY --> ULCER
MOTOR --> ULCER
AUTO --> ULCER
MICRO --> ULCER
MACRO --> ULCER
IMMUNE --> ULCER
HEALING --> ULCER
style START fill:#CFBFF7,stroke:#8560C1,stroke-width:1px,rx:10,ry:10,color:#613C9D
style METABOLIC fill:#A5C9C2,stroke:#41645D,stroke-width:1px,rx:10,ry:10,color:#274F47
style NEURO fill:#FFCBE1,stroke:#E34E79,stroke-width:1px,rx:10,ry:10,color:#B0294B
style ANGIO fill:#FCC4B7,stroke:#D4655F,stroke-width:1px,rx:10,ry:10,color:#A44540
style ROS fill:#E3E5E5,stroke:#5F747D,stroke-width:1px,rx:10,ry:10,color:#435A64
style SENSORY fill:#F7C398,stroke:#AE6B35,stroke-width:1px,rx:10,ry:10,color:#9C5D29
style MOTOR fill:#F7C398,stroke:#AE6B35,stroke-width:1px,rx:10,ry:10,color:#9C5D29
style AUTO fill:#F7C398,stroke:#AE6B35,stroke-width:1px,rx:10,ry:10,color:#9C5D29
style MICRO fill:#FFDAB4,stroke:#BF814A,stroke-width:1px,rx:10,ry:10,color:#5D3A00
style MACRO fill:#FFDAB4,stroke:#BF814A,stroke-width:1px,rx:10,ry:10,color:#5D3A00
style IMMUNE fill:#E3E5E5,stroke:#5F747D,stroke-width:1px,rx:10,ry:10,color:#435A64
style HEALING fill:#E3E5E5,stroke:#5F747D,stroke-width:1px,rx:10,ry:10,color:#435A64
style ULCER fill:#89D5F7,stroke:#5886E0,stroke-width:1px,rx:10,ry:10,color:#1961b4
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve 10cd49e0-0216-47c2-b9a1-4b4131bb7d65
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
Start["๐ง Initial Stimulus โฌ๏ธ Plasma Osmolality โฌ๏ธ Blood Volume"]
Senses["๐ง Hypothalamus Sensor Osmoreceptor activation Senses fluid change"]
Pituitary["๐ฉธ Hormone Release Posterior Pituitary gland Releases ADH hormone"]
Duct["๐ฌ Renal Action ADH acts on kidney Targeting Collecting Duct"]
AQP2["๐งฌ AQP2 Insertion โฌ๏ธ Aquaporin-2 channels Apical membrane insertion"]
Reabsorb["๐ Water Recovery โฌ๏ธ Water Reabsorption Passive water movement"]
Outcome["โ
Final Outcome Concentrated urine output โฌ๏ธ Plasma Osmolality"]
Start --> Senses
Senses --> Pituitary
Pituitary --> Duct
Duct --> AQP2
AQP2 --> Reabsorb
Reabsorb --> Outcome
style Start fill:#FCC4B7, stroke:#D4655F, stroke-width:1px, rx:10, ry:10, color:#A44540
style Senses fill:#F7C398, stroke:#AE6B35, stroke-width:1px, rx:10, ry:10, color:#9C5D29
style Pituitary fill:#CFBFF7, stroke:#8560C1, stroke-width:1px, rx:10, ry:10, color:#613C9D
style Duct fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style AQP2 fill:#FFCBE1, stroke:#E34E79, stroke-width:1px, rx:10, ry:10, color:#B0294B
style Reabsorb fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style Outcome fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve 5e5f082c-01d5-4975-9dd2-7889be3e0313
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
Start["๐ Pyruvate End of glycolysis 3-carbon substrate"]
PDC["โ๏ธ Acetyl-CoA Active acetate form Mitochondrial entry"]
Krebs["๐ Krebs Cycle TCA central hub Citric Acid Cycle"]
NADH["๐ 3 NADH Electron carrier High energy yield"]
FADH2["โก 1 FADH2 Electron carrier Lower energy yield"]
GTP["๐ 1 GTP Energy currency ATP equivalent"]
CO2["โ๏ธ 2 CO2 Carbon byproduct Released via exhalation"]
Start -->|PDC enzyme| PDC
PDC --> Krebs
Krebs --> NADH
Krebs --> FADH2
Krebs --> GTP
Krebs --> CO2
style Start fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
style PDC fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style Krebs fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style NADH fill:#CFBFF7, stroke:#8560C1, stroke-width:1px, rx:10, ry:10, color:#613C9D
style FADH2 fill:#F7C398, stroke:#AE6B35, stroke-width:1px, rx:10, ry:10, color:#9C5D29
style GTP fill:#FFCBE1, stroke:#E34E79, stroke-width:1px, rx:10, ry:10, color:#B0294B
style CO2 fill:#E3E5E5, stroke:#5F747D, stroke-width:1px, rx:10, ry:10, color:#435A64
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve 7ae9ec4b-84d7-4c69-9b94-4e2806ab8620
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
Plan["๐ Plan Content Define objectives and audience Craft central core message"]
Create["๐จ Create Material Maintain high credibility Focus on visual engagement"]
Share["๐ค Share Content Select optimal platforms Use timing and hashtags"]
Engage["๐ฌ Engage Audience Open dialogue and Q&A Encourage user content"]
Monitor["๐ Monitor Results Track analytics and feedback Assess audience sentiment"]
Adapt["๐ Adapt Strategy Refine based on data Improve overall ROI"]
Plan --> Create
Create --> Share
Share --> Engage
Engage --> Monitor
Monitor --> Adapt
style Plan fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
style Create fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style Share fill:#F7C398, stroke:#AE6B35, stroke-width:1px, rx:10, ry:10, color:#9C5D29
style Engage fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style Monitor fill:#CFBFF7, stroke:#8560C1, stroke-width:1px, rx:10, ry:10, color:#613C9D
style Adapt fill:#FFCBE1, stroke:#E34E79, stroke-width:1px, rx:10, ry:10, color:#B0294B
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve da49eb4a-7553-4fea-a5bb-9f26d39dc958
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
Start["โ ๏ธ ADR Occurs Adverse drug reaction Patient side effect"]
Detect["๐ Detection Identify clinical symptoms Recognize drug link"]
Report["๐ Reporting (PvPI) Pharmacovigilance Program Submit official form"]
Assess["โ๏ธ Assessment Analyze causality link Evaluate risk level"]
Understand["๐ก Understanding Identify risk factors Clarify mechanism"]
Prevent["๐ก๏ธ Prevention Avoid future events Improve patient safety"]
Start --> Detect
Detect --> Report
Report --> Assess
Assess --> Understand
Understand --> Prevent
style Start fill:#FCC4B7, stroke:#D4655F, stroke-width:1px, rx:10, ry:10, color:#A44540
style Detect fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style Report fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style Assess fill:#F7C398, stroke:#AE6B35, stroke-width:1px, rx:10, ry:10, color:#9C5D29
style Understand fill:#CFBFF7, stroke:#8560C1, stroke-width:1px, rx:10, ry:10, color:#613C9D
style Prevent fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve 27ce86ab-8d6f-4653-af34-0dc46e293e24
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
Start["๐ Drug Administration Initial drug entry Systemic circulation"]
Appr["๐ Cellular Approach Reaches cell surface Passive diffusion path"]
Interact["๐งฌ P-gp Interaction Binds at membrane Active transport site"]
Efflux["๐ค ATP-Driven Efflux Energy used: ATP Drug pumped outward"]
Concen["๐ Intracellular Levels โฌ๏ธ Drug concentration Reduced availability"]
Outcome["โ๏ธ Clinical Impact โฌ๏ธ Absorption and distribution โฌ๏ธ Drug elimination"]
Start --> Appr
Appr --> Interact
Interact -- ATP --> Efflux
Efflux --> Concen
Concen --> Outcome
style Start fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
style Appr fill:#E3E5E5, stroke:#5F747D, stroke-width:1px, rx:10, ry:10, color:#435A64
style Interact fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style Efflux fill:#FCC4B7, stroke:#D4655F, stroke-width:1px, rx:10, ry:10, color:#A44540
style Concen fill:#F7C398, stroke:#AE6B35, stroke-width:1px, rx:10, ry:10, color:#9C5D29
style Outcome fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve bc58fea6-7c38-40ff-9568-405cdba3eca4
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
Start["๐จ Chest Pain Suspected ACS presentation Assess clinical symptoms"]
ECG["๐ 12-Lead ECG Perform within 10 minutes Identify cardiac rhythm"]
Decision["โ ST-Elevation? Check for โฌ๏ธ ST-segments Assess new LBBB"]
STEMI["๐ STEMI Immediate reperfusion needed Activate Cath Lab"]
NSTEMI["๐ NSTEMI / UA Stable vs unstable angina Check cardiac Troponins"]
Start --> ECG
ECG --> Decision
Decision -- "Yes" --> STEMI
Decision -- "No" --> NSTEMI
style Start fill:#E3E5E5,stroke:#5F747D,stroke-width:1px,rx:10,ry:10,color:#435A64
style ECG fill:#F7C398,stroke:#AE6B35,stroke-width:1px,rx:10,ry:10,color:#9C5D29
style Decision fill:#FFDAB4,stroke:#BF814A,stroke-width:1px,rx:10,ry:10,color:#5D3A00
style STEMI fill:#FCC4B7,stroke:#D4655F,stroke-width:1px,rx:10,ry:10,color:#A44540
style NSTEMI fill:#CFBFF7,stroke:#8560C1,stroke-width:1px,rx:10,ry:10,color:#613C9D
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve c48488b7-2f4c-4382-967a-6a9feccbafd9
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
Start["๐ฉบ ECG Analysis Check PR interval Look for P waves"]
PRCheck{"โฒ๏ธ PR > 0.20s? Measure interval Check for delay"}
Normal["โ
Normal Normal sinus rhythm Stable conduction"]
QRSCheck{"๐ Dropped QRS? Missing beats P without QRS"}
FirstDegree["1๏ธโฃ 1st Degree Block Constant prolonged PR Every P has QRS"]
ProgCheck{"๐ Progressive PR? PR getting longer Compare intervals"}
Mobitz1["2๏ธโฃ Mobitz I Wenckebach pattern Long-longer-dropped"]
Mobitz2["3๏ธโฃ Mobitz II Constant PR interval Unexpected drop"]
ThirdDegree["๐ซ 3rd Degree AV Dissociation No P-QRS relation"]
Start --> PRCheck
PRCheck -- No --> Normal
PRCheck -- Yes --> QRSCheck
QRSCheck -- No --> FirstDegree
QRSCheck -- Yes --> ProgCheck
ProgCheck -- Yes --> Mobitz1
ProgCheck -- No --> Mobitz2
Mobitz2 --> ThirdDegree
style Start fill:#E3E5E5, stroke:#5F747D, stroke-width:1px, rx:10, ry:10, color:#435A64
style PRCheck fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style Normal fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
style QRSCheck fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style FirstDegree fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style ProgCheck fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style Mobitz1 fill:#CFBFF7, stroke:#8560C1, stroke-width:1px, rx:10, ry:10, color:#613C9D
style Mobitz2 fill:#FCC4B7, stroke:#D4655F, stroke-width:1px, rx:10, ry:10, color:#A44540
style ThirdDegree fill:#FFCBE1, stroke:#E34E79, stroke-width:1px, rx:10, ry:10, color:#B0294B
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve 8c669efb-d53b-4f40-a7e7-0bb03cc52773
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
Start["๐ค High-Risk Patient Identify immune status Determine prophylaxis needs"]
Defect{"โ Immune Defect? Assess primary condition Check specific lab values"}
Neutro["๐ฉธ Neutropenia AML or MDS patients Risk of fungal infection"]
Yeast["๐ Yeast Coverage Standard prophylaxis Use Fluconazole"]
Mold["๐ก๏ธ Yeast and Mold Broad spectrum needed Use Posaconazole"]
HSCT["๐งฌ Allogeneic HSCT Post-transplant phase High mold risk"]
Posac["๐ Posaconazole Primary mold agent Standard HSCT protocol"]
HIV["๐๏ธ HIV/AIDS Monitor CD4 counts Assess endemic risks"]
PJP["๐ซ PJP Prophylaxis CD4 count < 200 Use TMP-SMX"]
Flucon["๐
Fluconazole CD4 count < 100 Prevent Esophageal Candidiasis"]
Itrac["๐ Itraconazole Endemic and CD4 < 150 Prevent Histoplasmosis"]
SOT["๐ซ Solid Organ Transplant Varies by organ type Assess surgical risk"]
SOTMed["๐งช Targeted Therapy Fluconazole or Echinocandin Risk-based selection"]
Start --> Defect
Defect --- Neutro
Defect --- HSCT
Defect --- HIV
Defect --- SOT
Neutro --> Yeast
Neutro --> Mold
HSCT --> Posac
HIV -- "CD4 < 200" --> PJP
HIV -- "CD4 < 100" --> Flucon
HIV -- "CD4 < 150" --> Itrac
SOT --> SOTMed
style Start fill:#E3E5E5, stroke:#5F747D, stroke-width:1px, rx:10, ry:10, color:#435A64
style Defect fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style Neutro fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style Yeast fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
style Mold fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
style HSCT fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style Posac fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
style HIV fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style PJP fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
style Flucon fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
style Itrac fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
style SOT fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style SOTMed fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve 266a7e11-a1ac-4aa6-89e3-7d7ddfdf7b35
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
Azoles["๐ AZOLES Inhibit ergosterol synthesis Lanosterol 14-alpha-demethylase"]
AzMut["๐งฌ TARGET MUTATION ERG11 gene mutations Altered binding affinity"]
AzEf["โก EFFLUX PUMPS โฌ๏ธ CDR and MDR pumps Expulsion of drug from cell"]
Echino["๐ ECHINOCANDINS Inhibit beta-1,3-D-glucan Blocks cell wall synthesis"]
EchMut["๐งฌ TARGET MUTATION FKS1 gene mutations Reduced drug sensitivity"]
Polyene["๐ POLYENES Binds to cell membrane Creates pores/ion leakage"]
PolMut["๐งฌ TARGET MUTATION ERG3 gene mutations โฌ๏ธ Ergosterol content"]
Flucy["๐ FLUCYTOSINE Inhibits DNA/RNA synthesis Pyrimidine analog antimetabolite"]
FluRed["๐ REDUCED ACTIVITY โฌ๏ธ Cellular uptake โฌ๏ธ Metabolism (deaminase)"]
Azoles --> AzMut
Azoles --> AzEf
Echino --> EchMut
Polyene --> PolMut
Flucy --> FluRed
style Azoles fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
style Echino fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
style Polyene fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
style Flucy fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
style AzMut fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style AzEf fill:#FCC4B7, stroke:#D4655F, stroke-width:1px, rx:10, ry:10, color:#A44540
style EchMut fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style PolMut fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style FluRed fill:#F7C398, stroke:#AE6B35, stroke-width:1px, rx:10, ry:10, color:#9C5D29
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve 610bf1ed-f8e9-4460-8ac3-34f2fd52ade2
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
Start["๐ Suspected Candidemia Identify clinical symptoms Obtain blood cultures"]
HemoDecide{"โ๏ธ Hemodynamic Stability? Assess vitals Evaluate severity"}
Unstable["โ ๏ธ Echinocandins For unstable patients Or critically ill"]
Stable["๐ Oral / IV Therapy Fluconazole or Echinocandin therapy"]
IsolateDecide{"๐งช Azole Susceptibility? Review microbiology Check sensitivities"}
StepDown["โ
Step-down Therapy Switch to Fluconazole Oral transition option"]
Continue["๐ก๏ธ Continue Therapy Maintain Echinocandins For resistant strains"]
Duration["๐๏ธ 14-Day Course Complete treatment Time post-clearance"]
Start --> HemoDecide
HemoDecide -- Unstable / Critically Ill --> Unstable
HemoDecide -- Stable --> Stable
Unstable --> IsolateDecide
Stable --> IsolateDecide
IsolateDecide -- Yes --> StepDown
IsolateDecide -- No --> Continue
StepDown --> Duration
Continue --> Duration
style Start fill:#E3E5E5, stroke:#5F747D, stroke-width:1px, rx:10, ry:10, color:#435A64
style HemoDecide fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style Unstable fill:#FCC4B7, stroke:#D4655F, stroke-width:1px, rx:10, ry:10, color:#A44540
style Stable fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style IsolateDecide fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style StepDown fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
style Continue fill:#CFBFF7, stroke:#8560C1, stroke-width:1px, rx:10, ry:10, color:#613C9D
style Duration fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve e89a64d9-d8c3-46d4-9fe3-c9368a9fc4e5
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
Start["๐ฆ Suspected Infection Clinical signs present Initial assessment done"]
Query["โ Cultures Drawn? Check recent orders Confirm sample timing"]
NoCultures["๐จ GET CULTURES FIRST! Collect before antibiotics Avoid result masking"]
BroadSpec["๐ Empiric Therapy Start broad spectrum Cover likely pathogens"]
Results["๐งช C&S Available Review microbiology Check sensitivities"]
NarrowSpec["โ
Definitive Therapy De-escalate treatment Narrow the spectrum"]
Start --> Query
Query -- "NO" --> NoCultures
Query -- "YES" --> BroadSpec
BroadSpec --> Results
Results --> NarrowSpec
style Start fill:#E3E5E5, stroke:#5F747D, stroke-width:1px, rx:10, ry:10, color:#435A64
style Query fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style NoCultures fill:#FCC4B7, stroke:#D4655F, stroke-width:1px, rx:10, ry:10, color:#A44540
style BroadSpec fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style Results fill:#F7C398, stroke:#AE6B35, stroke-width:1px, rx:10, ry:10, color:#9C5D29
style NarrowSpec fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve 1210128b-6aad-4b34-a4b2-51ceb1eeeccb
๐ท Original Image
Captions: Flowchart for building a pricing model using telematics data
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
StartNode["๐ Start Process Begin data workflow Initialize telematic analysis"]
SelectVar["๐ Select Variable Choose telematic data Deceleration or acceleration"]
Preprocess["๐งน Preprocess Data Handle missing values Normalize dataset parameters"]
ApplyNSPCA1["๐งฌ Apply NSPCA 1 Process Variable 1 Analyze deceleration data"]
Decision1["โ Var. Exp. > Thresh? Check variance explained Compare vs threshold"]
SelectPC1["๐ Select PCs 1 Select components Reduce Var 1 dimensions"]
ApplyNSPCA2["๐งฌ Apply NSPCA 2 Process Variable 2 Right turn speed analysis"]
Decision2["โ Var. Exp. > Thresh? Check variance explained Final threshold check"]
SelectPC2["๐ Select PCs 2 Select components Reduce Var 2 dimensions"]
FeatureSet["๐๏ธ Form Feature Set Combine n reduced variables Create input feature set"]
BuildModel["๐ Build Pricing Model Regression or GLM model Structure predictive tool"]
RiskMetrics["๐ Output Risk Metrics Calculate claim frequency Export final risk data"]
StopNode["๐ Stop Process Analysis complete Results generated"]
StartNode --> SelectVar
SelectVar --> Preprocess
Preprocess --> ApplyNSPCA1
ApplyNSPCA1 --> Decision1
Decision1 -- "Yes" --> ApplyNSPCA2
Decision1 -- "No" --> SelectPC1
SelectPC1 --> ApplyNSPCA2
ApplyNSPCA2 --> Decision2
Decision2 -- "Yes" --> FeatureSet
Decision2 -- "No" --> SelectPC2
SelectPC2 --> FeatureSet
FeatureSet --> BuildModel
BuildModel --> RiskMetrics
RiskMetrics --> StopNode
style StartNode fill:#FCC4B7, stroke:#D4655F, stroke-width:1px, rx:10, ry:10, color:#A44540
style SelectVar fill:#F7C398, stroke:#AE6B35, stroke-width:1px, rx:10, ry:10, color:#9C5D29
style Preprocess fill:#F7C398, stroke:#AE6B35, stroke-width:1px, rx:10, ry:10, color:#9C5D29
style ApplyNSPCA1 fill:#F7C398, stroke:#AE6B35, stroke-width:1px, rx:10, ry:10, color:#9C5D29
style Decision1 fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style SelectPC1 fill:#F7C398, stroke:#AE6B35, stroke-width:1px, rx:10, ry:10, color:#9C5D29
style ApplyNSPCA2 fill:#F7C398, stroke:#AE6B35, stroke-width:1px, rx:10, ry:10, color:#9C5D29
style Decision2 fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style SelectPC2 fill:#F7C398, stroke:#AE6B35, stroke-width:1px, rx:10, ry:10, color:#9C5D29
style FeatureSet fill:#F7C398, stroke:#AE6B35, stroke-width:1px, rx:10, ry:10, color:#9C5D29
style BuildModel fill:#F7C398, stroke:#AE6B35, stroke-width:1px, rx:10, ry:10, color:#9C5D29
style RiskMetrics fill:#F7C398, stroke:#AE6B35, stroke-width:1px, rx:10, ry:10, color:#9C5D29
style StopNode fill:#FCC4B7, stroke:#D4655F, stroke-width:1px, rx:10, ry:10, color:#A44540
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve 833afee2-3064-4115-8396-4a5193c4c929
๐ท Original Image
Captions: Antibiotic Therapy Process Flowchart
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
Start["๐ Antibiotic Process Analyze clinical data Review patient data"]
Decision{"โ๏ธ Therapy Type Single therapy? Combined therapy?"}
SortSingle["๐ Sort Efficiency Rank agents โฌ๏ธ efficay Identify best drug"]
SelectSingle["โ
Select Single Choose top agent Finalize prescription"]
OutcomeSingle["๐ Single Therapy Administer capsule Monitor response"]
Criteria["๐ฏ Define Criteria Coverage and activity Toxicity and protection"]
Constraints["๐งฌ Define Constraints Min dose increments Limit drug overlap"]
Create["โ๏ธ Create Combos Generate pairings Assess synergy"]
SortCombos["๐ก๏ธ Rank Combos Patient โฌ๏ธโฌ๏ธ status Match clinical need"]
CheckSuitable{"โ Suitable? Meets all criteria? Patient tolerant?"}
SelectCombo["๐ค Select Combo Finalize drug pair Coordinate dosing"]
OutcomeCombo["๐๐ Dual Therapy Administer agents Clinical follow-up"]
Start --> Decision
Decision -- Single --> SortSingle
SortSingle --> SelectSingle
SelectSingle --> OutcomeSingle
Decision -- Combined --> Criteria
Criteria --> Constraints
Constraints --> Create
Create --> SortCombos
SortCombos --> CheckSuitable
CheckSuitable -- No --> Criteria
CheckSuitable -- Yes --> SelectCombo
SelectCombo --> OutcomeCombo
style Start fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
style Decision fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style SortSingle fill:#F7C398, stroke:#AE6B35, stroke-width:1px, rx:10, ry:10, color:#9C5D29
style SelectSingle fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style OutcomeSingle fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
style Criteria fill:#FFCBE1, stroke:#E34E79, stroke-width:1px, rx:10, ry:10, color:#B0294B
style Constraints fill:#CFBFF7, stroke:#8560C1, stroke-width:1px, rx:10, ry:10, color:#613C9D
style Create fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style SortCombos fill:#F7C398, stroke:#AE6B35, stroke-width:1px, rx:10, ry:10, color:#9C5D29
style CheckSuitable fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style SelectCombo fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style OutcomeCombo fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve 2afa6b36-b02c-4216-9f69-d719a6d38bcf
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
subgraph HumanHost ["๐ค HUMAN HOST"]
direction TB
Start["๐ Sporozoites Injected Inoculated via bite Travel to the liver"]
Liver["๐ Liver Stage Exo-erythrocytic cycle Schizont development"]
Hypno["๐ค Hypnozoites Dormant liver forms P. vivax and P. ovale"]
Fever["๐ก๏ธ Fever Spikes Erythrocytic cycle RBC lysis events"]
Gametocytes["๐งฌ Gametocytes Sexual stage forms Ready for ingestion"]
end
subgraph MosquitoHost ["๐ฆ MOSQUITO HOST"]
direction TB
Ingestion["๐ฝ๏ธ Gametocyte Ingestion Mosquito blood meal Enters insect midgut"]
SexualRepro["๐ Sexual Reproduction Formation of zygote Oocyst maturation"]
Salivary["๐ Salivary Glands Sporozoites migrate Infectious for next host"]
end
%% Connections
Start --> Liver
Liver --> Fever
Liver -- "P. vivax/ovale" --> Hypno
Fever -- "Cycles" --> Fever
Fever --> Gametocytes
Gametocytes --> Ingestion
Ingestion --> SexualRepro
SexualRepro --> Salivary
Salivary --> Start
%% Styling
style Start fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
style Liver fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style Hypno fill:#CFBFF7, stroke:#8560C1, stroke-width:1px, rx:10, ry:10, color:#613C9D
style Fever fill:#FCC4B7, stroke:#D4655F, stroke-width:1px, rx:10, ry:10, color:#A44540
style Gametocytes fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style Ingestion fill:#F7C398, stroke:#AE6B35, stroke-width:1px, rx:10, ry:10, color:#9C5D29
style SexualRepro fill:#FFCBE1, stroke:#E34E79, stroke-width:1px, rx:10, ry:10, color:#B0294B
style Salivary fill:#E3E5E5, stroke:#5F747D, stroke-width:1px, rx:10, ry:10, color:#435A64
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve 1383b712-3945-42d3-889c-72c8acc8061e
๐ท Original Image
Captions: Antimicrobial Stewardship: Prescription Approval Flowchart
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
StartWards["๐ฅ General Wards Standard patient care units Lower acuity floor patients"]
StartICU["โ๏ธ Intensive Care Units High acuity critical care Urgent clinical monitoring"]
Path1["๐ Path 1: Pre-Prescription ID Specialist pre-approval Authorization prior to drug"]
Path2["๐ Path 2: Post-Prescription Review and feedback audit Empirical or urgent status"]
Drug1["๐ป Computer Entry * Enter antibiotic order Electronic system logging"]
IDContact["๐ ID Specialty Contact Telephone approval process Direct specialist consult"]
Pharmacy1["๐ Pharmacy Release Clinical pharmacist review Medication dispensing"]
Drug2["๐ป Computer Entry # Initial urgent prescription Electronic system logging"]
Pharmacy2["๐ Pharmacy Release Clinical pharmacist review Immediate drug dispensing"]
Audit["๐งช Post-Review Audit By ID specialist team Evaluate therapy duration"]
StartWards --> Path1
StartICU --> Path1
StartICU --> Path2
Path1 --> Drug1
Drug1 --> IDContact
IDContact --> Pharmacy1
Path2 --> Drug2
Drug2 --> Pharmacy2
Pharmacy2 --> Audit
Audit -- "If necessary" --> Path1
style StartWards fill:#E3E5E5, stroke:#5F747D, stroke-width:1px, rx:10, ry:10, color:#435A64
style StartICU fill:#E3E5E5, stroke:#5F747D, stroke-width:1px, rx:10, ry:10, color:#435A64
style Path1 fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style Path2 fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style Drug1 fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style IDContact fill:#CFBFF7, stroke:#8560C1, stroke-width:1px, rx:10, ry:10, color:#613C9D
style Pharmacy1 fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
style Drug2 fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style Pharmacy2 fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
style Audit fill:#F7C398, stroke:#AE6B35, stroke-width:1px, rx:10, ry:10, color:#9C5D29
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve abf283f7-07f9-480c-8b0b-8607cfb1073a
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
START["๐ Drug Concentration Monitor levels over time Optimize clinical dosing"]
CMAX["๐ Cmax Maximum peak concentration Dose-dependent killing"]
AUC["๐ AUC Area under the curve Total drug exposure"]
TMIC["โณ Time > MIC Percentage of dosing interval Duration of efficacy"]
MIC(("๐ฌ MIC Minimum Inhibitory Concentration"))
START --> CMAX
START --> AUC
START --> TMIC
CMAX -- Peak Level --> MIC
AUC -- Total Exposure --> MIC
TMIC -- Duration Above --> MIC
style START fill:#E3E5E5, stroke:#5F747D, stroke-width:1px, rx:10, ry:10, color:#435A64
style CMAX fill:#FCC4B7, stroke:#D4655F, stroke-width:1px, rx:10, ry:10, color:#A44540
style AUC fill:#F7C398, stroke:#AE6B35, stroke-width:1px, rx:10, ry:10, color:#9C5D29
style TMIC fill:#CFBFF7, stroke:#8560C1, stroke-width:1px, rx:10, ry:10, color:#613C9D
style MIC fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve 53dba1ec-5322-4210-858a-dccae4f9905a
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
Start["๐ Empiric Therapy Broad-spectrum started Initial infection control"]
Decision{"๐งซ Culture Results Sensitivity available? Check lab data"}
Deescalate["๐ฏ De-escalate Narrowest effective agent Reduce resistance risk"]
Reevaluate["๐ Re-evaluate Review at 48-72 hours Confirm initial diagnosis"]
Complete["โ
Complete Course Optimized treatment plan Ensure clinical cure"]
Start --> Decision
Decision -- "Yes" --> Deescalate
Decision -- "No" --> Reevaluate
Deescalate --> Complete
Reevaluate --> Complete
style Start fill:#E3E5E5,stroke:#5F747D,stroke-width:1px,rx:10,ry:10,color:#435A64
style Decision fill:#FFDAB4,stroke:#BF814A,stroke-width:1px,rx:10,ry:10,color:#5D3A00
style Deescalate fill:#89D5F7,stroke:#5886E0,stroke-width:1px,rx:10,ry:10,color:#1961b4
style Reevaluate fill:#CFBFF7,stroke:#8560C1,stroke-width:1px,rx:10,ry:10,color:#613C9D
style Complete fill:#A5C9C2,stroke:#41645D,stroke-width:1px,rx:10,ry:10,color:#274F47
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve ad40ec26-c37b-46ec-8844-156b78eb67b6
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
Start["๐ Patient Assessment Check renal history Screen for impairment"]
Calc["๐งฎ Calculate CrCl Use Cockcroft-Gault Check serum creatinine"]
Decision1{"๐ฌ Evaluate CrCl Is CrCl > 50-60? mL per min threshold"}
Standard["โ
Standard Dosing Apply normal regimen No adjustment needed"]
Adjust["โ๏ธ Adjust Therapy Modify dose amount Change dose interval"]
Monitor["๐ Clinical Monitoring Check drug levels Track renal function"]
Start --> Calc
Calc --> Decision1
Decision1 -- Yes --> Standard
Decision1 -- No --> Adjust
Adjust --> Monitor
style Start fill:#E3E5E5, stroke:#5F747D, stroke-width:1px, rx:10, ry:10, color:#435A64
style Calc fill:#F7C398, stroke:#AE6B35, stroke-width:1px, rx:10, ry:10, color:#9C5D29
style Decision1 fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style Standard fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
style Adjust fill:#FCC4B7, stroke:#D4655F, stroke-width:1px, rx:10, ry:10, color:#A44540
style Monitor fill:#CFBFF7, stroke:#8560C1, stroke-width:1px, rx:10, ry:10, color:#613C9D
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve cb1704bb-b287-43db-a811-41ee5335058d
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
HF["โค๏ธ Heart Failure Structural heart disease Functional impairment"]
DT["โ๏ธ Dysfunction Type Mechanism of failure Classification of pumping"]
AS["๐ Affected Side Anatomical involvement Congestive symptoms"]
SYS["๐ฆ Systolic Reduced pump power โฌ๏ธ Ejection Fraction"]
DIA["๐จ Diastolic Impaired filling Stiff ventricles"]
LHF["๐ซ Left HF Pulmonary congestion Dyspnea and crackles"]
RHF["๐ง Right HF Systemic congestion JVD and edema"]
HF --> DT
HF --> AS
DT --> SYS
DT --> DIA
AS --> LHF
AS --> RHF
style HF fill:#FCC4B7,stroke:#D4655F,stroke-width:1px,rx:10,ry:10,color:#A44540
style DT fill:#89D5F7,stroke:#5886E0,stroke-width:1px,rx:10,ry:10,color:#1961b4
style AS fill:#89D5F7,stroke:#5886E0,stroke-width:1px,rx:10,ry:10,color:#1961b4
style SYS fill:#A5C9C2,stroke:#41645D,stroke-width:1px,rx:10,ry:10,color:#274F47
style DIA fill:#FFDAB4,stroke:#BF814A,stroke-width:1px,rx:10,ry:10,color:#5D3A00
style LHF fill:#CFBFF7,stroke:#8560C1,stroke-width:1px,rx:10,ry:10,color:#613C9D
style RHF fill:#F7C398,stroke:#AE6B35,stroke-width:1px,rx:10,ry:10,color:#9C5D29
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve b75bc925-e021-4265-bab9-a6aff1857a34
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
Start["๐งช Test Strategy Interpretation of results Improving diagnostic accuracy"]
Sub1["โฌ๏ธ High Sensitivity Test SnNout principle used Good for initial screening"]
Sub2["โฌ๏ธ High Specificity Test SpPin principle used Good for confirmatory testing"]
Neg["โ Negative Result Test shows no disease Highly reliable if sensitive"]
Pos["โ Positive Result Test indicates disease Highly reliable if specific"]
RuleOut["โ
Rule Out - SNOUT SeNsitivity Negative Rules OUT the disease"]
RuleIn["๐ฉ Rule In - SPIN SPecificity Positive Rules IN the disease"]
Start --> Sub1
Start --> Sub2
Sub1 --> Neg
Sub2 --> Pos
Neg --> RuleOut
Pos --> RuleIn
style Start fill:#E3E5E5, stroke:#5F747D, stroke-width:1px, rx:10, ry:10, color:#435A64
style Sub1 fill:#F7C398, stroke:#AE6B35, stroke-width:1px, rx:10, ry:10, color:#9C5D29
style Sub2 fill:#F7C398, stroke:#AE6B35, stroke-width:1px, rx:10, ry:10, color:#9C5D29
style Neg fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style Pos fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style RuleOut fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
style RuleIn fill:#FCC4B7, stroke:#D4655F, stroke-width:1px, rx:10, ry:10, color:#A44540
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve b9b099aa-f208-4611-8fbc-7244e16accdd
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
Start["๐ CL Diagnosis Confirmed Cutaneous Leishmaniasis Clinical and lab proof"]
Assess["โ๏ธ Assess Severity/Species Evaluate lesion count Identify species type"]
Simple["๐ก๏ธ Local Therapy Options OWCL Simple or few lesions Minor clinical involvement"]
Complex["๐ Systemic Therapy NWCL or Complex OWCL Multiple or resistant lesions"]
Local1["๐ Intralesional SSG Direct lesion injection Sodium stibogluconate"]
Local2["โ๏ธ Cryo/Thermotherapy Physical destruction Heat or cold cycles"]
Local3["๐งด Topical Paromomycin Aminoglycoside cream Non-invasive application"]
Local4["๐ Observation Self-healing case OWCL likely to resolve"]
Sys1["โฃ๏ธ Pentavalent Antimonials IV or IM delivery SSG 20 mg/kg/d for 20-28d"]
Sys2["๐งช Amphotericin B Intravenous route For resistant or severe cases"]
Sys3["๐ Miltefosine Oral administration 2.5 mg/kg/d for 28 days"]
Sys4["๐ Pentamidine Alternate therapy Systemic antiprotozoal"]
Start --> Assess
Assess -- OWCL Simple/Few --> Simple
Assess -- NWCL or Complex/Resistant --> Complex
Simple --> Local1
Simple --> Local2
Simple --> Local3
Simple --> Local4
Complex --> Sys1
Complex --> Sys2
Complex --> Sys3
Complex --> Sys4
style Start fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
style Assess fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style Simple fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style Complex fill:#FCC4B7, stroke:#D4655F, stroke-width:1px, rx:10, ry:10, color:#A44540
style Local1 fill:#E3E5E5, stroke:#5F747D, stroke-width:1px, rx:10, ry:10, color:#435A64
style Local2 fill:#E3E5E5, stroke:#5F747D, stroke-width:1px, rx:10, ry:10, color:#435A64
style Local3 fill:#E3E5E5, stroke:#5F747D, stroke-width:1px, rx:10, ry:10, color:#435A64
style Local4 fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
style Sys1 fill:#F7C398, stroke:#AE6B35, stroke-width:1px, rx:10, ry:10, color:#9C5D29
style Sys2 fill:#F7C398, stroke:#AE6B35, stroke-width:1px, rx:10, ry:10, color:#9C5D29
style Sys3 fill:#F7C398, stroke:#AE6B35, stroke-width:1px, rx:10, ry:10, color:#9C5D29
style Sys4 fill:#F7C398, stroke:#AE6B35, stroke-width:1px, rx:10, ry:10, color:#9C5D29
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve d97fb90e-974c-41b5-b3df-0585581b97a0
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
Start["๐ Suspected Infection Identify clinical signs Assess patient risk"]
Empiric["๐ Empiric Therapy Start broad spectrum Cover likely pathogens"]
Cultures["๐งซ Obtain Cultures Collect blood samples Tissue and fluid tests"]
Review["๐ Review Data Check results 48-72h Assess clinical response"]
Deescalate["๐ De-escalate or Stop Narrow the spectrum Discontinue if negative"]
Duration["โฑ๏ธ Shortest Duration Limit therapy days Target effective course"]
Start --> Empiric
Empiric --> Cultures
Cultures --> Review
Review --> Deescalate
Deescalate --> Duration
style Start fill:#E3E5E5, stroke:#5F747D, stroke-width:1px, rx:10, ry:10, color:#435A64
style Empiric fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style Cultures fill:#F7C398, stroke:#AE6B35, stroke-width:1px, rx:10, ry:10, color:#9C5D29
style Review fill:#CFBFF7, stroke:#8560C1, stroke-width:1px, rx:10, ry:10, color:#613C9D
style Deescalate fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style Duration fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve 1d754b89-5ae7-4272-b7d5-a5b7e26601b3
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
Start["๐ค Patient History Reported Penicillin Allergy Verify official history"]
Assess{"๐ Assess Reaction Determine reaction type Evaluate IgE mediation"}
Severe["๐จ Severe Reaction Anaphylaxis or Urticaria High risk IgE response"]
Mild["โ ๏ธ Mild Reaction Isolated non-IgE rash Low risk for shock"]
Avoid["๐ซ Strict Avoidance Avoid PCN and Cephalosporins Use Aztreonam or non-bl"]
Cautions["๐ Cautious Use Can use Cephalosporins Consider Carbapenems"]
Start --> Assess
Assess -- "Anaphylaxis/Urticaria" --> Severe
Assess -- "Mild Rash (Non-IgE)" --> Mild
Severe --> Avoid
Mild --> Cautions
style Start fill:#E3E5E5, stroke:#5F747D, stroke-width:1px, rx:10, ry:10, color:#435A64
style Assess fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style Severe fill:#FCC4B7, stroke:#D4655F, stroke-width:1px, rx:10, ry:10, color:#A44540
style Mild fill:#F7C398, stroke:#AE6B35, stroke-width:1px, rx:10, ry:10, color:#9C5D29
style Avoid fill:#FCC4B7, stroke:#D4655F, stroke-width:1px, rx:10, ry:10, color:#A44540
style Cautions fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve 2f76661e-e88a-4146-bfa0-c562a5371859
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
Title["๐งซ Bacterial Resistance Key mechanisms and strategies used by resistant pathogens"]
Enz["๐งช Enzymatic Degradation Beta-lactamases hydrolyze rings Inactivates antibiotic molecules"]
Target["๐ฏ Target Modification Alteration of drug targets mecA modifying PBPs in MRSA"]
Efflux["๐ค Active Efflux Pumps Pumps actively expel drugs Effective against tetracyclines"]
Permeable["๐ก๏ธ Low Permeability Loss of porin channels Prevents entry of carbapenems"]
Title --> Enz
Title --> Target
Title --> Efflux
Title --> Permeable
style Title fill:#E3E5E5, stroke:#5F747D, stroke-width:1px, rx:10, ry:10, color:#435A64
style Enz fill:#FCC4B7, stroke:#D4655F, stroke-width:1px, rx:10, ry:10, color:#A44540
style Target fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style Efflux fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style Permeable fill:#CFBFF7, stroke:#8560C1, stroke-width:1px, rx:10, ry:10, color:#613C9D
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve c99c6c14-9e5e-435e-817b-6cf661af7300
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
Start["๐ Nicotinic Antagonists Acetylcholine receptor blockers Competitive and non-competitive"]
Ganglion["๐ง Ganglionic Blockers Autonomous nervous system Hexamethonium and Mecamylamine"]
NMB["๐ช Neuromuscular Blockers Skeletal muscle relaxation Used in surgical anesthesia"]
NonDepol["โน๏ธ Non-Depolarizing Competitive ACh inhibition Reversible via AChE inhibitors"]
Depol["โก Depolarizing Persistent depolarization Initial fasciculations occur"]
Curium["๐งช -curonium / -curium Rocuronium and Vecuronium Pancuronium and Atracurium"]
Succi["๐ Succinylcholine Rapid onset of action Short duration of effect"]
Start --> Ganglion
Start --> NMB
NMB --> NonDepol
NMB --> Depol
NonDepol --> Curium
Depol --> Succi
style Start fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
style Ganglion fill:#E3E5E5, stroke:#5F747D, stroke-width:1px, rx:10, ry:10, color:#435A64
style NMB fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style NonDepol fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style Depol fill:#FCC4B7, stroke:#D4655F, stroke-width:1px, rx:10, ry:10, color:#A44540
style Curium fill:#F7C398, stroke:#AE6B35, stroke-width:1px, rx:10, ry:10, color:#9C5D29
style Succi fill:#FFCBE1, stroke:#E34E79, stroke-width:1px, rx:10, ry:10, color:#B0294B
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve 03888d54-9c7c-4844-9892-c675db561af3
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
Start["๐ Initial Treatment Empiric broad spectrum Intravenous IV meds"]
DecideImprove{"๐ Improving? Patient is stable Symptoms resolve"}
DecideGI{"๐ด GI Tract? Gut is functioning Oral intake ok"}
DecideCulture{"๐ฌ Labs Ready? Culture results back Sensitivity known"}
SwitchPO["๐ Switch to PO Oral antibiotic meds Equivalent dosage"]
Deescalate["๐ฏ De-escalate Narrow spectrum meds Targeted therapy"]
Final["โ
Optimized Care Cost-effective plan Therapy success"]
Start --> DecideImprove
Start --> DecideCulture
DecideImprove -- Yes --> DecideGI
DecideGI -- Yes --> SwitchPO
DecideCulture -- Yes --> Deescalate
SwitchPO --> Final
Deescalate --> Final
style Start fill:#E3E5E5, stroke:#5F747D, stroke-width:1px, rx:10, ry:10, color:#435A64
style DecideImprove fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style DecideGI fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style DecideCulture fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style SwitchPO fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style Deescalate fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style Final fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve 96c2f097-17e5-40c8-a0bc-75f13bba1ea2
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
Start["๐ Atropine Overdose Toxic dose ingestion Muscarinic antagonist"]
Antidote["๐งช Physostigmine Acetylcholinesterase inhibitor Crosses blood-brain barrier"]
Blockade["โ ๏ธ Muscarinic Blockade Widespread receptor inhibition Anticholinergic syndrome"]
CNS["๐ง CNS Effects Delirium and agitation Visual hallucinations"]
Peripheral["๐ Peripheral Effects Tachycardia and fever Mydriasis and dry skin"]
Start --> Blockade
Antidote -- Reverses --> Blockade
Blockade --> CNS
Blockade --> Peripheral
style Start fill:#FCC4B7, stroke:#D4655F, stroke-width:1px, rx:10, ry:10, color:#A44540
style Antidote fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
style Blockade fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style CNS fill:#CFBFF7, stroke:#8560C1, stroke-width:1px, rx:10, ry:10, color:#613C9D
style Peripheral fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve 7b67740c-de81-40c6-9304-124ead09e34d
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
CHOL["๐งช Choline Essential precursor Extracellular source"]
ACOA["โก Acetyl-CoA Mitochondrial source Metabolic substrate"]
SYNT["๐๏ธ Synthesis ChAT mediated process ACh formation"]
ACH1["๐ข ACh Neurotransmitter pool Cytoplasmic stage"]
VESI["๐ฆ Vesicle VAT storage transporter Protected compartment"]
RELE["๐ Release Ca2+ influx triggered Exocytosis to cleft"]
ACH2["๐ข ACh Active transmitter Synaptic cleft signal"]
DEGR["โป๏ธ Degradation AChE activity Choline and Acetate"]
CHOL --> SYNT
ACOA --> SYNT
SYNT --> ACH1
ACH1 --> VESI
VESI --> RELE
RELE --> ACH2
ACH2 --> DEGR
DEGR -- "Reuptake" --> CHOL
style CHOL fill:#F7C398,stroke:#AE6B35,stroke-width:1px,rx:10,ry:10,color:#9C5D29
style ACOA fill:#F7C398,stroke:#AE6B35,stroke-width:1px,rx:10,ry:10,color:#9C5D29
style SYNT fill:#89D5F7,stroke:#5886E0,stroke-width:1px,rx:10,ry:10,color:#1961b4
style ACH1 fill:#A5C9C2,stroke:#41645D,stroke-width:1px,rx:10,ry:10,color:#274F47
style VESI fill:#FFDAB4,stroke:#BF814A,stroke-width:1px,rx:10,ry:10,color:#5D3A00
style RELE fill:#FCC4B7,stroke:#D4655F,stroke-width:1px,rx:10,ry:10,color:#A44540
style ACH2 fill:#A5C9C2,stroke:#41645D,stroke-width:1px,rx:10,ry:10,color:#274F47
style DEGR fill:#E3E5E5,stroke:#5F747D,stroke-width:1px,rx:10,ry:10,color:#435A64
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve 6219f04e-957c-4b70-8633-4642dc6f3e77
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
START["๐ Neuromuscular Blockers Muscle relaxant agents Anesthesia adjuncts"]
NON_DEP["๐ซ Non-Depolarizing Competitive antagonist ACh receptor block"]
DEP["โก Depolarizing ACh receptor agonist Persistent activation"]
CURON["๐ -curoniums Steroid structure Roc/Vecuronium"]
CURIUM["๐ -curiums Isoquinoline type Atra/Mivacurium"]
SUX["๐งช Succinylcholine Short-acting agent Rapid sequence use"]
TOF_FADE["๐ TOF: Fade Progressive โฌ๏ธ twitch Non-depol profile"]
PHASE_1["โน๏ธ Phase I Block Constant diminished No fade present"]
PHASE_2["๐ Phase II Block Fade seen later Desensitization"]
%% Connections
START --> NON_DEP
START --> DEP
NON_DEP --> CURON
NON_DEP --> CURIUM
NON_DEP --> TOF_FADE
DEP --> SUX
DEP --> PHASE_1
DEP --> PHASE_2
%% Styling
style START fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
style NON_DEP fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style DEP fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style CURON fill:#E3E5E5, stroke:#5F747D, stroke-width:1px, rx:10, ry:10, color:#435A64
style CURIUM fill:#E3E5E5, stroke:#5F747D, stroke-width:1px, rx:10, ry:10, color:#435A64
style SUX fill:#FCC4B7, stroke:#D4655F, stroke-width:1px, rx:10, ry:10, color:#A44540
style TOF_FADE fill:#F7C398, stroke:#AE6B35, stroke-width:1px, rx:10, ry:10, color:#9C5D29
style PHASE_1 fill:#CFBFF7, stroke:#8560C1, stroke-width:1px, rx:10, ry:10, color:#613C9D
style PHASE_2 fill:#FFCBE1, stroke:#E34E79, stroke-width:1px, rx:10, ry:10, color:#B0294B
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve 295cb483-fd0f-4a4a-ae9a-4e0423db6e85
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
Start["โ ๏ธ OP Exposure Organophosphate entry Toxic pesticide contact"]
AChE["โ๏ธ AChE Inhibition Acetylcholinesterase blocked Enzyme function stops"]
HighACh["โฌ๏ธโฌ๏ธ Acetylcholine Excess neurotransmitter Synaptic accumulation"]
Overload["โก Receptor Overload Muscarinic activation Nicotinic stimulation"]
DUMBBELSS["๐คฎ Muscarinic Effects DUMBBELSS mnemonic Secretions and bradycardia"]
Nicotinic["๐ช Nicotinic Effects Muscle fasciculations Eventual paralysis"]
Rx["๐ Treatment Emergency stabilization Antidote administration"]
Atropine["๐ Atropine Muscarinic antagonist Reverses secretions"]
Pralidoxime["๐ Pralidoxime AChE regenerator Targets nicotinic signs"]
Start --> AChE --> HighACh --> Overload
Overload -- Muscarinic --> DUMBBELSS
Overload -- Nicotinic --> Nicotinic
Rx --> Atropine
Rx --> Pralidoxime
style Start fill:#FCC4B7, stroke:#D4655F, stroke-width:1px, rx:10, ry:10, color:#A44540
style AChE fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style HighACh fill:#F7C398, stroke:#AE6B35, stroke-width:1px, rx:10, ry:10, color:#9C5D29
style Overload fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style DUMBBELSS fill:#CFBFF7, stroke:#8560C1, stroke-width:1px, rx:10, ry:10, color:#613C9D
style Nicotinic fill:#CFBFF7, stroke:#8560C1, stroke-width:1px, rx:10, ry:10, color:#613C9D
style Rx fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
style Atropine fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style Pralidoxime fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve 796392d8-1be1-47e6-b517-a7b561b2766d
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
StartNode["๐ง Filtrate Entry Enters Descending Limb Flows toward medulla"]
DescLimb["๐ Descending Limb Passive H2O reabsorption Concentrates the filtrate"]
AscLimb["๐ง Ascending Limb Active NaCl reabsorption Dilutes the filtrate"]
Medulla["๐ Interstitium โฌ๏ธ Medullary Osmolality High salt concentration"]
StartNode --> DescLimb
DescLimb --> AscLimb
AscLimb -- "pumps ions into" --> Medulla
Medulla -- "draws water from" --> DescLimb
style StartNode fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
style DescLimb fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style AscLimb fill:#F7C398, stroke:#AE6B35, stroke-width:1px, rx:10, ry:10, color:#9C5D29
style Medulla fill:#FCC4B7, stroke:#D4655F, stroke-width:1px, rx:10, ry:10, color:#A44540
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve c55434f0-b1fb-45f1-80df-9a60ba2fe53f
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
Start["Kidney Nephron Basic functional unit Filters blood plasma"]
Loop["๐ Loop of Henle Creates osmotic gradient Countercurrent multiplier"]
Vasa["๐ฉธ Vasa Recta Maintains the gradient Countercurrent exchanger"]
Urine["๐ง Urine Concentration Enables final dilution Water reabsorption occurs"]
Start --> Loop
Loop --> Vasa
Vasa --> Urine
style Start fill:#E3E5E5, stroke:#5F747D, stroke-width:1px, rx:10, ry:10, color:#435A64
style Loop fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style Vasa fill:#CFBFF7, stroke:#8560C1, stroke-width:1px, rx:10, ry:10, color:#613C9D
style Urine fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve 751f09f4-341a-48b1-ad6e-4512b0b9789f
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
flowchart TD
subgraph TALCell["TAL Cell & Interstitium"]
direction TB
Lumen["๐ง Lumen Fluid Source of tubular ions Enters through NKCC2"]
ATPase["โก Na+/K+ ATPase Basolateral active pump Maintains Na+ gradient"]
Ionic["๐ Cellular Entry Na+, K+, and 2Cl- Transported into cell"]
Medullary["โฌ๏ธ Medullary Solutes Interstitial concentration โฌ๏ธ Basolateral transport"]
Potential["โ Lumen Potential Lumen-positive charge K+ backleak movement"]
end
Cations["๐ Cation Absorption Paracellular Ca2+, Mg2+ Driven by charge gradient"]
Lumen -->|NKCC2| Ionic
ATPase -->|Maintains Na+ Gradient| Ionic
Ionic -->|Basolateral Transporters| Medullary
Ionic -->|K+ Leak Channel| Potential
Potential -->|Drives| Cations
%% Node Styling
style TALCell fill:#f9f9f9,stroke:#5F747D,stroke-width:2px,color:#435A64
style Lumen fill:#E3E5E5,stroke:#5F747D,stroke-width:1px,rx:10,ry:10,color:#435A64
style ATPase fill:#F7C398,stroke:#AE6B35,stroke-width:1px,rx:10,ry:10,color:#9C5D29
style Ionic fill:#89D5F7,stroke:#5886E0,stroke-width:1px,rx:10,ry:10,color:#1961b4
style Medullary fill:#FCC4B7,stroke:#D4655F,stroke-width:1px,rx:10,ry:10,color:#A44540
style Potential fill:#CFBFF7,stroke:#8560C1,stroke-width:1px,rx:10,ry:10,color:#613C9D
style Cations fill:#A5C9C2,stroke:#41645D,stroke-width:1px,rx:10,ry:10,color:#274F47
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve dcc11a43-a74b-4dec-815c-120ce4994cdf
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
Start["๐ง ADH Dysregulation Impaired water balance Pituitary or renal cause"]
SIADH["๐ง SIADH โฌ๏ธ ADH hormone levels Excessive hormone release"]
DI["๐๏ธ Diabetes Insipidus โฌ๏ธ ADH or response Inadequate hormone action"]
SIADH_Effect["๐ Hyponatremia โฌ๏ธ H2O reabsorption Dilutional sodium drop"]
DI_Effect["๐ Hypernatremia โฌ๏ธ H2O reabsorption Concentrated sodium rise"]
Start --> SIADH
Start --> DI
SIADH --> SIADH_Effect
DI --> DI_Effect
style Start fill:#E3E5E5,stroke:#5F747D,stroke-width:1px,rx:10,ry:10,color:#435A64
style SIADH fill:#FFCBE1,stroke:#E34E79,stroke-width:1px,rx:10,ry:10,color:#B0294B
style DI fill:#FFDAB4,stroke:#BF814A,stroke-width:1px,rx:10,ry:10,color:#5D3A00
style SIADH_Effect fill:#FCC4B7,stroke:#D4655F,stroke-width:1px,rx:10,ry:10,color:#A44540
style DI_Effect fill:#89D5F7,stroke:#5886E0,stroke-width:1px,rx:10,ry:10,color:#1961b4
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve a9965e17-88e7-4a4e-9885-393f25fe8719
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
Start["๐ฅ Population Cohort without disease Initial study assembly"]
Step1{"๐ Exposure Status Identify risk factors Categorize participants"}
Exposed["โ ๏ธ Exposed Group Presence of factor Follow over time"]
Unexposed["โ
Unexposed Group Absence of factor Follow over time"]
Outcome["๐ Outcome? Incidence of disease Measure relative risk"]
Start --> Step1
Step1 -- Exposed --> Exposed
Step1 -- Unexposed --> Unexposed
Exposed --> Outcome
Unexposed --> Outcome
style Start fill:#E3E5E5, stroke:#5F747D, stroke-width:1px, rx:10, ry:10, color:#435A64
style Step1 fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style Exposed fill:#FCC4B7, stroke:#D4655F, stroke-width:1px, rx:10, ry:10, color:#A44540
style Unexposed fill:#CFBFF7, stroke:#8560C1, stroke-width:1px, rx:10, ry:10, color:#613C9D
style Outcome fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve 25feb3b3-6563-474c-a929-44ffbaea1a82
๐ท Original Image
Captions: Flowchart to identify cohort studies
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
Start["๐ Investigator Choice Determines exposure assignment Controlled vs natural"]
Exp["๐งช Experimental Design Randomized trials included Active intervention used"]
Obs["๐ Observational Design Exposure is not assigned Natural exposure observed"]
Follow["โณ Follow-up Check Participants followed over time Temporal sequence assessed"]
Other["๐ Alternative Studies Cross-sectional or Case-control Ecological study designs"]
Cohort["๐ Cohort Study Primary longitudinal design Tracking group outcomes"]
Pros["โฉ Prospective Cohort Followed into the future Real-time data collection"]
Retros["โช Retrospective Cohort Looking back at records Exposure happened in past"]
Mixed["๐ Mixed Cohort Combined past and future Hybrid data collection"]
Start -- Yes --> Exp
Start -- No --> Obs
Obs --> Follow
Follow -- No --> Other
Follow -- Yes --> Cohort
Cohort -.-> Pros
Cohort -.-> Retros
Cohort -.-> Mixed
style Start fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style Exp fill:#E3E5E5, stroke:#5F747D, stroke-width:1px, rx:10, ry:10, color:#435A64
style Obs fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style Follow fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style Other fill:#E3E5E5, stroke:#5F747D, stroke-width:1px, rx:10, ry:10, color:#435A64
style Cohort fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style Pros fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
style Retros fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
style Mixed fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve c2cd627a-c657-44db-b355-354293e99434
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
Start["๐ง Hypothalamic Dysfunction Impaired GnRH secretion Low FSH and LH levels"]
Ovaries["๐ฅ Secondary Ovarian Failure โฌ๏ธ Estrogen production Amenorrhea and infertility"]
Thyroid["๐ฆ Secondary Thyroid Failure Low TSH production โฌ๏ธ Metabolic rate"]
Adrenal["โก Secondary Adrenal Failure Low ACTH production โฌ๏ธ Serum cortisol"]
Finish["๐ฅ Panhypopituitarism Global hormone deficiency End-stage endocrine failure"]
Start --> Ovaries
Ovaries --> Thyroid
Thyroid --> Adrenal
Adrenal --> Finish
style Start fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
style Ovaries fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style Thyroid fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style Adrenal fill:#FCC4B7, stroke:#D4655F, stroke-width:1px, rx:10, ry:10, color:#A44540
style Finish fill:#CFBFF7, stroke:#8560C1, stroke-width:1px, rx:10, ry:10, color:#613C9D
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve 5c95c583-3c7f-4531-be73-2ec5bc8d9e80
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
flowchart TD
Start["๐ Hypocalcemia โฌ๏ธ Low Serum Ca2+ Initial trigger state"]
PTH["โฌ๏ธ PTH Release Parathyroid response Hormone levels rise"]
subgraph Kidney["Kidney Effects"]
ReabsorpCa["โฌ๏ธ Ca2+ Reabsorption Distal convoluted tubule Conserve serum calcium"]
ReabsorpPO["โฌ๏ธ PO4 3- Reabsorption Proximal tubule site Increases PO4 excretion"]
Calcitriol["โฌ๏ธ Calcitriol Vitamin D activation 1-alpha-hydroxylase activity"]
end
Start --> PTH
PTH --> Kidney
style Start fill:#FCC4B7, stroke:#D4655F, stroke-width:1px, rx:10, ry:10, color:#A44540
style PTH fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style Kidney fill:#E3E5E5, stroke:#5F747D, stroke-width:1px, rx:10, ry:10, color:#435A64
style ReabsorpCa fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
style ReabsorpPO fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style Calcitriol fill:#CFBFF7, stroke:#8560C1, stroke-width:1px, rx:10, ry:10, color:#613C9D
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve ee4defff-376c-4d45-b244-01b5297ded82
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
subgraph KeyRegs ["Key Regulators "]
direction TB
HighK["๐ฉธ High Plasma K+ Elevated serum potassium Primary trigger factor"]
Aldo["๐งช โฌ๏ธ Aldosterone Adrenal cortex release Hormonal signal sent"]
end
subgraph PCell ["Principal Cell Response "]
direction TB
Baso["๐งซ โฌ๏ธ Na+/K+ Pump Basolateral upregulation K+ entry from blood"]
Apical["๐งช โฌ๏ธ Ion Channels Apical ENaC activity Open K+ channels"]
end
Secret["๐ง โฌ๏ธ K+ Secretion Increased urinary loss Restores homeostasis"]
%% Connections
HighK --> Aldo
HighK --> Baso
Aldo --> Baso
Aldo --> Apical
Baso --> Secret
Apical --> Secret
%% Styling
style HighK fill:#F7C398, stroke:#AE6B35, stroke-width:1px, rx:10, ry:10, color:#9C5D29
style Aldo fill:#CFBFF7, stroke:#8560C1, stroke-width:1px, rx:10, ry:10, color:#613C9D
style Baso fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style Apical fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style Secret fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
style KeyRegs fill:#f9f9f9, stroke:#5F747D, stroke-dasharray: 5 5
style PCell fill:#f9f9f9, stroke:#5F747D, stroke-dasharray: 5 5
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve 6f2a1393-f1c1-45e2-a659-ef7fbaf7aa98
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
subgraph Triggers ["โก JGA TRIGGERS "]
direction TB
T1["โฌ๏ธ Renal Perfusion Low blood pressure Reduced renal flow"]
T2["โฌ๏ธ NaCl Delivery Macula densa sense Low distal salt"]
T3["โฌ๏ธ Sympathetic Tone Beta 1 activation Stress response"]
end
JGA["๐ข JGA Cells Juxtaglomerular apparatus Sensory integration"]
ReninRel{"๐ Renin Release Enzyme secretion Proteolytic action"}
AngioGen["๐งช Angiotensinogen Produced by liver Circulating substrate"]
AngioI["๐ Angiotensin I Decapeptide product Mild vasoconstrictor"]
AngioII["๐ฅ Angiotensin II Potent vasoconstrictor Main RAAS effector"]
T1 & T2 & T3 --> JGA
JGA --> ReninRel
ReninRel --> AngioGen
AngioGen -- "Renin enzyme" --> AngioI
AngioI -- "ACE (in lungs)" --> AngioII
style Triggers fill:#E3E5E5,stroke:#5F747D,stroke-width:1px,rx:10,ry:10,color:#435A64
style T1 fill:#FCC4B7,stroke:#D4655F,stroke-width:1px,rx:10,ry:10,color:#A44540
style T2 fill:#FCC4B7,stroke:#D4655F,stroke-width:1px,rx:10,ry:10,color:#A44540
style T3 fill:#FCC4B7,stroke:#D4655F,stroke-width:1px,rx:10,ry:10,color:#A44540
style JGA fill:#89D5F7,stroke:#5886E0,stroke-width:1px,rx:10,ry:10,color:#1961b4
style ReninRel fill:#FFDAB4,stroke:#BF814A,stroke-width:1px,rx:10,ry:10,color:#5D3A00
style AngioGen fill:#F7C398,stroke:#AE6B35,stroke-width:1px,rx:10,ry:10,color:#9C5D29
style AngioI fill:#CFBFF7,stroke:#8560C1,stroke-width:1px,rx:10,ry:10,color:#613C9D
style AngioII fill:#A5C9C2,stroke:#41645D,stroke-width:1px,rx:10,ry:10,color:#274F47
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve ba637f21-4752-4d3a-95a6-ed8cfc9f2e4d
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
PT["๐งช Proximal Tubule 15-25% reabsorption Initial Mg2+ transport"]
TAL["โก Thick Ascending Limb 60-70% reabsorption Major transport site"]
DT["๐ง Distal Tubule 5-10% reabsorption Final fine tuning"]
PT --> TAL
TAL --> DT
style PT fill:#E3E5E5, stroke:#5F747D, stroke-width:1px, rx:10, ry:10, color:#435A64
style TAL fill:#FFCBE1, stroke:#E34E79, stroke-width:1px, rx:10, ry:10, color:#B0294B
style DT fill:#E3E5E5, stroke:#5F747D, stroke-width:1px, rx:10, ry:10, color:#435A64
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve ef937b5b-3d10-472d-b069-7fbf5dcdb7c5
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
Start["๐ฑ Fresh Stage Initial autolysis process Timeline: 0-24 hours"]
Bloat["๐ Bloat Stage Putrefaction gas buildup Timeline: 24-72 hours"]
Active["๐ฌ Active Decay Colliquative liquefaction Timeline: 1-3 weeks"]
Advanced["๐ง Advanced Decay Butyric fermentation Timeline: 3 weeks-2 months"]
Dry["๐ฆด Dry Remains Complete skeletalization Timeline: > 2 months"]
Start --> Bloat
Bloat --> Active
Active --> Advanced
Advanced --> Dry
style Start fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
style Bloat fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style Active fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style Advanced fill:#CFBFF7, stroke:#8560C1, stroke-width:1px, rx:10, ry:10, color:#613C9D
style Dry fill:#E3E5E5, stroke:#5F747D, stroke-width:1px, rx:10, ry:10, color:#435A64
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve a761f7d0-48d9-480d-aab0-ba8155a5e7ae
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
Start["๐ฉบ Cutaneous Symptoms Assess skin manifestations Determine clinical severity"]
Decide{"โ๏ธ Treatment Strategy Select path based on patient clinical phenotype"}
Mild["๐งด Lifestyle & Topical Xerosis and pruritus care Emollients and antihistamines"]
Moderate["๐ฏ Targeted Therapy Annular erythema and purpura Topical steroids or HCQ"]
Severe["๐ Systemic Modulation Severe or refractory disease Systemic steroids and biologics"]
Start --> Decide
Decide -- Xerosis or Pruritus --> Mild
Decide -- Mild-Mod Vasculitis --> Moderate
Decide -- Severe or Refractory --> Severe
style Start fill:#E3E5E5, stroke:#5F747D, stroke-width:1px, rx:10, ry:10, color:#435A64
style Decide fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style Mild fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
style Moderate fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style Severe fill:#FCC4B7, stroke:#D4655F, stroke-width:1px, rx:10, ry:10, color:#A44540
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve d20ee097-ca60-44ac-bf9d-41851dc8d2ff
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
RP["๐ Renal Perfusion โฌ๏ธ Blood flow detected Occurs in Kidney"]
RR["โ๏ธ Renin Release Secreted by JG cells Enzymatic trigger"]
ATN["๐ฅฉ Angiotensinogen Plasma protein alpha 2 Produced by Liver"]
AT1["๐งช Angiotensin I Inactive decapeptide Primary precursor"]
ACE["๐ซ ACE Enzyme Converting enzyme Found in Lungs"]
AT2["๐ฅ Angiotensin II Potent vasoconstrictor Main RAAS effector"]
VC["โก Vasoconstriction โฌ๏ธ Peripheral resistance โฌ๏ธ Blood pressure"]
AR["๐ง Aldosterone Adrenal cortex release โฌ๏ธ Na+ and H2O"]
RP --> RR
RR --> AT1
ATN --> AT1
AT1 -- ACE Enzyme --> AT2
AT2 --> VC
AT2 --> AR
style RP fill:#FCC4B7, stroke:#D4655F, stroke-width:1px, rx:10, ry:10, color:#A44540
style RR fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style ATN fill:#F7C398, stroke:#AE6B35, stroke-width:1px, rx:10, ry:10, color:#9C5D29
style AT1 fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style ACE fill:#E3E5E5, stroke:#5F747D, stroke-width:1px, rx:10, ry:10, color:#435A64
style AT2 fill:#FFCBE1, stroke:#E34E79, stroke-width:1px, rx:10, ry:10, color:#B0294B
style VC fill:#CFBFF7, stroke:#8560C1, stroke-width:1px, rx:10, ry:10, color:#613C9D
style AR fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve 19f8748c-0e13-408f-aa7f-b4463cb352af
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
RPP["โฌ๏ธ Renal Perfusion Low perfusion pressure Detected by baroreceptors"]
NaCl["โฌ๏ธ NaCl Levels Low NaCl at macula densa Sensed in distal tubule"]
Symp["๐ง Sympathetic Input Activation via beta1 receptors Stress or baroreceptor reflex"]
JG["๐งฌ Juxtaglomerular Cells Primary site of synthesis Integration of triggers"]
Renin["โฌ๏ธ Renin Secretion Renin released into blood Starts RAAS cascade"]
RPP --> JG
NaCl --> JG
Symp --> JG
JG --> Renin
style RPP fill:#F7C398, stroke:#AE6B35, stroke-width:1px, rx:10, ry:10, color:#9C5D29
style NaCl fill:#F7C398, stroke:#AE6B35, stroke-width:1px, rx:10, ry:10, color:#9C5D29
style Symp fill:#F7C398, stroke:#AE6B35, stroke-width:1px, rx:10, ry:10, color:#9C5D29
style JG fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style Renin fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve 8ebbbfeb-2ab6-495f-8829-69b4363efafb
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
ALDO["๐งฌ Aldosterone Steroid hormone binds Intracellular receptor"]
NUC["๐ข Nucleus Gene transcription occurs Protein synthesis begins"]
SYN["๐ ๏ธ Channel Synthesis โฌ๏ธ ENaC channel count โฌ๏ธ ROMK channel count"]
ION["โก Ion Transport โฌ๏ธ Na+ Influx Reabsorption โฌ๏ธ K+ Efflux Secretion"]
ADH["๐ง ADH / Vasopressin Antidiuretic hormone Regulates water balance"]
V2R["๐ฐ๏ธ V2 Receptor G-protein coupled Basolateral membrane"]
CAMP["๐งช โฌ๏ธ cAMP Levels Second messenger signaling Activates protein kinase A"]
AQP["๐ช AQP2 Insertion Aquaporin water channels Apical membrane docking"]
H2O["๐ H2O Reabsorption โฌ๏ธ Free water uptake Concentrates the urine"]
ALDO --> NUC
NUC --> SYN
SYN --> ION
ADH --> V2R
V2R --> CAMP
CAMP --> AQP
AQP --> H2O
style ALDO fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
style NUC fill:#E3E5E5, stroke:#5F747D, stroke-width:1px, rx:10, ry:10, color:#435A64
style SYN fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style ION fill:#FCC4B7, stroke:#D4655F, stroke-width:1px, rx:10, ry:10, color:#A44540
style ADH fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
style V2R fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style CAMP fill:#CFBFF7, stroke:#8560C1, stroke-width:1px, rx:10, ry:10, color:#613C9D
style AQP fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style H2O fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve 4e293ccd-d3f1-4a13-a153-4c9f555bf64d
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
flowchart TD
Start["๐งฌ Angiotensin II Potent vasoconstrictor peptide Primary effector of RAAS"]
AT1["๐ฏ AT1 Receptor G-protein coupled receptor Mediates physiological actions"]
Vaso["โก Squeeze Systemic vasoconstriction โฌ๏ธ Blood Pressure (BP)"]
Salt["๐ง Salt Retention Aldosterone hormone release โฌ๏ธ Na+ and H2O retention"]
Sip["๐ง Sip Activity ADH and thirst activation โฌ๏ธ H2O total retention"]
Symp["๐ฅ Sympathetic Activity Norepinephrine stimulation โฌ๏ธ HR and Contractility"]
Scar["๐๏ธ Scarring Cardiac and vascular growth Tissue remodeling process"]
GFR["๐ก๏ธ Save GFR Efferent arteriole constriction Maintains glomerular filtration"]
Start --> AT1
AT1 --> Vaso
AT1 --> Salt
AT1 --> Sip
AT1 --> Symp
AT1 --> Scar
AT1 --> GFR
style Start fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
style AT1 fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style Vaso fill:#FCC4B7, stroke:#D4655F, stroke-width:1px, rx:10, ry:10, color:#A44540
style Salt fill:#F7C398, stroke:#AE6B35, stroke-width:1px, rx:10, ry:10, color:#9C5D29
style Sip fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style Symp fill:#FFCBE1, stroke:#E34E79, stroke-width:1px, rx:10, ry:10, color:#B0294B
style Scar fill:#CFBFF7, stroke:#8560C1, stroke-width:1px, rx:10, ry:10, color:#613C9D
style GFR fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve 746f05c0-f763-4d9b-a931-604d40a3e59a
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
Start["๐งฌ Angiotensinogen Produced by liver Plasma globulin substrate"]
End["๐ฉธ Angiotensin I Decapeptide hormone Cleaved by renin"]
Start -- "Renin" --> End
style Start fill:#E3E5E5,stroke:#5F747D,stroke-width:1px,rx:10,ry:10,color:#435A64
style End fill:#E3E5E5,stroke:#5F747D,stroke-width:1px,rx:10,ry:10,color:#435A64
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve 84cb34e7-c58f-4894-b016-1c93d50dbd24
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
Start["๐ Suspected RMS Rhabdomyosarcoma suspicion Initial clinical workup"]
Biopsy["๐ฌ Biopsy + IHC Tissue sampling required Immunohistochemistry tests"]
Imaging["๐ผ๏ธ Imaging Evaluation Site specific imaging Radiological assessment"]
Staging["๐ Staging Workup Disease extent evaluation Systemic involvement check"]
Markers["๐งฌ Key Markers Myogenin expression MyoD1 nuclear staining"]
Confirm["โ
Confirm & Stage IRS group assignment TNM staging system"]
Primary["๐ Primary Site Local MRI assessment Anatomical CT imaging"]
Metastasis["โ๏ธ Metastasis PET-CT systemic scan CT Chest evaluation"]
Special["๐ฆด Special Studies Bone Marrow biopsy CSF for parameningeal"]
Start --> Biopsy
Start --> Imaging
Start --> Staging
Biopsy --> Markers
Biopsy --> Confirm
Imaging --> Confirm
Imaging --> Primary
Imaging --> Metastasis
Staging --> Confirm
Staging --> Special
style Start fill:#E3E5E5, stroke:#5F747D, stroke-width:1px, rx:10, ry:10, color:#435A64
style Biopsy fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style Imaging fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style Staging fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style Markers fill:#F7C398, stroke:#AE6B35, stroke-width:1px, rx:10, ry:10, color:#9C5D29
style Confirm fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
style Primary fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style Metastasis fill:#FCC4B7, stroke:#D4655F, stroke-width:1px, rx:10, ry:10, color:#A44540
style Special fill:#CFBFF7, stroke:#8560C1, stroke-width:1px, rx:10, ry:10, color:#613C9D
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve e256c694-534e-4a15-9353-af121a13547d
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
Start["๐ถ Suspect EA/TEF Choking/Frothy Saliva Cyanosis with feeds"]
NGTube["๐ฉบ NG Tube Attempt Insert nasogastric tube Check for resistance"]
Xray["๐ธ Chest & Abdominal X-ray Assess tube position Check bowel gas pattern"]
Confirm["โ
Confirm Diagnosis Coiled NG tube seen +/- Gas in bowel"]
InitialRx["๐ฅ Initial Management NPO and IV Fluids Pouch Suction and Head Up"]
SurgConsult["๐จโโ๏ธ Surgical Consult Urgent evaluation needed Definitive repair planning"]
Start --> NGTube
NGTube -- "Fails to pass / Coils" --> Xray
Xray --> Confirm
Confirm --> InitialRx
InitialRx --> SurgConsult
style Start fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
style NGTube fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style Xray fill:#F7C398, stroke:#AE6B35, stroke-width:1px, rx:10, ry:10, color:#9C5D29
style Confirm fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
style InitialRx fill:#FCC4B7, stroke:#D4655F, stroke-width:1px, rx:10, ry:10, color:#A44540
style SurgConsult fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve 0c9aab50-087f-4b1a-8435-5011930ebf67
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
Start["๐ง Precocious Puberty Early secondary sex traits Initial clinical evaluation"]
Assess["๐ Initial Workup Assess Bone Age study Check basal LH/FSH levels"]
CPP["๐ง Central PP GnRH-dependent type Pubertal LH response"]
PPP["๐ฉธ Peripheral PP GnRH-independent type Prepubertal LH response"]
GnRH_Test["๐งช GnRH Stim Test Differentiate PP types Monitor LH peak levels"]
MRI["๐ฅ๏ธ Brain MRI Evaluate pituitary gland Search for CNS lesions"]
Investigate["๐ฉป Imaging & bloods USG Adrenals and Gonads Specific hormone panels"]
Rx_Central["๐ Treat Central PP GnRH Agonist therapy Regular clinical follow-up"]
Rx_Periph["๐ฉบ Treat Cause Address underlying source Example: Tumor resection"]
Start --> Assess
Assess -- "Advanced Bone Age Pubertal LH" --> CPP
Assess -- "Advanced Bone Age Prepubertal LH" --> GnRH_Test
GnRH_Test -- "Pubertal LH Response" --> CPP
GnRH_Test -- "Prepubertal LH Response" --> PPP
CPP --> MRI
MRI --> Rx_Central
PPP --> Investigate
Investigate --> Rx_Periph
style Start fill:#E3E5E5, stroke:#5F747D, stroke-width:1px, rx:10, ry:10, color:#435A64
style Assess fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style CPP fill:#FCC4B7, stroke:#D4655F, stroke-width:1px, rx:10, ry:10, color:#A44540
style PPP fill:#FCC4B7, stroke:#D4655F, stroke-width:1px, rx:10, ry:10, color:#A44540
style GnRH_Test fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style MRI fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style Investigate fill:#F7C398, stroke:#AE6B35, stroke-width:1px, rx:10, ry:10, color:#9C5D29
style Rx_Central fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
style Rx_Periph fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve d00ec5b1-7bb4-412b-84c3-81461a964986
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
Start["๐ถ Suspected HIV Evaluation in child Clinical suspicion"]
Age{"๐
Age Check Determine child age Choose test pathway"}
VirTest["๐งฌ Virological Tests HIV DNA/RNA PCR Required for infants"]
Res1{"โ๏ธ PCR Result Analyze PCR data Determine status"}
Repeat["๐ Repeat PCR Confirm first positive Ensure accuracy"]
AbTest["๐งช Antibody Test ELISA or Rapid test Standard screen"]
Res2{"โ๏ธ Ab Result Analyze Ab screen Determine status"}
Confirm["๐ฌ Confirmatory Lab Western Blot test Final verification"]
NegPCR["๐ง Clinical Follow-up Monitor if high risk Re-test if symptomatic"]
NegAb["โ
HIV Unlikely Review recent exposure End of pathway"]
Confirmed["๐จ HIV Confirmed Initiate ART therapy Refer for specialist care"]
Start --> Age
Age -- "< 18 months" --> VirTest
Age -- ">= 18 months" --> AbTest
VirTest --> Res1
Res1 -- "Positive" --> Repeat
Res1 -- "Negative" --> NegPCR
Repeat -- "Positive" --> Confirmed
AbTest --> Res2
Res2 -- "Positive" --> Confirm
Res2 -- "Negative" --> NegAb
Confirm -- "Positive" --> Confirmed
style Start fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
style Age fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style VirTest fill:#F7C398, stroke:#AE6B35, stroke-width:1px, rx:10, ry:10, color:#9C5D29
style Res1 fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style Repeat fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style AbTest fill:#F7C398, stroke:#AE6B35, stroke-width:1px, rx:10, ry:10, color:#9C5D29
style Res2 fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style Confirm fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style NegPCR fill:#CFBFF7, stroke:#8560C1, stroke-width:1px, rx:10, ry:10, color:#613C9D
style NegAb fill:#E3E5E5, stroke:#5F747D, stroke-width:1px, rx:10, ry:10, color:#435A64
style Confirmed fill:#FCC4B7, stroke:#D4655F, stroke-width:1px, rx:10, ry:10, color:#A44540
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve 0fa00daf-495d-4b2e-af9a-716b04eecc17
๐ท Original Image
Captions: Management of urolithiasis in pregnancy flowchart
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
Start["๐ Initial Evaluation History and Physical Exam CBC BMP Urinalysis and US"]
Obstructing["โ Obstructing Stone? Check Ultrasound findings Review renal bladder imaging"]
CompFactors1["โ ๏ธ Complicating Factors? Fever or hemodynamic instability AKI or intractable pain"]
Intervention["โก Interventional Route Proceed to Interventional Guidelines Urgent urology consultation"]
Conservative1["๐ Conservative Management Pain control and anti-emetics Strain urine and fetal monitor"]
Discharge1["โ
Discharge and Referral Discharge when criteria met Referral to Endourology"]
CompFactors2["โ ๏ธ Complicating Factors? Fetal distress or obstruction Immunocompromised status"]
SecondImaging["๐ Second Line Imaging Proceed to Imaging Guidelines Further diagnostic workup"]
Conservative2["๐ Conservative Management Pain control and anti-emetics Close clinical observation"]
Discharge2["โ
Discharge and Referral Discharge when criteria met Referral to Endourology"]
Start --> Obstructing
Obstructing -- "Yes" --> CompFactors1
CompFactors1 -- "Yes" --> Intervention
CompFactors1 -- "No" --> Conservative1
Conservative1 --> Discharge1
Conservative1 -- "Re-evaluate" --> CompFactors1
Obstructing -- "No" --> CompFactors2
CompFactors2 -- "Yes" --> SecondImaging
CompFactors2 -- "No" --> Conservative2
Conservative2 --> Discharge2
Conservative2 -- "Re-evaluate" --> CompFactors2
style Start fill:#E3E5E5, stroke:#5F747D, stroke-width:1px, rx:10, ry:10, color:#435A64
style Obstructing fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style CompFactors1 fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style Intervention fill:#FCC4B7, stroke:#D4655F, stroke-width:1px, rx:10, ry:10, color:#A44540
style Conservative1 fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style Discharge1 fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
style CompFactors2 fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style SecondImaging fill:#CFBFF7, stroke:#8560C1, stroke-width:1px, rx:10, ry:10, color:#613C9D
style Conservative2 fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style Discharge2 fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve ad0f39db-8f5b-4281-97f8-6a1765f48f40
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
Root["๐ Beta-Agonists Sympathomimetic agents Receptor stimulation"]
NonSel["โ๏ธ Non-Selective Isoproterenol medication Beta1 = Beta2 activity"]
B1Sel["โค๏ธ Beta1-Selective Dobutamine medication Beta1 > Beta2 activity"]
B2Sel["๐ซ Beta2-Selective Albuterol and Salmeterol Terbutaline medication"]
Root --> NonSel
Root --> B1Sel
Root --> B2Sel
style Root fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
style NonSel fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style B1Sel fill:#FCC4B7, stroke:#D4655F, stroke-width:1px, rx:10, ry:10, color:#A44540
style B2Sel fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve 0af3c893-ac24-4a96-8b14-838db909e6e7
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
Start["่ฟ็คๅฟ่ถ้
่บ็ชๅข ๆ้ซๅพช็ฏๅฟ่ถ้
่บ ๅฏผ่ด้ซ่กๅๅฑ่ฑก"]
Decision["ๆงๅถ่กๅ ๆฏๅๆ ธๅฟ็ฎๆ ็ปดๆๅพช็ฏ็จณๅฎ"]
Alpha["็ฌฌไธๆญฅ๏ผAlpha้ปๆญๅ ้
่ๆๆๅๅๅช ้ฒๆญข่ฟๅบฆ่ก็ฎกๆถ็ผฉ"]
Beta["็ฌฌไบๆญฅ๏ผBeta้ปๆญๅ ไป
ๅจAlpha้ปๆญๅ็จ ๆงๅถๅฟ็ๅคฑๅธธ"]
Surgery["ๆๆฏๅ้ค ๆฉๆ่พไธ่
บๅ้ค ๆฏไธญไธฅๅฏ็ๆต"]
Start --> Decision
Decision --> Alpha
Alpha --> Beta
Beta --> Surgery
style Start fill:#FCC4B7, stroke:#D4655F, stroke-width:1px, rx:10, ry:10, color:#A44540
style Decision fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style Alpha fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style Beta fill:#CFBFF7, stroke:#8560C1, stroke-width:1px, rx:10, ry:10, color:#613C9D
style Surgery fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve 9dc41cf0-5cb3-4dfb-afb5-188d98c7249d
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
Start["๐ Beta-Agonist Binds to receptor Initiates cascade"]
Receptor["๐งฌ Beta-Receptor GPCR activation Conformational change"]
GsProtein["โก Gs protein โฌ๏ธ protein activity GDP to GTP exchange"]
Adenyl["๐งช Adenylyl cyclase โฌ๏ธ cyclase activity Membrane bound enzyme"]
cAMP["๐ cAMP levels โฌ๏ธ intracellular cAMP ATP conversion"]
PKA["๐ Protein Kinase A โฌ๏ธ PKA activity Regulatory subunit release"]
Phospho["โจ Phosphorylation Intracellular proteins Covalent modification"]
Response["๐ฏ Cellular Response Downstream effect Physiological change"]
Start --> Receptor
Receptor --> GsProtein
GsProtein --> Adenyl
Adenyl -- ATP --> cAMP
cAMP --> PKA
PKA --> Phospho
Phospho --> Response
style Start fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
style Receptor fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style GsProtein fill:#F7C398, stroke:#AE6B35, stroke-width:1px, rx:10, ry:10, color:#9C5D29
style Adenyl fill:#F7C398, stroke:#AE6B35, stroke-width:1px, rx:10, ry:10, color:#9C5D29
style cAMP fill:#CFBFF7, stroke:#8560C1, stroke-width:1px, rx:10, ry:10, color:#613C9D
style PKA fill:#F7C398, stroke:#AE6B35, stroke-width:1px, rx:10, ry:10, color:#9C5D29
style Phospho fill:#FFCBE1, stroke:#E34E79, stroke-width:1px, rx:10, ry:10, color:#B0294B
style Response fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve d4162063-b388-4aab-8241-cc2088cc1947
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
subgraph Action ["Alpha Antagonist Action"]
A["๐ Alpha Antagonist Binds to receptors Initiates blockade"]
B["๐ซ Alpha-1 Blockade Blocks alpha-1 receptor Prevents catecholamines"]
end
subgraph Effect ["Physiological Effect"]
C["โฌ๏ธ Muscle Contraction Relaxes smooth muscle Vascular wall relaxation"]
D["๐จ Vasodilation Wider blood vessels Reduced resistance"]
E["โฌ๏ธ Blood Pressure Reduces systemic BP Antihypertensive effect"]
end
A --> B
B --> C
C --> D
D --> E
style A fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
style B fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style C fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style D fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style E fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve 90f517cb-6de9-4694-8d36-a04c56eeb84c
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
Start["๐ Phenylephrine Selective alpha1 agonist Systemic administration"]
BP["๐ช โฌ๏ธ Blood Pressure Alpha1 vasoconstriction Increased TPR"]
Baro["โ๏ธ Baroreceptors Aortic arch activation Carotid sinus firing"]
Vagal["๐ง โฌ๏ธ Vagal Firing Parasympathetic output Nerve activation"]
HR["๐ โฌ๏ธ Heart Rate Reflex bradycardia Compensatory response"]
Start --> BP
BP --> Baro
Baro --> Vagal
Vagal --> HR
style Start fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
style BP fill:#FCC4B7, stroke:#D4655F, stroke-width:1px, rx:10, ry:10, color:#A44540
style Baro fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style Vagal fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style HR fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve 3991d843-d48c-4a28-b4d1-e8fb8a20c904
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
Start["๐ Sympathomimetic Overdose Tachycardia and agitation Identify toxic substance"]
HTN{"โ Severe Hypertension? Monitor blood pressure Assess end-organ damage"}
Labetalol["๐งช Alpha/Beta-blocker Give drug like Labetalol Control โฌ๏ธ blood pressure"]
Supportive["๐ฅ Supportive Care Administer Benzodiazepines Monitor vital signs"]
Start --> HTN
HTN -- Yes --> Labetalol
HTN -- No --> Supportive
style Start fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
style HTN fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style Labetalol fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style Supportive fill:#CFBFF7, stroke:#8560C1, stroke-width:1px, rx:10, ry:10, color:#613C9D
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve c976a0ef-f3a3-4558-bccb-e2a013757212
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
A["๐ Preamble and Consent Define procedural scope Obtain written consent"]
B["๐ค History Taking Record incident timeline Document patient symptoms"]
C["๐ Clinical Examination Physical status assessment Injury documentation"]
D["๐ฌ Investigations Order necessary labs Radiology and imaging"]
E["๐ก Opinion Formulation Analyze clinical findings Synthesize medical expert view"]
F["โ๏ธ Report and Signature Finalize documentation Official sign-off"]
A --> B
B --> C
C --> D
D --> E
E --> F
style A fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
style B fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style C fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style D fill:#F7C398, stroke:#AE6B35, stroke-width:1px, rx:10, ry:10, color:#9C5D29
style E fill:#CFBFF7, stroke:#8560C1, stroke-width:1px, rx:10, ry:10, color:#613C9D
style F fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve 67ca2546-1589-4aea-98c1-42923b891b4f
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
Start["๐ฌ Glomerular Insult Initial kidney trigger Glomerular damage onset"]
Decide{"๐ Primary Site Identify injury zone Select central pathway"}
Nephrotic1["๐งช Podocyte Injury Podocyte effacement Charge barrier loss"]
Nephrotic2["๐ง Nephrotic Syndrome Massive proteinuria > 3.5 g/day loss"]
Nephritic1["๐ฅ Inflammation Cellular infiltration Glomerular wall breach"]
Nephritic2["๐ฉธ Nephritic Syndrome Hematuria findings RBC cast formation"]
Start --> Decide
Decide --> Nephrotic1
Nephrotic1 --> Nephrotic2
Decide --> Nephritic1
Nephritic1 --> Nephritic2
style Start fill:#E3E5E5, stroke:#5F747D, stroke-width:1px, rx:10, ry:10, color:#435A64
style Decide fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style Nephrotic1 fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style Nephrotic2 fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
style Nephritic1 fill:#FCC4B7, stroke:#D4655F, stroke-width:1px, rx:10, ry:10, color:#A44540
style Nephritic2 fill:#FFCBE1, stroke:#E34E79, stroke-width:1px, rx:10, ry:10, color:#B0294B
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve 59d33e6c-5729-4d51-9efc-7726239379ba
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
Root["๐ Antagonists Receptor blocking agents Sympatholytic effects"]
Alpha["โก Alpha-Blockers Inhibit alpha receptors Vascular smooth muscle"]
Beta["โค๏ธ Beta-Blockers Inhibit beta receptors Cardiac and lung tissue"]
Phenoxy["๐งฌ Phenoxybenzamine Irreversible inhibition Pheochromocytoma use"]
Osins["๐ Prazosin, -osins Selective alpha-1 blockade Treats hypertension"]
Prop["๐ง Propranolol Non-selective blocker Beta-1 and Beta-2"]
Metop["๐ซ Metoprolol, Atenolol Selective Beta-1 blocker Cardioselective agents"]
Root --> Alpha
Root --> Beta
Alpha --> Phenoxy
Alpha --> Osins
Beta --> Prop
Beta --> Metop
style Root fill:#E3E5E5, stroke:#5F747D, stroke-width:1px, rx:10, ry:10, color:#435A64
style Alpha fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style Beta fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style Phenoxy fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style Osins fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style Prop fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style Metop fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve c3453c92-e043-4092-93f9-7f6aeffdf9e3
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
ANS["๐ง Autonomic Nervous System Involuntary motor system Visceral organ control"]
SYM["๐ฅ Sympathetic Division Thoracolumbar Outflow Fight or flight response"]
PARA["๐ง Parasympathetic Division Craniosacral Outflow Rest and digest state"]
ANS --> SYM
ANS --> PARA
style ANS fill:#E3E5E5,stroke:#5F747D,stroke-width:1px,rx:10,ry:10,color:#435A64
style SYM fill:#FCC4B7,stroke:#D4655F,stroke-width:1px,rx:10,ry:10,color:#A44540
style PARA fill:#89D5F7,stroke:#5886E0,stroke-width:1px,rx:10,ry:10,color:#1961b4
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve 8818dfcb-975a-4ec1-b704-e5f25a5d732d
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
subgraph SG1 ["Epinephrine + Alpha-Blocker"]
Start1["๐ Epinephrine Administered with blocker Non-selective agonist"]
AlphaB["๐ซ Alpha-Blocker Blocks alpha-1 receptors Prevents vasoconstriction"]
A1B["๐ alpha-1: Blocked No alpha-1 activation Resistance cannot โฌ๏ธ"]
B2U["๐ beta-2: Unopposed Vasodilation dominance Significant โฌ๏ธ TPR"]
Net1["โ ๏ธ Net Effect: โฌ๏ธ MAP Epinephrine Reversal Pressure falls overall"]
end
subgraph SG2 ["Epinephrine Alone"]
Start2["๐ Epinephrine Isolated administration High dose effects"]
A1V["๐ alpha-1: Vasoconstrict Significant โฌ๏ธโฌ๏ธ TPR Primary vascular effect"]
B2V["๐ beta-2: Vasodilation Minor โฌ๏ธ resistance Opposed by alpha-1"]
Net2["โ
Net Effect: โฌ๏ธ MAP Systolic pressure rises Overall โฌ๏ธ Pressure"]
end
%% Connections SG1
Start1 --> AlphaB
AlphaB --> A1B
Start1 --> B2U
A1B --> Net1
B2U --> Net1
%% Connections SG2
Start2 --> A1V
Start2 --> B2V
A1V --> Net2
B2V --> Net2
%% Styles
style Start1 fill:#E3E5E5, stroke:#5F747D, stroke-width:1px, rx:10, ry:10, color:#435A64
style AlphaB fill:#FFCBE1, stroke:#E34E79, stroke-width:1px, rx:10, ry:10, color:#B0294B
style A1B fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style B2U fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style Net1 fill:#FCC4B7, stroke:#D4655F, stroke-width:1px, rx:10, ry:10, color:#A44540
style Start2 fill:#E3E5E5, stroke:#5F747D, stroke-width:1px, rx:10, ry:10, color:#435A64
style A1V fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style B2V fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style Net2 fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve 57271843-465a-4818-9d8d-bb6b6847ded9
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
Start["๐ฑ Primordial Germ Cell Origin of gamete line Early embryonic stage"]
Mitosis1["๐ Mitosis Cellular proliferation Daughter cell formation"]
Gametogonium["๐งฌ Gametogonium Diploid state 2N, 2C Pre-replication phase"]
Mitosis2["๐ Mitosis Preparation for meiosis DNA replication occurs"]
Primary["๐ฌ Primary Gametocyte Diploid state 2N, 4C Homologous pairs ready"]
Meiosis1["โ๏ธ Meiosis I Reductional division Separates homologues"]
Secondary["๐ Secondary Gametocyte Haploid state 1N, 2C Sister chromatids stay"]
Meiosis2["โก Meiosis II Equational division Separates chromatids"]
Gamete["๐ฏ Gamete Haploid state 1N, 1C Mature functional cell"]
Start --> Mitosis1
Mitosis1 --> Gametogonium
Gametogonium --> Mitosis2
Mitosis2 --> Primary
Primary --> Meiosis1
Meiosis1 --> Secondary
Secondary --> Meiosis2
Meiosis2 --> Gamete
style Start fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
style Mitosis1 fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style Gametogonium fill:#E3E5E5, stroke:#5F747D, stroke-width:1px, rx:10, ry:10, color:#435A64
style Mitosis2 fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style Primary fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style Meiosis1 fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style Secondary fill:#CFBFF7, stroke:#8560C1, stroke-width:1px, rx:10, ry:10, color:#613C9D
style Meiosis2 fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style Gamete fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve c2017450-008f-44c7-b88e-1d449f721dab
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
Start["๐งฌ Spermatogonium Diploid cell 2n, 2d Initial germ cell"]
Primary["๐ฌ Primary Spermatocyte Diploid cell 2n, 4d Post DNA replication"]
Secondary["๐ Secondary Spermatocyte Haploid cell 1n, 2d End of Meiosis I"]
Spermatid["๐ Spermatid Haploid cell 1n, 1d End of Meiosis II"]
Spermatozoon["๐ Spermatozoon Mature cell 1n, 1d Functional motile gamete"]
Start -- Mitosis --> Primary
Primary -- Meiosis I --> Secondary
Secondary -- Meiosis II --> Spermatid
Spermatid -- Spermiogenesis --> Spermatozoon
style Start fill:#E3E5E5, stroke:#5F747D, stroke-width:1px, rx:10, ry:10, color:#435A64
style Primary fill:#F7C398, stroke:#AE6B35, stroke-width:1px, rx:10, ry:10, color:#9C5D29
style Secondary fill:#CFBFF7, stroke:#8560C1, stroke-width:1px, rx:10, ry:10, color:#613C9D
style Spermatid fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style Spermatozoon fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve e4b46a8b-a2bc-423b-8d09-3c2be04a57b3
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
Start["๐ฅ Acute Appendicitis Initial presentation assessment Diagnostic confirmation required"]
Type{"โ Disease Type Evaluate clinical severity Imaging findings scan"}
Uncomp["โ
Uncomplicated Inflammation only present No signs of rupture"]
CompAbs["๐ Complicated Abscess or phlegmon focus Localized inflammatory mass"]
CompPerf["โ ๏ธ Complicated Free perforation present Evidence of peritonitis"]
LapApp["๐ช Laparoscopic Surgery Standard appendectomy procedure Minimally invasive approach"]
PostOpAbx["๐ Post-op Antibiotics Duration <= 24 hours Limited prophylactic use"]
InitialTx["๐ Initial Management IV Abx +/- drainage Stabilize inflammatory mass"]
IntervalApp["๐
Interval Surgery Wait 6-8 weeks total Elective appendectomy later"]
UrgentApp["๐จ Urgent Surgery Immediate appendectomy needed IV Abx for 3-7 days"]
Start --> Type
Type --> Uncomp
Type --> CompAbs
Type --> CompPerf
Uncomp --> LapApp
LapApp --> PostOpAbx
CompAbs --> InitialTx
InitialTx --> IntervalApp
CompPerf --> UrgentApp
style Start fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
style Type fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style Uncomp fill:#E3E5E5, stroke:#5F747D, stroke-width:1px, rx:10, ry:10, color:#435A64
style CompAbs fill:#E3E5E5, stroke:#5F747D, stroke-width:1px, rx:10, ry:10, color:#435A64
style CompPerf fill:#FCC4B7, stroke:#D4655F, stroke-width:1px, rx:10, ry:10, color:#A44540
style LapApp fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style PostOpAbx fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
style InitialTx fill:#CFBFF7, stroke:#8560C1, stroke-width:1px, rx:10, ry:10, color:#613C9D
style IntervalApp fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style UrgentApp fill:#FCC4B7, stroke:#D4655F, stroke-width:1px, rx:10, ry:10, color:#A44540
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve 90b5adb1-0c62-4ae1-88de-66732ccc438e
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
Start["๐จ Hypertensive Emergency Severe HTN present End-organ damage seen"]
Goal["๐ฏ Management Goal Controlled BP reduction Prevent further damage"]
Initial["๐ Initial Phase โฌ๏ธ MAP by <= 25 percent Target within first 8 hrs"]
Subsequent["โฑ๏ธ Subsequent Phase Normalize BP safely Target over 24-48 hrs"]
Meds["๐ IV Medications Administer Labetalol Administer Nicardipine"]
Monitor["๐๏ธ Close Monitoring Avoid rapid BP drops Continuous observation"]
Start --> Goal
Goal --> Initial
Initial --> Subsequent
Subsequent --> Meds
Meds --> Monitor
style Start fill:#FCC4B7,stroke:#D4655F,stroke-width:1px,rx:10,ry:10,color:#A44540
style Goal fill:#FFDAB4,stroke:#BF814A,stroke-width:1px,rx:10,ry:10,color:#5D3A00
style Initial fill:#89D5F7,stroke:#5886E0,stroke-width:1px,rx:10,ry:10,color:#1961b4
style Subsequent fill:#89D5F7,stroke:#5886E0,stroke-width:1px,rx:10,ry:10,color:#1961b4
style Meds fill:#CFBFF7,stroke:#8560C1,stroke-width:1px,rx:10,ry:10,color:#613C9D
style Monitor fill:#A5C9C2,stroke:#41645D,stroke-width:1px,rx:10,ry:10,color:#274F47
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve 49b2177f-6a1c-4f0a-b0f8-785ac8061c27
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
Start["๐จ Hypercalcemic Crisis Severe calcium elevation Emergency medical management"]
Step1["๐ง Step 1: IV Hydration Normal Saline (NS) Restore intravascular volume"]
Step2["๐ Step 2: Furosemide Give after repletion Promote urinary excretion"]
Step3["๐ฆด Step 3: Bisphosphonates Inhibit bone resorption Long-term calcium control"]
Step4["โก Step 4: Calcitonin Rapid effect onset Immediate calcium lowering"]
End["๐ฅ Consider Dialysis Severe or Refractory Renal failure management"]
Start --> Step1
Step1 --> Step2
Step2 --> Step3
Step3 --> Step4
Step4 -.->|"Severe/Refractory"| End
style Start fill:#FCC4B7, stroke:#D4655F, stroke-width:1px, rx:10, ry:10, color:#A44540
style Step1 fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style Step2 fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style Step3 fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style Step4 fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style End fill:#CFBFF7, stroke:#8560C1, stroke-width:1px, rx:10, ry:10, color:#613C9D
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve 47556963-97ac-4f34-8dda-440fdaa09dc9
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
Start["๐งฌ Oogonium 2n Diploid germ cell Early fetal life"]
Div1["๐ Meiosis I Initial division begins Genetic recombination"]
Prim["๐ฅ Primary Oocyte 2n Developed from oogonium Ready for arrest"]
Arr1["๐ Prophase I Arrested until puberty Diplotene stage"]
Sec["๐ Secondary Oocyte n Occurs after puberty Haploid cell formed"]
Arr2["๐ Metaphase II Second arrest phase Awaiting fertilization"]
Final["๐ถ Ovum n + 2nd PB Meiosis II complete Fertilization required"]
Start --> Div1
Div1 --> Prim
Prim -- "Arrested in" --> Arr1
Arr1 -- "Puberty" --> Sec
Sec -- "Arrested in" --> Arr2
Arr2 -- "Fertilization" --> Final
style Start fill:#E3E5E5, stroke:#5F747D, stroke-width:1px, rx:10, ry:10, color:#435A64
style Div1 fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style Prim fill:#CFBFF7, stroke:#8560C1, stroke-width:1px, rx:10, ry:10, color:#613C9D
style Arr1 fill:#FCC4B7, stroke:#D4655F, stroke-width:1px, rx:10, ry:10, color:#A44540
style Sec fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style Arr2 fill:#FCC4B7, stroke:#D4655F, stroke-width:1px, rx:10, ry:10, color:#A44540
style Final fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve c5d29619-469d-4a50-93b5-c8f9fb6963e8
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
subgraph M1S ["๐งฌ Meiosis I Error "]
M1Parent["๐งซ Parent Cell Diploid germ cell Initial replication"]
M1NDJ["โ ๏ธ Nondisjunction Homologous failure Occurs in Meiosis I"]
M1NP["โ Result (n+1) Extra chromosome Gametes affected"]
M1NM["โ Result (n-1) Missing chromosome Gametes affected"]
M1Parent --> M1NDJ
M1NDJ --> M1NP
M1NDJ --> M1NM
end
subgraph M2S ["๐งฌ Meiosis II Error "]
M2Parent["๐งซ Parent Cell Diploid germ cell Initial replication"]
M2Norm1["โ
Normal Meiosis I Homologues separate Secondary gametes"]
M2NDJ["โ ๏ธ Nondisjunction Sister chromatids Fail in Meiosis II"]
M2Normal["โ
Normal (n) Euploid gamete Typical count"]
M2NP["โ Result (n+1) Extra chromosome Aneuploid result"]
M2NM["โ Result (n-1) Missing chromosome Aneuploid result"]
M2Parent --> M2Norm1
M2Norm1 --> M2NDJ
M2Norm1 --> M2Normal
M2NDJ --> M2NP
M2NDJ --> M2NM
end
style M1Parent fill:#E3E5E5, stroke:#5F747D, stroke-width:1px, rx:10, ry:10, color:#435A64
style M1NDJ fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style M1NP fill:#FCC4B7, stroke:#D4655F, stroke-width:1px, rx:10, ry:10, color:#A44540
style M1NM fill:#FCC4B7, stroke:#D4655F, stroke-width:1px, rx:10, ry:10, color:#A44540
style M2Parent fill:#E3E5E5, stroke:#5F747D, stroke-width:1px, rx:10, ry:10, color:#435A64
style M2Norm1 fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style M2NDJ fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style M2Normal fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
style M2NP fill:#FCC4B7, stroke:#D4655F, stroke-width:1px, rx:10, ry:10, color:#A44540
style M2NM fill:#FCC4B7, stroke:#D4655F, stroke-width:1px, rx:10, ry:10, color:#A44540
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve 2c45cab3-d5df-4a8f-9609-9118c5cacc45
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
Start["๐ฃ Zygote Single totipotent cell Fertilization product"]
TwoCell["๐งฌ 2-Cell Stage Initial mitotic cleavage 30 hours post-fertilization"]
FourCell["๐งฌ 4-Cell Stage Continued blastomere division 40 to 50 hours post-sperm"]
Morula["๐ Morula 16 to 32 cell cluster Compaction phase begins"]
Start --> TwoCell
TwoCell --> FourCell
FourCell --> Morula
style Start fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
style TwoCell fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style FourCell fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style Morula fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve 71577f89-799d-4a76-928b-26b565261deb
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
Start["๐ฃ Uterine Entry Morula enters uterus Day 4 post-fertilization"]
Fluid["๐งช Fluid Influx Fluid penetrates Zona Pellucida Pressure increases inside"]
Blastocoel["๐ง Blastocoel Formation Cavity space appears Blastocoel fluid fills center"]
Diff["๐งฌ Differentiation Trophectoderm forms outer layer Embryoblast forms inner mass"]
Hatch["๐ฅ Hatching Zona Pellucida degenerates Blastocyst emerges from shell"]
Ready["๐ฏ Implantation Ready Trophoblast exposure complete Prepared for uterine attachment"]
Start --> Fluid
Fluid --> Blastocoel
Blastocoel --> Diff
Diff --> Hatch
Hatch --> Ready
style Start fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
style Fluid fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style Blastocoel fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style Diff fill:#CFBFF7, stroke:#8560C1, stroke-width:1px, rx:10, ry:10, color:#613C9D
style Hatch fill:#FCC4B7, stroke:#D4655F, stroke-width:1px, rx:10, ry:10, color:#A44540
style Ready fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve ce87cc33-2255-4021-8b0f-ef6cd2f295ae
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
START["๐งฌ Sperm Binding Sperm binds ZP3 glycoprotein Initial contact with zona"]
ACRO["โก Acrosome Reaction Reaction is triggered Calcium signaling begins"]
ENZ["๐งช Enzyme Release Acrosin enzymes released Proteolytic activity starts"]
DIGEST["๐ณ๏ธ ZP Digestion Sperm digests path thru ZP Progresses to membrane"]
FUSE["๐ค Membrane Fusion Sperm fuses with oocyte Membrane integration"]
CORT["๐ก๏ธ Cortical Reaction Prevents polyspermy entry Fast and slow blocks"]
CALC["๐ Ca2+ Influx Cortical granule release Intracellular calcium rise"]
BLOCK["๐งฑ ZP Hardening Zona Pellucida hardens Permanent block to sperm"]
MEI["โณ Meiosis II Oocyte completes division Second polar body forms"]
PRO["Kernels Nuclei Male and female pronuclei Genetic material prepares"]
ZYG["๐ฃ Zygote Formation Pronuclear fusion occurs Diploid embryo created"]
START --> ACRO
ACRO --> ENZ
ENZ --> DIGEST
DIGEST --> FUSE
FUSE --> CORT
CORT --> CALC
CALC --> BLOCK
FUSE --> MEI
MEI --> PRO
PRO --> ZYG
style START fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
style ACRO fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style ENZ fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style DIGEST fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style FUSE fill:#CFBFF7, stroke:#8560C1, stroke-width:1px, rx:10, ry:10, color:#613C9D
style CORT fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style CALC fill:#FCC4B7, stroke:#D4655F, stroke-width:1px, rx:10, ry:10, color:#A44540
style BLOCK fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
style MEI fill:#F7C398, stroke:#AE6B35, stroke-width:1px, rx:10, ry:10, color:#9C5D29
style PRO fill:#F7C398, stroke:#AE6B35, stroke-width:1px, rx:10, ry:10, color:#9C5D29
style ZYG fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve f20ecfd9-5ba7-4e48-b879-117dddc502b8
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
Start["๐ฌ Testicular GCT Germ cell origin Male malignancy"]
Seminoma["๐ก Seminoma Slow growing tumor Radiosensitive type"]
NonSeminoma["๐ต Non-Seminoma Mixed cell types Aggressive growth"]
Embryonal["๐ด Embryonal Carcinoma Hemorrhagic mass Painful lesion"]
YolkSac["๐ก Yolk Sac Tumor โฌ๏ธ AFP marker Schiller Duval bodies"]
Chorio["๐ด Choriocarcinoma โฌ๏ธ hCG levels Early hematogenous spread"]
Teratoma["๐ฃ Teratoma Multiple germ layers Mature or immature"]
Start --> Seminoma
Start --> NonSeminoma
NonSeminoma --> Embryonal
NonSeminoma --> YolkSac
NonSeminoma --> Chorio
NonSeminoma --> Teratoma
style Start fill:#E3E5E5, stroke:#5F747D, stroke-width:1px, rx:10, ry:10, color:#435A64
style Seminoma fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style NonSeminoma fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style Embryonal fill:#FCC4B7, stroke:#D4655F, stroke-width:1px, rx:10, ry:10, color:#A44540
style YolkSac fill:#F7C398, stroke:#AE6B35, stroke-width:1px, rx:10, ry:10, color:#9C5D29
style Chorio fill:#FCC4B7, stroke:#D4655F, stroke-width:1px, rx:10, ry:10, color:#A44540
style Teratoma fill:#CFBFF7, stroke:#8560C1, stroke-width:1px, rx:10, ry:10, color:#613C9D
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve e02e6896-98be-4862-868d-32548e8649e9
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
Start["๐ฑ Epiblast Cells Pluripotent progenitor layer Source of all germ layers"]
Invag["โก Invagination Primitive streak formation Cells migrate inward"]
Remain["๐งฌ Remaining Epiblast Non-migrating cell layer Differentiates at surface"]
Wave1["๐ First Wave Cells displace hypoblast Formation of deep layer"]
Wave2["๐ Second Wave Cells fill middle space Formation of central layer"]
Endo["๐ข Endoderm Internal lining formation Gut and respiratory tubes"]
Meso["๐ด Mesoderm Middle layer development Muscles and bones"]
Ecto["๐ต Ectoderm External layer formation Skin and nervous system"]
Start --> Invag
Start --> Remain
Invag --> Wave1
Invag --> Wave2
Wave1 --> Endo
Wave2 --> Meso
Remain --> Ecto
style Start fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
style Invag fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style Remain fill:#E3E5E5, stroke:#5F747D, stroke-width:1px, rx:10, ry:10, color:#435A64
style Wave1 fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style Wave2 fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style Endo fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
style Meso fill:#FCC4B7, stroke:#D4655F, stroke-width:1px, rx:10, ry:10, color:#A44540
style Ecto fill:#CFBFF7, stroke:#8560C1, stroke-width:1px, rx:10, ry:10, color:#613C9D
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve 5dca766d-af76-4e27-9f74-4c8f8f31b903
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
Start["๐ซ Advanced HF Diagnosis Severe heart failure state NYHA Class III or IV"]
Assess{"โ Refractory Symptoms? Persistent despite therapy Reduced functional capacity"}
Palliative["โ๏ธ Palliative Care Consult Expert symptom assessment Multidisciplinary support"]
Management["๐ Symptom Management & ACP Aggressive comfort focus Advance Care Planning"]
Success["โจ Improved QoL Better quality of life Alignment with goals"]
Standard["๐ฅ Standard HF Care Continue GDMT therapy Monitor clinical status"]
Start --> Assess
Assess -- Yes --> Palliative
Assess -- No --> Standard
Palliative --> Management
Management --> Success
style Start fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
style Assess fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style Palliative fill:#CFBFF7, stroke:#8560C1, stroke-width:1px, rx:10, ry:10, color:#613C9D
style Management fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style Success fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
style Standard fill:#E3E5E5, stroke:#5F747D, stroke-width:1px, rx:10, ry:10, color:#435A64
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve 823cf2c8-a4f8-424a-a5af-6c657ac7ce35
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
Node1["๐ Apposition Initial blastocyst contact Loose tissue alignment"]
Node2["๐ค Adhesion Firm physical attachment Integrin mediated binding"]
Node3["โ๏ธ Invasion Trophoblast penetration Endometrial remodeling"]
Node1 --> Node2
Node2 --> Node3
style Node1 fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
style Node2 fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style Node3 fill:#FCC4B7, stroke:#D4655F, stroke-width:1px, rx:10, ry:10, color:#A44540
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve 380b7b9d-c1ce-4f01-863c-a9f23c5cc491
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
Start["๐ฅ Morula 16-cell stage ball Solid mass formation"]
Compaction["๐งฌ Compaction Cell-to-cell adhesion Outer cell sealing"]
Blastocyst["โจ Blastocyst Formation Cavitation process begins Fluid filled cavity"]
Hatching["๐ฃ Hatching Exits Zona Pellucida Ready for implantation"]
DiffBlast["๐ Differentiated blastocyst Distinct cell lineages Polarized structure"]
ICM["๐ถ Inner Cell Mass Embryoblast cells Forms the embryo"]
Trophoblast["๐ก๏ธ Trophoblast Outer cell layer Forms the placenta"]
Start --> Compaction
Compaction --> Blastocyst
Blastocyst --> Hatching
Blastocyst --> DiffBlast
DiffBlast -->|gives rise to| ICM
DiffBlast -->|gives rise to| Trophoblast
style Start fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
style Compaction fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style Blastocyst fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style Hatching fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
style DiffBlast fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style ICM fill:#CFBFF7, stroke:#8560C1, stroke-width:1px, rx:10, ry:10, color:#613C9D
style Trophoblast fill:#F7C398, stroke:#AE6B35, stroke-width:1px, rx:10, ry:10, color:#9C5D29
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve 8f6cc275-3fe6-4a96-a30c-20e58f27bfc2
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
Start["๐ฑ Notochord Primary embryonic inducer Derived from mesoderm"]
Induce["โก Ectoderm Induction Signaling to overlying layer Triggers neuroectoderm"]
Plate["๐ง Neural Plate Thickening of ectoderm Basis of nervous system"]
Groove["โฐ Groove and Folds Invagination of plate Lateral edges elevate"]
Tube["๐งฌ Tube and Crest Closure of neural tube Migration of crest cells"]
Start --> Induce
Induce --> Plate
Plate --> Groove
Groove --> Tube
style Start fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
style Induce fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style Plate fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style Groove fill:#CFBFF7, stroke:#8560C1, stroke-width:1px, rx:10, ry:10, color:#613C9D
style Tube fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve a2a57173-172a-4e01-b1cc-e3c99710dbac
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
Start["๐ฉบ Initial Findings โฌ๏ธ PSA level detected Abnormal DRE exam"]
Biopsy["๐ TRUS Biopsy Transrectal ultrasound Guided tissue sampling"]
Gleason["๐ฌ Gleason Score Histological grading Cancer aggressiveness"]
Staging["๐ Management Clinical staging plan Treatment selection"]
Start --> Biopsy
Biopsy --> Gleason
Gleason --> Staging
style Start fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
style Biopsy fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style Gleason fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style Staging fill:#CFBFF7, stroke:#8560C1, stroke-width:1px, rx:10, ry:10, color:#613C9D
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve a4bb703f-f4d6-4b28-9f6b-14418fd2a36f
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
Start["๐ฆด Notochord Primary inductor signaling Mesodermal origin structure"]
Induction["โก Induction Induces overlying ectoderm Signals neural differentiation"]
Plate["๐ง Neural Plate Thickening of ectoderm Early CNS precursor"]
Groove["๐ Invagination Formation of Neural Groove Neural plate begins folding"]
Fusion["๐งฌ Neural Folds Folds elevate and fuse Closing the dorsal gap"]
Tube["๐งช Neural Tube Final primitive tube Forms Brain and Cord"]
Start --> Induction
Induction --> Plate
Plate --> Groove
Groove --> Fusion
Fusion --> Tube
style Start fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
style Induction fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style Plate fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style Groove fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style Fusion fill:#CFBFF7, stroke:#8560C1, stroke-width:1px, rx:10, ry:10, color:#613C9D
style Tube fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve 6b9d2bce-bd0a-441e-ae8e-f89f6a15b1d9
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
Start["๐ฃ Blastocyst Early embryonic stage Implantation occurs"]
Epi["๐งฌ Epiblast Primary germ layer Forms embryonic disc"]
Streak["ใฐ๏ธ Primitive Streak Established symmetry Begins gastrulation"]
Gas["๐ Gastrulation Cell migration phase Three layer formation"]
Ecto["๐ง Ectoderm Nervous system origin Skin and hair"]
Meso["๐ซ Mesoderm Muscles and bones Circulatory system"]
Endo["๐ซ Endoderm Digestive tract lining Respiratory system"]
Start --> Epi
Epi --> Streak
Streak --> Gas
Gas --> Ecto
Gas --> Meso
Gas --> Endo
style Start fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
style Epi fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style Streak fill:#CFBFF7, stroke:#8560C1, stroke-width:1px, rx:10, ry:10, color:#613C9D
style Gas fill:#FCC4B7, stroke:#D4655F, stroke-width:1px, rx:10, ry:10, color:#A44540
style Ecto fill:#FFCBE1, stroke:#E34E79, stroke-width:1px, rx:10, ry:10, color:#B0294B
style Meso fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style Endo fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve 17203ab0-b842-4015-af41-e6a11f913543
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
Start["๐ง Neural Plate Initial ectoderm thickening Provides neural blueprint"]
MHP["๐ Folding at MHP Medial hinge point induction Forms the ventral furrow"]
Elevate["โฌ๏ธ Folds Elevate Lateral edges move upward Converging toward midline"]
DLHP["๐ Folding at DLHPs Dorsolateral hinge points Facilitates apical closure"]
Fusion["๐ Midline Fusion Adhesion of fold edges Seamless tissue integration"]
End["โญ Neural Tube Primary neurulation complete CNS precursor established"]
Start --> MHP
MHP --> Elevate
Elevate --> DLHP
DLHP --> Fusion
Fusion --> End
style Start fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
style MHP fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style Elevate fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style DLHP fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style Fusion fill:#CFBFF7, stroke:#8560C1, stroke-width:1px, rx:10, ry:10, color:#613C9D
style End fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve 910e4df8-2a5b-414b-b9ff-2441135703be
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
Start["๐ฑ Somite Paraxial mesoderm origin Segmented body blocks"]
Sclero["๐ฆด Sclerotome Forms the vertebrae Forms the ribs"]
DermoM["๐งฌ Dermomyotome Dorsolateral somite part Bipotential precursor"]
Derma["๐๏ธ Dermatome Dermis of the back Connective tissues"]
Myo["๐ช Myotome Skeletal muscle cells Epimeres and hypomeres"]
Start --> Sclero
Start --> DermoM
DermoM --> Derma
DermoM --> Myo
style Start fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
style Sclero fill:#F7C398, stroke:#AE6B35, stroke-width:1px, rx:10, ry:10, color:#9C5D29
style DermoM fill:#CFBFF7, stroke:#8560C1, stroke-width:1px, rx:10, ry:10, color:#613C9D
style Derma fill:#FFCBE1, stroke:#E34E79, stroke-width:1px, rx:10, ry:10, color:#B0294B
style Myo fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve ced01c70-7feb-4b5f-8679-6071ffd58117
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
Start["๐งฌ Paraxial Mesoderm Primary germ layer Bilateral tissue bands"]
Somites["๐ฆ Somites Segmented blocks Form along neural tube"]
Sclero["๐ฆด Sclerotome Ventral-medial part Mesenchymal cells"]
Derma["๐งค Dermatome Dorsal-lateral part Skin precursors"]
Myo["๐ช Myotome Intermediary part Muscle progenitor cells"]
Vert["๐๏ธ Vertebrae and Ribs Axial skeleton Cartilage and bone"]
Dermis["๐งฅ Dermis of Back Connective tissue Posterior skin layer"]
Muscle["๐ Skeletal Muscle Body wall muscles Limb musculature"]
Start --> Somites
Somites --> Sclero
Somites --> Derma
Somites --> Myo
Sclero --> Vert
Derma --> Dermis
Myo --> Muscle
style Start fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
style Somites fill:#E3E5E5, stroke:#5F747D, stroke-width:1px, rx:10, ry:10, color:#435A64
style Sclero fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style Derma fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style Myo fill:#FFDAB4, stroke:#BF814A, stroke-width:1px, rx:10, ry:10, color:#5D3A00
style Vert fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style Dermis fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style Muscle fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve 315915ca-a65b-485d-8e52-aedb6179f1a7
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
START["๐ฑ Limb Bud Development Initial outgrowth stage Basic mesoderm structure"]
AER["๐ Apical Ectodermal Ridge Distal limb tip ectoderm Signals limb elongation"]
ZPA["๐งญ Zone of Polarizing Activity Posterior limb margin Determines digital identity"]
DO["๐ค Dorsal-Ventral Control Wnt7a and En1 signals Positions nails and palms"]
PD["โฌ๏ธ Proximo-distal Lengthening FGF gene expression Longitudinal bone growth"]
AP["โ๏ธ Antero-posterior Patterning SHH protein secretion Thumb vs little finger"]
DV["๐ฆถ Dorso-ventral Axis Upper vs lower surfaces Skin and muscle layout"]
START --- AER
START --- ZPA
AER -- "FGFs" --> PD
ZPA -- "SHH" --> AP
DO --> DV
style START fill:#E3E5E5, stroke:#5F747D, stroke-width:1px, rx:10, ry:10, color:#435A64
style AER fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style ZPA fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style DO fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style PD fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
style AP fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
style DV fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve bd226906-3fd5-4bed-8ecf-8ca7f708bd31
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
START["๐งฌ Paraxial Mesoderm Primary germ layer Embryonic segment source"]
SOMITE["๐ฆ Somite Segmented tissue block Paired axial structures"]
SCLERO["๐ฆด Sclerotome Forms axial skeleton Vertebrae and ribs"]
DERMA["๐ฉน Dermatome Dermis of back skin Subcutaneous tissues"]
MYO["๐ช Myotome Skeletal muscle cells Trunk and limb muscles"]
START --> SOMITE
SOMITE --> SCLERO
SOMITE --> DERMA
SOMITE --> MYO
style START fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
style SOMITE fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style SCLERO fill:#F7C398, stroke:#AE6B35, stroke-width:1px, rx:10, ry:10, color:#9C5D29
style DERMA fill:#FFCBE1, stroke:#E34E79, stroke-width:1px, rx:10, ry:10, color:#B0294B
style MYO fill:#CFBFF7, stroke:#8560C1, stroke-width:1px, rx:10, ry:10, color:#613C9D
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve 00b07f32-0a98-441d-a2c3-658259979a00
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
subgraph SpinalCord["่้ซ SPINAL CORD"]
N1["๐ง 1st Order Neuron Dorsal root ganglion Peripheral sensory input"]
N2["๐งฌ 2nd Order Neuron Posterior horn site Synapse with primary"]
Cross["๐ Decussation Ant. white commissure Cross to other side"]
Ascend["โฌ๏ธ Ascends Contralateral Spinothalamic tract Travels up spinal cord"]
end
subgraph Brain["่ BRAIN"]
N3["๐ฌ 3rd Order Neuron VPL of Thalamus Relay to cortex"]
Cortex["๐ฏ Somatosensory Cortex Final sensory target Postcentral gyrus site"]
end
N1 --> N2
N2 --> Cross
Cross --> Ascend
Ascend --> N3
N3 --> Cortex
style SpinalCord fill:#F2F2F2,stroke:#5F747D,stroke-width:2px,color:#435A64
style Brain fill:#F2F2F2,stroke:#5F747D,stroke-width:2px,color:#435A64
style N1 fill:#89D5F7,stroke:#5886E0,stroke-width:1px,rx:10,ry:10,color:#1961b4
style N2 fill:#89D5F7,stroke:#5886E0,stroke-width:1px,rx:10,ry:10,color:#1961b4
style Cross fill:#FCC4B7,stroke:#D4655F,stroke-width:1px,rx:10,ry:10,color:#A44540
style Ascend fill:#CFBFF7,stroke:#8560C1,stroke-width:1px,rx:10,ry:10,color:#613C9D
style N3 fill:#89D5F7,stroke:#5886E0,stroke-width:1px,rx:10,ry:10,color:#1961b4
style Cortex fill:#A5C9C2,stroke:#41645D,stroke-width:1px,rx:10,ry:10,color:#274F47
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve efccb344-8962-43ee-a7d2-298d72a38a1c
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
Root["๐ฉน Classic Psoriasis Agents Non-biologic topical options Traditional clinical regimens"]
Coal["๐ค Coal Tar Goeckerman Regimen use Suppresses DNA synthesis"]
SalAcid["๐งช Salicylic Acid Keratolytic action 2-10% Removes scales effectively"]
Anthralin["๐ก Anthralin (Dithranol) SCAT or Ingram Regimen Reduces cell proliferation"]
Root --> Coal
Root --> SalAcid
Root --> Anthralin
style Root fill:#E3E5E5, stroke:#5F747D, stroke-width:1px, rx:10, ry:10, color:#435A64
style Coal fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style SalAcid fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style Anthralin fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve 03aa9cc3-79b9-4581-9cb8-71a7849c8752
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
START["๐ฑ Metanephros Permanent kidney precursor Embryonic development"]
UB["๐งฌ Ureteric Bud Dorsal outgrowth duct Derived from Wolffian duct"]
MM["๐งช Metanephric Mesenchyme Induces bud branching Undifferentiated blastema"]
COLL["๐ง Collecting System Forms ureter and pelvis Calyces and collecting ducts"]
NEPH["๐ฌ Nephron Formation Glomerulus and Bowman capsule Proximal and distal tubules"]
%% Connections
START --> UB
UB -- Induces differentiation --> MM
MM -- Induces branching --> UB
UB --> COLL
MM --> NEPH
%% Stylings
style START fill:#E3E5E5, stroke:#5F747D, stroke-width:1px, rx:10, ry:10, color:#435A64
style UB fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style MM fill:#F7C398, stroke:#AE6B35, stroke-width:1px, rx:10, ry:10, color:#9C5D29
style COLL fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
style NEPH fill:#CFBFF7, stroke:#8560C1, stroke-width:1px, rx:10, ry:10, color:#613C9D
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve 04c79791-2b18-40d0-bb84-89fa258ec2e3
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
Start["๐งฌ Bipotential Gonad Undifferentiated state Primary sex organ precursor"]
Testis["โ๏ธ Testis Male gonad development SRY gene expression"]
Ovary["โ๏ธ Ovary Female gonad development Absence of SRY gene"]
MullDeg["๐ซ Mullerian Duct Sertoli cell AMH action Duct system degenerates"]
WolfDev["๐ช Wolffian Duct Leydig cell testosterone Duct system develops"]
MullDev["๐ธ Mullerian Duct Absence of AMH Duct system develops"]
WolfDeg["๐ซ Wolffian Duct Absence of testosterone Duct system degenerates"]
Start -- "SRY gene present" --> Testis
Start -- "No SRY gene" --> Ovary
Testis -- "Sertoli: AMH" --> MullDeg
Testis -- "Leydig: Testosterone" --> WolfDev
Ovary -- "No AMH" --> MullDev
Ovary -- "No Testosterone" --> WolfDeg
style Start fill:#E3E5E5, stroke:#5F747D, stroke-width:1px, rx:10, ry:10, color:#435A64
style Testis fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style Ovary fill:#FFCBE1, stroke:#E34E79, stroke-width:1px, rx:10, ry:10, color:#B0294B
style MullDeg fill:#FCC4B7, stroke:#D4655F, stroke-width:1px, rx:10, ry:10, color:#A44540
style WolfDev fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
style MullDev fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
style WolfDeg fill:#FCC4B7, stroke:#D4655F, stroke-width:1px, rx:10, ry:10, color:#A44540
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve 2470be0d-a70d-4c6a-87c5-70fe4f035fb2
๐ท Original Image
Captions: Flowchart diagram
๐ Generated Mermaid
%%{init: {'theme': 'base', 'themeVariables': { 'fontFamily': 'Nunito, sans-serif'}}}%%
flowchart TD
Start["๐งช Syphilis Serology Diagnostic testing pathways Standard screening options"]
Trad["๐ Traditional Algorithm Initial screening method Nontreponemal first approach"]
Rev["๐ Reverse Algorithm Alternative screening method Treponemal first approach"]
TradStep1["๐ Nontreponemal Test RPR or VDRL screening Checks for active infection"]
RevStep1["๐งฌ Treponemal Test EIA or CIA screening Checks for specific antibodies"]
TradPos["โ Treponemal Test Confirmatory testing done Specific antibody detection"]
TradNeg["โ Syphilis Unlikely Negative screening result Retest if suspicion high"]
RevPos["โ Nontreponemal Test RPR or VDRL titration Determines disease activity"]
RevNeg["โ Syphilis Unlikely Negative screening result Retest if suspicion high"]
Start --> Trad
Start --> Rev
Trad --> TradStep1
TradStep1 -- Reactive --> TradPos
TradStep1 -- Non-Reactive --> TradNeg
Rev --> RevStep1
RevStep1 -- Reactive --> RevPos
RevStep1 -- Non-Reactive --> RevNeg
style Start fill:#E3E5E5, stroke:#5F747D, stroke-width:1px, rx:10, ry:10, color:#435A64
style Trad fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style Rev fill:#89D5F7, stroke:#5886E0, stroke-width:1px, rx:10, ry:10, color:#1961b4
style TradStep1 fill:#F7C398, stroke:#AE6B35, stroke-width:1px, rx:10, ry:10, color:#9C5D29
style RevStep1 fill:#F7C398, stroke:#AE6B35, stroke-width:1px, rx:10, ry:10, color:#9C5D29
style TradPos fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
style TradNeg fill:#FCC4B7, stroke:#D4655F, stroke-width:1px, rx:10, ry:10, color:#A44540
style RevPos fill:#A5C9C2, stroke:#41645D, stroke-width:1px, rx:10, ry:10, color:#274F47
style RevNeg fill:#FCC4B7, stroke:#D4655F, stroke-width:1px, rx:10, ry:10, color:#A44540
โ
Approve
โ Reject
npx ts-node scripts/migrate-flowcharts-to-markdown.ts approve 81f65df8-64e2-41f5-b5fb-93b2a23762e6