App
openmrs / openmrs-core
OpenMRS API and web application code
This connects Repowise to openmrs/openmrs-core's code. It does not install openmrs-core.
Repowise maps public repos from their source. Not affiliated with openmrs. What is Repowise?
github.com/openmrs/openmrs-coreIndexed at 5167075
What is openmrs-core?
openmrs-core is a Java application for OpenMRS, a patient-based medical record system that gives healthcare providers a customizable electronic medical record system (EMR). It contains the OpenMRS API and web application code, which Maven builds into a WAR file that is deployed to an application server. The main language is Java, and Liquibase handles changes to the database. To install it, run git clone https://github.com/openmrs/openmrs-core.git and follow the steps below. Its code health is 7.4 out of 10 (Good), ranked #105 of 4,000+ indexed repos. The last commit to openmrs-core was on Jun 25, 2026.
As of commit 5167075, indexed Jul 20, 2026. What it is comes from a model reading the README; the rest is measured from the source and git history, not from the maintainer.
For agentsopenmrs-core.md
Repo facts: type, license, health, rank, contributors
| Type | App |
|---|---|
| Code health | 7.4 / 10 (Good) |
| Health rank | #105 of 4,000+ indexed repos |
| Last commit | Jun 25, 2026 |
| Bus factor | 1 |
| Size | 1,350 files, 157,503 lines |
Install openmrs-core
Commands copied from the README
- 1Clone the openmrs-core repository.
git clone https://github.com/openmrs/openmrs-core.git - 2Move into the openmrs-core folder.
cd openmrs-core - 3Build the application, which writes the WAR file to webapp/target/openmrs.war
./mvnw clean package - 4Build a development Docker image
docker compose build
Releases on GitHub (latest 2.8.10, Oct 6, 2026)
Explore openmrs-core
- DocumentationModule-by-module documentation, 1,373 pages.
- ArchitectureDependency graph, layers and third-party dependencies.
- Code healthEvery file's score and the findings behind it.
- CommitsEach commit's effect on code health.
- OverviewEverything else the index found: contributors, decisions, what changed this week.
Ask about this code in your agent
This connects Repowise to openmrs-core's code. It does not install openmrs-core. To install openmrs-core, use the install steps.
Useful if you want to change or fork openmrs-core: your agent can ask how it is put together and get answers that cite its files.
How to use openmrs-core
- 1From the webapp directory, run the application in Jetty for development
../mvnw jetty:run
Ask about openmrs-core
Answers come from openmrs-core's README and source, with the files they cite. Two free answers a day without an account.
Want this for your own codebase? Map your repo free
About this page
Get a page like this for your own codebase
Repowise built this map of openmrs/openmrs-core from its source and git history. It parses every symbol, draws the dependency graph, scores each file's health from complexity, duplication, coverage and churn, finds hotspots and owners in the history, and writes documentation for every module. Your coding agent reads the same index over MCP, so its answers cite real files.
Free for 2 public repos, with a page like this one. No card. See how Repowise works
Prefer local? pip install repowise && repowise init indexes your own checkout, no account needed. Star Repowise on GitHub
openmrs/openmrs-core FAQ
What is openmrs-core?
openmrs-core is the Java code for the OpenMRS API and web application. OpenMRS is a patient-based medical record system that gives providers a customizable electronic medical record system (EMR).
How does openmrs-core work?
openmrs-core builds with Maven into a WAR file that is deployed to an application server such as Tomcat or Jetty. The api/ and web/ directories contain the code for the API and the web application.
How do I install openmrs-core?
Install a Java JDK, Maven and git, then clone the repository from the project's GitHub page. Run ./mvnw clean package in the repository root to build openmrs.war, which is written to webapp/target. See the install steps
What language is openmrs-core written in?
openmrs-core is written in Java. Java files make up most of the code in the repository.
How is the openmrs-core code organized?
openmrs-core is split into api/ for the API jar, web/ for code used in the web application, and webapp/ for files used to build the WAR file. The pom.xml file in the root builds and packages the project.
When should I use openmrs-core?
Use openmrs-core when you need a patient-based electronic medical record system that providers can customize. It also suits teams that want to extend OpenMRS with modules.
Code health
Hotspots average 2.7, the place fixes pay off most.
On the leaderboards:#6 of 11 Java repos
Key features of openmrs-core
- Gives providers a customizable electronic medical record system centered on patient records.
- Uses a modular architecture so developers can add or remove modules that extend the core functionality.
- Can run with an ElasticSearch backend in place of the built-in Lucene search index.
- Provides Docker builds for development and production images using docker compose.
- Includes a scheduler dashboard for background jobs, enabled by default in the Docker development setup.
How openmrs/openmrs-core works
Requests and domain data enter through the API and web layers. The api/ directory holds the Java and resource files that build the API jar, and api/src/main/java/org/openmrs/api/context/Context.java gives code access to the services. The domain model is defined in classes such as api/src/main/java/org/openmrs/OpenmrsObject.java, which other parts of the code build on. The web/ directory holds the Java and resource files used in the web application, and webapp/ holds the files used to assemble the openmrs.war file. Build output is written to webapp/target/openmrs.war, which runs on an application server such as Tomcat or Jetty.
The codebase has 1,350 files and 17,244 symbols in 6 modules, led by Java, JavaScript and Shell. Code health is 7.4 out of 10, rated good.
Maintain openmrs/openmrs-core?
Claim this page, add a badge to the README, or re-index it.
Claim this page
Sign in with GitHub and we check that you are an admin or maintainer of openmrs/openmrs-core. Then add a badge to the README that links readers here.
Add a badge to your README
Readers click through to this page and can ask openmrs-core's code a question. A badge also re-indexes the repo every week and marks you as the verified maintainer.
[](https://repowise.dev/repo/openmrs/openmrs-core?src=badge_ask)Paste it at the top of README.md, under the title.
Added it already? Verify to get the mark now instead of tomorrow.
Need HTML or the larger health card? More formatsHide more formats
This badge as HTML
<a href="https://repowise.dev/repo/openmrs/openmrs-core?src=badge_ask"><img src="https://api.repowise.dev/badge/wiki/openmrs/openmrs-core.svg?label=ask" alt="repowise: Ask this codebase"></a>Code health card
The score, its change since the last index, and when it was measured. Follows the reader's light or dark theme.
<a href="https://repowise.dev/repo/openmrs/openmrs-core?src=badge_card"><picture><source media="(prefers-color-scheme: light)" srcset="https://api.repowise.dev/badge/health/openmrs/openmrs-core.svg?style=card&theme=light"><img src="https://api.repowise.dev/badge/health/openmrs/openmrs-core.svg?style=card" alt="repowise code health" width="500" height="168"></picture></a>