The most popular open source electronic health records and medical practice management solution.
OpenEMR is a Free and Open Source electronic health records and medical practice management application. It features fully integrated electronic health records, practice management, scheduling, electronic billing, internationalization, free support, a vibrant community, and a whole lot more. It runs on Windows, Linux, Mac OS X, and many other platforms.
OpenEMR is a leader in healthcare open source software and comprises a large and diverse community of software developers, medical providers and educators with a very healthy mix of both volunteers and professionals. Join us and learn how to start contributing today!
Already comfortable with git? Check out CONTRIBUTING.md for quick setup instructions and requirements for contributing to OpenEMR by resolving a bug or adding an awesome feature 😊.
Community and Professional support can be found here.
Extensive documentation and forums can be found on the OpenEMR website that can help you to become more familiar about the project 📖.
Report these on the Issue Tracker. If you are unsure if it is an issue/bug, then always feel free to use the Forum and Chat to discuss about the issue 🪲.
Check out SECURITY.md
Check out API_README.md
Check out DOCKER_README.md
Check out FHIR_README.md
If using OpenEMR directly from the code repository, then the following commands will build OpenEMR (Node.js version 24.* is required) :
composer install --no-dev
npm install
npm run build
composer dump-autoload -o
This project exists thanks to all the people who have contributed. [Contribute].
Thanks to our ONC Certification Major Sponsors!
clinical_rules.php: procedure inclusion filter inverted by !$pc === false operator precedence
https://github.com/openemr/openemr/issues/15830
Labels: 없음
Thank you for your contribution. OpenEMR (and global healthcare) continues to get better because of people like you!
The maintainers of OpenEMR want to get your pull request in as seamlessly as possible, so please ensure your code is consistent with our development policies.
For most contributions, you can submit a PR directly — no issue required. The PR description should explain the motivation and approach clearly enough for reviewers to understand the change without additional context.
For larger changes — new features, architectural changes, or anything that would benefit from community input — consider getting feedback first through one of these channels:
OpenEMR is split across multiple repositories. Make sure your contribution targets the right one:
openemr-cmd, env-installer, monitor, portainer, env-migrator).When in doubt, ask on the forum or open an issue to discuss where the work belongs.
The interface/, portal/ and library/ directories, including interface/modules/, are frozen. Code written next to legacy code tends to copy its patterns, so new work goes elsewhere:
src/. To fix a bug in a legacy file, move the code you need to change into a src/ class and call it from the legacy file..tpl) templates.public/, for example in public/js/ and public/css/. JavaScript modules get Jest tests in tests/js/. Do not add inline JavaScript to pages or templates, either as <script> blocks or as event-handler attributes such as onclick. Load modules with <script src> and pass page data through data- attributes.oe-module-claimrev-connect is). Do not add modules under interface/modules/.Pull requests that grow interface/, portal/ or library/ without moving at least as much code out to src/ may be closed without review. A repository admin can override this by approving the pull request, so a bugfix that can't reasonably extract code can still land. See #14764 for the rationale.
OpenEMR uses Conventional Commits for all commits merged to master and rel-* branches. Your PR title must follow this format:
<type>(<scope>): <description>
| Type | Description |
|---|---|
feat | New feature |
fix | Bug fix |
docs | Documentation only |
style | Code style (formatting, whitespace) |
refactor | Code refactoring (no feature/fix) |
perf | Performance improvement |
test | Adding/updating tests |
build | Build system or dependencies |
ci | CI configuration |
chore | Maintenance tasks |
revert | Revert a previous commit |
feat(api): add PATCH support for patient resourcefix(calendar): correct date parsing for recurring eventsdocs(readme): update installation instructionschore(deps): bump monolog/monolog from 3.9.0 to 3.10.0Scopes are optional but encouraged. Use them to indicate the area of the codebase affected (e.g., api, calendar, patient, billing, deps).
For breaking changes, add ! after the type/scope or include a BREAKING CHANGE: footer:
feat(api)!: change patient endpoint response format
BREAKING CHANGE: The patient endpoint now returns a different JSON structure.
If you used AI tooling (Claude, Copilot, ChatGPT, etc.) to create or modify code, indicate this with a commit trailer:
git commit --trailer "Assisted-By: Claude" -m "fix(billing): correct tax calculation"
Use Generated-By when AI produced the code directly, or Assisted-By when AI helped with tweaks, refactors, or fixes to human-written code:
Generated-By: Claude — Code fully generated by Claude Code, claude.ai, etc.Assisted-By: Copilot — Human-written code with GitHub Copilot suggestionsAssisted-By: Cursor — Refactoring or fixes assisted by CursorIf the AI made the commit directly (e.g., Claude Code), the trailer is typically added automatically. This records AI involvement in git history without cluttering the source code, and works for all change types including deletions and refactors.
You will need a "local" version of OpenEMR to make changes to the source code. Two paths: