Automation of create-openmrs-owa with React Components

Tags: #<Tag:0x00007fdb19fb6ea8> #<Tag:0x00007fdb19fb6b38>

(Mithilesh Kohale) #1

Hello @mogoodrich & @suthagar23,

I am a Bio Sciences and Bio Engeneering undergrad at IIT Guwahati.

I have used ReactJS in my previous projects, one of which can be viewed at

I am following the Getting Started Guide to set up the OpenMRS project. And also the openmrs-react-components repository.

Hoping to learn a lot from you guys and this community!

Any guidance is very much appreciated.

Regards, Mithilesh

(Suthagar Kailayapathy) #2

Hi @beingtmk,

Thanks for the interest on this project. Go ahead and explore more about OpenMRS, OpenMRS Development, and OWA development with react. Good to pick some OpenMRS tickets and start to work on those to get familer with OpenMRS Platform.

cc: @judeniroshan


(Shivansh Bindal) #3

Hello @mogoodrich, @suthagar23

I am a Computer Science sophomore at Indian Institute of Technology, Roorkee (IITR).
I have experience in ReactJS , Redux, Django(python), PHP, MySql.
I have recently read OpenMRS ideapage and found this project very interesting and would like to work on this project during GSoC 2019.I have already requested for accessing JIRA and will work on the issues as soon as I get the access .
Any help will be appreciated. Thank you :slight_smile:

(Suthagar Kailayapathy) #4

Hi @shivanshbindal9, Welcome to OpenMRS and thanks for the interest on this project. Go through the GSoC 2019 : Warm up practices for students and prepare you for GSoC :-).

Cc : @judeniroshan

(Shivansh Bindal) #5

Hey @suthagar23 when I tried using react components I was able to use a few but faced some issues while using others. When I tried using patient header component as mentioned in the readme some unexpected errors came, so I would like to know if there is any channel for asking doubts related to same.
Also there are some discrepancies in the readme such as some links are broken and some wrong import statements are used so can I start by simply correcting those things? It would be great if you could share contribution guidelines with me.
Thanks :slight_smile:

(Suthagar Kailayapathy) #6

Can you push your work to your Github and give us a link for review or can you provide the error stack in We couldn’t help you without knowing the issues in detail you have :smile:.

Yes, You can make corrections and send a pull request here. Better to create a ticket in here, and claim for your work.

Cc : @mogoodrich

(Mark Goodrich) #7

Thanks @shivanshbindal9! The react-components library is definitely very immature at this point, so it’s likely that some things don’t work and that many things are undocumented… hopefully something we can work on this summer!

There’s a JIRA project for tickets related to React Components you can look at, and it’s also a good place to start ticketing new issues:

Also, there are two main project that use React-Components that could be helpful to look at… one is a standalone PWA that we are building at PIH:

The other is a new OWA for collecting lab information:

Hope that helps some!

Take care, Mark

(Shivansh Bindal) #8

Thanks @mogoodrich and @suthagar23 . I will definitely look into the projects mentioned :slight_smile:

(Mithilesh Kohale) #9

Hi @mogoodrich & @suthagar23,

I ran the above suggested projects, and that helped me to understand the usage of openmrs-react-components but as it required a server to fully explore the features, i am trying to build & run the openmrs-core repository. but i am getting errors at compile time.

Since i have’nt really used java before, i am unable to point out where the errors is coming from. The detailed error is provided below .

Any help is very much appreciated.

Regards, Mithilesh

(Daniel Kayiwa) #10

Compile with Java 8

(Mark Goodrich) #11

@beingtmk it’s java compilation error, but unfortunately I’ve never seen that one before, maybe someone else has?

(Mark Goodrich) #12

Ah, thanks @dkayiwa… I was actually going to flag you on the ticket but you beat me to it… :slight_smile:

(Mithilesh Kohale) #13

Even i thought it must have version problem! I am actually in process of installing java 8. Thankyou for confirming it!

Help is much appreciated!

(Shivansh Bindal) #14

Hi, @suthagar23 @mogoodrich as you pointed I setted up the PIH project and was able to run it. It also helped me understand how openmrs-react-component is really helpful and how to realise changes in real time. I have certain doubts regarding the PIH project

  1. Do we need to set up some kind of database for properly running PIH project as it requires login based on username and password ?
  2. Are the issues related to PIH project on jira or some other platform as I can’t find any on github ?

Thank you :slight_smile:

(Mithilesh Kohale) #15

Hi @shivanshbindal9, pls set up the Open-mrs core repository,

It Provides backend for all the front end applications.

Detailed Instructions are provided here

As suggested by @dkayiwa use java 8 as latest version of java didnt work for me.