← all corpora

dailymed

reference corpus · status live · domain HEALTH (Health and clinical reference) · lane A · refresh pinned · tags US · HEALTH · DATA-ENGINES

What an agent uses it for

an agent answering medication questions queries this for what the FDA-approved label actually says: indications, do-not-crush/dose-form rules, epidural-timing windows before/after anticoagulants, nitrate co-administration intervals, intraoperative floppy iris warnings (demand: patient-safety medication questions; 28k records over the current SPL set)

Use it
curl -fsSLO https://raw.githubusercontent.com/xerj-org/xerj/corpus-hub/tools/xerj-code/hub/dailymed.json
xerj corpus add --from ./dailymed.json
xerj corpus index dailymed then xerj code dailymed "your question"

Needs the xerj CLI and a local node running; the copy prompt covers both, checks each step, and shows how to stop only the node you started. No shell: the MCP tool xerj_code_search with corpus: "dailymed", once the corpus is indexed on the node.

Sources and pins

sourcepinlicencesizereview note
corpus-dailymed 21a87b3cbed4US-government public domain (NLM), attribution requested 26.8 MB / 18,732 files Mirror of NLM DailyMed current SPL full-text (18,732 files split per label section, one .txt per section; 28,018 records, dupcheck CLEAN 28018/20036/0). No licence file ships with the data; mirror README quotes the governing NLM pages verbatim: US-government works are not subject to copyright, reproduction free, attribution 'Courtesy of the National Library of Medicine' requested. G7 graded 2026-1

26.8 MB across 18,732 files. Added 2026-10-04.

People behind this corpus

Upstream authors (1)

Owners of the pinned repositories, credited under each repository's licence. They have not signed up here; their pages are attribution.

All contributors.

Rights

US-government public domain (NLM), attribution requested. Redistribution permitted with attribution per the licence review. The review block records a human opening each licence file at the pin. Detector output is a hint, never the verdict.

Retrieval spot-check (G7)

5.0/5 relevant. Graded .

Q: The eye doctor gave me a Tyrvaya nasal spray: what condition is it actually supposed to treat?
expect:
top-5: corpus-dailymed/01/014c93dc-5737-479c-a9f0-aaadac1ac298__patient-package-insert.txt / corpus-dailymed/01/014c93dc-5737-479c-a9f0-aaadac1ac298__patient-package-insert.txt / corpus-dailymed/01/014c93dc-5737-479c-a9f0-aaadac1ac298__instructions-for-use.txt / corpus-dailymed/01/014c93dc-5737-479c-a9f0-aaadac1ac298__1-indications-and-usage.txt / corpus-dailymed/01/014c93dc-5737-479c-a9f0-aaadac1ac298__instructions-for-use.txt
grade: pass
Q: Is it okay to split or chew my metformin extended-release tablet if it's hard to swallow?
expect:
top-5: corpus-dailymed/10/10aa7cc4-4f9a-4403-a5c0-753d2aa5f0f9__medication-guide.txt / corpus-dailymed/6f/6faf465b-c3a3-4ae7-9e16-1ba758f6962a__2-2-administration-instructions.txt:1 / corpus-dailymed/d6/d698c106-2322-401e-b738-cbd83c843ecf__2-4-administration.txt:59 / corpus-dailymed/0e/0ef9de1a-b786-4b6c-a250-3f5ac532b16a__2-1-adult-dosage-and-administration.txt / corpus-dailymed/dd/dd62a2b8-300b-d92b-7b27-a30eaa68fdd3__2-2-important-administration-instructions.txt
grade: pass
Q: Someone on Eliquis still has an epidural catheter in after surgery: how long after their last dose can it come out?
expect:
top-5: corpus-dailymed/41/41a133ef-e461-48ad-8221-b735bdd0ec25__5-3-spinal-epidural-anesthesia-or-puncture.txt / corpus-dailymed/41/41a133ef-e461-48ad-8221-b735bdd0ec25__medication-guide.txt / corpus-dailymed/d6/d6de1719-6fbd-4386-9f81-d65980dc4bd8__5-3-spinal-epidural-anesthesia-or-puncture.txt / corpus-dailymed/41/41a133ef-e461-48ad-8221-b735bdd0ec25__warning-a-premature-discontinuation-of-eliquis-increases-the-risk-of-thrombotic.txt / corpus-dailymed/41/41a133ef-e461-48ad-8221-b735bdd0ec25__17-patient-counseling-information.txt
grade: pass
Q: My husband took a tadalafil tablet and now has bad chest pain: how long do we have to wait before giving nitroglycerin?
expect:
top-5: corpus-dailymed/66/66e24ced-0008-40cb-b242-9d9add1f665c__17-1-nitrates.txt / corpus-dailymed/09/09ad27a1-3908-4533-b84c-7a7fd3514101__17-1-nitrates.txt / corpus-dailymed/16/164394b3-d7ba-4bbf-b64b-e2dd15735ea8__patient-information.txt:180 / corpus-dailymed/69/698a46a6-29b5-4763-9442-ec9ad5eea86b__information-for-the-patient.txt / corpus-dailymed/76/761dc0f8-2f65-4615-ab49-a4bcffd40ce9__17-1-nitrates.txt
grade: pass
Q: I've been on tamsulosin for my prostate for years and I'm having cataract surgery next month: what should I warn the eye surgeon about?
expect:
top-5: corpus-dailymed/96/9631351f-66f4-45e5-a866-1e59311bd4d7__patient-information.txt / corpus-dailymed/82/82d65964-de00-42c2-baaa-cc3de744b8eb__patient-information.txt / corpus-dailymed/96/9631351f-66f4-45e5-a866-1e59311bd4d7__17-patient-counseling-information.txt / corpus-dailymed/82/82d65964-de00-42c2-baaa-cc3de744b8eb__17-patient-counseling-information.txt / corpus-dailymed/82/82d65964-de00-42c2-baaa-cc3de744b8eb__5-5-intraoperative-floppy-iris-syndrome.txt
grade: pass

Agent score

From structured reviews that AI agents send after they use this corpus: through xerj hub pull, MCP queries, or the xerj_corpus_feedback tool. Each review rates usefulness 1–5, whether the answer was found, and freshness. This is not the human hub star count shown above. The two are never mixed.

Loading agent reviews…

Score = Bayesian mean of usefulness (prior 3.0 with weight 5), so a few reviews cannot swing it. One voice per installation per corpus per week; abnormal-volume reviewers are dropped. Coverage gaps appear only once 3 or more agents report the same one. How it works.

Traffic

Traffic stats load from /api/hub-traffic when this page runs JavaScript.

Views: visits to this page (search-engine crawlers excluded). Unique: distinct visitors per day, by a hash salted with the day, so the 14-day unique figure adds up daily uniques. Pulls: growth of the GitHub release download count of this corpus’s pack (xerj hub pull downloads from there; includes our own pack-verification downloads). Searches: hosted-hub queries for this corpus. Referring sites appear after 3 views. What is collected.

Agent usage

Usage stats load from /api/hub-usage when this page runs JavaScript.

Counted: requests agents send to the hosted hub API (hub.xerj.org/api/v1/code, /def) for this corpus. Queries on your own node (xerj code, xerj ask with a local pack, the MCP tools) never leave your machine and are not counted. Templates replace identifiers, versions, paths, numbers and quoted text with placeholders; one is shown only once it has been seen 3 times in 30 days, and any word asked fewer than 3 times shows as <term>. Raw queries are never published. What is collected.