Synaplan
开源 AI 软件平台,面向企业:自托管 AI 代理,符合 GDPR 的聊天机器人小部件,RAG 知识库,WhatsApp 与 Outlook AI,MCP,多模型路由。支持 Docker、Kubernetes 或在 Germ 托管。
AI 翻译
尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证Local-first pharmacy EMR / dispensing receipt (UKE) system built with Next.js and RxDB — 薬局向けローカルファーストEMR・レセプト(UKE)システム
翻译准备中
取自仓库 README
正在加载完整 README。
查看完整 README ↗薬局業務をこれ1つで。ローカルファーストの調剤薬局向け電子薬歴・レセプト(UKE)システム
A local-first pharmacy EMR & dispensing-receipt (UKE) system for Japanese community pharmacies, built with Next.js and RxDB. Prescription intake (OCR / QR / e-prescription), GS1-verified picking, SOAP medication records with AI-drafts, R8 (2026) fee calculation, UKE export, inventory with lot/expiry tracking, tamper-evident audit logs, and encrypted offline-capable local storage — no server required.
This software is not a certified medical device and not an officially certified receipt-computer (レセプトコンピュータ) system under Japanese regulation. It is provided "AS IS", without warranty of any kind, under the Apache License 2.0 (see LICENSE) — see §7–8 of that license for the full disclaimer of warranty and limitation of liability.
Anyone deploying this for real patient care or real insurance billing is solely responsible for independently verifying claim logic, drug master data, and generated documents against current official sources (厚生労働省 告示・通知、支払基金仕様、審査支払機関の運用) before using it in production. AI-assisted suggestions in this app (SOAP drafts, risk flags, etc.) are candidate proposals only; the pharmacist is responsible for every clinical and billing decision — see "設定 > レセプト点検" for implementation status and known gaps, and docs/user_manual.md for the AI-assist scope and safeguards.
本ソフトウェアは、認証された医療機器およびレセプトコンピュータではありません。無保証で提供されます(詳細はApache License 2.0本文を参照)。実際の患者対応・保険請求に用いる場合は、算定ロジック・医薬品マスタ・生成帳票を最新の公式資料と必ず突合し、利用者自身の責任で検証してください。AI補助は候補提示に過ぎず、臨床・請求の最終判断は薬剤師が行います。
npm install
npm run dev
# → http://localhost:3000
デモデータは請求(UKE)に混入しない設計で、ダッシュボードの「デモデータを片づける」からいつでも一括削除できます。
| レイヤ | 技術 |
|---|---|
| フロントエンド | Next.js (App Router) / React / TypeScript |
| ローカルDB | RxDB + Dexie (IndexedDB)、encryption-crypto-js による暗号化 |
| 参照マスタ | SQLite WASM/OPFS(薬品検索・用法コード) |
| OCR / バーコード | Tesseract.js(日本語)/ @zxing(GS1・QR) |
| 帳票 | ブラウザ印刷(CSSレイアウト、実紙検証手順つき) |
| テスト | node:test + tsx(ユニット 1,700+)、Puppeteer(E2E・印刷回帰) |
サーバーサイドの患者データ保存は既定ではありません(単独端末運用)。バックエンドAPIは開発用ユーティリティ(公式PDF照合など)のみです。店舗内で複数端末を使う場合のみ、メイン端末のNext.jsサーバー内(node:sqlite・AES-256-GCM暗号化)に正本を集約し、サテライト端末は患者データを端末に保存しません(PHARMACY_SYNC_ROLE、詳細は docs/satellite_terminal_sync_plan.md)。
本番運用の必須設定: NEXT_PUBLIC_DB_PASSWORD を長いランダム値に設定してください(.env.example)。未設定時はインストールごとにランダム鍵を生成しますが、明示設定を推奨します。
src/lib/data/ の医薬品マスター(支払基金由来)とPMDA添付文書由来の相互作用・禁忌データは、公的機関の公開情報から生成したスナップショットです。出所・利用条件・鮮度の注意は NOTICE を参照してください。実運用前にはアプリ内「設定 > マスタ更新」で最新の公式マスターへ更新してください。
Issue・Pull Request歓迎です。開発環境のセットアップとテスト実行は docs/developer_manual.md を参照してください。
npm run lint
npx tsc --noEmit
npx tsx --test $(find src -name "*.test.ts")
脆弱性の報告は公開Issueではなく SECURITY.md の手順でお願いします。
Licensed under the Apache License, Version 2.0.
Bundled reference data (medicine master, package-insert derived interaction/label data) is redistributed under separate terms — see NOTICE for attribution and source details.
© 2026 pharma-oss Project Contributors