Mirobody
The canonical registry of human health — roughly two thousand standardized indicators, clinical and lifestyle, resolved into one language.
翻訳待ち
No updates detected yet. GitHub releases will appear here.
The maker's introduction consists of the line above. Read the repository README for more details. Repository README ↗
Loading the full README.
Read the full README ↗A Telegram bot for CPMN: CarePlanMaster for Nurses by Jawad Waadallah Basheer (College of Nursing, University of Mosul) and Ameer Ezat Hadi (College of Nursing, University of Kufa). Send it a topic and it replies with that care plan page as a PDF.
public/pdfs/v2/), taken straight from the final book (NANDA-I 2024–2026 labels)PNEUMONIA, Pneumonia, pneumoniapnemonia, hart failur, schizophernia, cesarianMI, COPD, DKA, CVA, DVT, TKR, PPH …anaemia / anemia, tumour / tumor4.4, 2-1السكري, الربو, ذات الرئة, الولادة القيصرية/list browses every sectionRuns as serverless functions on Vercel, deployed straight from this GitHub repo. No server, no Cloudflare, free tier is enough.
/newbot.bot.123456789:AAH...).BOT_TOKEN Value: your token from BotFatherOpen this address in your browser (use your own Vercel domain):
https://YOUR-PROJECT.vercel.app/api/setup
You should see ✅ Bot connected. Now send your bot pneumonia in Telegram.
If you add or change
BOT_TOKENlater, redeploy (Deployments → ⋯ → Redeploy) and open/api/setupagain.
| Path | What it does |
|---|---|
api/webhook.js | Receives Telegram messages, searches, sends the PDF |
api/setup.js | Registers the webhook and the bot's command menu |
lib/search.js | Case-insensitive, typo-tolerant search with abbreviations and Arabic |
data/plans.json | Topic index (id, title, part, PDF file, extra search names) |
public/pdfs/v2/ | One PDF per care plan, served as static files |
scripts/ | extract_from_book.py cuts the final book PDF into one PDF per care plan and rewrites data/plans.json |
To add search names for a topic, edit aliases in data/plans.json (or scripts/aliases.py and rerun scripts/build.sh), commit, and Vercel redeploys automatically.
When the book changes, export it to PDF and run scripts/build.sh path/to/CPMN_book.pdf (needs pip install pymupdf). It replaces the PDFs and updates data/plans.json, keeping the search names from scripts/aliases.py.
Important: Telegram caches a PDF by its web address. When you publish new PDFs, change the folder name (
v2→v3) in bothapi/webhook.js(PDF_DIR) andscripts/extract_from_book.py(OUT_DIR), otherwise people keep receiving the old copies.
Run the tests with npm test.
/start – how to use/list – browse sections and topics/about – about the bookNote: the PDF links are public on your Vercel domain (Telegram needs to fetch them). Keep the GitHub repo private if you don't want the source shared.