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