flowrise-hms/pharmacy
Composer 安装命令:
composer require flowrise-hms/pharmacy
包简介
Lean pharmacy module for medication catalog, stock, ordering, and dispensing.
README 文档
README
In one sentence: The Pharmacy module manages medication catalog, stock, and dispensing so clinical orders can turn into safe, trackable medicine delivery.
Why this module exists
Hospitals need a clear answer to three questions:
- What medicines do we have?
- How much stock is available right now?
- Who dispensed what, for which patient order?
This module keeps that workflow in one place and links it to patient and clinical context.
Where Pharmacy fits in FlowRise
- Depends on Core for shared system foundations.
- Depends on Patient and Clinical so medication work is tied to the right person and request item.
- Integrates with clinical
RequestItemrecords by attaching pharmacyDispenserelations.
flowchart LR Core[Core] Patient[Patient] Clinical[Clinical] Pharmacy[Pharmacy] Core --> Pharmacy Patient --> Pharmacy Clinical --> PharmacyLoading
What you can do with it
- Maintain a medication catalog.
- Track stock items and stock movement reasons.
- Place and process medication orders.
- Record dispensing events against clinical request items.
- Run Pharmacy POS checkout for walk-in or OTC sales.
- Enforce safety/business checks (for example insufficient stock exceptions).
How it works (simple)
- Clinical staff place medication-related requests in clinical workflows.
- Pharmacy services validate stock and medication details.
- Dispensing records are created and linked back to clinical request items.
- Stock levels and movement metadata are updated for traceability.
What is inside this folder
| Path | Purpose |
|---|---|
app/Models/ |
Medication, stock, and dispense entities. |
app/Classes/Services/ |
Stock, ordering, and dispense business logic. |
app/Filament/ |
Pharmacy plugin/UI integration points. |
app/Enums/ |
Controlled schedules, dosage forms, stock reasons. |
app/Exceptions/ |
Domain-specific pharmacy errors. |
app/Providers/ |
Module boot/register logic and route/event providers. |
database/migrations/ |
Pharmacy schema changes. |
Dependencies
flowrise-hms/coreflowrise-hms/clinicalflowrise-hms/patient
See module status for rollout state.
Further reading
- Staff-facing workflows: Pharmacy Workflows
- Project-level docs: docs/README.md
- Clinical workflows context: docs/user-guide/clinical-workflows.md
For developers
- Namespace:
Modules\Pharmacy\... - Service provider:
Modules\Pharmacy\Providers\PharmacyServiceProvider - Boot-time relation extension:
RequestItem::resolveRelationUsing('dispenses', ...) - Stock abstraction is bound via
StockProviderContract->StockService.
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-06-29