定制 flowrise-hms/patient 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

flowrise-hms/patient

Composer 安装命令:

composer require flowrise-hms/patient

包简介

Patient management module for FlowRise HMS providing comprehensive patient registration, identification, demographics management, and emergency contact handling. Implements MRN auto-generation, UUID-based identifiers for interoperability, and PII encryption for data protection.

README 文档

README

In one sentence: The Patient module is where the hospital creates and maintains who the patient is—legal name, demographics, contact details, official IDs (including MRN, Medical Record Number, and a global UUID), emergency contacts, and related records—so every other part of the system can point at one trusted person.

Why this module exists

Before anyone can document a visit, order a test, or schedule an appointment, the facility must answer: “Which human being is this?” That sounds obvious, but in real hospitals patients arrive with many IDs (national ID, insurance number, passport), may share similar names, and need privacy for phone and email. This module is the single place that registers the patient and keeps identifiers consistent.

Where Patient fits in FlowRise

  • Depends on Core for organization and branch context (where the patient is registered) and shared platform services.
  • Clinical, Appointment, Billing, and Insurance features all assume a Patient record exists when they record encounters, bookings, charges, or policies.
flowchart LR
  Core[Core]
  Patient[Patient]
  Clinical[Clinical]
  Appointment[Appointment]
  Billing[Billing]
  Insurance[Insurance]
  Core --> Patient
  Patient --> Clinical
  Patient --> Appointment
  Patient --> Billing
  Patient --> Insurance
Loading

What you can do with it (everyday language)

  • Register a new patient with demographics and contact information.
  • Assign and manage identifiers (MRN, NHIS or other insurance numbers, national ID, passport, custom IDs).
  • Maintain emergency contacts (next of kin) for when the care team must reach someone quickly.
  • Search and open a patient dossier from reception or clinical workflows.
  • Protect sensitive fields (the system encrypts many personally identifiable fields at rest—think phone, email, and similar data).

Exact screens and click paths are described for staff in the User guide: Patient management.

How it works (simple)

  1. Staff use the admin web app (Filament) to open the patient area.
  2. They fill registration or edit forms; validation runs so duplicate or invalid IDs are caught early.
  3. The module’s service layer applies business rules (for example, how an MRN is generated or validated) instead of scattering logic across random screens.
  4. Data is saved to the patients and related tables; other modules only reference the patient by stable IDs.

What is inside this folder (high level)

Path Purpose
app/Models/ Patient, identifiers, emergency contacts, schools, etc.
app/Classes/Services/ Registration, search, identifiers, schools—the place business rules live.
app/Filament/ Patient cluster, resources, forms, tables, and pages staff interact with.
app/Policies/ Fine-grained access (who may create or view a patient).
app/Events/, app/Observers/ Hooks when patients are created or updated (for integrations and side effects).
database/migrations/ Schema for patient-related tables.

Dependencies

  • Core (flowrise-hms/core in composer.json / module.json requires).

Rollout status for all modules: Module status.

Further reading

For developers

  • Namespace: Modules\Patient\...
  • Service provider: Modules\Patient\Providers\PatientServiceProvider
  • Prefer services over ad hoc Model::create() in new code so rules stay consistent with existing patterns.
  • Tests: under tests/; run from repo root with paths pointing at Modules/Patient/tests as needed.

统计信息

  • 总下载量: 0
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 2
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-06-23

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固