How ahmadwirawan74-ui/medpro-all-in-one works
MedPro is an offline Obsidian medical-reference and clinical-workflow plugin. The user opens it through Obsidian’s ribbon or command; the plugin creates or reveals its hub, which routes to feature pages. Those pages provide reference content, calculators, patient documentation, and handoff tools, with plugin data stored locally. The graph preserves the README’s major capabilities; several feature links are documented by the README or hub routing, while unsampled implementation details and unverified relationships are omitted.
Main entry points: hub-view.ts Hub and router · med-cppt.ts CPPT and patients · main.ts Plugin entry · med-anat.ts Anatomy atlas
Components 24
Plugin shell
- Plugin entry
src/main.ts - Hub and router
src/hub-view.ts - Local plugin data
- Sound engine
src/sound.ts
Clinical reference
- Disease reference
src/medis3.ts - Disease dataset
src/med-dis.ts - Physical exam
src/med-pfui.ts - Drug reference
src/medis.ts - Drug data
src/med-data.ts - Dose and interaction engine
src/med-engine.ts
Anatomy atlas
- Anatomy atlas
src/med-anat.ts - 3D model viewer
src/anat3d-viewer.ts - Anatomy model data
src/anat3d-store.ts - Anatomy learning content
src/anat3d-content.ts
Patient workflow
- CPPT and patients
src/med-cppt.ts - Jaga and SBAR
src/med-jaga.ts - Prescription
src/medis3.ts - PDF export
src/med-pdf.ts
Clinical tools
- Lab and blood gas
src/med-lab.ts - ECG and radiology
src/med-ekg.ts - Antidote calculators
src/med-antidot.ts - Clinical calculators
src/medis2.ts
Other components
- Clinician
- Obsidian
Connections 31
- Clinician → Obsidian: opens plugin
README.md - Obsidian → Plugin entry: loads plugin
README.md - Plugin entry → Hub and router: registers and opens
src/main.ts - Hub and router → Disease reference: routes to
src/hub-view.ts - Hub and router → Physical exam: routes to
src/hub-view.ts - Hub and router → Drug reference: routes to
src/hub-view.ts - Hub and router → Anatomy atlas: routes to
src/hub-view.ts - Hub and router → CPPT and patients: routes to
src/hub-view.ts - Hub and router → Jaga and SBAR: routes to
src/hub-view.ts - Hub and router → Prescription: routes to
src/hub-view.ts - Hub and router → Lab and blood gas: routes to
src/hub-view.ts - Hub and router → ECG and radiology: routes to
src/hub-view.ts - Hub and router → Antidote calculators: routes to
src/hub-view.ts - Hub and router → Clinical calculators: routes to
src/hub-view.ts - Disease reference → Disease dataset: looks up disease
src/medis3.ts - Disease dataset → Drug data: uses linked prescriptions
- Drug reference → Dose and interaction engine: uses dosing logic
src/medis.ts - Dose and interaction engine → Drug data: reads drug records
src/med-engine.ts - Dose and interaction engine → Drug data: reads BNF interactions
src/med-engine.ts - Anatomy atlas → 3D model viewer: controls viewer
src/med-anat.ts - Anatomy atlas → Anatomy model data: queries structures
src/med-anat.ts - Anatomy atlas → Anatomy learning content: shows learning content
src/med-anat.ts - 3D model viewer → Anatomy model data: reads model data
src/anat3d-viewer.ts - CPPT and patients → Jaga and SBAR: provides handoff context
src/med-cppt.ts - CPPT and patients → Prescription: inserts prescription
src/med-cppt.ts - CPPT and patients → PDF export: exports notes
src/med-cppt.ts - Jaga and SBAR → CPPT and patients: uses patient notes
src/med-jaga.ts - Jaga and SBAR → PDF export: exports handoff
src/med-jaga.ts - Prescription → PDF export: exports prescription
src/medis.ts - Plugin entry → Sound engine: configures sound
src/main.ts - Plugin entry → Local plugin data: stores patient data
README.md