Welcome to the world of OpenMRS development! This page introduces you to the things you'll need to get started on your journey.
- Create an OpenMRS ID. Your OpenMRS ID defines your username in the OpenMRS community and provides access to community resources, like this wiki, our issues tracker, and the OpenMRS Talk forums.
- Create a new case at OpenMRS Helpdesk stating you'd like to contribute and would like edit access to Wiki and JIRA. Because of spammers, we must require this extra step before you can edit wiki pages or make any changes to JIRA tickets.
- Create a GitHub account if you don't have one.
- Join discussions at OpenMRS Talk. Be sure to add your GitHub username to your settings in Talk, then introduce yourself to the community. You can learn more about how to use Talk by reading this introduction.
- Set up your development environment. Follow the Step-by-Step Installation for Developers and How-To Setup And Use Your IDE. The Developer's Manual also has a helpful chapter on Setting Up Your Development Environment.
- Download and install the OpenMRS SDK.
- Watch some OpenMRS development screencasts on YouTube.
- Create your first OpenMRS module. The Developer's Manual features a chapter on how to create a Hello World Module.
- Claim an Issue. Review community priorities and introductory issues below to find an issue of interest to you that is ready for work, claim it, and make your first contribution. If you need any clarification on the issue, use OpenMRS Talk or join IRC for real-time interaction. If you find yourself taking long (days) without making any progress, feel free to un-assign yourself from the issue and choose another.
- Meet some other developers through real-time chat in Telegram (telegram.me/openmrs) or IRC (irc.openmrs.org).
- Learn about OpenMRS Developer Stages, earn the /dev/null badge and, when you're ready, take the quiz to earn /dev/1.
- Try as much as you can to include unit tests for your changes. Remember to also do an "mvn clean install" to ensure that all existing unit tests and yours pass. Then create a pull request. If your changes affect the user interface, please run the web application to see the effects, and then attach a screenshot, before you commit. Remember to have a look at the Pull Request Tips.
- When you complete work on an issue, log your time spent on that issue and click "Request Code Review" and another developer will get you some feedback in short order.
- Read about Using Git. This is especially useful if you join a sprint or choose to share your module (we hope you do).
- Avoid staying assigned to issues you aren't actively working on. When you no longer want to work on an issue that you have already assigned to yourself, please remember to un-assign yourself from it such that others can take it up. If you have any findings that you feel would be useful to whoever takes it up, please feel free to add a comment.
- Do some code reviews. Here is the list of pull requests that are waiting for review. Reviewing other people's work is one of the great ways of learning about OpenMRS. You can even review code for some one more experienced than you. Reviews can be as simple as checking to ensure that commits are squashed into one, adherence to our code conventions, finding spelling mistakes, or pointing out missing JavaDoc comments. More details about code reviews can be found at this wiki page.
- Review Unassigned Projects if you want to find a larger project to work on.
Share your experience
New developers, please share your experiences (good or bad) on this page. We are always trying to find ways to improve where we can do better and reinforce things we are doing well, so getting input from your perspective is very helpful & appreciated.
Here is a list of tickets prioritized by the community from the Community Priority Kanban:
|RA-429||Reference application contains duplicate concepts for yes/true and no/false||2014-10-07||2017-05-11||Unassigned||Andrew Kanter||Waiting for Dev||Unresolved|
|RA-452||XSS vulnerabilities in Ref App 2.x||2014-10-20||2017-10-14||Unassigned||Wyclif Luyima||Waiting for Dev||Unresolved|
|RESTWS-644||ObsResource needs to support time zones and more date formats||2017-02-03||2017-02-28||Unassigned||Wyclif Luyima||Ready for Work||Unresolved|
|AM-184||Impossible to create appointments (on demo server)||2017-01-23||2017-05-11||Unassigned||Darius Jazayeri||Ready for Work||Unresolved|
|RA-1001||Update all modules that use Transifex to support all languages we support||2016-01-28||2017-09-28||Unassigned||Mark Goodrich||Waiting for Dev||Unresolved|
|HTML-650||The HTML Form ExitFromCare tag doesn't work in the 2.x UI||2016-11-08||2017-06-15||Unassigned||Jeremy Ogembo||Ready for Work||Unresolved|
|AM-185||Patients are given appointment slots with different providers in the overlapping time intervals||2017-03-03||2017-03-03||Unassigned||Shireesha Bongarala||Ready for Work||Unresolved|
|TRUNK-5093||AbstractHandler allows blind rewriting of existing complex obs file||2017-03-06||2017-04-19||Unassigned||Dimitri Renault||Ready for Work||Unresolved|
|EA-125||Adding a "diagnosis" REST resource||2017-04-21||2017-05-01||Unassigned||Yusuf Akhond||Ready for Work||Unresolved|
|TRUNK-5169||Saving PersonAttributeType breaks subsequent API calls (with NonUniqueObjectException)||2017-05-18||2017-07-31||Unassigned||Romain Buisson||Ready for Work||Unresolved|
|RA-1370||Clean up the constraints on the Dashboard widgets to show data within the Reference Application||2017-05-24||2017-07-31||Unassigned||Stephen Senkomago Musoke||Waiting for Dev||Unresolved|
The following issues are both "introductory" and also "curated", meaning that they have thorough descriptions of how to approach solving them:
If you aren't able to find an appropriate issue in the list above, you can take a look at the complete list of "introductory" issues, (not necessarily "curated").
Beyond Introductory Issues
You could also do code reviews for pull requests.